Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-16 23:59:02.905653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_54_9612.jpg', '/home/pi/Desktop/images/16122025/23/50/image_16122025_23_51_04_9734.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_15_10653.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_25_9706.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_34_9654.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_45_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_50_54_9612.jpg
/home/pi/Desktop/images/16122025/23/50/image_16122025_23_51_04_9734.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_15_10653.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_25_9706.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_34_9654.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_45_10639.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":["1399721941","1399721862","1399721777","1399721939","1399721915","1399721822"],"photo_ids_order":["1399721777","1399721822","1399721862","1399721915","1399721939","1399721941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd67a6fe6d51d53be3949a329ea3c0be.jpg","text":"TemporaryFile(/tmp/multipartBody2257940883051451142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926004486,"filename":"image_16122025_23_51_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d78c9a3efbc60e4b2e103a8188d581b9.jpg","text":"TemporaryFile(/tmp/multipartBody3778458389930152465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926004486,"filename":"image_16122025_23_51_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebba7e66525ce31b2a2203ed5e97d101.jpg","text":"TemporaryFile(/tmp/multipartBody7292778754937341489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926004486,"filename":"image_16122025_23_50_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29b224314ed03cc69af94cb806050e37.jpg","text":"TemporaryFile(/tmp/multipartBody4391806191936303792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926004486,"filename":"image_16122025_23_51_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5cfb4faf16cc4d932d799530c6ef7c86.jpg","text":"TemporaryFile(/tmp/multipartBody7720971600910322775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926004486,"filename":"image_16122025_23_51_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/925d9aa47123b6a905c93e8d363e0bb5.jpg","text":"TemporaryFile(/tmp/multipartBody3536931676663640921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926004486,"filename":"image_16122025_23_51_04_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399721862","file1":"1399721822","file0":"1399721777","file4":"1399721939","file5":"1399721941","file3":"1399721915"},"map_files_photo_id_array":[{"photo_id":"1399721941","filename":"file5"},{"photo_id":"1399721862","filename":"file2"},{"photo_id":"1399721939","filename":"file4"},{"photo_id":"1399721822","filename":"file1"},{"photo_id":"1399721777","filename":"file0"},{"photo_id":"1399721915","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399721941":["hashtag1","hashtag2"]},{"1399721862":["hashtag1","hashtag2"]},{"1399721777":["hashtag1","hashtag2"]},{"1399721939":["hashtag1","hashtag2"]},{"1399721915":["hashtag1","hashtag2"]},{"1399721822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399721941, 1399721862, 1399721777, 1399721939, 1399721915, 1399721822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.962682008743286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:00:02.796323
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_55_9768.jpg', '/home/pi/Desktop/images/16122025/23/51/image_16122025_23_52_04_9801.jpg', '/home/pi/Desktop/images/16122025/23/52/image_16122025_23_52_25_10626.jpg', '/home/pi/Desktop/images/16122025/23/52/image_16122025_23_52_34_9562.jpg', '/home/pi/Desktop/images/16122025/23/52/image_16122025_23_52_44_9828.jpg', '/home/pi/Desktop/images/16122025/23/52/image_16122025_23_52_55_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_51_55_9768.jpg
/home/pi/Desktop/images/16122025/23/51/image_16122025_23_52_04_9801.jpg
/home/pi/Desktop/images/16122025/23/52/image_16122025_23_52_25_10626.jpg
/home/pi/Desktop/images/16122025/23/52/image_16122025_23_52_34_9562.jpg
/home/pi/Desktop/images/16122025/23/52/image_16122025_23_52_44_9828.jpg
/home/pi/Desktop/images/16122025/23/52/image_16122025_23_52_55_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":["1399722220","1399722162","1399722098","1399722071","1399722298","1399722067"],"photo_ids_order":["1399722067","1399722071","1399722098","1399722162","1399722220","1399722298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2756c83859303b98520aac8cb29af3a9.jpg","text":"TemporaryFile(/tmp/multipartBody5323846008960891463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926064119,"filename":"image_16122025_23_52_44_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b61b90d920890fa1931b88e2909bf992.jpg","text":"TemporaryFile(/tmp/multipartBody2044618853596245188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926064119,"filename":"image_16122025_23_52_34_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c4cd0785ba1e38b0d7f384303175304.jpg","text":"TemporaryFile(/tmp/multipartBody4744184543649150306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926064119,"filename":"image_16122025_23_52_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5f59ba675a71d741192484ce38ad706.jpg","text":"TemporaryFile(/tmp/multipartBody222250119311746542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926064119,"filename":"image_16122025_23_52_04_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4c748fcb6fe9b979e1d7ca6a9d04a04.jpg","text":"TemporaryFile(/tmp/multipartBody1161064069727586065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926064119,"filename":"image_16122025_23_52_55_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0a93ad9dd4e8a20b97bce405596e154.jpg","text":"TemporaryFile(/tmp/multipartBody5614829067886425769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926064119,"filename":"image_16122025_23_51_55_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399722098","file1":"1399722071","file0":"1399722067","file4":"1399722220","file5":"1399722298","file3":"1399722162"},"map_files_photo_id_array":[{"photo_id":"1399722298","filename":"file5"},{"photo_id":"1399722098","filename":"file2"},{"photo_id":"1399722220","filename":"file4"},{"photo_id":"1399722071","filename":"file1"},{"photo_id":"1399722067","filename":"file0"},{"photo_id":"1399722162","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399722220":["hashtag1","hashtag2"]},{"1399722162":["hashtag1","hashtag2"]},{"1399722098":["hashtag1","hashtag2"]},{"1399722071":["hashtag1","hashtag2"]},{"1399722298":["hashtag1","hashtag2"]},{"1399722067":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399722220, 1399722162, 1399722098, 1399722071, 1399722298, 1399722067)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94322848320007 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:00:42.318578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_07_1639.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_09_1849.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_11_1645.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_13_2705.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_16_2747.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_19_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_07_1639.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_09_1849.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_11_1645.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_13_2705.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_16_2747.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_19_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":["1399722549","1399722941","1399722863","1399722632","1399722707","1399722784"],"photo_ids_order":["1399722549","1399722632","1399722707","1399722784","1399722863","1399722941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/655dfc8d6a5a4858698daffd1bb0a412.jpg","text":"TemporaryFile(/tmp/multipartBody7200556899637408445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926103040,"filename":"image_07112025_15_11_07_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f42c6c2cd924d3db13c85a3775e9992c.jpg","text":"TemporaryFile(/tmp/multipartBody4667193177198985864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926103040,"filename":"image_07112025_15_11_19_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e361750e62e2ba11c71c8165e1fa7148.jpg","text":"TemporaryFile(/tmp/multipartBody3815563941641664634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926103040,"filename":"image_07112025_15_11_16_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8123b0c15120c837cfa8c78089ec9362.jpg","text":"TemporaryFile(/tmp/multipartBody3063626539032621651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926103040,"filename":"image_07112025_15_11_09_1849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/606eef8af7e4906359df0f66e57f2746.jpg","text":"TemporaryFile(/tmp/multipartBody8350614222664422538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926103040,"filename":"image_07112025_15_11_11_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4414aa1d9a6a547fa40c8f8cf7b14094.jpg","text":"TemporaryFile(/tmp/multipartBody6032363399464039530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926103040,"filename":"image_07112025_15_11_13_2705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399722707","file1":"1399722632","file0":"1399722549","file4":"1399722863","file5":"1399722941","file3":"1399722784"},"map_files_photo_id_array":[{"photo_id":"1399722941","filename":"file5"},{"photo_id":"1399722707","filename":"file2"},{"photo_id":"1399722863","filename":"file4"},{"photo_id":"1399722632","filename":"file1"},{"photo_id":"1399722549","filename":"file0"},{"photo_id":"1399722784","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399722549":["hashtag1","hashtag2"]},{"1399722941":["hashtag1","hashtag2"]},{"1399722863":["hashtag1","hashtag2"]},{"1399722632":["hashtag1","hashtag2"]},{"1399722707":["hashtag1","hashtag2"]},{"1399722784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399722549, 1399722941, 1399722863, 1399722632, 1399722707, 1399722784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84909987449646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:01:22.719077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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_17122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'error': 'Invalid access_token'}
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 336, in upload_from_sqlite
    n_date = get_metadata_infos(name[0])
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 408, in get_metadata_infos
    exifdata = image.getexif()
AttributeError: 'JpegImageFile' object has no attribute 'getexif'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 148, in get_port_id_and_datou_current_id
    with open(portfolio_path_local_cache_name, 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/pi/.fotonower_config/port_id_17122025.txt'

During handling of the above exception, another exception occurred:

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 350, in upload_from_sqlite
    port_id, datou_current_id = get_port_id_and_datou_current_id(day, basename, fc, datou, fotonower_config_path, verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 172, in get_port_id_and_datou_current_id
    ret = fc.create_portfolio(new_name, verbose = verbose)
  File "/home/pi/.local/lib/python3.7/site-packages/fotonower/__init__.py", line 92, in create_portfolio
    portfolio_id = res_json['portfolio_id']
KeyError: 'portfolio_id'
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:01:32.617698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/52/image_16122025_23_53_04_9650.jpg', '/home/pi/Desktop/images/16122025/23/53/image_16122025_23_53_14_9718.jpg', '/home/pi/Desktop/images/16122025/23/53/image_16122025_23_53_35_9601.jpg', '/home/pi/Desktop/images/16122025/23/53/image_16122025_23_53_44_9620.jpg', '/home/pi/Desktop/images/16122025/23/53/image_16122025_23_53_55_10887.jpg', '/home/pi/Desktop/images/16122025/23/53/image_16122025_23_54_05_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/52/image_16122025_23_53_04_9650.jpg
/home/pi/Desktop/images/16122025/23/53/image_16122025_23_53_14_9718.jpg
/home/pi/Desktop/images/16122025/23/53/image_16122025_23_53_35_9601.jpg
/home/pi/Desktop/images/16122025/23/53/image_16122025_23_53_44_9620.jpg
/home/pi/Desktop/images/16122025/23/53/image_16122025_23_53_55_10887.jpg
/home/pi/Desktop/images/16122025/23/53/image_16122025_23_54_05_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":["1399723578","1399723653","1399723487","1399723535","1399723615","1399723405"],"photo_ids_order":["1399723405","1399723487","1399723535","1399723578","1399723615","1399723653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0c52d313ac9a14bced8b02fbae7f27d.jpg","text":"TemporaryFile(/tmp/multipartBody8299075002865827310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926154155,"filename":"image_16122025_23_53_44_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1d5a201fd564ad3bb31ef23adcb2e56.jpg","text":"TemporaryFile(/tmp/multipartBody350972026871624118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926154155,"filename":"image_16122025_23_54_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ee4f5829ce22dd0c28ba3aceeda5db7.jpg","text":"TemporaryFile(/tmp/multipartBody8051326642998701526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926154155,"filename":"image_16122025_23_53_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/493934c881399a2415691e88d2abdc97.jpg","text":"TemporaryFile(/tmp/multipartBody3049855585442759571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926154155,"filename":"image_16122025_23_53_35_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99daabd9d944127cae4e78ed14beb524.jpg","text":"TemporaryFile(/tmp/multipartBody1980655510913459568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926154155,"filename":"image_16122025_23_53_55_10887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7421218c8950c5d8048bf9c898949afc.jpg","text":"TemporaryFile(/tmp/multipartBody8437109358002603676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926154155,"filename":"image_16122025_23_53_04_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399723535","file1":"1399723487","file0":"1399723405","file4":"1399723615","file5":"1399723653","file3":"1399723578"},"map_files_photo_id_array":[{"photo_id":"1399723653","filename":"file5"},{"photo_id":"1399723535","filename":"file2"},{"photo_id":"1399723615","filename":"file4"},{"photo_id":"1399723487","filename":"file1"},{"photo_id":"1399723405","filename":"file0"},{"photo_id":"1399723578","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399723578":["hashtag1","hashtag2"]},{"1399723653":["hashtag1","hashtag2"]},{"1399723487":["hashtag1","hashtag2"]},{"1399723535":["hashtag1","hashtag2"]},{"1399723615":["hashtag1","hashtag2"]},{"1399723405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399723578, 1399723653, 1399723487, 1399723535, 1399723615, 1399723405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36328411102295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:02:11.762917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_14_9679.jpg', '/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_24_9697.jpg', '/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_35_10685.jpg', '/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_45_9740.jpg', '/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_54_9669.jpg', '/home/pi/Desktop/images/16122025/23/54/image_16122025_23_55_05_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_14_9679.jpg
/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_24_9697.jpg
/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_35_10685.jpg
/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_45_9740.jpg
/home/pi/Desktop/images/16122025/23/54/image_16122025_23_54_54_9669.jpg
/home/pi/Desktop/images/16122025/23/54/image_16122025_23_55_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":["1399723842","1399723781","1399723844","1399723817","1399723846","1399723849"],"photo_ids_order":["1399723781","1399723817","1399723842","1399723844","1399723846","1399723849"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f7ebefd715b2679639a424f6b93265f.jpg","text":"TemporaryFile(/tmp/multipartBody107566525702724148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926193220,"filename":"image_16122025_23_54_35_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07361d9995e142ccb44dc56cab1f56a0.jpg","text":"TemporaryFile(/tmp/multipartBody5414486633311561654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926193220,"filename":"image_16122025_23_54_14_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44b95a714baf2c2bad5af05ba0ccea34.jpg","text":"TemporaryFile(/tmp/multipartBody8486041442873894069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926193220,"filename":"image_16122025_23_54_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/396a8408748aacb05173a3ddec23c836.jpg","text":"TemporaryFile(/tmp/multipartBody7739239715689389066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926193220,"filename":"image_16122025_23_54_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bfd761cb25da7d1f502f6d53aec2eb7.jpg","text":"TemporaryFile(/tmp/multipartBody7850464326849177707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926193220,"filename":"image_16122025_23_54_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6ed85ab3d59a08f784f69cff996ad6b.jpg","text":"TemporaryFile(/tmp/multipartBody7105964806212090875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926193220,"filename":"image_16122025_23_55_05_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399723842","file1":"1399723817","file0":"1399723781","file4":"1399723846","file5":"1399723849","file3":"1399723844"},"map_files_photo_id_array":[{"photo_id":"1399723849","filename":"file5"},{"photo_id":"1399723842","filename":"file2"},{"photo_id":"1399723846","filename":"file4"},{"photo_id":"1399723817","filename":"file1"},{"photo_id":"1399723781","filename":"file0"},{"photo_id":"1399723844","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399723842":["hashtag1","hashtag2"]},{"1399723781":["hashtag1","hashtag2"]},{"1399723844":["hashtag1","hashtag2"]},{"1399723817":["hashtag1","hashtag2"]},{"1399723846":["hashtag1","hashtag2"]},{"1399723849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399723842, 1399723781, 1399723844, 1399723817, 1399723846, 1399723849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.740886926651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:03:02.560077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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_17122025
 fc.token : 0e68e449101efb0f8d03d3e479d5588a
True
{'portfolio_id': 29484284, 'actiontaken': ['Admin Wild Card !', 'Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1765926242000}
4219
4237225
4219
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/59/image_17122025_00_00_04_9864.jpg', '/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_14_9766.jpg', '/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_25_10725.jpg', '/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_35_9680.jpg', '/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_44_9684.jpg', '/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_55_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/16122025/23/59/image_17122025_00_00_04_9864.jpg
/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_14_9766.jpg
/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_25_10725.jpg
/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_35_9680.jpg
/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_44_9684.jpg
/home/pi/Desktop/images/17122025/00/00/image_17122025_00_00_55_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":["1399724016","1399724132","1399723979","1399723943","1399724095","1399724052"],"photo_ids_order":["1399723943","1399723979","1399724016","1399724052","1399724095","1399724132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d59a7bf1b3ce4172375f22780287f8c4.jpg","text":"TemporaryFile(/tmp/multipartBody4493575185133306696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926244125,"filename":"image_17122025_00_00_25_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d0b9baf89369da43e24633516203ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6784447423920214798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926244125,"filename":"image_17122025_00_00_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11583d279f4cf197b1333e9fd523b52d.jpg","text":"TemporaryFile(/tmp/multipartBody8980402023169756276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926244125,"filename":"image_17122025_00_00_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36c6b19ac3cb51bf239a0ba6da7c3d29.jpg","text":"TemporaryFile(/tmp/multipartBody2784516431131681696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926244125,"filename":"image_17122025_00_00_04_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e180babada0d32bc3846264495a9556.jpg","text":"TemporaryFile(/tmp/multipartBody2212431182894000061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926244125,"filename":"image_17122025_00_00_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c19a73c04f2ad929571e3caf956200ec.jpg","text":"TemporaryFile(/tmp/multipartBody2114431855825313656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926244125,"filename":"image_17122025_00_00_35_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399724016","file1":"1399723979","file0":"1399723943","file4":"1399724095","file5":"1399724132","file3":"1399724052"},"map_files_photo_id_array":[{"photo_id":"1399724132","filename":"file5"},{"photo_id":"1399724016","filename":"file2"},{"photo_id":"1399724095","filename":"file4"},{"photo_id":"1399723979","filename":"file1"},{"photo_id":"1399723943","filename":"file0"},{"photo_id":"1399724052","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399724016":["hashtag1","hashtag2"]},{"1399724132":["hashtag1","hashtag2"]},{"1399723979":["hashtag1","hashtag2"]},{"1399723943":["hashtag1","hashtag2"]},{"1399724095":["hashtag1","hashtag2"]},{"1399724052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399724016, 1399724132, 1399723979, 1399723943, 1399724095, 1399724052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.088746547698975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:03:42.122613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_23_4553.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_25_1654.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_28_2728.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_31_2735.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_34_3656.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_37_2425.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_23_4553.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_25_1654.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_28_2728.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_31_2735.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_34_3656.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_37_2425.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399724420","1399724234","1399724213","1399724371","1399724259","1399724310"],"photo_ids_order":["1399724213","1399724234","1399724259","1399724310","1399724371","1399724420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5c575f85913c701ab8396e2c3429383.jpg","text":"TemporaryFile(/tmp/multipartBody2972922185714790974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926282824,"filename":"image_07112025_15_11_37_2425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de67cde7774cac4f122748f05147036e.jpg","text":"TemporaryFile(/tmp/multipartBody566493180936647752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926282824,"filename":"image_07112025_15_11_25_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a6385488a9cc6914f596b98f672cf2b.jpg","text":"TemporaryFile(/tmp/multipartBody7167313408598509332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926282824,"filename":"image_07112025_15_11_23_4553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a032249596454333170ca8090e4c410c.jpg","text":"TemporaryFile(/tmp/multipartBody943102558317541981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926282824,"filename":"image_07112025_15_11_34_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/498bfce2ca429230511c017cc983fcfe.jpg","text":"TemporaryFile(/tmp/multipartBody8140149143204383887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926282824,"filename":"image_07112025_15_11_28_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f041a67e73a2f1297a9b7081ba4f8cea.jpg","text":"TemporaryFile(/tmp/multipartBody6336011928044379790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926282824,"filename":"image_07112025_15_11_31_2735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399724259","file1":"1399724234","file0":"1399724213","file4":"1399724371","file5":"1399724420","file3":"1399724310"},"map_files_photo_id_array":[{"photo_id":"1399724420","filename":"file5"},{"photo_id":"1399724259","filename":"file2"},{"photo_id":"1399724371","filename":"file4"},{"photo_id":"1399724234","filename":"file1"},{"photo_id":"1399724213","filename":"file0"},{"photo_id":"1399724310","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399724420":["hashtag1","hashtag2"]},{"1399724234":["hashtag1","hashtag2"]},{"1399724213":["hashtag1","hashtag2"]},{"1399724371":["hashtag1","hashtag2"]},{"1399724259":["hashtag1","hashtag2"]},{"1399724310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399724420, 1399724234, 1399724213, 1399724371, 1399724259, 1399724310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69690728187561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:04:22.457187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/00/image_17122025_00_01_05_9799.jpg', '/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_15_9887.jpg', '/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_24_9613.jpg', '/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_35_10643.jpg', '/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_45_9718.jpg', '/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/00/image_17122025_00_01_05_9799.jpg
/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_15_9887.jpg
/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_24_9613.jpg
/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_35_10643.jpg
/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_45_9718.jpg
/home/pi/Desktop/images/17122025/00/01/image_17122025_00_01_54_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":["1399724593","1399724557","1399724704","1399724629","1399724667","1399724727"],"photo_ids_order":["1399724557","1399724593","1399724629","1399724667","1399724704","1399724727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f43d165df47db237a5eedb6772b8519.jpg","text":"TemporaryFile(/tmp/multipartBody4929380511028138554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926323031,"filename":"image_17122025_00_01_15_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/601ef3d0dcf40037e10d5146e8f6a9af.jpg","text":"TemporaryFile(/tmp/multipartBody311799769375485422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926323031,"filename":"image_17122025_00_01_05_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6ac07380a1c397dcf13244f5b988ac4.jpg","text":"TemporaryFile(/tmp/multipartBody57085115403159888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926323031,"filename":"image_17122025_00_01_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/864635cabf7f2beeb0577b83ab80c852.jpg","text":"TemporaryFile(/tmp/multipartBody2912485069267458994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926323031,"filename":"image_17122025_00_01_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d9ecefa8e5f9d668c98070112d9dd5a.jpg","text":"TemporaryFile(/tmp/multipartBody1426208870969746198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926323031,"filename":"image_17122025_00_01_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf370b2d0ede0a266a4ed72eb7a94e24.jpg","text":"TemporaryFile(/tmp/multipartBody8643473391431325508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926323031,"filename":"image_17122025_00_01_54_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399724629","file1":"1399724593","file0":"1399724557","file4":"1399724704","file5":"1399724727","file3":"1399724667"},"map_files_photo_id_array":[{"photo_id":"1399724727","filename":"file5"},{"photo_id":"1399724629","filename":"file2"},{"photo_id":"1399724704","filename":"file4"},{"photo_id":"1399724593","filename":"file1"},{"photo_id":"1399724557","filename":"file0"},{"photo_id":"1399724667","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399724593":["hashtag1","hashtag2"]},{"1399724557":["hashtag1","hashtag2"]},{"1399724704":["hashtag1","hashtag2"]},{"1399724629":["hashtag1","hashtag2"]},{"1399724667":["hashtag1","hashtag2"]},{"1399724727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399724593, 1399724557, 1399724704, 1399724629, 1399724667, 1399724727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36587166786194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:05:03.324751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_15_9709.jpg', '/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_24_9595.jpg', '/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_35_10822.jpg', '/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_45_9857.jpg', '/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_54_9639.jpg', '/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_25_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_15_9709.jpg
/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_24_9595.jpg
/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_35_10822.jpg
/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_45_9857.jpg
/home/pi/Desktop/images/17122025/00/02/image_17122025_00_02_54_9639.jpg
/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_25_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399725002","1399724834","1399725040","1399724869","1399724941","1399724793"],"photo_ids_order":["1399724793","1399724834","1399724869","1399724941","1399725002","1399725040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27231ac6d1a7010e884a7e9066fb6b0f.jpg","text":"TemporaryFile(/tmp/multipartBody4972215141006478690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926364012,"filename":"image_17122025_00_02_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14f4da21ede031b5ef13516535ab661f.jpg","text":"TemporaryFile(/tmp/multipartBody7794355204132315432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926364012,"filename":"image_17122025_00_02_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eec307fed9dfd059fdb6594d4e67c705.jpg","text":"TemporaryFile(/tmp/multipartBody8692674943520714412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926364012,"filename":"image_17122025_00_03_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98009f701fec1670188a8b93e34f6a02.jpg","text":"TemporaryFile(/tmp/multipartBody5384521749061937045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926364012,"filename":"image_17122025_00_02_35_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8e60ee3b5c38ff09119b66bbce8c11f.jpg","text":"TemporaryFile(/tmp/multipartBody1267369711152776323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926364012,"filename":"image_17122025_00_02_45_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45f06f7e5ef96b98b307841a2ed749de.jpg","text":"TemporaryFile(/tmp/multipartBody8678148045513563189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926364012,"filename":"image_17122025_00_02_15_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399724869","file1":"1399724834","file0":"1399724793","file4":"1399725002","file5":"1399725040","file3":"1399724941"},"map_files_photo_id_array":[{"photo_id":"1399725040","filename":"file5"},{"photo_id":"1399724869","filename":"file2"},{"photo_id":"1399725002","filename":"file4"},{"photo_id":"1399724834","filename":"file1"},{"photo_id":"1399724793","filename":"file0"},{"photo_id":"1399724941","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399725002":["hashtag1","hashtag2"]},{"1399724834":["hashtag1","hashtag2"]},{"1399725040":["hashtag1","hashtag2"]},{"1399724869":["hashtag1","hashtag2"]},{"1399724941":["hashtag1","hashtag2"]},{"1399724793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399725002, 1399724834, 1399725040, 1399724869, 1399724941, 1399724793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40750050544739 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:05:42.575940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_43_6208.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_58_14739.jpg', '/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_59_1628.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_04_4504.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_08_4210.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_09_1583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_43_6208.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_58_14739.jpg
/home/pi/Desktop/images/07112025/15/11/image_07112025_15_11_59_1628.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_04_4504.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_08_4210.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_09_1583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399725209","1399725286","1399725250","1399725327","1399725398","1399725362"],"photo_ids_order":["1399725209","1399725250","1399725286","1399725327","1399725362","1399725398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d3b7ea8323f62636ad6c397417ac81d.jpg","text":"TemporaryFile(/tmp/multipartBody823487022389605056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926403288,"filename":"image_07112025_15_11_43_6208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e64d84f4bb778bcd062a8fd38238d0a8.jpg","text":"TemporaryFile(/tmp/multipartBody8169447753523748171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926403288,"filename":"image_07112025_15_11_59_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13950529115568940e146ed1d733818a.jpg","text":"TemporaryFile(/tmp/multipartBody6312872091826835626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926403288,"filename":"image_07112025_15_11_58_14739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebff3923a21a09448f23f091ca12203c.jpg","text":"TemporaryFile(/tmp/multipartBody549843155075247884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926403288,"filename":"image_07112025_15_12_04_4504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fa95fbec79bfc2a8de9a0c366ae51f9.jpg","text":"TemporaryFile(/tmp/multipartBody893466707340294265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926403288,"filename":"image_07112025_15_12_09_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9119e9e02ef5bffa1360b314f2cf5202.jpg","text":"TemporaryFile(/tmp/multipartBody2355943550224235986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926403288,"filename":"image_07112025_15_12_08_4210.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399725286","file1":"1399725250","file0":"1399725209","file4":"1399725362","file5":"1399725398","file3":"1399725327"},"map_files_photo_id_array":[{"photo_id":"1399725398","filename":"file5"},{"photo_id":"1399725286","filename":"file2"},{"photo_id":"1399725362","filename":"file4"},{"photo_id":"1399725250","filename":"file1"},{"photo_id":"1399725209","filename":"file0"},{"photo_id":"1399725327","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399725209":["hashtag1","hashtag2"]},{"1399725286":["hashtag1","hashtag2"]},{"1399725250":["hashtag1","hashtag2"]},{"1399725327":["hashtag1","hashtag2"]},{"1399725398":["hashtag1","hashtag2"]},{"1399725362":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399725209, 1399725286, 1399725250, 1399725327, 1399725398, 1399725362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82289528846741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:06:21.881773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_34_9583.jpg', '/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_45_10782.jpg', '/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_55_9616.jpg', '/home/pi/Desktop/images/17122025/00/03/image_17122025_00_04_04_9751.jpg', '/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_15_10639.jpg', '/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_25_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_34_9583.jpg
/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_45_10782.jpg
/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_55_9616.jpg
/home/pi/Desktop/images/17122025/00/03/image_17122025_00_04_04_9751.jpg
/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_15_10639.jpg
/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_25_9802.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47710323333740234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:06:31.937673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/55/image_16122025_23_55_15_9718.jpg', '/home/pi/Desktop/images/16122025/23/55/image_16122025_23_55_45_9641.jpg', '/home/pi/Desktop/images/16122025/23/55/image_16122025_23_55_54_9681.jpg', '/home/pi/Desktop/images/16122025/23/55/image_16122025_23_56_05_10663.jpg', '/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_15_9688.jpg', '/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_24_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/55/image_16122025_23_55_15_9718.jpg
/home/pi/Desktop/images/16122025/23/55/image_16122025_23_55_45_9641.jpg
/home/pi/Desktop/images/16122025/23/55/image_16122025_23_55_54_9681.jpg
/home/pi/Desktop/images/16122025/23/55/image_16122025_23_56_05_10663.jpg
/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_15_9688.jpg
/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_24_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":["1399725734","1399725623","1399725806","1399725772","1399725661","1399725698"],"photo_ids_order":["1399725623","1399725661","1399725698","1399725734","1399725772","1399725806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc107fd04eaaef39354b8f4f7fafdeba.jpg","text":"TemporaryFile(/tmp/multipartBody2590364254212729083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926453515,"filename":"image_16122025_23_56_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa1352b8ed2f5982af330b7110f9ba5e.jpg","text":"TemporaryFile(/tmp/multipartBody3550444314218986651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926453515,"filename":"image_16122025_23_55_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87ae93a0850c352b8faddb35267d4490.jpg","text":"TemporaryFile(/tmp/multipartBody3616185540758756078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926453515,"filename":"image_16122025_23_56_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5916716e5d9be87f6e0f053c2c887106.jpg","text":"TemporaryFile(/tmp/multipartBody3776717437221292119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926453515,"filename":"image_16122025_23_56_15_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82c7d243d3b5a8abb394c90bb87a4e70.jpg","text":"TemporaryFile(/tmp/multipartBody7435341805970605600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926453515,"filename":"image_16122025_23_55_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ef7c480ce0d5a50664dacc0ea46499d.jpg","text":"TemporaryFile(/tmp/multipartBody4378334968017849775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926453515,"filename":"image_16122025_23_55_54_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399725698","file1":"1399725661","file0":"1399725623","file4":"1399725772","file5":"1399725806","file3":"1399725734"},"map_files_photo_id_array":[{"photo_id":"1399725806","filename":"file5"},{"photo_id":"1399725698","filename":"file2"},{"photo_id":"1399725772","filename":"file4"},{"photo_id":"1399725661","filename":"file1"},{"photo_id":"1399725623","filename":"file0"},{"photo_id":"1399725734","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399725734":["hashtag1","hashtag2"]},{"1399725623":["hashtag1","hashtag2"]},{"1399725806":["hashtag1","hashtag2"]},{"1399725772":["hashtag1","hashtag2"]},{"1399725661":["hashtag1","hashtag2"]},{"1399725698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399725734, 1399725623, 1399725806, 1399725772, 1399725661, 1399725698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96863794326782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:07:12.020257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_35_10633.jpg', '/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_44_9656.jpg', '/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_55_10578.jpg', '/home/pi/Desktop/images/16122025/23/56/image_16122025_23_57_05_9636.jpg', '/home/pi/Desktop/images/16122025/23/57/image_16122025_23_57_24_9639.jpg', '/home/pi/Desktop/images/16122025/23/57/image_16122025_23_57_35_10887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_35_10633.jpg
/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_44_9656.jpg
/home/pi/Desktop/images/16122025/23/56/image_16122025_23_56_55_10578.jpg
/home/pi/Desktop/images/16122025/23/56/image_16122025_23_57_05_9636.jpg
/home/pi/Desktop/images/16122025/23/57/image_16122025_23_57_24_9639.jpg
/home/pi/Desktop/images/16122025/23/57/image_16122025_23_57_35_10887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399725968","1399725955","1399725981","1399725975","1399725978","1399725977"],"photo_ids_order":["1399725955","1399725968","1399725975","1399725977","1399725978","1399725981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62f01609c50a8d51bb7a98fae4404810.jpg","text":"TemporaryFile(/tmp/multipartBody3182023705657539179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926493516,"filename":"image_16122025_23_56_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b839e4304bedbbda71ef884a664f742.jpg","text":"TemporaryFile(/tmp/multipartBody2582907653981288816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926493516,"filename":"image_16122025_23_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/2025/12/17/8fb92d84a6acaeb37916cc725339c36f.jpg","text":"TemporaryFile(/tmp/multipartBody1145668052183440268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926493516,"filename":"image_16122025_23_57_35_10887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/217694851af883a24b449653ba1d9a0a.jpg","text":"TemporaryFile(/tmp/multipartBody940604583404702430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926493516,"filename":"image_16122025_23_56_55_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4143d2a6b39063254746a48ebe12cdee.jpg","text":"TemporaryFile(/tmp/multipartBody2920064492671463216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926493516,"filename":"image_16122025_23_57_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3c1665aab49bc0d3a88b27fba94f1b3.jpg","text":"TemporaryFile(/tmp/multipartBody7935093782139373822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926493516,"filename":"image_16122025_23_57_05_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399725975","file1":"1399725968","file0":"1399725955","file4":"1399725978","file5":"1399725981","file3":"1399725977"},"map_files_photo_id_array":[{"photo_id":"1399725981","filename":"file5"},{"photo_id":"1399725975","filename":"file2"},{"photo_id":"1399725978","filename":"file4"},{"photo_id":"1399725968","filename":"file1"},{"photo_id":"1399725955","filename":"file0"},{"photo_id":"1399725977","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399725968":["hashtag1","hashtag2"]},{"1399725955":["hashtag1","hashtag2"]},{"1399725981":["hashtag1","hashtag2"]},{"1399725975":["hashtag1","hashtag2"]},{"1399725978":["hashtag1","hashtag2"]},{"1399725977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399725968, 1399725955, 1399725981, 1399725975, 1399725978, 1399725977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.866692781448364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:08:02.844459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_34_9583.jpg', '/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_45_10782.jpg', '/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_55_9616.jpg', '/home/pi/Desktop/images/17122025/00/03/image_17122025_00_04_04_9751.jpg', '/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_15_10639.jpg', '/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_25_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_34_9583.jpg
/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_45_10782.jpg
/home/pi/Desktop/images/17122025/00/03/image_17122025_00_03_55_9616.jpg
/home/pi/Desktop/images/17122025/00/03/image_17122025_00_04_04_9751.jpg
/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_15_10639.jpg
/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_25_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":["1399726109","1399726036","1399725997","1399726074","1399725984","1399726143"],"photo_ids_order":["1399725984","1399725997","1399726036","1399726074","1399726109","1399726143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e822d34da75c4ee73d1e713fa66e81e0.jpg","text":"TemporaryFile(/tmp/multipartBody9217508337418445149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926543442,"filename":"image_17122025_00_04_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea49a84e342fcaa00454bb67602f21d7.jpg","text":"TemporaryFile(/tmp/multipartBody2777540640348314633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926543442,"filename":"image_17122025_00_03_55_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c42b5e6a49f1813b471ea0a261e02be9.jpg","text":"TemporaryFile(/tmp/multipartBody5546539834328657695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926543442,"filename":"image_17122025_00_03_45_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4dc38010458b744a0cd1af12083483e7.jpg","text":"TemporaryFile(/tmp/multipartBody5454701919136271097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926543442,"filename":"image_17122025_00_04_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1156502da895a7ac7dc06a2941cadf9.jpg","text":"TemporaryFile(/tmp/multipartBody6032938854783288960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926543442,"filename":"image_17122025_00_03_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b6fc4b7384df6517ff35026a982bceb.jpg","text":"TemporaryFile(/tmp/multipartBody5899179738535088374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926543442,"filename":"image_17122025_00_04_25_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726036","file1":"1399725997","file0":"1399725984","file4":"1399726109","file5":"1399726143","file3":"1399726074"},"map_files_photo_id_array":[{"photo_id":"1399726143","filename":"file5"},{"photo_id":"1399726036","filename":"file2"},{"photo_id":"1399726109","filename":"file4"},{"photo_id":"1399725997","filename":"file1"},{"photo_id":"1399725984","filename":"file0"},{"photo_id":"1399726074","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726109":["hashtag1","hashtag2"]},{"1399726036":["hashtag1","hashtag2"]},{"1399725997":["hashtag1","hashtag2"]},{"1399726074":["hashtag1","hashtag2"]},{"1399725984":["hashtag1","hashtag2"]},{"1399726143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726109, 1399726036, 1399725997, 1399726074, 1399725984, 1399726143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.574031352996826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:08:42.410163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_11_1639.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_13_1790.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_15_1665.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_16_1858.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_18_1672.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_20_1726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_11_1639.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_13_1790.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_15_1665.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_16_1858.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_18_1672.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_20_1726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726279","1399726281","1399726236","1399726283","1399726304","1399726253"],"photo_ids_order":["1399726236","1399726253","1399726279","1399726281","1399726283","1399726304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23a3281c0714fd75f68f939adc34e3e0.jpg","text":"TemporaryFile(/tmp/multipartBody4864787745142551934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926583115,"filename":"image_07112025_15_12_15_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f365fff1848b8ac3da3ac80eb109ae5.jpg","text":"TemporaryFile(/tmp/multipartBody8357287486714417918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926583115,"filename":"image_07112025_15_12_16_1858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e80f1e6b4432019c501266fd497c241.jpg","text":"TemporaryFile(/tmp/multipartBody4068687954560796507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926583115,"filename":"image_07112025_15_12_11_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13f34b728ff507a5e60f7e50995cb9b4.jpg","text":"TemporaryFile(/tmp/multipartBody1449788674836932877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926583115,"filename":"image_07112025_15_12_18_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6da1b8339c8b9f51d8a4009d7f0b74d0.jpg","text":"TemporaryFile(/tmp/multipartBody7709831908569187539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926583115,"filename":"image_07112025_15_12_20_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8906063c2ee465f03a52a2b663333e70.jpg","text":"TemporaryFile(/tmp/multipartBody8876944962550977904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926583115,"filename":"image_07112025_15_12_13_1790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726279","file1":"1399726253","file0":"1399726236","file4":"1399726283","file5":"1399726304","file3":"1399726281"},"map_files_photo_id_array":[{"photo_id":"1399726304","filename":"file5"},{"photo_id":"1399726279","filename":"file2"},{"photo_id":"1399726283","filename":"file4"},{"photo_id":"1399726253","filename":"file1"},{"photo_id":"1399726236","filename":"file0"},{"photo_id":"1399726281","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726279":["hashtag1","hashtag2"]},{"1399726281":["hashtag1","hashtag2"]},{"1399726236":["hashtag1","hashtag2"]},{"1399726283":["hashtag1","hashtag2"]},{"1399726304":["hashtag1","hashtag2"]},{"1399726253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726279, 1399726281, 1399726236, 1399726283, 1399726304, 1399726253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27953600883484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:09:22.794687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_34_9730.jpg', '/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_55_10660.jpg', '/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_25_10712.jpg', '/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_35_9711.jpg', '/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_44_9597.jpg', '/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_55_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_34_9730.jpg
/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_55_10660.jpg
/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_25_10712.jpg
/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_35_9711.jpg
/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_44_9597.jpg
/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_55_10713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4773440361022949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:09:32.676512
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/57/image_16122025_23_57_45_9782.jpg', '/home/pi/Desktop/images/16122025/23/57/image_16122025_23_58_05_10626.jpg', '/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_15_9824.jpg', '/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_25_9695.jpg', '/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_34_9637.jpg', '/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_45_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/57/image_16122025_23_57_45_9782.jpg
/home/pi/Desktop/images/16122025/23/57/image_16122025_23_58_05_10626.jpg
/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_15_9824.jpg
/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_25_9695.jpg
/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_34_9637.jpg
/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_45_10730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726360","1399726362","1399726361","1399726355","1399726358","1399726352"],"photo_ids_order":["1399726352","1399726355","1399726358","1399726360","1399726361","1399726362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4305731f4371aa469103b00d5f57c6c9.jpg","text":"TemporaryFile(/tmp/multipartBody1835179728715525505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926634272,"filename":"image_16122025_23_58_25_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab065a1a91b9409c5bf9945514679737.jpg","text":"TemporaryFile(/tmp/multipartBody7366518335913781182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926634272,"filename":"image_16122025_23_58_45_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f49a25ebc747e1de7b6f14343348568f.jpg","text":"TemporaryFile(/tmp/multipartBody7457817688869952148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926634272,"filename":"image_16122025_23_58_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dc9dbf9be72a2b677e035eb62275a2e.jpg","text":"TemporaryFile(/tmp/multipartBody2419359059202323303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926634272,"filename":"image_16122025_23_58_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/206990205e78533b23946698724da928.jpg","text":"TemporaryFile(/tmp/multipartBody530322738856066481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926634272,"filename":"image_16122025_23_58_15_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a27f141b706d2d3e46b8b340ca0080b.jpg","text":"TemporaryFile(/tmp/multipartBody2805186631901088513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926634272,"filename":"image_16122025_23_57_45_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726358","file1":"1399726355","file0":"1399726352","file4":"1399726361","file5":"1399726362","file3":"1399726360"},"map_files_photo_id_array":[{"photo_id":"1399726362","filename":"file5"},{"photo_id":"1399726358","filename":"file2"},{"photo_id":"1399726361","filename":"file4"},{"photo_id":"1399726355","filename":"file1"},{"photo_id":"1399726352","filename":"file0"},{"photo_id":"1399726360","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399726360":["hashtag1","hashtag2"]},{"1399726362":["hashtag1","hashtag2"]},{"1399726361":["hashtag1","hashtag2"]},{"1399726355":["hashtag1","hashtag2"]},{"1399726358":["hashtag1","hashtag2"]},{"1399726352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399726360, 1399726362, 1399726361, 1399726355, 1399726358, 1399726352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08552646636963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:10:11.962286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_55_9692.jpg', '/home/pi/Desktop/images/16122025/23/58/image_16122025_23_59_04_9610.jpg', '/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_15_10645.jpg', '/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_25_9659.jpg', '/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_34_9706.jpg', '/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_45_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/58/image_16122025_23_58_55_9692.jpg
/home/pi/Desktop/images/16122025/23/58/image_16122025_23_59_04_9610.jpg
/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_15_10645.jpg
/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_25_9659.jpg
/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_34_9706.jpg
/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_45_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726369","1399726363","1399726371","1399726365","1399726367","1399726364"],"photo_ids_order":["1399726363","1399726364","1399726365","1399726367","1399726369","1399726371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7435697f3dd444eea45fc9272874a70.jpg","text":"TemporaryFile(/tmp/multipartBody7188349040575577010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926673420,"filename":"image_16122025_23_59_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f50e02d6b1dad9a1718b791b9efe058a.jpg","text":"TemporaryFile(/tmp/multipartBody1051688514528510438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926673420,"filename":"image_16122025_23_58_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/938c9403fe1f5195e7266dea5221084f.jpg","text":"TemporaryFile(/tmp/multipartBody4030694179068437965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926673420,"filename":"image_16122025_23_59_45_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fca546e7e2254ed10574df3dbed88f7.jpg","text":"TemporaryFile(/tmp/multipartBody2685813977257660608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926673420,"filename":"image_16122025_23_59_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68df2495b06f30dac90e2887bc8e5a36.jpg","text":"TemporaryFile(/tmp/multipartBody4275370261340040601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926673420,"filename":"image_16122025_23_59_25_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cebefe609f3f1c43948d4b832aafca2a.jpg","text":"TemporaryFile(/tmp/multipartBody5880467030340746044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926673420,"filename":"image_16122025_23_59_04_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726365","file1":"1399726364","file0":"1399726363","file4":"1399726369","file5":"1399726371","file3":"1399726367"},"map_files_photo_id_array":[{"photo_id":"1399726371","filename":"file5"},{"photo_id":"1399726365","filename":"file2"},{"photo_id":"1399726369","filename":"file4"},{"photo_id":"1399726364","filename":"file1"},{"photo_id":"1399726363","filename":"file0"},{"photo_id":"1399726367","filename":"file3"}],"portfolio_id":29450386,"hashtag_by_photo_ids":[{"1399726369":["hashtag1","hashtag2"]},{"1399726363":["hashtag1","hashtag2"]},{"1399726371":["hashtag1","hashtag2"]},{"1399726365":["hashtag1","hashtag2"]},{"1399726367":["hashtag1","hashtag2"]},{"1399726364":["hashtag1","hashtag2"]}],"comms":"Portfolio 29450386 used, photo_id : ArrayBuffer(1399726369, 1399726363, 1399726371, 1399726365, 1399726367, 1399726364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78351640701294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:11:02.942276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_34_9730.jpg', '/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_55_10660.jpg', '/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_25_10712.jpg', '/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_35_9711.jpg', '/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_44_9597.jpg', '/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_55_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_34_9730.jpg
/home/pi/Desktop/images/17122025/00/04/image_17122025_00_04_55_10660.jpg
/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_25_10712.jpg
/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_35_9711.jpg
/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_44_9597.jpg
/home/pi/Desktop/images/17122025/00/05/image_17122025_00_05_55_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":["1399726378","1399726381","1399726375","1399726377","1399726376","1399726379"],"photo_ids_order":["1399726375","1399726376","1399726377","1399726378","1399726379","1399726381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f50d5d185476c20939d6bf9235bccb9.jpg","text":"TemporaryFile(/tmp/multipartBody3400349910032812100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926723579,"filename":"image_17122025_00_05_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1aba5293a92a0bc8da5e757d1c995a89.jpg","text":"TemporaryFile(/tmp/multipartBody8643437118162811370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926723579,"filename":"image_17122025_00_05_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e09ad4365b1470d882a542b6ac5a2115.jpg","text":"TemporaryFile(/tmp/multipartBody6315622947753535010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926723579,"filename":"image_17122025_00_04_34_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fffcbbf8ef74ef2ada2d503574f94dd5.jpg","text":"TemporaryFile(/tmp/multipartBody5162315258066179836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926723579,"filename":"image_17122025_00_05_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71d733438eef45c250d86a077bdc863c.jpg","text":"TemporaryFile(/tmp/multipartBody1825393676300105462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926723579,"filename":"image_17122025_00_04_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b49596eb653489659c18f7bff6580fa3.jpg","text":"TemporaryFile(/tmp/multipartBody4390530608218259678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926723579,"filename":"image_17122025_00_05_44_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726377","file1":"1399726376","file0":"1399726375","file4":"1399726379","file5":"1399726381","file3":"1399726378"},"map_files_photo_id_array":[{"photo_id":"1399726381","filename":"file5"},{"photo_id":"1399726377","filename":"file2"},{"photo_id":"1399726379","filename":"file4"},{"photo_id":"1399726376","filename":"file1"},{"photo_id":"1399726375","filename":"file0"},{"photo_id":"1399726378","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726378":["hashtag1","hashtag2"]},{"1399726381":["hashtag1","hashtag2"]},{"1399726375":["hashtag1","hashtag2"]},{"1399726377":["hashtag1","hashtag2"]},{"1399726376":["hashtag1","hashtag2"]},{"1399726379":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726378, 1399726381, 1399726375, 1399726377, 1399726376, 1399726379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.636937618255615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:11:42.164909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_21_1537.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_23_1774.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_25_1667.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_26_1534.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_28_1589.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_35_6772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_21_1537.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_23_1774.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_25_1667.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_26_1534.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_28_1589.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_35_6772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726393","1399726395","1399726392","1399726386","1399726391","1399726394"],"photo_ids_order":["1399726386","1399726391","1399726392","1399726393","1399726394","1399726395"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b44b28f0bbfddb11d52b71cf4f9bd7b7.jpg","text":"TemporaryFile(/tmp/multipartBody7865857701327649878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926762865,"filename":"image_07112025_15_12_26_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc9260af52e56a0bb89bf1518118aada.jpg","text":"TemporaryFile(/tmp/multipartBody2893290262863050734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926762865,"filename":"image_07112025_15_12_35_6772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b0346e906f290156afccbb44aa2674b.jpg","text":"TemporaryFile(/tmp/multipartBody8263933772332531300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926762865,"filename":"image_07112025_15_12_25_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77d1805d1ca2715854581306d9749d26.jpg","text":"TemporaryFile(/tmp/multipartBody3032808752434912389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926762865,"filename":"image_07112025_15_12_21_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42787c611c733a8458a3269ab6434412.jpg","text":"TemporaryFile(/tmp/multipartBody6611985533330112620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926762865,"filename":"image_07112025_15_12_23_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f223db31747528bb4c596b2f1604020.jpg","text":"TemporaryFile(/tmp/multipartBody191779448423473568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926762865,"filename":"image_07112025_15_12_28_1589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726392","file1":"1399726391","file0":"1399726386","file4":"1399726394","file5":"1399726395","file3":"1399726393"},"map_files_photo_id_array":[{"photo_id":"1399726395","filename":"file5"},{"photo_id":"1399726392","filename":"file2"},{"photo_id":"1399726394","filename":"file4"},{"photo_id":"1399726391","filename":"file1"},{"photo_id":"1399726386","filename":"file0"},{"photo_id":"1399726393","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726393":["hashtag1","hashtag2"]},{"1399726395":["hashtag1","hashtag2"]},{"1399726392":["hashtag1","hashtag2"]},{"1399726386":["hashtag1","hashtag2"]},{"1399726391":["hashtag1","hashtag2"]},{"1399726394":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726393, 1399726395, 1399726392, 1399726386, 1399726391, 1399726394)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81098389625549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:12:22.473201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_14_9630.jpg', '/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_24_9711.jpg', '/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_35_10705.jpg', '/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_44_9653.jpg', '/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_54_9748.jpg', '/home/pi/Desktop/images/17122025/00/06/image_17122025_00_07_05_10750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_14_9630.jpg
/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_24_9711.jpg
/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_35_10705.jpg
/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_44_9653.jpg
/home/pi/Desktop/images/17122025/00/06/image_17122025_00_06_54_9748.jpg
/home/pi/Desktop/images/17122025/00/06/image_17122025_00_07_05_10750.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726399","1399726405","1399726407","1399726401","1399726397","1399726403"],"photo_ids_order":["1399726397","1399726399","1399726401","1399726403","1399726405","1399726407"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1aecc701f5638e93ca2df1065c6e286.jpg","text":"TemporaryFile(/tmp/multipartBody7655741292185120402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926803052,"filename":"image_17122025_00_06_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e29f80ef67ef15dc3a87d0bbc61890a3.jpg","text":"TemporaryFile(/tmp/multipartBody6255748829084667234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926803052,"filename":"image_17122025_00_06_54_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdd64e4d9101642dd27c3b43f02c1f3f.jpg","text":"TemporaryFile(/tmp/multipartBody5548863735046483716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926803052,"filename":"image_17122025_00_07_05_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7a6d067913d5fc8807e5a0929f00fe1.jpg","text":"TemporaryFile(/tmp/multipartBody9181410659316796105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926803052,"filename":"image_17122025_00_06_35_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9bd72b98277168e03c862415e7c84fe8.jpg","text":"TemporaryFile(/tmp/multipartBody4604790430278215269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926803052,"filename":"image_17122025_00_06_14_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8057dc57232445f752e927b8e45d3c96.jpg","text":"TemporaryFile(/tmp/multipartBody4779907091700832994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926803052,"filename":"image_17122025_00_06_44_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726401","file1":"1399726399","file0":"1399726397","file4":"1399726405","file5":"1399726407","file3":"1399726403"},"map_files_photo_id_array":[{"photo_id":"1399726407","filename":"file5"},{"photo_id":"1399726401","filename":"file2"},{"photo_id":"1399726405","filename":"file4"},{"photo_id":"1399726399","filename":"file1"},{"photo_id":"1399726397","filename":"file0"},{"photo_id":"1399726403","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726399":["hashtag1","hashtag2"]},{"1399726405":["hashtag1","hashtag2"]},{"1399726407":["hashtag1","hashtag2"]},{"1399726401":["hashtag1","hashtag2"]},{"1399726397":["hashtag1","hashtag2"]},{"1399726403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726399, 1399726405, 1399726407, 1399726401, 1399726397, 1399726403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04197359085083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:13:03.176868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_15_9728.jpg', '/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_24_9699.jpg', '/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_35_10627.jpg', '/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_45_9632.jpg', '/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_54_9792.jpg', '/home/pi/Desktop/images/17122025/00/07/image_17122025_00_08_05_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_15_9728.jpg
/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_24_9699.jpg
/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_35_10627.jpg
/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_45_9632.jpg
/home/pi/Desktop/images/17122025/00/07/image_17122025_00_07_54_9792.jpg
/home/pi/Desktop/images/17122025/00/07/image_17122025_00_08_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":["1399726412","1399726415","1399726409","1399726411","1399726413","1399726410"],"photo_ids_order":["1399726409","1399726410","1399726411","1399726412","1399726413","1399726415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9242348aff38f552b992481223cdb72.jpg","text":"TemporaryFile(/tmp/multipartBody1553314239018284340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926843804,"filename":"image_17122025_00_07_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6806f16490fe74860d732a2b5a64c5f0.jpg","text":"TemporaryFile(/tmp/multipartBody2949309357216026932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926843804,"filename":"image_17122025_00_08_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/599a923debddfec1d4f42131127913d6.jpg","text":"TemporaryFile(/tmp/multipartBody6000440192136959182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926843804,"filename":"image_17122025_00_07_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a08f5ec20ec1ebb4a87d259000e83c45.jpg","text":"TemporaryFile(/tmp/multipartBody8746206881552930569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926843804,"filename":"image_17122025_00_07_35_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c5c5ff8cb85803c1fb9d6401bb5779d.jpg","text":"TemporaryFile(/tmp/multipartBody5290785353735551407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926843804,"filename":"image_17122025_00_07_54_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ada4999469c7a7ad60818248869c39a4.jpg","text":"TemporaryFile(/tmp/multipartBody3796036161019722907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926843804,"filename":"image_17122025_00_07_24_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726411","file1":"1399726410","file0":"1399726409","file4":"1399726413","file5":"1399726415","file3":"1399726412"},"map_files_photo_id_array":[{"photo_id":"1399726415","filename":"file5"},{"photo_id":"1399726411","filename":"file2"},{"photo_id":"1399726413","filename":"file4"},{"photo_id":"1399726410","filename":"file1"},{"photo_id":"1399726409","filename":"file0"},{"photo_id":"1399726412","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726412":["hashtag1","hashtag2"]},{"1399726415":["hashtag1","hashtag2"]},{"1399726409":["hashtag1","hashtag2"]},{"1399726411":["hashtag1","hashtag2"]},{"1399726413":["hashtag1","hashtag2"]},{"1399726410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726412, 1399726415, 1399726409, 1399726411, 1399726413, 1399726410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.950074434280396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:13:42.714253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_44_8990.jpg', '/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_45_1555.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_01_16180.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_03_1689.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_05_1550.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_13_8791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_44_8990.jpg
/home/pi/Desktop/images/07112025/15/12/image_07112025_15_12_45_1555.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_01_16180.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_03_1689.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_05_1550.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_13_8791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726420","1399726423","1399726425","1399726422","1399726421","1399726424"],"photo_ids_order":["1399726420","1399726421","1399726422","1399726423","1399726424","1399726425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf933d9218079a4b24621de11ee7d7bb.jpg","text":"TemporaryFile(/tmp/multipartBody849343986657284131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926883425,"filename":"image_07112025_15_12_44_8990.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0174ca59642a31c8d791cb69afc247fc.jpg","text":"TemporaryFile(/tmp/multipartBody2881341589409335932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926883425,"filename":"image_07112025_15_13_03_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cfe1fe63b02c8752fc85066229ec8b8.jpg","text":"TemporaryFile(/tmp/multipartBody4091602255861701993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926883425,"filename":"image_07112025_15_13_13_8791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9aa3e4cee6562200cb49b0e890864d82.jpg","text":"TemporaryFile(/tmp/multipartBody7892460423772213206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926883425,"filename":"image_07112025_15_13_01_16180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7da30f6934b56e3d0d7e33fe2128c9db.jpg","text":"TemporaryFile(/tmp/multipartBody3326146255655747386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926883425,"filename":"image_07112025_15_12_45_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/676cd7b0e88d0eecaf796773006fd02a.jpg","text":"TemporaryFile(/tmp/multipartBody7119738872074062004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926883425,"filename":"image_07112025_15_13_05_1550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726422","file1":"1399726421","file0":"1399726420","file4":"1399726424","file5":"1399726425","file3":"1399726423"},"map_files_photo_id_array":[{"photo_id":"1399726425","filename":"file5"},{"photo_id":"1399726422","filename":"file2"},{"photo_id":"1399726424","filename":"file4"},{"photo_id":"1399726421","filename":"file1"},{"photo_id":"1399726420","filename":"file0"},{"photo_id":"1399726423","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726420":["hashtag1","hashtag2"]},{"1399726423":["hashtag1","hashtag2"]},{"1399726425":["hashtag1","hashtag2"]},{"1399726422":["hashtag1","hashtag2"]},{"1399726421":["hashtag1","hashtag2"]},{"1399726424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726420, 1399726423, 1399726425, 1399726422, 1399726421, 1399726424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.753910064697266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:14:21.982696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/08/image_17122025_00_08_35_10679.jpg', '/home/pi/Desktop/images/17122025/00/08/image_17122025_00_09_04_9644.jpg', '/home/pi/Desktop/images/17122025/00/09/image_17122025_00_09_15_10809.jpg', '/home/pi/Desktop/images/17122025/00/09/image_17122025_00_09_25_9774.jpg', '/home/pi/Desktop/images/17122025/00/09/image_17122025_00_09_55_9661.jpg', '/home/pi/Desktop/images/17122025/00/09/image_17122025_00_10_04_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/08/image_17122025_00_08_35_10679.jpg
/home/pi/Desktop/images/17122025/00/08/image_17122025_00_09_04_9644.jpg
/home/pi/Desktop/images/17122025/00/09/image_17122025_00_09_15_10809.jpg
/home/pi/Desktop/images/17122025/00/09/image_17122025_00_09_25_9774.jpg
/home/pi/Desktop/images/17122025/00/09/image_17122025_00_09_55_9661.jpg
/home/pi/Desktop/images/17122025/00/09/image_17122025_00_10_04_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":["1399726433","1399726427","1399726441","1399726435","1399726431","1399726428"],"photo_ids_order":["1399726427","1399726428","1399726431","1399726433","1399726435","1399726441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a189c5defcfcdf269ac36e3788ad2f11.jpg","text":"TemporaryFile(/tmp/multipartBody2262313875351451951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926922559,"filename":"image_17122025_00_09_25_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4d9a9d017fb060d6ad5d08ac6dfceba.jpg","text":"TemporaryFile(/tmp/multipartBody7846367995839300125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926922559,"filename":"image_17122025_00_08_35_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c92b2112b5fe5ccb06c9d1c1d0388470.jpg","text":"TemporaryFile(/tmp/multipartBody4725180107874607295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926922559,"filename":"image_17122025_00_10_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d408d7ee6456f3e09f7c4a5297309a59.jpg","text":"TemporaryFile(/tmp/multipartBody7229158976109873910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926922559,"filename":"image_17122025_00_09_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c9cb734c8f3d372d4f7991c576617c2.jpg","text":"TemporaryFile(/tmp/multipartBody3656952360551496490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926922559,"filename":"image_17122025_00_09_15_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f925adef21f9d1b7c248bcc46bac5f40.jpg","text":"TemporaryFile(/tmp/multipartBody8688402450807785276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926922559,"filename":"image_17122025_00_09_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726431","file1":"1399726428","file0":"1399726427","file4":"1399726435","file5":"1399726441","file3":"1399726433"},"map_files_photo_id_array":[{"photo_id":"1399726441","filename":"file5"},{"photo_id":"1399726431","filename":"file2"},{"photo_id":"1399726435","filename":"file4"},{"photo_id":"1399726428","filename":"file1"},{"photo_id":"1399726427","filename":"file0"},{"photo_id":"1399726433","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726433":["hashtag1","hashtag2"]},{"1399726427":["hashtag1","hashtag2"]},{"1399726441":["hashtag1","hashtag2"]},{"1399726435":["hashtag1","hashtag2"]},{"1399726431":["hashtag1","hashtag2"]},{"1399726428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726433, 1399726427, 1399726441, 1399726435, 1399726431, 1399726428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.096577644348145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:15:02.888895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_14_9655.jpg', '/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_25_10636.jpg', '/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_34_9640.jpg', '/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_45_10602.jpg', '/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_55_9799.jpg', '/home/pi/Desktop/images/17122025/00/10/image_17122025_00_11_05_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_14_9655.jpg
/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_25_10636.jpg
/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_34_9640.jpg
/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_45_10602.jpg
/home/pi/Desktop/images/17122025/00/10/image_17122025_00_10_55_9799.jpg
/home/pi/Desktop/images/17122025/00/10/image_17122025_00_11_05_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726450","1399726453","1399726447","1399726455","1399726449","1399726451"],"photo_ids_order":["1399726447","1399726449","1399726450","1399726451","1399726453","1399726455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0f5b7850cc8b4e149443a58fd77a2b6.jpg","text":"TemporaryFile(/tmp/multipartBody656185628451863068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926963502,"filename":"image_17122025_00_10_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1083747722a71ada419938d00c2166b9.jpg","text":"TemporaryFile(/tmp/multipartBody1357906455479641714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926963502,"filename":"image_17122025_00_10_55_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cf06eb7958b2c39d10062c0fea1dc48.jpg","text":"TemporaryFile(/tmp/multipartBody4167282260320109829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926963502,"filename":"image_17122025_00_10_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9376e87a04891c89309f8778e18d9ff9.jpg","text":"TemporaryFile(/tmp/multipartBody7799935582667343120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926963502,"filename":"image_17122025_00_11_05_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a215f676791fee35d935e6b3950d6ae.jpg","text":"TemporaryFile(/tmp/multipartBody3455221931802895437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926963502,"filename":"image_17122025_00_10_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd455bbbf4dcd5326c3a60e688a2109c.jpg","text":"TemporaryFile(/tmp/multipartBody6704846271330555343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765926963502,"filename":"image_17122025_00_10_45_10602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726450","file1":"1399726449","file0":"1399726447","file4":"1399726453","file5":"1399726455","file3":"1399726451"},"map_files_photo_id_array":[{"photo_id":"1399726455","filename":"file5"},{"photo_id":"1399726450","filename":"file2"},{"photo_id":"1399726453","filename":"file4"},{"photo_id":"1399726449","filename":"file1"},{"photo_id":"1399726447","filename":"file0"},{"photo_id":"1399726451","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726450":["hashtag1","hashtag2"]},{"1399726453":["hashtag1","hashtag2"]},{"1399726447":["hashtag1","hashtag2"]},{"1399726455":["hashtag1","hashtag2"]},{"1399726449":["hashtag1","hashtag2"]},{"1399726451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726450, 1399726453, 1399726447, 1399726455, 1399726449, 1399726451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.213414669036865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:15:42.297056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_25_10230.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_27_1557.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_29_1540.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_30_1618.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_32_1825.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_34_1574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_25_10230.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_27_1557.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_29_1540.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_30_1618.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_32_1825.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_34_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":["1399726465","1399726459","1399726462","1399726461","1399726464","1399726463"],"photo_ids_order":["1399726459","1399726461","1399726462","1399726463","1399726464","1399726465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bb9a8afdfeb9cc00be8011c85ceffcd.jpg","text":"TemporaryFile(/tmp/multipartBody1640475536158646858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927003014,"filename":"image_07112025_15_13_34_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1aa6043276a53dc6efe6abda03fa40ef.jpg","text":"TemporaryFile(/tmp/multipartBody1302166935480971211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927003014,"filename":"image_07112025_15_13_25_10230.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5faf5847b7c8f6b0e504671b3c2de5a1.jpg","text":"TemporaryFile(/tmp/multipartBody4685136004422950168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927003014,"filename":"image_07112025_15_13_29_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fd42cc893b1f86b7ef43b13f8382b27.jpg","text":"TemporaryFile(/tmp/multipartBody8568692064259549137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927003014,"filename":"image_07112025_15_13_27_1557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/056965e0111c96cacc4aded964f83b96.jpg","text":"TemporaryFile(/tmp/multipartBody3731024642175054861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927003014,"filename":"image_07112025_15_13_32_1825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/825375c033b023d8e26e4789d468b07e.jpg","text":"TemporaryFile(/tmp/multipartBody622571144585819753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927003014,"filename":"image_07112025_15_13_30_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726462","file1":"1399726461","file0":"1399726459","file4":"1399726464","file5":"1399726465","file3":"1399726463"},"map_files_photo_id_array":[{"photo_id":"1399726465","filename":"file5"},{"photo_id":"1399726462","filename":"file2"},{"photo_id":"1399726464","filename":"file4"},{"photo_id":"1399726461","filename":"file1"},{"photo_id":"1399726459","filename":"file0"},{"photo_id":"1399726463","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726465":["hashtag1","hashtag2"]},{"1399726459":["hashtag1","hashtag2"]},{"1399726462":["hashtag1","hashtag2"]},{"1399726461":["hashtag1","hashtag2"]},{"1399726464":["hashtag1","hashtag2"]},{"1399726463":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726465, 1399726459, 1399726462, 1399726461, 1399726464, 1399726463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16210603713989 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:16:22.536639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/11/image_17122025_00_11_14_9602.jpg', '/home/pi/Desktop/images/17122025/00/11/image_17122025_00_11_25_10800.jpg', '/home/pi/Desktop/images/17122025/00/11/image_17122025_00_11_54_9595.jpg', '/home/pi/Desktop/images/17122025/00/11/image_17122025_00_12_05_10729.jpg', '/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_15_9584.jpg', '/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_24_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/11/image_17122025_00_11_14_9602.jpg
/home/pi/Desktop/images/17122025/00/11/image_17122025_00_11_25_10800.jpg
/home/pi/Desktop/images/17122025/00/11/image_17122025_00_11_54_9595.jpg
/home/pi/Desktop/images/17122025/00/11/image_17122025_00_12_05_10729.jpg
/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_15_9584.jpg
/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_24_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":["1399726471","1399726473","1399726476","1399726467","1399726466","1399726469"],"photo_ids_order":["1399726466","1399726467","1399726469","1399726471","1399726473","1399726476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bc35a7d59958d635937a636f32b62fb.jpg","text":"TemporaryFile(/tmp/multipartBody7892938607406680149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927043116,"filename":"image_17122025_00_12_05_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a80ffdc0d0c041c7c1e07c5bd888c027.jpg","text":"TemporaryFile(/tmp/multipartBody8840907158635795583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927043116,"filename":"image_17122025_00_12_15_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/176c63b7bf393cf9e1b9b07bc89f3079.jpg","text":"TemporaryFile(/tmp/multipartBody8759773652831792361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927043116,"filename":"image_17122025_00_12_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2cadfd3eb806142454331f81d5f84c9.jpg","text":"TemporaryFile(/tmp/multipartBody1563863406140277260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927043116,"filename":"image_17122025_00_11_25_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b2146802bb30946ef67304eea6770e1.jpg","text":"TemporaryFile(/tmp/multipartBody6917726865942166777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927043116,"filename":"image_17122025_00_11_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a52a5ded065dcf7afb35b662885e7ec6.jpg","text":"TemporaryFile(/tmp/multipartBody2205339887723617905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927043116,"filename":"image_17122025_00_11_54_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726469","file1":"1399726467","file0":"1399726466","file4":"1399726473","file5":"1399726476","file3":"1399726471"},"map_files_photo_id_array":[{"photo_id":"1399726476","filename":"file5"},{"photo_id":"1399726469","filename":"file2"},{"photo_id":"1399726473","filename":"file4"},{"photo_id":"1399726467","filename":"file1"},{"photo_id":"1399726466","filename":"file0"},{"photo_id":"1399726471","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726471":["hashtag1","hashtag2"]},{"1399726473":["hashtag1","hashtag2"]},{"1399726476":["hashtag1","hashtag2"]},{"1399726467":["hashtag1","hashtag2"]},{"1399726466":["hashtag1","hashtag2"]},{"1399726469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726471, 1399726473, 1399726476, 1399726467, 1399726466, 1399726469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10426712036133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:17:03.427471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_35_10763.jpg', '/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_45_9584.jpg', '/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_54_9781.jpg', '/home/pi/Desktop/images/17122025/00/12/image_17122025_00_13_05_10580.jpg', '/home/pi/Desktop/images/17122025/00/13/image_17122025_00_13_15_9891.jpg', '/home/pi/Desktop/images/17122025/00/13/image_17122025_00_13_34_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_35_10763.jpg
/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_45_9584.jpg
/home/pi/Desktop/images/17122025/00/12/image_17122025_00_12_54_9781.jpg
/home/pi/Desktop/images/17122025/00/12/image_17122025_00_13_05_10580.jpg
/home/pi/Desktop/images/17122025/00/13/image_17122025_00_13_15_9891.jpg
/home/pi/Desktop/images/17122025/00/13/image_17122025_00_13_34_9831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726489","1399726486","1399726482","1399726485","1399726484","1399726487"],"photo_ids_order":["1399726482","1399726484","1399726485","1399726486","1399726487","1399726489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/183b2a521ef08d3e9c3597916b06e8c0.jpg","text":"TemporaryFile(/tmp/multipartBody6872290748528378681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927084055,"filename":"image_17122025_00_13_34_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/941ec5c549c943295830a981d2112bb6.jpg","text":"TemporaryFile(/tmp/multipartBody2664144127016280702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927084055,"filename":"image_17122025_00_13_05_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52eb42e35432c3d476b57eb1ee0bb908.jpg","text":"TemporaryFile(/tmp/multipartBody9184363680341050844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927084055,"filename":"image_17122025_00_12_35_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c343d8f5ace617d24c194922a2e5e19.jpg","text":"TemporaryFile(/tmp/multipartBody1957779485018596678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927084055,"filename":"image_17122025_00_12_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b60eb9ab8ae11b6b41716adce74c940.jpg","text":"TemporaryFile(/tmp/multipartBody4721780629473788811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927084055,"filename":"image_17122025_00_12_45_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f0a46b89ba524c2bdf09be63ca96b30.jpg","text":"TemporaryFile(/tmp/multipartBody2301109978768000811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927084055,"filename":"image_17122025_00_13_15_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726485","file1":"1399726484","file0":"1399726482","file4":"1399726487","file5":"1399726489","file3":"1399726486"},"map_files_photo_id_array":[{"photo_id":"1399726489","filename":"file5"},{"photo_id":"1399726485","filename":"file2"},{"photo_id":"1399726487","filename":"file4"},{"photo_id":"1399726484","filename":"file1"},{"photo_id":"1399726482","filename":"file0"},{"photo_id":"1399726486","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726489":["hashtag1","hashtag2"]},{"1399726486":["hashtag1","hashtag2"]},{"1399726482":["hashtag1","hashtag2"]},{"1399726485":["hashtag1","hashtag2"]},{"1399726484":["hashtag1","hashtag2"]},{"1399726487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726489, 1399726486, 1399726482, 1399726485, 1399726484, 1399726487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11071276664734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:17:42.767620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_35_1587.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_37_1725.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_43_6507.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_45_1665.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_47_1580.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_48_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_35_1587.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_37_1725.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_43_6507.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_45_1665.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_47_1580.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_48_1691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6215043067932129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:18:02.441785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/13/image_17122025_00_13_45_10738.jpg', '/home/pi/Desktop/images/17122025/00/13/image_17122025_00_13_55_9722.jpg', '/home/pi/Desktop/images/17122025/00/13/image_17122025_00_14_04_9636.jpg', '/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_14_9682.jpg', '/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_25_10562.jpg', '/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_34_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/13/image_17122025_00_13_45_10738.jpg
/home/pi/Desktop/images/17122025/00/13/image_17122025_00_13_55_9722.jpg
/home/pi/Desktop/images/17122025/00/13/image_17122025_00_14_04_9636.jpg
/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_14_9682.jpg
/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_25_10562.jpg
/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_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":["1399726508","1399726510","1399726507","1399726512","1399726506","1399726509"],"photo_ids_order":["1399726506","1399726507","1399726508","1399726509","1399726510","1399726512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/421a22e9bfa7689e59df2fa7e0441799.jpg","text":"TemporaryFile(/tmp/multipartBody7621146883337868008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927143033,"filename":"image_17122025_00_14_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13b94ae4fbd8ba044162a04922e4b22e.jpg","text":"TemporaryFile(/tmp/multipartBody5145916173292568328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927143033,"filename":"image_17122025_00_14_25_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ce8397225a30a0a3379c8ebd209b99a.jpg","text":"TemporaryFile(/tmp/multipartBody646215361946999563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927143033,"filename":"image_17122025_00_13_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/661992969b3ec793ee5acc632b374137.jpg","text":"TemporaryFile(/tmp/multipartBody6037943460106083531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927143033,"filename":"image_17122025_00_14_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/200d0f556ddd75512efb87a1026f9ca4.jpg","text":"TemporaryFile(/tmp/multipartBody3285852439885002895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927143033,"filename":"image_17122025_00_13_45_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e189dec343a7e6f0adb8914a39e3b428.jpg","text":"TemporaryFile(/tmp/multipartBody6959069043974043629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927143033,"filename":"image_17122025_00_14_14_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726508","file1":"1399726507","file0":"1399726506","file4":"1399726510","file5":"1399726512","file3":"1399726509"},"map_files_photo_id_array":[{"photo_id":"1399726512","filename":"file5"},{"photo_id":"1399726508","filename":"file2"},{"photo_id":"1399726510","filename":"file4"},{"photo_id":"1399726507","filename":"file1"},{"photo_id":"1399726506","filename":"file0"},{"photo_id":"1399726509","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726508":["hashtag1","hashtag2"]},{"1399726510":["hashtag1","hashtag2"]},{"1399726507":["hashtag1","hashtag2"]},{"1399726512":["hashtag1","hashtag2"]},{"1399726506":["hashtag1","hashtag2"]},{"1399726509":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726508, 1399726510, 1399726507, 1399726512, 1399726506, 1399726509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0048394203186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:18:42.144001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_35_1587.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_37_1725.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_43_6507.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_45_1665.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_47_1580.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_48_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_35_1587.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_37_1725.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_43_6507.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_45_1665.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_47_1580.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_48_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":["1399726522","1399726519","1399726521","1399726520","1399726523","1399726517"],"photo_ids_order":["1399726517","1399726519","1399726520","1399726521","1399726522","1399726523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91a90b91e1436cf9db307579e8c9315d.jpg","text":"TemporaryFile(/tmp/multipartBody1663054251386788354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927182746,"filename":"image_07112025_15_13_47_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33c2c9542a3d484ff2c18c59031486c5.jpg","text":"TemporaryFile(/tmp/multipartBody1013594968778562502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927182746,"filename":"image_07112025_15_13_37_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27a646cf4f1e4888b5b720d8973d3e02.jpg","text":"TemporaryFile(/tmp/multipartBody1446686864041363997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927182746,"filename":"image_07112025_15_13_45_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47c68f3a9b808021f8909adc089f36ee.jpg","text":"TemporaryFile(/tmp/multipartBody8632186483695630626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927182746,"filename":"image_07112025_15_13_43_6507.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2a73cb184b74213658a7dc88d243076.jpg","text":"TemporaryFile(/tmp/multipartBody266937859779497496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927182746,"filename":"image_07112025_15_13_48_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/362c750ff3d1f15de88b857d7b2f1f7e.jpg","text":"TemporaryFile(/tmp/multipartBody3396860818199066964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927182746,"filename":"image_07112025_15_13_35_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726520","file1":"1399726519","file0":"1399726517","file4":"1399726522","file5":"1399726523","file3":"1399726521"},"map_files_photo_id_array":[{"photo_id":"1399726523","filename":"file5"},{"photo_id":"1399726520","filename":"file2"},{"photo_id":"1399726522","filename":"file4"},{"photo_id":"1399726519","filename":"file1"},{"photo_id":"1399726517","filename":"file0"},{"photo_id":"1399726521","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726522":["hashtag1","hashtag2"]},{"1399726519":["hashtag1","hashtag2"]},{"1399726521":["hashtag1","hashtag2"]},{"1399726520":["hashtag1","hashtag2"]},{"1399726523":["hashtag1","hashtag2"]},{"1399726517":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726522, 1399726519, 1399726521, 1399726520, 1399726523, 1399726517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.14177393913269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:19:22.403739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_45_10676.jpg', '/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_55_9688.jpg', '/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_15_10631.jpg', '/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_25_9711.jpg', '/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_34_9627.jpg', '/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_45_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_45_10676.jpg
/home/pi/Desktop/images/17122025/00/14/image_17122025_00_14_55_9688.jpg
/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_15_10631.jpg
/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_25_9711.jpg
/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_34_9627.jpg
/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_45_10618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726532","1399726526","1399726534","1399726528","1399726536","1399726530"],"photo_ids_order":["1399726526","1399726528","1399726530","1399726532","1399726534","1399726536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f246736467735311ef035e6cc08e495.jpg","text":"TemporaryFile(/tmp/multipartBody7322381517874866072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927222988,"filename":"image_17122025_00_15_25_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84c67d1ead6a1dbde521181b63e1b47c.jpg","text":"TemporaryFile(/tmp/multipartBody2812186881622751554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927222988,"filename":"image_17122025_00_14_45_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4fa319fec631af41185d2f1e3eafa6a4.jpg","text":"TemporaryFile(/tmp/multipartBody1326963772791098038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927222988,"filename":"image_17122025_00_15_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e160937002e8ef80129b18413a2aed99.jpg","text":"TemporaryFile(/tmp/multipartBody2735986504646521232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927222988,"filename":"image_17122025_00_14_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa4da61d5a028c6b87f5320f92191d1a.jpg","text":"TemporaryFile(/tmp/multipartBody55982115924011652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927222988,"filename":"image_17122025_00_15_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e677114bc8c3c7c26d54e4e1e34abfb4.jpg","text":"TemporaryFile(/tmp/multipartBody4261068444260849295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927222988,"filename":"image_17122025_00_15_15_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726530","file1":"1399726528","file0":"1399726526","file4":"1399726534","file5":"1399726536","file3":"1399726532"},"map_files_photo_id_array":[{"photo_id":"1399726536","filename":"file5"},{"photo_id":"1399726530","filename":"file2"},{"photo_id":"1399726534","filename":"file4"},{"photo_id":"1399726528","filename":"file1"},{"photo_id":"1399726526","filename":"file0"},{"photo_id":"1399726532","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726532":["hashtag1","hashtag2"]},{"1399726526":["hashtag1","hashtag2"]},{"1399726534":["hashtag1","hashtag2"]},{"1399726528":["hashtag1","hashtag2"]},{"1399726536":["hashtag1","hashtag2"]},{"1399726530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726532, 1399726526, 1399726534, 1399726528, 1399726536, 1399726530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23571515083313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:20:03.100067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_54_9640.jpg', '/home/pi/Desktop/images/17122025/00/15/image_17122025_00_16_04_9901.jpg', '/home/pi/Desktop/images/17122025/00/16/image_17122025_00_16_15_10643.jpg', '/home/pi/Desktop/images/17122025/00/16/image_17122025_00_16_25_9716.jpg', '/home/pi/Desktop/images/17122025/00/16/image_17122025_00_16_34_9658.jpg', '/home/pi/Desktop/images/17122025/00/16/image_17122025_00_16_54_9260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/15/image_17122025_00_15_54_9640.jpg
/home/pi/Desktop/images/17122025/00/15/image_17122025_00_16_04_9901.jpg
/home/pi/Desktop/images/17122025/00/16/image_17122025_00_16_15_10643.jpg
/home/pi/Desktop/images/17122025/00/16/image_17122025_00_16_25_9716.jpg
/home/pi/Desktop/images/17122025/00/16/image_17122025_00_16_34_9658.jpg
/home/pi/Desktop/images/17122025/00/16/image_17122025_00_16_54_9260.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726540","1399726543","1399726542","1399726539","1399726541","1399726538"],"photo_ids_order":["1399726538","1399726539","1399726540","1399726541","1399726542","1399726543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f35fda698df157862904ceb093b05ad.jpg","text":"TemporaryFile(/tmp/multipartBody3743459608132268424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927263713,"filename":"image_17122025_00_16_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e955f060aac3c62d258f681e6642940.jpg","text":"TemporaryFile(/tmp/multipartBody8390881611896383536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927263713,"filename":"image_17122025_00_16_54_9260.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96ca77e34bacbb8827483b13f49e2ef1.jpg","text":"TemporaryFile(/tmp/multipartBody5621925806841482474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927263713,"filename":"image_17122025_00_16_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1d3cd4149a4ccc1f570f4461a25b5be.jpg","text":"TemporaryFile(/tmp/multipartBody7527514280490573617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927263713,"filename":"image_17122025_00_16_04_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/997130cff0d63e5a978d2989b3897a07.jpg","text":"TemporaryFile(/tmp/multipartBody5050172547829759351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927263713,"filename":"image_17122025_00_16_25_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/493b0fe4eb7fbb4ce5e8bf91c7844a52.jpg","text":"TemporaryFile(/tmp/multipartBody6774076849383568513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927263713,"filename":"image_17122025_00_15_54_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726540","file1":"1399726539","file0":"1399726538","file4":"1399726542","file5":"1399726543","file3":"1399726541"},"map_files_photo_id_array":[{"photo_id":"1399726543","filename":"file5"},{"photo_id":"1399726540","filename":"file2"},{"photo_id":"1399726542","filename":"file4"},{"photo_id":"1399726539","filename":"file1"},{"photo_id":"1399726538","filename":"file0"},{"photo_id":"1399726541","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726540":["hashtag1","hashtag2"]},{"1399726543":["hashtag1","hashtag2"]},{"1399726542":["hashtag1","hashtag2"]},{"1399726539":["hashtag1","hashtag2"]},{"1399726541":["hashtag1","hashtag2"]},{"1399726538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726540, 1399726543, 1399726542, 1399726539, 1399726541, 1399726538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.78102922439575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:20:42.607934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_51_3065.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_53_1584.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_55_1704.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_56_1539.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_58_1553.jpg', '/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_59_1559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_51_3065.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_53_1584.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_55_1704.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_56_1539.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_58_1553.jpg
/home/pi/Desktop/images/07112025/15/13/image_07112025_15_13_59_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":["1399726561","1399726549","1399726563","1399726557","1399726565","1399726559"],"photo_ids_order":["1399726549","1399726557","1399726559","1399726561","1399726563","1399726565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd79adcd7caf8b100a8581ce124b7347.jpg","text":"TemporaryFile(/tmp/multipartBody7207333498043343855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927303324,"filename":"image_07112025_15_13_56_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a2e5c11bc25b88e7b0b223b4c608c3e.jpg","text":"TemporaryFile(/tmp/multipartBody8677091232943263935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927303324,"filename":"image_07112025_15_13_51_3065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f14173b26ec77c14650e22918abc1ac9.jpg","text":"TemporaryFile(/tmp/multipartBody965360828065749070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927303324,"filename":"image_07112025_15_13_58_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/216dc72acaa118fc237c412309960827.jpg","text":"TemporaryFile(/tmp/multipartBody848343317416290092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927303324,"filename":"image_07112025_15_13_53_1584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/946a8ce4c0cbdaa8bea2c5ab98b47575.jpg","text":"TemporaryFile(/tmp/multipartBody5949467740737186378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927303324,"filename":"image_07112025_15_13_59_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/235317eae38190d3bf5600a26cf30d10.jpg","text":"TemporaryFile(/tmp/multipartBody2750492840205828407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927303324,"filename":"image_07112025_15_13_55_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726559","file1":"1399726557","file0":"1399726549","file4":"1399726563","file5":"1399726565","file3":"1399726561"},"map_files_photo_id_array":[{"photo_id":"1399726565","filename":"file5"},{"photo_id":"1399726559","filename":"file2"},{"photo_id":"1399726563","filename":"file4"},{"photo_id":"1399726557","filename":"file1"},{"photo_id":"1399726549","filename":"file0"},{"photo_id":"1399726561","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726561":["hashtag1","hashtag2"]},{"1399726549":["hashtag1","hashtag2"]},{"1399726563":["hashtag1","hashtag2"]},{"1399726557":["hashtag1","hashtag2"]},{"1399726565":["hashtag1","hashtag2"]},{"1399726559":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726561, 1399726549, 1399726563, 1399726557, 1399726565, 1399726559)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37274146080017 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:21:21.833488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/16/image_17122025_00_17_04_9830.jpg', '/home/pi/Desktop/images/17122025/00/17/image_17122025_00_17_15_10749.jpg', '/home/pi/Desktop/images/17122025/00/17/image_17122025_00_17_25_9742.jpg', '/home/pi/Desktop/images/17122025/00/17/image_17122025_00_17_44_9878.jpg', '/home/pi/Desktop/images/17122025/00/17/image_17122025_00_18_05_10727.jpg', '/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_14_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/16/image_17122025_00_17_04_9830.jpg
/home/pi/Desktop/images/17122025/00/17/image_17122025_00_17_15_10749.jpg
/home/pi/Desktop/images/17122025/00/17/image_17122025_00_17_25_9742.jpg
/home/pi/Desktop/images/17122025/00/17/image_17122025_00_17_44_9878.jpg
/home/pi/Desktop/images/17122025/00/17/image_17122025_00_18_05_10727.jpg
/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_14_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":["1399726576","1399726570","1399726572","1399726578","1399726574","1399726568"],"photo_ids_order":["1399726568","1399726570","1399726572","1399726574","1399726576","1399726578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b519f03345cdee20108dcea69a188410.jpg","text":"TemporaryFile(/tmp/multipartBody3026054619924685978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927342441,"filename":"image_17122025_00_18_05_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f9a9695206895ca8e08a96876c8ce08.jpg","text":"TemporaryFile(/tmp/multipartBody6909407577883792515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927342441,"filename":"image_17122025_00_17_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b343c26c2c3f4a655f132086c70c73a.jpg","text":"TemporaryFile(/tmp/multipartBody9080812803587494414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927342441,"filename":"image_17122025_00_17_25_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4836d0614bb2ad62b249bb1370fbdd6.jpg","text":"TemporaryFile(/tmp/multipartBody440779723989614523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927342441,"filename":"image_17122025_00_18_14_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33d97d9c7f277aca4acc727072f37760.jpg","text":"TemporaryFile(/tmp/multipartBody459876010905576323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927342441,"filename":"image_17122025_00_17_44_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/247f02c0e5447c16e39e7773601c8cd3.jpg","text":"TemporaryFile(/tmp/multipartBody959894970390152092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927342441,"filename":"image_17122025_00_17_04_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726572","file1":"1399726570","file0":"1399726568","file4":"1399726576","file5":"1399726578","file3":"1399726574"},"map_files_photo_id_array":[{"photo_id":"1399726578","filename":"file5"},{"photo_id":"1399726572","filename":"file2"},{"photo_id":"1399726576","filename":"file4"},{"photo_id":"1399726570","filename":"file1"},{"photo_id":"1399726568","filename":"file0"},{"photo_id":"1399726574","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726576":["hashtag1","hashtag2"]},{"1399726570":["hashtag1","hashtag2"]},{"1399726572":["hashtag1","hashtag2"]},{"1399726578":["hashtag1","hashtag2"]},{"1399726574":["hashtag1","hashtag2"]},{"1399726568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726576, 1399726570, 1399726572, 1399726578, 1399726574, 1399726568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06213068962097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:22:02.445113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_25_10636.jpg', '/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_35_9697.jpg', '/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_44_9678.jpg', '/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_55_10615.jpg', '/home/pi/Desktop/images/17122025/00/18/image_17122025_00_19_05_9645.jpg', '/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_14_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_25_10636.jpg
/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_35_9697.jpg
/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_44_9678.jpg
/home/pi/Desktop/images/17122025/00/18/image_17122025_00_18_55_10615.jpg
/home/pi/Desktop/images/17122025/00/18/image_17122025_00_19_05_9645.jpg
/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_14_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726582","1399726585","1399726579","1399726581","1399726583","1399726580"],"photo_ids_order":["1399726579","1399726580","1399726581","1399726582","1399726583","1399726585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d7adef8bd2f3768c781c08b6c323aab.jpg","text":"TemporaryFile(/tmp/multipartBody5116791786054916169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927383043,"filename":"image_17122025_00_18_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0f21a7221c63ca9d72a88853beb9bac.jpg","text":"TemporaryFile(/tmp/multipartBody3502124958295965951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927383043,"filename":"image_17122025_00_19_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f506c39d6433063922f170f41852a75e.jpg","text":"TemporaryFile(/tmp/multipartBody8128132607194567877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927383043,"filename":"image_17122025_00_18_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5629944a05b08e0afa25b742c53e788.jpg","text":"TemporaryFile(/tmp/multipartBody1468345512311631616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927383043,"filename":"image_17122025_00_18_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6e86c8af6c42c7fb920b54fe55ddb7e.jpg","text":"TemporaryFile(/tmp/multipartBody8397826738212104342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927383043,"filename":"image_17122025_00_19_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ce79136b48912e5b35c78c82d12eefd.jpg","text":"TemporaryFile(/tmp/multipartBody9070491285250383535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927383043,"filename":"image_17122025_00_18_35_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726581","file1":"1399726580","file0":"1399726579","file4":"1399726583","file5":"1399726585","file3":"1399726582"},"map_files_photo_id_array":[{"photo_id":"1399726585","filename":"file5"},{"photo_id":"1399726581","filename":"file2"},{"photo_id":"1399726583","filename":"file4"},{"photo_id":"1399726580","filename":"file1"},{"photo_id":"1399726579","filename":"file0"},{"photo_id":"1399726582","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726582":["hashtag1","hashtag2"]},{"1399726585":["hashtag1","hashtag2"]},{"1399726579":["hashtag1","hashtag2"]},{"1399726581":["hashtag1","hashtag2"]},{"1399726583":["hashtag1","hashtag2"]},{"1399726580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726582, 1399726585, 1399726579, 1399726581, 1399726583, 1399726580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26107430458069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:22:42.030029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_05_5329.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_16_11543.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_18_1517.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_19_1637.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_21_1613.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_25_4406.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_05_5329.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_16_11543.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_18_1517.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_19_1637.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_21_1613.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_25_4406.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726594","1399726590","1399726593","1399726596","1399726592","1399726595"],"photo_ids_order":["1399726590","1399726592","1399726593","1399726594","1399726595","1399726596"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b727f66f533a284f5a65ac17b1cc643.jpg","text":"TemporaryFile(/tmp/multipartBody1754261703750320519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927422733,"filename":"image_07112025_15_14_19_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b960c0339279b058bd564705c4c47e55.jpg","text":"TemporaryFile(/tmp/multipartBody364250790645353974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927422733,"filename":"image_07112025_15_14_05_5329.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3f0ca3c82a3763b3827ffcdfe197378.jpg","text":"TemporaryFile(/tmp/multipartBody6042696885178778679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927422733,"filename":"image_07112025_15_14_18_1517.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc1d26791a87d3203fc728c4b71e134f.jpg","text":"TemporaryFile(/tmp/multipartBody3013056558421973361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927422733,"filename":"image_07112025_15_14_25_4406.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06b5e8600acb961a9622935c93e33ac6.jpg","text":"TemporaryFile(/tmp/multipartBody8405611659034111937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927422733,"filename":"image_07112025_15_14_16_11543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06e6853bea70b9b11cf129429e70f120.jpg","text":"TemporaryFile(/tmp/multipartBody30409894707524099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927422733,"filename":"image_07112025_15_14_21_1613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726593","file1":"1399726592","file0":"1399726590","file4":"1399726595","file5":"1399726596","file3":"1399726594"},"map_files_photo_id_array":[{"photo_id":"1399726596","filename":"file5"},{"photo_id":"1399726593","filename":"file2"},{"photo_id":"1399726595","filename":"file4"},{"photo_id":"1399726592","filename":"file1"},{"photo_id":"1399726590","filename":"file0"},{"photo_id":"1399726594","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726594":["hashtag1","hashtag2"]},{"1399726590":["hashtag1","hashtag2"]},{"1399726593":["hashtag1","hashtag2"]},{"1399726596":["hashtag1","hashtag2"]},{"1399726592":["hashtag1","hashtag2"]},{"1399726595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726594, 1399726590, 1399726593, 1399726596, 1399726592, 1399726595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.312216997146606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:23:22.295388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_24_9777.jpg', '/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_35_10772.jpg', '/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_44_9576.jpg', '/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_54_9736.jpg', '/home/pi/Desktop/images/17122025/00/19/image_17122025_00_20_05_10796.jpg', '/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_15_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_24_9777.jpg
/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_35_10772.jpg
/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_44_9576.jpg
/home/pi/Desktop/images/17122025/00/19/image_17122025_00_19_54_9736.jpg
/home/pi/Desktop/images/17122025/00/19/image_17122025_00_20_05_10796.jpg
/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_15_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726604","1399726600","1399726606","1399726611","1399726598","1399726602"],"photo_ids_order":["1399726598","1399726600","1399726602","1399726604","1399726606","1399726611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/480964b65708878d5f20f62cf1456a63.jpg","text":"TemporaryFile(/tmp/multipartBody5964909183799675211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927462872,"filename":"image_17122025_00_19_54_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/444343e0b0472e36efd815466613b92d.jpg","text":"TemporaryFile(/tmp/multipartBody691693143384964521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927462872,"filename":"image_17122025_00_19_35_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82dd03626a6e405c7e3938301dce2d37.jpg","text":"TemporaryFile(/tmp/multipartBody1278407654045170115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927462872,"filename":"image_17122025_00_20_05_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a280a2416f2b5c189475a15a9eb78b7.jpg","text":"TemporaryFile(/tmp/multipartBody5586809292705141635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927462872,"filename":"image_17122025_00_20_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57e08c60136ae9c10dd09768f203a7ca.jpg","text":"TemporaryFile(/tmp/multipartBody4164354969839241488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927462872,"filename":"image_17122025_00_19_24_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c64e48e56c2c8a81a51aa23ef67f1c31.jpg","text":"TemporaryFile(/tmp/multipartBody9007675821555001357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927462872,"filename":"image_17122025_00_19_44_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726602","file1":"1399726600","file0":"1399726598","file4":"1399726606","file5":"1399726611","file3":"1399726604"},"map_files_photo_id_array":[{"photo_id":"1399726611","filename":"file5"},{"photo_id":"1399726602","filename":"file2"},{"photo_id":"1399726606","filename":"file4"},{"photo_id":"1399726600","filename":"file1"},{"photo_id":"1399726598","filename":"file0"},{"photo_id":"1399726604","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726604":["hashtag1","hashtag2"]},{"1399726600":["hashtag1","hashtag2"]},{"1399726606":["hashtag1","hashtag2"]},{"1399726611":["hashtag1","hashtag2"]},{"1399726598":["hashtag1","hashtag2"]},{"1399726602":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726604, 1399726600, 1399726606, 1399726611, 1399726598, 1399726602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55001950263977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:24:03.218611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_24_9607.jpg', '/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_35_10639.jpg', '/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_45_9724.jpg', '/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_54_9629.jpg', '/home/pi/Desktop/images/17122025/00/20/image_17122025_00_21_05_10660.jpg', '/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_14_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_24_9607.jpg
/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_35_10639.jpg
/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_45_9724.jpg
/home/pi/Desktop/images/17122025/00/20/image_17122025_00_20_54_9629.jpg
/home/pi/Desktop/images/17122025/00/20/image_17122025_00_21_05_10660.jpg
/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_14_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726613","1399726612","1399726615","1399726617","1399726614","1399726616"],"photo_ids_order":["1399726612","1399726613","1399726614","1399726615","1399726616","1399726617"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22541146840a749176476ae9bed545a7.jpg","text":"TemporaryFile(/tmp/multipartBody3525648853287114438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927503814,"filename":"image_17122025_00_20_35_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5590c5fee81e0907ca65ab9f77f780fd.jpg","text":"TemporaryFile(/tmp/multipartBody4820007418385198679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927503814,"filename":"image_17122025_00_20_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07888c9ef442ae6ab018867b027449ad.jpg","text":"TemporaryFile(/tmp/multipartBody9151478229853769737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927503814,"filename":"image_17122025_00_20_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/480e8cb48cb539eb3c6dea2fe0463a08.jpg","text":"TemporaryFile(/tmp/multipartBody4745448706361482220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927503814,"filename":"image_17122025_00_21_14_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc54b4bf700eda6f92d3fe3c1ed44bf2.jpg","text":"TemporaryFile(/tmp/multipartBody3140838191258892811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927503814,"filename":"image_17122025_00_20_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ca4a0e81d09fc55025b6bf6141cd5ac.jpg","text":"TemporaryFile(/tmp/multipartBody2371863263925668247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927503814,"filename":"image_17122025_00_21_05_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726614","file1":"1399726613","file0":"1399726612","file4":"1399726616","file5":"1399726617","file3":"1399726615"},"map_files_photo_id_array":[{"photo_id":"1399726617","filename":"file5"},{"photo_id":"1399726614","filename":"file2"},{"photo_id":"1399726616","filename":"file4"},{"photo_id":"1399726613","filename":"file1"},{"photo_id":"1399726612","filename":"file0"},{"photo_id":"1399726615","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726613":["hashtag1","hashtag2"]},{"1399726612":["hashtag1","hashtag2"]},{"1399726615":["hashtag1","hashtag2"]},{"1399726617":["hashtag1","hashtag2"]},{"1399726614":["hashtag1","hashtag2"]},{"1399726616":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726613, 1399726612, 1399726615, 1399726617, 1399726614, 1399726616)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.132046937942505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:24:42.595602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_27_1684.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_29_1668.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_36_7099.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_45_9021.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_48_2978.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_49_1658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_27_1684.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_29_1668.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_36_7099.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_45_9021.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_48_2978.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_49_1658.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726639","1399726633","1399726635","1399726632","1399726629","1399726637"],"photo_ids_order":["1399726629","1399726632","1399726633","1399726635","1399726637","1399726639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fe17721947a2bb1a023d80da0dda51c.jpg","text":"TemporaryFile(/tmp/multipartBody6236574160194905871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927543296,"filename":"image_07112025_15_14_49_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff7df48ce0bc27056d7ad174b18f051b.jpg","text":"TemporaryFile(/tmp/multipartBody7684986966812094323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927543296,"filename":"image_07112025_15_14_36_7099.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1929efe261b9be8f588e2b9e953d8891.jpg","text":"TemporaryFile(/tmp/multipartBody5063174050505456300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927543296,"filename":"image_07112025_15_14_45_9021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e85e6176dbb7c6c2a172324f5888900.jpg","text":"TemporaryFile(/tmp/multipartBody5829796327491920038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927543296,"filename":"image_07112025_15_14_29_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c646ff0415f36220bb548d4681c02d3.jpg","text":"TemporaryFile(/tmp/multipartBody6997489359527118883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927543296,"filename":"image_07112025_15_14_27_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1a78ff724dc576c3a99b3f6b4df9c92.jpg","text":"TemporaryFile(/tmp/multipartBody6994396673227661808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927543296,"filename":"image_07112025_15_14_48_2978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726633","file1":"1399726632","file0":"1399726629","file4":"1399726637","file5":"1399726639","file3":"1399726635"},"map_files_photo_id_array":[{"photo_id":"1399726639","filename":"file5"},{"photo_id":"1399726633","filename":"file2"},{"photo_id":"1399726637","filename":"file4"},{"photo_id":"1399726632","filename":"file1"},{"photo_id":"1399726629","filename":"file0"},{"photo_id":"1399726635","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726639":["hashtag1","hashtag2"]},{"1399726633":["hashtag1","hashtag2"]},{"1399726635":["hashtag1","hashtag2"]},{"1399726632":["hashtag1","hashtag2"]},{"1399726629":["hashtag1","hashtag2"]},{"1399726637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726639, 1399726633, 1399726635, 1399726632, 1399726629, 1399726637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.333943605422974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:25:21.868461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_24_9688.jpg', '/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_35_10578.jpg', '/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_44_9754.jpg', '/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_54_9773.jpg', '/home/pi/Desktop/images/17122025/00/21/image_17122025_00_22_05_10683.jpg', '/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_15_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_24_9688.jpg
/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_35_10578.jpg
/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_44_9754.jpg
/home/pi/Desktop/images/17122025/00/21/image_17122025_00_21_54_9773.jpg
/home/pi/Desktop/images/17122025/00/21/image_17122025_00_22_05_10683.jpg
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_15_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":["1399726645","1399726642","1399726653","1399726650","1399726647","1399726649"],"photo_ids_order":["1399726642","1399726645","1399726647","1399726649","1399726650","1399726653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de448ce98162720d63a3ebfd71721177.jpg","text":"TemporaryFile(/tmp/multipartBody4856436783028609262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927582478,"filename":"image_17122025_00_21_35_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3ca574f03965eca6fe8790b0b3bd5be.jpg","text":"TemporaryFile(/tmp/multipartBody5126951354893745806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927582478,"filename":"image_17122025_00_21_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc2a5d6300f5c2214b471d7237dc6457.jpg","text":"TemporaryFile(/tmp/multipartBody3182490526127998185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927582478,"filename":"image_17122025_00_22_15_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/084e6426b6c0af3d1f328d44c0b0a7b1.jpg","text":"TemporaryFile(/tmp/multipartBody7994054291644352069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927582478,"filename":"image_17122025_00_22_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adb740922fb4fa2642be1470b5353d48.jpg","text":"TemporaryFile(/tmp/multipartBody5580059149598773631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927582478,"filename":"image_17122025_00_21_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d798b1570c02fbbad7247b49ba5e695.jpg","text":"TemporaryFile(/tmp/multipartBody5818846149965416872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927582478,"filename":"image_17122025_00_21_54_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726647","file1":"1399726645","file0":"1399726642","file4":"1399726650","file5":"1399726653","file3":"1399726649"},"map_files_photo_id_array":[{"photo_id":"1399726653","filename":"file5"},{"photo_id":"1399726647","filename":"file2"},{"photo_id":"1399726650","filename":"file4"},{"photo_id":"1399726645","filename":"file1"},{"photo_id":"1399726642","filename":"file0"},{"photo_id":"1399726649","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726645":["hashtag1","hashtag2"]},{"1399726642":["hashtag1","hashtag2"]},{"1399726653":["hashtag1","hashtag2"]},{"1399726650":["hashtag1","hashtag2"]},{"1399726647":["hashtag1","hashtag2"]},{"1399726649":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726645, 1399726642, 1399726653, 1399726650, 1399726647, 1399726649)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.612465620040894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:26:02.529016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_24_9566.jpg', '/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_35_10752.jpg', '/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_45_9825.jpg', '/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_54_9737.jpg', '/home/pi/Desktop/images/17122025/00/22/image_17122025_00_23_04_9790.jpg', '/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_15_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_24_9566.jpg
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_35_10752.jpg
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_45_9825.jpg
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_54_9737.jpg
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_23_04_9790.jpg
/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_15_10619.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.503042459487915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:26:12.063373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
  port_id : 29450386
  datou_current_id : 4231839
in upload_from_sqlite, uploading in 29450386
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_55_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4231839&datou=0
/home/pi/Desktop/images/16122025/23/59/image_16122025_23_59_55_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726657"],"photo_id":"1399726657","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bbf5608ddb92ca0b456c4b55a66e2d53.jpg","text":"TemporaryFile(/tmp/multipartBody7185223602734414130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927633219,"filename":"image_16122025_23_59_55_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399726657"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399726657"}],"hashtags":[],"portfolio_id":"29450386","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.895013809204102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:26:32.118980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:26:42.105195
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_51_1650.jpg', '/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_59_7969.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_01_1668.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_02_1683.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_04_1547.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_06_1778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_51_1650.jpg
/home/pi/Desktop/images/07112025/15/14/image_07112025_15_14_59_7969.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_01_1668.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_02_1683.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_04_1547.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_06_1778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726672","1399726671","1399726674","1399726665","1399726673","1399726676"],"photo_ids_order":["1399726665","1399726671","1399726672","1399726673","1399726674","1399726676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5757c96c9a01463d8556c76057d87b8.jpg","text":"TemporaryFile(/tmp/multipartBody6855481916440306859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927662807,"filename":"image_07112025_15_15_01_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c51052aa22254f84b075d4d8c336bfa4.jpg","text":"TemporaryFile(/tmp/multipartBody7380960521588781316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927662807,"filename":"image_07112025_15_14_59_7969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8bee0d98b0d0db52d09d4ade9b49c29.jpg","text":"TemporaryFile(/tmp/multipartBody2643097831666628807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927662807,"filename":"image_07112025_15_15_04_1547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/814201e1ee87b5a3fef4f3233cc1dd5f.jpg","text":"TemporaryFile(/tmp/multipartBody4371398880875279077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927662807,"filename":"image_07112025_15_14_51_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e40e9d60d5ad047a0d185c190bf21e79.jpg","text":"TemporaryFile(/tmp/multipartBody775482314157189951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927662807,"filename":"image_07112025_15_15_02_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b509dab3a33f434d650a841bb5f39d0.jpg","text":"TemporaryFile(/tmp/multipartBody3993574225211482611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927662807,"filename":"image_07112025_15_15_06_1778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726672","file1":"1399726671","file0":"1399726665","file4":"1399726674","file5":"1399726676","file3":"1399726673"},"map_files_photo_id_array":[{"photo_id":"1399726676","filename":"file5"},{"photo_id":"1399726672","filename":"file2"},{"photo_id":"1399726674","filename":"file4"},{"photo_id":"1399726671","filename":"file1"},{"photo_id":"1399726665","filename":"file0"},{"photo_id":"1399726673","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726672":["hashtag1","hashtag2"]},{"1399726671":["hashtag1","hashtag2"]},{"1399726674":["hashtag1","hashtag2"]},{"1399726665":["hashtag1","hashtag2"]},{"1399726673":["hashtag1","hashtag2"]},{"1399726676":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726672, 1399726671, 1399726674, 1399726665, 1399726673, 1399726676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86389708518982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:27:22.476380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_24_9566.jpg', '/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_35_10752.jpg', '/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_45_9825.jpg', '/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_54_9737.jpg', '/home/pi/Desktop/images/17122025/00/22/image_17122025_00_23_04_9790.jpg', '/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_15_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_24_9566.jpg
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_35_10752.jpg
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_45_9825.jpg
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_22_54_9737.jpg
/home/pi/Desktop/images/17122025/00/22/image_17122025_00_23_04_9790.jpg
/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_15_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726687","1399726681","1399726678","1399726683","1399726685","1399726679"],"photo_ids_order":["1399726678","1399726679","1399726681","1399726683","1399726685","1399726687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0da7553baad3d891241fb59401922800.jpg","text":"TemporaryFile(/tmp/multipartBody2742292340626950039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927703092,"filename":"image_17122025_00_23_15_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc5bc9a7ccf08a082e35ee21fa6edc90.jpg","text":"TemporaryFile(/tmp/multipartBody6606848554660817596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927703092,"filename":"image_17122025_00_22_45_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18c26794bab3189f592f789fba92faec.jpg","text":"TemporaryFile(/tmp/multipartBody6353533506551580646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927703092,"filename":"image_17122025_00_22_24_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c44e096975028ec3ebdc3a0984e4324c.jpg","text":"TemporaryFile(/tmp/multipartBody1616450737556871403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927703092,"filename":"image_17122025_00_22_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e8e82a393716c999a5bcfe2c9b13fd9.jpg","text":"TemporaryFile(/tmp/multipartBody1215317228174627403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927703092,"filename":"image_17122025_00_23_04_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1f3b81b6aa043ba3af161e32aca43a4.jpg","text":"TemporaryFile(/tmp/multipartBody6993714490917940354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927703092,"filename":"image_17122025_00_22_35_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726681","file1":"1399726679","file0":"1399726678","file4":"1399726685","file5":"1399726687","file3":"1399726683"},"map_files_photo_id_array":[{"photo_id":"1399726687","filename":"file5"},{"photo_id":"1399726681","filename":"file2"},{"photo_id":"1399726685","filename":"file4"},{"photo_id":"1399726679","filename":"file1"},{"photo_id":"1399726678","filename":"file0"},{"photo_id":"1399726683","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726687":["hashtag1","hashtag2"]},{"1399726681":["hashtag1","hashtag2"]},{"1399726678":["hashtag1","hashtag2"]},{"1399726683":["hashtag1","hashtag2"]},{"1399726685":["hashtag1","hashtag2"]},{"1399726679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726687, 1399726681, 1399726678, 1399726683, 1399726685, 1399726679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4986252784729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:28:03.064420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_25_9779.jpg', '/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_34_9722.jpg', '/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_45_10729.jpg', '/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_55_9695.jpg', '/home/pi/Desktop/images/17122025/00/23/image_17122025_00_24_04_9739.jpg', '/home/pi/Desktop/images/17122025/00/24/image_17122025_00_24_14_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_25_9779.jpg
/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_34_9722.jpg
/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_45_10729.jpg
/home/pi/Desktop/images/17122025/00/23/image_17122025_00_23_55_9695.jpg
/home/pi/Desktop/images/17122025/00/23/image_17122025_00_24_04_9739.jpg
/home/pi/Desktop/images/17122025/00/24/image_17122025_00_24_14_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":["1399726693","1399726690","1399726692","1399726689","1399726691","1399726688"],"photo_ids_order":["1399726688","1399726689","1399726690","1399726691","1399726692","1399726693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fa5d34418357ab5cce9acb7c095b28c.jpg","text":"TemporaryFile(/tmp/multipartBody4629371956473022419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927743654,"filename":"image_17122025_00_24_14_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb248299a75ccc2cfbed87356679eb89.jpg","text":"TemporaryFile(/tmp/multipartBody1962170977068403581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927743654,"filename":"image_17122025_00_23_45_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba5ac6c2a906321f8aa370b14185b3a2.jpg","text":"TemporaryFile(/tmp/multipartBody5165852565862033131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927743654,"filename":"image_17122025_00_24_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4bd9ddebaf488a140a1a3660d3d20ff.jpg","text":"TemporaryFile(/tmp/multipartBody269033912430746836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927743654,"filename":"image_17122025_00_23_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29b06386c1ab539c2041639b105bb732.jpg","text":"TemporaryFile(/tmp/multipartBody8395291487183755430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927743654,"filename":"image_17122025_00_23_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/376627328ea42e0d1757aede62fb70fe.jpg","text":"TemporaryFile(/tmp/multipartBody8489588125651613186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927743654,"filename":"image_17122025_00_23_25_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726690","file1":"1399726689","file0":"1399726688","file4":"1399726692","file5":"1399726693","file3":"1399726691"},"map_files_photo_id_array":[{"photo_id":"1399726693","filename":"file5"},{"photo_id":"1399726690","filename":"file2"},{"photo_id":"1399726692","filename":"file4"},{"photo_id":"1399726689","filename":"file1"},{"photo_id":"1399726688","filename":"file0"},{"photo_id":"1399726691","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726693":["hashtag1","hashtag2"]},{"1399726690":["hashtag1","hashtag2"]},{"1399726692":["hashtag1","hashtag2"]},{"1399726689":["hashtag1","hashtag2"]},{"1399726691":["hashtag1","hashtag2"]},{"1399726688":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726693, 1399726690, 1399726692, 1399726689, 1399726691, 1399726688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71859288215637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:28:42.609850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_07_1559.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_15_7280.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_16_1606.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_18_1540.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_19_1594.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_22_2523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_07_1559.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_15_7280.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_16_1606.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_18_1540.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_19_1594.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_22_2523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726706","1399726699","1399726708","1399726702","1399726710","1399726704"],"photo_ids_order":["1399726699","1399726702","1399726704","1399726706","1399726708","1399726710"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cfd048a6f9850efb33e8f79dda0164a.jpg","text":"TemporaryFile(/tmp/multipartBody4884111413335706287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927783321,"filename":"image_07112025_15_15_18_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a730a0471675ff822d701b5e3f49de6.jpg","text":"TemporaryFile(/tmp/multipartBody4307361728182983681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927783321,"filename":"image_07112025_15_15_07_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2617a37f7d9030642c37c79f0d8cf571.jpg","text":"TemporaryFile(/tmp/multipartBody1063787703811114639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927783321,"filename":"image_07112025_15_15_19_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b62f52f7e2315015de57af5d17c38339.jpg","text":"TemporaryFile(/tmp/multipartBody6366729293719604628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927783321,"filename":"image_07112025_15_15_15_7280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d2fbf9493a482f9b748b1aef7cb0680.jpg","text":"TemporaryFile(/tmp/multipartBody3975513847249415436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927783321,"filename":"image_07112025_15_15_22_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3ea11f1c25ebb0c5411d734a0033b07.jpg","text":"TemporaryFile(/tmp/multipartBody5566493599736075522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927783321,"filename":"image_07112025_15_15_16_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726704","file1":"1399726702","file0":"1399726699","file4":"1399726708","file5":"1399726710","file3":"1399726706"},"map_files_photo_id_array":[{"photo_id":"1399726710","filename":"file5"},{"photo_id":"1399726704","filename":"file2"},{"photo_id":"1399726708","filename":"file4"},{"photo_id":"1399726702","filename":"file1"},{"photo_id":"1399726699","filename":"file0"},{"photo_id":"1399726706","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726706":["hashtag1","hashtag2"]},{"1399726699":["hashtag1","hashtag2"]},{"1399726708":["hashtag1","hashtag2"]},{"1399726702":["hashtag1","hashtag2"]},{"1399726710":["hashtag1","hashtag2"]},{"1399726704":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726706, 1399726699, 1399726708, 1399726702, 1399726710, 1399726704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.595698595047 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:29:31.954700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:29:41.796954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_23_1575.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_25_1680.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_27_1684.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_35_8678.jpg', '/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_50_14833.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_11_20661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_23_1575.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_25_1680.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_27_1684.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_35_8678.jpg
/home/pi/Desktop/images/07112025/15/15/image_07112025_15_15_50_14833.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_11_20661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726730","1399726729","1399726720","1399726731","1399726728","1399726727"],"photo_ids_order":["1399726720","1399726727","1399726728","1399726729","1399726730","1399726731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5f7fd0c47f98a149993cbf330939377.jpg","text":"TemporaryFile(/tmp/multipartBody3141630523202519876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927842519,"filename":"image_07112025_15_15_50_14833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/038a433ee48d6bf2ac85bcadc70fc2c4.jpg","text":"TemporaryFile(/tmp/multipartBody1757120618306248824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927842519,"filename":"image_07112025_15_15_35_8678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cdd651ad781d568c4e5f7f4c6218775.jpg","text":"TemporaryFile(/tmp/multipartBody2168637859735619236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927842519,"filename":"image_07112025_15_15_23_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e7fbc0583e0fee6a5b06518518dd90a.jpg","text":"TemporaryFile(/tmp/multipartBody5631339723176559201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927842519,"filename":"image_07112025_15_16_11_20661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b9867d60297076c6ca5106b8e17c07c.jpg","text":"TemporaryFile(/tmp/multipartBody1705071131658272417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927842519,"filename":"image_07112025_15_15_27_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8d531c57a5562a909372511336b6d9d.jpg","text":"TemporaryFile(/tmp/multipartBody7380483091446846884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927842519,"filename":"image_07112025_15_15_25_1680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726728","file1":"1399726727","file0":"1399726720","file4":"1399726730","file5":"1399726731","file3":"1399726729"},"map_files_photo_id_array":[{"photo_id":"1399726731","filename":"file5"},{"photo_id":"1399726728","filename":"file2"},{"photo_id":"1399726730","filename":"file4"},{"photo_id":"1399726727","filename":"file1"},{"photo_id":"1399726720","filename":"file0"},{"photo_id":"1399726729","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726730":["hashtag1","hashtag2"]},{"1399726729":["hashtag1","hashtag2"]},{"1399726720":["hashtag1","hashtag2"]},{"1399726731":["hashtag1","hashtag2"]},{"1399726728":["hashtag1","hashtag2"]},{"1399726727":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726730, 1399726729, 1399726720, 1399726731, 1399726728, 1399726727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06849026679993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:30:22.052903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/24/image_17122025_00_24_44_9663.jpg', '/home/pi/Desktop/images/17122025/00/24/image_17122025_00_24_54_9732.jpg', '/home/pi/Desktop/images/17122025/00/25/image_17122025_00_25_14_9585.jpg', '/home/pi/Desktop/images/17122025/00/25/image_17122025_00_25_25_10697.jpg', '/home/pi/Desktop/images/17122025/00/25/image_17122025_00_25_44_9648.jpg', '/home/pi/Desktop/images/17122025/00/25/image_17122025_00_25_54_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/24/image_17122025_00_24_44_9663.jpg
/home/pi/Desktop/images/17122025/00/24/image_17122025_00_24_54_9732.jpg
/home/pi/Desktop/images/17122025/00/25/image_17122025_00_25_14_9585.jpg
/home/pi/Desktop/images/17122025/00/25/image_17122025_00_25_25_10697.jpg
/home/pi/Desktop/images/17122025/00/25/image_17122025_00_25_44_9648.jpg
/home/pi/Desktop/images/17122025/00/25/image_17122025_00_25_54_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726738","1399726732","1399726740","1399726734","1399726742","1399726736"],"photo_ids_order":["1399726732","1399726734","1399726736","1399726738","1399726740","1399726742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1555c860403366044dcc2ea8b03749c5.jpg","text":"TemporaryFile(/tmp/multipartBody3366340404187731663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927882631,"filename":"image_17122025_00_25_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d72c81f3846b12ec8b9ce36f315371f3.jpg","text":"TemporaryFile(/tmp/multipartBody791656939838101990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927882631,"filename":"image_17122025_00_24_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53aef54211d0ddd20f089849cef4e34d.jpg","text":"TemporaryFile(/tmp/multipartBody6969917258073148166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927882631,"filename":"image_17122025_00_25_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e661cf00b7dba253f9a10541ff615def.jpg","text":"TemporaryFile(/tmp/multipartBody194229579954829883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927882631,"filename":"image_17122025_00_24_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0e34a52c393469b890900fbb3472f18.jpg","text":"TemporaryFile(/tmp/multipartBody1321272785328963409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927882631,"filename":"image_17122025_00_25_54_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3780647a636a170bc90b0a1dbe8ca53.jpg","text":"TemporaryFile(/tmp/multipartBody6246350300062692261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927882631,"filename":"image_17122025_00_25_14_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726736","file1":"1399726734","file0":"1399726732","file4":"1399726740","file5":"1399726742","file3":"1399726738"},"map_files_photo_id_array":[{"photo_id":"1399726742","filename":"file5"},{"photo_id":"1399726736","filename":"file2"},{"photo_id":"1399726740","filename":"file4"},{"photo_id":"1399726734","filename":"file1"},{"photo_id":"1399726732","filename":"file0"},{"photo_id":"1399726738","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726738":["hashtag1","hashtag2"]},{"1399726732":["hashtag1","hashtag2"]},{"1399726740":["hashtag1","hashtag2"]},{"1399726734":["hashtag1","hashtag2"]},{"1399726742":["hashtag1","hashtag2"]},{"1399726736":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726738, 1399726732, 1399726740, 1399726734, 1399726742, 1399726736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83325147628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:31:03.031414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/25/image_17122025_00_26_05_10603.jpg', '/home/pi/Desktop/images/17122025/00/26/image_17122025_00_26_24_9622.jpg', '/home/pi/Desktop/images/17122025/00/26/image_17122025_00_26_35_10709.jpg', '/home/pi/Desktop/images/17122025/00/26/image_17122025_00_26_45_9740.jpg', '/home/pi/Desktop/images/17122025/00/26/image_17122025_00_26_54_9709.jpg', '/home/pi/Desktop/images/17122025/00/26/image_17122025_00_27_05_10594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/25/image_17122025_00_26_05_10603.jpg
/home/pi/Desktop/images/17122025/00/26/image_17122025_00_26_24_9622.jpg
/home/pi/Desktop/images/17122025/00/26/image_17122025_00_26_35_10709.jpg
/home/pi/Desktop/images/17122025/00/26/image_17122025_00_26_45_9740.jpg
/home/pi/Desktop/images/17122025/00/26/image_17122025_00_26_54_9709.jpg
/home/pi/Desktop/images/17122025/00/26/image_17122025_00_27_05_10594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726744","1399726747","1399726749","1399726743","1399726746","1399726745"],"photo_ids_order":["1399726743","1399726744","1399726745","1399726746","1399726747","1399726749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae90a70fa6eb4ce81b867d70b3008e51.jpg","text":"TemporaryFile(/tmp/multipartBody8590062595724999930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927923676,"filename":"image_17122025_00_26_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f37b54fcb32127d5a344b5eec13e1431.jpg","text":"TemporaryFile(/tmp/multipartBody7337089986338282991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927923676,"filename":"image_17122025_00_26_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95d5ef0144c2c3e970bfc49cd36002ed.jpg","text":"TemporaryFile(/tmp/multipartBody4814851652134853425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927923676,"filename":"image_17122025_00_27_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f7d59ef4f7e7b30a2f1b2ec7df35e29.jpg","text":"TemporaryFile(/tmp/multipartBody5255466519528811912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927923676,"filename":"image_17122025_00_26_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f68cdfd98263e86254ac3cfc0bffcdc.jpg","text":"TemporaryFile(/tmp/multipartBody9185747814015419398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927923676,"filename":"image_17122025_00_26_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/754dc2ce7c191e2446395e3de7be1d03.jpg","text":"TemporaryFile(/tmp/multipartBody4767255497374125181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927923676,"filename":"image_17122025_00_26_35_10709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726745","file1":"1399726744","file0":"1399726743","file4":"1399726747","file5":"1399726749","file3":"1399726746"},"map_files_photo_id_array":[{"photo_id":"1399726749","filename":"file5"},{"photo_id":"1399726745","filename":"file2"},{"photo_id":"1399726747","filename":"file4"},{"photo_id":"1399726744","filename":"file1"},{"photo_id":"1399726743","filename":"file0"},{"photo_id":"1399726746","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726744":["hashtag1","hashtag2"]},{"1399726747":["hashtag1","hashtag2"]},{"1399726749":["hashtag1","hashtag2"]},{"1399726743":["hashtag1","hashtag2"]},{"1399726746":["hashtag1","hashtag2"]},{"1399726745":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726744, 1399726747, 1399726749, 1399726743, 1399726746, 1399726745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.506887674331665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:31:42.496022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_13_1704.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_14_1635.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_16_1593.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_17_1564.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_19_1595.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_21_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_13_1704.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_14_1635.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_16_1593.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_17_1564.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_19_1595.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_21_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":["1399726756","1399726759","1399726755","1399726758","1399726757","1399726754"],"photo_ids_order":["1399726754","1399726755","1399726756","1399726757","1399726758","1399726759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30e134a6d4045f73227c177f9c70523b.jpg","text":"TemporaryFile(/tmp/multipartBody1010619194850912429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927963211,"filename":"image_07112025_15_16_16_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d41ef4516bfa28859e9b04a3b702f02.jpg","text":"TemporaryFile(/tmp/multipartBody6733655521482268076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927963211,"filename":"image_07112025_15_16_21_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cec31aa8cf9c40edaced259d7d2adb72.jpg","text":"TemporaryFile(/tmp/multipartBody7550417794955234062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927963211,"filename":"image_07112025_15_16_14_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15d2dd9ea4f280ce126c82e468be44c0.jpg","text":"TemporaryFile(/tmp/multipartBody6864669336093584478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927963211,"filename":"image_07112025_15_16_19_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd79c29ef9dfcb50053f3154524f578b.jpg","text":"TemporaryFile(/tmp/multipartBody3401016714869405258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927963211,"filename":"image_07112025_15_16_17_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/521ec953ea4595cabe356ca38284d8b6.jpg","text":"TemporaryFile(/tmp/multipartBody5412014017733502135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765927963211,"filename":"image_07112025_15_16_13_1704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726756","file1":"1399726755","file0":"1399726754","file4":"1399726758","file5":"1399726759","file3":"1399726757"},"map_files_photo_id_array":[{"photo_id":"1399726759","filename":"file5"},{"photo_id":"1399726756","filename":"file2"},{"photo_id":"1399726758","filename":"file4"},{"photo_id":"1399726755","filename":"file1"},{"photo_id":"1399726754","filename":"file0"},{"photo_id":"1399726757","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726756":["hashtag1","hashtag2"]},{"1399726759":["hashtag1","hashtag2"]},{"1399726755":["hashtag1","hashtag2"]},{"1399726758":["hashtag1","hashtag2"]},{"1399726757":["hashtag1","hashtag2"]},{"1399726754":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726756, 1399726759, 1399726755, 1399726758, 1399726757, 1399726754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.507142305374146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:32:22.884865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/27/image_17122025_00_27_24_9723.jpg', '/home/pi/Desktop/images/17122025/00/27/image_17122025_00_27_35_10710.jpg', '/home/pi/Desktop/images/17122025/00/27/image_17122025_00_27_45_9720.jpg', '/home/pi/Desktop/images/17122025/00/27/image_17122025_00_27_54_9578.jpg', '/home/pi/Desktop/images/17122025/00/27/image_17122025_00_28_05_10736.jpg', '/home/pi/Desktop/images/17122025/00/28/image_17122025_00_28_24_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/27/image_17122025_00_27_24_9723.jpg
/home/pi/Desktop/images/17122025/00/27/image_17122025_00_27_35_10710.jpg
/home/pi/Desktop/images/17122025/00/27/image_17122025_00_27_45_9720.jpg
/home/pi/Desktop/images/17122025/00/27/image_17122025_00_27_54_9578.jpg
/home/pi/Desktop/images/17122025/00/27/image_17122025_00_28_05_10736.jpg
/home/pi/Desktop/images/17122025/00/28/image_17122025_00_28_24_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726765","1399726773","1399726767","1399726761","1399726763","1399726769"],"photo_ids_order":["1399726761","1399726763","1399726765","1399726767","1399726769","1399726773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2114de258db3fbfb76926a57f27a87f4.jpg","text":"TemporaryFile(/tmp/multipartBody7890381700316430097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928003468,"filename":"image_17122025_00_27_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78efaa0b2b4a437f575a1f881063924f.jpg","text":"TemporaryFile(/tmp/multipartBody4743488073637421095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928003468,"filename":"image_17122025_00_28_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff011382136924794a1c450a9068acae.jpg","text":"TemporaryFile(/tmp/multipartBody4306864596128437647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928003468,"filename":"image_17122025_00_27_54_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6dcdc73af5d693f8a8f142afb3e9299.jpg","text":"TemporaryFile(/tmp/multipartBody3428733127249805026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928003468,"filename":"image_17122025_00_27_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa3b8ac1cb56d476d62a9134bb5ffc0b.jpg","text":"TemporaryFile(/tmp/multipartBody8589970429728348398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928003468,"filename":"image_17122025_00_27_35_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/240c85177ed8c25577534b47b53c308e.jpg","text":"TemporaryFile(/tmp/multipartBody319637972603707198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928003468,"filename":"image_17122025_00_28_05_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726765","file1":"1399726763","file0":"1399726761","file4":"1399726769","file5":"1399726773","file3":"1399726767"},"map_files_photo_id_array":[{"photo_id":"1399726773","filename":"file5"},{"photo_id":"1399726765","filename":"file2"},{"photo_id":"1399726769","filename":"file4"},{"photo_id":"1399726763","filename":"file1"},{"photo_id":"1399726761","filename":"file0"},{"photo_id":"1399726767","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726765":["hashtag1","hashtag2"]},{"1399726773":["hashtag1","hashtag2"]},{"1399726767":["hashtag1","hashtag2"]},{"1399726761":["hashtag1","hashtag2"]},{"1399726763":["hashtag1","hashtag2"]},{"1399726769":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726765, 1399726773, 1399726767, 1399726761, 1399726763, 1399726769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.209686040878296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:33:02.657462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/28/image_17122025_00_28_35_10594.jpg', '/home/pi/Desktop/images/17122025/00/28/image_17122025_00_28_45_9675.jpg', '/home/pi/Desktop/images/17122025/00/28/image_17122025_00_28_55_10567.jpg', '/home/pi/Desktop/images/17122025/00/28/image_17122025_00_29_05_9720.jpg', '/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_15_9913.jpg', '/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_24_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/28/image_17122025_00_28_35_10594.jpg
/home/pi/Desktop/images/17122025/00/28/image_17122025_00_28_45_9675.jpg
/home/pi/Desktop/images/17122025/00/28/image_17122025_00_28_55_10567.jpg
/home/pi/Desktop/images/17122025/00/28/image_17122025_00_29_05_9720.jpg
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_15_9913.jpg
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_24_9603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726780","1399726774","1399726779","1399726782","1399726776","1399726778"],"photo_ids_order":["1399726774","1399726776","1399726778","1399726779","1399726780","1399726782"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d97fea0db9d46c6a662de86a6af5055.jpg","text":"TemporaryFile(/tmp/multipartBody6267190879229912319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928043297,"filename":"image_17122025_00_29_15_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb56e92f742b6c60c487a699d395be95.jpg","text":"TemporaryFile(/tmp/multipartBody6111090277498168743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928043297,"filename":"image_17122025_00_28_35_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8802358f8f6f7a7053e65b5d4746af7.jpg","text":"TemporaryFile(/tmp/multipartBody7941011505661238267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928043297,"filename":"image_17122025_00_29_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb6c7d5572b6936ba5c66696ad66a67a.jpg","text":"TemporaryFile(/tmp/multipartBody1192020783636943463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928043297,"filename":"image_17122025_00_29_24_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/579baaefe324b105fefa4e655bdac4d2.jpg","text":"TemporaryFile(/tmp/multipartBody7344017026374271930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928043297,"filename":"image_17122025_00_28_45_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d57701a85c6d43d52919906ed97490e0.jpg","text":"TemporaryFile(/tmp/multipartBody4976581109322639051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928043297,"filename":"image_17122025_00_28_55_10567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726778","file1":"1399726776","file0":"1399726774","file4":"1399726780","file5":"1399726782","file3":"1399726779"},"map_files_photo_id_array":[{"photo_id":"1399726782","filename":"file5"},{"photo_id":"1399726778","filename":"file2"},{"photo_id":"1399726780","filename":"file4"},{"photo_id":"1399726776","filename":"file1"},{"photo_id":"1399726774","filename":"file0"},{"photo_id":"1399726779","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726780":["hashtag1","hashtag2"]},{"1399726774":["hashtag1","hashtag2"]},{"1399726779":["hashtag1","hashtag2"]},{"1399726782":["hashtag1","hashtag2"]},{"1399726776":["hashtag1","hashtag2"]},{"1399726778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726780, 1399726774, 1399726779, 1399726782, 1399726776, 1399726778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.31042718887329 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:33:41.911616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_25_4479.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_27_1750.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_29_1880.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_31_1663.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_32_1746.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_34_1747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_25_4479.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_27_1750.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_29_1880.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_31_1663.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_32_1746.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_34_1747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726792","1399726789","1399726791","1399726793","1399726790","1399726787"],"photo_ids_order":["1399726787","1399726789","1399726790","1399726791","1399726792","1399726793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/490ad3c2a484c378752e1768a7f77e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7688262070985845716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928082631,"filename":"image_07112025_15_16_32_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db14ce928c633b1b42bc4ad8c98c8149.jpg","text":"TemporaryFile(/tmp/multipartBody5740611442588948688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928082631,"filename":"image_07112025_15_16_27_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f921039c2defa2e9a972399e48e0df9.jpg","text":"TemporaryFile(/tmp/multipartBody8792057087009260323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928082631,"filename":"image_07112025_15_16_31_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6edb8e48c8ae7bf272857ff3c2cc87a6.jpg","text":"TemporaryFile(/tmp/multipartBody8414707660835449295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928082631,"filename":"image_07112025_15_16_34_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab5d21f9a353ad40a690f027c07ff7c0.jpg","text":"TemporaryFile(/tmp/multipartBody4261652621543474669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928082631,"filename":"image_07112025_15_16_29_1880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba43db65deabe1b337bacb763ca7b4bc.jpg","text":"TemporaryFile(/tmp/multipartBody4698068023403477971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928082631,"filename":"image_07112025_15_16_25_4479.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726790","file1":"1399726789","file0":"1399726787","file4":"1399726792","file5":"1399726793","file3":"1399726791"},"map_files_photo_id_array":[{"photo_id":"1399726793","filename":"file5"},{"photo_id":"1399726790","filename":"file2"},{"photo_id":"1399726792","filename":"file4"},{"photo_id":"1399726789","filename":"file1"},{"photo_id":"1399726787","filename":"file0"},{"photo_id":"1399726791","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726792":["hashtag1","hashtag2"]},{"1399726789":["hashtag1","hashtag2"]},{"1399726791":["hashtag1","hashtag2"]},{"1399726793":["hashtag1","hashtag2"]},{"1399726790":["hashtag1","hashtag2"]},{"1399726787":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726792, 1399726789, 1399726791, 1399726793, 1399726790, 1399726787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.650633335113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:34:22.170320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_35_10647.jpg', '/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_45_9630.jpg', '/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_54_9625.jpg', '/home/pi/Desktop/images/17122025/00/29/image_17122025_00_30_05_10743.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_15_9757.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_24_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_35_10647.jpg
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_45_9630.jpg
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_54_9625.jpg
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_30_05_10743.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_15_9757.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_24_9676.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4732096195220947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:34:32.278279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:34:42.123599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_36_1689.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_38_1824.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_39_1703.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_41_1621.jpg', '/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_42_1546.jpg', '/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_14_31303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_36_1689.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_38_1824.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_39_1703.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_41_1621.jpg
/home/pi/Desktop/images/07112025/15/16/image_07112025_15_16_42_1546.jpg
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_14_31303.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726810","1399726804","1399726807","1399726806","1399726809","1399726808"],"photo_ids_order":["1399726804","1399726806","1399726807","1399726808","1399726809","1399726810"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb6fad1109b11422920602ef2fd6a98b.jpg","text":"TemporaryFile(/tmp/multipartBody4286686457710262504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928142842,"filename":"image_07112025_15_17_14_31303.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0a95ffb0fff775b816a5bfa84e2ccc5.jpg","text":"TemporaryFile(/tmp/multipartBody6646066138797764249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928142842,"filename":"image_07112025_15_16_36_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2baf423d6786fdde34c6d455f0d8a5c.jpg","text":"TemporaryFile(/tmp/multipartBody3036698308298534416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928142842,"filename":"image_07112025_15_16_39_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/576c55ac4c64f9e1c699fba804f2a316.jpg","text":"TemporaryFile(/tmp/multipartBody9070778527024723224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928142842,"filename":"image_07112025_15_16_38_1824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/162e08c20f479c51242554a3695f6c42.jpg","text":"TemporaryFile(/tmp/multipartBody7172881284288730239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928142842,"filename":"image_07112025_15_16_42_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f11b9ea142e5c532d01004bc0a8a43f8.jpg","text":"TemporaryFile(/tmp/multipartBody2036427741591509279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928142842,"filename":"image_07112025_15_16_41_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726807","file1":"1399726806","file0":"1399726804","file4":"1399726809","file5":"1399726810","file3":"1399726808"},"map_files_photo_id_array":[{"photo_id":"1399726810","filename":"file5"},{"photo_id":"1399726807","filename":"file2"},{"photo_id":"1399726809","filename":"file4"},{"photo_id":"1399726806","filename":"file1"},{"photo_id":"1399726804","filename":"file0"},{"photo_id":"1399726808","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726810":["hashtag1","hashtag2"]},{"1399726804":["hashtag1","hashtag2"]},{"1399726807":["hashtag1","hashtag2"]},{"1399726806":["hashtag1","hashtag2"]},{"1399726809":["hashtag1","hashtag2"]},{"1399726808":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726810, 1399726804, 1399726807, 1399726806, 1399726809, 1399726808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31795692443848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:35:22.335841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_35_10647.jpg', '/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_45_9630.jpg', '/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_54_9625.jpg', '/home/pi/Desktop/images/17122025/00/29/image_17122025_00_30_05_10743.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_15_9757.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_24_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_35_10647.jpg
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_45_9630.jpg
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_29_54_9625.jpg
/home/pi/Desktop/images/17122025/00/29/image_17122025_00_30_05_10743.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_15_9757.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_24_9676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726816","1399726818","1399726812","1399726826","1399726820","1399726814"],"photo_ids_order":["1399726812","1399726814","1399726816","1399726818","1399726820","1399726826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d2e0f14f8b7e77fa7e57482a8f6df07.jpg","text":"TemporaryFile(/tmp/multipartBody429103142036657734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928182918,"filename":"image_17122025_00_29_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2721c9e3f8f8c49bc397c674853f907.jpg","text":"TemporaryFile(/tmp/multipartBody5114095216648731024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928182918,"filename":"image_17122025_00_30_05_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4479ce482a27020aba6f4bf55e182d9e.jpg","text":"TemporaryFile(/tmp/multipartBody5760426377668008785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928182918,"filename":"image_17122025_00_29_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6cd5cc65388267e843c66d1c8bf1fb3.jpg","text":"TemporaryFile(/tmp/multipartBody437350667206412373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928182918,"filename":"image_17122025_00_30_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cd24f483a30c8a758b689e2428fd029.jpg","text":"TemporaryFile(/tmp/multipartBody2786904948995159114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928182918,"filename":"image_17122025_00_30_15_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bfabf4083ca7ff29a688dfd858f0b1a8.jpg","text":"TemporaryFile(/tmp/multipartBody6944789527139327974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928182918,"filename":"image_17122025_00_29_45_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726816","file1":"1399726814","file0":"1399726812","file4":"1399726820","file5":"1399726826","file3":"1399726818"},"map_files_photo_id_array":[{"photo_id":"1399726826","filename":"file5"},{"photo_id":"1399726816","filename":"file2"},{"photo_id":"1399726820","filename":"file4"},{"photo_id":"1399726814","filename":"file1"},{"photo_id":"1399726812","filename":"file0"},{"photo_id":"1399726818","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726816":["hashtag1","hashtag2"]},{"1399726818":["hashtag1","hashtag2"]},{"1399726812":["hashtag1","hashtag2"]},{"1399726826":["hashtag1","hashtag2"]},{"1399726820":["hashtag1","hashtag2"]},{"1399726814":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726816, 1399726818, 1399726812, 1399726826, 1399726820, 1399726814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49727535247803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:36:03.083326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_34_9699.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_45_10694.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_55_9782.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_31_04_9690.jpg', '/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_25_9738.jpg', '/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_34_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_34_9699.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_45_10694.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_55_9782.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_31_04_9690.jpg
/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_25_9738.jpg
/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_34_9779.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5084018707275391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:36:12.557901
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:36:22.585969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_34_9699.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_45_10694.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_55_9782.jpg', '/home/pi/Desktop/images/17122025/00/30/image_17122025_00_31_04_9690.jpg', '/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_25_9738.jpg', '/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_34_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_34_9699.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_45_10694.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_30_55_9782.jpg
/home/pi/Desktop/images/17122025/00/30/image_17122025_00_31_04_9690.jpg
/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_25_9738.jpg
/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_34_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":["1399726843","1399726837","1399726833","1399726839","1399726841","1399726835"],"photo_ids_order":["1399726833","1399726835","1399726837","1399726839","1399726841","1399726843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ff9927805f4626277ddc818d2fa4e38.jpg","text":"TemporaryFile(/tmp/multipartBody1975499647933423878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928243167,"filename":"image_17122025_00_31_34_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64fb01f8834f79b3b109c3601b7df0f6.jpg","text":"TemporaryFile(/tmp/multipartBody6411928077533725437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928243167,"filename":"image_17122025_00_30_55_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/125183c4edb3d5dd2018ce9d4b138273.jpg","text":"TemporaryFile(/tmp/multipartBody3816729542980449509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928243167,"filename":"image_17122025_00_30_34_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e46f8f68e4e43325294a6aaf69f4353e.jpg","text":"TemporaryFile(/tmp/multipartBody2939497676355293269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928243167,"filename":"image_17122025_00_31_04_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00436f63125e125bae4e471cac99b54e.jpg","text":"TemporaryFile(/tmp/multipartBody6886548054823817301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928243167,"filename":"image_17122025_00_31_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a0f70bd129f1c6a8b309dbe5d1695e0.jpg","text":"TemporaryFile(/tmp/multipartBody5268771956484436514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928243167,"filename":"image_17122025_00_30_45_10694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726837","file1":"1399726835","file0":"1399726833","file4":"1399726841","file5":"1399726843","file3":"1399726839"},"map_files_photo_id_array":[{"photo_id":"1399726843","filename":"file5"},{"photo_id":"1399726837","filename":"file2"},{"photo_id":"1399726841","filename":"file4"},{"photo_id":"1399726835","filename":"file1"},{"photo_id":"1399726833","filename":"file0"},{"photo_id":"1399726839","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726843":["hashtag1","hashtag2"]},{"1399726837":["hashtag1","hashtag2"]},{"1399726833":["hashtag1","hashtag2"]},{"1399726839":["hashtag1","hashtag2"]},{"1399726841":["hashtag1","hashtag2"]},{"1399726835":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726843, 1399726837, 1399726833, 1399726839, 1399726841, 1399726835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31818246841431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:37:02.553720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_44_9643.jpg', '/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_55_10648.jpg', '/home/pi/Desktop/images/17122025/00/31/image_17122025_00_32_04_9611.jpg', '/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_15_10569.jpg', '/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_25_9557.jpg', '/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_34_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_44_9643.jpg
/home/pi/Desktop/images/17122025/00/31/image_17122025_00_31_55_10648.jpg
/home/pi/Desktop/images/17122025/00/31/image_17122025_00_32_04_9611.jpg
/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_15_10569.jpg
/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_25_9557.jpg
/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_34_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":["1399726846","1399726848","1399726845","1399726850","1399726844","1399726847"],"photo_ids_order":["1399726844","1399726845","1399726846","1399726847","1399726848","1399726850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d074f3a2f38bccd74406d4ad04498580.jpg","text":"TemporaryFile(/tmp/multipartBody1720728095883585291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928283233,"filename":"image_17122025_00_32_04_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eee994991d93850ffa62fe941adc31c1.jpg","text":"TemporaryFile(/tmp/multipartBody2281945260059465282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928283233,"filename":"image_17122025_00_32_25_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0879bbc661a13ac26ee8eb45f60c0460.jpg","text":"TemporaryFile(/tmp/multipartBody3695500138448490693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928283233,"filename":"image_17122025_00_31_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ee446658c6b32f8a24fe248195926c3.jpg","text":"TemporaryFile(/tmp/multipartBody9208125392225973065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928283233,"filename":"image_17122025_00_32_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2bec4544002f5caa0dd16575e7ccfd3.jpg","text":"TemporaryFile(/tmp/multipartBody7552379915205994032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928283233,"filename":"image_17122025_00_31_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e786746bd366bc5c4b06aec6eded068.jpg","text":"TemporaryFile(/tmp/multipartBody8718519330109614523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928283233,"filename":"image_17122025_00_32_15_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726846","file1":"1399726845","file0":"1399726844","file4":"1399726848","file5":"1399726850","file3":"1399726847"},"map_files_photo_id_array":[{"photo_id":"1399726850","filename":"file5"},{"photo_id":"1399726846","filename":"file2"},{"photo_id":"1399726848","filename":"file4"},{"photo_id":"1399726845","filename":"file1"},{"photo_id":"1399726844","filename":"file0"},{"photo_id":"1399726847","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726846":["hashtag1","hashtag2"]},{"1399726848":["hashtag1","hashtag2"]},{"1399726845":["hashtag1","hashtag2"]},{"1399726850":["hashtag1","hashtag2"]},{"1399726844":["hashtag1","hashtag2"]},{"1399726847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726846, 1399726848, 1399726845, 1399726850, 1399726844, 1399726847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40181040763855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:37:41.902875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_15_1564.jpg', '/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_17_1759.jpg', '/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_19_1605.jpg', '/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_48_29375.jpg', '/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_50_1884.jpg', '/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_52_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_15_1564.jpg
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_17_1759.jpg
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_19_1605.jpg
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_48_29375.jpg
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_50_1884.jpg
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_52_1749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726855","1399726858","1399726860","1399726857","1399726856","1399726859"],"photo_ids_order":["1399726855","1399726856","1399726857","1399726858","1399726859","1399726860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a5f4c02f0f0bf01db32b780248eb60e.jpg","text":"TemporaryFile(/tmp/multipartBody6713883886012307228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928322620,"filename":"image_07112025_15_17_15_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc0556775f4a26ce7ebe532deb1e8308.jpg","text":"TemporaryFile(/tmp/multipartBody8439367199284096508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928322620,"filename":"image_07112025_15_17_48_29375.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebce08516e0b9674be148292f0782859.jpg","text":"TemporaryFile(/tmp/multipartBody8398076992323389284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928322620,"filename":"image_07112025_15_17_52_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f4959f23a14491599041d31b48b107f.jpg","text":"TemporaryFile(/tmp/multipartBody8104626282643610066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928322620,"filename":"image_07112025_15_17_19_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c80839a1ff7b2e0e72284bf389c13c64.jpg","text":"TemporaryFile(/tmp/multipartBody9222930567609466570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928322620,"filename":"image_07112025_15_17_17_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/358f5756c8f297c4f7889c74b76a829d.jpg","text":"TemporaryFile(/tmp/multipartBody7411428967031666316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928322620,"filename":"image_07112025_15_17_50_1884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726857","file1":"1399726856","file0":"1399726855","file4":"1399726859","file5":"1399726860","file3":"1399726858"},"map_files_photo_id_array":[{"photo_id":"1399726860","filename":"file5"},{"photo_id":"1399726857","filename":"file2"},{"photo_id":"1399726859","filename":"file4"},{"photo_id":"1399726856","filename":"file1"},{"photo_id":"1399726855","filename":"file0"},{"photo_id":"1399726858","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726855":["hashtag1","hashtag2"]},{"1399726858":["hashtag1","hashtag2"]},{"1399726860":["hashtag1","hashtag2"]},{"1399726857":["hashtag1","hashtag2"]},{"1399726856":["hashtag1","hashtag2"]},{"1399726859":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726855, 1399726858, 1399726860, 1399726857, 1399726856, 1399726859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.18188548088074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:38:22.143114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_45_10781.jpg', '/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_55_9655.jpg', '/home/pi/Desktop/images/17122025/00/32/image_17122025_00_33_04_9788.jpg', '/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_14_9765.jpg', '/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_25_10811.jpg', '/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_35_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_45_10781.jpg
/home/pi/Desktop/images/17122025/00/32/image_17122025_00_32_55_9655.jpg
/home/pi/Desktop/images/17122025/00/32/image_17122025_00_33_04_9788.jpg
/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_14_9765.jpg
/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_25_10811.jpg
/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_35_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726867","1399726861","1399726864","1399726869","1399726877","1399726862"],"photo_ids_order":["1399726861","1399726862","1399726864","1399726867","1399726869","1399726877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6f53a40f047f3b324b4fc27c873fb64.jpg","text":"TemporaryFile(/tmp/multipartBody5681179198210725374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928362741,"filename":"image_17122025_00_33_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a02970f223fdded5e1c8384238c0dc96.jpg","text":"TemporaryFile(/tmp/multipartBody8333453946287591193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928362741,"filename":"image_17122025_00_32_45_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/678ba1667d025f55ce67827748856149.jpg","text":"TemporaryFile(/tmp/multipartBody4239029319170445561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928362741,"filename":"image_17122025_00_33_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a66b6cd95bfad6dbf2f1ef54409ac42e.jpg","text":"TemporaryFile(/tmp/multipartBody5913162254026513150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928362741,"filename":"image_17122025_00_33_25_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/279a2d83ecc8df13d24d49146170e3b0.jpg","text":"TemporaryFile(/tmp/multipartBody945598009609969090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928362741,"filename":"image_17122025_00_33_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1f06d95380b1eb0d49208ca8ad264d7.jpg","text":"TemporaryFile(/tmp/multipartBody5384526194264550404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928362741,"filename":"image_17122025_00_32_55_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726864","file1":"1399726862","file0":"1399726861","file4":"1399726869","file5":"1399726877","file3":"1399726867"},"map_files_photo_id_array":[{"photo_id":"1399726877","filename":"file5"},{"photo_id":"1399726864","filename":"file2"},{"photo_id":"1399726869","filename":"file4"},{"photo_id":"1399726862","filename":"file1"},{"photo_id":"1399726861","filename":"file0"},{"photo_id":"1399726867","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726867":["hashtag1","hashtag2"]},{"1399726861":["hashtag1","hashtag2"]},{"1399726864":["hashtag1","hashtag2"]},{"1399726869":["hashtag1","hashtag2"]},{"1399726877":["hashtag1","hashtag2"]},{"1399726862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726867, 1399726861, 1399726864, 1399726869, 1399726877, 1399726862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9835479259491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:39:03.281813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_44_9654.jpg', '/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_54_9712.jpg', '/home/pi/Desktop/images/17122025/00/33/image_17122025_00_34_05_10751.jpg', '/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_15_9734.jpg', '/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_24_9725.jpg', '/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_34_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_44_9654.jpg
/home/pi/Desktop/images/17122025/00/33/image_17122025_00_33_54_9712.jpg
/home/pi/Desktop/images/17122025/00/33/image_17122025_00_34_05_10751.jpg
/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_15_9734.jpg
/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_24_9725.jpg
/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_34_9809.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":["1399726891","1399726885","1399726888","1399726893","1399726887","1399726889"],"photo_ids_order":["1399726885","1399726887","1399726888","1399726889","1399726891","1399726893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64f168d370fd1e2c27d1bdb0a073cc42.jpg","text":"TemporaryFile(/tmp/multipartBody8278577591431668929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928404151,"filename":"image_17122025_00_34_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7edaccf79ccfd567cc1966d4dd3df98c.jpg","text":"TemporaryFile(/tmp/multipartBody1155054569788772552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928404151,"filename":"image_17122025_00_33_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b37c5f42c7e02368a4706c20e7d8be2.jpg","text":"TemporaryFile(/tmp/multipartBody3423478967662692450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928404151,"filename":"image_17122025_00_34_05_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e908938bd26e9121670714fe086da38f.jpg","text":"TemporaryFile(/tmp/multipartBody5221798770089283833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928404151,"filename":"image_17122025_00_34_34_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6ca2324d3ba44fefcb075b7bd8dae1a.jpg","text":"TemporaryFile(/tmp/multipartBody6168280907478139334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928404151,"filename":"image_17122025_00_33_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b425fa4fe56929a26fb9b19bf7ae061.jpg","text":"TemporaryFile(/tmp/multipartBody431110745352565190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928404151,"filename":"image_17122025_00_34_15_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726888","file1":"1399726887","file0":"1399726885","file4":"1399726891","file5":"1399726893","file3":"1399726889"},"map_files_photo_id_array":[{"photo_id":"1399726893","filename":"file5"},{"photo_id":"1399726888","filename":"file2"},{"photo_id":"1399726891","filename":"file4"},{"photo_id":"1399726887","filename":"file1"},{"photo_id":"1399726885","filename":"file0"},{"photo_id":"1399726889","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726891":["hashtag1","hashtag2"]},{"1399726885":["hashtag1","hashtag2"]},{"1399726888":["hashtag1","hashtag2"]},{"1399726893":["hashtag1","hashtag2"]},{"1399726887":["hashtag1","hashtag2"]},{"1399726889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726891, 1399726885, 1399726888, 1399726893, 1399726887, 1399726889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 51.12921380996704 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:40:03.316802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_45_10899.jpg', '/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_55_9806.jpg', '/home/pi/Desktop/images/17122025/00/34/image_17122025_00_35_05_9741.jpg', '/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_14_9712.jpg', '/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_25_10740.jpg', '/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_35_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_45_10899.jpg
/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_55_9806.jpg
/home/pi/Desktop/images/17122025/00/34/image_17122025_00_35_05_9741.jpg
/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_14_9712.jpg
/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_25_10740.jpg
/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_35_9756.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5578336715698242 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:40:12.790223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:40:22.797995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_45_10899.jpg', '/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_55_9806.jpg', '/home/pi/Desktop/images/17122025/00/34/image_17122025_00_35_05_9741.jpg', '/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_14_9712.jpg', '/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_25_10740.jpg', '/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_35_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_45_10899.jpg
/home/pi/Desktop/images/17122025/00/34/image_17122025_00_34_55_9806.jpg
/home/pi/Desktop/images/17122025/00/34/image_17122025_00_35_05_9741.jpg
/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_14_9712.jpg
/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_25_10740.jpg
/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_35_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726903","1399726909","1399726911","1399726905","1399726913","1399726907"],"photo_ids_order":["1399726903","1399726905","1399726907","1399726909","1399726911","1399726913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3dd8323a856ea03733ba8f89e498ed69.jpg","text":"TemporaryFile(/tmp/multipartBody6146398844006514448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928483379,"filename":"image_17122025_00_34_45_10899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de82f2c6392314af516386b0cd1f6865.jpg","text":"TemporaryFile(/tmp/multipartBody6845826764694302549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928483379,"filename":"image_17122025_00_35_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db8fe121fcd21f35c0632e266abe7a74.jpg","text":"TemporaryFile(/tmp/multipartBody7796033628879701338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928483379,"filename":"image_17122025_00_35_25_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26c13feda5559ee54760ade1483443e3.jpg","text":"TemporaryFile(/tmp/multipartBody7706562908036266921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928483379,"filename":"image_17122025_00_34_55_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b27fd2ce3b45268f034104064dcc9b1.jpg","text":"TemporaryFile(/tmp/multipartBody704304932834570859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928483379,"filename":"image_17122025_00_35_35_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6024afd039ea2a582973141469442986.jpg","text":"TemporaryFile(/tmp/multipartBody4795428449407862391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928483379,"filename":"image_17122025_00_35_05_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726907","file1":"1399726905","file0":"1399726903","file4":"1399726911","file5":"1399726913","file3":"1399726909"},"map_files_photo_id_array":[{"photo_id":"1399726913","filename":"file5"},{"photo_id":"1399726907","filename":"file2"},{"photo_id":"1399726911","filename":"file4"},{"photo_id":"1399726905","filename":"file1"},{"photo_id":"1399726903","filename":"file0"},{"photo_id":"1399726909","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726903":["hashtag1","hashtag2"]},{"1399726909":["hashtag1","hashtag2"]},{"1399726911":["hashtag1","hashtag2"]},{"1399726905":["hashtag1","hashtag2"]},{"1399726913":["hashtag1","hashtag2"]},{"1399726907":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726903, 1399726909, 1399726911, 1399726905, 1399726913, 1399726907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2191743850708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:41:02.739283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_44_9569.jpg', '/home/pi/Desktop/images/17122025/00/35/image_17122025_00_36_05_9620.jpg', '/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_14_9644.jpg', '/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_25_10619.jpg', '/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_35_9767.jpg', '/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/35/image_17122025_00_35_44_9569.jpg
/home/pi/Desktop/images/17122025/00/35/image_17122025_00_36_05_9620.jpg
/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_14_9644.jpg
/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_25_10619.jpg
/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_35_9767.jpg
/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_44_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726916","1399726921","1399726918","1399726915","1399726917","1399726919"],"photo_ids_order":["1399726915","1399726916","1399726917","1399726918","1399726919","1399726921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea8ef9713b9496a870c39cad9092387f.jpg","text":"TemporaryFile(/tmp/multipartBody3182961162402759516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928523375,"filename":"image_17122025_00_36_05_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7a7f151dcaece31755ce874bb5ec577.jpg","text":"TemporaryFile(/tmp/multipartBody3763229471823009383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928523375,"filename":"image_17122025_00_36_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/212ec7e2908f1f3129f8d7fe03252aff.jpg","text":"TemporaryFile(/tmp/multipartBody8467933008653853000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928523375,"filename":"image_17122025_00_36_25_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2252d652b872bb4719b88b3bec6f8a8.jpg","text":"TemporaryFile(/tmp/multipartBody7405846698925494696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928523375,"filename":"image_17122025_00_35_44_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70461a93e98b91468cebcb8fabe200f1.jpg","text":"TemporaryFile(/tmp/multipartBody5604308405944604285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928523375,"filename":"image_17122025_00_36_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0fb8cac17808f89769719bb365b3474.jpg","text":"TemporaryFile(/tmp/multipartBody8871904078362093557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928523375,"filename":"image_17122025_00_36_35_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726917","file1":"1399726916","file0":"1399726915","file4":"1399726919","file5":"1399726921","file3":"1399726918"},"map_files_photo_id_array":[{"photo_id":"1399726921","filename":"file5"},{"photo_id":"1399726917","filename":"file2"},{"photo_id":"1399726919","filename":"file4"},{"photo_id":"1399726916","filename":"file1"},{"photo_id":"1399726915","filename":"file0"},{"photo_id":"1399726918","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726916":["hashtag1","hashtag2"]},{"1399726921":["hashtag1","hashtag2"]},{"1399726918":["hashtag1","hashtag2"]},{"1399726915":["hashtag1","hashtag2"]},{"1399726917":["hashtag1","hashtag2"]},{"1399726919":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726916, 1399726921, 1399726918, 1399726915, 1399726917, 1399726919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3127977848053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:41:41.981995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_53_1642.jpg', '/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_55_1536.jpg', '/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_56_1656.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_06_3011.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_10_3864.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_18_7548.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_53_1642.jpg
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_55_1536.jpg
/home/pi/Desktop/images/07112025/15/17/image_07112025_15_17_56_1656.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_06_3011.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_10_3864.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_18_7548.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726930","1399726933","1399726932","1399726926","1399726931","1399726934"],"photo_ids_order":["1399726926","1399726930","1399726931","1399726932","1399726933","1399726934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba2fb4d5cba0cd5cfbe6e12591e3cbf7.jpg","text":"TemporaryFile(/tmp/multipartBody4417255599483611751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928562717,"filename":"image_07112025_15_17_55_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abe676c22f5c37222d78bafe132c0ab6.jpg","text":"TemporaryFile(/tmp/multipartBody314406530194817214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928562717,"filename":"image_07112025_15_19_10_3864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/023ee604e9645fc4e1aa55990da809b9.jpg","text":"TemporaryFile(/tmp/multipartBody1709663144985339079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928562717,"filename":"image_07112025_15_19_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d5135af9d4d1077ae65b21046508afc.jpg","text":"TemporaryFile(/tmp/multipartBody3645622617876884158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928562717,"filename":"image_07112025_15_17_53_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8aa4f9e3d20e1541950c5d0ed45e1a63.jpg","text":"TemporaryFile(/tmp/multipartBody6306211009214939569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928562717,"filename":"image_07112025_15_17_56_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/351418082b1f2b555133d180856f642d.jpg","text":"TemporaryFile(/tmp/multipartBody907834400544368060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928562717,"filename":"image_07112025_15_19_18_7548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726931","file1":"1399726930","file0":"1399726926","file4":"1399726933","file5":"1399726934","file3":"1399726932"},"map_files_photo_id_array":[{"photo_id":"1399726934","filename":"file5"},{"photo_id":"1399726931","filename":"file2"},{"photo_id":"1399726933","filename":"file4"},{"photo_id":"1399726930","filename":"file1"},{"photo_id":"1399726926","filename":"file0"},{"photo_id":"1399726932","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726930":["hashtag1","hashtag2"]},{"1399726933":["hashtag1","hashtag2"]},{"1399726932":["hashtag1","hashtag2"]},{"1399726926":["hashtag1","hashtag2"]},{"1399726931":["hashtag1","hashtag2"]},{"1399726934":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726930, 1399726933, 1399726932, 1399726926, 1399726931, 1399726934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.02308464050293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:42:22.400230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_55_10621.jpg', '/home/pi/Desktop/images/17122025/00/36/image_17122025_00_37_04_9627.jpg', '/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_14_9709.jpg', '/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_34_9548.jpg', '/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_44_9712.jpg', '/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_55_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_55_10621.jpg
/home/pi/Desktop/images/17122025/00/36/image_17122025_00_37_04_9627.jpg
/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_14_9709.jpg
/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_34_9548.jpg
/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_44_9712.jpg
/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_55_10664.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5098209381103516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:42:32.371566
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:42:42.291701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_19_1620.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_21_1500.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_23_1598.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_25_2794.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_28_2765.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_31_2777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_19_1620.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_21_1500.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_23_1598.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_25_2794.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_28_2765.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_31_2777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726948","1399726951","1399726945","1399726950","1399726947","1399726949"],"photo_ids_order":["1399726945","1399726947","1399726948","1399726949","1399726950","1399726951"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ea0aca147964a4d087e7137a4431063.jpg","text":"TemporaryFile(/tmp/multipartBody2748168042426545727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928623021,"filename":"image_07112025_15_19_23_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/919e6608830fa08d7ac7ec9d769ddb01.jpg","text":"TemporaryFile(/tmp/multipartBody4411851086015364974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928623021,"filename":"image_07112025_15_19_31_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa6924334021f893b43381626d0d28cb.jpg","text":"TemporaryFile(/tmp/multipartBody1229255114900619569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928623021,"filename":"image_07112025_15_19_19_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa509515ae9e04d5b03b2446cbbfc4ec.jpg","text":"TemporaryFile(/tmp/multipartBody4461161901452860556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928623021,"filename":"image_07112025_15_19_28_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d97001db98275f7480a3d4a918839011.jpg","text":"TemporaryFile(/tmp/multipartBody4388222427815565899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928623021,"filename":"image_07112025_15_19_21_1500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7622c6487185363b520870e8fd8eb552.jpg","text":"TemporaryFile(/tmp/multipartBody5489481428403984159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928623021,"filename":"image_07112025_15_19_25_2794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726948","file1":"1399726947","file0":"1399726945","file4":"1399726950","file5":"1399726951","file3":"1399726949"},"map_files_photo_id_array":[{"photo_id":"1399726951","filename":"file5"},{"photo_id":"1399726948","filename":"file2"},{"photo_id":"1399726950","filename":"file4"},{"photo_id":"1399726947","filename":"file1"},{"photo_id":"1399726945","filename":"file0"},{"photo_id":"1399726949","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726948":["hashtag1","hashtag2"]},{"1399726951":["hashtag1","hashtag2"]},{"1399726945":["hashtag1","hashtag2"]},{"1399726950":["hashtag1","hashtag2"]},{"1399726947":["hashtag1","hashtag2"]},{"1399726949":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726948, 1399726951, 1399726945, 1399726950, 1399726947, 1399726949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47136187553406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:43:22.551788
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_55_10621.jpg', '/home/pi/Desktop/images/17122025/00/36/image_17122025_00_37_04_9627.jpg', '/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_14_9709.jpg', '/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_34_9548.jpg', '/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_44_9712.jpg', '/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_55_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/36/image_17122025_00_36_55_10621.jpg
/home/pi/Desktop/images/17122025/00/36/image_17122025_00_37_04_9627.jpg
/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_14_9709.jpg
/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_34_9548.jpg
/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_44_9712.jpg
/home/pi/Desktop/images/17122025/00/37/image_17122025_00_37_55_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":["1399726963","1399726957","1399726959","1399726953","1399726961","1399726955"],"photo_ids_order":["1399726953","1399726955","1399726957","1399726959","1399726961","1399726963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07b4b28a0099e613adf5fcf8eca8137b.jpg","text":"TemporaryFile(/tmp/multipartBody674824827591397154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928663137,"filename":"image_17122025_00_37_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d92dbfe7fa96bde8a32e68242c1358ad.jpg","text":"TemporaryFile(/tmp/multipartBody234291825999442336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928663137,"filename":"image_17122025_00_37_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19af0ddee442b573bb41ed7dccd4ea79.jpg","text":"TemporaryFile(/tmp/multipartBody2504641305884072240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928663137,"filename":"image_17122025_00_37_34_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a9371a6f1503283968daa0b896cb607.jpg","text":"TemporaryFile(/tmp/multipartBody5327928871869625057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928663137,"filename":"image_17122025_00_36_55_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2f88c919eac27b4f1e8dd749c80401b.jpg","text":"TemporaryFile(/tmp/multipartBody6180637830728390400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928663137,"filename":"image_17122025_00_37_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/297ecc584f6033e75dc3b68b8ca79507.jpg","text":"TemporaryFile(/tmp/multipartBody2149116714964560615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928663137,"filename":"image_17122025_00_37_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726957","file1":"1399726955","file0":"1399726953","file4":"1399726961","file5":"1399726963","file3":"1399726959"},"map_files_photo_id_array":[{"photo_id":"1399726963","filename":"file5"},{"photo_id":"1399726957","filename":"file2"},{"photo_id":"1399726961","filename":"file4"},{"photo_id":"1399726955","filename":"file1"},{"photo_id":"1399726953","filename":"file0"},{"photo_id":"1399726959","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726963":["hashtag1","hashtag2"]},{"1399726957":["hashtag1","hashtag2"]},{"1399726959":["hashtag1","hashtag2"]},{"1399726953":["hashtag1","hashtag2"]},{"1399726961":["hashtag1","hashtag2"]},{"1399726955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726963, 1399726957, 1399726959, 1399726953, 1399726961, 1399726955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50870418548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:44:03.577390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/37/image_17122025_00_38_04_9640.jpg', '/home/pi/Desktop/images/17122025/00/38/image_17122025_00_38_25_9618.jpg', '/home/pi/Desktop/images/17122025/00/38/image_17122025_00_38_34_9746.jpg', '/home/pi/Desktop/images/17122025/00/38/image_17122025_00_38_45_10657.jpg', '/home/pi/Desktop/images/17122025/00/38/image_17122025_00_39_04_9559.jpg', '/home/pi/Desktop/images/17122025/00/39/image_17122025_00_39_24_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/37/image_17122025_00_38_04_9640.jpg
/home/pi/Desktop/images/17122025/00/38/image_17122025_00_38_25_9618.jpg
/home/pi/Desktop/images/17122025/00/38/image_17122025_00_38_34_9746.jpg
/home/pi/Desktop/images/17122025/00/38/image_17122025_00_38_45_10657.jpg
/home/pi/Desktop/images/17122025/00/38/image_17122025_00_39_04_9559.jpg
/home/pi/Desktop/images/17122025/00/39/image_17122025_00_39_24_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":["1399726972","1399726966","1399726969","1399726965","1399726968","1399726970"],"photo_ids_order":["1399726965","1399726966","1399726968","1399726969","1399726970","1399726972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c688166b6683d38fc4c781b0707572f0.jpg","text":"TemporaryFile(/tmp/multipartBody1327618702054791002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928704212,"filename":"image_17122025_00_39_24_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69edd80fcb25c9608c4aeca3c39c64b9.jpg","text":"TemporaryFile(/tmp/multipartBody5486947607085841213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928704212,"filename":"image_17122025_00_38_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2c2e69bcaafcc7dae7b1ca48b6afaef.jpg","text":"TemporaryFile(/tmp/multipartBody3786054024928156323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928704212,"filename":"image_17122025_00_38_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3995b59e3c0e88bda05d9252afc661cd.jpg","text":"TemporaryFile(/tmp/multipartBody971102712718537048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928704212,"filename":"image_17122025_00_38_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d04242db3b414dc5522c4d577971c879.jpg","text":"TemporaryFile(/tmp/multipartBody3872507983248365380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928704212,"filename":"image_17122025_00_38_34_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1f788060d16317dd78d61d6a7d1034f.jpg","text":"TemporaryFile(/tmp/multipartBody9112430557106492404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928704212,"filename":"image_17122025_00_39_04_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726968","file1":"1399726966","file0":"1399726965","file4":"1399726970","file5":"1399726972","file3":"1399726969"},"map_files_photo_id_array":[{"photo_id":"1399726972","filename":"file5"},{"photo_id":"1399726968","filename":"file2"},{"photo_id":"1399726970","filename":"file4"},{"photo_id":"1399726966","filename":"file1"},{"photo_id":"1399726965","filename":"file0"},{"photo_id":"1399726969","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726972":["hashtag1","hashtag2"]},{"1399726966":["hashtag1","hashtag2"]},{"1399726969":["hashtag1","hashtag2"]},{"1399726965":["hashtag1","hashtag2"]},{"1399726968":["hashtag1","hashtag2"]},{"1399726970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726972, 1399726966, 1399726969, 1399726965, 1399726968, 1399726970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.53855562210083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:44:42.823471
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_34_2595.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_37_3507.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_40_2709.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_43_3630.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_46_2725.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_49_2793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_34_2595.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_37_3507.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_40_2709.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_43_3630.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_46_2725.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_49_2793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726981","1399726978","1399726983","1399726980","1399726982","1399726979"],"photo_ids_order":["1399726978","1399726979","1399726980","1399726981","1399726982","1399726983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90b2ab33f82da31b05a70a309a1440bf.jpg","text":"TemporaryFile(/tmp/multipartBody9183709284546729027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928743545,"filename":"image_07112025_15_19_43_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91f7662ca1361a4c7ecb7d833ba0be68.jpg","text":"TemporaryFile(/tmp/multipartBody5964037495486839614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928743545,"filename":"image_07112025_15_19_34_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a76503e934dc53c34d90601814d2411.jpg","text":"TemporaryFile(/tmp/multipartBody4176324246912921754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928743545,"filename":"image_07112025_15_19_49_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3db860382ebdea56008bc7ba7a50047.jpg","text":"TemporaryFile(/tmp/multipartBody2243477309065942269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928743545,"filename":"image_07112025_15_19_40_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f6185c730bc0fb57c4536d0cca50dae.jpg","text":"TemporaryFile(/tmp/multipartBody4193417736016242806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928743545,"filename":"image_07112025_15_19_46_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e74d77964ba4c9782da71283386b810.jpg","text":"TemporaryFile(/tmp/multipartBody3542838298978252945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928743545,"filename":"image_07112025_15_19_37_3507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726980","file1":"1399726979","file0":"1399726978","file4":"1399726982","file5":"1399726983","file3":"1399726981"},"map_files_photo_id_array":[{"photo_id":"1399726983","filename":"file5"},{"photo_id":"1399726980","filename":"file2"},{"photo_id":"1399726982","filename":"file4"},{"photo_id":"1399726979","filename":"file1"},{"photo_id":"1399726978","filename":"file0"},{"photo_id":"1399726981","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399726981":["hashtag1","hashtag2"]},{"1399726978":["hashtag1","hashtag2"]},{"1399726983":["hashtag1","hashtag2"]},{"1399726980":["hashtag1","hashtag2"]},{"1399726982":["hashtag1","hashtag2"]},{"1399726979":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399726981, 1399726978, 1399726983, 1399726980, 1399726982, 1399726979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.900071144104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:45:22.078824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/39/image_17122025_00_39_35_10611.jpg', '/home/pi/Desktop/images/17122025/00/39/image_17122025_00_39_45_9739.jpg', '/home/pi/Desktop/images/17122025/00/39/image_17122025_00_39_54_9656.jpg', '/home/pi/Desktop/images/17122025/00/39/image_17122025_00_40_04_9739.jpg', '/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_15_10749.jpg', '/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_25_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/39/image_17122025_00_39_35_10611.jpg
/home/pi/Desktop/images/17122025/00/39/image_17122025_00_39_45_9739.jpg
/home/pi/Desktop/images/17122025/00/39/image_17122025_00_39_54_9656.jpg
/home/pi/Desktop/images/17122025/00/39/image_17122025_00_40_04_9739.jpg
/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_15_10749.jpg
/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_25_9605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399726993","1399726995","1399726989","1399726986","1399726991","1399726997"],"photo_ids_order":["1399726986","1399726989","1399726991","1399726993","1399726995","1399726997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a86abf309059d0d0f9d711a1ac933404.jpg","text":"TemporaryFile(/tmp/multipartBody3906790623466840810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928782703,"filename":"image_17122025_00_40_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35d892f9834902a1e51a5fd10ccc2cd9.jpg","text":"TemporaryFile(/tmp/multipartBody8757810261362744626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928782703,"filename":"image_17122025_00_40_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/947f73a072212f6f8aa4d7fd8b579942.jpg","text":"TemporaryFile(/tmp/multipartBody6427266336467665836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928782703,"filename":"image_17122025_00_39_45_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d10fe3c8828ceb79218c8e0fdd2f1ca.jpg","text":"TemporaryFile(/tmp/multipartBody3965938256328765572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928782703,"filename":"image_17122025_00_39_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9195812da13710842ab274d3b234cef2.jpg","text":"TemporaryFile(/tmp/multipartBody4445121151193698308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928782703,"filename":"image_17122025_00_39_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a188c8a7616b86610e62224e6912369.jpg","text":"TemporaryFile(/tmp/multipartBody4168429147134353380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928782703,"filename":"image_17122025_00_40_25_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399726991","file1":"1399726989","file0":"1399726986","file4":"1399726995","file5":"1399726997","file3":"1399726993"},"map_files_photo_id_array":[{"photo_id":"1399726997","filename":"file5"},{"photo_id":"1399726991","filename":"file2"},{"photo_id":"1399726995","filename":"file4"},{"photo_id":"1399726989","filename":"file1"},{"photo_id":"1399726986","filename":"file0"},{"photo_id":"1399726993","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726993":["hashtag1","hashtag2"]},{"1399726995":["hashtag1","hashtag2"]},{"1399726989":["hashtag1","hashtag2"]},{"1399726986":["hashtag1","hashtag2"]},{"1399726991":["hashtag1","hashtag2"]},{"1399726997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726993, 1399726995, 1399726989, 1399726986, 1399726991, 1399726997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91485643386841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:46:02.729173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_34_9615.jpg', '/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_45_10600.jpg', '/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_55_9920.jpg', '/home/pi/Desktop/images/17122025/00/40/image_17122025_00_41_04_9738.jpg', '/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_14_9676.jpg', '/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_25_10621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_34_9615.jpg
/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_45_10600.jpg
/home/pi/Desktop/images/17122025/00/40/image_17122025_00_40_55_9920.jpg
/home/pi/Desktop/images/17122025/00/40/image_17122025_00_41_04_9738.jpg
/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_14_9676.jpg
/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_25_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":["1399726999","1399727002","1399726998","1399727001","1399727004","1399727000"],"photo_ids_order":["1399726998","1399726999","1399727000","1399727001","1399727002","1399727004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b58f1784d3a89e368e3421cab7575bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3452847206501321742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928823346,"filename":"image_17122025_00_40_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9be7d0847c0813f855b3cb1e8bd8063d.jpg","text":"TemporaryFile(/tmp/multipartBody2470466084455654557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928823346,"filename":"image_17122025_00_41_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92c006be29af57ad38356841682b99c6.jpg","text":"TemporaryFile(/tmp/multipartBody2580287374444095278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928823346,"filename":"image_17122025_00_40_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eda8ee88d68e3a0ac44a284a720c53cc.jpg","text":"TemporaryFile(/tmp/multipartBody6555812250334215929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928823346,"filename":"image_17122025_00_41_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f3fbc81ae9a9f817fe759f2d8cb4993.jpg","text":"TemporaryFile(/tmp/multipartBody1590343928763728116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928823346,"filename":"image_17122025_00_41_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/480a08cb7e591330aa54a1fead58a401.jpg","text":"TemporaryFile(/tmp/multipartBody12479083196366355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928823346,"filename":"image_17122025_00_40_55_9920.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727000","file1":"1399726999","file0":"1399726998","file4":"1399727002","file5":"1399727004","file3":"1399727001"},"map_files_photo_id_array":[{"photo_id":"1399727004","filename":"file5"},{"photo_id":"1399727000","filename":"file2"},{"photo_id":"1399727002","filename":"file4"},{"photo_id":"1399726999","filename":"file1"},{"photo_id":"1399726998","filename":"file0"},{"photo_id":"1399727001","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399726999":["hashtag1","hashtag2"]},{"1399727002":["hashtag1","hashtag2"]},{"1399726998":["hashtag1","hashtag2"]},{"1399727001":["hashtag1","hashtag2"]},{"1399727004":["hashtag1","hashtag2"]},{"1399727000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399726999, 1399727002, 1399726998, 1399727001, 1399727004, 1399727000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.015785932540894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:46:42.323813
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_52_2825.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_54_2766.jpg', '/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_58_3762.jpg', '/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_07_8836.jpg', '/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_09_1718.jpg', '/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_10_1600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_52_2825.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_54_2766.jpg
/home/pi/Desktop/images/07112025/15/19/image_07112025_15_19_58_3762.jpg
/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_07_8836.jpg
/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_09_1718.jpg
/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_10_1600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727020","1399727017","1399727013","1399727016","1399727012","1399727009"],"photo_ids_order":["1399727009","1399727012","1399727013","1399727016","1399727017","1399727020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85e079fd4e61ccb6784d62cf60b4d89a.jpg","text":"TemporaryFile(/tmp/multipartBody8492553679098244648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928863104,"filename":"image_07112025_15_20_10_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f6a9acf7a3465e5da2900849a90f4a5.jpg","text":"TemporaryFile(/tmp/multipartBody1892744052418169320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928863104,"filename":"image_07112025_15_20_09_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b6421f2b0e10cd45cf085944cd893ac.jpg","text":"TemporaryFile(/tmp/multipartBody5427036606450589074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928863104,"filename":"image_07112025_15_19_58_3762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a79277bed2b0548f415e742335bc17b.jpg","text":"TemporaryFile(/tmp/multipartBody712013743547296213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928863104,"filename":"image_07112025_15_20_07_8836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ae386749eea6fdb71039235c22c7bda.jpg","text":"TemporaryFile(/tmp/multipartBody1649757064744016471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928863104,"filename":"image_07112025_15_19_54_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0da8d83af13a8eecc4c1f938d08e8423.jpg","text":"TemporaryFile(/tmp/multipartBody5004466270300640693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928863104,"filename":"image_07112025_15_19_52_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727013","file1":"1399727012","file0":"1399727009","file4":"1399727017","file5":"1399727020","file3":"1399727016"},"map_files_photo_id_array":[{"photo_id":"1399727020","filename":"file5"},{"photo_id":"1399727013","filename":"file2"},{"photo_id":"1399727017","filename":"file4"},{"photo_id":"1399727012","filename":"file1"},{"photo_id":"1399727009","filename":"file0"},{"photo_id":"1399727016","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399727020":["hashtag1","hashtag2"]},{"1399727017":["hashtag1","hashtag2"]},{"1399727013":["hashtag1","hashtag2"]},{"1399727016":["hashtag1","hashtag2"]},{"1399727012":["hashtag1","hashtag2"]},{"1399727009":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399727020, 1399727017, 1399727013, 1399727016, 1399727012, 1399727009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28411626815796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:47:22.568698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_44_9705.jpg', '/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_55_10896.jpg', '/home/pi/Desktop/images/17122025/00/41/image_17122025_00_42_05_9668.jpg', '/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_25_10600.jpg', '/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_35_9731.jpg', '/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_45_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_44_9705.jpg
/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_55_10896.jpg
/home/pi/Desktop/images/17122025/00/41/image_17122025_00_42_05_9668.jpg
/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_25_10600.jpg
/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_35_9731.jpg
/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_45_9743.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4590761661529541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:47:32.605429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:47:42.556992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_12_1760.jpg', '/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_14_1676.jpg', '/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_15_1673.jpg', '/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_19_3620.jpg', '/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_22_2653.jpg', '/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_42_19931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_12_1760.jpg
/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_14_1676.jpg
/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_15_1673.jpg
/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_19_3620.jpg
/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_22_2653.jpg
/home/pi/Desktop/images/07112025/15/20/image_07112025_15_20_42_19931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727041","1399727038","1399727040","1399727037","1399727039","1399727030"],"photo_ids_order":["1399727030","1399727037","1399727038","1399727039","1399727040","1399727041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fa1184c8c489d8bb56e954e9429f59f.jpg","text":"TemporaryFile(/tmp/multipartBody1494137698610159036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928923271,"filename":"image_07112025_15_20_42_19931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5584d4a8ac2c7a2141870c63c980cbe.jpg","text":"TemporaryFile(/tmp/multipartBody6996741541878622044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928923271,"filename":"image_07112025_15_20_15_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a677ffd1ea949f29c879a831fc607d3b.jpg","text":"TemporaryFile(/tmp/multipartBody4078453840141066566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928923271,"filename":"image_07112025_15_20_22_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a952a04f6303496b714591d124cfef7b.jpg","text":"TemporaryFile(/tmp/multipartBody1823643851957363183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928923271,"filename":"image_07112025_15_20_14_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36f5b8a7ff7f533b9a9d12af203290b7.jpg","text":"TemporaryFile(/tmp/multipartBody4658779971104940828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928923271,"filename":"image_07112025_15_20_19_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8f369f378ea82ac507daca07686804f.jpg","text":"TemporaryFile(/tmp/multipartBody3522965375088696727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928923271,"filename":"image_07112025_15_20_12_1760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727038","file1":"1399727037","file0":"1399727030","file4":"1399727040","file5":"1399727041","file3":"1399727039"},"map_files_photo_id_array":[{"photo_id":"1399727041","filename":"file5"},{"photo_id":"1399727038","filename":"file2"},{"photo_id":"1399727040","filename":"file4"},{"photo_id":"1399727037","filename":"file1"},{"photo_id":"1399727030","filename":"file0"},{"photo_id":"1399727039","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399727041":["hashtag1","hashtag2"]},{"1399727038":["hashtag1","hashtag2"]},{"1399727040":["hashtag1","hashtag2"]},{"1399727037":["hashtag1","hashtag2"]},{"1399727039":["hashtag1","hashtag2"]},{"1399727030":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399727041, 1399727038, 1399727040, 1399727037, 1399727039, 1399727030)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.70359921455383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:48:32.827769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:48:45.353303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_07_3013.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_11_3835.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_13_2631.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_16_2724.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_19_2807.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_23_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_07_3013.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_11_3835.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_13_2631.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_16_2724.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_19_2807.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_23_3653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727053","1399727056","1399727050","1399727052","1399727054","1399727051"],"photo_ids_order":["1399727050","1399727051","1399727052","1399727053","1399727054","1399727056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b58c9a4dfbe829c566ac6325ba207df.jpg","text":"TemporaryFile(/tmp/multipartBody8127358971633186372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928986082,"filename":"image_07112025_15_22_16_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4e07af6f01158d9e0eff8164d92ef44.jpg","text":"TemporaryFile(/tmp/multipartBody4536666496394420968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928986082,"filename":"image_07112025_15_22_23_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38c9b98418880c224ca90fbadfd74f67.jpg","text":"TemporaryFile(/tmp/multipartBody6363161862663170167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928986082,"filename":"image_07112025_15_22_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d858f23c1f36faf21ef876c50f25e5a6.jpg","text":"TemporaryFile(/tmp/multipartBody924717747454408115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928986082,"filename":"image_07112025_15_22_13_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dcd6d40f69314a20a4a380c0e8fd9df7.jpg","text":"TemporaryFile(/tmp/multipartBody2588276322954839543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928986082,"filename":"image_07112025_15_22_19_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7dd959d1ce600b457a903b05f3daf9b.jpg","text":"TemporaryFile(/tmp/multipartBody8704679220443671544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765928986082,"filename":"image_07112025_15_22_11_3835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727052","file1":"1399727051","file0":"1399727050","file4":"1399727054","file5":"1399727056","file3":"1399727053"},"map_files_photo_id_array":[{"photo_id":"1399727056","filename":"file5"},{"photo_id":"1399727052","filename":"file2"},{"photo_id":"1399727054","filename":"file4"},{"photo_id":"1399727051","filename":"file1"},{"photo_id":"1399727050","filename":"file0"},{"photo_id":"1399727053","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399727053":["hashtag1","hashtag2"]},{"1399727056":["hashtag1","hashtag2"]},{"1399727050":["hashtag1","hashtag2"]},{"1399727052":["hashtag1","hashtag2"]},{"1399727054":["hashtag1","hashtag2"]},{"1399727051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399727053, 1399727056, 1399727050, 1399727052, 1399727054, 1399727051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.372331380844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:49:22.544089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_44_9705.jpg', '/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_55_10896.jpg', '/home/pi/Desktop/images/17122025/00/41/image_17122025_00_42_05_9668.jpg', '/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_25_10600.jpg', '/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_35_9731.jpg', '/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_45_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_44_9705.jpg
/home/pi/Desktop/images/17122025/00/41/image_17122025_00_41_55_10896.jpg
/home/pi/Desktop/images/17122025/00/41/image_17122025_00_42_05_9668.jpg
/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_25_10600.jpg
/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_35_9731.jpg
/home/pi/Desktop/images/17122025/00/42/image_17122025_00_42_45_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727059","1399727067","1399727061","1399727063","1399727057","1399727065"],"photo_ids_order":["1399727057","1399727059","1399727061","1399727063","1399727065","1399727067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81e6e178f4c62a0b130ab0331317a092.jpg","text":"TemporaryFile(/tmp/multipartBody4176561089464864544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929023128,"filename":"image_17122025_00_41_55_10896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e16a7a78157526403d2aa7f378be357.jpg","text":"TemporaryFile(/tmp/multipartBody512319787024477423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929023128,"filename":"image_17122025_00_42_45_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/050fb7985dc041a265ca8761acec2034.jpg","text":"TemporaryFile(/tmp/multipartBody7135136786965870994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929023128,"filename":"image_17122025_00_42_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35df2618f9c50a7894197a36de373d84.jpg","text":"TemporaryFile(/tmp/multipartBody1656116477654167015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929023128,"filename":"image_17122025_00_42_25_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3ade788f1e9e1e6722a8df45f5b3e0a.jpg","text":"TemporaryFile(/tmp/multipartBody4057326977727670374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929023128,"filename":"image_17122025_00_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/2025/12/17/f5b7eb50aa77bc332ae9b5c027079a54.jpg","text":"TemporaryFile(/tmp/multipartBody5302106875374955125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929023128,"filename":"image_17122025_00_42_35_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727061","file1":"1399727059","file0":"1399727057","file4":"1399727065","file5":"1399727067","file3":"1399727063"},"map_files_photo_id_array":[{"photo_id":"1399727067","filename":"file5"},{"photo_id":"1399727061","filename":"file2"},{"photo_id":"1399727065","filename":"file4"},{"photo_id":"1399727059","filename":"file1"},{"photo_id":"1399727057","filename":"file0"},{"photo_id":"1399727063","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727059":["hashtag1","hashtag2"]},{"1399727067":["hashtag1","hashtag2"]},{"1399727061":["hashtag1","hashtag2"]},{"1399727063":["hashtag1","hashtag2"]},{"1399727057":["hashtag1","hashtag2"]},{"1399727065":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727059, 1399727067, 1399727061, 1399727063, 1399727057, 1399727065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02629280090332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:50:02.323754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/42/image_17122025_00_43_05_10657.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_15_9753.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_24_9700.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_35_10690.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_45_9570.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/42/image_17122025_00_43_05_10657.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_15_9753.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_24_9700.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_35_10690.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_45_9570.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_54_9653.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.506467342376709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:50:11.876733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:50:21.881549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/42/image_17122025_00_43_05_10657.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_15_9753.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_24_9700.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_35_10690.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_45_9570.jpg', '/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/42/image_17122025_00_43_05_10657.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_15_9753.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_24_9700.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_35_10690.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_45_9570.jpg
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_43_54_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727076","1399727085","1399727079","1399727073","1399727083","1399727086"],"photo_ids_order":["1399727073","1399727076","1399727079","1399727083","1399727085","1399727086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73b8c3873b6f5a5c87ef07bfab12fb58.jpg","text":"TemporaryFile(/tmp/multipartBody6156270992091168350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929082465,"filename":"image_17122025_00_43_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24125061f7db81fcfce49fef91f9c297.jpg","text":"TemporaryFile(/tmp/multipartBody7699100770782060019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929082465,"filename":"image_17122025_00_43_45_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f8d147d86497c8c936dfcb17bcd66b6.jpg","text":"TemporaryFile(/tmp/multipartBody3823129870101778822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929082465,"filename":"image_17122025_00_43_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5cbaafff0881815f8cdc6db2c37b730a.jpg","text":"TemporaryFile(/tmp/multipartBody488445982479283222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929082465,"filename":"image_17122025_00_43_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbb94674be47ed2f15befe61ec12bfe0.jpg","text":"TemporaryFile(/tmp/multipartBody2459668847151057618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929082465,"filename":"image_17122025_00_43_35_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be0c2b3505827e4f39650e73aaa4f363.jpg","text":"TemporaryFile(/tmp/multipartBody930058880280426720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929082465,"filename":"image_17122025_00_43_54_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727079","file1":"1399727076","file0":"1399727073","file4":"1399727085","file5":"1399727086","file3":"1399727083"},"map_files_photo_id_array":[{"photo_id":"1399727086","filename":"file5"},{"photo_id":"1399727079","filename":"file2"},{"photo_id":"1399727085","filename":"file4"},{"photo_id":"1399727076","filename":"file1"},{"photo_id":"1399727073","filename":"file0"},{"photo_id":"1399727083","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727076":["hashtag1","hashtag2"]},{"1399727085":["hashtag1","hashtag2"]},{"1399727079":["hashtag1","hashtag2"]},{"1399727073":["hashtag1","hashtag2"]},{"1399727083":["hashtag1","hashtag2"]},{"1399727086":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727076, 1399727085, 1399727079, 1399727073, 1399727083, 1399727086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94576096534729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:51:02.659235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/43/image_17122025_00_44_05_10708.jpg', '/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_15_9643.jpg', '/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_24_9570.jpg', '/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_35_10534.jpg', '/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_44_9769.jpg', '/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_55_10550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/43/image_17122025_00_44_05_10708.jpg
/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_15_9643.jpg
/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_24_9570.jpg
/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_35_10534.jpg
/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_44_9769.jpg
/home/pi/Desktop/images/17122025/00/44/image_17122025_00_44_55_10550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727095","1399727101","1399727097","1399727099","1399727096","1399727098"],"photo_ids_order":["1399727095","1399727096","1399727097","1399727098","1399727099","1399727101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/105892d482eea2b751317231a13fbd4f.jpg","text":"TemporaryFile(/tmp/multipartBody7185468133756423468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929123312,"filename":"image_17122025_00_44_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3e4104ad7cbce602b06ca92e7f872cd.jpg","text":"TemporaryFile(/tmp/multipartBody8119280487328966457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929123312,"filename":"image_17122025_00_44_55_10550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36b8a4dc410b1f37ba74ef638ffb3027.jpg","text":"TemporaryFile(/tmp/multipartBody5558195928460972578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929123312,"filename":"image_17122025_00_44_24_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11e23578fbe229178fccaa20fe0ae86f.jpg","text":"TemporaryFile(/tmp/multipartBody295939243181672483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929123312,"filename":"image_17122025_00_44_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a189016f67f8d18b0b3f199a3eb615b.jpg","text":"TemporaryFile(/tmp/multipartBody3720519094626919626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929123312,"filename":"image_17122025_00_44_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13943224b562e0a7897e672a134f0ab9.jpg","text":"TemporaryFile(/tmp/multipartBody3408199656063262908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929123312,"filename":"image_17122025_00_44_35_10534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727097","file1":"1399727096","file0":"1399727095","file4":"1399727099","file5":"1399727101","file3":"1399727098"},"map_files_photo_id_array":[{"photo_id":"1399727101","filename":"file5"},{"photo_id":"1399727097","filename":"file2"},{"photo_id":"1399727099","filename":"file4"},{"photo_id":"1399727096","filename":"file1"},{"photo_id":"1399727095","filename":"file0"},{"photo_id":"1399727098","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727095":["hashtag1","hashtag2"]},{"1399727101":["hashtag1","hashtag2"]},{"1399727097":["hashtag1","hashtag2"]},{"1399727099":["hashtag1","hashtag2"]},{"1399727096":["hashtag1","hashtag2"]},{"1399727098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727095, 1399727101, 1399727097, 1399727099, 1399727096, 1399727098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.046698570251465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:51:42.034339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_25_2585.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_29_3657.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_31_2688.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_34_2630.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_38_3694.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_43_2588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_25_2585.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_29_3657.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_31_2688.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_34_2630.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_38_3694.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_43_2588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727110","1399727112","1399727109","1399727106","1399727111","1399727108"],"photo_ids_order":["1399727106","1399727108","1399727109","1399727110","1399727111","1399727112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4af11e0faf0fc5505a1f13b7ff185b9b.jpg","text":"TemporaryFile(/tmp/multipartBody8517839525613892894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929164361,"filename":"image_07112025_15_22_34_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/269c58010198431f263ead09ce38f037.jpg","text":"TemporaryFile(/tmp/multipartBody1770381944034333135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929164361,"filename":"image_07112025_15_22_43_2588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4209e2ef6dcd5caf4914116dec0a8db.jpg","text":"TemporaryFile(/tmp/multipartBody6022938364975615832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929164361,"filename":"image_07112025_15_22_31_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92af91a951461cd9e7e3e1f8d33493f6.jpg","text":"TemporaryFile(/tmp/multipartBody2628739366253778589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929164361,"filename":"image_07112025_15_22_25_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ebea47e9a485ebb5976a7527ba2bf64.jpg","text":"TemporaryFile(/tmp/multipartBody2694586766730161920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929164361,"filename":"image_07112025_15_22_38_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c5327b6b4c808c4c695f7bc7c7e3de3.jpg","text":"TemporaryFile(/tmp/multipartBody6174654801795116305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929164361,"filename":"image_07112025_15_22_29_3657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727109","file1":"1399727108","file0":"1399727106","file4":"1399727111","file5":"1399727112","file3":"1399727110"},"map_files_photo_id_array":[{"photo_id":"1399727112","filename":"file5"},{"photo_id":"1399727109","filename":"file2"},{"photo_id":"1399727111","filename":"file4"},{"photo_id":"1399727108","filename":"file1"},{"photo_id":"1399727106","filename":"file0"},{"photo_id":"1399727110","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399727110":["hashtag1","hashtag2"]},{"1399727112":["hashtag1","hashtag2"]},{"1399727109":["hashtag1","hashtag2"]},{"1399727106":["hashtag1","hashtag2"]},{"1399727111":["hashtag1","hashtag2"]},{"1399727108":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399727110, 1399727112, 1399727109, 1399727106, 1399727111, 1399727108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61474943161011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:52:22.157145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/44/image_17122025_00_45_05_9695.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_14_9650.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_25_10655.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_35_9590.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_44_9624.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_55_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/44/image_17122025_00_45_05_9695.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_14_9650.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_25_10655.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_35_9590.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_44_9624.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_55_10655.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5066688060760498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 00:52:32.369849
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:52:42.264848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_49_2668.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_52_2741.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_56_3587.jpg', '/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_58_2643.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_01_2615.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_05_3736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_49_2668.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_52_2741.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_56_3587.jpg
/home/pi/Desktop/images/07112025/15/22/image_07112025_15_22_58_2643.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_01_2615.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_05_3736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727128","1399727122","1399727125","1399727127","1399727126","1399727129"],"photo_ids_order":["1399727122","1399727125","1399727126","1399727127","1399727128","1399727129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c816318e2d76d178e50781460a463fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3410233070457404911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929223010,"filename":"image_07112025_15_23_01_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de106545c9f05e1e043e795167181471.jpg","text":"TemporaryFile(/tmp/multipartBody2759598436949476977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929223010,"filename":"image_07112025_15_22_49_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7a6394004ade510381748f42ed2643f.jpg","text":"TemporaryFile(/tmp/multipartBody5940535623035189187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929223010,"filename":"image_07112025_15_22_52_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df7157d242878d004d0bd5a699b5a7ce.jpg","text":"TemporaryFile(/tmp/multipartBody4274657017391823325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929223010,"filename":"image_07112025_15_22_58_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbff807599ba5e7b726d48ca238abb8b.jpg","text":"TemporaryFile(/tmp/multipartBody7313509785675295487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929223010,"filename":"image_07112025_15_22_56_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/322aecef47236bab8b7975caeef13b81.jpg","text":"TemporaryFile(/tmp/multipartBody8644739469525248349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929223010,"filename":"image_07112025_15_23_05_3736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727126","file1":"1399727125","file0":"1399727122","file4":"1399727128","file5":"1399727129","file3":"1399727127"},"map_files_photo_id_array":[{"photo_id":"1399727129","filename":"file5"},{"photo_id":"1399727126","filename":"file2"},{"photo_id":"1399727128","filename":"file4"},{"photo_id":"1399727125","filename":"file1"},{"photo_id":"1399727122","filename":"file0"},{"photo_id":"1399727127","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399727128":["hashtag1","hashtag2"]},{"1399727122":["hashtag1","hashtag2"]},{"1399727125":["hashtag1","hashtag2"]},{"1399727127":["hashtag1","hashtag2"]},{"1399727126":["hashtag1","hashtag2"]},{"1399727129":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399727128, 1399727122, 1399727125, 1399727127, 1399727126, 1399727129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30688762664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:53:22.540536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/44/image_17122025_00_45_05_9695.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_14_9650.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_25_10655.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_35_9590.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_44_9624.jpg', '/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_55_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/44/image_17122025_00_45_05_9695.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_14_9650.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_25_10655.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_35_9590.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_44_9624.jpg
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_45_55_10655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727137","1399727131","1399727139","1399727133","1399727135","1399727144"],"photo_ids_order":["1399727131","1399727133","1399727135","1399727137","1399727139","1399727144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66419435139304a0908d74fe39116842.jpg","text":"TemporaryFile(/tmp/multipartBody7084860248615085794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929263132,"filename":"image_17122025_00_45_35_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46d2e2e5764c88ba4a5abda1f0bd93d3.jpg","text":"TemporaryFile(/tmp/multipartBody3942513382651730203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929263132,"filename":"image_17122025_00_45_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51bca67f9607a3def94d22f2b848192a.jpg","text":"TemporaryFile(/tmp/multipartBody3567277200694863983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929263132,"filename":"image_17122025_00_45_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/156373043bf52e5fdddc0c26a58ee6c5.jpg","text":"TemporaryFile(/tmp/multipartBody1166220193483796785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929263132,"filename":"image_17122025_00_45_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aedb74eab1d9d4675e23b6f0d17b8851.jpg","text":"TemporaryFile(/tmp/multipartBody144515705907622959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929263132,"filename":"image_17122025_00_45_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d387a5a14a4a96005a5a942d1818d6a.jpg","text":"TemporaryFile(/tmp/multipartBody3813361916870835907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929263132,"filename":"image_17122025_00_45_55_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727135","file1":"1399727133","file0":"1399727131","file4":"1399727139","file5":"1399727144","file3":"1399727137"},"map_files_photo_id_array":[{"photo_id":"1399727144","filename":"file5"},{"photo_id":"1399727135","filename":"file2"},{"photo_id":"1399727139","filename":"file4"},{"photo_id":"1399727133","filename":"file1"},{"photo_id":"1399727131","filename":"file0"},{"photo_id":"1399727137","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727137":["hashtag1","hashtag2"]},{"1399727131":["hashtag1","hashtag2"]},{"1399727139":["hashtag1","hashtag2"]},{"1399727133":["hashtag1","hashtag2"]},{"1399727135":["hashtag1","hashtag2"]},{"1399727144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727137, 1399727131, 1399727139, 1399727133, 1399727135, 1399727144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52617335319519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:54:03.029719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 00:54:12.492147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:54:22.463816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/45/image_17122025_00_46_04_9563.jpg', '/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_14_9754.jpg', '/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_25_10652.jpg', '/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_34_9613.jpg', '/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_44_9708.jpg', '/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_55_10722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/45/image_17122025_00_46_04_9563.jpg
/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_14_9754.jpg
/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_25_10652.jpg
/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_34_9613.jpg
/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_44_9708.jpg
/home/pi/Desktop/images/17122025/00/46/image_17122025_00_46_55_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":["1399727155","1399727149","1399727157","1399727151","1399727153","1399727147"],"photo_ids_order":["1399727147","1399727149","1399727151","1399727153","1399727155","1399727157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9084fbe6a0bb5f3ec8f86e978303f2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2230293530051350347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929323022,"filename":"image_17122025_00_46_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e14e8786cf681b3b552f93aafd7c064.jpg","text":"TemporaryFile(/tmp/multipartBody3374450248047302791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929323022,"filename":"image_17122025_00_46_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64fb0ed2e9174f9e0d24bec38d03fa13.jpg","text":"TemporaryFile(/tmp/multipartBody4579209317166838133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929323022,"filename":"image_17122025_00_46_55_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f534a99897a6b329a8a44165d7a5b995.jpg","text":"TemporaryFile(/tmp/multipartBody8296774356965165672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929323022,"filename":"image_17122025_00_46_25_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b021a9f47fd7a6a2f4cb8f1826156a02.jpg","text":"TemporaryFile(/tmp/multipartBody4090167967778134028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929323022,"filename":"image_17122025_00_46_34_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9919599ae6d9a0f2e3ff3403e991196f.jpg","text":"TemporaryFile(/tmp/multipartBody6547261923476002160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929323022,"filename":"image_17122025_00_46_04_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727151","file1":"1399727149","file0":"1399727147","file4":"1399727155","file5":"1399727157","file3":"1399727153"},"map_files_photo_id_array":[{"photo_id":"1399727157","filename":"file5"},{"photo_id":"1399727151","filename":"file2"},{"photo_id":"1399727155","filename":"file4"},{"photo_id":"1399727149","filename":"file1"},{"photo_id":"1399727147","filename":"file0"},{"photo_id":"1399727153","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727155":["hashtag1","hashtag2"]},{"1399727149":["hashtag1","hashtag2"]},{"1399727157":["hashtag1","hashtag2"]},{"1399727151":["hashtag1","hashtag2"]},{"1399727153":["hashtag1","hashtag2"]},{"1399727147":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727155, 1399727149, 1399727157, 1399727151, 1399727153, 1399727147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.91298484802246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:55:03.259102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/46/image_17122025_00_47_04_9610.jpg', '/home/pi/Desktop/images/17122025/00/47/image_17122025_00_47_25_10764.jpg', '/home/pi/Desktop/images/17122025/00/47/image_17122025_00_47_35_9763.jpg', '/home/pi/Desktop/images/17122025/00/47/image_17122025_00_47_44_9727.jpg', '/home/pi/Desktop/images/17122025/00/47/image_17122025_00_47_55_10625.jpg', '/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_14_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/46/image_17122025_00_47_04_9610.jpg
/home/pi/Desktop/images/17122025/00/47/image_17122025_00_47_25_10764.jpg
/home/pi/Desktop/images/17122025/00/47/image_17122025_00_47_35_9763.jpg
/home/pi/Desktop/images/17122025/00/47/image_17122025_00_47_44_9727.jpg
/home/pi/Desktop/images/17122025/00/47/image_17122025_00_47_55_10625.jpg
/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_14_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":["1399727161","1399727158","1399727160","1399727163","1399727165","1399727159"],"photo_ids_order":["1399727158","1399727159","1399727160","1399727161","1399727163","1399727165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7ed700cadea3efe14edde3064272321.jpg","text":"TemporaryFile(/tmp/multipartBody2893935161295917116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929363892,"filename":"image_17122025_00_47_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78ae76fbf469d6f1b05a5761c1e26c37.jpg","text":"TemporaryFile(/tmp/multipartBody8209497305558082423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929363892,"filename":"image_17122025_00_47_04_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb8095ca4a4ebf916a000048c78f8006.jpg","text":"TemporaryFile(/tmp/multipartBody7202480496337702594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929363892,"filename":"image_17122025_00_47_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d9e2e141fecb09834098c7e6967704e.jpg","text":"TemporaryFile(/tmp/multipartBody7333749651532154230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929363892,"filename":"image_17122025_00_47_55_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e17632de18deec729f9f5f02fbf44a95.jpg","text":"TemporaryFile(/tmp/multipartBody6513445715281332172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929363892,"filename":"image_17122025_00_48_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b81d6bcecc4c5656bb172b8ebf4c1a5.jpg","text":"TemporaryFile(/tmp/multipartBody4304462125112955840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929363892,"filename":"image_17122025_00_47_25_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727160","file1":"1399727159","file0":"1399727158","file4":"1399727163","file5":"1399727165","file3":"1399727161"},"map_files_photo_id_array":[{"photo_id":"1399727165","filename":"file5"},{"photo_id":"1399727160","filename":"file2"},{"photo_id":"1399727163","filename":"file4"},{"photo_id":"1399727159","filename":"file1"},{"photo_id":"1399727158","filename":"file0"},{"photo_id":"1399727161","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727161":["hashtag1","hashtag2"]},{"1399727158":["hashtag1","hashtag2"]},{"1399727160":["hashtag1","hashtag2"]},{"1399727163":["hashtag1","hashtag2"]},{"1399727165":["hashtag1","hashtag2"]},{"1399727159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727161, 1399727158, 1399727160, 1399727163, 1399727165, 1399727159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.375821113586426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:55:42.658426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_07_2654.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_10_2685.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_14_3597.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_21_7359.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_33_11710.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_34_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_07_2654.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_10_2685.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_14_3597.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_21_7359.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_33_11710.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_34_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":["1399727173","1399727176","1399727175","1399727172","1399727174","1399727170"],"photo_ids_order":["1399727170","1399727172","1399727173","1399727174","1399727175","1399727176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31a8d3a1f6c2624d424bef7f347f24a6.jpg","text":"TemporaryFile(/tmp/multipartBody6376205011460728385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929403426,"filename":"image_07112025_15_23_14_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14949e008d2ae17c4252b5c4e04124ee.jpg","text":"TemporaryFile(/tmp/multipartBody4342890971669288664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929403426,"filename":"image_07112025_15_23_34_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58f12338b4483e001ee0278caa48e3d2.jpg","text":"TemporaryFile(/tmp/multipartBody6257493189168812127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929403426,"filename":"image_07112025_15_23_33_11710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20dd5f836a2fe6e24d72f709076e8304.jpg","text":"TemporaryFile(/tmp/multipartBody6593305534143763683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929403426,"filename":"image_07112025_15_23_10_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01890881c12f67ade204c73647620e76.jpg","text":"TemporaryFile(/tmp/multipartBody8421061168940851489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929403426,"filename":"image_07112025_15_23_21_7359.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba2a48e631847a73234ffa605236f621.jpg","text":"TemporaryFile(/tmp/multipartBody8748053679508981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929403426,"filename":"image_07112025_15_23_07_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727173","file1":"1399727172","file0":"1399727170","file4":"1399727175","file5":"1399727176","file3":"1399727174"},"map_files_photo_id_array":[{"photo_id":"1399727176","filename":"file5"},{"photo_id":"1399727173","filename":"file2"},{"photo_id":"1399727175","filename":"file4"},{"photo_id":"1399727172","filename":"file1"},{"photo_id":"1399727170","filename":"file0"},{"photo_id":"1399727174","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399727173":["hashtag1","hashtag2"]},{"1399727176":["hashtag1","hashtag2"]},{"1399727175":["hashtag1","hashtag2"]},{"1399727172":["hashtag1","hashtag2"]},{"1399727174":["hashtag1","hashtag2"]},{"1399727170":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399727173, 1399727176, 1399727175, 1399727172, 1399727174, 1399727170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61293578147888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 00:56:22.050859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_24_9980.jpg', '/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_34_9753.jpg', '/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_45_10718.jpg', '/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_55_9714.jpg', '/home/pi/Desktop/images/17122025/00/48/image_17122025_00_49_04_9649.jpg', '/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_15_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_24_9980.jpg
/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_34_9753.jpg
/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_45_10718.jpg
/home/pi/Desktop/images/17122025/00/48/image_17122025_00_48_55_9714.jpg
/home/pi/Desktop/images/17122025/00/48/image_17122025_00_49_04_9649.jpg
/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_15_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727194","1399727181","1399727184","1399727178","1399727186","1399727177"],"photo_ids_order":["1399727177","1399727178","1399727181","1399727184","1399727186","1399727194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a65a933e71f3095c6ede2789af709bc.jpg","text":"TemporaryFile(/tmp/multipartBody8932876521328654428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929442671,"filename":"image_17122025_00_49_15_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ceb51fc3ddf649cd2eda076fc0f4e84.jpg","text":"TemporaryFile(/tmp/multipartBody6426831883493190674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929442671,"filename":"image_17122025_00_48_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/756b3e43dd63b44f1fe179c17e189458.jpg","text":"TemporaryFile(/tmp/multipartBody3158440224027508026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929442671,"filename":"image_17122025_00_48_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0f39fab8d8be80b0115959254df9009.jpg","text":"TemporaryFile(/tmp/multipartBody692465195413166368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929442671,"filename":"image_17122025_00_48_34_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfe7312d1297121615722f129820e7ce.jpg","text":"TemporaryFile(/tmp/multipartBody2197288098952514859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929442671,"filename":"image_17122025_00_49_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c61e8c2b773d6f1d866b83865309ee44.jpg","text":"TemporaryFile(/tmp/multipartBody9006881846856059425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929442671,"filename":"image_17122025_00_48_24_9980.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727181","file1":"1399727178","file0":"1399727177","file4":"1399727186","file5":"1399727194","file3":"1399727184"},"map_files_photo_id_array":[{"photo_id":"1399727194","filename":"file5"},{"photo_id":"1399727181","filename":"file2"},{"photo_id":"1399727186","filename":"file4"},{"photo_id":"1399727178","filename":"file1"},{"photo_id":"1399727177","filename":"file0"},{"photo_id":"1399727184","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727194":["hashtag1","hashtag2"]},{"1399727181":["hashtag1","hashtag2"]},{"1399727184":["hashtag1","hashtag2"]},{"1399727178":["hashtag1","hashtag2"]},{"1399727186":["hashtag1","hashtag2"]},{"1399727177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727194, 1399727181, 1399727184, 1399727178, 1399727186, 1399727177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92241907119751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:57:02.771294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_25_9951.jpg', '/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_35_9792.jpg', '/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_44_9679.jpg', '/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_55_10623.jpg', '/home/pi/Desktop/images/17122025/00/49/image_17122025_00_50_05_9612.jpg', '/home/pi/Desktop/images/17122025/00/50/image_17122025_00_50_25_10498.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_25_9951.jpg
/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_35_9792.jpg
/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_44_9679.jpg
/home/pi/Desktop/images/17122025/00/49/image_17122025_00_49_55_10623.jpg
/home/pi/Desktop/images/17122025/00/49/image_17122025_00_50_05_9612.jpg
/home/pi/Desktop/images/17122025/00/50/image_17122025_00_50_25_10498.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727206","1399727199","1399727205","1399727208","1399727202","1399727210"],"photo_ids_order":["1399727199","1399727202","1399727205","1399727206","1399727208","1399727210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08ce64d193f0a6cde5cd2aa417558626.jpg","text":"TemporaryFile(/tmp/multipartBody151878140525144249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929483406,"filename":"image_17122025_00_49_55_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1cf7b43cfb66a25bd6eedca9ffee3b2.jpg","text":"TemporaryFile(/tmp/multipartBody5997484891810779154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929483406,"filename":"image_17122025_00_49_25_9951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45b26cd9faa9775dcfeb69167573b3e7.jpg","text":"TemporaryFile(/tmp/multipartBody4603205680145796723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929483406,"filename":"image_17122025_00_49_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/380fe6c18a5a0cdb9f1f8f34940c5e7c.jpg","text":"TemporaryFile(/tmp/multipartBody1831020055991945335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929483406,"filename":"image_17122025_00_50_05_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a481859dae3867fff71b05b5d614ba62.jpg","text":"TemporaryFile(/tmp/multipartBody2549323528052503497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929483406,"filename":"image_17122025_00_49_35_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d0069a6eabacf7c2d7f01903c6821da.jpg","text":"TemporaryFile(/tmp/multipartBody3297913618415813368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929483406,"filename":"image_17122025_00_50_25_10498.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727205","file1":"1399727202","file0":"1399727199","file4":"1399727208","file5":"1399727210","file3":"1399727206"},"map_files_photo_id_array":[{"photo_id":"1399727210","filename":"file5"},{"photo_id":"1399727205","filename":"file2"},{"photo_id":"1399727208","filename":"file4"},{"photo_id":"1399727202","filename":"file1"},{"photo_id":"1399727199","filename":"file0"},{"photo_id":"1399727206","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727206":["hashtag1","hashtag2"]},{"1399727199":["hashtag1","hashtag2"]},{"1399727205":["hashtag1","hashtag2"]},{"1399727208":["hashtag1","hashtag2"]},{"1399727202":["hashtag1","hashtag2"]},{"1399727210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727206, 1399727199, 1399727205, 1399727208, 1399727202, 1399727210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.362982988357544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 00:57:42.095082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_36_1787.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_38_1645.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_39_1621.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_41_1653.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_54_11240.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_56_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_36_1787.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_38_1645.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_39_1621.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_41_1653.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_54_11240.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_56_1639.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727212","1399727220","1399727217","1399727222","1399727216","1399727213"],"photo_ids_order":["1399727212","1399727213","1399727216","1399727217","1399727220","1399727222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d0b75f808bb32801f989a5c290f7609.jpg","text":"TemporaryFile(/tmp/multipartBody981464093642918427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929522846,"filename":"image_07112025_15_23_36_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58dbd8e41add26e23ac0f28841fa6f2c.jpg","text":"TemporaryFile(/tmp/multipartBody4822957521282563320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929522846,"filename":"image_07112025_15_23_54_11240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7961df816dccaed5748841622811cb1.jpg","text":"TemporaryFile(/tmp/multipartBody8531306579095774622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929522846,"filename":"image_07112025_15_23_41_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40c3c3fc9c42997d4e6ee61356d40176.jpg","text":"TemporaryFile(/tmp/multipartBody8365413542069410143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929522846,"filename":"image_07112025_15_23_56_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75cd55add8fc44446e6af21ae01dd13c.jpg","text":"TemporaryFile(/tmp/multipartBody4631348153755311750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929522846,"filename":"image_07112025_15_23_39_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86931de365974c9f0e2512e02db8b26f.jpg","text":"TemporaryFile(/tmp/multipartBody4834246890763432415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929522846,"filename":"image_07112025_15_23_38_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727216","file1":"1399727213","file0":"1399727212","file4":"1399727220","file5":"1399727222","file3":"1399727217"},"map_files_photo_id_array":[{"photo_id":"1399727222","filename":"file5"},{"photo_id":"1399727216","filename":"file2"},{"photo_id":"1399727220","filename":"file4"},{"photo_id":"1399727213","filename":"file1"},{"photo_id":"1399727212","filename":"file0"},{"photo_id":"1399727217","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399727212":["hashtag1","hashtag2"]},{"1399727220":["hashtag1","hashtag2"]},{"1399727217":["hashtag1","hashtag2"]},{"1399727222":["hashtag1","hashtag2"]},{"1399727216":["hashtag1","hashtag2"]},{"1399727213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399727212, 1399727220, 1399727217, 1399727222, 1399727216, 1399727213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.942548990249634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 00:59:03.402844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/50/image_17122025_00_50_34_9638.jpg', '/home/pi/Desktop/images/17122025/00/50/image_17122025_00_50_45_10658.jpg', '/home/pi/Desktop/images/17122025/00/50/image_17122025_00_50_55_9566.jpg', '/home/pi/Desktop/images/17122025/00/50/image_17122025_00_51_04_9619.jpg', '/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_24_9613.jpg', '/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_35_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/50/image_17122025_00_50_34_9638.jpg
/home/pi/Desktop/images/17122025/00/50/image_17122025_00_50_45_10658.jpg
/home/pi/Desktop/images/17122025/00/50/image_17122025_00_50_55_9566.jpg
/home/pi/Desktop/images/17122025/00/50/image_17122025_00_51_04_9619.jpg
/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_24_9613.jpg
/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_35_10573.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":["1399727233","1399727224","1399727226","1399727235","1399727229","1399727231"],"photo_ids_order":["1399727224","1399727226","1399727229","1399727231","1399727233","1399727235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7edb315854c12209c5d219c5f84e2b02.jpg","text":"TemporaryFile(/tmp/multipartBody8899583034351586052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929604155,"filename":"image_17122025_00_51_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a8e940e840adce581e59f8bc8870374.jpg","text":"TemporaryFile(/tmp/multipartBody461653501357927720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929604155,"filename":"image_17122025_00_50_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72365ed869883ed5e558a92dd39a72a2.jpg","text":"TemporaryFile(/tmp/multipartBody4401722599840548436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929604155,"filename":"image_17122025_00_50_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75276a26ea988e602a8820dc2c389c6e.jpg","text":"TemporaryFile(/tmp/multipartBody8374312019115522921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929604155,"filename":"image_17122025_00_51_35_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8eb3456743473da30bb2715a2f44e7ee.jpg","text":"TemporaryFile(/tmp/multipartBody6181399329992439594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929604155,"filename":"image_17122025_00_50_55_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d32f14f34de8b6c5b235941da3a4d406.jpg","text":"TemporaryFile(/tmp/multipartBody4165055706382881602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929604155,"filename":"image_17122025_00_51_04_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727229","file1":"1399727226","file0":"1399727224","file4":"1399727233","file5":"1399727235","file3":"1399727231"},"map_files_photo_id_array":[{"photo_id":"1399727235","filename":"file5"},{"photo_id":"1399727229","filename":"file2"},{"photo_id":"1399727233","filename":"file4"},{"photo_id":"1399727226","filename":"file1"},{"photo_id":"1399727224","filename":"file0"},{"photo_id":"1399727231","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727233":["hashtag1","hashtag2"]},{"1399727224":["hashtag1","hashtag2"]},{"1399727226":["hashtag1","hashtag2"]},{"1399727235":["hashtag1","hashtag2"]},{"1399727229":["hashtag1","hashtag2"]},{"1399727231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727233, 1399727224, 1399727226, 1399727235, 1399727229, 1399727231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.539811849594116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:00:03.183755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_45_9744.jpg', '/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_54_9603.jpg', '/home/pi/Desktop/images/17122025/00/51/image_17122025_00_52_05_10733.jpg', '/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_15_9537.jpg', '/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_24_9713.jpg', '/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_34_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_45_9744.jpg
/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_54_9603.jpg
/home/pi/Desktop/images/17122025/00/51/image_17122025_00_52_05_10733.jpg
/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_15_9537.jpg
/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_24_9713.jpg
/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_34_9862.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5044257640838623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:00:12.641781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:00:22.762965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_45_9744.jpg', '/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_54_9603.jpg', '/home/pi/Desktop/images/17122025/00/51/image_17122025_00_52_05_10733.jpg', '/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_15_9537.jpg', '/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_24_9713.jpg', '/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_34_9862.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_45_9744.jpg
/home/pi/Desktop/images/17122025/00/51/image_17122025_00_51_54_9603.jpg
/home/pi/Desktop/images/17122025/00/51/image_17122025_00_52_05_10733.jpg
/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_15_9537.jpg
/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_24_9713.jpg
/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_34_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":["1399727260","1399727262","1399727256","1399727259","1399727255","1399727264"],"photo_ids_order":["1399727255","1399727256","1399727259","1399727260","1399727262","1399727264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4efa5099f5c510b96b5b06e08de7f4d0.jpg","text":"TemporaryFile(/tmp/multipartBody6152957469225438634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929683379,"filename":"image_17122025_00_52_15_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/683e609f18b17419134083cae50d6776.jpg","text":"TemporaryFile(/tmp/multipartBody4391502362481268357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929683379,"filename":"image_17122025_00_52_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/764e10d8af66b3fb32072d623ef548e0.jpg","text":"TemporaryFile(/tmp/multipartBody2444605626058002701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929683379,"filename":"image_17122025_00_51_54_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f426796b8e3822ce9cd6c1397756efd4.jpg","text":"TemporaryFile(/tmp/multipartBody6983885510055377261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929683379,"filename":"image_17122025_00_52_05_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c5519da02976d36f4df200b408eaecc.jpg","text":"TemporaryFile(/tmp/multipartBody683636010688967827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929683379,"filename":"image_17122025_00_51_45_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a260bea66657477b48c8a01b6160657b.jpg","text":"TemporaryFile(/tmp/multipartBody7708504992732656860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929683379,"filename":"image_17122025_00_52_34_9862.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727259","file1":"1399727256","file0":"1399727255","file4":"1399727262","file5":"1399727264","file3":"1399727260"},"map_files_photo_id_array":[{"photo_id":"1399727264","filename":"file5"},{"photo_id":"1399727259","filename":"file2"},{"photo_id":"1399727262","filename":"file4"},{"photo_id":"1399727256","filename":"file1"},{"photo_id":"1399727255","filename":"file0"},{"photo_id":"1399727260","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727260":["hashtag1","hashtag2"]},{"1399727262":["hashtag1","hashtag2"]},{"1399727256":["hashtag1","hashtag2"]},{"1399727259":["hashtag1","hashtag2"]},{"1399727255":["hashtag1","hashtag2"]},{"1399727264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727260, 1399727262, 1399727256, 1399727259, 1399727255, 1399727264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.981584310531616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:01:02.574121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_44_10235.jpg', '/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_54_9704.jpg', '/home/pi/Desktop/images/17122025/00/52/image_17122025_00_53_05_10628.jpg', '/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_14_9632.jpg', '/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_35_10785.jpg', '/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_45_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_44_10235.jpg
/home/pi/Desktop/images/17122025/00/52/image_17122025_00_52_54_9704.jpg
/home/pi/Desktop/images/17122025/00/52/image_17122025_00_53_05_10628.jpg
/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_14_9632.jpg
/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_35_10785.jpg
/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_45_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":["1399727266","1399727268","1399727277","1399727271","1399727273","1399727275"],"photo_ids_order":["1399727266","1399727268","1399727271","1399727273","1399727275","1399727277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec7a21184d09fd894ff9944d69e86ee2.jpg","text":"TemporaryFile(/tmp/multipartBody4207265982588824324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929723221,"filename":"image_17122025_00_52_44_10235.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d59c3db4746cab0df05f735f4f23707e.jpg","text":"TemporaryFile(/tmp/multipartBody1776347622984513230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929723221,"filename":"image_17122025_00_52_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f5701850ae0c7a6729f064fd936131d.jpg","text":"TemporaryFile(/tmp/multipartBody865062476632555728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929723221,"filename":"image_17122025_00_53_45_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f884932f1cfc4bbe62574e3f701a179.jpg","text":"TemporaryFile(/tmp/multipartBody5542769094848401802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929723221,"filename":"image_17122025_00_53_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc906be88f4906974f757cdd57969f9c.jpg","text":"TemporaryFile(/tmp/multipartBody152819358664363130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929723221,"filename":"image_17122025_00_53_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b286f7dfbdeb1aa06a21431976fa5b3.jpg","text":"TemporaryFile(/tmp/multipartBody7632180260607423816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929723221,"filename":"image_17122025_00_53_35_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727271","file1":"1399727268","file0":"1399727266","file4":"1399727275","file5":"1399727277","file3":"1399727273"},"map_files_photo_id_array":[{"photo_id":"1399727277","filename":"file5"},{"photo_id":"1399727271","filename":"file2"},{"photo_id":"1399727275","filename":"file4"},{"photo_id":"1399727268","filename":"file1"},{"photo_id":"1399727266","filename":"file0"},{"photo_id":"1399727273","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399727266":["hashtag1","hashtag2"]},{"1399727268":["hashtag1","hashtag2"]},{"1399727277":["hashtag1","hashtag2"]},{"1399727271":["hashtag1","hashtag2"]},{"1399727273":["hashtag1","hashtag2"]},{"1399727275":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399727266, 1399727268, 1399727277, 1399727271, 1399727273, 1399727275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13388514518738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:01:41.832423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_58_1868.jpg', '/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_59_1715.jpg', '/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_01_1699.jpg', '/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_03_1526.jpg', '/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_04_1599.jpg', '/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_06_1715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_58_1868.jpg
/home/pi/Desktop/images/07112025/15/23/image_07112025_15_23_59_1715.jpg
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_01_1699.jpg
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_03_1526.jpg
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_04_1599.jpg
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_06_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":["1399727376","1399727340","1399727283","1399727304","1399727281","1399727278"],"photo_ids_order":["1399727278","1399727281","1399727283","1399727304","1399727340","1399727376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d22c94bcb4b13092a90bb0f93ed531ca.jpg","text":"TemporaryFile(/tmp/multipartBody4020737153485583875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929762553,"filename":"image_07112025_15_24_06_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5dac1f2f11691966b2d3bfad44f41af3.jpg","text":"TemporaryFile(/tmp/multipartBody7898557655478953374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929762553,"filename":"image_07112025_15_24_04_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1436d5f82c5becbcc5792401ae82abc8.jpg","text":"TemporaryFile(/tmp/multipartBody4931230692779750962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929762553,"filename":"image_07112025_15_24_01_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db58906853b878475f868147a6527a05.jpg","text":"TemporaryFile(/tmp/multipartBody8481679444317605909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929762553,"filename":"image_07112025_15_24_03_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a58d3acf611b66d764835cae9cb65f3.jpg","text":"TemporaryFile(/tmp/multipartBody7123320837904199308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929762553,"filename":"image_07112025_15_23_59_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba10d02696f458206025345b96069fef.jpg","text":"TemporaryFile(/tmp/multipartBody3735731268881405316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929762553,"filename":"image_07112025_15_23_58_1868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727283","file1":"1399727281","file0":"1399727278","file4":"1399727340","file5":"1399727376","file3":"1399727304"},"map_files_photo_id_array":[{"photo_id":"1399727376","filename":"file5"},{"photo_id":"1399727283","filename":"file2"},{"photo_id":"1399727340","filename":"file4"},{"photo_id":"1399727281","filename":"file1"},{"photo_id":"1399727278","filename":"file0"},{"photo_id":"1399727304","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399727376":["hashtag1","hashtag2"]},{"1399727340":["hashtag1","hashtag2"]},{"1399727283":["hashtag1","hashtag2"]},{"1399727304":["hashtag1","hashtag2"]},{"1399727281":["hashtag1","hashtag2"]},{"1399727278":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399727376, 1399727340, 1399727283, 1399727304, 1399727281, 1399727278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37456011772156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:02:22.057682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_54_9724.jpg', '/home/pi/Desktop/images/17122025/00/53/image_17122025_00_54_05_10700.jpg', '/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_14_9144.jpg', '/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_25_10560.jpg', '/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_34_9521.jpg', '/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_45_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_54_9724.jpg
/home/pi/Desktop/images/17122025/00/53/image_17122025_00_54_05_10700.jpg
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_14_9144.jpg
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_25_10560.jpg
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_34_9521.jpg
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_45_10767.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4709455966949463 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:02:32.092873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:02:42.036550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_07_1527.jpg', '/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_16_8392.jpg', '/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_18_1763.jpg', '/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_31_13344.jpg', '/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_33_1899.jpg', '/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_34_1667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_07_1527.jpg
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_16_8392.jpg
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_18_1763.jpg
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_31_13344.jpg
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_33_1899.jpg
/home/pi/Desktop/images/07112025/15/24/image_07112025_15_24_34_1667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399727875","1399728021","1399727987","1399728094","1399727951","1399727915"],"photo_ids_order":["1399727875","1399727915","1399727951","1399727987","1399728021","1399728094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b180c5203ddcd282a42232b8ae4739ae.jpg","text":"TemporaryFile(/tmp/multipartBody1688197035193219170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929822770,"filename":"image_07112025_15_24_07_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d82cd663e992b0fed51ddb8f30a5d0d4.jpg","text":"TemporaryFile(/tmp/multipartBody5954882637287664729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929822770,"filename":"image_07112025_15_24_33_1899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dedc346ab2530fb410b83191476f28d8.jpg","text":"TemporaryFile(/tmp/multipartBody4680192348794562023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929822770,"filename":"image_07112025_15_24_31_13344.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b95b4f7f828bb18852a4ad5a4c6a99c.jpg","text":"TemporaryFile(/tmp/multipartBody270292913389279180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929822770,"filename":"image_07112025_15_24_34_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b5ead2b64541ef3dcc6d294db8ad927.jpg","text":"TemporaryFile(/tmp/multipartBody2020804874738789593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929822770,"filename":"image_07112025_15_24_18_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/105190586f9f510eb168bf81926e3489.jpg","text":"TemporaryFile(/tmp/multipartBody138758044407060404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929822770,"filename":"image_07112025_15_24_16_8392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399727951","file1":"1399727915","file0":"1399727875","file4":"1399728021","file5":"1399728094","file3":"1399727987"},"map_files_photo_id_array":[{"photo_id":"1399728094","filename":"file5"},{"photo_id":"1399727951","filename":"file2"},{"photo_id":"1399728021","filename":"file4"},{"photo_id":"1399727915","filename":"file1"},{"photo_id":"1399727875","filename":"file0"},{"photo_id":"1399727987","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399727875":["hashtag1","hashtag2"]},{"1399728021":["hashtag1","hashtag2"]},{"1399727987":["hashtag1","hashtag2"]},{"1399728094":["hashtag1","hashtag2"]},{"1399727951":["hashtag1","hashtag2"]},{"1399727915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399727875, 1399728021, 1399727987, 1399728094, 1399727951, 1399727915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.536516189575195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:03:22.321911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_54_9724.jpg', '/home/pi/Desktop/images/17122025/00/53/image_17122025_00_54_05_10700.jpg', '/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_14_9144.jpg', '/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_25_10560.jpg', '/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_34_9521.jpg', '/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_45_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/53/image_17122025_00_53_54_9724.jpg
/home/pi/Desktop/images/17122025/00/53/image_17122025_00_54_05_10700.jpg
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_14_9144.jpg
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_25_10560.jpg
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_34_9521.jpg
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_45_10767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399728483","1399728558","1399728354","1399728312","1399728428","1399728523"],"photo_ids_order":["1399728312","1399728354","1399728428","1399728483","1399728523","1399728558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e331d7280cf8bebdce21524217dc448b.jpg","text":"TemporaryFile(/tmp/multipartBody8765026282203966543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929862910,"filename":"image_17122025_00_54_25_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c201e124f760fc433942cc1cfa5a0292.jpg","text":"TemporaryFile(/tmp/multipartBody1108210237583382554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929862910,"filename":"image_17122025_00_54_45_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e54de0548b0ea87d4c17d5a286060e65.jpg","text":"TemporaryFile(/tmp/multipartBody145103364907439962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929862910,"filename":"image_17122025_00_54_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ad40b0cfad43ccbbb7551d53e3a53f8.jpg","text":"TemporaryFile(/tmp/multipartBody430927861240462164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929862910,"filename":"image_17122025_00_53_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d769da4adca8b9961f04d05819fe59b.jpg","text":"TemporaryFile(/tmp/multipartBody2588729199373503458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929862910,"filename":"image_17122025_00_54_14_9144.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d011f8d0c8b3ac18e83cc9d788ea3b6.jpg","text":"TemporaryFile(/tmp/multipartBody2394191922311054713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929862910,"filename":"image_17122025_00_54_34_9521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399728428","file1":"1399728354","file0":"1399728312","file4":"1399728523","file5":"1399728558","file3":"1399728483"},"map_files_photo_id_array":[{"photo_id":"1399728558","filename":"file5"},{"photo_id":"1399728428","filename":"file2"},{"photo_id":"1399728523","filename":"file4"},{"photo_id":"1399728354","filename":"file1"},{"photo_id":"1399728312","filename":"file0"},{"photo_id":"1399728483","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399728483":["hashtag1","hashtag2"]},{"1399728558":["hashtag1","hashtag2"]},{"1399728354":["hashtag1","hashtag2"]},{"1399728312":["hashtag1","hashtag2"]},{"1399728428":["hashtag1","hashtag2"]},{"1399728523":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399728483, 1399728558, 1399728354, 1399728312, 1399728428, 1399728523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.03493881225586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:04:03.129122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_55_9636.jpg', '/home/pi/Desktop/images/17122025/00/54/image_17122025_00_55_04_9628.jpg', '/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_14_9944.jpg', '/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_24_10326.jpg', '/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_34_9716.jpg', '/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_45_10620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_54_55_9636.jpg
/home/pi/Desktop/images/17122025/00/54/image_17122025_00_55_04_9628.jpg
/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_14_9944.jpg
/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_24_10326.jpg
/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_34_9716.jpg
/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_45_10620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399728726","1399728728","1399728725","1399728691","1399728730","1399728727"],"photo_ids_order":["1399728691","1399728725","1399728726","1399728727","1399728728","1399728730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d97c42a4ddff6356908c221015ca8409.jpg","text":"TemporaryFile(/tmp/multipartBody6507169783149258550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929903760,"filename":"image_17122025_00_55_14_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3227d697701a7c3490ba93d4a33d581.jpg","text":"TemporaryFile(/tmp/multipartBody2949606825278731099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929903760,"filename":"image_17122025_00_55_34_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0cb971571a810c27f8be180c9f74087a.jpg","text":"TemporaryFile(/tmp/multipartBody5836790224464115617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929903760,"filename":"image_17122025_00_55_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94fd4ad762ae8870310eb8ddfdbb1c9c.jpg","text":"TemporaryFile(/tmp/multipartBody80512292444610962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929903760,"filename":"image_17122025_00_54_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0662ec87a400b5fdedc59cde0e444603.jpg","text":"TemporaryFile(/tmp/multipartBody1137658443708581673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929903760,"filename":"image_17122025_00_55_45_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ee8cb969df56186b29f984341bea772.jpg","text":"TemporaryFile(/tmp/multipartBody576670540636959596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929903760,"filename":"image_17122025_00_55_24_10326.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399728726","file1":"1399728725","file0":"1399728691","file4":"1399728728","file5":"1399728730","file3":"1399728727"},"map_files_photo_id_array":[{"photo_id":"1399728730","filename":"file5"},{"photo_id":"1399728726","filename":"file2"},{"photo_id":"1399728728","filename":"file4"},{"photo_id":"1399728725","filename":"file1"},{"photo_id":"1399728691","filename":"file0"},{"photo_id":"1399728727","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399728726":["hashtag1","hashtag2"]},{"1399728728":["hashtag1","hashtag2"]},{"1399728725":["hashtag1","hashtag2"]},{"1399728691":["hashtag1","hashtag2"]},{"1399728730":["hashtag1","hashtag2"]},{"1399728727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399728726, 1399728728, 1399728725, 1399728691, 1399728730, 1399728727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61786866188049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:04:42.481069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_03_28571.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_05_2007.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_33_27617.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_34_1641.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_36_1574.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_38_1955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_03_28571.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_05_2007.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_33_27617.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_34_1641.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_36_1574.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_38_1955.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6547160148620605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:05:03.218661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_54_9637.jpg', '/home/pi/Desktop/images/17122025/00/55/image_17122025_00_56_04_9645.jpg', '/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_15_10707.jpg', '/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_25_9876.jpg', '/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_34_9706.jpg', '/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_45_10529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/55/image_17122025_00_55_54_9637.jpg
/home/pi/Desktop/images/17122025/00/55/image_17122025_00_56_04_9645.jpg
/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_15_10707.jpg
/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_25_9876.jpg
/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_34_9706.jpg
/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_45_10529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399728741","1399728744","1399728747","1399728746","1399728743","1399728742"],"photo_ids_order":["1399728741","1399728742","1399728743","1399728744","1399728746","1399728747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f0b5c07b8cfebaae97752cf0946ae52.jpg","text":"TemporaryFile(/tmp/multipartBody1929948845393651199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929963906,"filename":"image_17122025_00_55_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21087b6cc053c379db98c0b0962edb13.jpg","text":"TemporaryFile(/tmp/multipartBody9090589633373283248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929963906,"filename":"image_17122025_00_56_25_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/743275a66110c17c74c50ddd8431498c.jpg","text":"TemporaryFile(/tmp/multipartBody2511261558322432454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929963906,"filename":"image_17122025_00_56_45_10529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1e31801aa5d6923238e9e24ef82a84a.jpg","text":"TemporaryFile(/tmp/multipartBody3589272186546109976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929963906,"filename":"image_17122025_00_56_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffb1e9f66539c7577eb955011ffe42c6.jpg","text":"TemporaryFile(/tmp/multipartBody4286758392494073379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929963906,"filename":"image_17122025_00_56_15_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9c1124b75938e3d6e15886f70967a6e.jpg","text":"TemporaryFile(/tmp/multipartBody6433789223930734727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765929963906,"filename":"image_17122025_00_56_04_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399728743","file1":"1399728742","file0":"1399728741","file4":"1399728746","file5":"1399728747","file3":"1399728744"},"map_files_photo_id_array":[{"photo_id":"1399728747","filename":"file5"},{"photo_id":"1399728743","filename":"file2"},{"photo_id":"1399728746","filename":"file4"},{"photo_id":"1399728742","filename":"file1"},{"photo_id":"1399728741","filename":"file0"},{"photo_id":"1399728744","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399728741":["hashtag1","hashtag2"]},{"1399728744":["hashtag1","hashtag2"]},{"1399728747":["hashtag1","hashtag2"]},{"1399728746":["hashtag1","hashtag2"]},{"1399728743":["hashtag1","hashtag2"]},{"1399728742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399728741, 1399728744, 1399728747, 1399728746, 1399728743, 1399728742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.882312059402466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:05:42.873852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_03_28571.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_05_2007.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_33_27617.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_34_1641.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_36_1574.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_38_1955.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_03_28571.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_05_2007.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_33_27617.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_34_1641.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_36_1574.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_38_1955.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399728972","1399728939","1399728903","1399728788","1399728868","1399728832"],"photo_ids_order":["1399728788","1399728832","1399728868","1399728903","1399728939","1399728972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/849f3c2598b314843429bf404d1435c6.jpg","text":"TemporaryFile(/tmp/multipartBody173292587556178197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930003475,"filename":"image_07112025_15_25_38_1955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/364e18576867c7c3fed2eb3f39ef8f43.jpg","text":"TemporaryFile(/tmp/multipartBody6324224562360274355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930003475,"filename":"image_07112025_15_25_36_1574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5939e45229251a18216e769b7946a4d2.jpg","text":"TemporaryFile(/tmp/multipartBody8310509135955925936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930003475,"filename":"image_07112025_15_25_34_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bef93e7b77812b93c7854dc998f7c0c1.jpg","text":"TemporaryFile(/tmp/multipartBody5132585053049998311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930003475,"filename":"image_07112025_15_25_03_28571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be98ec2be173f9dc138134cf7d208fb2.jpg","text":"TemporaryFile(/tmp/multipartBody2322841583501628886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930003475,"filename":"image_07112025_15_25_33_27617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5027a5bc25c2e4d1df33f62b339ead30.jpg","text":"TemporaryFile(/tmp/multipartBody5789188051873197477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930003475,"filename":"image_07112025_15_25_05_2007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399728868","file1":"1399728832","file0":"1399728788","file4":"1399728939","file5":"1399728972","file3":"1399728903"},"map_files_photo_id_array":[{"photo_id":"1399728972","filename":"file5"},{"photo_id":"1399728868","filename":"file2"},{"photo_id":"1399728939","filename":"file4"},{"photo_id":"1399728832","filename":"file1"},{"photo_id":"1399728788","filename":"file0"},{"photo_id":"1399728903","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399728972":["hashtag1","hashtag2"]},{"1399728939":["hashtag1","hashtag2"]},{"1399728903":["hashtag1","hashtag2"]},{"1399728788":["hashtag1","hashtag2"]},{"1399728868":["hashtag1","hashtag2"]},{"1399728832":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399728972, 1399728939, 1399728903, 1399728788, 1399728868, 1399728832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88944888114929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:06:22.228473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_55_9753.jpg', '/home/pi/Desktop/images/17122025/00/56/image_17122025_00_57_04_9634.jpg', '/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_15_10692.jpg', '/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_25_9672.jpg', '/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_34_9601.jpg', '/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_45_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_55_9753.jpg
/home/pi/Desktop/images/17122025/00/56/image_17122025_00_57_04_9634.jpg
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_15_10692.jpg
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_25_9672.jpg
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_34_9601.jpg
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_45_10643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4752383232116699 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:06:32.153536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:06:42.198590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_44_5698.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_45_1546.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_47_1736.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_48_1681.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_50_1855.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_52_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_44_5698.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_45_1546.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_47_1736.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_48_1681.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_50_1855.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_52_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":["1399729251","1399729254","1399729218","1399729226","1399729291","1399729252"],"photo_ids_order":["1399729218","1399729226","1399729251","1399729252","1399729254","1399729291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d3485adb34ed0027ac77b3cc2bf8570.jpg","text":"TemporaryFile(/tmp/multipartBody2094323157358783171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930062926,"filename":"image_07112025_15_25_47_1736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/638a79b2991e9b682b42bbd930bc0f03.jpg","text":"TemporaryFile(/tmp/multipartBody3904887623523028152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930062926,"filename":"image_07112025_15_25_50_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9705fb8608a954e5ee479137457cef4.jpg","text":"TemporaryFile(/tmp/multipartBody2074450279481010816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930062926,"filename":"image_07112025_15_25_44_5698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b823eba237bb0619aee817b35d74fd6.jpg","text":"TemporaryFile(/tmp/multipartBody8710955746540026580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930062926,"filename":"image_07112025_15_25_45_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b33659c6da5535bdad718766cc8770ff.jpg","text":"TemporaryFile(/tmp/multipartBody8996943717254430465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930062926,"filename":"image_07112025_15_25_52_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e4b9af368696fe83cb464b5483a5bf4.jpg","text":"TemporaryFile(/tmp/multipartBody5402921368932504058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930062926,"filename":"image_07112025_15_25_48_1681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399729251","file1":"1399729226","file0":"1399729218","file4":"1399729254","file5":"1399729291","file3":"1399729252"},"map_files_photo_id_array":[{"photo_id":"1399729291","filename":"file5"},{"photo_id":"1399729251","filename":"file2"},{"photo_id":"1399729254","filename":"file4"},{"photo_id":"1399729226","filename":"file1"},{"photo_id":"1399729218","filename":"file0"},{"photo_id":"1399729252","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399729251":["hashtag1","hashtag2"]},{"1399729254":["hashtag1","hashtag2"]},{"1399729218":["hashtag1","hashtag2"]},{"1399729226":["hashtag1","hashtag2"]},{"1399729291":["hashtag1","hashtag2"]},{"1399729252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399729251, 1399729254, 1399729218, 1399729226, 1399729291, 1399729252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56399154663086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:07:22.422395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_55_9753.jpg', '/home/pi/Desktop/images/17122025/00/56/image_17122025_00_57_04_9634.jpg', '/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_15_10692.jpg', '/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_25_9672.jpg', '/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_34_9601.jpg', '/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_45_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/56/image_17122025_00_56_55_9753.jpg
/home/pi/Desktop/images/17122025/00/56/image_17122025_00_57_04_9634.jpg
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_15_10692.jpg
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_25_9672.jpg
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_34_9601.jpg
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_45_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399729595","1399729521","1399729416","1399729558","1399729486","1399729450"],"photo_ids_order":["1399729416","1399729450","1399729486","1399729521","1399729558","1399729595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c02f50c3dbaa212ffbd4cc83b56826af.jpg","text":"TemporaryFile(/tmp/multipartBody7672605417352163742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930102995,"filename":"image_17122025_00_57_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76f4a01930184a47c4c63a486cf00e04.jpg","text":"TemporaryFile(/tmp/multipartBody6182409852830129298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930102995,"filename":"image_17122025_00_57_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/765f7f23d74cfaadb73d5db6f968109c.jpg","text":"TemporaryFile(/tmp/multipartBody8917994031907219075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930102995,"filename":"image_17122025_00_56_55_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2082692e9d00f69abd061acdd42a9191.jpg","text":"TemporaryFile(/tmp/multipartBody4814379678137390670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930102995,"filename":"image_17122025_00_57_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02a83d8a3b0f9264453d069b8e377898.jpg","text":"TemporaryFile(/tmp/multipartBody4179659280128260033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930102995,"filename":"image_17122025_00_57_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c517e35ff79e64f8333a1e17c9cf821e.jpg","text":"TemporaryFile(/tmp/multipartBody6671746850057709395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930102995,"filename":"image_17122025_00_57_04_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399729486","file1":"1399729450","file0":"1399729416","file4":"1399729558","file5":"1399729595","file3":"1399729521"},"map_files_photo_id_array":[{"photo_id":"1399729595","filename":"file5"},{"photo_id":"1399729486","filename":"file2"},{"photo_id":"1399729558","filename":"file4"},{"photo_id":"1399729450","filename":"file1"},{"photo_id":"1399729416","filename":"file0"},{"photo_id":"1399729521","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399729595":["hashtag1","hashtag2"]},{"1399729521":["hashtag1","hashtag2"]},{"1399729416":["hashtag1","hashtag2"]},{"1399729558":["hashtag1","hashtag2"]},{"1399729486":["hashtag1","hashtag2"]},{"1399729450":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399729595, 1399729521, 1399729416, 1399729558, 1399729486, 1399729450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28078770637512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:08:03.328448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_55_9619.jpg', '/home/pi/Desktop/images/17122025/00/57/image_17122025_00_58_04_9801.jpg', '/home/pi/Desktop/images/17122025/00/58/image_17122025_00_58_14_9834.jpg', '/home/pi/Desktop/images/17122025/00/58/image_17122025_00_58_25_10572.jpg', '/home/pi/Desktop/images/17122025/00/58/image_17122025_00_58_45_10555.jpg', '/home/pi/Desktop/images/17122025/00/58/image_17122025_00_58_55_9553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_57_55_9619.jpg
/home/pi/Desktop/images/17122025/00/57/image_17122025_00_58_04_9801.jpg
/home/pi/Desktop/images/17122025/00/58/image_17122025_00_58_14_9834.jpg
/home/pi/Desktop/images/17122025/00/58/image_17122025_00_58_25_10572.jpg
/home/pi/Desktop/images/17122025/00/58/image_17122025_00_58_45_10555.jpg
/home/pi/Desktop/images/17122025/00/58/image_17122025_00_58_55_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":["1399729938","1399729868","1399729829","1399729903","1399729753","1399729791"],"photo_ids_order":["1399729753","1399729791","1399729829","1399729868","1399729903","1399729938"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/223bc54d0244851a36ecf4daaf131d5c.jpg","text":"TemporaryFile(/tmp/multipartBody1283754174880267206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930143974,"filename":"image_17122025_00_58_55_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa7020c0b28d0cd428d174b40d257ce8.jpg","text":"TemporaryFile(/tmp/multipartBody8296416536202010080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930143974,"filename":"image_17122025_00_58_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06455e1d1ad58627afbf5fe0c75e9436.jpg","text":"TemporaryFile(/tmp/multipartBody3239480775084091330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930143974,"filename":"image_17122025_00_58_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/559e5f7f0a9d3ddbc3f6fcf4beea2d85.jpg","text":"TemporaryFile(/tmp/multipartBody1981293432632580062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930143974,"filename":"image_17122025_00_58_45_10555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e4bff2264d3ec809bb1f4d602be91aa.jpg","text":"TemporaryFile(/tmp/multipartBody7269432450520066021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930143974,"filename":"image_17122025_00_57_55_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd419b8c71b553406ffd0b6a4b547aec.jpg","text":"TemporaryFile(/tmp/multipartBody5758282097068675795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930143974,"filename":"image_17122025_00_58_04_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399729829","file1":"1399729791","file0":"1399729753","file4":"1399729903","file5":"1399729938","file3":"1399729868"},"map_files_photo_id_array":[{"photo_id":"1399729938","filename":"file5"},{"photo_id":"1399729829","filename":"file2"},{"photo_id":"1399729903","filename":"file4"},{"photo_id":"1399729791","filename":"file1"},{"photo_id":"1399729753","filename":"file0"},{"photo_id":"1399729868","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399729938":["hashtag1","hashtag2"]},{"1399729868":["hashtag1","hashtag2"]},{"1399729829":["hashtag1","hashtag2"]},{"1399729903":["hashtag1","hashtag2"]},{"1399729753":["hashtag1","hashtag2"]},{"1399729791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399729938, 1399729868, 1399729829, 1399729903, 1399729753, 1399729791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16812229156494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:08:42.854839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_54_1621.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_55_1677.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_57_1720.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_59_1601.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_26_00_1619.jpg', '/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_04_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_54_1621.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_55_1677.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_57_1720.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_59_1601.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_26_00_1619.jpg
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_04_3660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6656255722045898 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:09:04.310310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 01:09:12.114888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:09:22.038082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/58/image_17122025_00_59_04_9712.jpg', '/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_15_10813.jpg', '/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_25_9637.jpg', '/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_34_9746.jpg', '/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_44_9712.jpg', '/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_55_10874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/58/image_17122025_00_59_04_9712.jpg
/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_15_10813.jpg
/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_25_9637.jpg
/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_34_9746.jpg
/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_44_9712.jpg
/home/pi/Desktop/images/17122025/00/59/image_17122025_00_59_55_10874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399730424","1399730427","1399730412","1399730372","1399730423","1399730428"],"photo_ids_order":["1399730372","1399730412","1399730423","1399730424","1399730427","1399730428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b127414bf5b6faf4ba5c53b1735a1999.jpg","text":"TemporaryFile(/tmp/multipartBody6852623229490358666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930222644,"filename":"image_17122025_00_59_34_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e106d7d7b4a265bb7bfafca738d76c03.jpg","text":"TemporaryFile(/tmp/multipartBody6077146470438122810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930222644,"filename":"image_17122025_00_59_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/caff6a1ea5e4bef8fdf7bcd9f9c7ad60.jpg","text":"TemporaryFile(/tmp/multipartBody2546151432735576062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930222644,"filename":"image_17122025_00_59_15_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fe5d154f91a1c5f181fbbccebe3ae2c.jpg","text":"TemporaryFile(/tmp/multipartBody8912300438234378476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930222644,"filename":"image_17122025_00_59_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd8596473a00509021e501ec1258f1d2.jpg","text":"TemporaryFile(/tmp/multipartBody4473747463040449549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930222644,"filename":"image_17122025_00_59_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d9e398791887888e6224abeb5fb0877.jpg","text":"TemporaryFile(/tmp/multipartBody8801520900406000441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930222644,"filename":"image_17122025_00_59_55_10874.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399730423","file1":"1399730412","file0":"1399730372","file4":"1399730427","file5":"1399730428","file3":"1399730424"},"map_files_photo_id_array":[{"photo_id":"1399730428","filename":"file5"},{"photo_id":"1399730423","filename":"file2"},{"photo_id":"1399730427","filename":"file4"},{"photo_id":"1399730412","filename":"file1"},{"photo_id":"1399730372","filename":"file0"},{"photo_id":"1399730424","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399730424":["hashtag1","hashtag2"]},{"1399730427":["hashtag1","hashtag2"]},{"1399730412":["hashtag1","hashtag2"]},{"1399730372":["hashtag1","hashtag2"]},{"1399730423":["hashtag1","hashtag2"]},{"1399730428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399730424, 1399730427, 1399730412, 1399730372, 1399730423, 1399730428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.19425415992737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:10:02.347964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/00/59/image_17122025_01_00_05_9720.jpg', '/home/pi/Desktop/images/17122025/01/00/image_17122025_01_00_14_9690.jpg', '/home/pi/Desktop/images/17122025/01/00/image_17122025_01_00_35_10729.jpg', '/home/pi/Desktop/images/17122025/01/00/image_17122025_01_00_45_9586.jpg', '/home/pi/Desktop/images/17122025/01/00/image_17122025_01_00_54_9832.jpg', '/home/pi/Desktop/images/17122025/01/00/image_17122025_01_01_04_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/00/59/image_17122025_01_00_05_9720.jpg
/home/pi/Desktop/images/17122025/01/00/image_17122025_01_00_14_9690.jpg
/home/pi/Desktop/images/17122025/01/00/image_17122025_01_00_35_10729.jpg
/home/pi/Desktop/images/17122025/01/00/image_17122025_01_00_45_9586.jpg
/home/pi/Desktop/images/17122025/01/00/image_17122025_01_00_54_9832.jpg
/home/pi/Desktop/images/17122025/01/00/image_17122025_01_01_04_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399730499","1399730535","1399730430","1399730429","1399730464","1399730431"],"photo_ids_order":["1399730429","1399730430","1399730431","1399730464","1399730499","1399730535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9db06513de9b97329b3e4eac81f82d1.jpg","text":"TemporaryFile(/tmp/multipartBody2916292317985962306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930262963,"filename":"image_17122025_01_00_54_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31dbd69de8cdd5b29f42b3bb57d72c7d.jpg","text":"TemporaryFile(/tmp/multipartBody5009789176330641200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930262963,"filename":"image_17122025_01_01_04_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e98fdfc6d680b824f9333eee9e76d356.jpg","text":"TemporaryFile(/tmp/multipartBody8782669389957684444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930262963,"filename":"image_17122025_01_00_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/febdee15e095f139c1014013c3ee5885.jpg","text":"TemporaryFile(/tmp/multipartBody2788804645202015402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930262963,"filename":"image_17122025_01_00_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d1bd150c27939554090c586f40b4712.jpg","text":"TemporaryFile(/tmp/multipartBody6877106991086377666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930262963,"filename":"image_17122025_01_00_45_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50dc3dab0ef71fdb30c22e08354d0c94.jpg","text":"TemporaryFile(/tmp/multipartBody9011708698599755751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930262963,"filename":"image_17122025_01_00_35_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399730431","file1":"1399730430","file0":"1399730429","file4":"1399730499","file5":"1399730535","file3":"1399730464"},"map_files_photo_id_array":[{"photo_id":"1399730535","filename":"file5"},{"photo_id":"1399730431","filename":"file2"},{"photo_id":"1399730499","filename":"file4"},{"photo_id":"1399730430","filename":"file1"},{"photo_id":"1399730429","filename":"file0"},{"photo_id":"1399730464","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399730499":["hashtag1","hashtag2"]},{"1399730535":["hashtag1","hashtag2"]},{"1399730430":["hashtag1","hashtag2"]},{"1399730429":["hashtag1","hashtag2"]},{"1399730464":["hashtag1","hashtag2"]},{"1399730431":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399730499, 1399730535, 1399730430, 1399730429, 1399730464, 1399730431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9530463218689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:10:41.838979
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_54_1621.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_55_1677.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_57_1720.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_59_1601.jpg', '/home/pi/Desktop/images/07112025/15/25/image_07112025_15_26_00_1619.jpg', '/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_04_3660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_54_1621.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_55_1677.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_57_1720.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_25_59_1601.jpg
/home/pi/Desktop/images/07112025/15/25/image_07112025_15_26_00_1619.jpg
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_04_3660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399730661","1399730663","1399730651","1399730726","1399730689","1399730665"],"photo_ids_order":["1399730651","1399730661","1399730663","1399730665","1399730689","1399730726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf0d1010327c649598f56474f46a9cac.jpg","text":"TemporaryFile(/tmp/multipartBody5912006496723607494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930302438,"filename":"image_07112025_15_25_55_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c34e5a57dbd22b8727a1d2db40f24de.jpg","text":"TemporaryFile(/tmp/multipartBody3249405611476562754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930302438,"filename":"image_07112025_15_25_57_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be99994cdea2c5118bdcccaf8b72bd6e.jpg","text":"TemporaryFile(/tmp/multipartBody678741076150707224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930302438,"filename":"image_07112025_15_25_54_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70d05f36d57176aca55de8e05f60a025.jpg","text":"TemporaryFile(/tmp/multipartBody413295779384401465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930302438,"filename":"image_07112025_15_26_04_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/524655eb8127e6c80ebfffdf337fe6a4.jpg","text":"TemporaryFile(/tmp/multipartBody511340068876338046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930302438,"filename":"image_07112025_15_26_00_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cfb09a14cab651f25348f777cc39817.jpg","text":"TemporaryFile(/tmp/multipartBody185512203906697086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930302438,"filename":"image_07112025_15_25_59_1601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399730663","file1":"1399730661","file0":"1399730651","file4":"1399730689","file5":"1399730726","file3":"1399730665"},"map_files_photo_id_array":[{"photo_id":"1399730726","filename":"file5"},{"photo_id":"1399730663","filename":"file2"},{"photo_id":"1399730689","filename":"file4"},{"photo_id":"1399730661","filename":"file1"},{"photo_id":"1399730651","filename":"file0"},{"photo_id":"1399730665","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399730661":["hashtag1","hashtag2"]},{"1399730663":["hashtag1","hashtag2"]},{"1399730651":["hashtag1","hashtag2"]},{"1399730726":["hashtag1","hashtag2"]},{"1399730689":["hashtag1","hashtag2"]},{"1399730665":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399730661, 1399730663, 1399730651, 1399730726, 1399730689, 1399730665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10501050949097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:11:22.125890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_15_10705.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_25_9632.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_34_9752.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_45_10626.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_55_9884.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_02_04_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_15_10705.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_25_9632.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_34_9752.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_45_10626.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_55_9884.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_02_04_9537.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47621893882751465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:11:38.232445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:11:42.127100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_06_1876.jpg', '/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_09_2735.jpg', '/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_10_1640.jpg', '/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_12_1666.jpg', '/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_44_32275.jpg', '/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_53_9032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_06_1876.jpg
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_09_2735.jpg
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_10_1640.jpg
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_12_1666.jpg
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_44_32275.jpg
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_53_9032.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399730800","1399730799","1399730790","1399730802","1399730798","1399730801"],"photo_ids_order":["1399730790","1399730798","1399730799","1399730800","1399730801","1399730802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d97404e1f3c0a29b1781b1b482d7e293.jpg","text":"TemporaryFile(/tmp/multipartBody1166941738369575957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930362914,"filename":"image_07112025_15_26_12_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60c1bd4cc1adcedb282f7e0e1ab75ed4.jpg","text":"TemporaryFile(/tmp/multipartBody6816712387285962773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930362914,"filename":"image_07112025_15_26_10_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5813cc9775b03c8e27e7108dbd7ad9e.jpg","text":"TemporaryFile(/tmp/multipartBody5430850755229749311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930362914,"filename":"image_07112025_15_26_06_1876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4b10e910174c23d010fcb0e4e8a1d6c.jpg","text":"TemporaryFile(/tmp/multipartBody6114202122614960147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930362914,"filename":"image_07112025_15_26_53_9032.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/860522346ee693fc1434c3d8d61cf5e3.jpg","text":"TemporaryFile(/tmp/multipartBody4604586976105585279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930362914,"filename":"image_07112025_15_26_09_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/772736d8d9655042f866435107028f21.jpg","text":"TemporaryFile(/tmp/multipartBody8875793562212512444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930362914,"filename":"image_07112025_15_26_44_32275.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399730799","file1":"1399730798","file0":"1399730790","file4":"1399730801","file5":"1399730802","file3":"1399730800"},"map_files_photo_id_array":[{"photo_id":"1399730802","filename":"file5"},{"photo_id":"1399730799","filename":"file2"},{"photo_id":"1399730801","filename":"file4"},{"photo_id":"1399730798","filename":"file1"},{"photo_id":"1399730790","filename":"file0"},{"photo_id":"1399730800","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399730800":["hashtag1","hashtag2"]},{"1399730799":["hashtag1","hashtag2"]},{"1399730790":["hashtag1","hashtag2"]},{"1399730802":["hashtag1","hashtag2"]},{"1399730798":["hashtag1","hashtag2"]},{"1399730801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399730800, 1399730799, 1399730790, 1399730802, 1399730798, 1399730801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.827900409698486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:12:22.292825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_15_10705.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_25_9632.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_34_9752.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_45_10626.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_55_9884.jpg', '/home/pi/Desktop/images/17122025/01/01/image_17122025_01_02_04_9537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_15_10705.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_25_9632.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_34_9752.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_45_10626.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_01_55_9884.jpg
/home/pi/Desktop/images/17122025/01/01/image_17122025_01_02_04_9537.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399730827","1399730826","1399730823","1399730805","1399730804","1399730807"],"photo_ids_order":["1399730804","1399730805","1399730807","1399730823","1399730826","1399730827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de4543921462f34239f362e736899fc7.jpg","text":"TemporaryFile(/tmp/multipartBody3544776155512052630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930402881,"filename":"image_17122025_01_02_04_9537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a64d8ffee3023e17333a4c4d096c18d.jpg","text":"TemporaryFile(/tmp/multipartBody9107813365889889986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930402881,"filename":"image_17122025_01_01_55_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c7ad5e774e3b02a17baa9c69ca08e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2494078430534704940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930402881,"filename":"image_17122025_01_01_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b3c4afa092e77d37e483813140b865f.jpg","text":"TemporaryFile(/tmp/multipartBody3909125987621736188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930402881,"filename":"image_17122025_01_01_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9077c5d47a35a0f656ca13749712d40.jpg","text":"TemporaryFile(/tmp/multipartBody6775338098683857621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930402881,"filename":"image_17122025_01_01_15_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58a10ce1ff0ef1c557fbb1894cdcc6f2.jpg","text":"TemporaryFile(/tmp/multipartBody8421075507163369809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930402881,"filename":"image_17122025_01_01_34_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399730807","file1":"1399730805","file0":"1399730804","file4":"1399730826","file5":"1399730827","file3":"1399730823"},"map_files_photo_id_array":[{"photo_id":"1399730827","filename":"file5"},{"photo_id":"1399730807","filename":"file2"},{"photo_id":"1399730826","filename":"file4"},{"photo_id":"1399730805","filename":"file1"},{"photo_id":"1399730804","filename":"file0"},{"photo_id":"1399730823","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399730827":["hashtag1","hashtag2"]},{"1399730826":["hashtag1","hashtag2"]},{"1399730823":["hashtag1","hashtag2"]},{"1399730805":["hashtag1","hashtag2"]},{"1399730804":["hashtag1","hashtag2"]},{"1399730807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399730827, 1399730826, 1399730823, 1399730805, 1399730804, 1399730807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.88950276374817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:13:03.228002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_14_9885.jpg', '/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_25_10608.jpg', '/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_34_9656.jpg', '/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_44_9590.jpg', '/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_55_10668.jpg', '/home/pi/Desktop/images/17122025/01/02/image_17122025_01_03_04_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_14_9885.jpg
/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_25_10608.jpg
/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_34_9656.jpg
/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_44_9590.jpg
/home/pi/Desktop/images/17122025/01/02/image_17122025_01_02_55_10668.jpg
/home/pi/Desktop/images/17122025/01/02/image_17122025_01_03_04_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399730850","1399730853","1399730847","1399730849","1399730851","1399730848"],"photo_ids_order":["1399730847","1399730848","1399730849","1399730850","1399730851","1399730853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e91bcfc53151d4c5f28452590cf7570.jpg","text":"TemporaryFile(/tmp/multipartBody3474008576418790270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930443871,"filename":"image_17122025_01_02_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69420f1be160f21ef69f233b880beabe.jpg","text":"TemporaryFile(/tmp/multipartBody9178689009413364424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930443871,"filename":"image_17122025_01_03_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2230483acbc75f34a1cb73d63f7c339e.jpg","text":"TemporaryFile(/tmp/multipartBody6669161704904050823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930443871,"filename":"image_17122025_01_02_14_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1190e1f1c3c7328ac2d28840ed29ce9.jpg","text":"TemporaryFile(/tmp/multipartBody7023104412568867948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930443871,"filename":"image_17122025_01_02_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f150dc9a1217f2eb05df7d0125aadad.jpg","text":"TemporaryFile(/tmp/multipartBody4564458892251369717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930443871,"filename":"image_17122025_01_02_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1953d72e458730656e7ad4454eea948a.jpg","text":"TemporaryFile(/tmp/multipartBody1159926860571663419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930443871,"filename":"image_17122025_01_02_25_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399730849","file1":"1399730848","file0":"1399730847","file4":"1399730851","file5":"1399730853","file3":"1399730850"},"map_files_photo_id_array":[{"photo_id":"1399730853","filename":"file5"},{"photo_id":"1399730849","filename":"file2"},{"photo_id":"1399730851","filename":"file4"},{"photo_id":"1399730848","filename":"file1"},{"photo_id":"1399730847","filename":"file0"},{"photo_id":"1399730850","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399730850":["hashtag1","hashtag2"]},{"1399730853":["hashtag1","hashtag2"]},{"1399730847":["hashtag1","hashtag2"]},{"1399730849":["hashtag1","hashtag2"]},{"1399730851":["hashtag1","hashtag2"]},{"1399730848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399730850, 1399730853, 1399730847, 1399730849, 1399730851, 1399730848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30393862724304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:13:42.565324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_55_1647.jpg', '/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_56_1665.jpg', '/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_58_1595.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_01_2928.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_04_2661.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_05_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_55_1647.jpg
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_56_1665.jpg
/home/pi/Desktop/images/07112025/15/26/image_07112025_15_26_58_1595.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_01_2928.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_04_2661.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_05_1621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399730922","1399730993","1399730888","1399730858","1399730860","1399730956"],"photo_ids_order":["1399730858","1399730860","1399730888","1399730922","1399730956","1399730993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af65b37638f4b7b1dabee2b1dceeb3f8.jpg","text":"TemporaryFile(/tmp/multipartBody2922906137519855163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930483279,"filename":"image_07112025_15_27_01_2928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/489dbad8ec114f8ba2b200f527fdcaa2.jpg","text":"TemporaryFile(/tmp/multipartBody3840873500574315693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930483279,"filename":"image_07112025_15_27_05_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/967c17441aa75ddb56563180c3c26b6f.jpg","text":"TemporaryFile(/tmp/multipartBody5784068647310433533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930483279,"filename":"image_07112025_15_26_58_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bd4c49056c8de4bd7523572036eb6da.jpg","text":"TemporaryFile(/tmp/multipartBody7654424384521760424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930483279,"filename":"image_07112025_15_26_55_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/260af72c5650a6a426826c5c180abf48.jpg","text":"TemporaryFile(/tmp/multipartBody4177590156236328612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930483279,"filename":"image_07112025_15_26_56_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd5ec73201fbb6a88181256736f71724.jpg","text":"TemporaryFile(/tmp/multipartBody6210854165362423706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930483279,"filename":"image_07112025_15_27_04_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399730888","file1":"1399730860","file0":"1399730858","file4":"1399730956","file5":"1399730993","file3":"1399730922"},"map_files_photo_id_array":[{"photo_id":"1399730993","filename":"file5"},{"photo_id":"1399730888","filename":"file2"},{"photo_id":"1399730956","filename":"file4"},{"photo_id":"1399730860","filename":"file1"},{"photo_id":"1399730858","filename":"file0"},{"photo_id":"1399730922","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399730922":["hashtag1","hashtag2"]},{"1399730993":["hashtag1","hashtag2"]},{"1399730888":["hashtag1","hashtag2"]},{"1399730858":["hashtag1","hashtag2"]},{"1399730860":["hashtag1","hashtag2"]},{"1399730956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399730922, 1399730993, 1399730888, 1399730858, 1399730860, 1399730956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.23739814758301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:14:22.829229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_14_9707.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_25_10612.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_34_9726.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_44_9682.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_55_10795.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_04_05_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_14_9707.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_25_10612.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_34_9726.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_44_9682.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_55_10795.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_04_05_9731.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47487330436706543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:14:32.911672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:14:42.759601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_09_1647.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_10_1619.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_12_1545.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_13_1693.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_15_1637.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_17_1638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_09_1647.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_10_1619.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_12_1545.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_13_1693.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_15_1637.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_17_1638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731162","1399731137","1399731160","1399731163","1399731124","1399731133"],"photo_ids_order":["1399731124","1399731133","1399731137","1399731160","1399731162","1399731163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dad7b6d659f2089f06f66fce5e6b0e5.jpg","text":"TemporaryFile(/tmp/multipartBody5203750737158118128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930543496,"filename":"image_07112025_15_27_15_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23d81d1463e9dec9caca1c9692ed9820.jpg","text":"TemporaryFile(/tmp/multipartBody8497709128385023335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930543496,"filename":"image_07112025_15_27_12_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f8e44f5119a2acf7c6fb9713da5cc6d.jpg","text":"TemporaryFile(/tmp/multipartBody4690241372085263335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930543496,"filename":"image_07112025_15_27_13_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e01a80e86355896f694247aed0b17e25.jpg","text":"TemporaryFile(/tmp/multipartBody9010828063297109653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930543496,"filename":"image_07112025_15_27_17_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecadabe113920ea62554a373296e6918.jpg","text":"TemporaryFile(/tmp/multipartBody9014984621026371745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930543496,"filename":"image_07112025_15_27_09_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e30a167a3d8e59ce4dd7b7b1e41737b.jpg","text":"TemporaryFile(/tmp/multipartBody8134575023996514836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930543496,"filename":"image_07112025_15_27_10_1619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731137","file1":"1399731133","file0":"1399731124","file4":"1399731162","file5":"1399731163","file3":"1399731160"},"map_files_photo_id_array":[{"photo_id":"1399731163","filename":"file5"},{"photo_id":"1399731137","filename":"file2"},{"photo_id":"1399731162","filename":"file4"},{"photo_id":"1399731133","filename":"file1"},{"photo_id":"1399731124","filename":"file0"},{"photo_id":"1399731160","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731162":["hashtag1","hashtag2"]},{"1399731137":["hashtag1","hashtag2"]},{"1399731160":["hashtag1","hashtag2"]},{"1399731163":["hashtag1","hashtag2"]},{"1399731124":["hashtag1","hashtag2"]},{"1399731133":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731162, 1399731137, 1399731160, 1399731163, 1399731124, 1399731133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3266544342041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:15:21.978702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_14_9707.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_25_10612.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_34_9726.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_44_9682.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_55_10795.jpg', '/home/pi/Desktop/images/17122025/01/03/image_17122025_01_04_05_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_14_9707.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_25_10612.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_34_9726.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_44_9682.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_03_55_10795.jpg
/home/pi/Desktop/images/17122025/01/03/image_17122025_01_04_05_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731219","1399731213","1399731221","1399731215","1399731223","1399731217"],"photo_ids_order":["1399731213","1399731215","1399731217","1399731219","1399731221","1399731223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54335f90aecd1cb6b4e3f37e46b0fd32.jpg","text":"TemporaryFile(/tmp/multipartBody7459017631452468831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930582597,"filename":"image_17122025_01_03_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/932cefe0896a7e3f265b69bfeb22c076.jpg","text":"TemporaryFile(/tmp/multipartBody279041024429500727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930582597,"filename":"image_17122025_01_03_14_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb99745a8c21e15c7e582b1557346397.jpg","text":"TemporaryFile(/tmp/multipartBody7379505530250946320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930582597,"filename":"image_17122025_01_03_55_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/330fce4709b10d1fc355eef97e8f3433.jpg","text":"TemporaryFile(/tmp/multipartBody7998874965156434456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930582597,"filename":"image_17122025_01_03_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/254e25f9a11e3266107b6404a9c7ac32.jpg","text":"TemporaryFile(/tmp/multipartBody66022272749354183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930582597,"filename":"image_17122025_01_04_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b2061ec0cdc5e7cc932988d0fef176c.jpg","text":"TemporaryFile(/tmp/multipartBody5572178347596715766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930582597,"filename":"image_17122025_01_03_34_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731217","file1":"1399731215","file0":"1399731213","file4":"1399731221","file5":"1399731223","file3":"1399731219"},"map_files_photo_id_array":[{"photo_id":"1399731223","filename":"file5"},{"photo_id":"1399731217","filename":"file2"},{"photo_id":"1399731221","filename":"file4"},{"photo_id":"1399731215","filename":"file1"},{"photo_id":"1399731213","filename":"file0"},{"photo_id":"1399731219","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731219":["hashtag1","hashtag2"]},{"1399731213":["hashtag1","hashtag2"]},{"1399731221":["hashtag1","hashtag2"]},{"1399731215":["hashtag1","hashtag2"]},{"1399731223":["hashtag1","hashtag2"]},{"1399731217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731219, 1399731213, 1399731221, 1399731215, 1399731223, 1399731217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87769913673401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:16:02.805188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_14_9773.jpg', '/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_24_9715.jpg', '/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_35_10713.jpg', '/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_44_9568.jpg', '/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_54_9660.jpg', '/home/pi/Desktop/images/17122025/01/04/image_17122025_01_05_05_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_14_9773.jpg
/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_24_9715.jpg
/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_35_10713.jpg
/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_44_9568.jpg
/home/pi/Desktop/images/17122025/01/04/image_17122025_01_04_54_9660.jpg
/home/pi/Desktop/images/17122025/01/04/image_17122025_01_05_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":["1399731225","1399731228","1399731227","1399731224","1399731226","1399731229"],"photo_ids_order":["1399731224","1399731225","1399731226","1399731227","1399731228","1399731229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5714716991eedca28359a1b5eec38d11.jpg","text":"TemporaryFile(/tmp/multipartBody6278320062254690398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930623446,"filename":"image_17122025_01_04_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7eb2fc1a66a548b502d8b27b39d9ac6d.jpg","text":"TemporaryFile(/tmp/multipartBody3603454869537199991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930623446,"filename":"image_17122025_01_04_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/587b79f33d8ba3828dc1177b3a09919c.jpg","text":"TemporaryFile(/tmp/multipartBody4938746445929749018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930623446,"filename":"image_17122025_01_04_44_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79dd77f70ac9494664a4afa2312a4cda.jpg","text":"TemporaryFile(/tmp/multipartBody573730290506420785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930623446,"filename":"image_17122025_01_04_14_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec5395b305eee74c6c32cc99293b05eb.jpg","text":"TemporaryFile(/tmp/multipartBody3459261921495613924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930623446,"filename":"image_17122025_01_04_35_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c6028a9a429b129fc3a49362ca52d86.jpg","text":"TemporaryFile(/tmp/multipartBody4804629487071316577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930623446,"filename":"image_17122025_01_05_05_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731226","file1":"1399731225","file0":"1399731224","file4":"1399731228","file5":"1399731229","file3":"1399731227"},"map_files_photo_id_array":[{"photo_id":"1399731229","filename":"file5"},{"photo_id":"1399731226","filename":"file2"},{"photo_id":"1399731228","filename":"file4"},{"photo_id":"1399731225","filename":"file1"},{"photo_id":"1399731224","filename":"file0"},{"photo_id":"1399731227","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731225":["hashtag1","hashtag2"]},{"1399731228":["hashtag1","hashtag2"]},{"1399731227":["hashtag1","hashtag2"]},{"1399731224":["hashtag1","hashtag2"]},{"1399731226":["hashtag1","hashtag2"]},{"1399731229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731225, 1399731228, 1399731227, 1399731224, 1399731226, 1399731229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.691911458969116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:16:42.321855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_24_7457.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_26_1728.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_28_1614.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_30_2191.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_31_1716.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_33_1534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_24_7457.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_26_1728.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_28_1614.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_30_2191.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_31_1716.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_33_1534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731240","1399731234","1399731242","1399731236","1399731244","1399731238"],"photo_ids_order":["1399731234","1399731236","1399731238","1399731240","1399731242","1399731244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/261a7877df87fdda1abe8cbd897caea7.jpg","text":"TemporaryFile(/tmp/multipartBody9223232464300379441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930663087,"filename":"image_07112025_15_27_30_2191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9efa044ad24474607eb0b91ef6dc07ad.jpg","text":"TemporaryFile(/tmp/multipartBody5251760164797565873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930663087,"filename":"image_07112025_15_27_24_7457.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40200c7467a08022e4a95ae4a8f1f02e.jpg","text":"TemporaryFile(/tmp/multipartBody6439137618348930157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930663087,"filename":"image_07112025_15_27_31_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9253e1bb2efab11c1d74ececa25e9cf7.jpg","text":"TemporaryFile(/tmp/multipartBody6114161390719022473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930663087,"filename":"image_07112025_15_27_26_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a862bbbc0db56c33db3e341216d581d.jpg","text":"TemporaryFile(/tmp/multipartBody1692518069104179277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930663087,"filename":"image_07112025_15_27_33_1534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7257d7a20a62ee6cbb36ce6bd11d627.jpg","text":"TemporaryFile(/tmp/multipartBody8768201061286693997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930663087,"filename":"image_07112025_15_27_28_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731238","file1":"1399731236","file0":"1399731234","file4":"1399731242","file5":"1399731244","file3":"1399731240"},"map_files_photo_id_array":[{"photo_id":"1399731244","filename":"file5"},{"photo_id":"1399731238","filename":"file2"},{"photo_id":"1399731242","filename":"file4"},{"photo_id":"1399731236","filename":"file1"},{"photo_id":"1399731234","filename":"file0"},{"photo_id":"1399731240","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731240":["hashtag1","hashtag2"]},{"1399731234":["hashtag1","hashtag2"]},{"1399731242":["hashtag1","hashtag2"]},{"1399731236":["hashtag1","hashtag2"]},{"1399731244":["hashtag1","hashtag2"]},{"1399731238":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731240, 1399731234, 1399731242, 1399731236, 1399731244, 1399731238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01407313346863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:17:22.565980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_14_9711.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_25_10582.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_35_9641.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_44_9588.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_55_10604.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_06_05_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_14_9711.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_25_10582.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_35_9641.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_44_9588.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_55_10604.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_06_05_9720.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.47715163230895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:17:32.581101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:17:42.690140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_54_20535.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_55_1654.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_57_1794.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_59_1648.jpg', '/home/pi/Desktop/images/07112025/15/27/image_07112025_15_28_00_1868.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_02_1699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_54_20535.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_55_1654.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_57_1794.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_27_59_1648.jpg
/home/pi/Desktop/images/07112025/15/27/image_07112025_15_28_00_1868.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_02_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":["1399731255","1399731264","1399731266","1399731268","1399731265","1399731267"],"photo_ids_order":["1399731255","1399731264","1399731265","1399731266","1399731267","1399731268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/350fcafd6754a740782c6fdf97ca1c78.jpg","text":"TemporaryFile(/tmp/multipartBody3798102177907692528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930723396,"filename":"image_07112025_15_27_54_20535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f050c9d25bf684159552110b8352c810.jpg","text":"TemporaryFile(/tmp/multipartBody211498894849140468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930723396,"filename":"image_07112025_15_27_55_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d01b48519aee3a100040a06ddea19773.jpg","text":"TemporaryFile(/tmp/multipartBody5813516529383488736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930723396,"filename":"image_07112025_15_27_59_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2dee0dc08ae5a261e579cef5c9dd6ab.jpg","text":"TemporaryFile(/tmp/multipartBody871103981342975052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930723396,"filename":"image_07112025_15_28_02_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/355e72373d5a8dafde6462539e3b2c1d.jpg","text":"TemporaryFile(/tmp/multipartBody2244165914246729653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930723396,"filename":"image_07112025_15_27_57_1794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29d26169d12f5f29ade1c541b90e1bbc.jpg","text":"TemporaryFile(/tmp/multipartBody3850338184589895081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930723396,"filename":"image_07112025_15_28_00_1868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731265","file1":"1399731264","file0":"1399731255","file4":"1399731267","file5":"1399731268","file3":"1399731266"},"map_files_photo_id_array":[{"photo_id":"1399731268","filename":"file5"},{"photo_id":"1399731265","filename":"file2"},{"photo_id":"1399731267","filename":"file4"},{"photo_id":"1399731264","filename":"file1"},{"photo_id":"1399731255","filename":"file0"},{"photo_id":"1399731266","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731255":["hashtag1","hashtag2"]},{"1399731264":["hashtag1","hashtag2"]},{"1399731266":["hashtag1","hashtag2"]},{"1399731268":["hashtag1","hashtag2"]},{"1399731265":["hashtag1","hashtag2"]},{"1399731267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731255, 1399731264, 1399731266, 1399731268, 1399731265, 1399731267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74484324455261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:18:21.986382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_14_9711.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_25_10582.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_35_9641.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_44_9588.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_55_10604.jpg', '/home/pi/Desktop/images/17122025/01/05/image_17122025_01_06_05_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_14_9711.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_25_10582.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_35_9641.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_44_9588.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_05_55_10604.jpg
/home/pi/Desktop/images/17122025/01/05/image_17122025_01_06_05_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":["1399731275","1399731269","1399731277","1399731271","1399731279","1399731273"],"photo_ids_order":["1399731269","1399731271","1399731273","1399731275","1399731277","1399731279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2745ff99f8f3497d4e613635f41c308.jpg","text":"TemporaryFile(/tmp/multipartBody4674229050876537355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930762615,"filename":"image_17122025_01_05_44_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51463574444288646b0ebfbb45fc0448.jpg","text":"TemporaryFile(/tmp/multipartBody225464673751519470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930762615,"filename":"image_17122025_01_05_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c47288a0db87cabfb4a33470aa47910.jpg","text":"TemporaryFile(/tmp/multipartBody4216510063332831318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930762615,"filename":"image_17122025_01_05_55_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ca34c540d21c26999e3e1c3359d13bf.jpg","text":"TemporaryFile(/tmp/multipartBody9145632253079696936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930762615,"filename":"image_17122025_01_05_25_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c058b9b22767f7f538cededd75f57b92.jpg","text":"TemporaryFile(/tmp/multipartBody344701969072753915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930762615,"filename":"image_17122025_01_06_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af122bc3ae7638952ab8c1968941895a.jpg","text":"TemporaryFile(/tmp/multipartBody8310634580053273047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930762615,"filename":"image_17122025_01_05_35_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731273","file1":"1399731271","file0":"1399731269","file4":"1399731277","file5":"1399731279","file3":"1399731275"},"map_files_photo_id_array":[{"photo_id":"1399731279","filename":"file5"},{"photo_id":"1399731273","filename":"file2"},{"photo_id":"1399731277","filename":"file4"},{"photo_id":"1399731271","filename":"file1"},{"photo_id":"1399731269","filename":"file0"},{"photo_id":"1399731275","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731275":["hashtag1","hashtag2"]},{"1399731269":["hashtag1","hashtag2"]},{"1399731277":["hashtag1","hashtag2"]},{"1399731271":["hashtag1","hashtag2"]},{"1399731279":["hashtag1","hashtag2"]},{"1399731273":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731275, 1399731269, 1399731277, 1399731271, 1399731279, 1399731273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31943488121033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:19:03.207140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/06/image_17122025_01_06_14_9626.jpg', '/home/pi/Desktop/images/17122025/01/06/image_17122025_01_06_25_10715.jpg', '/home/pi/Desktop/images/17122025/01/06/image_17122025_01_06_35_9726.jpg', '/home/pi/Desktop/images/17122025/01/06/image_17122025_01_06_55_10655.jpg', '/home/pi/Desktop/images/17122025/01/06/image_17122025_01_07_05_9630.jpg', '/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_15_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/06/image_17122025_01_06_14_9626.jpg
/home/pi/Desktop/images/17122025/01/06/image_17122025_01_06_25_10715.jpg
/home/pi/Desktop/images/17122025/01/06/image_17122025_01_06_35_9726.jpg
/home/pi/Desktop/images/17122025/01/06/image_17122025_01_06_55_10655.jpg
/home/pi/Desktop/images/17122025/01/06/image_17122025_01_07_05_9630.jpg
/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_15_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731282","1399731281","1399731284","1399731287","1399731286","1399731283"],"photo_ids_order":["1399731281","1399731282","1399731283","1399731284","1399731286","1399731287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/747dc9dc07022b038d6d987a4eedc545.jpg","text":"TemporaryFile(/tmp/multipartBody2943906355038143438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930803981,"filename":"image_17122025_01_06_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/092b748d5051c1fd3b6f343964b6fb55.jpg","text":"TemporaryFile(/tmp/multipartBody6946944961955891529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930803981,"filename":"image_17122025_01_06_14_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3480e80fec65a5ade57b527148c2ed7b.jpg","text":"TemporaryFile(/tmp/multipartBody8058185115389535144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930803981,"filename":"image_17122025_01_06_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd608f0fbda3758d0d0877908b6eff48.jpg","text":"TemporaryFile(/tmp/multipartBody6072124689667788851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930803981,"filename":"image_17122025_01_07_15_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d11730e512ee872b3c632f973afbc0ab.jpg","text":"TemporaryFile(/tmp/multipartBody2942505679806152498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930803981,"filename":"image_17122025_01_07_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b08f5dadf030228724f26f386b28df8a.jpg","text":"TemporaryFile(/tmp/multipartBody5134435870551532102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930803981,"filename":"image_17122025_01_06_35_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731283","file1":"1399731282","file0":"1399731281","file4":"1399731286","file5":"1399731287","file3":"1399731284"},"map_files_photo_id_array":[{"photo_id":"1399731287","filename":"file5"},{"photo_id":"1399731283","filename":"file2"},{"photo_id":"1399731286","filename":"file4"},{"photo_id":"1399731282","filename":"file1"},{"photo_id":"1399731281","filename":"file0"},{"photo_id":"1399731284","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731282":["hashtag1","hashtag2"]},{"1399731281":["hashtag1","hashtag2"]},{"1399731284":["hashtag1","hashtag2"]},{"1399731287":["hashtag1","hashtag2"]},{"1399731286":["hashtag1","hashtag2"]},{"1399731283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731282, 1399731281, 1399731284, 1399731287, 1399731286, 1399731283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26963233947754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:19:42.227591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_04_1718.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_05_1521.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_07_1665.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_09_1750.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_11_1837.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_12_1716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_04_1718.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_05_1521.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_07_1665.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_09_1750.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_11_1837.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_12_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":["1399731296","1399731299","1399731292","1399731295","1399731297","1399731294"],"photo_ids_order":["1399731292","1399731294","1399731295","1399731296","1399731297","1399731299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfe60aefeb7060913c976042916d51e0.jpg","text":"TemporaryFile(/tmp/multipartBody3819383917854734983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930842977,"filename":"image_07112025_15_28_09_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89bc07848099283972cb8723effdf637.jpg","text":"TemporaryFile(/tmp/multipartBody7115795421219778414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930842977,"filename":"image_07112025_15_28_12_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39a41f6c51e02db3e88c3e62a5238852.jpg","text":"TemporaryFile(/tmp/multipartBody3481485719115624931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930842977,"filename":"image_07112025_15_28_04_1718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c0ea1d4114e54a01890a3228d2ae5f8.jpg","text":"TemporaryFile(/tmp/multipartBody5477504073771390930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930842977,"filename":"image_07112025_15_28_07_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b74ff7129fd838abea87f2fabb6ff59.jpg","text":"TemporaryFile(/tmp/multipartBody7634401899230372705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930842977,"filename":"image_07112025_15_28_11_1837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f309a542692133ae6e679528ae39720a.jpg","text":"TemporaryFile(/tmp/multipartBody9018094854251480411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930842977,"filename":"image_07112025_15_28_05_1521.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731295","file1":"1399731294","file0":"1399731292","file4":"1399731297","file5":"1399731299","file3":"1399731296"},"map_files_photo_id_array":[{"photo_id":"1399731299","filename":"file5"},{"photo_id":"1399731295","filename":"file2"},{"photo_id":"1399731297","filename":"file4"},{"photo_id":"1399731294","filename":"file1"},{"photo_id":"1399731292","filename":"file0"},{"photo_id":"1399731296","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731296":["hashtag1","hashtag2"]},{"1399731299":["hashtag1","hashtag2"]},{"1399731292":["hashtag1","hashtag2"]},{"1399731295":["hashtag1","hashtag2"]},{"1399731297":["hashtag1","hashtag2"]},{"1399731294":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731296, 1399731299, 1399731292, 1399731295, 1399731297, 1399731294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.027467012405396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:20:22.535889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_24_9655.jpg', '/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_35_10762.jpg', '/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_45_9715.jpg', '/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_54_9670.jpg', '/home/pi/Desktop/images/17122025/01/07/image_17122025_01_08_04_9708.jpg', '/home/pi/Desktop/images/17122025/01/08/image_17122025_01_08_34_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_24_9655.jpg
/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_35_10762.jpg
/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_45_9715.jpg
/home/pi/Desktop/images/17122025/01/07/image_17122025_01_07_54_9670.jpg
/home/pi/Desktop/images/17122025/01/07/image_17122025_01_08_04_9708.jpg
/home/pi/Desktop/images/17122025/01/08/image_17122025_01_08_34_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731306","1399731300","1399731308","1399731302","1399731311","1399731304"],"photo_ids_order":["1399731300","1399731302","1399731304","1399731306","1399731308","1399731311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/786b6132f230f6f5bc1beb3f9f7bb448.jpg","text":"TemporaryFile(/tmp/multipartBody1256328926096639474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930883118,"filename":"image_17122025_01_07_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bce42b32e4fdbaecbf0540c7d94f4a12.jpg","text":"TemporaryFile(/tmp/multipartBody2818454300659048750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930883118,"filename":"image_17122025_01_07_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/344459f8d1b69d8d7e387b206d8f4326.jpg","text":"TemporaryFile(/tmp/multipartBody8321060949274291452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930883118,"filename":"image_17122025_01_08_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66869f66984d4e8188e9ad28ef0f60dc.jpg","text":"TemporaryFile(/tmp/multipartBody3149228554305737219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930883118,"filename":"image_17122025_01_07_35_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81a9984e49e5b6d8e014460451f708dc.jpg","text":"TemporaryFile(/tmp/multipartBody5351145952894525615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930883118,"filename":"image_17122025_01_08_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b20a9606ff487ac300c1b9864e510238.jpg","text":"TemporaryFile(/tmp/multipartBody6080217182975628805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930883118,"filename":"image_17122025_01_07_45_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731304","file1":"1399731302","file0":"1399731300","file4":"1399731308","file5":"1399731311","file3":"1399731306"},"map_files_photo_id_array":[{"photo_id":"1399731311","filename":"file5"},{"photo_id":"1399731304","filename":"file2"},{"photo_id":"1399731308","filename":"file4"},{"photo_id":"1399731302","filename":"file1"},{"photo_id":"1399731300","filename":"file0"},{"photo_id":"1399731306","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731306":["hashtag1","hashtag2"]},{"1399731300":["hashtag1","hashtag2"]},{"1399731308":["hashtag1","hashtag2"]},{"1399731302":["hashtag1","hashtag2"]},{"1399731311":["hashtag1","hashtag2"]},{"1399731304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731306, 1399731300, 1399731308, 1399731302, 1399731311, 1399731304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84557104110718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:21:03.393175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/08/image_17122025_01_08_54_9731.jpg', '/home/pi/Desktop/images/17122025/01/08/image_17122025_01_09_05_10689.jpg', '/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_14_9602.jpg', '/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_24_9765.jpg', '/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_35_10660.jpg', '/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_44_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/08/image_17122025_01_08_54_9731.jpg
/home/pi/Desktop/images/17122025/01/08/image_17122025_01_09_05_10689.jpg
/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_14_9602.jpg
/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_24_9765.jpg
/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_35_10660.jpg
/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_44_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":["1399731318","1399731320","1399731317","1399731322","1399731319","1399731316"],"photo_ids_order":["1399731316","1399731317","1399731318","1399731319","1399731320","1399731322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2c15ebb3cf75ac06dd8fe9a5f05911e.jpg","text":"TemporaryFile(/tmp/multipartBody3324228680265135812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930924042,"filename":"image_17122025_01_09_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/426c5fbe4ab328290ecaac9f8640171b.jpg","text":"TemporaryFile(/tmp/multipartBody2645614014995451080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930924042,"filename":"image_17122025_01_09_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc9736d86e9396c4bb93548532124226.jpg","text":"TemporaryFile(/tmp/multipartBody5840708109309742289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930924042,"filename":"image_17122025_01_09_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e188d8aff45e99907bdf722af6affbf5.jpg","text":"TemporaryFile(/tmp/multipartBody5986462695506424342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930924042,"filename":"image_17122025_01_09_44_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46fe5f3d9ce5efd9f4af0e219ef695c6.jpg","text":"TemporaryFile(/tmp/multipartBody4059152606032019098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930924042,"filename":"image_17122025_01_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/2025/12/17/85b932ddc6ba923cf1da0a89dd33526c.jpg","text":"TemporaryFile(/tmp/multipartBody5925913245167809684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930924042,"filename":"image_17122025_01_08_54_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731318","file1":"1399731317","file0":"1399731316","file4":"1399731320","file5":"1399731322","file3":"1399731319"},"map_files_photo_id_array":[{"photo_id":"1399731322","filename":"file5"},{"photo_id":"1399731318","filename":"file2"},{"photo_id":"1399731320","filename":"file4"},{"photo_id":"1399731317","filename":"file1"},{"photo_id":"1399731316","filename":"file0"},{"photo_id":"1399731319","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731318":["hashtag1","hashtag2"]},{"1399731320":["hashtag1","hashtag2"]},{"1399731317":["hashtag1","hashtag2"]},{"1399731322":["hashtag1","hashtag2"]},{"1399731319":["hashtag1","hashtag2"]},{"1399731316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731318, 1399731320, 1399731317, 1399731322, 1399731319, 1399731316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.519551038742065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:21:42.780258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_14_1631.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_16_1536.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_17_1656.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_19_1713.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_21_1597.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_22_1836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_14_1631.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_16_1536.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_17_1656.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_19_1713.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_21_1597.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_22_1836.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6509850025177002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:22:02.653030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_54_9681.jpg', '/home/pi/Desktop/images/17122025/01/09/image_17122025_01_10_05_10632.jpg', '/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_14_9716.jpg', '/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_25_10551.jpg', '/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_35_9819.jpg', '/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/09/image_17122025_01_09_54_9681.jpg
/home/pi/Desktop/images/17122025/01/09/image_17122025_01_10_05_10632.jpg
/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_14_9716.jpg
/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_25_10551.jpg
/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_35_9819.jpg
/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_44_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":["1399731333","1399731336","1399731338","1399731332","1399731335","1399731334"],"photo_ids_order":["1399731332","1399731333","1399731334","1399731335","1399731336","1399731338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39143c8b5ac7df8cfca4e310de85796e.jpg","text":"TemporaryFile(/tmp/multipartBody7140639039754073332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930983290,"filename":"image_17122025_01_10_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ab03d5c7a530a9c6f159ff8914f52d0.jpg","text":"TemporaryFile(/tmp/multipartBody4492656131422587828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930983290,"filename":"image_17122025_01_10_35_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec2236c72a8d2983605cc086db484c08.jpg","text":"TemporaryFile(/tmp/multipartBody7454336925270194426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930983290,"filename":"image_17122025_01_10_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc8c6b84c0950f5770ae333f80e0e22e.jpg","text":"TemporaryFile(/tmp/multipartBody5769863225811731250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930983290,"filename":"image_17122025_01_09_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47216c6799b95e9ee44b33668e3f6e77.jpg","text":"TemporaryFile(/tmp/multipartBody9104374083724444097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930983290,"filename":"image_17122025_01_10_25_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20545a8efccafc66a80eb8b8d2b21687.jpg","text":"TemporaryFile(/tmp/multipartBody2918057067954541816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765930983290,"filename":"image_17122025_01_10_14_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731334","file1":"1399731333","file0":"1399731332","file4":"1399731336","file5":"1399731338","file3":"1399731335"},"map_files_photo_id_array":[{"photo_id":"1399731338","filename":"file5"},{"photo_id":"1399731334","filename":"file2"},{"photo_id":"1399731336","filename":"file4"},{"photo_id":"1399731333","filename":"file1"},{"photo_id":"1399731332","filename":"file0"},{"photo_id":"1399731335","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731333":["hashtag1","hashtag2"]},{"1399731336":["hashtag1","hashtag2"]},{"1399731338":["hashtag1","hashtag2"]},{"1399731332":["hashtag1","hashtag2"]},{"1399731335":["hashtag1","hashtag2"]},{"1399731334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731333, 1399731336, 1399731338, 1399731332, 1399731335, 1399731334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.539188861846924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:22:42.097044
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_14_1631.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_16_1536.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_17_1656.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_19_1713.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_21_1597.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_22_1836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_14_1631.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_16_1536.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_17_1656.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_19_1713.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_21_1597.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_22_1836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731348","1399731345","1399731347","1399731349","1399731343","1399731346"],"photo_ids_order":["1399731343","1399731345","1399731346","1399731347","1399731348","1399731349"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42633ab86ff52ddaa952547788bf366f.jpg","text":"TemporaryFile(/tmp/multipartBody2973662866925770543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931022725,"filename":"image_07112025_15_28_21_1597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a066f000a43092991597c20c2695109.jpg","text":"TemporaryFile(/tmp/multipartBody1688031856054198688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931022725,"filename":"image_07112025_15_28_16_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13218037775e5ab26306937c0b1a9c83.jpg","text":"TemporaryFile(/tmp/multipartBody8828397956141129067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931022725,"filename":"image_07112025_15_28_19_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a305b6d20a7beab33a98fbed1884ceeb.jpg","text":"TemporaryFile(/tmp/multipartBody3728609783088411732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931022725,"filename":"image_07112025_15_28_22_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca6fcf4d2fadfbf3b02446f3c59ceede.jpg","text":"TemporaryFile(/tmp/multipartBody931216897098556738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931022725,"filename":"image_07112025_15_28_14_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0baf011d0904d4c6fa5864ecf4ee0b0.jpg","text":"TemporaryFile(/tmp/multipartBody2036080698555896982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931022725,"filename":"image_07112025_15_28_17_1656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731346","file1":"1399731345","file0":"1399731343","file4":"1399731348","file5":"1399731349","file3":"1399731347"},"map_files_photo_id_array":[{"photo_id":"1399731349","filename":"file5"},{"photo_id":"1399731346","filename":"file2"},{"photo_id":"1399731348","filename":"file4"},{"photo_id":"1399731345","filename":"file1"},{"photo_id":"1399731343","filename":"file0"},{"photo_id":"1399731347","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731348":["hashtag1","hashtag2"]},{"1399731345":["hashtag1","hashtag2"]},{"1399731347":["hashtag1","hashtag2"]},{"1399731349":["hashtag1","hashtag2"]},{"1399731343":["hashtag1","hashtag2"]},{"1399731346":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731348, 1399731345, 1399731347, 1399731349, 1399731343, 1399731346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29612612724304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:23:22.321992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_55_10160.jpg', '/home/pi/Desktop/images/17122025/01/10/image_17122025_01_11_04_9769.jpg', '/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_14_9813.jpg', '/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_25_10703.jpg', '/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_35_9671.jpg', '/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_44_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/10/image_17122025_01_10_55_10160.jpg
/home/pi/Desktop/images/17122025/01/10/image_17122025_01_11_04_9769.jpg
/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_14_9813.jpg
/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_25_10703.jpg
/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_35_9671.jpg
/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_44_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":["1399731354","1399731363","1399731356","1399731350","1399731358","1399731352"],"photo_ids_order":["1399731350","1399731352","1399731354","1399731356","1399731358","1399731363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2307ad3489d3b961e4850bff3bfa399.jpg","text":"TemporaryFile(/tmp/multipartBody2533536397465463155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931062911,"filename":"image_17122025_01_11_14_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b333bc7513025991a7cb882b143af5aa.jpg","text":"TemporaryFile(/tmp/multipartBody6682949993486822145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931062911,"filename":"image_17122025_01_11_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c6ca481522f884527df61053731ed87.jpg","text":"TemporaryFile(/tmp/multipartBody8546146855355507585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931062911,"filename":"image_17122025_01_11_25_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e774034069793e233264dc2fa36f5550.jpg","text":"TemporaryFile(/tmp/multipartBody3192581771087302635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931062911,"filename":"image_17122025_01_10_55_10160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83dce2989ed2749e832162e7214c2852.jpg","text":"TemporaryFile(/tmp/multipartBody2836190148223669074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931062911,"filename":"image_17122025_01_11_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c16165dfb3198a22ee91bb84126bb218.jpg","text":"TemporaryFile(/tmp/multipartBody6631270594222156929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931062911,"filename":"image_17122025_01_11_04_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731354","file1":"1399731352","file0":"1399731350","file4":"1399731358","file5":"1399731363","file3":"1399731356"},"map_files_photo_id_array":[{"photo_id":"1399731363","filename":"file5"},{"photo_id":"1399731354","filename":"file2"},{"photo_id":"1399731358","filename":"file4"},{"photo_id":"1399731352","filename":"file1"},{"photo_id":"1399731350","filename":"file0"},{"photo_id":"1399731356","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731354":["hashtag1","hashtag2"]},{"1399731363":["hashtag1","hashtag2"]},{"1399731356":["hashtag1","hashtag2"]},{"1399731350":["hashtag1","hashtag2"]},{"1399731358":["hashtag1","hashtag2"]},{"1399731352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731354, 1399731363, 1399731356, 1399731350, 1399731358, 1399731352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93335175514221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:24:03.130492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_55_10833.jpg', '/home/pi/Desktop/images/17122025/01/12/image_17122025_01_12_15_10690.jpg', '/home/pi/Desktop/images/17122025/01/12/image_17122025_01_12_34_9551.jpg', '/home/pi/Desktop/images/17122025/01/12/image_17122025_01_12_44_10217.jpg', '/home/pi/Desktop/images/17122025/01/12/image_17122025_01_12_54_9727.jpg', '/home/pi/Desktop/images/17122025/01/12/image_17122025_01_13_05_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/11/image_17122025_01_11_55_10833.jpg
/home/pi/Desktop/images/17122025/01/12/image_17122025_01_12_15_10690.jpg
/home/pi/Desktop/images/17122025/01/12/image_17122025_01_12_34_9551.jpg
/home/pi/Desktop/images/17122025/01/12/image_17122025_01_12_44_10217.jpg
/home/pi/Desktop/images/17122025/01/12/image_17122025_01_12_54_9727.jpg
/home/pi/Desktop/images/17122025/01/12/image_17122025_01_13_05_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":["1399731386","1399731385","1399731388","1399731390","1399731384","1399731387"],"photo_ids_order":["1399731384","1399731385","1399731386","1399731387","1399731388","1399731390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fc835e8bf418b020632b0cee81c7eee.jpg","text":"TemporaryFile(/tmp/multipartBody1383824720118951830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931103760,"filename":"image_17122025_01_12_34_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85fdbc18e133743fee215dfcdfaba9eb.jpg","text":"TemporaryFile(/tmp/multipartBody326097887002185476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931103760,"filename":"image_17122025_01_12_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2e22efabf447075dc09a453b84664c5.jpg","text":"TemporaryFile(/tmp/multipartBody5352807912893798742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931103760,"filename":"image_17122025_01_12_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed70a615016134b64d260b5ec4a21ef2.jpg","text":"TemporaryFile(/tmp/multipartBody7624575217915948727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931103760,"filename":"image_17122025_01_13_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97ea0989b72872ba391cd369446d805a.jpg","text":"TemporaryFile(/tmp/multipartBody6944651375222178566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931103760,"filename":"image_17122025_01_11_55_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ee0a38f141c997168cf803e3ad3b3c1.jpg","text":"TemporaryFile(/tmp/multipartBody4100978262329724810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931103760,"filename":"image_17122025_01_12_44_10217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731386","file1":"1399731385","file0":"1399731384","file4":"1399731388","file5":"1399731390","file3":"1399731387"},"map_files_photo_id_array":[{"photo_id":"1399731390","filename":"file5"},{"photo_id":"1399731386","filename":"file2"},{"photo_id":"1399731388","filename":"file4"},{"photo_id":"1399731385","filename":"file1"},{"photo_id":"1399731384","filename":"file0"},{"photo_id":"1399731387","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731386":["hashtag1","hashtag2"]},{"1399731385":["hashtag1","hashtag2"]},{"1399731388":["hashtag1","hashtag2"]},{"1399731390":["hashtag1","hashtag2"]},{"1399731384":["hashtag1","hashtag2"]},{"1399731387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731386, 1399731385, 1399731388, 1399731390, 1399731384, 1399731387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.62494444847107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:24:42.513386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_24_1644.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_26_1559.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_27_1713.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_29_1518.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_31_1810.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_32_1518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_24_1644.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_26_1559.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_27_1713.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_29_1518.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_31_1810.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_32_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":["1399731537","1399731452","1399731413","1399731535","1399731520","1399731486"],"photo_ids_order":["1399731413","1399731452","1399731486","1399731520","1399731535","1399731537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a996c62a2db06c4a2e003a1c98c98965.jpg","text":"TemporaryFile(/tmp/multipartBody8823961638221673264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931143274,"filename":"image_07112025_15_28_32_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aec508f449e5c43d8ba224cbe387fc86.jpg","text":"TemporaryFile(/tmp/multipartBody4941618919614902708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931143274,"filename":"image_07112025_15_28_26_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/110dac61a61a6ea569577a40ebf94e7a.jpg","text":"TemporaryFile(/tmp/multipartBody8689099172095071006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931143274,"filename":"image_07112025_15_28_24_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b410e7bac6a624cbc9c97b0509077c2.jpg","text":"TemporaryFile(/tmp/multipartBody7701892297818108069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931143274,"filename":"image_07112025_15_28_31_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52648bf80ff7d6b042bc3046881d33e2.jpg","text":"TemporaryFile(/tmp/multipartBody682847580293927960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931143274,"filename":"image_07112025_15_28_29_1518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4040d98d142117b969b60f7e05284543.jpg","text":"TemporaryFile(/tmp/multipartBody7184340948396826133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931143274,"filename":"image_07112025_15_28_27_1713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731486","file1":"1399731452","file0":"1399731413","file4":"1399731535","file5":"1399731537","file3":"1399731520"},"map_files_photo_id_array":[{"photo_id":"1399731537","filename":"file5"},{"photo_id":"1399731486","filename":"file2"},{"photo_id":"1399731535","filename":"file4"},{"photo_id":"1399731452","filename":"file1"},{"photo_id":"1399731413","filename":"file0"},{"photo_id":"1399731520","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731537":["hashtag1","hashtag2"]},{"1399731452":["hashtag1","hashtag2"]},{"1399731413":["hashtag1","hashtag2"]},{"1399731535":["hashtag1","hashtag2"]},{"1399731520":["hashtag1","hashtag2"]},{"1399731486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731537, 1399731452, 1399731413, 1399731535, 1399731520, 1399731486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.950780153274536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:25:22.773160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_14_9734.jpg', '/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_25_10235.jpg', '/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_34_9588.jpg', '/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_44_9939.jpg', '/home/pi/Desktop/images/17122025/01/13/image_17122025_01_14_05_9726.jpg', '/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_14_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_14_9734.jpg
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_25_10235.jpg
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_34_9588.jpg
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_44_9939.jpg
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_14_05_9726.jpg
/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_14_9633.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4747283458709717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:25:32.787114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:25:42.735460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_34_1701.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_36_1746.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_40_4841.jpg', '/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_42_1846.jpg', '/home/pi/Desktop/images/07112025/15/29/image_07112025_15_29_10_27964.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_08_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_34_1701.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_36_1746.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_40_4841.jpg
/home/pi/Desktop/images/07112025/15/28/image_07112025_15_28_42_1846.jpg
/home/pi/Desktop/images/07112025/15/29/image_07112025_15_29_10_27964.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_08_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":["1399731636","1399731668","1399731596","1399731661","1399731655","1399731669"],"photo_ids_order":["1399731596","1399731636","1399731655","1399731661","1399731668","1399731669"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a21a48fd6845bcb865fc5392356b4b96.jpg","text":"TemporaryFile(/tmp/multipartBody3837045493239626558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931203520,"filename":"image_07112025_15_28_36_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1a406fd75b0fd52dc780ddca288e695.jpg","text":"TemporaryFile(/tmp/multipartBody1510265493706502902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931203520,"filename":"image_07112025_15_29_10_27964.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9d210c347a74a322c2d0a0ba00fc8f3.jpg","text":"TemporaryFile(/tmp/multipartBody3687136130922905049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931203520,"filename":"image_07112025_15_28_34_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab3db54a64675c9544725f8d785fe411.jpg","text":"TemporaryFile(/tmp/multipartBody1584174266218092326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931203520,"filename":"image_07112025_15_28_42_1846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9fd1e1eeb69a5e88dfd527b0fd94ed0.jpg","text":"TemporaryFile(/tmp/multipartBody1972300902923124451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931203520,"filename":"image_07112025_15_28_40_4841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/794249b6abd218420e96ae55f9c5b21c.jpg","text":"TemporaryFile(/tmp/multipartBody2330943028671185709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931203520,"filename":"image_07112025_15_30_08_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731655","file1":"1399731636","file0":"1399731596","file4":"1399731668","file5":"1399731669","file3":"1399731661"},"map_files_photo_id_array":[{"photo_id":"1399731669","filename":"file5"},{"photo_id":"1399731655","filename":"file2"},{"photo_id":"1399731668","filename":"file4"},{"photo_id":"1399731636","filename":"file1"},{"photo_id":"1399731596","filename":"file0"},{"photo_id":"1399731661","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731636":["hashtag1","hashtag2"]},{"1399731668":["hashtag1","hashtag2"]},{"1399731596":["hashtag1","hashtag2"]},{"1399731661":["hashtag1","hashtag2"]},{"1399731655":["hashtag1","hashtag2"]},{"1399731669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731636, 1399731668, 1399731596, 1399731661, 1399731655, 1399731669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11148238182068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:26:22.030453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_14_9734.jpg', '/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_25_10235.jpg', '/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_34_9588.jpg', '/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_44_9939.jpg', '/home/pi/Desktop/images/17122025/01/13/image_17122025_01_14_05_9726.jpg', '/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_14_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_14_9734.jpg
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_25_10235.jpg
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_34_9588.jpg
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_13_44_9939.jpg
/home/pi/Desktop/images/17122025/01/13/image_17122025_01_14_05_9726.jpg
/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_14_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731711","1399731717","1399731713","1399731707","1399731715","1399731709"],"photo_ids_order":["1399731707","1399731709","1399731711","1399731713","1399731715","1399731717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b70be117c33217de2d03bbce6d56707.jpg","text":"TemporaryFile(/tmp/multipartBody3368478609052799073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931242617,"filename":"image_17122025_01_13_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b770d32f515e3ebe7da0668ce0000a2.jpg","text":"TemporaryFile(/tmp/multipartBody4087140695333222055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931242617,"filename":"image_17122025_01_14_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c00c24ad1aeaeef81e9cc417c981a6a0.jpg","text":"TemporaryFile(/tmp/multipartBody6298690458279505890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931242617,"filename":"image_17122025_01_13_44_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69c186b46e3aff33870c524c5667e840.jpg","text":"TemporaryFile(/tmp/multipartBody2498152345062784062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931242617,"filename":"image_17122025_01_13_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f0a45c4e3292d96e755703cce804d1b.jpg","text":"TemporaryFile(/tmp/multipartBody8999291544381441317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931242617,"filename":"image_17122025_01_14_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b3f94e5e86a28b80f28870d15077f77.jpg","text":"TemporaryFile(/tmp/multipartBody7463487981810836142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931242617,"filename":"image_17122025_01_13_25_10235.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731711","file1":"1399731709","file0":"1399731707","file4":"1399731715","file5":"1399731717","file3":"1399731713"},"map_files_photo_id_array":[{"photo_id":"1399731717","filename":"file5"},{"photo_id":"1399731711","filename":"file2"},{"photo_id":"1399731715","filename":"file4"},{"photo_id":"1399731709","filename":"file1"},{"photo_id":"1399731707","filename":"file0"},{"photo_id":"1399731713","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731711":["hashtag1","hashtag2"]},{"1399731717":["hashtag1","hashtag2"]},{"1399731713":["hashtag1","hashtag2"]},{"1399731707":["hashtag1","hashtag2"]},{"1399731715":["hashtag1","hashtag2"]},{"1399731709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731711, 1399731717, 1399731713, 1399731707, 1399731715, 1399731709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67246437072754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:27:02.940187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_25_10672.jpg', '/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_35_9557.jpg', '/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_45_10031.jpg', '/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_54_9732.jpg', '/home/pi/Desktop/images/17122025/01/14/image_17122025_01_15_05_10692.jpg', '/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_15_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_25_10672.jpg
/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_35_9557.jpg
/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_45_10031.jpg
/home/pi/Desktop/images/17122025/01/14/image_17122025_01_14_54_9732.jpg
/home/pi/Desktop/images/17122025/01/14/image_17122025_01_15_05_10692.jpg
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_15_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":["1399731726","1399731729","1399731731","1399731725","1399731728","1399731727"],"photo_ids_order":["1399731725","1399731726","1399731727","1399731728","1399731729","1399731731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecb927333cf0471bc634b810c1d64431.jpg","text":"TemporaryFile(/tmp/multipartBody2819076643514672733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931283631,"filename":"image_17122025_01_14_35_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c94eb0a0ed24486b2c74b7bb84b1f5d4.jpg","text":"TemporaryFile(/tmp/multipartBody4782315343190122422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931283631,"filename":"image_17122025_01_15_05_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da53154d93c91305552e2b5e636374fd.jpg","text":"TemporaryFile(/tmp/multipartBody30032952626552989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931283631,"filename":"image_17122025_01_15_15_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5a046d5f7d994e03e035ba88cd4c733.jpg","text":"TemporaryFile(/tmp/multipartBody8063301910413019147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931283631,"filename":"image_17122025_01_14_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21fb3004616ddf6162f4c3aec732f2e8.jpg","text":"TemporaryFile(/tmp/multipartBody1124925828764551933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931283631,"filename":"image_17122025_01_14_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8185100f2011eb1a14966b2fa3a57ab3.jpg","text":"TemporaryFile(/tmp/multipartBody7363416372812154803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931283631,"filename":"image_17122025_01_14_45_10031.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731727","file1":"1399731726","file0":"1399731725","file4":"1399731729","file5":"1399731731","file3":"1399731728"},"map_files_photo_id_array":[{"photo_id":"1399731731","filename":"file5"},{"photo_id":"1399731727","filename":"file2"},{"photo_id":"1399731729","filename":"file4"},{"photo_id":"1399731726","filename":"file1"},{"photo_id":"1399731725","filename":"file0"},{"photo_id":"1399731728","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731726":["hashtag1","hashtag2"]},{"1399731729":["hashtag1","hashtag2"]},{"1399731731":["hashtag1","hashtag2"]},{"1399731725":["hashtag1","hashtag2"]},{"1399731728":["hashtag1","hashtag2"]},{"1399731727":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731726, 1399731729, 1399731731, 1399731725, 1399731728, 1399731727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.085047245025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:27:42.323048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_12_3768.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_14_2596.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_18_3557.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_20_2611.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_23_2567.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_26_3519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_12_3768.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_14_2596.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_18_3557.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_20_2611.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_23_2567.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_26_3519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731738","1399731740","1399731739","1399731742","1399731736","1399731741"],"photo_ids_order":["1399731736","1399731738","1399731739","1399731740","1399731741","1399731742"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2743a4d67b51ff7825a0ca3c5ced3e5e.jpg","text":"TemporaryFile(/tmp/multipartBody2002536662732572684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931323030,"filename":"image_07112025_15_30_14_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aeb3c7033d2b42dfe40d29e223783389.jpg","text":"TemporaryFile(/tmp/multipartBody3883796245814527546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931323030,"filename":"image_07112025_15_30_20_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92061194f0238661f5bd0f1faec0f8e7.jpg","text":"TemporaryFile(/tmp/multipartBody2620748304708942749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931323030,"filename":"image_07112025_15_30_18_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/739f17908e4cc17744d5bc7391b76a81.jpg","text":"TemporaryFile(/tmp/multipartBody5137099339483913716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931323030,"filename":"image_07112025_15_30_26_3519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c4b2117b7870d3440598a2e09e13c28.jpg","text":"TemporaryFile(/tmp/multipartBody1503945934391657431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931323030,"filename":"image_07112025_15_30_12_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5fc34f27a541a5a95a890a3f75eea3b.jpg","text":"TemporaryFile(/tmp/multipartBody2770899816683032697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931323030,"filename":"image_07112025_15_30_23_2567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731739","file1":"1399731738","file0":"1399731736","file4":"1399731741","file5":"1399731742","file3":"1399731740"},"map_files_photo_id_array":[{"photo_id":"1399731742","filename":"file5"},{"photo_id":"1399731739","filename":"file2"},{"photo_id":"1399731741","filename":"file4"},{"photo_id":"1399731738","filename":"file1"},{"photo_id":"1399731736","filename":"file0"},{"photo_id":"1399731740","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731738":["hashtag1","hashtag2"]},{"1399731740":["hashtag1","hashtag2"]},{"1399731739":["hashtag1","hashtag2"]},{"1399731742":["hashtag1","hashtag2"]},{"1399731736":["hashtag1","hashtag2"]},{"1399731741":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731738, 1399731740, 1399731739, 1399731742, 1399731736, 1399731741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.121201276779175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:28:22.691805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_25_9746.jpg', '/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_34_9926.jpg', '/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_44_9684.jpg', '/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_55_10852.jpg', '/home/pi/Desktop/images/17122025/01/15/image_17122025_01_16_05_9673.jpg', '/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_14_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_25_9746.jpg
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_34_9926.jpg
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_44_9684.jpg
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_55_10852.jpg
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_16_05_9673.jpg
/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_14_9634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4807727336883545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:28:32.561351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:28:42.542428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_29_2794.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_32_2673.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_51_18833.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_52_1602.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_54_1660.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_56_1636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_29_2794.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_32_2673.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_51_18833.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_52_1602.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_54_1660.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_56_1636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731759","1399731753","1399731755","1399731757","1399731754","1399731756"],"photo_ids_order":["1399731753","1399731754","1399731755","1399731756","1399731757","1399731759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01fdb4d523eff781df53846f3b111bb5.jpg","text":"TemporaryFile(/tmp/multipartBody455058135114260180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931383259,"filename":"image_07112025_15_30_56_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8259afc825e2944539dfd2c78f6e299c.jpg","text":"TemporaryFile(/tmp/multipartBody2401840131854408818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931383259,"filename":"image_07112025_15_30_29_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7d71d36fae69a232749e4d4ed3619d5.jpg","text":"TemporaryFile(/tmp/multipartBody2968271347251469871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931383259,"filename":"image_07112025_15_30_51_18833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df6c5e1ddd4f5668190994c994068c55.jpg","text":"TemporaryFile(/tmp/multipartBody6893050712435614957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931383259,"filename":"image_07112025_15_30_54_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88e6f10c8513d723a1190c09995928dd.jpg","text":"TemporaryFile(/tmp/multipartBody1530664854588084876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931383259,"filename":"image_07112025_15_30_32_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/110fb121a8f63167fa639404a68cea87.jpg","text":"TemporaryFile(/tmp/multipartBody5523088752421982230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931383259,"filename":"image_07112025_15_30_52_1602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731755","file1":"1399731754","file0":"1399731753","file4":"1399731757","file5":"1399731759","file3":"1399731756"},"map_files_photo_id_array":[{"photo_id":"1399731759","filename":"file5"},{"photo_id":"1399731755","filename":"file2"},{"photo_id":"1399731757","filename":"file4"},{"photo_id":"1399731754","filename":"file1"},{"photo_id":"1399731753","filename":"file0"},{"photo_id":"1399731756","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731759":["hashtag1","hashtag2"]},{"1399731753":["hashtag1","hashtag2"]},{"1399731755":["hashtag1","hashtag2"]},{"1399731757":["hashtag1","hashtag2"]},{"1399731754":["hashtag1","hashtag2"]},{"1399731756":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731759, 1399731753, 1399731755, 1399731757, 1399731754, 1399731756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10645151138306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:29:22.755154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_25_9746.jpg', '/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_34_9926.jpg', '/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_44_9684.jpg', '/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_55_10852.jpg', '/home/pi/Desktop/images/17122025/01/15/image_17122025_01_16_05_9673.jpg', '/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_14_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_25_9746.jpg
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_34_9926.jpg
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_44_9684.jpg
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_15_55_10852.jpg
/home/pi/Desktop/images/17122025/01/15/image_17122025_01_16_05_9673.jpg
/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_14_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731770","1399731767","1399731764","1399731769","1399731774","1399731762"],"photo_ids_order":["1399731762","1399731764","1399731767","1399731769","1399731770","1399731774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52b75fc0e9fc7180c85f9a5ccf6f4de2.jpg","text":"TemporaryFile(/tmp/multipartBody5799531605442904815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931423345,"filename":"image_17122025_01_16_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5aab33fb31047bb4c136279aebe3a7bf.jpg","text":"TemporaryFile(/tmp/multipartBody6898609965891503012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931423345,"filename":"image_17122025_01_15_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d350fb0c81b5307aad39b123e82c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody911850859183902835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931423345,"filename":"image_17122025_01_15_34_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15b856edb7eba92d41961d160b2f0d44.jpg","text":"TemporaryFile(/tmp/multipartBody4804647379949557147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931423345,"filename":"image_17122025_01_15_55_10852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de02864694b9f826159a177d4b01c944.jpg","text":"TemporaryFile(/tmp/multipartBody4630986432345634450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931423345,"filename":"image_17122025_01_16_14_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1557d17bf804b9700c6e774b5b5d53c.jpg","text":"TemporaryFile(/tmp/multipartBody1024231751061475207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931423345,"filename":"image_17122025_01_15_25_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731767","file1":"1399731764","file0":"1399731762","file4":"1399731770","file5":"1399731774","file3":"1399731769"},"map_files_photo_id_array":[{"photo_id":"1399731774","filename":"file5"},{"photo_id":"1399731767","filename":"file2"},{"photo_id":"1399731770","filename":"file4"},{"photo_id":"1399731764","filename":"file1"},{"photo_id":"1399731762","filename":"file0"},{"photo_id":"1399731769","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731770":["hashtag1","hashtag2"]},{"1399731767":["hashtag1","hashtag2"]},{"1399731764":["hashtag1","hashtag2"]},{"1399731769":["hashtag1","hashtag2"]},{"1399731774":["hashtag1","hashtag2"]},{"1399731762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731770, 1399731767, 1399731764, 1399731769, 1399731774, 1399731762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.359130859375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:30:02.505501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_25_10664.jpg', '/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_35_9620.jpg', '/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_44_9699.jpg', '/home/pi/Desktop/images/17122025/01/16/image_17122025_01_17_05_9790.jpg', '/home/pi/Desktop/images/17122025/01/17/image_17122025_01_17_44_9701.jpg', '/home/pi/Desktop/images/17122025/01/17/image_17122025_01_17_55_10865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_25_10664.jpg
/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_35_9620.jpg
/home/pi/Desktop/images/17122025/01/16/image_17122025_01_16_44_9699.jpg
/home/pi/Desktop/images/17122025/01/16/image_17122025_01_17_05_9790.jpg
/home/pi/Desktop/images/17122025/01/17/image_17122025_01_17_44_9701.jpg
/home/pi/Desktop/images/17122025/01/17/image_17122025_01_17_55_10865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731821","1399731830","1399731832","1399731829","1399731817","1399731805"],"photo_ids_order":["1399731805","1399731817","1399731821","1399731829","1399731830","1399731832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/101f64aafa7a9c92ed64ecef23ea2fef.jpg","text":"TemporaryFile(/tmp/multipartBody6267288959475409329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931463122,"filename":"image_17122025_01_16_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e00c3b19622cccdc3062b2bb07d162b3.jpg","text":"TemporaryFile(/tmp/multipartBody180982625316118997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931463122,"filename":"image_17122025_01_17_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db0252717f5cce3d045f28a62f778659.jpg","text":"TemporaryFile(/tmp/multipartBody4146963686510622022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931463122,"filename":"image_17122025_01_17_55_10865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99c2922f63b31276948d638c7816de97.jpg","text":"TemporaryFile(/tmp/multipartBody5871503151273953566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931463122,"filename":"image_17122025_01_17_05_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18f491b80b2da3c4e5d12dc8a54ab5a2.jpg","text":"TemporaryFile(/tmp/multipartBody1732691326236563954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931463122,"filename":"image_17122025_01_16_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/876839cfa74ed76895225f80dc49db7b.jpg","text":"TemporaryFile(/tmp/multipartBody3986090430392735753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931463122,"filename":"image_17122025_01_16_25_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731821","file1":"1399731817","file0":"1399731805","file4":"1399731830","file5":"1399731832","file3":"1399731829"},"map_files_photo_id_array":[{"photo_id":"1399731832","filename":"file5"},{"photo_id":"1399731821","filename":"file2"},{"photo_id":"1399731830","filename":"file4"},{"photo_id":"1399731817","filename":"file1"},{"photo_id":"1399731805","filename":"file0"},{"photo_id":"1399731829","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731821":["hashtag1","hashtag2"]},{"1399731830":["hashtag1","hashtag2"]},{"1399731832":["hashtag1","hashtag2"]},{"1399731829":["hashtag1","hashtag2"]},{"1399731817":["hashtag1","hashtag2"]},{"1399731805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731821, 1399731830, 1399731832, 1399731829, 1399731817, 1399731805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.027591705322266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:30:42.074611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_57_1694.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_59_1751.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_01_1595.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_08_7600.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_10_1577.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_11_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_57_1694.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_59_1751.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_01_1595.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_08_7600.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_10_1577.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_11_1708.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6276841163635254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:31:02.913913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/17/image_17122025_01_18_05_9807.jpg', '/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_15_9798.jpg', '/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_24_9669.jpg', '/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_35_10693.jpg', '/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_45_9705.jpg', '/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_54_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/17/image_17122025_01_18_05_9807.jpg
/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_15_9798.jpg
/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_24_9669.jpg
/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_35_10693.jpg
/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_45_9705.jpg
/home/pi/Desktop/images/17122025/01/18/image_17122025_01_18_54_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":["1399731843","1399731846","1399731845","1399731848","1399731850","1399731847"],"photo_ids_order":["1399731843","1399731845","1399731846","1399731847","1399731848","1399731850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f91b6c10961a589889870322a5478a8.jpg","text":"TemporaryFile(/tmp/multipartBody3699815484621489668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931523553,"filename":"image_17122025_01_18_05_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/501b985aecc0dabc2d487ca1253e9161.jpg","text":"TemporaryFile(/tmp/multipartBody4731725904908854836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931523553,"filename":"image_17122025_01_18_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73fac52ecbba5416ac18f56fa7ad6404.jpg","text":"TemporaryFile(/tmp/multipartBody4660307247936041550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931523553,"filename":"image_17122025_01_18_15_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0fafcdf40a0dff68bcebbbca866ae407.jpg","text":"TemporaryFile(/tmp/multipartBody4578231409790082904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931523553,"filename":"image_17122025_01_18_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/190707ceabdfff6b845f48165ce517de.jpg","text":"TemporaryFile(/tmp/multipartBody257143375013685678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931523553,"filename":"image_17122025_01_18_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/826e2533fe42588a0dabe60f13a9939f.jpg","text":"TemporaryFile(/tmp/multipartBody8876370192281548107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931523553,"filename":"image_17122025_01_18_35_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731846","file1":"1399731845","file0":"1399731843","file4":"1399731848","file5":"1399731850","file3":"1399731847"},"map_files_photo_id_array":[{"photo_id":"1399731850","filename":"file5"},{"photo_id":"1399731846","filename":"file2"},{"photo_id":"1399731848","filename":"file4"},{"photo_id":"1399731845","filename":"file1"},{"photo_id":"1399731843","filename":"file0"},{"photo_id":"1399731847","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731843":["hashtag1","hashtag2"]},{"1399731846":["hashtag1","hashtag2"]},{"1399731845":["hashtag1","hashtag2"]},{"1399731848":["hashtag1","hashtag2"]},{"1399731850":["hashtag1","hashtag2"]},{"1399731847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731843, 1399731846, 1399731845, 1399731848, 1399731850, 1399731847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95260214805603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:31:42.353525
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_57_1694.jpg', '/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_59_1751.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_01_1595.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_08_7600.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_10_1577.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_11_1708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_57_1694.jpg
/home/pi/Desktop/images/07112025/15/30/image_07112025_15_30_59_1751.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_01_1595.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_08_7600.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_10_1577.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_11_1708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731858","1399731860","1399731857","1399731859","1399731861","1399731855"],"photo_ids_order":["1399731855","1399731857","1399731858","1399731859","1399731860","1399731861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0bf7ef05e3b5bbce8db54085894efce.jpg","text":"TemporaryFile(/tmp/multipartBody1822133118900115597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931562972,"filename":"image_07112025_15_31_01_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2276cd8933efe1c2e9ff93ecd5d3ebb.jpg","text":"TemporaryFile(/tmp/multipartBody5756858647044972160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931562972,"filename":"image_07112025_15_31_10_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15d3b8606129593c17a1f937911bc1e1.jpg","text":"TemporaryFile(/tmp/multipartBody1443179516775345007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931562972,"filename":"image_07112025_15_30_59_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4b543c5a5e73437d4800cb5d26b7583.jpg","text":"TemporaryFile(/tmp/multipartBody3075684106954690643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931562972,"filename":"image_07112025_15_31_08_7600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/efe3ba27782a27530736860697a0a3e0.jpg","text":"TemporaryFile(/tmp/multipartBody4161313002790311878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931562972,"filename":"image_07112025_15_31_11_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66406f3a05e30234803b34d72308d244.jpg","text":"TemporaryFile(/tmp/multipartBody3454625314455241030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931562972,"filename":"image_07112025_15_30_57_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731858","file1":"1399731857","file0":"1399731855","file4":"1399731860","file5":"1399731861","file3":"1399731859"},"map_files_photo_id_array":[{"photo_id":"1399731861","filename":"file5"},{"photo_id":"1399731858","filename":"file2"},{"photo_id":"1399731860","filename":"file4"},{"photo_id":"1399731857","filename":"file1"},{"photo_id":"1399731855","filename":"file0"},{"photo_id":"1399731859","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731858":["hashtag1","hashtag2"]},{"1399731860":["hashtag1","hashtag2"]},{"1399731857":["hashtag1","hashtag2"]},{"1399731859":["hashtag1","hashtag2"]},{"1399731861":["hashtag1","hashtag2"]},{"1399731855":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731858, 1399731860, 1399731857, 1399731859, 1399731861, 1399731855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.542603731155396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:32:22.613354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/19/image_17122025_01_19_15_10791.jpg', '/home/pi/Desktop/images/17122025/01/19/image_17122025_01_19_25_9837.jpg', '/home/pi/Desktop/images/17122025/01/19/image_17122025_01_19_55_9547.jpg', '/home/pi/Desktop/images/17122025/01/19/image_17122025_01_20_04_9567.jpg', '/home/pi/Desktop/images/17122025/01/20/image_17122025_01_20_34_9677.jpg', '/home/pi/Desktop/images/17122025/01/20/image_17122025_01_20_55_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/19/image_17122025_01_19_15_10791.jpg
/home/pi/Desktop/images/17122025/01/19/image_17122025_01_19_25_9837.jpg
/home/pi/Desktop/images/17122025/01/19/image_17122025_01_19_55_9547.jpg
/home/pi/Desktop/images/17122025/01/19/image_17122025_01_20_04_9567.jpg
/home/pi/Desktop/images/17122025/01/20/image_17122025_01_20_34_9677.jpg
/home/pi/Desktop/images/17122025/01/20/image_17122025_01_20_55_9681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731870","1399731863","1399731872","1399731865","1399731868","1399731867"],"photo_ids_order":["1399731863","1399731865","1399731867","1399731868","1399731870","1399731872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37888aa175187118bf8996ab7028a739.jpg","text":"TemporaryFile(/tmp/multipartBody2599120960030710845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931603195,"filename":"image_17122025_01_20_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f559a80414dbc1bd5d8486af650c004e.jpg","text":"TemporaryFile(/tmp/multipartBody4726522555853932567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931603195,"filename":"image_17122025_01_19_15_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/463c0e4539cc8f75d1ae3d692757b3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6811401759489863024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931603195,"filename":"image_17122025_01_20_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ac2ad8909fbe9e71ac3a68811292911.jpg","text":"TemporaryFile(/tmp/multipartBody674576324345924184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931603195,"filename":"image_17122025_01_19_25_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85f47feaa61b95f755191977df23e000.jpg","text":"TemporaryFile(/tmp/multipartBody1593365932602317219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931603195,"filename":"image_17122025_01_20_04_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a52d25fcb7902efbef8d9724c94ffef.jpg","text":"TemporaryFile(/tmp/multipartBody967805070711554483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931603195,"filename":"image_17122025_01_19_55_9547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731867","file1":"1399731865","file0":"1399731863","file4":"1399731870","file5":"1399731872","file3":"1399731868"},"map_files_photo_id_array":[{"photo_id":"1399731872","filename":"file5"},{"photo_id":"1399731867","filename":"file2"},{"photo_id":"1399731870","filename":"file4"},{"photo_id":"1399731865","filename":"file1"},{"photo_id":"1399731863","filename":"file0"},{"photo_id":"1399731868","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731870":["hashtag1","hashtag2"]},{"1399731863":["hashtag1","hashtag2"]},{"1399731872":["hashtag1","hashtag2"]},{"1399731865":["hashtag1","hashtag2"]},{"1399731868":["hashtag1","hashtag2"]},{"1399731867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731870, 1399731863, 1399731872, 1399731865, 1399731868, 1399731867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.890066385269165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:33:02.505889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/20/image_17122025_01_21_04_9661.jpg', '/home/pi/Desktop/images/17122025/01/21/image_17122025_01_21_14_9881.jpg', '/home/pi/Desktop/images/17122025/01/21/image_17122025_01_21_25_10725.jpg', '/home/pi/Desktop/images/17122025/01/21/image_17122025_01_21_35_9742.jpg', '/home/pi/Desktop/images/17122025/01/21/image_17122025_01_21_55_10741.jpg', '/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_14_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/20/image_17122025_01_21_04_9661.jpg
/home/pi/Desktop/images/17122025/01/21/image_17122025_01_21_14_9881.jpg
/home/pi/Desktop/images/17122025/01/21/image_17122025_01_21_25_10725.jpg
/home/pi/Desktop/images/17122025/01/21/image_17122025_01_21_35_9742.jpg
/home/pi/Desktop/images/17122025/01/21/image_17122025_01_21_55_10741.jpg
/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_14_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731881","1399731878","1399731880","1399731883","1399731877","1399731879"],"photo_ids_order":["1399731877","1399731878","1399731879","1399731880","1399731881","1399731883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dffd900fb464cbae85b5da547b1f4d28.jpg","text":"TemporaryFile(/tmp/multipartBody4006548121620950283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931643154,"filename":"image_17122025_01_21_55_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9edeb86d1be704e07c872a945d3747dd.jpg","text":"TemporaryFile(/tmp/multipartBody1204776028256456929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931643154,"filename":"image_17122025_01_21_14_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee1743606963b692883ec084984c6681.jpg","text":"TemporaryFile(/tmp/multipartBody6023286800017924494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931643154,"filename":"image_17122025_01_21_35_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2198b8105c23fcffec82b11a3c47b62e.jpg","text":"TemporaryFile(/tmp/multipartBody4071218385952075214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931643154,"filename":"image_17122025_01_22_14_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74fcff81c0261b0481d14d7cc2fa1600.jpg","text":"TemporaryFile(/tmp/multipartBody1754821891792060566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931643154,"filename":"image_17122025_01_21_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c08af419f37c55a9b404559ece2dda13.jpg","text":"TemporaryFile(/tmp/multipartBody149882183825934238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931643154,"filename":"image_17122025_01_21_25_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731879","file1":"1399731878","file0":"1399731877","file4":"1399731881","file5":"1399731883","file3":"1399731880"},"map_files_photo_id_array":[{"photo_id":"1399731883","filename":"file5"},{"photo_id":"1399731879","filename":"file2"},{"photo_id":"1399731881","filename":"file4"},{"photo_id":"1399731878","filename":"file1"},{"photo_id":"1399731877","filename":"file0"},{"photo_id":"1399731880","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731881":["hashtag1","hashtag2"]},{"1399731878":["hashtag1","hashtag2"]},{"1399731880":["hashtag1","hashtag2"]},{"1399731883":["hashtag1","hashtag2"]},{"1399731877":["hashtag1","hashtag2"]},{"1399731879":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731881, 1399731878, 1399731880, 1399731883, 1399731877, 1399731879)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.257161378860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:33:41.864478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_13_1825.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_15_1539.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_17_1667.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_18_1693.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_20_1792.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_22_1625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_13_1825.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_15_1539.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_17_1667.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_18_1693.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_20_1792.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_22_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":["1399731890","1399731893","1399731892","1399731891","1399731894","1399731888"],"photo_ids_order":["1399731888","1399731890","1399731891","1399731892","1399731893","1399731894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c79ea3ea11f9273ca5217c4893295cc.jpg","text":"TemporaryFile(/tmp/multipartBody6123005204829243028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931682577,"filename":"image_07112025_15_31_15_1539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a43279e96b542478fce7efe132e78fef.jpg","text":"TemporaryFile(/tmp/multipartBody7003964127589069938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931682577,"filename":"image_07112025_15_31_20_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/427c2cfaaa0042a16d230b58cb39b81d.jpg","text":"TemporaryFile(/tmp/multipartBody8740724311765858460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931682577,"filename":"image_07112025_15_31_18_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/377a36b3e89cce71a2658286c9cc4fda.jpg","text":"TemporaryFile(/tmp/multipartBody4062134022277895715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931682577,"filename":"image_07112025_15_31_17_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6efcdd2c61d745948c85ddbebdc59af8.jpg","text":"TemporaryFile(/tmp/multipartBody5121454119042336010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931682577,"filename":"image_07112025_15_31_22_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb3b939801e21ca5c070df307a5837fc.jpg","text":"TemporaryFile(/tmp/multipartBody2061516312670180994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931682577,"filename":"image_07112025_15_31_13_1825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731891","file1":"1399731890","file0":"1399731888","file4":"1399731893","file5":"1399731894","file3":"1399731892"},"map_files_photo_id_array":[{"photo_id":"1399731894","filename":"file5"},{"photo_id":"1399731891","filename":"file2"},{"photo_id":"1399731893","filename":"file4"},{"photo_id":"1399731890","filename":"file1"},{"photo_id":"1399731888","filename":"file0"},{"photo_id":"1399731892","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731890":["hashtag1","hashtag2"]},{"1399731893":["hashtag1","hashtag2"]},{"1399731892":["hashtag1","hashtag2"]},{"1399731891":["hashtag1","hashtag2"]},{"1399731894":["hashtag1","hashtag2"]},{"1399731888":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731890, 1399731893, 1399731892, 1399731891, 1399731894, 1399731888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.489829301834106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:34:22.196778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_25_10593.jpg', '/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_35_9667.jpg', '/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_44_9749.jpg', '/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_54_9711.jpg', '/home/pi/Desktop/images/17122025/01/22/image_17122025_01_23_05_10699.jpg', '/home/pi/Desktop/images/17122025/01/23/image_17122025_01_23_25_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_25_10593.jpg
/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_35_9667.jpg
/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_44_9749.jpg
/home/pi/Desktop/images/17122025/01/22/image_17122025_01_22_54_9711.jpg
/home/pi/Desktop/images/17122025/01/22/image_17122025_01_23_05_10699.jpg
/home/pi/Desktop/images/17122025/01/23/image_17122025_01_23_25_10552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731896","1399731900","1399731902","1399731905","1399731895","1399731898"],"photo_ids_order":["1399731895","1399731896","1399731898","1399731900","1399731902","1399731905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/444dc3c3cd03f72ca44752c8ac1769d6.jpg","text":"TemporaryFile(/tmp/multipartBody2442447049968690810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931722814,"filename":"image_17122025_01_22_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9cc42c5e4314e2648a8e55d521230aa.jpg","text":"TemporaryFile(/tmp/multipartBody9160559473664823489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931722814,"filename":"image_17122025_01_22_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab4e0619ed84b97f1a331dcd96d587cc.jpg","text":"TemporaryFile(/tmp/multipartBody4833033490792383276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931722814,"filename":"image_17122025_01_23_05_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2df6ae3c0be3b92213d1d14a075921cb.jpg","text":"TemporaryFile(/tmp/multipartBody1716929938330820728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931722814,"filename":"image_17122025_01_23_25_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b565bcf33652f88d5f4108e9e1f4eaf.jpg","text":"TemporaryFile(/tmp/multipartBody6037892026683505015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931722814,"filename":"image_17122025_01_22_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43e5ab7c58d30b7fd74df43a64bd766b.jpg","text":"TemporaryFile(/tmp/multipartBody363488287428204900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931722814,"filename":"image_17122025_01_22_44_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731898","file1":"1399731896","file0":"1399731895","file4":"1399731902","file5":"1399731905","file3":"1399731900"},"map_files_photo_id_array":[{"photo_id":"1399731905","filename":"file5"},{"photo_id":"1399731898","filename":"file2"},{"photo_id":"1399731902","filename":"file4"},{"photo_id":"1399731896","filename":"file1"},{"photo_id":"1399731895","filename":"file0"},{"photo_id":"1399731900","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731896":["hashtag1","hashtag2"]},{"1399731900":["hashtag1","hashtag2"]},{"1399731902":["hashtag1","hashtag2"]},{"1399731905":["hashtag1","hashtag2"]},{"1399731895":["hashtag1","hashtag2"]},{"1399731898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731896, 1399731900, 1399731902, 1399731905, 1399731895, 1399731898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81612515449524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:35:03.032587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/23/image_17122025_01_23_35_9663.jpg', '/home/pi/Desktop/images/17122025/01/23/image_17122025_01_23_54_9785.jpg', '/home/pi/Desktop/images/17122025/01/23/image_17122025_01_24_05_10690.jpg', '/home/pi/Desktop/images/17122025/01/24/image_17122025_01_24_15_9661.jpg', '/home/pi/Desktop/images/17122025/01/24/image_17122025_01_24_35_10645.jpg', '/home/pi/Desktop/images/17122025/01/24/image_17122025_01_25_05_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/23/image_17122025_01_23_35_9663.jpg
/home/pi/Desktop/images/17122025/01/23/image_17122025_01_23_54_9785.jpg
/home/pi/Desktop/images/17122025/01/23/image_17122025_01_24_05_10690.jpg
/home/pi/Desktop/images/17122025/01/24/image_17122025_01_24_15_9661.jpg
/home/pi/Desktop/images/17122025/01/24/image_17122025_01_24_35_10645.jpg
/home/pi/Desktop/images/17122025/01/24/image_17122025_01_25_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":["1399731912","1399731914","1399731911","1399731910","1399731913","1399731916"],"photo_ids_order":["1399731910","1399731911","1399731912","1399731913","1399731914","1399731916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bce50e3b14d454eaed641e8fd35593d.jpg","text":"TemporaryFile(/tmp/multipartBody9137878748835500136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931763670,"filename":"image_17122025_01_24_05_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5a24e94c8f2499a62fe1c5849c0a567.jpg","text":"TemporaryFile(/tmp/multipartBody2569102726807610558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931763670,"filename":"image_17122025_01_24_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a801c3d84cb89a67ad60c216b6a95a6.jpg","text":"TemporaryFile(/tmp/multipartBody6630800522125223281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931763670,"filename":"image_17122025_01_23_54_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40584396932023cadcbb2b5a173014f6.jpg","text":"TemporaryFile(/tmp/multipartBody74428947678273868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931763670,"filename":"image_17122025_01_23_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7832531abb81485497191bb79dea8576.jpg","text":"TemporaryFile(/tmp/multipartBody5687003249155936236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931763670,"filename":"image_17122025_01_24_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6c10c6e31e3babee8cfdaff5cd31bc5.jpg","text":"TemporaryFile(/tmp/multipartBody3874984685702623409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931763670,"filename":"image_17122025_01_25_05_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731912","file1":"1399731911","file0":"1399731910","file4":"1399731914","file5":"1399731916","file3":"1399731913"},"map_files_photo_id_array":[{"photo_id":"1399731916","filename":"file5"},{"photo_id":"1399731912","filename":"file2"},{"photo_id":"1399731914","filename":"file4"},{"photo_id":"1399731911","filename":"file1"},{"photo_id":"1399731910","filename":"file0"},{"photo_id":"1399731913","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731912":["hashtag1","hashtag2"]},{"1399731914":["hashtag1","hashtag2"]},{"1399731911":["hashtag1","hashtag2"]},{"1399731910":["hashtag1","hashtag2"]},{"1399731913":["hashtag1","hashtag2"]},{"1399731916":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731912, 1399731914, 1399731911, 1399731910, 1399731913, 1399731916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.06182670593262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:35:42.392517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_27_5799.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_29_1691.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_31_1787.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_51_19907.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_53_1810.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_17_24685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_27_5799.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_29_1691.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_31_1787.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_51_19907.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_53_1810.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_17_24685.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6347191333770752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:36:03.118771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/25/image_17122025_01_25_15_9982.jpg', '/home/pi/Desktop/images/17122025/01/25/image_17122025_01_25_34_9692.jpg', '/home/pi/Desktop/images/17122025/01/25/image_17122025_01_25_45_10655.jpg', '/home/pi/Desktop/images/17122025/01/25/image_17122025_01_25_55_9665.jpg', '/home/pi/Desktop/images/17122025/01/25/image_17122025_01_26_04_9856.jpg', '/home/pi/Desktop/images/17122025/01/26/image_17122025_01_26_25_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/25/image_17122025_01_25_15_9982.jpg
/home/pi/Desktop/images/17122025/01/25/image_17122025_01_25_34_9692.jpg
/home/pi/Desktop/images/17122025/01/25/image_17122025_01_25_45_10655.jpg
/home/pi/Desktop/images/17122025/01/25/image_17122025_01_25_55_9665.jpg
/home/pi/Desktop/images/17122025/01/25/image_17122025_01_26_04_9856.jpg
/home/pi/Desktop/images/17122025/01/26/image_17122025_01_26_25_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":["1399731930","1399731933","1399731927","1399731929","1399731931","1399731928"],"photo_ids_order":["1399731927","1399731928","1399731929","1399731930","1399731931","1399731933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5cb74bb2d9ba0b9f451fa214d91575d9.jpg","text":"TemporaryFile(/tmp/multipartBody781639341496928168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931823718,"filename":"image_17122025_01_25_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5167dcb1b431ea864fd04bb7a71cba75.jpg","text":"TemporaryFile(/tmp/multipartBody2429878747947405686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931823718,"filename":"image_17122025_01_26_25_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c972b275a1ed8695adac8430595a895.jpg","text":"TemporaryFile(/tmp/multipartBody926547478677254457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931823718,"filename":"image_17122025_01_25_15_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/505e6c77349da6d3b99bf8c60326be19.jpg","text":"TemporaryFile(/tmp/multipartBody2331686321598559032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931823718,"filename":"image_17122025_01_25_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/837930d98c6721dd498d9d234d99cfc2.jpg","text":"TemporaryFile(/tmp/multipartBody4173698219130570864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931823718,"filename":"image_17122025_01_26_04_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/379f15615530e172fae6de18104da12e.jpg","text":"TemporaryFile(/tmp/multipartBody7989555374843990446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931823718,"filename":"image_17122025_01_25_34_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731929","file1":"1399731928","file0":"1399731927","file4":"1399731931","file5":"1399731933","file3":"1399731930"},"map_files_photo_id_array":[{"photo_id":"1399731933","filename":"file5"},{"photo_id":"1399731929","filename":"file2"},{"photo_id":"1399731931","filename":"file4"},{"photo_id":"1399731928","filename":"file1"},{"photo_id":"1399731927","filename":"file0"},{"photo_id":"1399731930","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731930":["hashtag1","hashtag2"]},{"1399731933":["hashtag1","hashtag2"]},{"1399731927":["hashtag1","hashtag2"]},{"1399731929":["hashtag1","hashtag2"]},{"1399731931":["hashtag1","hashtag2"]},{"1399731928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731930, 1399731933, 1399731927, 1399731929, 1399731931, 1399731928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.499680519104004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:36:42.596586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_27_5799.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_29_1691.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_31_1787.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_51_19907.jpg', '/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_53_1810.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_17_24685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_27_5799.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_29_1691.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_31_1787.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_51_19907.jpg
/home/pi/Desktop/images/07112025/15/31/image_07112025_15_31_53_1810.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_17_24685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731942","1399731944","1399731941","1399731938","1399731943","1399731940"],"photo_ids_order":["1399731938","1399731940","1399731941","1399731942","1399731943","1399731944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8cf8fa4663c9d13de8f6a8a8f309974.jpg","text":"TemporaryFile(/tmp/multipartBody814983207150388888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931863197,"filename":"image_07112025_15_31_51_19907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/321e01bd6acedeefb565d09f44717743.jpg","text":"TemporaryFile(/tmp/multipartBody6642764929890044381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931863197,"filename":"image_07112025_15_32_17_24685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f63b53a956b1cca8dc59dbc657ede72.jpg","text":"TemporaryFile(/tmp/multipartBody4407188531008069819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931863197,"filename":"image_07112025_15_31_31_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b9ea6cfcbbeb674fe7ce46770e11751.jpg","text":"TemporaryFile(/tmp/multipartBody1019799727144111298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931863197,"filename":"image_07112025_15_31_27_5799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74f4c61dea7e596e799f24c33a229037.jpg","text":"TemporaryFile(/tmp/multipartBody1206360301230424859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931863197,"filename":"image_07112025_15_31_53_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da210d673bc4b69ee4743a04c61af3c0.jpg","text":"TemporaryFile(/tmp/multipartBody4749347000330708583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931863197,"filename":"image_07112025_15_31_29_1691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731941","file1":"1399731940","file0":"1399731938","file4":"1399731943","file5":"1399731944","file3":"1399731942"},"map_files_photo_id_array":[{"photo_id":"1399731944","filename":"file5"},{"photo_id":"1399731941","filename":"file2"},{"photo_id":"1399731943","filename":"file4"},{"photo_id":"1399731940","filename":"file1"},{"photo_id":"1399731938","filename":"file0"},{"photo_id":"1399731942","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731942":["hashtag1","hashtag2"]},{"1399731944":["hashtag1","hashtag2"]},{"1399731941":["hashtag1","hashtag2"]},{"1399731938":["hashtag1","hashtag2"]},{"1399731943":["hashtag1","hashtag2"]},{"1399731940":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731942, 1399731944, 1399731941, 1399731938, 1399731943, 1399731940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.579509973526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:37:21.951533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/26/image_17122025_01_26_35_9770.jpg', '/home/pi/Desktop/images/17122025/01/26/image_17122025_01_26_44_9784.jpg', '/home/pi/Desktop/images/17122025/01/26/image_17122025_01_26_54_9706.jpg', '/home/pi/Desktop/images/17122025/01/26/image_17122025_01_27_05_10683.jpg', '/home/pi/Desktop/images/17122025/01/27/image_17122025_01_27_54_9546.jpg', '/home/pi/Desktop/images/17122025/01/28/image_17122025_01_28_25_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/26/image_17122025_01_26_35_9770.jpg
/home/pi/Desktop/images/17122025/01/26/image_17122025_01_26_44_9784.jpg
/home/pi/Desktop/images/17122025/01/26/image_17122025_01_26_54_9706.jpg
/home/pi/Desktop/images/17122025/01/26/image_17122025_01_27_05_10683.jpg
/home/pi/Desktop/images/17122025/01/27/image_17122025_01_27_54_9546.jpg
/home/pi/Desktop/images/17122025/01/28/image_17122025_01_28_25_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731945","1399731950","1399731956","1399731952","1399731954","1399731948"],"photo_ids_order":["1399731945","1399731948","1399731950","1399731952","1399731954","1399731956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b7ea57a1658524beb6dc3fc2830252f.jpg","text":"TemporaryFile(/tmp/multipartBody3926609095944300275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931902567,"filename":"image_17122025_01_26_35_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/826ec32da0a65fb1eef59c979dc18b6f.jpg","text":"TemporaryFile(/tmp/multipartBody1411441735866945797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931902567,"filename":"image_17122025_01_26_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44f242b12dbd6617a83e8cca6f181d61.jpg","text":"TemporaryFile(/tmp/multipartBody7839083838203697011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931902567,"filename":"image_17122025_01_28_25_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0d30e025e87c16e6a3a67545cec2cdf.jpg","text":"TemporaryFile(/tmp/multipartBody6841165550429213912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931902567,"filename":"image_17122025_01_27_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a7266e949e441a5240e38d45dd27aa1.jpg","text":"TemporaryFile(/tmp/multipartBody7808947584912848259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931902567,"filename":"image_17122025_01_27_54_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09f27e4df162acdab0b6ef8aa5a8e207.jpg","text":"TemporaryFile(/tmp/multipartBody8266475668722477357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931902567,"filename":"image_17122025_01_26_44_9784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731950","file1":"1399731948","file0":"1399731945","file4":"1399731954","file5":"1399731956","file3":"1399731952"},"map_files_photo_id_array":[{"photo_id":"1399731956","filename":"file5"},{"photo_id":"1399731950","filename":"file2"},{"photo_id":"1399731954","filename":"file4"},{"photo_id":"1399731948","filename":"file1"},{"photo_id":"1399731945","filename":"file0"},{"photo_id":"1399731952","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731945":["hashtag1","hashtag2"]},{"1399731950":["hashtag1","hashtag2"]},{"1399731956":["hashtag1","hashtag2"]},{"1399731952":["hashtag1","hashtag2"]},{"1399731954":["hashtag1","hashtag2"]},{"1399731948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731945, 1399731950, 1399731956, 1399731952, 1399731954, 1399731948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.213536500930786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:38:02.638616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/28/image_17122025_01_28_34_9741.jpg', '/home/pi/Desktop/images/17122025/01/28/image_17122025_01_28_45_10765.jpg', '/home/pi/Desktop/images/17122025/01/28/image_17122025_01_28_55_9654.jpg', '/home/pi/Desktop/images/17122025/01/28/image_17122025_01_29_04_9712.jpg', '/home/pi/Desktop/images/17122025/01/29/image_17122025_01_29_15_10587.jpg', '/home/pi/Desktop/images/17122025/01/29/image_17122025_01_29_34_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/28/image_17122025_01_28_34_9741.jpg
/home/pi/Desktop/images/17122025/01/28/image_17122025_01_28_45_10765.jpg
/home/pi/Desktop/images/17122025/01/28/image_17122025_01_28_55_9654.jpg
/home/pi/Desktop/images/17122025/01/28/image_17122025_01_29_04_9712.jpg
/home/pi/Desktop/images/17122025/01/29/image_17122025_01_29_15_10587.jpg
/home/pi/Desktop/images/17122025/01/29/image_17122025_01_29_34_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":["1399731957","1399731962","1399731959","1399731961","1399731958","1399731960"],"photo_ids_order":["1399731957","1399731958","1399731959","1399731960","1399731961","1399731962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d07e78766961472df8ab33bcc6edddae.jpg","text":"TemporaryFile(/tmp/multipartBody4299054656833053704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931943292,"filename":"image_17122025_01_28_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/466790f0f9d7f6038d100074346365fe.jpg","text":"TemporaryFile(/tmp/multipartBody5107485827371632876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931943292,"filename":"image_17122025_01_29_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/521f626744c78e749681835cc7c447c2.jpg","text":"TemporaryFile(/tmp/multipartBody7697169827030891101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931943292,"filename":"image_17122025_01_28_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8404dfa4e0189b14ca5a92722d89d324.jpg","text":"TemporaryFile(/tmp/multipartBody2330060690845562644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931943292,"filename":"image_17122025_01_29_15_10587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30164b4f80897d8c94e945fa46ccb95f.jpg","text":"TemporaryFile(/tmp/multipartBody8601004752133782953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931943292,"filename":"image_17122025_01_28_45_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fcbdd36754b77b35f8ccb02934bd496.jpg","text":"TemporaryFile(/tmp/multipartBody3424977116377387660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931943292,"filename":"image_17122025_01_29_04_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731959","file1":"1399731958","file0":"1399731957","file4":"1399731961","file5":"1399731962","file3":"1399731960"},"map_files_photo_id_array":[{"photo_id":"1399731962","filename":"file5"},{"photo_id":"1399731959","filename":"file2"},{"photo_id":"1399731961","filename":"file4"},{"photo_id":"1399731958","filename":"file1"},{"photo_id":"1399731957","filename":"file0"},{"photo_id":"1399731960","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399731957":["hashtag1","hashtag2"]},{"1399731962":["hashtag1","hashtag2"]},{"1399731959":["hashtag1","hashtag2"]},{"1399731961":["hashtag1","hashtag2"]},{"1399731958":["hashtag1","hashtag2"]},{"1399731960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399731957, 1399731962, 1399731959, 1399731961, 1399731958, 1399731960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81192398071289 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:38:42.148767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_19_1587.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_21_1754.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_22_1606.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_24_1579.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_25_1652.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_27_1582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_19_1587.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_21_1754.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_22_1606.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_24_1579.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_25_1652.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_27_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":["1399731977","1399731974","1399731968","1399731979","1399731970","1399731972"],"photo_ids_order":["1399731968","1399731970","1399731972","1399731974","1399731977","1399731979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c75fa3fcc54fca276ff6730b4f7a58ef.jpg","text":"TemporaryFile(/tmp/multipartBody6142125465116190720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931982864,"filename":"image_07112025_15_32_25_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7601f0e80a26ceff50209e0ec3483203.jpg","text":"TemporaryFile(/tmp/multipartBody5179291507061437279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931982864,"filename":"image_07112025_15_32_24_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed1f625b0309c1d5f5ce9c182d013d61.jpg","text":"TemporaryFile(/tmp/multipartBody2247341835589627369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931982864,"filename":"image_07112025_15_32_19_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a328fd79f69889b18c415f1a1753cc7.jpg","text":"TemporaryFile(/tmp/multipartBody8805146774259782970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931982864,"filename":"image_07112025_15_32_27_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a923f7b993df900188737687721d947.jpg","text":"TemporaryFile(/tmp/multipartBody6454832883466413295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931982864,"filename":"image_07112025_15_32_21_1754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bc6e06813d6524a510137e9f6b5d840.jpg","text":"TemporaryFile(/tmp/multipartBody1092551506795155636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765931982864,"filename":"image_07112025_15_32_22_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731972","file1":"1399731970","file0":"1399731968","file4":"1399731977","file5":"1399731979","file3":"1399731974"},"map_files_photo_id_array":[{"photo_id":"1399731979","filename":"file5"},{"photo_id":"1399731972","filename":"file2"},{"photo_id":"1399731977","filename":"file4"},{"photo_id":"1399731970","filename":"file1"},{"photo_id":"1399731968","filename":"file0"},{"photo_id":"1399731974","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731977":["hashtag1","hashtag2"]},{"1399731974":["hashtag1","hashtag2"]},{"1399731968":["hashtag1","hashtag2"]},{"1399731979":["hashtag1","hashtag2"]},{"1399731970":["hashtag1","hashtag2"]},{"1399731972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731977, 1399731974, 1399731968, 1399731979, 1399731970, 1399731972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0702166557312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:39:22.438462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/29/image_17122025_01_30_04_9627.jpg', '/home/pi/Desktop/images/17122025/01/30/image_17122025_01_30_15_10661.jpg', '/home/pi/Desktop/images/17122025/01/30/image_17122025_01_30_34_9705.jpg', '/home/pi/Desktop/images/17122025/01/31/image_17122025_01_31_45_9856.jpg', '/home/pi/Desktop/images/17122025/01/31/image_17122025_01_31_55_9786.jpg', '/home/pi/Desktop/images/17122025/01/31/image_17122025_01_32_04_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/29/image_17122025_01_30_04_9627.jpg
/home/pi/Desktop/images/17122025/01/30/image_17122025_01_30_15_10661.jpg
/home/pi/Desktop/images/17122025/01/30/image_17122025_01_30_34_9705.jpg
/home/pi/Desktop/images/17122025/01/31/image_17122025_01_31_45_9856.jpg
/home/pi/Desktop/images/17122025/01/31/image_17122025_01_31_55_9786.jpg
/home/pi/Desktop/images/17122025/01/31/image_17122025_01_32_04_9748.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4731099605560303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:39:32.342359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:39:42.342894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_29_1630.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_30_1638.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_32_1626.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_34_1705.jpg', '/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_35_1522.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_36_118844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_29_1630.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_30_1638.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_32_1626.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_34_1705.jpg
/home/pi/Desktop/images/07112025/15/32/image_07112025_15_32_35_1522.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_36_118844.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399731995","1399731992","1399731994","1399731997","1399731990","1399731993"],"photo_ids_order":["1399731990","1399731992","1399731993","1399731994","1399731995","1399731997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdd339f17596da0b6f2275b64bacae4e.jpg","text":"TemporaryFile(/tmp/multipartBody3241036677316275465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932043062,"filename":"image_07112025_15_32_35_1522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/375da447d3b028d0cf7adb1622050d53.jpg","text":"TemporaryFile(/tmp/multipartBody8627535771038817539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932043062,"filename":"image_07112025_15_32_30_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f69105541153497f7bd349fc6d523054.jpg","text":"TemporaryFile(/tmp/multipartBody8685362578691090173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932043062,"filename":"image_07112025_15_32_34_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c04be750cecfde06f56cc651beb6a5be.jpg","text":"TemporaryFile(/tmp/multipartBody4343533053039328697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932043062,"filename":"image_07112025_15_34_36_118844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b0e46b9eae6d5f9a5137c2b4a86386c.jpg","text":"TemporaryFile(/tmp/multipartBody8433999416904498064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932043062,"filename":"image_07112025_15_32_29_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0fdbce00596ee3580f94c0641a72ebce.jpg","text":"TemporaryFile(/tmp/multipartBody2168265969452168174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932043062,"filename":"image_07112025_15_32_32_1626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399731993","file1":"1399731992","file0":"1399731990","file4":"1399731995","file5":"1399731997","file3":"1399731994"},"map_files_photo_id_array":[{"photo_id":"1399731997","filename":"file5"},{"photo_id":"1399731993","filename":"file2"},{"photo_id":"1399731995","filename":"file4"},{"photo_id":"1399731992","filename":"file1"},{"photo_id":"1399731990","filename":"file0"},{"photo_id":"1399731994","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399731995":["hashtag1","hashtag2"]},{"1399731992":["hashtag1","hashtag2"]},{"1399731994":["hashtag1","hashtag2"]},{"1399731997":["hashtag1","hashtag2"]},{"1399731990":["hashtag1","hashtag2"]},{"1399731993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399731995, 1399731992, 1399731994, 1399731997, 1399731990, 1399731993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34976029396057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:40:22.610384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/29/image_17122025_01_30_04_9627.jpg', '/home/pi/Desktop/images/17122025/01/30/image_17122025_01_30_15_10661.jpg', '/home/pi/Desktop/images/17122025/01/30/image_17122025_01_30_34_9705.jpg', '/home/pi/Desktop/images/17122025/01/31/image_17122025_01_31_45_9856.jpg', '/home/pi/Desktop/images/17122025/01/31/image_17122025_01_31_55_9786.jpg', '/home/pi/Desktop/images/17122025/01/31/image_17122025_01_32_04_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/29/image_17122025_01_30_04_9627.jpg
/home/pi/Desktop/images/17122025/01/30/image_17122025_01_30_15_10661.jpg
/home/pi/Desktop/images/17122025/01/30/image_17122025_01_30_34_9705.jpg
/home/pi/Desktop/images/17122025/01/31/image_17122025_01_31_45_9856.jpg
/home/pi/Desktop/images/17122025/01/31/image_17122025_01_31_55_9786.jpg
/home/pi/Desktop/images/17122025/01/31/image_17122025_01_32_04_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732005","1399732008","1399732007","1399732001","1399732003","1399731999"],"photo_ids_order":["1399731999","1399732001","1399732003","1399732005","1399732007","1399732008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81b1ca43b23660df172b299c7596226f.jpg","text":"TemporaryFile(/tmp/multipartBody1264270307284351929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932083202,"filename":"image_17122025_01_31_45_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c4a1f784bf39699e0e38d5e5ddf8ab0.jpg","text":"TemporaryFile(/tmp/multipartBody5710918599066030179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932083202,"filename":"image_17122025_01_32_04_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de5a262b08323e22ccb1fd37ed739852.jpg","text":"TemporaryFile(/tmp/multipartBody9025817479185165384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932083202,"filename":"image_17122025_01_31_55_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12d82d53c1321ce2c063da423e80053f.jpg","text":"TemporaryFile(/tmp/multipartBody1323296761489297528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932083202,"filename":"image_17122025_01_30_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43439c224cd7908f9670ad3611759f3a.jpg","text":"TemporaryFile(/tmp/multipartBody282338582974489629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932083202,"filename":"image_17122025_01_30_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d66a48fd9db53be9f71412d2daa2f7ef.jpg","text":"TemporaryFile(/tmp/multipartBody6423602039848945870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932083202,"filename":"image_17122025_01_30_04_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732003","file1":"1399732001","file0":"1399731999","file4":"1399732007","file5":"1399732008","file3":"1399732005"},"map_files_photo_id_array":[{"photo_id":"1399732008","filename":"file5"},{"photo_id":"1399732003","filename":"file2"},{"photo_id":"1399732007","filename":"file4"},{"photo_id":"1399732001","filename":"file1"},{"photo_id":"1399731999","filename":"file0"},{"photo_id":"1399732005","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732005":["hashtag1","hashtag2"]},{"1399732008":["hashtag1","hashtag2"]},{"1399732007":["hashtag1","hashtag2"]},{"1399732001":["hashtag1","hashtag2"]},{"1399732003":["hashtag1","hashtag2"]},{"1399731999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732005, 1399732008, 1399732007, 1399732001, 1399732003, 1399731999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44684982299805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:41:02.724647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/32/image_17122025_01_32_15_10658.jpg', '/home/pi/Desktop/images/17122025/01/32/image_17122025_01_32_25_9755.jpg', '/home/pi/Desktop/images/17122025/01/32/image_17122025_01_32_34_9583.jpg', '/home/pi/Desktop/images/17122025/01/32/image_17122025_01_32_55_9721.jpg', '/home/pi/Desktop/images/17122025/01/32/image_17122025_01_33_05_9721.jpg', '/home/pi/Desktop/images/17122025/01/33/image_17122025_01_33_14_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/32/image_17122025_01_32_15_10658.jpg
/home/pi/Desktop/images/17122025/01/32/image_17122025_01_32_25_9755.jpg
/home/pi/Desktop/images/17122025/01/32/image_17122025_01_32_34_9583.jpg
/home/pi/Desktop/images/17122025/01/32/image_17122025_01_32_55_9721.jpg
/home/pi/Desktop/images/17122025/01/32/image_17122025_01_33_05_9721.jpg
/home/pi/Desktop/images/17122025/01/33/image_17122025_01_33_14_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":["1399732011","1399732014","1399732013","1399732016","1399732010","1399732012"],"photo_ids_order":["1399732010","1399732011","1399732012","1399732013","1399732014","1399732016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21835ecdcd2ceed32c032f4574d5f055.jpg","text":"TemporaryFile(/tmp/multipartBody3022079008337656695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932123354,"filename":"image_17122025_01_32_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/264edae5f1db699237d60f63ba9d1817.jpg","text":"TemporaryFile(/tmp/multipartBody1535912913605823826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932123354,"filename":"image_17122025_01_33_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2cd78a9ddd8b2fe22bf0a7b8d52b77b.jpg","text":"TemporaryFile(/tmp/multipartBody1373192298719781631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932123354,"filename":"image_17122025_01_32_55_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/571967da52d2610ae83f9003a28d11eb.jpg","text":"TemporaryFile(/tmp/multipartBody2069200791463177346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932123354,"filename":"image_17122025_01_33_14_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fe463b00032e4e14e2ea0b9017104b6.jpg","text":"TemporaryFile(/tmp/multipartBody7940963541423889107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932123354,"filename":"image_17122025_01_32_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/606172d3fbc57b2e69cfc0805308a720.jpg","text":"TemporaryFile(/tmp/multipartBody100752901474947045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932123354,"filename":"image_17122025_01_32_34_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732012","file1":"1399732011","file0":"1399732010","file4":"1399732014","file5":"1399732016","file3":"1399732013"},"map_files_photo_id_array":[{"photo_id":"1399732016","filename":"file5"},{"photo_id":"1399732012","filename":"file2"},{"photo_id":"1399732014","filename":"file4"},{"photo_id":"1399732011","filename":"file1"},{"photo_id":"1399732010","filename":"file0"},{"photo_id":"1399732013","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732011":["hashtag1","hashtag2"]},{"1399732014":["hashtag1","hashtag2"]},{"1399732013":["hashtag1","hashtag2"]},{"1399732016":["hashtag1","hashtag2"]},{"1399732010":["hashtag1","hashtag2"]},{"1399732012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732011, 1399732014, 1399732013, 1399732016, 1399732010, 1399732012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.69073176383972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:41:41.896453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_37_1700.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_39_1764.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_41_1747.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_43_1627.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_44_1596.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_46_1733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_37_1700.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_39_1764.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_41_1747.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_43_1627.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_44_1596.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_46_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":["1399732026","1399732025","1399732024","1399732027","1399732021","1399732023"],"photo_ids_order":["1399732021","1399732023","1399732024","1399732025","1399732026","1399732027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a54c757ce738f7939e3112eac246266c.jpg","text":"TemporaryFile(/tmp/multipartBody7643618708197963922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932162640,"filename":"image_07112025_15_34_44_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24209a1166c9a8d509e9db102b341b23.jpg","text":"TemporaryFile(/tmp/multipartBody6688863667361824433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932162640,"filename":"image_07112025_15_34_43_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/278c02aa54652582d0d5f43d0b952c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5354432480183489883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932162640,"filename":"image_07112025_15_34_41_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b6dbe4ba735bb2b423a45cbf8595bdc.jpg","text":"TemporaryFile(/tmp/multipartBody4783320795104021199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932162640,"filename":"image_07112025_15_34_46_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6db9e18898626f350e0ce4349dc5dcd4.jpg","text":"TemporaryFile(/tmp/multipartBody6058836922823325156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932162640,"filename":"image_07112025_15_34_37_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5bbbb78d33b5bbb118a33bcbd015062.jpg","text":"TemporaryFile(/tmp/multipartBody603680780567756881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932162640,"filename":"image_07112025_15_34_39_1764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732024","file1":"1399732023","file0":"1399732021","file4":"1399732026","file5":"1399732027","file3":"1399732025"},"map_files_photo_id_array":[{"photo_id":"1399732027","filename":"file5"},{"photo_id":"1399732024","filename":"file2"},{"photo_id":"1399732026","filename":"file4"},{"photo_id":"1399732023","filename":"file1"},{"photo_id":"1399732021","filename":"file0"},{"photo_id":"1399732025","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399732026":["hashtag1","hashtag2"]},{"1399732025":["hashtag1","hashtag2"]},{"1399732024":["hashtag1","hashtag2"]},{"1399732027":["hashtag1","hashtag2"]},{"1399732021":["hashtag1","hashtag2"]},{"1399732023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399732026, 1399732025, 1399732024, 1399732027, 1399732021, 1399732023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79434061050415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:42:22.164965
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/33/image_17122025_01_33_25_10654.jpg', '/home/pi/Desktop/images/17122025/01/33/image_17122025_01_33_45_10308.jpg', '/home/pi/Desktop/images/17122025/01/33/image_17122025_01_33_54_9734.jpg', '/home/pi/Desktop/images/17122025/01/33/image_17122025_01_34_04_9742.jpg', '/home/pi/Desktop/images/17122025/01/34/image_17122025_01_34_15_10654.jpg', '/home/pi/Desktop/images/17122025/01/34/image_17122025_01_34_25_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/33/image_17122025_01_33_25_10654.jpg
/home/pi/Desktop/images/17122025/01/33/image_17122025_01_33_45_10308.jpg
/home/pi/Desktop/images/17122025/01/33/image_17122025_01_33_54_9734.jpg
/home/pi/Desktop/images/17122025/01/33/image_17122025_01_34_04_9742.jpg
/home/pi/Desktop/images/17122025/01/34/image_17122025_01_34_15_10654.jpg
/home/pi/Desktop/images/17122025/01/34/image_17122025_01_34_25_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732031","1399732028","1399732033","1399732035","1399732029","1399732038"],"photo_ids_order":["1399732028","1399732029","1399732031","1399732033","1399732035","1399732038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/875c571ad2c7dffb70de33cf74d93a20.jpg","text":"TemporaryFile(/tmp/multipartBody431669197119288224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932202749,"filename":"image_17122025_01_33_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d6235fe2717b18404e8a1a31541e7f6.jpg","text":"TemporaryFile(/tmp/multipartBody7155064560367876214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932202749,"filename":"image_17122025_01_33_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d73774966c73ca36940164e98882186e.jpg","text":"TemporaryFile(/tmp/multipartBody1648129280631704632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932202749,"filename":"image_17122025_01_34_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/142ecb50eda92858bfe934d89d760d74.jpg","text":"TemporaryFile(/tmp/multipartBody5726552481541295351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932202749,"filename":"image_17122025_01_34_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fa8aa8da323cb0a2296107d375dc09f.jpg","text":"TemporaryFile(/tmp/multipartBody8812285762226333992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932202749,"filename":"image_17122025_01_33_45_10308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65ebc2b2024bf12c9d650c14a0602e51.jpg","text":"TemporaryFile(/tmp/multipartBody360791083385615802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932202749,"filename":"image_17122025_01_34_25_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732031","file1":"1399732029","file0":"1399732028","file4":"1399732035","file5":"1399732038","file3":"1399732033"},"map_files_photo_id_array":[{"photo_id":"1399732038","filename":"file5"},{"photo_id":"1399732031","filename":"file2"},{"photo_id":"1399732035","filename":"file4"},{"photo_id":"1399732029","filename":"file1"},{"photo_id":"1399732028","filename":"file0"},{"photo_id":"1399732033","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732031":["hashtag1","hashtag2"]},{"1399732028":["hashtag1","hashtag2"]},{"1399732033":["hashtag1","hashtag2"]},{"1399732035":["hashtag1","hashtag2"]},{"1399732029":["hashtag1","hashtag2"]},{"1399732038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732031, 1399732028, 1399732033, 1399732035, 1399732029, 1399732038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.9783239364624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:43:02.968093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/34/image_17122025_01_34_45_10600.jpg', '/home/pi/Desktop/images/17122025/01/34/image_17122025_01_34_55_9626.jpg', '/home/pi/Desktop/images/17122025/01/35/image_17122025_01_35_25_9612.jpg', '/home/pi/Desktop/images/17122025/01/35/image_17122025_01_35_34_9528.jpg', '/home/pi/Desktop/images/17122025/01/35/image_17122025_01_35_55_9652.jpg', '/home/pi/Desktop/images/17122025/01/35/image_17122025_01_36_04_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/34/image_17122025_01_34_45_10600.jpg
/home/pi/Desktop/images/17122025/01/34/image_17122025_01_34_55_9626.jpg
/home/pi/Desktop/images/17122025/01/35/image_17122025_01_35_25_9612.jpg
/home/pi/Desktop/images/17122025/01/35/image_17122025_01_35_34_9528.jpg
/home/pi/Desktop/images/17122025/01/35/image_17122025_01_35_55_9652.jpg
/home/pi/Desktop/images/17122025/01/35/image_17122025_01_36_04_9832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732043","1399732046","1399732049","1399732045","1399732047","1399732044"],"photo_ids_order":["1399732043","1399732044","1399732045","1399732046","1399732047","1399732049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f4ef889cb7ce87df277ae3c6a8620c1.jpg","text":"TemporaryFile(/tmp/multipartBody4094238219229133584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932243655,"filename":"image_17122025_01_34_45_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2823a30ebe83b87b06baf853dfcc9566.jpg","text":"TemporaryFile(/tmp/multipartBody2389963546745684591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932243655,"filename":"image_17122025_01_35_34_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85d978b74dde78e32f381612d3d4d704.jpg","text":"TemporaryFile(/tmp/multipartBody5049393296105985327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932243655,"filename":"image_17122025_01_36_04_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc157c0e0353ddf975e0012acd0cdac7.jpg","text":"TemporaryFile(/tmp/multipartBody8318864674219410617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932243655,"filename":"image_17122025_01_35_25_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/891a51167891a8c6dcddb586347434f2.jpg","text":"TemporaryFile(/tmp/multipartBody8312509322581984803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932243655,"filename":"image_17122025_01_35_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/683f6a8ffa87b3783136eaaa3a707662.jpg","text":"TemporaryFile(/tmp/multipartBody6667841828880414776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932243655,"filename":"image_17122025_01_34_55_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732045","file1":"1399732044","file0":"1399732043","file4":"1399732047","file5":"1399732049","file3":"1399732046"},"map_files_photo_id_array":[{"photo_id":"1399732049","filename":"file5"},{"photo_id":"1399732045","filename":"file2"},{"photo_id":"1399732047","filename":"file4"},{"photo_id":"1399732044","filename":"file1"},{"photo_id":"1399732043","filename":"file0"},{"photo_id":"1399732046","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732043":["hashtag1","hashtag2"]},{"1399732046":["hashtag1","hashtag2"]},{"1399732049":["hashtag1","hashtag2"]},{"1399732045":["hashtag1","hashtag2"]},{"1399732047":["hashtag1","hashtag2"]},{"1399732044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732043, 1399732046, 1399732049, 1399732045, 1399732047, 1399732044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22068238258362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:43:42.376011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_48_1605.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_49_1721.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_51_1674.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_53_1663.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_54_1596.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_56_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_48_1605.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_49_1721.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_51_1674.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_53_1663.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_54_1596.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_56_1691.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6259887218475342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:44:03.277056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/36/image_17122025_01_36_14_9786.jpg', '/home/pi/Desktop/images/17122025/01/36/image_17122025_01_36_25_10730.jpg', '/home/pi/Desktop/images/17122025/01/36/image_17122025_01_36_44_9581.jpg', '/home/pi/Desktop/images/17122025/01/36/image_17122025_01_36_55_10743.jpg', '/home/pi/Desktop/images/17122025/01/36/image_17122025_01_37_05_9720.jpg', '/home/pi/Desktop/images/17122025/01/37/image_17122025_01_37_14_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/36/image_17122025_01_36_14_9786.jpg
/home/pi/Desktop/images/17122025/01/36/image_17122025_01_36_25_10730.jpg
/home/pi/Desktop/images/17122025/01/36/image_17122025_01_36_44_9581.jpg
/home/pi/Desktop/images/17122025/01/36/image_17122025_01_36_55_10743.jpg
/home/pi/Desktop/images/17122025/01/36/image_17122025_01_37_05_9720.jpg
/home/pi/Desktop/images/17122025/01/37/image_17122025_01_37_14_9782.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732061","1399732064","1399732060","1399732063","1399732066","1399732059"],"photo_ids_order":["1399732059","1399732060","1399732061","1399732063","1399732064","1399732066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a64a3f89607bc24d4e001f8795209dd4.jpg","text":"TemporaryFile(/tmp/multipartBody7617292849837248688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932303920,"filename":"image_17122025_01_36_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5cfcb0b6c63eca9fff5e5ed390315e7e.jpg","text":"TemporaryFile(/tmp/multipartBody8479264256743281822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932303920,"filename":"image_17122025_01_37_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1defb0ab6432c2353d36eed5e55069c6.jpg","text":"TemporaryFile(/tmp/multipartBody5777611291560150094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932303920,"filename":"image_17122025_01_36_25_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/992a1cea8a199d150c1cc48ccc2403fa.jpg","text":"TemporaryFile(/tmp/multipartBody3175975272452894372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932303920,"filename":"image_17122025_01_36_55_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/436e988d81d7f002ca49d061d9cd4e7e.jpg","text":"TemporaryFile(/tmp/multipartBody277304778578575742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932303920,"filename":"image_17122025_01_37_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8efe46ad39f090d62b3a9a8da7b1a7e.jpg","text":"TemporaryFile(/tmp/multipartBody1764262631549716793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932303920,"filename":"image_17122025_01_36_14_9786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732061","file1":"1399732060","file0":"1399732059","file4":"1399732064","file5":"1399732066","file3":"1399732063"},"map_files_photo_id_array":[{"photo_id":"1399732066","filename":"file5"},{"photo_id":"1399732061","filename":"file2"},{"photo_id":"1399732064","filename":"file4"},{"photo_id":"1399732060","filename":"file1"},{"photo_id":"1399732059","filename":"file0"},{"photo_id":"1399732063","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732061":["hashtag1","hashtag2"]},{"1399732064":["hashtag1","hashtag2"]},{"1399732060":["hashtag1","hashtag2"]},{"1399732063":["hashtag1","hashtag2"]},{"1399732066":["hashtag1","hashtag2"]},{"1399732059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732061, 1399732064, 1399732060, 1399732063, 1399732066, 1399732059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.568801164627075 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:44:42.584664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_48_1605.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_49_1721.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_51_1674.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_53_1663.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_54_1596.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_56_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_48_1605.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_49_1721.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_51_1674.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_53_1663.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_54_1596.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_56_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":["1399732076","1399732072","1399732075","1399732078","1399732077","1399732074"],"photo_ids_order":["1399732072","1399732074","1399732075","1399732076","1399732077","1399732078"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40b222a102f23d1faecea360514bf4f4.jpg","text":"TemporaryFile(/tmp/multipartBody3284461203142738860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932343183,"filename":"image_07112025_15_34_53_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3630d9b39457c0f19912eee348e20e49.jpg","text":"TemporaryFile(/tmp/multipartBody6019762758571447719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932343183,"filename":"image_07112025_15_34_48_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9969ca3cabfd000562e5ccae2ae60a74.jpg","text":"TemporaryFile(/tmp/multipartBody3529760765620118133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932343183,"filename":"image_07112025_15_34_51_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd3cc83b8013d100ddf21f253aa40f3f.jpg","text":"TemporaryFile(/tmp/multipartBody6438999256678377447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932343183,"filename":"image_07112025_15_34_56_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c990714a5cb33d4e6431d1ca88d4e223.jpg","text":"TemporaryFile(/tmp/multipartBody5881208980831848686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932343183,"filename":"image_07112025_15_34_54_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/571d36d022ef7b06c9dada0392ed22da.jpg","text":"TemporaryFile(/tmp/multipartBody1205159922112150041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932343183,"filename":"image_07112025_15_34_49_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732075","file1":"1399732074","file0":"1399732072","file4":"1399732077","file5":"1399732078","file3":"1399732076"},"map_files_photo_id_array":[{"photo_id":"1399732078","filename":"file5"},{"photo_id":"1399732075","filename":"file2"},{"photo_id":"1399732077","filename":"file4"},{"photo_id":"1399732074","filename":"file1"},{"photo_id":"1399732072","filename":"file0"},{"photo_id":"1399732076","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399732076":["hashtag1","hashtag2"]},{"1399732072":["hashtag1","hashtag2"]},{"1399732075":["hashtag1","hashtag2"]},{"1399732078":["hashtag1","hashtag2"]},{"1399732077":["hashtag1","hashtag2"]},{"1399732074":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399732076, 1399732072, 1399732075, 1399732078, 1399732077, 1399732074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52713418006897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:45:21.856336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/37/image_17122025_01_37_35_10654.jpg', '/home/pi/Desktop/images/17122025/01/37/image_17122025_01_37_44_9553.jpg', '/home/pi/Desktop/images/17122025/01/38/image_17122025_01_38_25_9899.jpg', '/home/pi/Desktop/images/17122025/01/38/image_17122025_01_38_34_9602.jpg', '/home/pi/Desktop/images/17122025/01/38/image_17122025_01_38_45_10607.jpg', '/home/pi/Desktop/images/17122025/01/38/image_17122025_01_38_55_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/37/image_17122025_01_37_35_10654.jpg
/home/pi/Desktop/images/17122025/01/37/image_17122025_01_37_44_9553.jpg
/home/pi/Desktop/images/17122025/01/38/image_17122025_01_38_25_9899.jpg
/home/pi/Desktop/images/17122025/01/38/image_17122025_01_38_34_9602.jpg
/home/pi/Desktop/images/17122025/01/38/image_17122025_01_38_45_10607.jpg
/home/pi/Desktop/images/17122025/01/38/image_17122025_01_38_55_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732085","1399732079","1399732087","1399732081","1399732083","1399732089"],"photo_ids_order":["1399732079","1399732081","1399732083","1399732085","1399732087","1399732089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fa0fdb826bd6be5f2cd34cc271ab46c.jpg","text":"TemporaryFile(/tmp/multipartBody8087280606358728034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932382441,"filename":"image_17122025_01_38_34_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/483c94193c86b266a9ca36130cde92e0.jpg","text":"TemporaryFile(/tmp/multipartBody4179733565787607373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932382441,"filename":"image_17122025_01_37_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb575dacdd153c84ba379a7e680e20b0.jpg","text":"TemporaryFile(/tmp/multipartBody2923716909792736897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932382441,"filename":"image_17122025_01_38_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/381dd59b2132b2c3b30273e4cc30c25f.jpg","text":"TemporaryFile(/tmp/multipartBody6803411919718495718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932382441,"filename":"image_17122025_01_37_44_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26ec381dbb3c05e7c1ef67b8e6f05690.jpg","text":"TemporaryFile(/tmp/multipartBody1872313952965843209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932382441,"filename":"image_17122025_01_38_25_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f5fe6dc198dc2f27a40b215ae4e55bb.jpg","text":"TemporaryFile(/tmp/multipartBody8966568989831826114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932382441,"filename":"image_17122025_01_38_55_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732083","file1":"1399732081","file0":"1399732079","file4":"1399732087","file5":"1399732089","file3":"1399732085"},"map_files_photo_id_array":[{"photo_id":"1399732089","filename":"file5"},{"photo_id":"1399732083","filename":"file2"},{"photo_id":"1399732087","filename":"file4"},{"photo_id":"1399732081","filename":"file1"},{"photo_id":"1399732079","filename":"file0"},{"photo_id":"1399732085","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732085":["hashtag1","hashtag2"]},{"1399732079":["hashtag1","hashtag2"]},{"1399732087":["hashtag1","hashtag2"]},{"1399732081":["hashtag1","hashtag2"]},{"1399732083":["hashtag1","hashtag2"]},{"1399732089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732085, 1399732079, 1399732087, 1399732081, 1399732083, 1399732089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.938008308410645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:46:02.429694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/38/image_17122025_01_39_04_9678.jpg', '/home/pi/Desktop/images/17122025/01/39/image_17122025_01_39_25_9607.jpg', '/home/pi/Desktop/images/17122025/01/39/image_17122025_01_39_34_9635.jpg', '/home/pi/Desktop/images/17122025/01/39/image_17122025_01_39_45_10667.jpg', '/home/pi/Desktop/images/17122025/01/39/image_17122025_01_39_55_9840.jpg', '/home/pi/Desktop/images/17122025/01/39/image_17122025_01_40_05_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/38/image_17122025_01_39_04_9678.jpg
/home/pi/Desktop/images/17122025/01/39/image_17122025_01_39_25_9607.jpg
/home/pi/Desktop/images/17122025/01/39/image_17122025_01_39_34_9635.jpg
/home/pi/Desktop/images/17122025/01/39/image_17122025_01_39_45_10667.jpg
/home/pi/Desktop/images/17122025/01/39/image_17122025_01_39_55_9840.jpg
/home/pi/Desktop/images/17122025/01/39/image_17122025_01_40_05_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":["1399732094","1399732097","1399732091","1399732090","1399732095","1399732092"],"photo_ids_order":["1399732090","1399732091","1399732092","1399732094","1399732095","1399732097"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55c2a78f62185d55b7a69e58f887a76c.jpg","text":"TemporaryFile(/tmp/multipartBody105307336507768162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932423068,"filename":"image_17122025_01_39_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f9e39a14b6dbb2f4a6658ecb293ffd8.jpg","text":"TemporaryFile(/tmp/multipartBody7337692683978875887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932423068,"filename":"image_17122025_01_40_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99455353c98aac2707f666e07aa7ed09.jpg","text":"TemporaryFile(/tmp/multipartBody3176430631083871281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932423068,"filename":"image_17122025_01_39_25_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de451dc0c51d37845c68937301235baa.jpg","text":"TemporaryFile(/tmp/multipartBody5171130113083606453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932423068,"filename":"image_17122025_01_39_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31cd828524f225bf4dc785f5cba494a3.jpg","text":"TemporaryFile(/tmp/multipartBody7717963827260352285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932423068,"filename":"image_17122025_01_39_55_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6a298672e152c69eb4c99ee674b4965.jpg","text":"TemporaryFile(/tmp/multipartBody752535053775576146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932423068,"filename":"image_17122025_01_39_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732092","file1":"1399732091","file0":"1399732090","file4":"1399732095","file5":"1399732097","file3":"1399732094"},"map_files_photo_id_array":[{"photo_id":"1399732097","filename":"file5"},{"photo_id":"1399732092","filename":"file2"},{"photo_id":"1399732095","filename":"file4"},{"photo_id":"1399732091","filename":"file1"},{"photo_id":"1399732090","filename":"file0"},{"photo_id":"1399732094","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732094":["hashtag1","hashtag2"]},{"1399732097":["hashtag1","hashtag2"]},{"1399732091":["hashtag1","hashtag2"]},{"1399732090":["hashtag1","hashtag2"]},{"1399732095":["hashtag1","hashtag2"]},{"1399732092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732094, 1399732097, 1399732091, 1399732090, 1399732095, 1399732092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33091115951538 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:46:42.042944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_57_1558.jpg', '/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_59_1809.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_01_1790.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_03_1671.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_04_1695.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_06_1702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_57_1558.jpg
/home/pi/Desktop/images/07112025/15/34/image_07112025_15_34_59_1809.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_01_1790.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_03_1671.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_04_1695.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_06_1702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732104","1399732107","1399732106","1399732105","1399732108","1399732102"],"photo_ids_order":["1399732102","1399732104","1399732105","1399732106","1399732107","1399732108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08f07ec5a71ed2c3f3aeb451e838e8f8.jpg","text":"TemporaryFile(/tmp/multipartBody2145972891124825601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932462805,"filename":"image_07112025_15_34_59_1809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20745e9c2c92c31e91ca4e7ef9136475.jpg","text":"TemporaryFile(/tmp/multipartBody6714241307910569220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932462805,"filename":"image_07112025_15_35_04_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20d9c47a4d1a6c0a2b83e629cef0f3ac.jpg","text":"TemporaryFile(/tmp/multipartBody5372500144165587062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932462805,"filename":"image_07112025_15_35_03_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79f2bd7a8798bc1f3ab0f5bd4c5b01f8.jpg","text":"TemporaryFile(/tmp/multipartBody4108874664039660370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932462805,"filename":"image_07112025_15_35_01_1790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b499fb114a3c48a500e33fd3f5e55771.jpg","text":"TemporaryFile(/tmp/multipartBody3546805498268805611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932462805,"filename":"image_07112025_15_35_06_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/552622b4afe22609caa464d2f6faf601.jpg","text":"TemporaryFile(/tmp/multipartBody2045888358278003264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932462805,"filename":"image_07112025_15_34_57_1558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732105","file1":"1399732104","file0":"1399732102","file4":"1399732107","file5":"1399732108","file3":"1399732106"},"map_files_photo_id_array":[{"photo_id":"1399732108","filename":"file5"},{"photo_id":"1399732105","filename":"file2"},{"photo_id":"1399732107","filename":"file4"},{"photo_id":"1399732104","filename":"file1"},{"photo_id":"1399732102","filename":"file0"},{"photo_id":"1399732106","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399732104":["hashtag1","hashtag2"]},{"1399732107":["hashtag1","hashtag2"]},{"1399732106":["hashtag1","hashtag2"]},{"1399732105":["hashtag1","hashtag2"]},{"1399732108":["hashtag1","hashtag2"]},{"1399732102":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399732104, 1399732107, 1399732106, 1399732105, 1399732108, 1399732102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.829081535339355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:47:22.296630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/40/image_17122025_01_40_14_9922.jpg', '/home/pi/Desktop/images/17122025/01/40/image_17122025_01_40_24_9843.jpg', '/home/pi/Desktop/images/17122025/01/40/image_17122025_01_41_04_9701.jpg', '/home/pi/Desktop/images/17122025/01/41/image_17122025_01_41_34_9532.jpg', '/home/pi/Desktop/images/17122025/01/41/image_17122025_01_41_45_10680.jpg', '/home/pi/Desktop/images/17122025/01/41/image_17122025_01_42_04_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/40/image_17122025_01_40_14_9922.jpg
/home/pi/Desktop/images/17122025/01/40/image_17122025_01_40_24_9843.jpg
/home/pi/Desktop/images/17122025/01/40/image_17122025_01_41_04_9701.jpg
/home/pi/Desktop/images/17122025/01/41/image_17122025_01_41_34_9532.jpg
/home/pi/Desktop/images/17122025/01/41/image_17122025_01_41_45_10680.jpg
/home/pi/Desktop/images/17122025/01/41/image_17122025_01_42_04_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732119","1399732110","1399732117","1399732111","1399732114","1399732116"],"photo_ids_order":["1399732110","1399732111","1399732114","1399732116","1399732117","1399732119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80c6220c3371c06c77b68cf7949c9f31.jpg","text":"TemporaryFile(/tmp/multipartBody3992749903675322195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932502877,"filename":"image_17122025_01_42_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88024f298da8c5fe5223f10ea14c1a03.jpg","text":"TemporaryFile(/tmp/multipartBody7040287251435762898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932502877,"filename":"image_17122025_01_40_14_9922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef7ec6db8fa63e0f2b671b9c003ebd5c.jpg","text":"TemporaryFile(/tmp/multipartBody8387956537543988823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932502877,"filename":"image_17122025_01_41_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3cf1d75b9fe339ce63501e718c7ddca2.jpg","text":"TemporaryFile(/tmp/multipartBody2452937655612872360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932502877,"filename":"image_17122025_01_40_24_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9e6c47358096db448de330feda159b1.jpg","text":"TemporaryFile(/tmp/multipartBody752818361567890222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932502877,"filename":"image_17122025_01_41_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d8305360eb08ac2426c489b168e0e06.jpg","text":"TemporaryFile(/tmp/multipartBody8309491803954010622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932502877,"filename":"image_17122025_01_41_34_9532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732114","file1":"1399732111","file0":"1399732110","file4":"1399732117","file5":"1399732119","file3":"1399732116"},"map_files_photo_id_array":[{"photo_id":"1399732119","filename":"file5"},{"photo_id":"1399732114","filename":"file2"},{"photo_id":"1399732117","filename":"file4"},{"photo_id":"1399732111","filename":"file1"},{"photo_id":"1399732110","filename":"file0"},{"photo_id":"1399732116","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732119":["hashtag1","hashtag2"]},{"1399732110":["hashtag1","hashtag2"]},{"1399732117":["hashtag1","hashtag2"]},{"1399732111":["hashtag1","hashtag2"]},{"1399732114":["hashtag1","hashtag2"]},{"1399732116":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732119, 1399732110, 1399732117, 1399732111, 1399732114, 1399732116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.488972902297974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:48:03.000288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/42/image_17122025_01_42_15_10688.jpg', '/home/pi/Desktop/images/17122025/01/42/image_17122025_01_42_34_9825.jpg', '/home/pi/Desktop/images/17122025/01/42/image_17122025_01_42_44_9675.jpg', '/home/pi/Desktop/images/17122025/01/42/image_17122025_01_42_55_10628.jpg', '/home/pi/Desktop/images/17122025/01/43/image_17122025_01_43_14_9680.jpg', '/home/pi/Desktop/images/17122025/01/43/image_17122025_01_43_25_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/42/image_17122025_01_42_15_10688.jpg
/home/pi/Desktop/images/17122025/01/42/image_17122025_01_42_34_9825.jpg
/home/pi/Desktop/images/17122025/01/42/image_17122025_01_42_44_9675.jpg
/home/pi/Desktop/images/17122025/01/42/image_17122025_01_42_55_10628.jpg
/home/pi/Desktop/images/17122025/01/43/image_17122025_01_43_14_9680.jpg
/home/pi/Desktop/images/17122025/01/43/image_17122025_01_43_25_10738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732125","1399732124","1399732127","1399732121","1399732123","1399732122"],"photo_ids_order":["1399732121","1399732122","1399732123","1399732124","1399732125","1399732127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5c5349bc69b22c24145203f6272d12c.jpg","text":"TemporaryFile(/tmp/multipartBody8552576905466611168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932543615,"filename":"image_17122025_01_43_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/007b1537ea525fe56621c5ac3610734a.jpg","text":"TemporaryFile(/tmp/multipartBody6547912939119937605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932543615,"filename":"image_17122025_01_42_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/428b4d2a4350a1ac5f7db1060b87423b.jpg","text":"TemporaryFile(/tmp/multipartBody7610089980562385886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932543615,"filename":"image_17122025_01_43_25_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28396eabdac6ecd7966109b5929e9a14.jpg","text":"TemporaryFile(/tmp/multipartBody4108407329563724737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932543615,"filename":"image_17122025_01_42_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78c8f28e400d9fb256947de1eb7eb51a.jpg","text":"TemporaryFile(/tmp/multipartBody7151471956057160867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932543615,"filename":"image_17122025_01_42_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aea11b6d9d12c09c7b58b6c5e67779bf.jpg","text":"TemporaryFile(/tmp/multipartBody4223711276498799761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932543615,"filename":"image_17122025_01_42_34_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732123","file1":"1399732122","file0":"1399732121","file4":"1399732125","file5":"1399732127","file3":"1399732124"},"map_files_photo_id_array":[{"photo_id":"1399732127","filename":"file5"},{"photo_id":"1399732123","filename":"file2"},{"photo_id":"1399732125","filename":"file4"},{"photo_id":"1399732122","filename":"file1"},{"photo_id":"1399732121","filename":"file0"},{"photo_id":"1399732124","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732125":["hashtag1","hashtag2"]},{"1399732124":["hashtag1","hashtag2"]},{"1399732127":["hashtag1","hashtag2"]},{"1399732121":["hashtag1","hashtag2"]},{"1399732123":["hashtag1","hashtag2"]},{"1399732122":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732125, 1399732124, 1399732127, 1399732121, 1399732123, 1399732122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9918487071991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:48:42.573637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_08_1866.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_10_1624.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_11_1598.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_17_5954.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_23_5716.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_24_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_08_1866.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_10_1624.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_11_1598.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_17_5954.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_23_5716.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_24_1565.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6110708713531494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:49:02.841299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/43/image_17122025_01_43_55_10786.jpg', '/home/pi/Desktop/images/17122025/01/44/image_17122025_01_44_15_9818.jpg', '/home/pi/Desktop/images/17122025/01/44/image_17122025_01_44_24_9566.jpg', '/home/pi/Desktop/images/17122025/01/44/image_17122025_01_44_35_10837.jpg', '/home/pi/Desktop/images/17122025/01/44/image_17122025_01_44_54_9604.jpg', '/home/pi/Desktop/images/17122025/01/45/image_17122025_01_45_24_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/43/image_17122025_01_43_55_10786.jpg
/home/pi/Desktop/images/17122025/01/44/image_17122025_01_44_15_9818.jpg
/home/pi/Desktop/images/17122025/01/44/image_17122025_01_44_24_9566.jpg
/home/pi/Desktop/images/17122025/01/44/image_17122025_01_44_35_10837.jpg
/home/pi/Desktop/images/17122025/01/44/image_17122025_01_44_54_9604.jpg
/home/pi/Desktop/images/17122025/01/45/image_17122025_01_45_24_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":["1399732142","1399732145","1399732141","1399732138","1399732140","1399732143"],"photo_ids_order":["1399732138","1399732140","1399732141","1399732142","1399732143","1399732145"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c24c3c24f86835ac39c67052d29d5f7f.jpg","text":"TemporaryFile(/tmp/multipartBody5593754146706941451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932603563,"filename":"image_17122025_01_44_35_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6ddbcb843a331e230fbcc4a4f755364.jpg","text":"TemporaryFile(/tmp/multipartBody1370338023039985776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932603563,"filename":"image_17122025_01_45_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d161762bf469c38ee09696681b4724a7.jpg","text":"TemporaryFile(/tmp/multipartBody2538134776283637084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932603563,"filename":"image_17122025_01_44_24_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a4977cb1ebc061c42a7160a9cc3d58d.jpg","text":"TemporaryFile(/tmp/multipartBody8514073795707105094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932603563,"filename":"image_17122025_01_43_55_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c723faaf55bd0834b30c2557c6f6a61b.jpg","text":"TemporaryFile(/tmp/multipartBody6815657303143575500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932603563,"filename":"image_17122025_01_44_15_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/daca81f3d567bcd355741c817c5576b0.jpg","text":"TemporaryFile(/tmp/multipartBody3707022397363958427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932603563,"filename":"image_17122025_01_44_54_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732141","file1":"1399732140","file0":"1399732138","file4":"1399732143","file5":"1399732145","file3":"1399732142"},"map_files_photo_id_array":[{"photo_id":"1399732145","filename":"file5"},{"photo_id":"1399732141","filename":"file2"},{"photo_id":"1399732143","filename":"file4"},{"photo_id":"1399732140","filename":"file1"},{"photo_id":"1399732138","filename":"file0"},{"photo_id":"1399732142","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732142":["hashtag1","hashtag2"]},{"1399732145":["hashtag1","hashtag2"]},{"1399732141":["hashtag1","hashtag2"]},{"1399732138":["hashtag1","hashtag2"]},{"1399732140":["hashtag1","hashtag2"]},{"1399732143":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732142, 1399732145, 1399732141, 1399732138, 1399732140, 1399732143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.012561082839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:49:41.828003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_08_1866.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_10_1624.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_11_1598.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_17_5954.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_23_5716.jpg', '/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_24_1565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_08_1866.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_10_1624.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_11_1598.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_17_5954.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_23_5716.jpg
/home/pi/Desktop/images/07112025/15/35/image_07112025_15_35_24_1565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732154","1399732153","1399732156","1399732150","1399732152","1399732155"],"photo_ids_order":["1399732150","1399732152","1399732153","1399732154","1399732155","1399732156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a186b0bd2f69b105330d6bb4451fe2e9.jpg","text":"TemporaryFile(/tmp/multipartBody832956672972444716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932642422,"filename":"image_07112025_15_35_17_5954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19f6a115541ca5f363f249c0c7cb89af.jpg","text":"TemporaryFile(/tmp/multipartBody2453422885236404700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932642422,"filename":"image_07112025_15_35_11_1598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/764cb1803ad2e718f93be2dcfcd8dc24.jpg","text":"TemporaryFile(/tmp/multipartBody3704714969702913212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932642422,"filename":"image_07112025_15_35_24_1565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd4db735e01d668a489c11efd2108169.jpg","text":"TemporaryFile(/tmp/multipartBody3749086375687876372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932642422,"filename":"image_07112025_15_35_08_1866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bf0a687a7608bba8ff0c2ee9adbf949.jpg","text":"TemporaryFile(/tmp/multipartBody5261218875755954021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932642422,"filename":"image_07112025_15_35_10_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf5ce7e663b0890c670fd44f49f81a19.jpg","text":"TemporaryFile(/tmp/multipartBody8093108800466854512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932642422,"filename":"image_07112025_15_35_23_5716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732153","file1":"1399732152","file0":"1399732150","file4":"1399732155","file5":"1399732156","file3":"1399732154"},"map_files_photo_id_array":[{"photo_id":"1399732156","filename":"file5"},{"photo_id":"1399732153","filename":"file2"},{"photo_id":"1399732155","filename":"file4"},{"photo_id":"1399732152","filename":"file1"},{"photo_id":"1399732150","filename":"file0"},{"photo_id":"1399732154","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399732154":["hashtag1","hashtag2"]},{"1399732153":["hashtag1","hashtag2"]},{"1399732156":["hashtag1","hashtag2"]},{"1399732150":["hashtag1","hashtag2"]},{"1399732152":["hashtag1","hashtag2"]},{"1399732155":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399732154, 1399732153, 1399732156, 1399732150, 1399732152, 1399732155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90475630760193 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:50:22.056365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/46/image_17122025_01_46_15_9624.jpg', '/home/pi/Desktop/images/17122025/01/46/image_17122025_01_46_24_9768.jpg', '/home/pi/Desktop/images/17122025/01/46/image_17122025_01_46_34_9791.jpg', '/home/pi/Desktop/images/17122025/01/46/image_17122025_01_46_45_10676.jpg', '/home/pi/Desktop/images/17122025/01/47/image_17122025_01_47_15_10716.jpg', '/home/pi/Desktop/images/17122025/01/47/image_17122025_01_47_35_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/46/image_17122025_01_46_15_9624.jpg
/home/pi/Desktop/images/17122025/01/46/image_17122025_01_46_24_9768.jpg
/home/pi/Desktop/images/17122025/01/46/image_17122025_01_46_34_9791.jpg
/home/pi/Desktop/images/17122025/01/46/image_17122025_01_46_45_10676.jpg
/home/pi/Desktop/images/17122025/01/47/image_17122025_01_47_15_10716.jpg
/home/pi/Desktop/images/17122025/01/47/image_17122025_01_47_35_9867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732160","1399732157","1399732162","1399732170","1399732164","1399732158"],"photo_ids_order":["1399732157","1399732158","1399732160","1399732162","1399732164","1399732170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e390e412b1eb683afb4c89fc5ca0ea9.jpg","text":"TemporaryFile(/tmp/multipartBody6131147871919668666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932682675,"filename":"image_17122025_01_46_34_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6a717f4aa41d4fcd39f253daa0e1616.jpg","text":"TemporaryFile(/tmp/multipartBody7969070835620155676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932682675,"filename":"image_17122025_01_46_15_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e7b87fe32960be72bf3e6cdb7bbaff5.jpg","text":"TemporaryFile(/tmp/multipartBody6139174898744930437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932682675,"filename":"image_17122025_01_46_45_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb467711add17f2f047b7c61dadb8882.jpg","text":"TemporaryFile(/tmp/multipartBody5350360894512499730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932682675,"filename":"image_17122025_01_47_35_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/954121dd766bfc05b78cac227747499c.jpg","text":"TemporaryFile(/tmp/multipartBody7726243247861423955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932682675,"filename":"image_17122025_01_47_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/864f6fa60947b4bc9de85c1ec35dd9e5.jpg","text":"TemporaryFile(/tmp/multipartBody5812537463045011768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932682675,"filename":"image_17122025_01_46_24_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732160","file1":"1399732158","file0":"1399732157","file4":"1399732164","file5":"1399732170","file3":"1399732162"},"map_files_photo_id_array":[{"photo_id":"1399732170","filename":"file5"},{"photo_id":"1399732160","filename":"file2"},{"photo_id":"1399732164","filename":"file4"},{"photo_id":"1399732158","filename":"file1"},{"photo_id":"1399732157","filename":"file0"},{"photo_id":"1399732162","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732160":["hashtag1","hashtag2"]},{"1399732157":["hashtag1","hashtag2"]},{"1399732162":["hashtag1","hashtag2"]},{"1399732170":["hashtag1","hashtag2"]},{"1399732164":["hashtag1","hashtag2"]},{"1399732158":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732160, 1399732157, 1399732162, 1399732170, 1399732164, 1399732158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92302942276001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:51:02.975869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/47/image_17122025_01_47_44_9696.jpg', '/home/pi/Desktop/images/17122025/01/47/image_17122025_01_47_55_10751.jpg', '/home/pi/Desktop/images/17122025/01/47/image_17122025_01_48_05_9626.jpg', '/home/pi/Desktop/images/17122025/01/48/image_17122025_01_48_44_9544.jpg', '/home/pi/Desktop/images/17122025/01/48/image_17122025_01_48_54_9689.jpg', '/home/pi/Desktop/images/17122025/01/48/image_17122025_01_49_05_10734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/47/image_17122025_01_47_44_9696.jpg
/home/pi/Desktop/images/17122025/01/47/image_17122025_01_47_55_10751.jpg
/home/pi/Desktop/images/17122025/01/47/image_17122025_01_48_05_9626.jpg
/home/pi/Desktop/images/17122025/01/48/image_17122025_01_48_44_9544.jpg
/home/pi/Desktop/images/17122025/01/48/image_17122025_01_48_54_9689.jpg
/home/pi/Desktop/images/17122025/01/48/image_17122025_01_49_05_10734.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732181","1399732178","1399732183","1399732182","1399732176","1399732185"],"photo_ids_order":["1399732176","1399732178","1399732181","1399732182","1399732183","1399732185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68d3ef58d3dda5b64e16dc90b15b4ca9.jpg","text":"TemporaryFile(/tmp/multipartBody1707160411206870068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932723603,"filename":"image_17122025_01_48_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45fcebed46d21f89678662d687ee0bd2.jpg","text":"TemporaryFile(/tmp/multipartBody3000183281690669217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932723603,"filename":"image_17122025_01_47_55_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1743e21f5b01d9872cef831c12f05e1.jpg","text":"TemporaryFile(/tmp/multipartBody6432702425089522702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932723603,"filename":"image_17122025_01_48_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c902e8ddd28c0446fc19cf5e35d72629.jpg","text":"TemporaryFile(/tmp/multipartBody8902092092116674046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932723603,"filename":"image_17122025_01_48_44_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d681886ad275b78a80569e172ce8d5a8.jpg","text":"TemporaryFile(/tmp/multipartBody5057023961115712449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932723603,"filename":"image_17122025_01_47_44_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/174921cfa6c9e0e9234a23eadaef34a6.jpg","text":"TemporaryFile(/tmp/multipartBody6783954753205625709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932723603,"filename":"image_17122025_01_49_05_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732181","file1":"1399732178","file0":"1399732176","file4":"1399732183","file5":"1399732185","file3":"1399732182"},"map_files_photo_id_array":[{"photo_id":"1399732185","filename":"file5"},{"photo_id":"1399732181","filename":"file2"},{"photo_id":"1399732183","filename":"file4"},{"photo_id":"1399732178","filename":"file1"},{"photo_id":"1399732176","filename":"file0"},{"photo_id":"1399732182","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732181":["hashtag1","hashtag2"]},{"1399732178":["hashtag1","hashtag2"]},{"1399732183":["hashtag1","hashtag2"]},{"1399732182":["hashtag1","hashtag2"]},{"1399732176":["hashtag1","hashtag2"]},{"1399732185":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732181, 1399732178, 1399732183, 1399732182, 1399732176, 1399732185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.512696743011475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:51:42.235040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/36/image_07112025_15_36_07_42232.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_07_3012.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_11_3821.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_14_3115.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_17_2623.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_27_10237.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/36/image_07112025_15_36_07_42232.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_07_3012.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_11_3821.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_14_3115.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_17_2623.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_27_10237.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732193","1399732196","1399732190","1399732192","1399732195","1399732194"],"photo_ids_order":["1399732190","1399732192","1399732193","1399732194","1399732195","1399732196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/175213009c0bbffb835a45bac151d0bc.jpg","text":"TemporaryFile(/tmp/multipartBody982072714650942097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932762955,"filename":"image_07112025_15_38_11_3821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/654556fbb50c47ebdfe2eead9455709a.jpg","text":"TemporaryFile(/tmp/multipartBody4499282195789814613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932762955,"filename":"image_07112025_15_38_27_10237.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5cbc7c1077409e61767c062d130d596.jpg","text":"TemporaryFile(/tmp/multipartBody2224704497299125048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932762955,"filename":"image_07112025_15_36_07_42232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03d4d0ab65c4bf5c8a237bdb4c5cd2fe.jpg","text":"TemporaryFile(/tmp/multipartBody9206838003892767763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932762955,"filename":"image_07112025_15_38_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0497b394aed13e786f7c69249147b07.jpg","text":"TemporaryFile(/tmp/multipartBody7773350149191671374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932762955,"filename":"image_07112025_15_38_17_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f81c5ce31b76dab116eda6e2b8b0818.jpg","text":"TemporaryFile(/tmp/multipartBody2083527423473063122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932762955,"filename":"image_07112025_15_38_14_3115.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732193","file1":"1399732192","file0":"1399732190","file4":"1399732195","file5":"1399732196","file3":"1399732194"},"map_files_photo_id_array":[{"photo_id":"1399732196","filename":"file5"},{"photo_id":"1399732193","filename":"file2"},{"photo_id":"1399732195","filename":"file4"},{"photo_id":"1399732192","filename":"file1"},{"photo_id":"1399732190","filename":"file0"},{"photo_id":"1399732194","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399732193":["hashtag1","hashtag2"]},{"1399732196":["hashtag1","hashtag2"]},{"1399732190":["hashtag1","hashtag2"]},{"1399732192":["hashtag1","hashtag2"]},{"1399732195":["hashtag1","hashtag2"]},{"1399732194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399732193, 1399732196, 1399732190, 1399732192, 1399732195, 1399732194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14731526374817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:52:22.487591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/49/image_17122025_01_49_15_9620.jpg', '/home/pi/Desktop/images/17122025/01/49/image_17122025_01_49_24_9624.jpg', '/home/pi/Desktop/images/17122025/01/49/image_17122025_01_50_05_10657.jpg', '/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_15_9681.jpg', '/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_24_9532.jpg', '/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_35_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/49/image_17122025_01_49_15_9620.jpg
/home/pi/Desktop/images/17122025/01/49/image_17122025_01_49_24_9624.jpg
/home/pi/Desktop/images/17122025/01/49/image_17122025_01_50_05_10657.jpg
/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_15_9681.jpg
/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_24_9532.jpg
/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_35_10786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732203","1399732199","1399732205","1399732207","1399732197","1399732201"],"photo_ids_order":["1399732197","1399732199","1399732201","1399732203","1399732205","1399732207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd0aab91a1bcdb1c4cf5036baad2d4d4.jpg","text":"TemporaryFile(/tmp/multipartBody6800217136286485624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932803114,"filename":"image_17122025_01_50_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6dee63d21e5dd6c4918fbeaa27a0f9bc.jpg","text":"TemporaryFile(/tmp/multipartBody8741187021347836947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932803114,"filename":"image_17122025_01_49_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04c0400280128707b85960126bd22129.jpg","text":"TemporaryFile(/tmp/multipartBody2465391242304238061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932803114,"filename":"image_17122025_01_50_24_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48b0d0c2e7b3868be022ed8fa21e36db.jpg","text":"TemporaryFile(/tmp/multipartBody5958166442175150184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932803114,"filename":"image_17122025_01_50_35_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9b7315da1428bc2b84878f5c9660761.jpg","text":"TemporaryFile(/tmp/multipartBody6044099462088692345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932803114,"filename":"image_17122025_01_49_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbbc01327e2342de985e7b5320e5a4e1.jpg","text":"TemporaryFile(/tmp/multipartBody8169426931403467770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932803114,"filename":"image_17122025_01_50_05_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732201","file1":"1399732199","file0":"1399732197","file4":"1399732205","file5":"1399732207","file3":"1399732203"},"map_files_photo_id_array":[{"photo_id":"1399732207","filename":"file5"},{"photo_id":"1399732201","filename":"file2"},{"photo_id":"1399732205","filename":"file4"},{"photo_id":"1399732199","filename":"file1"},{"photo_id":"1399732197","filename":"file0"},{"photo_id":"1399732203","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732203":["hashtag1","hashtag2"]},{"1399732199":["hashtag1","hashtag2"]},{"1399732205":["hashtag1","hashtag2"]},{"1399732207":["hashtag1","hashtag2"]},{"1399732197":["hashtag1","hashtag2"]},{"1399732201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732203, 1399732199, 1399732205, 1399732207, 1399732197, 1399732201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44836163520813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:53:03.379427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_45_9624.jpg', '/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_54_9705.jpg', '/home/pi/Desktop/images/17122025/01/50/image_17122025_01_51_05_10679.jpg', '/home/pi/Desktop/images/17122025/01/51/image_17122025_01_51_15_9722.jpg', '/home/pi/Desktop/images/17122025/01/51/image_17122025_01_51_25_9983.jpg', '/home/pi/Desktop/images/17122025/01/51/image_17122025_01_51_34_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_45_9624.jpg
/home/pi/Desktop/images/17122025/01/50/image_17122025_01_50_54_9705.jpg
/home/pi/Desktop/images/17122025/01/50/image_17122025_01_51_05_10679.jpg
/home/pi/Desktop/images/17122025/01/51/image_17122025_01_51_15_9722.jpg
/home/pi/Desktop/images/17122025/01/51/image_17122025_01_51_25_9983.jpg
/home/pi/Desktop/images/17122025/01/51/image_17122025_01_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! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732211","1399732210","1399732213","1399732212","1399732215","1399732209"],"photo_ids_order":["1399732209","1399732210","1399732211","1399732212","1399732213","1399732215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1af90b6f5d291afb8f52a5f4ce0fc435.jpg","text":"TemporaryFile(/tmp/multipartBody3015647051935924686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932844050,"filename":"image_17122025_01_51_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3650d8f1672cfe9dd3e98646aea071b1.jpg","text":"TemporaryFile(/tmp/multipartBody4594021351373000979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932844050,"filename":"image_17122025_01_50_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c11e1cb5d20b000f09e9b050acbcf7fd.jpg","text":"TemporaryFile(/tmp/multipartBody2129071289016963223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932844050,"filename":"image_17122025_01_51_25_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e37193af0e83bcc8cee8a14fa161920.jpg","text":"TemporaryFile(/tmp/multipartBody336338437712228338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932844050,"filename":"image_17122025_01_51_15_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd6ede8bef6094936fab494c75a2c421.jpg","text":"TemporaryFile(/tmp/multipartBody770824629101816477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932844050,"filename":"image_17122025_01_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/2025/12/17/2ab40fae7de182203abb7542b11a8c90.jpg","text":"TemporaryFile(/tmp/multipartBody2096401582092512253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932844050,"filename":"image_17122025_01_50_45_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732211","file1":"1399732210","file0":"1399732209","file4":"1399732213","file5":"1399732215","file3":"1399732212"},"map_files_photo_id_array":[{"photo_id":"1399732215","filename":"file5"},{"photo_id":"1399732211","filename":"file2"},{"photo_id":"1399732213","filename":"file4"},{"photo_id":"1399732210","filename":"file1"},{"photo_id":"1399732209","filename":"file0"},{"photo_id":"1399732212","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732211":["hashtag1","hashtag2"]},{"1399732210":["hashtag1","hashtag2"]},{"1399732213":["hashtag1","hashtag2"]},{"1399732212":["hashtag1","hashtag2"]},{"1399732215":["hashtag1","hashtag2"]},{"1399732209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732211, 1399732210, 1399732213, 1399732212, 1399732215, 1399732209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2724187374115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:53:42.681306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_29_1827.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_30_1715.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_32_1726.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_34_1564.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_35_1529.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_38_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_29_1827.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_30_1715.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_32_1726.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_34_1564.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_35_1529.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_38_2627.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732224","1399732223","1399732226","1399732222","1399732225","1399732221"],"photo_ids_order":["1399732221","1399732222","1399732223","1399732224","1399732225","1399732226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2175c49f9d5d4740f05d6d93d7d4d757.jpg","text":"TemporaryFile(/tmp/multipartBody8153857818170621036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932889906,"filename":"image_07112025_15_38_34_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1efd59b0fe951914b7ba3b716ec89fd.jpg","text":"TemporaryFile(/tmp/multipartBody2993452045267546782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932889906,"filename":"image_07112025_15_38_32_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd161e11e45de72a696be24150bc59d1.jpg","text":"TemporaryFile(/tmp/multipartBody1969622639866302443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932889906,"filename":"image_07112025_15_38_38_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/826ac2c47806053db582d488a14f5d9b.jpg","text":"TemporaryFile(/tmp/multipartBody6607365954006163580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932889906,"filename":"image_07112025_15_38_30_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e26cb5f1f4f5af4653a54b80ea9af9f7.jpg","text":"TemporaryFile(/tmp/multipartBody1163212760360158012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932889906,"filename":"image_07112025_15_38_35_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/126c97db01e3a5ab6f2d41ab70455206.jpg","text":"TemporaryFile(/tmp/multipartBody1103606494655793210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932889906,"filename":"image_07112025_15_38_29_1827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732223","file1":"1399732222","file0":"1399732221","file4":"1399732225","file5":"1399732226","file3":"1399732224"},"map_files_photo_id_array":[{"photo_id":"1399732226","filename":"file5"},{"photo_id":"1399732223","filename":"file2"},{"photo_id":"1399732225","filename":"file4"},{"photo_id":"1399732222","filename":"file1"},{"photo_id":"1399732221","filename":"file0"},{"photo_id":"1399732224","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399732224":["hashtag1","hashtag2"]},{"1399732223":["hashtag1","hashtag2"]},{"1399732226":["hashtag1","hashtag2"]},{"1399732222":["hashtag1","hashtag2"]},{"1399732225":["hashtag1","hashtag2"]},{"1399732221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399732224, 1399732223, 1399732226, 1399732222, 1399732225, 1399732221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.033745527267456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 01:54:32.225102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:54:42.216601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_41_2676.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_43_2760.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_55_11392.jpg', '/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_56_1777.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_18_21564.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_24_6004.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_41_2676.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_43_2760.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_55_11392.jpg
/home/pi/Desktop/images/07112025/15/38/image_07112025_15_38_56_1777.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_18_21564.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_24_6004.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732238","1399732232","1399732235","1399732234","1399732237","1399732236"],"photo_ids_order":["1399732232","1399732234","1399732235","1399732236","1399732237","1399732238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/617fab798423421d71c64b0e23bf5394.jpg","text":"TemporaryFile(/tmp/multipartBody3324398477331821083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932942972,"filename":"image_07112025_15_39_24_6004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c53980b2c95781df7da98c9e243cde3.jpg","text":"TemporaryFile(/tmp/multipartBody5988312524667989226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932942972,"filename":"image_07112025_15_38_41_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/397a790e557adfb4c10bb51fcdde748a.jpg","text":"TemporaryFile(/tmp/multipartBody4979092387971557323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932942972,"filename":"image_07112025_15_38_55_11392.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f880a7cc858adb593de20d25c6404e2.jpg","text":"TemporaryFile(/tmp/multipartBody3122448254849042023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932942972,"filename":"image_07112025_15_38_43_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7088642878517b92b909fc4f2fb0051d.jpg","text":"TemporaryFile(/tmp/multipartBody7659152894411515439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932942972,"filename":"image_07112025_15_39_18_21564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c27edb07e295a9109dbdcad46a87cdbe.jpg","text":"TemporaryFile(/tmp/multipartBody6505361225960545530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932942972,"filename":"image_07112025_15_38_56_1777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732235","file1":"1399732234","file0":"1399732232","file4":"1399732237","file5":"1399732238","file3":"1399732236"},"map_files_photo_id_array":[{"photo_id":"1399732238","filename":"file5"},{"photo_id":"1399732235","filename":"file2"},{"photo_id":"1399732237","filename":"file4"},{"photo_id":"1399732234","filename":"file1"},{"photo_id":"1399732232","filename":"file0"},{"photo_id":"1399732236","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399732238":["hashtag1","hashtag2"]},{"1399732232":["hashtag1","hashtag2"]},{"1399732235":["hashtag1","hashtag2"]},{"1399732234":["hashtag1","hashtag2"]},{"1399732237":["hashtag1","hashtag2"]},{"1399732236":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399732238, 1399732232, 1399732235, 1399732234, 1399732237, 1399732236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.783804416656494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:55:22.381164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/51/image_17122025_01_51_45_10654.jpg', '/home/pi/Desktop/images/17122025/01/51/image_17122025_01_51_55_9773.jpg', '/home/pi/Desktop/images/17122025/01/51/image_17122025_01_52_04_9582.jpg', '/home/pi/Desktop/images/17122025/01/52/image_17122025_01_52_15_10607.jpg', '/home/pi/Desktop/images/17122025/01/53/image_17122025_01_53_35_10651.jpg', '/home/pi/Desktop/images/17122025/01/53/image_17122025_01_53_45_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/51/image_17122025_01_51_45_10654.jpg
/home/pi/Desktop/images/17122025/01/51/image_17122025_01_51_55_9773.jpg
/home/pi/Desktop/images/17122025/01/51/image_17122025_01_52_04_9582.jpg
/home/pi/Desktop/images/17122025/01/52/image_17122025_01_52_15_10607.jpg
/home/pi/Desktop/images/17122025/01/53/image_17122025_01_53_35_10651.jpg
/home/pi/Desktop/images/17122025/01/53/image_17122025_01_53_45_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":["1399732244","1399732247","1399732249","1399732240","1399732245","1399732242"],"photo_ids_order":["1399732240","1399732242","1399732244","1399732245","1399732247","1399732249"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3734e15303d21649fb18b6e4728950a.jpg","text":"TemporaryFile(/tmp/multipartBody5782255794339640869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932982963,"filename":"image_17122025_01_52_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74f7a6fe227d959247542c61663186d8.jpg","text":"TemporaryFile(/tmp/multipartBody7035590764097144330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932982963,"filename":"image_17122025_01_53_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59d2a38aea0b574821700bf7d80dcdca.jpg","text":"TemporaryFile(/tmp/multipartBody2544731121580029448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932982963,"filename":"image_17122025_01_53_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7fef5aa97a5ad5b45d314d6aef5164c.jpg","text":"TemporaryFile(/tmp/multipartBody1990537412863165124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932982963,"filename":"image_17122025_01_51_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f90b7b66fe4372bde0c58ecff3c3dfad.jpg","text":"TemporaryFile(/tmp/multipartBody3123740115585473158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932982963,"filename":"image_17122025_01_52_15_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4045ab4ae6adedc9132f5183435930f.jpg","text":"TemporaryFile(/tmp/multipartBody2237194707993001812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765932982963,"filename":"image_17122025_01_51_55_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732244","file1":"1399732242","file0":"1399732240","file4":"1399732247","file5":"1399732249","file3":"1399732245"},"map_files_photo_id_array":[{"photo_id":"1399732249","filename":"file5"},{"photo_id":"1399732244","filename":"file2"},{"photo_id":"1399732247","filename":"file4"},{"photo_id":"1399732242","filename":"file1"},{"photo_id":"1399732240","filename":"file0"},{"photo_id":"1399732245","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732244":["hashtag1","hashtag2"]},{"1399732247":["hashtag1","hashtag2"]},{"1399732249":["hashtag1","hashtag2"]},{"1399732240":["hashtag1","hashtag2"]},{"1399732245":["hashtag1","hashtag2"]},{"1399732242":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732244, 1399732247, 1399732249, 1399732240, 1399732245, 1399732242)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7034478187561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:56:03.105205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/53/image_17122025_01_53_54_9727.jpg', '/home/pi/Desktop/images/17122025/01/54/image_17122025_01_54_15_9644.jpg', '/home/pi/Desktop/images/17122025/01/54/image_17122025_01_54_24_9708.jpg', '/home/pi/Desktop/images/17122025/01/54/image_17122025_01_54_34_10119.jpg', '/home/pi/Desktop/images/17122025/01/54/image_17122025_01_54_45_10655.jpg', '/home/pi/Desktop/images/17122025/01/55/image_17122025_01_55_35_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/53/image_17122025_01_53_54_9727.jpg
/home/pi/Desktop/images/17122025/01/54/image_17122025_01_54_15_9644.jpg
/home/pi/Desktop/images/17122025/01/54/image_17122025_01_54_24_9708.jpg
/home/pi/Desktop/images/17122025/01/54/image_17122025_01_54_34_10119.jpg
/home/pi/Desktop/images/17122025/01/54/image_17122025_01_54_45_10655.jpg
/home/pi/Desktop/images/17122025/01/55/image_17122025_01_55_35_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":["1399732302","1399732265","1399732253","1399732252","1399732251","1399732254"],"photo_ids_order":["1399732251","1399732252","1399732253","1399732254","1399732265","1399732302"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a12dc1a7dbfacb06304bfb0896036a51.jpg","text":"TemporaryFile(/tmp/multipartBody3270285112626964671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933023749,"filename":"image_17122025_01_55_35_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2565b08a037695884481bb8a5202f377.jpg","text":"TemporaryFile(/tmp/multipartBody2844259510133934067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933023749,"filename":"image_17122025_01_54_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30f5f998f909eb4d556360fddff1093d.jpg","text":"TemporaryFile(/tmp/multipartBody6521284855882342308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933023749,"filename":"image_17122025_01_54_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1786dc3aa7151f28ab0ebb98b8d9a1d3.jpg","text":"TemporaryFile(/tmp/multipartBody8694549167979000265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933023749,"filename":"image_17122025_01_54_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/369f04ec89cc1e32f561115aa85db8b5.jpg","text":"TemporaryFile(/tmp/multipartBody7998231612279892875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933023749,"filename":"image_17122025_01_53_54_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a60bb9b40f03324ed819eeaba7d3a96c.jpg","text":"TemporaryFile(/tmp/multipartBody7065641372315048301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933023749,"filename":"image_17122025_01_54_34_10119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732253","file1":"1399732252","file0":"1399732251","file4":"1399732265","file5":"1399732302","file3":"1399732254"},"map_files_photo_id_array":[{"photo_id":"1399732302","filename":"file5"},{"photo_id":"1399732253","filename":"file2"},{"photo_id":"1399732265","filename":"file4"},{"photo_id":"1399732252","filename":"file1"},{"photo_id":"1399732251","filename":"file0"},{"photo_id":"1399732254","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732302":["hashtag1","hashtag2"]},{"1399732265":["hashtag1","hashtag2"]},{"1399732253":["hashtag1","hashtag2"]},{"1399732252":["hashtag1","hashtag2"]},{"1399732251":["hashtag1","hashtag2"]},{"1399732254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732302, 1399732265, 1399732253, 1399732252, 1399732251, 1399732254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.528990268707275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 01:56:42.625613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_26_1660.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_27_1783.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_40_12224.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_41_1651.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_43_1682.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_45_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_26_1660.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_27_1783.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_40_12224.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_41_1651.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_43_1682.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_45_1709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732493","1399732404","1399732474","1399732429","1399732408","1399732464"],"photo_ids_order":["1399732404","1399732408","1399732429","1399732464","1399732474","1399732493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11c78dd04c4d3e15b589233e1b737943.jpg","text":"TemporaryFile(/tmp/multipartBody4404541166146943879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933063345,"filename":"image_07112025_15_39_45_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f09f3a80e3083637a83bee4b5bff642f.jpg","text":"TemporaryFile(/tmp/multipartBody5945629789415857036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933063345,"filename":"image_07112025_15_39_26_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f246472bdb5f2e2e578e42e745d8131.jpg","text":"TemporaryFile(/tmp/multipartBody3689324488805435263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933063345,"filename":"image_07112025_15_39_43_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5b1ce10d232afaaf4ca9669dd56a8e7.jpg","text":"TemporaryFile(/tmp/multipartBody4047164689695610713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933063345,"filename":"image_07112025_15_39_40_12224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53c48319b2eb9c2d122d8c9b772bde97.jpg","text":"TemporaryFile(/tmp/multipartBody7365873526926970076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933063345,"filename":"image_07112025_15_39_27_1783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9a315bbba379206c9cad902a574916d.jpg","text":"TemporaryFile(/tmp/multipartBody6017178819901771086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933063345,"filename":"image_07112025_15_39_41_1651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732429","file1":"1399732408","file0":"1399732404","file4":"1399732474","file5":"1399732493","file3":"1399732464"},"map_files_photo_id_array":[{"photo_id":"1399732493","filename":"file5"},{"photo_id":"1399732429","filename":"file2"},{"photo_id":"1399732474","filename":"file4"},{"photo_id":"1399732408","filename":"file1"},{"photo_id":"1399732404","filename":"file0"},{"photo_id":"1399732464","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399732493":["hashtag1","hashtag2"]},{"1399732404":["hashtag1","hashtag2"]},{"1399732474":["hashtag1","hashtag2"]},{"1399732429":["hashtag1","hashtag2"]},{"1399732408":["hashtag1","hashtag2"]},{"1399732464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399732493, 1399732404, 1399732474, 1399732429, 1399732408, 1399732464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6649694442749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 01:57:22.009963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/55/image_17122025_01_55_44_9579.jpg', '/home/pi/Desktop/images/17122025/01/55/image_17122025_01_55_54_9795.jpg', '/home/pi/Desktop/images/17122025/01/56/image_17122025_01_56_24_9717.jpg', '/home/pi/Desktop/images/17122025/01/56/image_17122025_01_56_44_9534.jpg', '/home/pi/Desktop/images/17122025/01/56/image_17122025_01_56_54_9724.jpg', '/home/pi/Desktop/images/17122025/01/57/image_17122025_01_57_14_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/55/image_17122025_01_55_44_9579.jpg
/home/pi/Desktop/images/17122025/01/55/image_17122025_01_55_54_9795.jpg
/home/pi/Desktop/images/17122025/01/56/image_17122025_01_56_24_9717.jpg
/home/pi/Desktop/images/17122025/01/56/image_17122025_01_56_44_9534.jpg
/home/pi/Desktop/images/17122025/01/56/image_17122025_01_56_54_9724.jpg
/home/pi/Desktop/images/17122025/01/57/image_17122025_01_57_14_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732521","1399732520","1399732517","1399732522","1399732524","1399732518"],"photo_ids_order":["1399732517","1399732518","1399732520","1399732521","1399732522","1399732524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29d1b83bac996dcfcdc2e4a4b61ca814.jpg","text":"TemporaryFile(/tmp/multipartBody6307600899696785018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933102622,"filename":"image_17122025_01_56_44_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d22c539f0364756c160e1f776d32809.jpg","text":"TemporaryFile(/tmp/multipartBody5666508949542659028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933102622,"filename":"image_17122025_01_56_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7b5488776eb6252b7cd00349b33efa6.jpg","text":"TemporaryFile(/tmp/multipartBody1230165605955161196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933102622,"filename":"image_17122025_01_55_44_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44d79e024fc3d77608d4f25806b7dc72.jpg","text":"TemporaryFile(/tmp/multipartBody384860693938748053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933102622,"filename":"image_17122025_01_56_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4032bee3e58578748749aa0e9e2539dc.jpg","text":"TemporaryFile(/tmp/multipartBody6361529818052491550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933102622,"filename":"image_17122025_01_57_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d59a7c00f796b6ecbbf272b769d4aca.jpg","text":"TemporaryFile(/tmp/multipartBody8035017839897103971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933102622,"filename":"image_17122025_01_55_54_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732520","file1":"1399732518","file0":"1399732517","file4":"1399732522","file5":"1399732524","file3":"1399732521"},"map_files_photo_id_array":[{"photo_id":"1399732524","filename":"file5"},{"photo_id":"1399732520","filename":"file2"},{"photo_id":"1399732522","filename":"file4"},{"photo_id":"1399732518","filename":"file1"},{"photo_id":"1399732517","filename":"file0"},{"photo_id":"1399732521","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732521":["hashtag1","hashtag2"]},{"1399732520":["hashtag1","hashtag2"]},{"1399732517":["hashtag1","hashtag2"]},{"1399732522":["hashtag1","hashtag2"]},{"1399732524":["hashtag1","hashtag2"]},{"1399732518":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732521, 1399732520, 1399732517, 1399732522, 1399732524, 1399732518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87873125076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 01:59:03.104210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/57/image_17122025_01_57_24_9664.jpg', '/home/pi/Desktop/images/17122025/01/57/image_17122025_01_57_35_10742.jpg', '/home/pi/Desktop/images/17122025/01/57/image_17122025_01_57_45_9755.jpg', '/home/pi/Desktop/images/17122025/01/57/image_17122025_01_58_04_9735.jpg', '/home/pi/Desktop/images/17122025/01/58/image_17122025_01_58_34_9589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/57/image_17122025_01_57_24_9664.jpg
/home/pi/Desktop/images/17122025/01/57/image_17122025_01_57_35_10742.jpg
/home/pi/Desktop/images/17122025/01/57/image_17122025_01_57_45_9755.jpg
/home/pi/Desktop/images/17122025/01/57/image_17122025_01_58_04_9735.jpg
/home/pi/Desktop/images/17122025/01/58/image_17122025_01_58_34_9589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732535","1399732544","1399732538","1399732540","1399732542"],"photo_ids_order":["1399732535","1399732538","1399732540","1399732542","1399732544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9b643331017bc156cc40295929b03df.jpg","text":"TemporaryFile(/tmp/multipartBody3622374911346490233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933203799,"filename":"image_17122025_01_57_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a38117633595b5969a6927d3e1cd56c7.jpg","text":"TemporaryFile(/tmp/multipartBody3659757262391990886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933203799,"filename":"image_17122025_01_58_34_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59ec0259535180eb9fc48c55286f1ef8.jpg","text":"TemporaryFile(/tmp/multipartBody8921916737308330696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933203799,"filename":"image_17122025_01_57_35_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/356e2b57be89b5980632f3886aac9cbf.jpg","text":"TemporaryFile(/tmp/multipartBody7430590822195147491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933203799,"filename":"image_17122025_01_57_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22d06228cc0e0bbd2286f9d2b3a081e2.jpg","text":"TemporaryFile(/tmp/multipartBody7875130387250183002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933203799,"filename":"image_17122025_01_58_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732540","file1":"1399732538","file0":"1399732535","file4":"1399732544","file3":"1399732542"},"map_files_photo_id_array":[{"photo_id":"1399732540","filename":"file2"},{"photo_id":"1399732544","filename":"file4"},{"photo_id":"1399732538","filename":"file1"},{"photo_id":"1399732535","filename":"file0"},{"photo_id":"1399732542","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732535":["hashtag1","hashtag2"]},{"1399732544":["hashtag1","hashtag2"]},{"1399732538":["hashtag1","hashtag2"]},{"1399732540":["hashtag1","hashtag2"]},{"1399732542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732535, 1399732544, 1399732538, 1399732540, 1399732542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 38.660518407821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:00:02.903761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/58/image_17122025_01_58_44_9822.jpg', '/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_14_9655.jpg', '/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_24_9632.jpg', '/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_35_10591.jpg', '/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_44_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/58/image_17122025_01_58_44_9822.jpg
/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_14_9655.jpg
/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_24_9632.jpg
/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_35_10591.jpg
/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_44_9750.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4720950126647949 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:00:12.477410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:00:22.589068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/58/image_17122025_01_58_44_9822.jpg', '/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_14_9655.jpg', '/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_24_9632.jpg', '/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_35_10591.jpg', '/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_44_9750.jpg', '/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_54_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/58/image_17122025_01_58_44_9822.jpg
/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_14_9655.jpg
/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_24_9632.jpg
/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_35_10591.jpg
/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_44_9750.jpg
/home/pi/Desktop/images/17122025/01/59/image_17122025_01_59_54_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":["1399732559","1399732562","1399732561","1399732564","1399732560","1399732557"],"photo_ids_order":["1399732557","1399732559","1399732560","1399732561","1399732562","1399732564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/352438501fddd4e008502c3723330c35.jpg","text":"TemporaryFile(/tmp/multipartBody6925198225051145798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933283169,"filename":"image_17122025_01_59_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b88af9eaa2473c08b8367095fa6014e.jpg","text":"TemporaryFile(/tmp/multipartBody6692882740755659299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933283169,"filename":"image_17122025_01_59_44_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0eabb1abc58572ad6f3e972a3dec2ae.jpg","text":"TemporaryFile(/tmp/multipartBody3074029252468810886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933283169,"filename":"image_17122025_01_59_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e020873b80ead6d8dbf36fe3895dfcf.jpg","text":"TemporaryFile(/tmp/multipartBody7292000849499824524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933283169,"filename":"image_17122025_01_59_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60dba1ccc0efe5ab75a27d2dcaddd22e.jpg","text":"TemporaryFile(/tmp/multipartBody2104142307448538368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933283169,"filename":"image_17122025_01_59_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58fa675b0665bdae73eeef6a3334e3ce.jpg","text":"TemporaryFile(/tmp/multipartBody7424504863297820474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933283169,"filename":"image_17122025_01_58_44_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732560","file1":"1399732559","file0":"1399732557","file4":"1399732562","file5":"1399732564","file3":"1399732561"},"map_files_photo_id_array":[{"photo_id":"1399732564","filename":"file5"},{"photo_id":"1399732560","filename":"file2"},{"photo_id":"1399732562","filename":"file4"},{"photo_id":"1399732559","filename":"file1"},{"photo_id":"1399732557","filename":"file0"},{"photo_id":"1399732561","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732559":["hashtag1","hashtag2"]},{"1399732562":["hashtag1","hashtag2"]},{"1399732561":["hashtag1","hashtag2"]},{"1399732564":["hashtag1","hashtag2"]},{"1399732560":["hashtag1","hashtag2"]},{"1399732557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732559, 1399732562, 1399732561, 1399732564, 1399732560, 1399732557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.860267162323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:01:03.304613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 02:01:15.184853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:01:22.698257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/01/59/image_17122025_02_00_05_10654.jpg', '/home/pi/Desktop/images/17122025/02/00/image_17122025_02_00_24_9702.jpg', '/home/pi/Desktop/images/17122025/02/00/image_17122025_02_00_45_9591.jpg', '/home/pi/Desktop/images/17122025/02/00/image_17122025_02_00_54_9722.jpg', '/home/pi/Desktop/images/17122025/02/00/image_17122025_02_01_05_10554.jpg', '/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_14_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/01/59/image_17122025_02_00_05_10654.jpg
/home/pi/Desktop/images/17122025/02/00/image_17122025_02_00_24_9702.jpg
/home/pi/Desktop/images/17122025/02/00/image_17122025_02_00_45_9591.jpg
/home/pi/Desktop/images/17122025/02/00/image_17122025_02_00_54_9722.jpg
/home/pi/Desktop/images/17122025/02/00/image_17122025_02_01_05_10554.jpg
/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_14_9648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732583","1399732577","1399732579","1399732573","1399732581","1399732575"],"photo_ids_order":["1399732573","1399732575","1399732577","1399732579","1399732581","1399732583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b90704a5d342d998f7174d50a313d830.jpg","text":"TemporaryFile(/tmp/multipartBody5148733922898171409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933343263,"filename":"image_17122025_02_01_14_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/673706d832d9544102f7c541b8450470.jpg","text":"TemporaryFile(/tmp/multipartBody2260950240672952610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933343263,"filename":"image_17122025_02_00_45_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98c21749276b367270131907a2bed2d8.jpg","text":"TemporaryFile(/tmp/multipartBody1568804892969740034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933343263,"filename":"image_17122025_02_00_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a73e89333bcc8e9ec1f52e27f7a7d702.jpg","text":"TemporaryFile(/tmp/multipartBody6270644891216964675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933343263,"filename":"image_17122025_02_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/2025/12/17/f3b4ad63232a78b60751726c3f95ee43.jpg","text":"TemporaryFile(/tmp/multipartBody1150473452095329115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933343263,"filename":"image_17122025_02_01_05_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ff1bbb44382348aff745839a7a349b8.jpg","text":"TemporaryFile(/tmp/multipartBody8042344996983659800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933343263,"filename":"image_17122025_02_00_24_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732577","file1":"1399732575","file0":"1399732573","file4":"1399732581","file5":"1399732583","file3":"1399732579"},"map_files_photo_id_array":[{"photo_id":"1399732583","filename":"file5"},{"photo_id":"1399732577","filename":"file2"},{"photo_id":"1399732581","filename":"file4"},{"photo_id":"1399732575","filename":"file1"},{"photo_id":"1399732573","filename":"file0"},{"photo_id":"1399732579","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732583":["hashtag1","hashtag2"]},{"1399732577":["hashtag1","hashtag2"]},{"1399732579":["hashtag1","hashtag2"]},{"1399732573":["hashtag1","hashtag2"]},{"1399732581":["hashtag1","hashtag2"]},{"1399732575":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732583, 1399732577, 1399732579, 1399732573, 1399732581, 1399732575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14993476867676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:02:03.244183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_35_10657.jpg', '/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_44_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_35_10657.jpg
/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_44_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732585","1399732584"],"photo_ids_order":["1399732584","1399732585"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd22bf5fdc818e90df7df9d3b62a42ae.jpg","text":"TemporaryFile(/tmp/multipartBody5017808847679030881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933386248,"filename":"image_17122025_02_01_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f2e26edb1f8dbc6f54777cb1b7d26d7.jpg","text":"TemporaryFile(/tmp/multipartBody1964243356501785772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933386248,"filename":"image_17122025_02_01_35_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399732585","file0":"1399732584"},"map_files_photo_id_array":[{"photo_id":"1399732585","filename":"file1"},{"photo_id":"1399732584","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399732585":["hashtag1","hashtag2"]},{"1399732584":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399732585, 1399732584)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.977787494659424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:02:32.694254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:02:42.899505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_46_1740.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_48_1635.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_50_1672.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_51_1715.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_54_2587.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_56_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_46_1740.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_48_1635.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_50_1672.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_51_1715.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_54_2587.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_56_1621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399732868","1399732835","1399733014","1399732975","1399732936","1399732903"],"photo_ids_order":["1399732835","1399732868","1399732903","1399732936","1399732975","1399733014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0324fe95841df6e7f89a1a28fd65dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody1973774157168144035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933423650,"filename":"image_07112025_15_39_48_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95cbfa8e0a5a6ca6fa8ca1451c61e32a.jpg","text":"TemporaryFile(/tmp/multipartBody6778272978804317272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933423650,"filename":"image_07112025_15_39_46_1740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d0ba17d0394a7e55c2a98b3f64a771b.jpg","text":"TemporaryFile(/tmp/multipartBody1359158595026641190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933423650,"filename":"image_07112025_15_39_56_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed9161bfe4f866e8ee9cf963d47fe1cf.jpg","text":"TemporaryFile(/tmp/multipartBody4355718702491246642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933423650,"filename":"image_07112025_15_39_54_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0a135c660dcd8d0d6af4740c0a23059.jpg","text":"TemporaryFile(/tmp/multipartBody655965589576629342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933423650,"filename":"image_07112025_15_39_51_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d6fd2b6e3709f3457f4f635efea2950.jpg","text":"TemporaryFile(/tmp/multipartBody5649150623450559923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933423650,"filename":"image_07112025_15_39_50_1672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399732903","file1":"1399732868","file0":"1399732835","file4":"1399732975","file5":"1399733014","file3":"1399732936"},"map_files_photo_id_array":[{"photo_id":"1399733014","filename":"file5"},{"photo_id":"1399732903","filename":"file2"},{"photo_id":"1399732975","filename":"file4"},{"photo_id":"1399732868","filename":"file1"},{"photo_id":"1399732835","filename":"file0"},{"photo_id":"1399732936","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399732868":["hashtag1","hashtag2"]},{"1399732835":["hashtag1","hashtag2"]},{"1399733014":["hashtag1","hashtag2"]},{"1399732975":["hashtag1","hashtag2"]},{"1399732936":["hashtag1","hashtag2"]},{"1399732903":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399732868, 1399732835, 1399733014, 1399732975, 1399732936, 1399732903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.168864488601685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:03:22.140382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_54_9716.jpg', '/home/pi/Desktop/images/17122025/02/01/image_17122025_02_02_05_10630.jpg', '/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_15_9817.jpg', '/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_24_9581.jpg', '/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_35_10396.jpg', '/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_54_9716.jpg
/home/pi/Desktop/images/17122025/02/01/image_17122025_02_02_05_10630.jpg
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_15_9817.jpg
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_24_9581.jpg
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_35_10396.jpg
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_44_9701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.44442319869995117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:03:32.142991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:03:42.120973
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_57_1716.jpg', '/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_59_1779.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_01_1659.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_02_1491.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_04_1659.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_08_4068.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_57_1716.jpg
/home/pi/Desktop/images/07112025/15/39/image_07112025_15_39_59_1779.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_01_1659.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_02_1491.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_04_1659.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_08_4068.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399733447","1399733342","1399733413","1399733484","1399733517","1399733378"],"photo_ids_order":["1399733342","1399733378","1399733413","1399733447","1399733484","1399733517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b0fe662e8ea7232e5f73c2a8d717b04.jpg","text":"TemporaryFile(/tmp/multipartBody8675920735430712620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933487814,"filename":"image_07112025_15_40_02_1491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8220b8c1697b41971dc5b10471b0909.jpg","text":"TemporaryFile(/tmp/multipartBody1675209407273352322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933487814,"filename":"image_07112025_15_39_57_1716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/149c27a85b9902c2fa8e3cd65ac9d9e0.jpg","text":"TemporaryFile(/tmp/multipartBody4588983908206054379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933487814,"filename":"image_07112025_15_40_01_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad087e20863a96d7f1d362df6c92d546.jpg","text":"TemporaryFile(/tmp/multipartBody6146278195115049781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933487814,"filename":"image_07112025_15_40_04_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ccea5dbe70dad2d29b9aba343d482122.jpg","text":"TemporaryFile(/tmp/multipartBody6341710874253535806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933487814,"filename":"image_07112025_15_40_08_4068.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8ef115e33ca7d3268afcef2bce4a0a2.jpg","text":"TemporaryFile(/tmp/multipartBody2325698386962386873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933487814,"filename":"image_07112025_15_39_59_1779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399733413","file1":"1399733378","file0":"1399733342","file4":"1399733484","file5":"1399733517","file3":"1399733447"},"map_files_photo_id_array":[{"photo_id":"1399733517","filename":"file5"},{"photo_id":"1399733413","filename":"file2"},{"photo_id":"1399733484","filename":"file4"},{"photo_id":"1399733378","filename":"file1"},{"photo_id":"1399733342","filename":"file0"},{"photo_id":"1399733447","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399733447":["hashtag1","hashtag2"]},{"1399733342":["hashtag1","hashtag2"]},{"1399733413":["hashtag1","hashtag2"]},{"1399733484":["hashtag1","hashtag2"]},{"1399733517":["hashtag1","hashtag2"]},{"1399733378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399733447, 1399733342, 1399733413, 1399733484, 1399733517, 1399733378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.4696626663208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:04:32.406019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:04:42.315641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_10_1711.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_12_1806.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_13_1548.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_24_10586.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_25_1526.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_27_1543.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_10_1711.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_12_1806.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_13_1548.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_24_10586.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_25_1526.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_27_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":["1399733552","1399733549","1399733554","1399733551","1399733550","1399733553"],"photo_ids_order":["1399733549","1399733550","1399733551","1399733552","1399733553","1399733554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96125627df982de1957d14210754479e.jpg","text":"TemporaryFile(/tmp/multipartBody3431356985760616775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933543033,"filename":"image_07112025_15_40_24_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76c937e90591cc3facd8e022924b85ae.jpg","text":"TemporaryFile(/tmp/multipartBody6318830668566008645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933543033,"filename":"image_07112025_15_40_10_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a486c3954ffc30916032052c4ad034cd.jpg","text":"TemporaryFile(/tmp/multipartBody3650055075606623037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933543033,"filename":"image_07112025_15_40_27_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/754fe3a2b6e70e1898369280bbb65f78.jpg","text":"TemporaryFile(/tmp/multipartBody2267161453563830035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933543033,"filename":"image_07112025_15_40_13_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6804a9fd3da5497796ce24e93f908148.jpg","text":"TemporaryFile(/tmp/multipartBody8226743715251633862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933543033,"filename":"image_07112025_15_40_12_1806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09be4282c70bacb2ef7cec7f4ca214b6.jpg","text":"TemporaryFile(/tmp/multipartBody2009389073572190619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933543033,"filename":"image_07112025_15_40_25_1526.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399733551","file1":"1399733550","file0":"1399733549","file4":"1399733553","file5":"1399733554","file3":"1399733552"},"map_files_photo_id_array":[{"photo_id":"1399733554","filename":"file5"},{"photo_id":"1399733551","filename":"file2"},{"photo_id":"1399733553","filename":"file4"},{"photo_id":"1399733550","filename":"file1"},{"photo_id":"1399733549","filename":"file0"},{"photo_id":"1399733552","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399733552":["hashtag1","hashtag2"]},{"1399733549":["hashtag1","hashtag2"]},{"1399733554":["hashtag1","hashtag2"]},{"1399733551":["hashtag1","hashtag2"]},{"1399733550":["hashtag1","hashtag2"]},{"1399733553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399733552, 1399733549, 1399733554, 1399733551, 1399733550, 1399733553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95036721229553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:05:22.589641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_54_9716.jpg', '/home/pi/Desktop/images/17122025/02/01/image_17122025_02_02_05_10630.jpg', '/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_15_9817.jpg', '/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_24_9581.jpg', '/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_35_10396.jpg', '/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/01/image_17122025_02_01_54_9716.jpg
/home/pi/Desktop/images/17122025/02/01/image_17122025_02_02_05_10630.jpg
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_15_9817.jpg
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_24_9581.jpg
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_35_10396.jpg
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_44_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399733560","1399733583","1399733562","1399733556","1399733564","1399733558"],"photo_ids_order":["1399733556","1399733558","1399733560","1399733562","1399733564","1399733583"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ba061255d7d02890971bb94b5cdebad.jpg","text":"TemporaryFile(/tmp/multipartBody764945158022707813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933583166,"filename":"image_17122025_02_02_15_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/536ef9846050080f0672ef1f4326ed1f.jpg","text":"TemporaryFile(/tmp/multipartBody3342006636782241765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933583166,"filename":"image_17122025_02_02_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d31f0ac45180d7f60949c784ba4a2cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8744206195303060036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933583166,"filename":"image_17122025_02_02_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fde10a17acc7d2320f1db7955d0b4b8.jpg","text":"TemporaryFile(/tmp/multipartBody7678092757337508191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933583166,"filename":"image_17122025_02_01_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1dc57210dc8ba31be2ddc680e6d0eb27.jpg","text":"TemporaryFile(/tmp/multipartBody7994552597636077796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933583166,"filename":"image_17122025_02_02_35_10396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6d55096220d5038422d760edf2da57f.jpg","text":"TemporaryFile(/tmp/multipartBody3957511435780642568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933583166,"filename":"image_17122025_02_02_05_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399733560","file1":"1399733558","file0":"1399733556","file4":"1399733564","file5":"1399733583","file3":"1399733562"},"map_files_photo_id_array":[{"photo_id":"1399733583","filename":"file5"},{"photo_id":"1399733560","filename":"file2"},{"photo_id":"1399733564","filename":"file4"},{"photo_id":"1399733558","filename":"file1"},{"photo_id":"1399733556","filename":"file0"},{"photo_id":"1399733562","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399733560":["hashtag1","hashtag2"]},{"1399733583":["hashtag1","hashtag2"]},{"1399733562":["hashtag1","hashtag2"]},{"1399733556":["hashtag1","hashtag2"]},{"1399733564":["hashtag1","hashtag2"]},{"1399733558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399733560, 1399733583, 1399733562, 1399733556, 1399733564, 1399733558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38378953933716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:06:02.270486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_55_10351.jpg', '/home/pi/Desktop/images/17122025/02/02/image_17122025_02_03_04_9719.jpg', '/home/pi/Desktop/images/17122025/02/03/image_17122025_02_03_55_10856.jpg', '/home/pi/Desktop/images/17122025/02/03/image_17122025_02_04_05_9702.jpg', '/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_14_9652.jpg', '/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_24_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_02_55_10351.jpg
/home/pi/Desktop/images/17122025/02/02/image_17122025_02_03_04_9719.jpg
/home/pi/Desktop/images/17122025/02/03/image_17122025_02_03_55_10856.jpg
/home/pi/Desktop/images/17122025/02/03/image_17122025_02_04_05_9702.jpg
/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_14_9652.jpg
/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_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":["1399733825","1399733747","1399733713","1399733859","1399733787","1399733897"],"photo_ids_order":["1399733713","1399733747","1399733787","1399733825","1399733859","1399733897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67562937cb587a5c62aea46090743138.jpg","text":"TemporaryFile(/tmp/multipartBody8647147201253553142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933622869,"filename":"image_17122025_02_04_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f7f303d008f5c3c249e1f685592e0c9.jpg","text":"TemporaryFile(/tmp/multipartBody4865875155836369602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933622869,"filename":"image_17122025_02_03_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d12c6a9ace04a66c6e47d117b221af8d.jpg","text":"TemporaryFile(/tmp/multipartBody5809732134440970789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933622869,"filename":"image_17122025_02_02_55_10351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8858b70a04049aab582b3652c03749ab.jpg","text":"TemporaryFile(/tmp/multipartBody1782424831498880085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933622869,"filename":"image_17122025_02_04_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d034dd4424317d0fea43b6e56e8a173.jpg","text":"TemporaryFile(/tmp/multipartBody2213146236672247852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933622869,"filename":"image_17122025_02_03_55_10856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dac0b989e0472f9130fc814a95bcf285.jpg","text":"TemporaryFile(/tmp/multipartBody5917924393783869481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933622869,"filename":"image_17122025_02_04_24_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399733787","file1":"1399733747","file0":"1399733713","file4":"1399733859","file5":"1399733897","file3":"1399733825"},"map_files_photo_id_array":[{"photo_id":"1399733897","filename":"file5"},{"photo_id":"1399733787","filename":"file2"},{"photo_id":"1399733859","filename":"file4"},{"photo_id":"1399733747","filename":"file1"},{"photo_id":"1399733713","filename":"file0"},{"photo_id":"1399733825","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399733825":["hashtag1","hashtag2"]},{"1399733747":["hashtag1","hashtag2"]},{"1399733713":["hashtag1","hashtag2"]},{"1399733859":["hashtag1","hashtag2"]},{"1399733787":["hashtag1","hashtag2"]},{"1399733897":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399733825, 1399733747, 1399733713, 1399733859, 1399733787, 1399733897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.119805097579956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:06:41.911329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_28_1571.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_30_1708.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_32_1762.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_34_1685.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_35_1590.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_37_1525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_28_1571.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_30_1708.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_32_1762.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_34_1685.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_35_1590.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_37_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":["1399734271","1399734218","1399734355","1399734174","1399734129","1399734306"],"photo_ids_order":["1399734129","1399734174","1399734218","1399734271","1399734306","1399734355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/939270489ee878cd84a0faa992f5b4be.jpg","text":"TemporaryFile(/tmp/multipartBody6026783585645642708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933662626,"filename":"image_07112025_15_40_34_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/613ddf8422766a82224c010a3a58035b.jpg","text":"TemporaryFile(/tmp/multipartBody903021623404563170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933662626,"filename":"image_07112025_15_40_32_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eaefa121ca85e05e0bb092c61a6c6932.jpg","text":"TemporaryFile(/tmp/multipartBody7320657008264116214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933662626,"filename":"image_07112025_15_40_37_1525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59936cf04f7298a3bf456692f4ffb535.jpg","text":"TemporaryFile(/tmp/multipartBody1186431489700470925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933662626,"filename":"image_07112025_15_40_30_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7198b605d68eb264117f920e1ae5b64.jpg","text":"TemporaryFile(/tmp/multipartBody4169843268408649337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933662626,"filename":"image_07112025_15_40_28_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/554fbc4f3a8da0d0cc22afc131b498e1.jpg","text":"TemporaryFile(/tmp/multipartBody6589045583670422879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933662626,"filename":"image_07112025_15_40_35_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399734218","file1":"1399734174","file0":"1399734129","file4":"1399734306","file5":"1399734355","file3":"1399734271"},"map_files_photo_id_array":[{"photo_id":"1399734355","filename":"file5"},{"photo_id":"1399734218","filename":"file2"},{"photo_id":"1399734306","filename":"file4"},{"photo_id":"1399734174","filename":"file1"},{"photo_id":"1399734129","filename":"file0"},{"photo_id":"1399734271","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399734271":["hashtag1","hashtag2"]},{"1399734218":["hashtag1","hashtag2"]},{"1399734355":["hashtag1","hashtag2"]},{"1399734174":["hashtag1","hashtag2"]},{"1399734129":["hashtag1","hashtag2"]},{"1399734306":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399734271, 1399734218, 1399734355, 1399734174, 1399734129, 1399734306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.432045221328735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:07:22.197730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_35_10648.jpg', '/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_45_9943.jpg', '/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_55_9875.jpg', '/home/pi/Desktop/images/17122025/02/04/image_17122025_02_05_04_9549.jpg', '/home/pi/Desktop/images/17122025/02/05/image_17122025_02_05_15_10833.jpg', '/home/pi/Desktop/images/17122025/02/05/image_17122025_02_05_25_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_35_10648.jpg
/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_45_9943.jpg
/home/pi/Desktop/images/17122025/02/04/image_17122025_02_04_55_9875.jpg
/home/pi/Desktop/images/17122025/02/04/image_17122025_02_05_04_9549.jpg
/home/pi/Desktop/images/17122025/02/05/image_17122025_02_05_15_10833.jpg
/home/pi/Desktop/images/17122025/02/05/image_17122025_02_05_25_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399734589","1399734547","1399734628","1399734666","1399734737","1399734701"],"photo_ids_order":["1399734547","1399734589","1399734628","1399734666","1399734701","1399734737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c3837448dec4683ffce37a036ce322d.jpg","text":"TemporaryFile(/tmp/multipartBody4447308886505694423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933702777,"filename":"image_17122025_02_04_45_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1db215b4b5c98dc1a71b5b9ca760f608.jpg","text":"TemporaryFile(/tmp/multipartBody847391848765250951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933702777,"filename":"image_17122025_02_04_35_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01af937b0a667bb775a696b169d43b5f.jpg","text":"TemporaryFile(/tmp/multipartBody1211378201010402746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933702777,"filename":"image_17122025_02_04_55_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0095b07ec0e6fc1bf57775fcdf24cecd.jpg","text":"TemporaryFile(/tmp/multipartBody9105125863603919664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933702777,"filename":"image_17122025_02_05_04_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b06a14fd5a3e2198d1bd6a345a80667e.jpg","text":"TemporaryFile(/tmp/multipartBody7362296986982125100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933702777,"filename":"image_17122025_02_05_25_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2614b08855cf528c0c7ddb14e04deb5.jpg","text":"TemporaryFile(/tmp/multipartBody5458887264861911681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933702777,"filename":"image_17122025_02_05_15_10833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399734628","file1":"1399734589","file0":"1399734547","file4":"1399734701","file5":"1399734737","file3":"1399734666"},"map_files_photo_id_array":[{"photo_id":"1399734737","filename":"file5"},{"photo_id":"1399734628","filename":"file2"},{"photo_id":"1399734701","filename":"file4"},{"photo_id":"1399734589","filename":"file1"},{"photo_id":"1399734547","filename":"file0"},{"photo_id":"1399734666","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399734589":["hashtag1","hashtag2"]},{"1399734547":["hashtag1","hashtag2"]},{"1399734628":["hashtag1","hashtag2"]},{"1399734666":["hashtag1","hashtag2"]},{"1399734737":["hashtag1","hashtag2"]},{"1399734701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399734589, 1399734547, 1399734628, 1399734666, 1399734737, 1399734701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05663442611694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:08:02.827900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/05/image_17122025_02_06_05_9670.jpg', '/home/pi/Desktop/images/17122025/02/06/image_17122025_02_06_14_9576.jpg', '/home/pi/Desktop/images/17122025/02/06/image_17122025_02_06_25_10616.jpg', '/home/pi/Desktop/images/17122025/02/06/image_17122025_02_06_35_9632.jpg', '/home/pi/Desktop/images/17122025/02/06/image_17122025_02_06_44_9663.jpg', '/home/pi/Desktop/images/17122025/02/07/image_17122025_02_07_14_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/05/image_17122025_02_06_05_9670.jpg
/home/pi/Desktop/images/17122025/02/06/image_17122025_02_06_14_9576.jpg
/home/pi/Desktop/images/17122025/02/06/image_17122025_02_06_25_10616.jpg
/home/pi/Desktop/images/17122025/02/06/image_17122025_02_06_35_9632.jpg
/home/pi/Desktop/images/17122025/02/06/image_17122025_02_06_44_9663.jpg
/home/pi/Desktop/images/17122025/02/07/image_17122025_02_07_14_9760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399734841","1399734844","1399734840","1399734843","1399734846","1399734845"],"photo_ids_order":["1399734840","1399734841","1399734843","1399734844","1399734845","1399734846"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7bbd5389e98a1ae7f6c0c3e37602cb1.jpg","text":"TemporaryFile(/tmp/multipartBody6171538916471233424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933743432,"filename":"image_17122025_02_06_14_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ca38ba029129858837f03a680ddecc8.jpg","text":"TemporaryFile(/tmp/multipartBody2863929720374321241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933743432,"filename":"image_17122025_02_06_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12844d481a567f6f8f5cd8ed5caf925e.jpg","text":"TemporaryFile(/tmp/multipartBody5342218730769289627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933743432,"filename":"image_17122025_02_06_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28bc1c152fe1d905afe5e472d41db301.jpg","text":"TemporaryFile(/tmp/multipartBody287756446012602394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933743432,"filename":"image_17122025_02_06_25_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b03c38fcfe238572bab3767af6884d7a.jpg","text":"TemporaryFile(/tmp/multipartBody6660323442797779585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933743432,"filename":"image_17122025_02_07_14_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e987136c352b7ae4da5b67fbc376fdbf.jpg","text":"TemporaryFile(/tmp/multipartBody4927561143375561516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933743432,"filename":"image_17122025_02_06_44_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399734843","file1":"1399734841","file0":"1399734840","file4":"1399734845","file5":"1399734846","file3":"1399734844"},"map_files_photo_id_array":[{"photo_id":"1399734846","filename":"file5"},{"photo_id":"1399734843","filename":"file2"},{"photo_id":"1399734845","filename":"file4"},{"photo_id":"1399734841","filename":"file1"},{"photo_id":"1399734840","filename":"file0"},{"photo_id":"1399734844","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399734841":["hashtag1","hashtag2"]},{"1399734844":["hashtag1","hashtag2"]},{"1399734840":["hashtag1","hashtag2"]},{"1399734843":["hashtag1","hashtag2"]},{"1399734846":["hashtag1","hashtag2"]},{"1399734845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399734841, 1399734844, 1399734840, 1399734843, 1399734846, 1399734845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.43672037124634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:08:42.292227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_38_1549.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_40_1691.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_42_1649.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_43_1527.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_45_1487.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_46_1738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_38_1549.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_40_1691.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_42_1649.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_43_1527.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_45_1487.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_46_1738.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399735074","1399734993","1399735038","1399734980","1399735118","1399735153"],"photo_ids_order":["1399734980","1399734993","1399735038","1399735074","1399735118","1399735153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e97f7bbd2ccddf1ed1146fe304b80700.jpg","text":"TemporaryFile(/tmp/multipartBody6445259810923045937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933783008,"filename":"image_07112025_15_40_43_1527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a41d329e3bc45b71045be70de9ae58a.jpg","text":"TemporaryFile(/tmp/multipartBody7722582480823465565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933783008,"filename":"image_07112025_15_40_40_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2925d8db3f30a4be669a28c04c0ee9bf.jpg","text":"TemporaryFile(/tmp/multipartBody2054541688344880410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933783008,"filename":"image_07112025_15_40_42_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92b4b0eab0e314de511ad40831edfb42.jpg","text":"TemporaryFile(/tmp/multipartBody3075567087462754708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933783008,"filename":"image_07112025_15_40_38_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b9cfda9e73b329f0e68d173b3274911.jpg","text":"TemporaryFile(/tmp/multipartBody7504779304788008498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933783008,"filename":"image_07112025_15_40_45_1487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7d87413724ffe009e8a6be5e62eab9e.jpg","text":"TemporaryFile(/tmp/multipartBody788596984746591969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933783008,"filename":"image_07112025_15_40_46_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399735038","file1":"1399734993","file0":"1399734980","file4":"1399735118","file5":"1399735153","file3":"1399735074"},"map_files_photo_id_array":[{"photo_id":"1399735153","filename":"file5"},{"photo_id":"1399735038","filename":"file2"},{"photo_id":"1399735118","filename":"file4"},{"photo_id":"1399734993","filename":"file1"},{"photo_id":"1399734980","filename":"file0"},{"photo_id":"1399735074","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399735074":["hashtag1","hashtag2"]},{"1399734993":["hashtag1","hashtag2"]},{"1399735038":["hashtag1","hashtag2"]},{"1399734980":["hashtag1","hashtag2"]},{"1399735118":["hashtag1","hashtag2"]},{"1399735153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399735074, 1399734993, 1399735038, 1399734980, 1399735118, 1399735153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.210739850997925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:09:32.546354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:09:42.507802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_48_1583.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_49_1618.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_52_2633.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_55_2650.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_58_3700.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_01_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_48_1583.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_49_1618.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_52_2633.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_55_2650.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_58_3700.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_01_2589.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6438136100769043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:10:03.131783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/07/image_17122025_02_07_44_9698.jpg', '/home/pi/Desktop/images/17122025/02/07/image_17122025_02_07_55_10755.jpg', '/home/pi/Desktop/images/17122025/02/07/image_17122025_02_08_05_9667.jpg', '/home/pi/Desktop/images/17122025/02/08/image_17122025_02_08_44_9689.jpg', '/home/pi/Desktop/images/17122025/02/09/image_17122025_02_09_15_9611.jpg', '/home/pi/Desktop/images/17122025/02/09/image_17122025_02_09_24_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/07/image_17122025_02_07_44_9698.jpg
/home/pi/Desktop/images/17122025/02/07/image_17122025_02_07_55_10755.jpg
/home/pi/Desktop/images/17122025/02/07/image_17122025_02_08_05_9667.jpg
/home/pi/Desktop/images/17122025/02/08/image_17122025_02_08_44_9689.jpg
/home/pi/Desktop/images/17122025/02/09/image_17122025_02_09_15_9611.jpg
/home/pi/Desktop/images/17122025/02/09/image_17122025_02_09_24_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399735645","1399735612","1399735528","1399735720","1399735683","1399735573"],"photo_ids_order":["1399735528","1399735573","1399735612","1399735645","1399735683","1399735720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8efe4c0ec92350fdd9e8da5411b35e62.jpg","text":"TemporaryFile(/tmp/multipartBody4998886883443069131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933864548,"filename":"image_17122025_02_08_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c3cd3a980f17a02946c6fb6d6cf6110.jpg","text":"TemporaryFile(/tmp/multipartBody3694018157397853511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933864548,"filename":"image_17122025_02_08_05_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e511697f42ff6ae2b6091cea18955835.jpg","text":"TemporaryFile(/tmp/multipartBody5548203178757728319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933864548,"filename":"image_17122025_02_07_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/247595401a2b5c3e3b5491a39d9f2c30.jpg","text":"TemporaryFile(/tmp/multipartBody4875464724929782866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933864548,"filename":"image_17122025_02_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/2025/12/17/850b878aa9f981020733644072a9d84b.jpg","text":"TemporaryFile(/tmp/multipartBody8131769834503796539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933864548,"filename":"image_17122025_02_09_15_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad16591420342b47e1fa38d14e089da9.jpg","text":"TemporaryFile(/tmp/multipartBody3718812736611996140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933864548,"filename":"image_17122025_02_07_55_10755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399735612","file1":"1399735573","file0":"1399735528","file4":"1399735683","file5":"1399735720","file3":"1399735645"},"map_files_photo_id_array":[{"photo_id":"1399735720","filename":"file5"},{"photo_id":"1399735612","filename":"file2"},{"photo_id":"1399735683","filename":"file4"},{"photo_id":"1399735573","filename":"file1"},{"photo_id":"1399735528","filename":"file0"},{"photo_id":"1399735645","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399735645":["hashtag1","hashtag2"]},{"1399735612":["hashtag1","hashtag2"]},{"1399735528":["hashtag1","hashtag2"]},{"1399735720":["hashtag1","hashtag2"]},{"1399735683":["hashtag1","hashtag2"]},{"1399735573":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399735645, 1399735612, 1399735528, 1399735720, 1399735683, 1399735573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6397225856781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:11:03.145176
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/09/image_17122025_02_09_35_10665.jpg', '/home/pi/Desktop/images/17122025/02/09/image_17122025_02_10_05_10653.jpg', '/home/pi/Desktop/images/17122025/02/10/image_17122025_02_10_35_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/09/image_17122025_02_09_35_10665.jpg
/home/pi/Desktop/images/17122025/02/09/image_17122025_02_10_05_10653.jpg
/home/pi/Desktop/images/17122025/02/10/image_17122025_02_10_35_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":["1399736061","1399736100","1399736022"],"photo_ids_order":["1399736022","1399736061","1399736100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e69a95b0e4fdfd32f576f5ed91962573.jpg","text":"TemporaryFile(/tmp/multipartBody3320006199246146547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933926121,"filename":"image_17122025_02_10_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da221f5e3bc7c7d933cd6e46b2403a85.jpg","text":"TemporaryFile(/tmp/multipartBody4858223141781463078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933926121,"filename":"image_17122025_02_10_35_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c61e8a735b1a803b202c90d924b77bf7.jpg","text":"TemporaryFile(/tmp/multipartBody1242103176890189300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933926121,"filename":"image_17122025_02_09_35_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736100","file1":"1399736061","file0":"1399736022"},"map_files_photo_id_array":[{"photo_id":"1399736100","filename":"file2"},{"photo_id":"1399736061","filename":"file1"},{"photo_id":"1399736022","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736061":["hashtag1","hashtag2"]},{"1399736100":["hashtag1","hashtag2"]},{"1399736022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736061, 1399736100, 1399736022)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 3 photos
time to upload: 36.83919978141785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:11:42.632264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_48_1583.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_49_1618.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_52_2633.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_55_2650.jpg', '/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_58_3700.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_01_2589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_48_1583.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_49_1618.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_52_2633.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_55_2650.jpg
/home/pi/Desktop/images/07112025/15/40/image_07112025_15_40_58_3700.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_01_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":["1399736157","1399736151","1399736148","1399736150","1399736146","1399736149"],"photo_ids_order":["1399736146","1399736148","1399736149","1399736150","1399736151","1399736157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0e13b1127a658b458096829e3117cbf.jpg","text":"TemporaryFile(/tmp/multipartBody2500023999206875682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933963258,"filename":"image_07112025_15_41_01_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc8593cea67c019295ed460ddcc9e5ec.jpg","text":"TemporaryFile(/tmp/multipartBody3556046871265854954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933963258,"filename":"image_07112025_15_40_58_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34d7ccdc9db5eda7b3b7ebb7d97e4bf6.jpg","text":"TemporaryFile(/tmp/multipartBody8506669163845133069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933963258,"filename":"image_07112025_15_40_49_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7219f7999c808090af669491c73fb824.jpg","text":"TemporaryFile(/tmp/multipartBody9069628000762023613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933963258,"filename":"image_07112025_15_40_55_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83eeaea54e4ef296f55f684d7183627c.jpg","text":"TemporaryFile(/tmp/multipartBody1895242090381718497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933963258,"filename":"image_07112025_15_40_48_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b05097c51cac752d7d38ca86070e856.jpg","text":"TemporaryFile(/tmp/multipartBody7185414461547442306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765933963258,"filename":"image_07112025_15_40_52_2633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736149","file1":"1399736148","file0":"1399736146","file4":"1399736151","file5":"1399736157","file3":"1399736150"},"map_files_photo_id_array":[{"photo_id":"1399736157","filename":"file5"},{"photo_id":"1399736149","filename":"file2"},{"photo_id":"1399736151","filename":"file4"},{"photo_id":"1399736148","filename":"file1"},{"photo_id":"1399736146","filename":"file0"},{"photo_id":"1399736150","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736157":["hashtag1","hashtag2"]},{"1399736151":["hashtag1","hashtag2"]},{"1399736148":["hashtag1","hashtag2"]},{"1399736150":["hashtag1","hashtag2"]},{"1399736146":["hashtag1","hashtag2"]},{"1399736149":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736157, 1399736151, 1399736148, 1399736150, 1399736146, 1399736149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14857268333435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:12:22.764218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/10/image_17122025_02_10_45_9666.jpg', '/home/pi/Desktop/images/17122025/02/10/image_17122025_02_11_04_9657.jpg', '/home/pi/Desktop/images/17122025/02/11/image_17122025_02_11_15_10610.jpg', '/home/pi/Desktop/images/17122025/02/11/image_17122025_02_11_24_9667.jpg', '/home/pi/Desktop/images/17122025/02/11/image_17122025_02_12_04_9734.jpg', '/home/pi/Desktop/images/17122025/02/12/image_17122025_02_12_15_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/10/image_17122025_02_10_45_9666.jpg
/home/pi/Desktop/images/17122025/02/10/image_17122025_02_11_04_9657.jpg
/home/pi/Desktop/images/17122025/02/11/image_17122025_02_11_15_10610.jpg
/home/pi/Desktop/images/17122025/02/11/image_17122025_02_11_24_9667.jpg
/home/pi/Desktop/images/17122025/02/11/image_17122025_02_12_04_9734.jpg
/home/pi/Desktop/images/17122025/02/12/image_17122025_02_12_15_10732.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.1958982944488525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:12:32.902982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:12:42.845487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_04_2773.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_08_3813.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_11_2911.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_13_2649.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_16_2631.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_20_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_04_2773.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_08_3813.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_11_2911.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_13_2649.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_16_2631.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_20_3672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736448","1399736430","1399736393","1399736381","1399736447","1399736452"],"photo_ids_order":["1399736381","1399736393","1399736430","1399736447","1399736448","1399736452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0c89a2016aceaee6d869e2a427ace50.jpg","text":"TemporaryFile(/tmp/multipartBody433728645046081287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934023564,"filename":"image_07112025_15_41_16_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4c937b0a6d9656b9b0bb3a88663f2ac.jpg","text":"TemporaryFile(/tmp/multipartBody2232397791578670237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934023564,"filename":"image_07112025_15_41_11_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/314f390436778b0465c69ac7c5423c83.jpg","text":"TemporaryFile(/tmp/multipartBody3421797421445625628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934023564,"filename":"image_07112025_15_41_08_3813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be8e5b30b1002b387b87e1426071c221.jpg","text":"TemporaryFile(/tmp/multipartBody3397427241089360792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934023564,"filename":"image_07112025_15_41_04_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/497e9fcfa040dfdf8c6417f2d7fc9120.jpg","text":"TemporaryFile(/tmp/multipartBody2067670852628589758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934023564,"filename":"image_07112025_15_41_13_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27dce3cfff09c0cc7fe2dadfc247041d.jpg","text":"TemporaryFile(/tmp/multipartBody116417903344597719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934023564,"filename":"image_07112025_15_41_20_3672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736430","file1":"1399736393","file0":"1399736381","file4":"1399736448","file5":"1399736452","file3":"1399736447"},"map_files_photo_id_array":[{"photo_id":"1399736452","filename":"file5"},{"photo_id":"1399736430","filename":"file2"},{"photo_id":"1399736448","filename":"file4"},{"photo_id":"1399736393","filename":"file1"},{"photo_id":"1399736381","filename":"file0"},{"photo_id":"1399736447","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736448":["hashtag1","hashtag2"]},{"1399736430":["hashtag1","hashtag2"]},{"1399736393":["hashtag1","hashtag2"]},{"1399736381":["hashtag1","hashtag2"]},{"1399736447":["hashtag1","hashtag2"]},{"1399736452":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736448, 1399736430, 1399736393, 1399736381, 1399736447, 1399736452)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9055233001709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:13:22.092190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/10/image_17122025_02_10_45_9666.jpg', '/home/pi/Desktop/images/17122025/02/10/image_17122025_02_11_04_9657.jpg', '/home/pi/Desktop/images/17122025/02/11/image_17122025_02_11_15_10610.jpg', '/home/pi/Desktop/images/17122025/02/11/image_17122025_02_11_24_9667.jpg', '/home/pi/Desktop/images/17122025/02/11/image_17122025_02_12_04_9734.jpg', '/home/pi/Desktop/images/17122025/02/12/image_17122025_02_12_15_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/10/image_17122025_02_10_45_9666.jpg
/home/pi/Desktop/images/17122025/02/10/image_17122025_02_11_04_9657.jpg
/home/pi/Desktop/images/17122025/02/11/image_17122025_02_11_15_10610.jpg
/home/pi/Desktop/images/17122025/02/11/image_17122025_02_11_24_9667.jpg
/home/pi/Desktop/images/17122025/02/11/image_17122025_02_12_04_9734.jpg
/home/pi/Desktop/images/17122025/02/12/image_17122025_02_12_15_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":["1399736500","1399736508","1399736502","1399736510","1399736504","1399736506"],"photo_ids_order":["1399736500","1399736502","1399736504","1399736506","1399736508","1399736510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd5e5b76e9c5b16820c314fef9ae830b.jpg","text":"TemporaryFile(/tmp/multipartBody2128035439276763132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934062668,"filename":"image_17122025_02_10_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/141eed19cfc352d216c074101bbb8a6b.jpg","text":"TemporaryFile(/tmp/multipartBody7043208742683836959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934062668,"filename":"image_17122025_02_12_04_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fab1d816918d21c0ecbe7e6149de8c74.jpg","text":"TemporaryFile(/tmp/multipartBody1774266417899958743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934062668,"filename":"image_17122025_02_11_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19f842078ce4e25be63bfa00da25e703.jpg","text":"TemporaryFile(/tmp/multipartBody533517040893290642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934062668,"filename":"image_17122025_02_12_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c7190609d73469459d322b600c08819.jpg","text":"TemporaryFile(/tmp/multipartBody7058583547887128394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934062668,"filename":"image_17122025_02_11_15_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/219adf2556d245e631cd6a2f315f1e44.jpg","text":"TemporaryFile(/tmp/multipartBody826143060764432671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934062668,"filename":"image_17122025_02_11_24_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736504","file1":"1399736502","file0":"1399736500","file4":"1399736508","file5":"1399736510","file3":"1399736506"},"map_files_photo_id_array":[{"photo_id":"1399736510","filename":"file5"},{"photo_id":"1399736504","filename":"file2"},{"photo_id":"1399736508","filename":"file4"},{"photo_id":"1399736502","filename":"file1"},{"photo_id":"1399736500","filename":"file0"},{"photo_id":"1399736506","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736500":["hashtag1","hashtag2"]},{"1399736508":["hashtag1","hashtag2"]},{"1399736502":["hashtag1","hashtag2"]},{"1399736510":["hashtag1","hashtag2"]},{"1399736504":["hashtag1","hashtag2"]},{"1399736506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736500, 1399736508, 1399736502, 1399736510, 1399736504, 1399736506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.445571422576904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:14:03.110074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/12/image_17122025_02_12_25_9671.jpg', '/home/pi/Desktop/images/17122025/02/12/image_17122025_02_12_44_9756.jpg', '/home/pi/Desktop/images/17122025/02/12/image_17122025_02_13_04_9670.jpg', '/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_15_10749.jpg', '/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_25_9778.jpg', '/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_34_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/12/image_17122025_02_12_25_9671.jpg
/home/pi/Desktop/images/17122025/02/12/image_17122025_02_12_44_9756.jpg
/home/pi/Desktop/images/17122025/02/12/image_17122025_02_13_04_9670.jpg
/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_15_10749.jpg
/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_25_9778.jpg
/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_34_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":["1399736515","1399736514","1399736513","1399736516","1399736518","1399736512"],"photo_ids_order":["1399736512","1399736513","1399736514","1399736515","1399736516","1399736518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e689d175cadf445dd6a5513cd1e109d3.jpg","text":"TemporaryFile(/tmp/multipartBody8143843350521582965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934103738,"filename":"image_17122025_02_13_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/880aacc6f1a0f2fd7de750c48073db9e.jpg","text":"TemporaryFile(/tmp/multipartBody7019412088425583360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934103738,"filename":"image_17122025_02_13_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/167665d43d73b4f87aaeda9bee24bae1.jpg","text":"TemporaryFile(/tmp/multipartBody7277508310883768431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934103738,"filename":"image_17122025_02_12_44_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3182f46d49e41ec6845955e90a8a88d0.jpg","text":"TemporaryFile(/tmp/multipartBody7280513674082458766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934103738,"filename":"image_17122025_02_13_25_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9739b0ecfad795aca10fa504b53df345.jpg","text":"TemporaryFile(/tmp/multipartBody1270979848690918359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934103738,"filename":"image_17122025_02_13_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08c2030263958421820566557bd81355.jpg","text":"TemporaryFile(/tmp/multipartBody8488491882323791952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934103738,"filename":"image_17122025_02_12_25_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736514","file1":"1399736513","file0":"1399736512","file4":"1399736516","file5":"1399736518","file3":"1399736515"},"map_files_photo_id_array":[{"photo_id":"1399736518","filename":"file5"},{"photo_id":"1399736514","filename":"file2"},{"photo_id":"1399736516","filename":"file4"},{"photo_id":"1399736513","filename":"file1"},{"photo_id":"1399736512","filename":"file0"},{"photo_id":"1399736515","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736515":["hashtag1","hashtag2"]},{"1399736514":["hashtag1","hashtag2"]},{"1399736513":["hashtag1","hashtag2"]},{"1399736516":["hashtag1","hashtag2"]},{"1399736518":["hashtag1","hashtag2"]},{"1399736512":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736515, 1399736514, 1399736513, 1399736516, 1399736518, 1399736512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82138180732727 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:14:42.310773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_22_2618.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_25_2742.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_29_3794.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_31_2554.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_34_2631.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_37_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_22_2618.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_25_2742.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_29_3794.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_31_2554.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_34_2631.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_37_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":["1399736535","1399736531","1399736528","1399736524","1399736533","1399736527"],"photo_ids_order":["1399736524","1399736527","1399736528","1399736531","1399736533","1399736535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d06e098164765fba0aa4bddf22d0cff.jpg","text":"TemporaryFile(/tmp/multipartBody4139143651192128568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934143027,"filename":"image_07112025_15_41_37_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a731e5f8f8b44931eb23268656835534.jpg","text":"TemporaryFile(/tmp/multipartBody2034801500692900377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934143027,"filename":"image_07112025_15_41_31_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92a4f6902b058466d70a463e9d7fb28a.jpg","text":"TemporaryFile(/tmp/multipartBody5688532040722694264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934143027,"filename":"image_07112025_15_41_29_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5cb74bfb3bad979539800d48c65f588.jpg","text":"TemporaryFile(/tmp/multipartBody461834553729495302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934143027,"filename":"image_07112025_15_41_22_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19146c5d6e8550193bdb1bb08461cd78.jpg","text":"TemporaryFile(/tmp/multipartBody5735172503548372377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934143027,"filename":"image_07112025_15_41_34_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9700c8d157540f03d920fd136cb278f5.jpg","text":"TemporaryFile(/tmp/multipartBody1749543018695176794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934143027,"filename":"image_07112025_15_41_25_2742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736528","file1":"1399736527","file0":"1399736524","file4":"1399736533","file5":"1399736535","file3":"1399736531"},"map_files_photo_id_array":[{"photo_id":"1399736535","filename":"file5"},{"photo_id":"1399736528","filename":"file2"},{"photo_id":"1399736533","filename":"file4"},{"photo_id":"1399736527","filename":"file1"},{"photo_id":"1399736524","filename":"file0"},{"photo_id":"1399736531","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736535":["hashtag1","hashtag2"]},{"1399736531":["hashtag1","hashtag2"]},{"1399736528":["hashtag1","hashtag2"]},{"1399736524":["hashtag1","hashtag2"]},{"1399736533":["hashtag1","hashtag2"]},{"1399736527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736535, 1399736531, 1399736528, 1399736524, 1399736533, 1399736527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63719844818115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:15:22.512212
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_55_10884.jpg', '/home/pi/Desktop/images/17122025/02/13/image_17122025_02_14_05_9561.jpg', '/home/pi/Desktop/images/17122025/02/14/image_17122025_02_14_14_9601.jpg', '/home/pi/Desktop/images/17122025/02/14/image_17122025_02_15_05_9631.jpg', '/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_14_9543.jpg', '/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_25_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_55_10884.jpg
/home/pi/Desktop/images/17122025/02/13/image_17122025_02_14_05_9561.jpg
/home/pi/Desktop/images/17122025/02/14/image_17122025_02_14_14_9601.jpg
/home/pi/Desktop/images/17122025/02/14/image_17122025_02_15_05_9631.jpg
/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_14_9543.jpg
/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_25_10711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.46109604835510254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:15:32.577208
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:15:45.374725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_40_2690.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_43_2988.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_46_2583.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_49_3675.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_52_2576.jpg', '/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_56_3653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_40_2690.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_43_2988.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_46_2583.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_49_3675.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_52_2576.jpg
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_56_3653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736550","1399736547","1399736552","1399736549","1399736548","1399736551"],"photo_ids_order":["1399736547","1399736548","1399736549","1399736550","1399736551","1399736552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9e97bec3ad5a7906ec7e89b1bb80ffe.jpg","text":"TemporaryFile(/tmp/multipartBody6277495417975428172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934206089,"filename":"image_07112025_15_41_49_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/820109f96940afaca7b87f750ec2816d.jpg","text":"TemporaryFile(/tmp/multipartBody2128565160394973906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934206089,"filename":"image_07112025_15_41_40_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90fa846aa4e137934a8e6d3c04727e42.jpg","text":"TemporaryFile(/tmp/multipartBody6414822243292638611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934206089,"filename":"image_07112025_15_41_56_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e78cb2de30caef3c54c04bf065549540.jpg","text":"TemporaryFile(/tmp/multipartBody7150520122682258004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934206089,"filename":"image_07112025_15_41_46_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15e18691843515d2f912605ff5e8f503.jpg","text":"TemporaryFile(/tmp/multipartBody4277877270695275494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934206089,"filename":"image_07112025_15_41_43_2988.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50012c5beb1d17f230718611048f9b17.jpg","text":"TemporaryFile(/tmp/multipartBody6772251699877487681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934206089,"filename":"image_07112025_15_41_52_2576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736549","file1":"1399736548","file0":"1399736547","file4":"1399736551","file5":"1399736552","file3":"1399736550"},"map_files_photo_id_array":[{"photo_id":"1399736552","filename":"file5"},{"photo_id":"1399736549","filename":"file2"},{"photo_id":"1399736551","filename":"file4"},{"photo_id":"1399736548","filename":"file1"},{"photo_id":"1399736547","filename":"file0"},{"photo_id":"1399736550","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736550":["hashtag1","hashtag2"]},{"1399736547":["hashtag1","hashtag2"]},{"1399736552":["hashtag1","hashtag2"]},{"1399736549":["hashtag1","hashtag2"]},{"1399736548":["hashtag1","hashtag2"]},{"1399736551":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736550, 1399736547, 1399736552, 1399736549, 1399736548, 1399736551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.575217485427856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:16:32.616487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:16:42.547921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_58_2860.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_01_2519.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_04_2649.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_07_3584.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_10_2593.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_14_3772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/41/image_07112025_15_41_58_2860.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_01_2519.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_04_2649.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_07_3584.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_10_2593.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_14_3772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736562","1399736561","1399736564","1399736558","1399736560","1399736563"],"photo_ids_order":["1399736558","1399736560","1399736561","1399736562","1399736563","1399736564"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/822d6f797e465067ccc4c2228fc8336c.jpg","text":"TemporaryFile(/tmp/multipartBody11202201828214988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934263269,"filename":"image_07112025_15_42_07_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d5ae0016d4b33ca6d3fe994f3855216.jpg","text":"TemporaryFile(/tmp/multipartBody4995320715224299640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934263269,"filename":"image_07112025_15_42_04_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e4dd2302965cec62d22e18997523393.jpg","text":"TemporaryFile(/tmp/multipartBody5130292759550755182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934263269,"filename":"image_07112025_15_42_14_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a4fd71755934e30c43ed9e93402bda3.jpg","text":"TemporaryFile(/tmp/multipartBody842146306427129469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934263269,"filename":"image_07112025_15_41_58_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d64fbac452a41e178c5a8291f24395bc.jpg","text":"TemporaryFile(/tmp/multipartBody5422782110846380607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934263269,"filename":"image_07112025_15_42_01_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1348fae9fe1fb0c0ef6318b1e2f1fbc7.jpg","text":"TemporaryFile(/tmp/multipartBody7997187890904158256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934263269,"filename":"image_07112025_15_42_10_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736561","file1":"1399736560","file0":"1399736558","file4":"1399736563","file5":"1399736564","file3":"1399736562"},"map_files_photo_id_array":[{"photo_id":"1399736564","filename":"file5"},{"photo_id":"1399736561","filename":"file2"},{"photo_id":"1399736563","filename":"file4"},{"photo_id":"1399736560","filename":"file1"},{"photo_id":"1399736558","filename":"file0"},{"photo_id":"1399736562","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736562":["hashtag1","hashtag2"]},{"1399736561":["hashtag1","hashtag2"]},{"1399736564":["hashtag1","hashtag2"]},{"1399736558":["hashtag1","hashtag2"]},{"1399736560":["hashtag1","hashtag2"]},{"1399736563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736562, 1399736561, 1399736564, 1399736558, 1399736560, 1399736563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.463200092315674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:17:22.768551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_55_10884.jpg', '/home/pi/Desktop/images/17122025/02/13/image_17122025_02_14_05_9561.jpg', '/home/pi/Desktop/images/17122025/02/14/image_17122025_02_14_14_9601.jpg', '/home/pi/Desktop/images/17122025/02/14/image_17122025_02_15_05_9631.jpg', '/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_14_9543.jpg', '/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_25_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/13/image_17122025_02_13_55_10884.jpg
/home/pi/Desktop/images/17122025/02/13/image_17122025_02_14_05_9561.jpg
/home/pi/Desktop/images/17122025/02/14/image_17122025_02_14_14_9601.jpg
/home/pi/Desktop/images/17122025/02/14/image_17122025_02_15_05_9631.jpg
/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_14_9543.jpg
/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_25_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736577","1399736571","1399736574","1399736573","1399736567","1399736569"],"photo_ids_order":["1399736567","1399736569","1399736571","1399736573","1399736574","1399736577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00d543fa149f478d8ad14c1b44495a64.jpg","text":"TemporaryFile(/tmp/multipartBody7032060404493585662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934303348,"filename":"image_17122025_02_15_25_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a47f311aa7b9cbc0fed064f7897ec997.jpg","text":"TemporaryFile(/tmp/multipartBody2699824334154551400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934303348,"filename":"image_17122025_02_14_14_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f850dbd0b233124c754428efe1cf8856.jpg","text":"TemporaryFile(/tmp/multipartBody7040866412949097104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934303348,"filename":"image_17122025_02_15_14_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d51d2842720eea48b3f79e019470ba06.jpg","text":"TemporaryFile(/tmp/multipartBody2686668936721269812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934303348,"filename":"image_17122025_02_15_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3df03d34985dc4c8f9a7d5a01a09b19.jpg","text":"TemporaryFile(/tmp/multipartBody6951144306083925423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934303348,"filename":"image_17122025_02_13_55_10884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6d7c6bbad8f01952a041b573396d6d5.jpg","text":"TemporaryFile(/tmp/multipartBody6209244861855420876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934303348,"filename":"image_17122025_02_14_05_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736571","file1":"1399736569","file0":"1399736567","file4":"1399736574","file5":"1399736577","file3":"1399736573"},"map_files_photo_id_array":[{"photo_id":"1399736577","filename":"file5"},{"photo_id":"1399736571","filename":"file2"},{"photo_id":"1399736574","filename":"file4"},{"photo_id":"1399736569","filename":"file1"},{"photo_id":"1399736567","filename":"file0"},{"photo_id":"1399736573","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736577":["hashtag1","hashtag2"]},{"1399736571":["hashtag1","hashtag2"]},{"1399736574":["hashtag1","hashtag2"]},{"1399736573":["hashtag1","hashtag2"]},{"1399736567":["hashtag1","hashtag2"]},{"1399736569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736577, 1399736571, 1399736574, 1399736573, 1399736567, 1399736569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92064809799194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:18:02.470167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_34_9634.jpg', '/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_44_9620.jpg', '/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_54_10105.jpg', '/home/pi/Desktop/images/17122025/02/15/image_17122025_02_16_05_10704.jpg', '/home/pi/Desktop/images/17122025/02/16/image_17122025_02_16_24_9698.jpg', '/home/pi/Desktop/images/17122025/02/16/image_17122025_02_16_35_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_34_9634.jpg
/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_44_9620.jpg
/home/pi/Desktop/images/17122025/02/15/image_17122025_02_15_54_10105.jpg
/home/pi/Desktop/images/17122025/02/15/image_17122025_02_16_05_10704.jpg
/home/pi/Desktop/images/17122025/02/16/image_17122025_02_16_24_9698.jpg
/home/pi/Desktop/images/17122025/02/16/image_17122025_02_16_35_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736583","1399736586","1399736579","1399736584","1399736581","1399736580"],"photo_ids_order":["1399736579","1399736580","1399736581","1399736583","1399736584","1399736586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa61d3da7e0c9c74a363c2718afa8efb.jpg","text":"TemporaryFile(/tmp/multipartBody6966593319696860906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934343058,"filename":"image_17122025_02_16_05_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3b15b53844bb68819c207ab34165fdb.jpg","text":"TemporaryFile(/tmp/multipartBody2894443443710973601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934343058,"filename":"image_17122025_02_16_35_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d49fd2c5b652d11fa4aa210ab446f05.jpg","text":"TemporaryFile(/tmp/multipartBody7147165257330628898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934343058,"filename":"image_17122025_02_15_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/068016a90b3255c2f8c96e17184ebd81.jpg","text":"TemporaryFile(/tmp/multipartBody7068148061883794078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934343058,"filename":"image_17122025_02_16_24_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b8c4a42bb5058540906dd52312aef3c.jpg","text":"TemporaryFile(/tmp/multipartBody3820059177084188417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934343058,"filename":"image_17122025_02_15_54_10105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e4bb2da9bb8cf67a58ebe91238e6b6a.jpg","text":"TemporaryFile(/tmp/multipartBody2276966130485105492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934343058,"filename":"image_17122025_02_15_44_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736581","file1":"1399736580","file0":"1399736579","file4":"1399736584","file5":"1399736586","file3":"1399736583"},"map_files_photo_id_array":[{"photo_id":"1399736586","filename":"file5"},{"photo_id":"1399736581","filename":"file2"},{"photo_id":"1399736584","filename":"file4"},{"photo_id":"1399736580","filename":"file1"},{"photo_id":"1399736579","filename":"file0"},{"photo_id":"1399736583","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736583":["hashtag1","hashtag2"]},{"1399736586":["hashtag1","hashtag2"]},{"1399736579":["hashtag1","hashtag2"]},{"1399736584":["hashtag1","hashtag2"]},{"1399736581":["hashtag1","hashtag2"]},{"1399736580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736583, 1399736586, 1399736579, 1399736584, 1399736581, 1399736580)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.876521587371826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:19:03.260812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/16/image_17122025_02_16_55_9760.jpg', '/home/pi/Desktop/images/17122025/02/17/image_17122025_02_17_14_9682.jpg', '/home/pi/Desktop/images/17122025/02/17/image_17122025_02_17_24_10260.jpg', '/home/pi/Desktop/images/17122025/02/17/image_17122025_02_18_04_9785.jpg', '/home/pi/Desktop/images/17122025/02/18/image_17122025_02_18_15_10641.jpg', '/home/pi/Desktop/images/17122025/02/18/image_17122025_02_18_25_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/16/image_17122025_02_16_55_9760.jpg
/home/pi/Desktop/images/17122025/02/17/image_17122025_02_17_14_9682.jpg
/home/pi/Desktop/images/17122025/02/17/image_17122025_02_17_24_10260.jpg
/home/pi/Desktop/images/17122025/02/17/image_17122025_02_18_04_9785.jpg
/home/pi/Desktop/images/17122025/02/18/image_17122025_02_18_15_10641.jpg
/home/pi/Desktop/images/17122025/02/18/image_17122025_02_18_25_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":["1399736598","1399736592","1399736594","1399736596","1399736600","1399736595"],"photo_ids_order":["1399736592","1399736594","1399736595","1399736596","1399736598","1399736600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/199ae43ee01f2f2b2e5eeb0c0bbc0820.jpg","text":"TemporaryFile(/tmp/multipartBody987634086629872285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934406201,"filename":"image_17122025_02_18_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f139150d5dbc2031c54297dd4fcd1dd3.jpg","text":"TemporaryFile(/tmp/multipartBody2987655274534056164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934406201,"filename":"image_17122025_02_16_55_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49ce19229df2cfead443e45f44ef047e.jpg","text":"TemporaryFile(/tmp/multipartBody2906887227724339581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934406201,"filename":"image_17122025_02_17_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/467bf937501bced32272d7baf26c8786.jpg","text":"TemporaryFile(/tmp/multipartBody8708048281722188842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934406201,"filename":"image_17122025_02_18_04_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/791c6d2ac1e3fe1ddb356a581ac777ac.jpg","text":"TemporaryFile(/tmp/multipartBody2217636141411334434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934406201,"filename":"image_17122025_02_18_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b179d7047f6a56245f6b9f06d1aab2dc.jpg","text":"TemporaryFile(/tmp/multipartBody2279128712734152588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934406201,"filename":"image_17122025_02_17_24_10260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736595","file1":"1399736594","file0":"1399736592","file4":"1399736598","file5":"1399736600","file3":"1399736596"},"map_files_photo_id_array":[{"photo_id":"1399736600","filename":"file5"},{"photo_id":"1399736595","filename":"file2"},{"photo_id":"1399736598","filename":"file4"},{"photo_id":"1399736594","filename":"file1"},{"photo_id":"1399736592","filename":"file0"},{"photo_id":"1399736596","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736598":["hashtag1","hashtag2"]},{"1399736592":["hashtag1","hashtag2"]},{"1399736594":["hashtag1","hashtag2"]},{"1399736596":["hashtag1","hashtag2"]},{"1399736600":["hashtag1","hashtag2"]},{"1399736595":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736598, 1399736592, 1399736594, 1399736596, 1399736600, 1399736595)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.45825719833374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:20:03.026313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 02:20:13.628158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 02:20:32.635388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:20:42.616424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_16_2733.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_19_2615.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_22_2655.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_25_3678.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_28_2612.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_31_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_16_2733.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_19_2615.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_22_2655.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_25_3678.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_28_2612.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_31_3578.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.60662841796875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:21:02.559087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 02:21:11.810671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:21:21.816049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/18/image_17122025_02_18_35_10224.jpg', '/home/pi/Desktop/images/17122025/02/18/image_17122025_02_18_54_9732.jpg', '/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_15_10726.jpg', '/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_24_9565.jpg', '/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_35_10592.jpg', '/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_45_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/18/image_17122025_02_18_35_10224.jpg
/home/pi/Desktop/images/17122025/02/18/image_17122025_02_18_54_9732.jpg
/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_15_10726.jpg
/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_24_9565.jpg
/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_35_10592.jpg
/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_45_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736622","1399736616","1399736624","1399736618","1399736620","1399736626"],"photo_ids_order":["1399736616","1399736618","1399736620","1399736622","1399736624","1399736626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4baf8b92f4d350f1ea52552d20ea570c.jpg","text":"TemporaryFile(/tmp/multipartBody2364033516558683091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934542353,"filename":"image_17122025_02_19_24_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1d13225ae60c9abb40f300201547ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2788867552453309470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934542353,"filename":"image_17122025_02_18_35_10224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c3e9eb774a889bc3f78890242c29b01.jpg","text":"TemporaryFile(/tmp/multipartBody673942358786393002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934542353,"filename":"image_17122025_02_19_35_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95873cb750ac56b8e9f71a11919e4334.jpg","text":"TemporaryFile(/tmp/multipartBody617928344096115931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934542353,"filename":"image_17122025_02_18_54_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b33ea1649aa16882b3167dd205120cc.jpg","text":"TemporaryFile(/tmp/multipartBody5843967315450480734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934542353,"filename":"image_17122025_02_19_15_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f9ea70b6e1085a1d4b78dbf1f6f9181.jpg","text":"TemporaryFile(/tmp/multipartBody3864016364801385666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934542353,"filename":"image_17122025_02_19_45_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736620","file1":"1399736618","file0":"1399736616","file4":"1399736624","file5":"1399736626","file3":"1399736622"},"map_files_photo_id_array":[{"photo_id":"1399736626","filename":"file5"},{"photo_id":"1399736620","filename":"file2"},{"photo_id":"1399736624","filename":"file4"},{"photo_id":"1399736618","filename":"file1"},{"photo_id":"1399736616","filename":"file0"},{"photo_id":"1399736622","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736622":["hashtag1","hashtag2"]},{"1399736616":["hashtag1","hashtag2"]},{"1399736624":["hashtag1","hashtag2"]},{"1399736618":["hashtag1","hashtag2"]},{"1399736620":["hashtag1","hashtag2"]},{"1399736626":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736622, 1399736616, 1399736624, 1399736618, 1399736620, 1399736626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10866332054138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:22:02.463775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_55_9943.jpg', '/home/pi/Desktop/images/17122025/02/19/image_17122025_02_20_04_9583.jpg', '/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_15_10658.jpg', '/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_25_9700.jpg', '/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_35_9963.jpg', '/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_45_10311.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/19/image_17122025_02_19_55_9943.jpg
/home/pi/Desktop/images/17122025/02/19/image_17122025_02_20_04_9583.jpg
/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_15_10658.jpg
/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_25_9700.jpg
/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_35_9963.jpg
/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_45_10311.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736631","1399736628","1399736630","1399736633","1399736629","1399736632"],"photo_ids_order":["1399736628","1399736629","1399736630","1399736631","1399736632","1399736633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b5f08e1f8e739ffd5769a15a3472f39.jpg","text":"TemporaryFile(/tmp/multipartBody842900646409064514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934583061,"filename":"image_17122025_02_20_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d934562f105fc9bd0c1d05a701afec9.jpg","text":"TemporaryFile(/tmp/multipartBody4661206502248925986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934583061,"filename":"image_17122025_02_19_55_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d340fc8255b5b4f1d92622df1adf0964.jpg","text":"TemporaryFile(/tmp/multipartBody4807992353707751205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934583061,"filename":"image_17122025_02_20_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfe40fd56f465f3e1b93531bc13beca8.jpg","text":"TemporaryFile(/tmp/multipartBody1583726355651163925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934583061,"filename":"image_17122025_02_20_45_10311.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1caa7645a5c897687b8458a678216169.jpg","text":"TemporaryFile(/tmp/multipartBody7517794547820265840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934583061,"filename":"image_17122025_02_20_04_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ac887fa21bf74d2925b07fff31b14c9.jpg","text":"TemporaryFile(/tmp/multipartBody5972069695157124600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934583061,"filename":"image_17122025_02_20_35_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736630","file1":"1399736629","file0":"1399736628","file4":"1399736632","file5":"1399736633","file3":"1399736631"},"map_files_photo_id_array":[{"photo_id":"1399736633","filename":"file5"},{"photo_id":"1399736630","filename":"file2"},{"photo_id":"1399736632","filename":"file4"},{"photo_id":"1399736629","filename":"file1"},{"photo_id":"1399736628","filename":"file0"},{"photo_id":"1399736631","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736631":["hashtag1","hashtag2"]},{"1399736628":["hashtag1","hashtag2"]},{"1399736630":["hashtag1","hashtag2"]},{"1399736633":["hashtag1","hashtag2"]},{"1399736629":["hashtag1","hashtag2"]},{"1399736632":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736631, 1399736628, 1399736630, 1399736633, 1399736629, 1399736632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.540364503860474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:22:42.041503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_16_2733.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_19_2615.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_22_2655.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_25_3678.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_28_2612.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_31_3578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_16_2733.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_19_2615.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_22_2655.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_25_3678.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_28_2612.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_31_3578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736646","1399736640","1399736637","1399736642","1399736648","1399736644"],"photo_ids_order":["1399736637","1399736640","1399736642","1399736644","1399736646","1399736648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1f1aaadfed83ebab2b4680992bb7c28.jpg","text":"TemporaryFile(/tmp/multipartBody1267282652423505119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934622628,"filename":"image_07112025_15_42_28_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d87b7a8fecc6b1cc3ee128868bc946f.jpg","text":"TemporaryFile(/tmp/multipartBody2208103920806200947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934622628,"filename":"image_07112025_15_42_19_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e7d61927efdb96dc6a6f0df4612202c.jpg","text":"TemporaryFile(/tmp/multipartBody3994963635449606641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934622628,"filename":"image_07112025_15_42_16_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a94626b903c493855515f53ed867aa14.jpg","text":"TemporaryFile(/tmp/multipartBody3330124353991359959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934622628,"filename":"image_07112025_15_42_22_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8704e9b031a8afdf2c87d5485f5227df.jpg","text":"TemporaryFile(/tmp/multipartBody2203397791523974434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934622628,"filename":"image_07112025_15_42_31_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9007491dbc53442ce534f2c1dd321aa3.jpg","text":"TemporaryFile(/tmp/multipartBody4882715871876059034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934622628,"filename":"image_07112025_15_42_25_3678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736642","file1":"1399736640","file0":"1399736637","file4":"1399736646","file5":"1399736648","file3":"1399736644"},"map_files_photo_id_array":[{"photo_id":"1399736648","filename":"file5"},{"photo_id":"1399736642","filename":"file2"},{"photo_id":"1399736646","filename":"file4"},{"photo_id":"1399736640","filename":"file1"},{"photo_id":"1399736637","filename":"file0"},{"photo_id":"1399736644","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736646":["hashtag1","hashtag2"]},{"1399736640":["hashtag1","hashtag2"]},{"1399736637":["hashtag1","hashtag2"]},{"1399736642":["hashtag1","hashtag2"]},{"1399736648":["hashtag1","hashtag2"]},{"1399736644":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736646, 1399736640, 1399736637, 1399736642, 1399736648, 1399736644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57892727851868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:23:22.316731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_54_9635.jpg', '/home/pi/Desktop/images/17122025/02/21/image_17122025_02_21_15_10641.jpg', '/home/pi/Desktop/images/17122025/02/21/image_17122025_02_21_25_10563.jpg', '/home/pi/Desktop/images/17122025/02/21/image_17122025_02_21_35_9542.jpg', '/home/pi/Desktop/images/17122025/02/22/image_17122025_02_22_25_10576.jpg', '/home/pi/Desktop/images/17122025/02/23/image_17122025_02_23_14_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/20/image_17122025_02_20_54_9635.jpg
/home/pi/Desktop/images/17122025/02/21/image_17122025_02_21_15_10641.jpg
/home/pi/Desktop/images/17122025/02/21/image_17122025_02_21_25_10563.jpg
/home/pi/Desktop/images/17122025/02/21/image_17122025_02_21_35_9542.jpg
/home/pi/Desktop/images/17122025/02/22/image_17122025_02_22_25_10576.jpg
/home/pi/Desktop/images/17122025/02/23/image_17122025_02_23_14_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736661","1399736658","1399736651","1399736659","1399736653","1399736656"],"photo_ids_order":["1399736651","1399736653","1399736656","1399736658","1399736659","1399736661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33860f2ad9141e6abb95f0b94eb5367f.jpg","text":"TemporaryFile(/tmp/multipartBody7699656899797594368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934662925,"filename":"image_17122025_02_23_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4655867bae91026420f87b9170d2f24.jpg","text":"TemporaryFile(/tmp/multipartBody6667768379207496706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934662925,"filename":"image_17122025_02_21_35_9542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87134cb96cf5674b2a320f040436acc5.jpg","text":"TemporaryFile(/tmp/multipartBody1863113088431360310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934662925,"filename":"image_17122025_02_20_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69d12e3341f66340993eaf0a8acebd98.jpg","text":"TemporaryFile(/tmp/multipartBody3245110614004074738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934662925,"filename":"image_17122025_02_22_25_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a4ae18f4cd4c7225c957d2360830c96.jpg","text":"TemporaryFile(/tmp/multipartBody4323092265563130144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934662925,"filename":"image_17122025_02_21_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c31d4e92dd19f54fb69e5b0f4e6ccf0.jpg","text":"TemporaryFile(/tmp/multipartBody4292061189813680413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934662925,"filename":"image_17122025_02_21_25_10563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736656","file1":"1399736653","file0":"1399736651","file4":"1399736659","file5":"1399736661","file3":"1399736658"},"map_files_photo_id_array":[{"photo_id":"1399736661","filename":"file5"},{"photo_id":"1399736656","filename":"file2"},{"photo_id":"1399736659","filename":"file4"},{"photo_id":"1399736653","filename":"file1"},{"photo_id":"1399736651","filename":"file0"},{"photo_id":"1399736658","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736661":["hashtag1","hashtag2"]},{"1399736658":["hashtag1","hashtag2"]},{"1399736651":["hashtag1","hashtag2"]},{"1399736659":["hashtag1","hashtag2"]},{"1399736653":["hashtag1","hashtag2"]},{"1399736656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736661, 1399736658, 1399736651, 1399736659, 1399736653, 1399736656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78787016868591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:24:03.137317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:24:12.511131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:24:22.559173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/23/image_17122025_02_23_25_10706.jpg', '/home/pi/Desktop/images/17122025/02/23/image_17122025_02_24_05_9819.jpg', '/home/pi/Desktop/images/17122025/02/24/image_17122025_02_24_15_9670.jpg', '/home/pi/Desktop/images/17122025/02/24/image_17122025_02_24_24_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/23/image_17122025_02_23_25_10706.jpg
/home/pi/Desktop/images/17122025/02/23/image_17122025_02_24_05_9819.jpg
/home/pi/Desktop/images/17122025/02/24/image_17122025_02_24_15_9670.jpg
/home/pi/Desktop/images/17122025/02/24/image_17122025_02_24_24_9600.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736664","1399736667","1399736663","1399736668"],"photo_ids_order":["1399736663","1399736664","1399736667","1399736668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddd65b9e0f195419ed5380548eadab0a.jpg","text":"TemporaryFile(/tmp/multipartBody3873054221966607839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934723074,"filename":"image_17122025_02_24_05_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc481025fecbbe0716b4f66472e8e4e9.jpg","text":"TemporaryFile(/tmp/multipartBody3068866634951631738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934723074,"filename":"image_17122025_02_24_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/189149092711b7a1369babd7b68a5663.jpg","text":"TemporaryFile(/tmp/multipartBody1552500643529506966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934723074,"filename":"image_17122025_02_23_25_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abebb817c92d404180ca501b04fbe51a.jpg","text":"TemporaryFile(/tmp/multipartBody2838773130392103748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934723074,"filename":"image_17122025_02_24_24_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736667","file1":"1399736664","file0":"1399736663","file3":"1399736668"},"map_files_photo_id_array":[{"photo_id":"1399736667","filename":"file2"},{"photo_id":"1399736664","filename":"file1"},{"photo_id":"1399736663","filename":"file0"},{"photo_id":"1399736668","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736664":["hashtag1","hashtag2"]},{"1399736667":["hashtag1","hashtag2"]},{"1399736663":["hashtag1","hashtag2"]},{"1399736668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736664, 1399736667, 1399736663, 1399736668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.49975824356079 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:25:03.505179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:25:12.771151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:25:22.776631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/24/image_17122025_02_24_35_10630.jpg', '/home/pi/Desktop/images/17122025/02/24/image_17122025_02_25_05_10637.jpg', '/home/pi/Desktop/images/17122025/02/25/image_17122025_02_25_35_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/24/image_17122025_02_24_35_10630.jpg
/home/pi/Desktop/images/17122025/02/24/image_17122025_02_25_05_10637.jpg
/home/pi/Desktop/images/17122025/02/25/image_17122025_02_25_35_10640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.37230682373046875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:25:32.821608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:25:42.844464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_34_2582.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_37_2643.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_40_3788.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_43_2610.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_46_2547.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_49_2906.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_34_2582.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_37_2643.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_40_3788.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_43_2610.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_46_2547.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_49_2906.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736691","1399736685","1399736690","1399736687","1399736689","1399736688"],"photo_ids_order":["1399736685","1399736687","1399736688","1399736689","1399736690","1399736691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19e1b4606d68a2be5ddcfdb7b0a78eb7.jpg","text":"TemporaryFile(/tmp/multipartBody8476037673384363882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934803556,"filename":"image_07112025_15_42_49_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da4f52071b190f0f63ddf510452a2429.jpg","text":"TemporaryFile(/tmp/multipartBody2069810365849197401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934803556,"filename":"image_07112025_15_42_34_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/feb9cda0b1826c37c89e60fea5ea48a8.jpg","text":"TemporaryFile(/tmp/multipartBody6719707502111903252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934803556,"filename":"image_07112025_15_42_46_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74c5d390c5d44c664279f1fbdff01ba5.jpg","text":"TemporaryFile(/tmp/multipartBody2226446761972714988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934803556,"filename":"image_07112025_15_42_37_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a46212b12a95704b46fb9eeba5078651.jpg","text":"TemporaryFile(/tmp/multipartBody5593443155379412192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934803556,"filename":"image_07112025_15_42_43_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f5ce15b7d12db378b2014dbbf332338.jpg","text":"TemporaryFile(/tmp/multipartBody8268926082339603597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934803556,"filename":"image_07112025_15_42_40_3788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736688","file1":"1399736687","file0":"1399736685","file4":"1399736690","file5":"1399736691","file3":"1399736689"},"map_files_photo_id_array":[{"photo_id":"1399736691","filename":"file5"},{"photo_id":"1399736688","filename":"file2"},{"photo_id":"1399736690","filename":"file4"},{"photo_id":"1399736687","filename":"file1"},{"photo_id":"1399736685","filename":"file0"},{"photo_id":"1399736689","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736691":["hashtag1","hashtag2"]},{"1399736685":["hashtag1","hashtag2"]},{"1399736690":["hashtag1","hashtag2"]},{"1399736687":["hashtag1","hashtag2"]},{"1399736689":["hashtag1","hashtag2"]},{"1399736688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736691, 1399736685, 1399736690, 1399736687, 1399736689, 1399736688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69947600364685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:26:22.081881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/24/image_17122025_02_24_35_10630.jpg', '/home/pi/Desktop/images/17122025/02/24/image_17122025_02_25_05_10637.jpg', '/home/pi/Desktop/images/17122025/02/25/image_17122025_02_25_35_10640.jpg', '/home/pi/Desktop/images/17122025/02/25/image_17122025_02_25_54_9801.jpg', '/home/pi/Desktop/images/17122025/02/25/image_17122025_02_26_05_10662.jpg', '/home/pi/Desktop/images/17122025/02/26/image_17122025_02_26_15_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/24/image_17122025_02_24_35_10630.jpg
/home/pi/Desktop/images/17122025/02/24/image_17122025_02_25_05_10637.jpg
/home/pi/Desktop/images/17122025/02/25/image_17122025_02_25_35_10640.jpg
/home/pi/Desktop/images/17122025/02/25/image_17122025_02_25_54_9801.jpg
/home/pi/Desktop/images/17122025/02/25/image_17122025_02_26_05_10662.jpg
/home/pi/Desktop/images/17122025/02/26/image_17122025_02_26_15_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736700","1399736703","1399736705","1399736695","1399736698","1399736701"],"photo_ids_order":["1399736695","1399736698","1399736700","1399736701","1399736703","1399736705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d2da891da0efb3703e21b1b004f924d.jpg","text":"TemporaryFile(/tmp/multipartBody4495145045190799045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934842662,"filename":"image_17122025_02_25_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8bee39b5ac193321c5959a10c7477f9.jpg","text":"TemporaryFile(/tmp/multipartBody7907826080431726481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934842662,"filename":"image_17122025_02_26_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c712f339ae5f64bfcadbac1d7e2438c.jpg","text":"TemporaryFile(/tmp/multipartBody1053654201715005391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934842662,"filename":"image_17122025_02_26_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74126fc43b8e70369f4fa3d5936c1b42.jpg","text":"TemporaryFile(/tmp/multipartBody961943481492800538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934842662,"filename":"image_17122025_02_24_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3de8d1470a85be08980e1ff001cf39c4.jpg","text":"TemporaryFile(/tmp/multipartBody3060877466300971875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934842662,"filename":"image_17122025_02_25_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fb31ebe4ef22756e7c308f8bd80d1db.jpg","text":"TemporaryFile(/tmp/multipartBody1875138878025853605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934842662,"filename":"image_17122025_02_25_54_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736700","file1":"1399736698","file0":"1399736695","file4":"1399736703","file5":"1399736705","file3":"1399736701"},"map_files_photo_id_array":[{"photo_id":"1399736705","filename":"file5"},{"photo_id":"1399736700","filename":"file2"},{"photo_id":"1399736703","filename":"file4"},{"photo_id":"1399736698","filename":"file1"},{"photo_id":"1399736695","filename":"file0"},{"photo_id":"1399736701","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736700":["hashtag1","hashtag2"]},{"1399736703":["hashtag1","hashtag2"]},{"1399736705":["hashtag1","hashtag2"]},{"1399736695":["hashtag1","hashtag2"]},{"1399736698":["hashtag1","hashtag2"]},{"1399736701":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736700, 1399736703, 1399736705, 1399736695, 1399736698, 1399736701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.069852113723755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:27:03.103819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/26/image_17122025_02_26_24_9613.jpg', '/home/pi/Desktop/images/17122025/02/26/image_17122025_02_26_35_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/26/image_17122025_02_26_24_9613.jpg
/home/pi/Desktop/images/17122025/02/26/image_17122025_02_26_35_10724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736707","1399736708"],"photo_ids_order":["1399736707","1399736708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca6a7b7360cd1199b492e24cd0de19db.jpg","text":"TemporaryFile(/tmp/multipartBody8413510773055422687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934883592,"filename":"image_17122025_02_26_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c4fec856e88323b8be57610281a644d.jpg","text":"TemporaryFile(/tmp/multipartBody8254461679714789966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934883592,"filename":"image_17122025_02_26_35_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399736708","file0":"1399736707"},"map_files_photo_id_array":[{"photo_id":"1399736708","filename":"file1"},{"photo_id":"1399736707","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736707":["hashtag1","hashtag2"]},{"1399736708":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736707, 1399736708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.454630613327026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:27:22.356637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/26/image_17122025_02_26_45_9689.jpg', '/home/pi/Desktop/images/17122025/02/27/image_17122025_02_27_44_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/26/image_17122025_02_26_45_9689.jpg
/home/pi/Desktop/images/17122025/02/27/image_17122025_02_27_44_9628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736712","1399736709"],"photo_ids_order":["1399736709","1399736712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad01ac9599d0059dec9f317785b70fd6.jpg","text":"TemporaryFile(/tmp/multipartBody1808812175176778732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934902807,"filename":"image_17122025_02_27_44_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98e070b1a398bed2a4d38d8a2a5e5a7d.jpg","text":"TemporaryFile(/tmp/multipartBody5471396713395897755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934902807,"filename":"image_17122025_02_26_45_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399736712","file0":"1399736709"},"map_files_photo_id_array":[{"photo_id":"1399736712","filename":"file1"},{"photo_id":"1399736709","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736712":["hashtag1","hashtag2"]},{"1399736709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736712, 1399736709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.808597803115845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:27:42.329903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_52_3650.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_55_2843.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_58_2553.jpg', '/home/pi/Desktop/images/07112025/15/42/image_07112025_15_43_01_3693.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_04_2676.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_07_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_52_3650.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_55_2843.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_42_58_2553.jpg
/home/pi/Desktop/images/07112025/15/42/image_07112025_15_43_01_3693.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_04_2676.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_07_2766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736721","1399736718","1399736720","1399736722","1399736716","1399736719"],"photo_ids_order":["1399736716","1399736718","1399736719","1399736720","1399736721","1399736722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6b75bfa94dd182036baf65a8c65085e.jpg","text":"TemporaryFile(/tmp/multipartBody4016857745930205064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934923049,"filename":"image_07112025_15_43_04_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2940e841110b33b6d6e15dda0432dae.jpg","text":"TemporaryFile(/tmp/multipartBody5736898033448555216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934923049,"filename":"image_07112025_15_42_55_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3ba0eab32493b3d2c8ca35c9280a592.jpg","text":"TemporaryFile(/tmp/multipartBody3635924113006706983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934923049,"filename":"image_07112025_15_43_01_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5162fb23772ef144c46baea8dd7f664c.jpg","text":"TemporaryFile(/tmp/multipartBody694509471163804633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934923049,"filename":"image_07112025_15_43_07_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab0f0ac83b188f020e76aa856e41d950.jpg","text":"TemporaryFile(/tmp/multipartBody8429857811955645517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934923049,"filename":"image_07112025_15_42_52_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34c5a501e39ee5f82bad352458c05a5d.jpg","text":"TemporaryFile(/tmp/multipartBody5692910828379566780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765934923049,"filename":"image_07112025_15_42_58_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736719","file1":"1399736718","file0":"1399736716","file4":"1399736721","file5":"1399736722","file3":"1399736720"},"map_files_photo_id_array":[{"photo_id":"1399736722","filename":"file5"},{"photo_id":"1399736719","filename":"file2"},{"photo_id":"1399736721","filename":"file4"},{"photo_id":"1399736718","filename":"file1"},{"photo_id":"1399736716","filename":"file0"},{"photo_id":"1399736720","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736721":["hashtag1","hashtag2"]},{"1399736718":["hashtag1","hashtag2"]},{"1399736720":["hashtag1","hashtag2"]},{"1399736722":["hashtag1","hashtag2"]},{"1399736716":["hashtag1","hashtag2"]},{"1399736719":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736721, 1399736718, 1399736720, 1399736722, 1399736716, 1399736719)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.408273220062256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:28:34.751950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:28:44.406604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_10_2806.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_13_3652.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_16_2644.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_19_3583.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_22_2599.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_25_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_10_2806.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_13_3652.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_16_2644.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_19_3583.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_22_2599.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_25_2581.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5578844547271729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:29:07.836030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 02:29:20.896268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:29:35.212619
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/27/image_17122025_02_27_55_10700.jpg', '/home/pi/Desktop/images/17122025/02/28/image_17122025_02_28_14_9616.jpg', '/home/pi/Desktop/images/17122025/02/28/image_17122025_02_28_25_10545.jpg', '/home/pi/Desktop/images/17122025/02/29/image_17122025_02_29_14_9646.jpg', '/home/pi/Desktop/images/17122025/02/29/image_17122025_02_29_24_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/27/image_17122025_02_27_55_10700.jpg
/home/pi/Desktop/images/17122025/02/28/image_17122025_02_28_14_9616.jpg
/home/pi/Desktop/images/17122025/02/28/image_17122025_02_28_25_10545.jpg
/home/pi/Desktop/images/17122025/02/29/image_17122025_02_29_14_9646.jpg
/home/pi/Desktop/images/17122025/02/29/image_17122025_02_29_24_9772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736751","1399736744","1399736747","1399736752","1399736749"],"photo_ids_order":["1399736744","1399736747","1399736749","1399736751","1399736752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47ac3ff5da93e69e693a7d07a4f3118d.jpg","text":"TemporaryFile(/tmp/multipartBody863932956280783473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935035735,"filename":"image_17122025_02_29_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/498d287ab96e3d3a1af23c1048ae4f74.jpg","text":"TemporaryFile(/tmp/multipartBody1423816576924714322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935035735,"filename":"image_17122025_02_27_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6811edd83e8411e797d92a73c530816.jpg","text":"TemporaryFile(/tmp/multipartBody7209270620962527851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935035735,"filename":"image_17122025_02_28_14_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2b8777597d3e436377f73d55b9153ed.jpg","text":"TemporaryFile(/tmp/multipartBody7098563563811806555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935035735,"filename":"image_17122025_02_29_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb02d154e488f6811fa88e491f2d1f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1756943510479113978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935035735,"filename":"image_17122025_02_28_25_10545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736749","file1":"1399736747","file0":"1399736744","file4":"1399736752","file3":"1399736751"},"map_files_photo_id_array":[{"photo_id":"1399736749","filename":"file2"},{"photo_id":"1399736752","filename":"file4"},{"photo_id":"1399736747","filename":"file1"},{"photo_id":"1399736744","filename":"file0"},{"photo_id":"1399736751","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736751":["hashtag1","hashtag2"]},{"1399736744":["hashtag1","hashtag2"]},{"1399736747":["hashtag1","hashtag2"]},{"1399736752":["hashtag1","hashtag2"]},{"1399736749":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736751, 1399736744, 1399736747, 1399736752, 1399736749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.236594676971436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:30:12.013292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:30:22.062038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/29/image_17122025_02_29_35_10738.jpg', '/home/pi/Desktop/images/17122025/02/30/image_17122025_02_30_35_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/29/image_17122025_02_29_35_10738.jpg
/home/pi/Desktop/images/17122025/02/30/image_17122025_02_30_35_10613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736753","1399736755"],"photo_ids_order":["1399736753","1399736755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba241d8deb4925ff10eb16c68cdb198a.jpg","text":"TemporaryFile(/tmp/multipartBody1318427103275104163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935082505,"filename":"image_17122025_02_29_35_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/843e25eab3b9768ed0a78fbf48afcc0f.jpg","text":"TemporaryFile(/tmp/multipartBody9157989072422551164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935082505,"filename":"image_17122025_02_30_35_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399736755","file0":"1399736753"},"map_files_photo_id_array":[{"photo_id":"1399736755","filename":"file1"},{"photo_id":"1399736753","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736753":["hashtag1","hashtag2"]},{"1399736755":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736753, 1399736755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.98912262916565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:30:42.074720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_10_2806.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_13_3652.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_16_2644.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_19_3583.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_22_2599.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_25_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_10_2806.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_13_3652.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_16_2644.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_19_3583.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_22_2599.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_25_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736760","1399736763","1399736762","1399736765","1399736764","1399736767"],"photo_ids_order":["1399736760","1399736762","1399736763","1399736764","1399736765","1399736767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38173affc811477d9cf561e7c75d6eb2.jpg","text":"TemporaryFile(/tmp/multipartBody3206613269315333328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935102638,"filename":"image_07112025_15_43_10_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab169394164de5a353f98cf8d1fea611.jpg","text":"TemporaryFile(/tmp/multipartBody1042865304044033010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935102638,"filename":"image_07112025_15_43_16_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84139d43f307f61940109ef66797ab1c.jpg","text":"TemporaryFile(/tmp/multipartBody1022521564825063514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935102638,"filename":"image_07112025_15_43_13_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d212063fbdbf41d2b544dccfc79b74e8.jpg","text":"TemporaryFile(/tmp/multipartBody7325203081286451063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935102638,"filename":"image_07112025_15_43_22_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/450d9bfd5542dbaa1c1349969ac372c0.jpg","text":"TemporaryFile(/tmp/multipartBody4891002546065347862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935102638,"filename":"image_07112025_15_43_19_3583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc93c7824379493b583adcc9a90851e4.jpg","text":"TemporaryFile(/tmp/multipartBody3278783874675526589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935102638,"filename":"image_07112025_15_43_25_2581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736763","file1":"1399736762","file0":"1399736760","file4":"1399736765","file5":"1399736767","file3":"1399736764"},"map_files_photo_id_array":[{"photo_id":"1399736767","filename":"file5"},{"photo_id":"1399736763","filename":"file2"},{"photo_id":"1399736765","filename":"file4"},{"photo_id":"1399736762","filename":"file1"},{"photo_id":"1399736760","filename":"file0"},{"photo_id":"1399736764","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736760":["hashtag1","hashtag2"]},{"1399736763":["hashtag1","hashtag2"]},{"1399736762":["hashtag1","hashtag2"]},{"1399736765":["hashtag1","hashtag2"]},{"1399736764":["hashtag1","hashtag2"]},{"1399736767":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736760, 1399736763, 1399736762, 1399736765, 1399736764, 1399736767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.359790086746216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:31:22.363412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/30/image_17122025_02_30_44_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/30/image_17122025_02_30_44_9549.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736768"],"photo_id":"1399736768","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68b9033a5a9b2f1226abecf65c77afcb.jpg","text":"TemporaryFile(/tmp/multipartBody4437954204332091633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935142781,"filename":"image_17122025_02_30_44_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399736768"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399736768"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.358335494995117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:31:42.394224
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_28_3625.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_31_2699.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_34_2744.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_37_2896.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_40_3695.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_43_2763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_28_3625.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_31_2699.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_34_2744.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_37_2896.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_40_3695.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_43_2763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736775","1399736778","1399736774","1399736777","1399736776","1399736779"],"photo_ids_order":["1399736774","1399736775","1399736776","1399736777","1399736778","1399736779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4dfa5cb4336975b85a92acd9f986d5a5.jpg","text":"TemporaryFile(/tmp/multipartBody1128873175608338058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935163091,"filename":"image_07112025_15_43_31_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eac722067620bc8868b54bcedacc6dfa.jpg","text":"TemporaryFile(/tmp/multipartBody6568256278198726195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935163091,"filename":"image_07112025_15_43_40_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c61bf11590203d122a8356e4f850e5aa.jpg","text":"TemporaryFile(/tmp/multipartBody5071642146001482828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935163091,"filename":"image_07112025_15_43_28_3625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/162c6c036850be969c2f8abe3279e1ee.jpg","text":"TemporaryFile(/tmp/multipartBody2414541119768481305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935163091,"filename":"image_07112025_15_43_37_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5ba63820f2e1b4f5e25bbbf5544ed09.jpg","text":"TemporaryFile(/tmp/multipartBody6970009784383787549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935163091,"filename":"image_07112025_15_43_34_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02c956abae3f7c2685896f96657a38b7.jpg","text":"TemporaryFile(/tmp/multipartBody4830891683462914853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935163091,"filename":"image_07112025_15_43_43_2763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736776","file1":"1399736775","file0":"1399736774","file4":"1399736778","file5":"1399736779","file3":"1399736777"},"map_files_photo_id_array":[{"photo_id":"1399736779","filename":"file5"},{"photo_id":"1399736776","filename":"file2"},{"photo_id":"1399736778","filename":"file4"},{"photo_id":"1399736775","filename":"file1"},{"photo_id":"1399736774","filename":"file0"},{"photo_id":"1399736777","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736775":["hashtag1","hashtag2"]},{"1399736778":["hashtag1","hashtag2"]},{"1399736774":["hashtag1","hashtag2"]},{"1399736777":["hashtag1","hashtag2"]},{"1399736776":["hashtag1","hashtag2"]},{"1399736779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736775, 1399736778, 1399736774, 1399736777, 1399736776, 1399736779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69437909126282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:32:22.665073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/31/image_17122025_02_31_55_9816.jpg', '/home/pi/Desktop/images/17122025/02/31/image_17122025_02_32_04_9639.jpg', '/home/pi/Desktop/images/17122025/02/32/image_17122025_02_32_15_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/31/image_17122025_02_31_55_9816.jpg
/home/pi/Desktop/images/17122025/02/31/image_17122025_02_32_04_9639.jpg
/home/pi/Desktop/images/17122025/02/32/image_17122025_02_32_15_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736781","1399736783","1399736785"],"photo_ids_order":["1399736781","1399736783","1399736785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8df94f9da78cd8dd3669c861a33c4220.jpg","text":"TemporaryFile(/tmp/multipartBody5555373753916308215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935203145,"filename":"image_17122025_02_31_55_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45bb89cf9cc296987a92933f16a625a4.jpg","text":"TemporaryFile(/tmp/multipartBody2748417357045760141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935203145,"filename":"image_17122025_02_32_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b415bda85f280c8c59ce7d5e41b95bb7.jpg","text":"TemporaryFile(/tmp/multipartBody3546907923230062443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935203145,"filename":"image_17122025_02_32_15_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736785","file1":"1399736783","file0":"1399736781"},"map_files_photo_id_array":[{"photo_id":"1399736785","filename":"file2"},{"photo_id":"1399736783","filename":"file1"},{"photo_id":"1399736781","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736781":["hashtag1","hashtag2"]},{"1399736783":["hashtag1","hashtag2"]},{"1399736785":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736781, 1399736783, 1399736785)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.322548866271973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:33:02.461689
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:33:11.818244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:33:21.841524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/32/image_17122025_02_32_54_9642.jpg', '/home/pi/Desktop/images/17122025/02/32/image_17122025_02_33_04_9759.jpg', '/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_15_10572.jpg', '/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_24_9800.jpg', '/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_45_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/32/image_17122025_02_32_54_9642.jpg
/home/pi/Desktop/images/17122025/02/32/image_17122025_02_33_04_9759.jpg
/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_15_10572.jpg
/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_24_9800.jpg
/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_45_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736796","1399736799","1399736797","1399736791","1399736793"],"photo_ids_order":["1399736791","1399736793","1399736796","1399736797","1399736799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03096240bc45f778ebc107d269ddb134.jpg","text":"TemporaryFile(/tmp/multipartBody6830422790215477092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935262409,"filename":"image_17122025_02_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/2025/12/17/3d88890d9c29ad1dce5684c47a53d309.jpg","text":"TemporaryFile(/tmp/multipartBody6629228341662514634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935262409,"filename":"image_17122025_02_33_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39b1f6fc787a1f0864d9a77dc1b788f7.jpg","text":"TemporaryFile(/tmp/multipartBody1190251336121846959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935262409,"filename":"image_17122025_02_33_24_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9e021d43c871c639e9ef35bc98e4b3c.jpg","text":"TemporaryFile(/tmp/multipartBody2286145634165436557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935262409,"filename":"image_17122025_02_32_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b83ea9632a26ca3e60570a6eb1ed087c.jpg","text":"TemporaryFile(/tmp/multipartBody2512830714284272647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935262409,"filename":"image_17122025_02_33_04_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736796","file1":"1399736793","file0":"1399736791","file4":"1399736799","file3":"1399736797"},"map_files_photo_id_array":[{"photo_id":"1399736796","filename":"file2"},{"photo_id":"1399736799","filename":"file4"},{"photo_id":"1399736793","filename":"file1"},{"photo_id":"1399736791","filename":"file0"},{"photo_id":"1399736797","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736796":["hashtag1","hashtag2"]},{"1399736799":["hashtag1","hashtag2"]},{"1399736797":["hashtag1","hashtag2"]},{"1399736791":["hashtag1","hashtag2"]},{"1399736793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736796, 1399736799, 1399736797, 1399736791, 1399736793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.5106680393219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:34:02.732739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:34:12.081699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:34:22.058431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_54_9628.jpg', '/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_15_10586.jpg', '/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_24_9675.jpg', '/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_34_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_54_9628.jpg
/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_15_10586.jpg
/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_24_9675.jpg
/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_34_9638.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4033832550048828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:34:32.078434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:34:42.133985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_46_2693.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_49_3589.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_52_2550.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_54_2596.jpg', '/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_58_3661.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_01_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_46_2693.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_49_3589.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_52_2550.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_54_2596.jpg
/home/pi/Desktop/images/07112025/15/43/image_07112025_15_43_58_3661.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_01_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":["1399736814","1399736817","1399736816","1399736819","1399736812","1399736815"],"photo_ids_order":["1399736812","1399736814","1399736815","1399736816","1399736817","1399736819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37df0d21b76277f0860e0b4578ccf370.jpg","text":"TemporaryFile(/tmp/multipartBody3605262434559597260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935342839,"filename":"image_07112025_15_43_49_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c18e357f7917a6ae1c02c78968bd82a.jpg","text":"TemporaryFile(/tmp/multipartBody6983196792241926350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935342839,"filename":"image_07112025_15_43_58_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61cd7353b7ae5ffe3bb18e71a21a116c.jpg","text":"TemporaryFile(/tmp/multipartBody1027382730568812223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935342839,"filename":"image_07112025_15_43_54_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5ba18ac5ce5b00938ebec98a0f1de58.jpg","text":"TemporaryFile(/tmp/multipartBody4270850607809470879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935342839,"filename":"image_07112025_15_44_01_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b371f8093b8496e7043ba0f479a1a2c.jpg","text":"TemporaryFile(/tmp/multipartBody643835707653676294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935342839,"filename":"image_07112025_15_43_46_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7087c50644e918d87763b80b3fa6306c.jpg","text":"TemporaryFile(/tmp/multipartBody8012510295266384426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935342839,"filename":"image_07112025_15_43_52_2550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736815","file1":"1399736814","file0":"1399736812","file4":"1399736817","file5":"1399736819","file3":"1399736816"},"map_files_photo_id_array":[{"photo_id":"1399736819","filename":"file5"},{"photo_id":"1399736815","filename":"file2"},{"photo_id":"1399736817","filename":"file4"},{"photo_id":"1399736814","filename":"file1"},{"photo_id":"1399736812","filename":"file0"},{"photo_id":"1399736816","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736814":["hashtag1","hashtag2"]},{"1399736817":["hashtag1","hashtag2"]},{"1399736816":["hashtag1","hashtag2"]},{"1399736819":["hashtag1","hashtag2"]},{"1399736812":["hashtag1","hashtag2"]},{"1399736815":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736814, 1399736817, 1399736816, 1399736819, 1399736812, 1399736815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47624945640564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:35:22.353052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_54_9628.jpg', '/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_15_10586.jpg', '/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_24_9675.jpg', '/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_34_9638.jpg', '/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_45_10670.jpg', '/home/pi/Desktop/images/17122025/02/35/image_17122025_02_35_15_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/33/image_17122025_02_33_54_9628.jpg
/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_15_10586.jpg
/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_24_9675.jpg
/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_34_9638.jpg
/home/pi/Desktop/images/17122025/02/34/image_17122025_02_34_45_10670.jpg
/home/pi/Desktop/images/17122025/02/35/image_17122025_02_35_15_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":["1399736823","1399736832","1399736826","1399736834","1399736828","1399736830"],"photo_ids_order":["1399736823","1399736826","1399736828","1399736830","1399736832","1399736834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6af1c4b4c15ab90621b40f894f7f4cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8622443319663958948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935382937,"filename":"image_17122025_02_33_54_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c19dfb1d4991f58fda291e4760fe3159.jpg","text":"TemporaryFile(/tmp/multipartBody1943118402621099356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935382937,"filename":"image_17122025_02_34_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a27ba3b122ca7674d484d364e1f52e66.jpg","text":"TemporaryFile(/tmp/multipartBody5213640657620138285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935382937,"filename":"image_17122025_02_34_15_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b9916a8e03d59b60abfa758f98cd0a8.jpg","text":"TemporaryFile(/tmp/multipartBody2205102242348134663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935382937,"filename":"image_17122025_02_35_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/298c68d3cb0046e09d1462e006494f59.jpg","text":"TemporaryFile(/tmp/multipartBody1266987102796357176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935382937,"filename":"image_17122025_02_34_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6da386861efafc22a958fde613af664.jpg","text":"TemporaryFile(/tmp/multipartBody6481028542790099596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935382937,"filename":"image_17122025_02_34_34_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736828","file1":"1399736826","file0":"1399736823","file4":"1399736832","file5":"1399736834","file3":"1399736830"},"map_files_photo_id_array":[{"photo_id":"1399736834","filename":"file5"},{"photo_id":"1399736828","filename":"file2"},{"photo_id":"1399736832","filename":"file4"},{"photo_id":"1399736826","filename":"file1"},{"photo_id":"1399736823","filename":"file0"},{"photo_id":"1399736830","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736823":["hashtag1","hashtag2"]},{"1399736832":["hashtag1","hashtag2"]},{"1399736826":["hashtag1","hashtag2"]},{"1399736834":["hashtag1","hashtag2"]},{"1399736828":["hashtag1","hashtag2"]},{"1399736830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736823, 1399736832, 1399736826, 1399736834, 1399736828, 1399736830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1555438041687 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:36:03.092898
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/35/image_17122025_02_35_35_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/35/image_17122025_02_35_35_10671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3266432285308838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:36:12.583547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:36:22.642879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/35/image_17122025_02_35_35_10671.jpg', '/home/pi/Desktop/images/17122025/02/35/image_17122025_02_35_54_9708.jpg', '/home/pi/Desktop/images/17122025/02/36/image_17122025_02_36_35_10652.jpg', '/home/pi/Desktop/images/17122025/02/36/image_17122025_02_36_45_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/35/image_17122025_02_35_35_10671.jpg
/home/pi/Desktop/images/17122025/02/35/image_17122025_02_35_54_9708.jpg
/home/pi/Desktop/images/17122025/02/36/image_17122025_02_36_35_10652.jpg
/home/pi/Desktop/images/17122025/02/36/image_17122025_02_36_45_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736841","1399736837","1399736839","1399736836"],"photo_ids_order":["1399736836","1399736837","1399736839","1399736841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7c7f167a81a414c23eff30b66922a36.jpg","text":"TemporaryFile(/tmp/multipartBody7355282590672607362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935443152,"filename":"image_17122025_02_36_45_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/542d72130ded5c9c8c169b95538d8590.jpg","text":"TemporaryFile(/tmp/multipartBody1565810603822882840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935443152,"filename":"image_17122025_02_35_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51197e59d1617015da55ac398163177d.jpg","text":"TemporaryFile(/tmp/multipartBody2019502904190162046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935443152,"filename":"image_17122025_02_36_35_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db61ea36c4092ed01f343a0756fe7e87.jpg","text":"TemporaryFile(/tmp/multipartBody9114944749736267207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935443152,"filename":"image_17122025_02_35_35_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736839","file1":"1399736837","file0":"1399736836","file3":"1399736841"},"map_files_photo_id_array":[{"photo_id":"1399736839","filename":"file2"},{"photo_id":"1399736837","filename":"file1"},{"photo_id":"1399736836","filename":"file0"},{"photo_id":"1399736841","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736841":["hashtag1","hashtag2"]},{"1399736837":["hashtag1","hashtag2"]},{"1399736839":["hashtag1","hashtag2"]},{"1399736836":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736841, 1399736837, 1399736839, 1399736836)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.861109495162964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:37:02.578445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:37:12.003450
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:37:21.937830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/36/image_17122025_02_36_55_9695.jpg', '/home/pi/Desktop/images/17122025/02/36/image_17122025_02_37_04_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/36/image_17122025_02_36_55_9695.jpg
/home/pi/Desktop/images/17122025/02/36/image_17122025_02_37_04_9711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736846","1399736848"],"photo_ids_order":["1399736846","1399736848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f78d191a23e9233ebcf546a7d50cc11.jpg","text":"TemporaryFile(/tmp/multipartBody8400194300634193753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935502379,"filename":"image_17122025_02_36_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94518dca78aa623466afc0eb705c293c.jpg","text":"TemporaryFile(/tmp/multipartBody1310362369156276874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935502379,"filename":"image_17122025_02_37_04_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399736848","file0":"1399736846"},"map_files_photo_id_array":[{"photo_id":"1399736848","filename":"file1"},{"photo_id":"1399736846","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736846":["hashtag1","hashtag2"]},{"1399736848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736846, 1399736848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.85148811340332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:37:41.891481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_03_2712.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_07_3645.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_10_2874.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_13_2673.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_16_3591.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_19_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_03_2712.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_07_3645.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_10_2874.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_13_2673.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_16_3591.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_19_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736856","1399736853","1399736855","1399736858","1399736857","1399736854"],"photo_ids_order":["1399736853","1399736854","1399736855","1399736856","1399736857","1399736858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89845698d09deb2b793851349f1671b9.jpg","text":"TemporaryFile(/tmp/multipartBody7712862557546981158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935522607,"filename":"image_07112025_15_44_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0eaa98e2e1cb158fa301a9c4764ec364.jpg","text":"TemporaryFile(/tmp/multipartBody7960453598778661859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935522607,"filename":"image_07112025_15_44_03_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb1d1066dfd24e284e84b3166ccd39bd.jpg","text":"TemporaryFile(/tmp/multipartBody6008549632584216822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935522607,"filename":"image_07112025_15_44_10_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8e7405e0b62a0d65c25c9e202cc7e46.jpg","text":"TemporaryFile(/tmp/multipartBody5484213026620207018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935522607,"filename":"image_07112025_15_44_19_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85c83f168c1e62eefeac7e7675747db1.jpg","text":"TemporaryFile(/tmp/multipartBody8007700607326083443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935522607,"filename":"image_07112025_15_44_16_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04782b86f5780f6de065feb0d6018147.jpg","text":"TemporaryFile(/tmp/multipartBody2321938997627479246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935522607,"filename":"image_07112025_15_44_07_3645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736855","file1":"1399736854","file0":"1399736853","file4":"1399736857","file5":"1399736858","file3":"1399736856"},"map_files_photo_id_array":[{"photo_id":"1399736858","filename":"file5"},{"photo_id":"1399736855","filename":"file2"},{"photo_id":"1399736857","filename":"file4"},{"photo_id":"1399736854","filename":"file1"},{"photo_id":"1399736853","filename":"file0"},{"photo_id":"1399736856","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736856":["hashtag1","hashtag2"]},{"1399736853":["hashtag1","hashtag2"]},{"1399736855":["hashtag1","hashtag2"]},{"1399736858":["hashtag1","hashtag2"]},{"1399736857":["hashtag1","hashtag2"]},{"1399736854":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736856, 1399736853, 1399736855, 1399736858, 1399736857, 1399736854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.82209324836731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:38:22.247507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/37/image_17122025_02_37_55_9644.jpg', '/home/pi/Desktop/images/17122025/02/37/image_17122025_02_38_04_9847.jpg', '/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_14_9608.jpg', '/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_25_10685.jpg', '/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_34_9695.jpg', '/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_44_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/37/image_17122025_02_37_55_9644.jpg
/home/pi/Desktop/images/17122025/02/37/image_17122025_02_38_04_9847.jpg
/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_14_9608.jpg
/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_25_10685.jpg
/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_34_9695.jpg
/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_44_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736880","1399736862","1399736865","1399736859","1399736867","1399736860"],"photo_ids_order":["1399736859","1399736860","1399736862","1399736865","1399736867","1399736880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0824775391811e9bed12e1d9d012f13c.jpg","text":"TemporaryFile(/tmp/multipartBody1901327507161071254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935562826,"filename":"image_17122025_02_38_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9528152dcda5e858da9500778ce35a03.jpg","text":"TemporaryFile(/tmp/multipartBody1306497693508385260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935562826,"filename":"image_17122025_02_38_14_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c41e64c0e191b64dc51ca6ef3fc6b9e.jpg","text":"TemporaryFile(/tmp/multipartBody2984376858548220944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935562826,"filename":"image_17122025_02_38_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7e08fb7bcc3c8b99c70a867439db50e.jpg","text":"TemporaryFile(/tmp/multipartBody5544432375091300136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935562826,"filename":"image_17122025_02_37_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2ea5581dae8f1c717c72783e758c39a.jpg","text":"TemporaryFile(/tmp/multipartBody180635477092940480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935562826,"filename":"image_17122025_02_38_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80653e2b2ae3c8006cc8b85ce09e8db4.jpg","text":"TemporaryFile(/tmp/multipartBody8066004968330605927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935562826,"filename":"image_17122025_02_38_04_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736862","file1":"1399736860","file0":"1399736859","file4":"1399736867","file5":"1399736880","file3":"1399736865"},"map_files_photo_id_array":[{"photo_id":"1399736880","filename":"file5"},{"photo_id":"1399736862","filename":"file2"},{"photo_id":"1399736867","filename":"file4"},{"photo_id":"1399736860","filename":"file1"},{"photo_id":"1399736859","filename":"file0"},{"photo_id":"1399736865","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736880":["hashtag1","hashtag2"]},{"1399736862":["hashtag1","hashtag2"]},{"1399736865":["hashtag1","hashtag2"]},{"1399736859":["hashtag1","hashtag2"]},{"1399736867":["hashtag1","hashtag2"]},{"1399736860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736880, 1399736862, 1399736865, 1399736859, 1399736867, 1399736860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23377513885498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:39:03.201947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:39:12.384205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:39:22.402099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_55_10548.jpg', '/home/pi/Desktop/images/17122025/02/38/image_17122025_02_39_05_9829.jpg', '/home/pi/Desktop/images/17122025/02/39/image_17122025_02_39_35_9643.jpg', '/home/pi/Desktop/images/17122025/02/39/image_17122025_02_39_44_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/38/image_17122025_02_38_55_10548.jpg
/home/pi/Desktop/images/17122025/02/38/image_17122025_02_39_05_9829.jpg
/home/pi/Desktop/images/17122025/02/39/image_17122025_02_39_35_9643.jpg
/home/pi/Desktop/images/17122025/02/39/image_17122025_02_39_44_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736885","1399736888","1399736890","1399736886"],"photo_ids_order":["1399736885","1399736886","1399736888","1399736890"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f5723767990e30e83631fbbee5db4fa.jpg","text":"TemporaryFile(/tmp/multipartBody4270525663866416881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935622912,"filename":"image_17122025_02_38_55_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a747843a8ce30c841d2a272c34fe252.jpg","text":"TemporaryFile(/tmp/multipartBody1469150639098682579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935622912,"filename":"image_17122025_02_39_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce289948a246438c922cb2a7fda7fbeb.jpg","text":"TemporaryFile(/tmp/multipartBody8420535471596781325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935622912,"filename":"image_17122025_02_39_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cac75ff03b18a3315143a6bc735066af.jpg","text":"TemporaryFile(/tmp/multipartBody6565305596727406527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935622912,"filename":"image_17122025_02_39_05_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736888","file1":"1399736886","file0":"1399736885","file3":"1399736890"},"map_files_photo_id_array":[{"photo_id":"1399736888","filename":"file2"},{"photo_id":"1399736886","filename":"file1"},{"photo_id":"1399736885","filename":"file0"},{"photo_id":"1399736890","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736885":["hashtag1","hashtag2"]},{"1399736888":["hashtag1","hashtag2"]},{"1399736890":["hashtag1","hashtag2"]},{"1399736886":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736885, 1399736888, 1399736890, 1399736886)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.657379150390625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:40:03.124482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:40:12.677164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:40:22.681057
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/39/image_17122025_02_39_55_10618.jpg', '/home/pi/Desktop/images/17122025/02/39/image_17122025_02_40_05_9667.jpg', '/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_14_9741.jpg', '/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_25_10626.jpg', '/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_44_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/39/image_17122025_02_39_55_10618.jpg
/home/pi/Desktop/images/17122025/02/39/image_17122025_02_40_05_9667.jpg
/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_14_9741.jpg
/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_25_10626.jpg
/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_44_9659.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.468447208404541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:40:32.636872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:40:42.617010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_22_2593.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_25_3575.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_28_2731.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_31_2597.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_34_3647.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_37_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_22_2593.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_25_3575.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_28_2731.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_31_2597.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_34_3647.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_37_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736910","1399736913","1399736916","1399736915","1399736912","1399736914"],"photo_ids_order":["1399736910","1399736912","1399736913","1399736914","1399736915","1399736916"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40ef22d7f3664fdc432c0b5ea5184ee4.jpg","text":"TemporaryFile(/tmp/multipartBody4531629441757369682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935703338,"filename":"image_07112025_15_44_22_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21e60dc057b5a9426dab630a7cc73d6d.jpg","text":"TemporaryFile(/tmp/multipartBody6207436384603842819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935703338,"filename":"image_07112025_15_44_28_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b5e6410b5f6b7a9a49c1cc71f7f42b9.jpg","text":"TemporaryFile(/tmp/multipartBody8066373174776240783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935703338,"filename":"image_07112025_15_44_37_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c5236303df4e34b16eb4854aca020e1.jpg","text":"TemporaryFile(/tmp/multipartBody7819853516713691168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935703338,"filename":"image_07112025_15_44_34_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d255df0789eba84a0fd855c0f7c1692.jpg","text":"TemporaryFile(/tmp/multipartBody2287022846601185208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935703338,"filename":"image_07112025_15_44_25_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/803a44d69ae6e11240a00ad50bc539d8.jpg","text":"TemporaryFile(/tmp/multipartBody5774489638339724570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935703338,"filename":"image_07112025_15_44_31_2597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736913","file1":"1399736912","file0":"1399736910","file4":"1399736915","file5":"1399736916","file3":"1399736914"},"map_files_photo_id_array":[{"photo_id":"1399736916","filename":"file5"},{"photo_id":"1399736913","filename":"file2"},{"photo_id":"1399736915","filename":"file4"},{"photo_id":"1399736912","filename":"file1"},{"photo_id":"1399736910","filename":"file0"},{"photo_id":"1399736914","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736910":["hashtag1","hashtag2"]},{"1399736913":["hashtag1","hashtag2"]},{"1399736916":["hashtag1","hashtag2"]},{"1399736915":["hashtag1","hashtag2"]},{"1399736912":["hashtag1","hashtag2"]},{"1399736914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736910, 1399736913, 1399736916, 1399736915, 1399736912, 1399736914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.178892612457275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:41:21.868709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/39/image_17122025_02_39_55_10618.jpg', '/home/pi/Desktop/images/17122025/02/39/image_17122025_02_40_05_9667.jpg', '/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_14_9741.jpg', '/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_25_10626.jpg', '/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_44_9659.jpg', '/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_55_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/39/image_17122025_02_39_55_10618.jpg
/home/pi/Desktop/images/17122025/02/39/image_17122025_02_40_05_9667.jpg
/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_14_9741.jpg
/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_25_10626.jpg
/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_44_9659.jpg
/home/pi/Desktop/images/17122025/02/40/image_17122025_02_40_55_10781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736925","1399736919","1399736928","1399736921","1399736923","1399736917"],"photo_ids_order":["1399736917","1399736919","1399736921","1399736923","1399736925","1399736928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/494c50ea7bfccc4e3409916faeb2e9bb.jpg","text":"TemporaryFile(/tmp/multipartBody5838062635928139205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935742491,"filename":"image_17122025_02_40_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a2b8809dc8cbd714320147ae429effd.jpg","text":"TemporaryFile(/tmp/multipartBody6567555580466768785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935742491,"filename":"image_17122025_02_40_05_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac6a63093e6520d4a51fd7312d0e83d5.jpg","text":"TemporaryFile(/tmp/multipartBody551064468164333765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935742491,"filename":"image_17122025_02_40_55_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d79665987d2730f9935b240596ea7b77.jpg","text":"TemporaryFile(/tmp/multipartBody5463346474558151258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935742491,"filename":"image_17122025_02_40_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdbd65b4ff0c6a03f24642efa4f6a5f4.jpg","text":"TemporaryFile(/tmp/multipartBody2049851916594329718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935742491,"filename":"image_17122025_02_40_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93be987d3e11c39d916d66d5a829b6f2.jpg","text":"TemporaryFile(/tmp/multipartBody1569201708392457260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935742491,"filename":"image_17122025_02_39_55_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736921","file1":"1399736919","file0":"1399736917","file4":"1399736925","file5":"1399736928","file3":"1399736923"},"map_files_photo_id_array":[{"photo_id":"1399736928","filename":"file5"},{"photo_id":"1399736921","filename":"file2"},{"photo_id":"1399736925","filename":"file4"},{"photo_id":"1399736919","filename":"file1"},{"photo_id":"1399736917","filename":"file0"},{"photo_id":"1399736923","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736925":["hashtag1","hashtag2"]},{"1399736919":["hashtag1","hashtag2"]},{"1399736928":["hashtag1","hashtag2"]},{"1399736921":["hashtag1","hashtag2"]},{"1399736923":["hashtag1","hashtag2"]},{"1399736917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736925, 1399736919, 1399736928, 1399736921, 1399736923, 1399736917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02632808685303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:42:02.588771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/40/image_17122025_02_41_05_9816.jpg', '/home/pi/Desktop/images/17122025/02/41/image_17122025_02_41_24_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/40/image_17122025_02_41_05_9816.jpg
/home/pi/Desktop/images/17122025/02/41/image_17122025_02_41_24_9828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736931","1399736930"],"photo_ids_order":["1399736930","1399736931"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f30a5db4aaaa0d34e9152fe6b724772c.jpg","text":"TemporaryFile(/tmp/multipartBody5255665911336221405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935783040,"filename":"image_17122025_02_41_24_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f08971ced6694c64630cd84dd6e19ae5.jpg","text":"TemporaryFile(/tmp/multipartBody6876712944386862154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935783040,"filename":"image_17122025_02_41_05_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399736931","file0":"1399736930"},"map_files_photo_id_array":[{"photo_id":"1399736931","filename":"file1"},{"photo_id":"1399736930","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736931":["hashtag1","hashtag2"]},{"1399736930":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736931, 1399736930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.199937105178833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:42:22.055850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_40_2700.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_43_3558.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_46_2696.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_49_2805.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_51_2750.jpg', '/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_55_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_40_2700.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_43_3558.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_46_2696.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_49_2805.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_51_2750.jpg
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_55_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736940","1399736934","1399736942","1399736936","1399736944","1399736938"],"photo_ids_order":["1399736934","1399736936","1399736938","1399736940","1399736942","1399736944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a877b26d6d81ddefcd5956421992bb00.jpg","text":"TemporaryFile(/tmp/multipartBody3036546466759536041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935802818,"filename":"image_07112025_15_44_49_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45b37137d7d01ba63e37a23500ba1ec7.jpg","text":"TemporaryFile(/tmp/multipartBody4021128558360556169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935802818,"filename":"image_07112025_15_44_40_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/001fd2604f695c7970ccfd9911ca6fae.jpg","text":"TemporaryFile(/tmp/multipartBody8076167744992181013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935802818,"filename":"image_07112025_15_44_51_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59f4941f3f8730bb7a0a8eff64829403.jpg","text":"TemporaryFile(/tmp/multipartBody3541456945966339070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935802818,"filename":"image_07112025_15_44_43_3558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bf7ffa0533757da78b4755a6729fe68.jpg","text":"TemporaryFile(/tmp/multipartBody4536116038490521927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935802818,"filename":"image_07112025_15_44_55_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/456b9dbf174263708fc7e07521d51ed0.jpg","text":"TemporaryFile(/tmp/multipartBody8914467162989513659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935802818,"filename":"image_07112025_15_44_46_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736938","file1":"1399736936","file0":"1399736934","file4":"1399736942","file5":"1399736944","file3":"1399736940"},"map_files_photo_id_array":[{"photo_id":"1399736944","filename":"file5"},{"photo_id":"1399736938","filename":"file2"},{"photo_id":"1399736942","filename":"file4"},{"photo_id":"1399736936","filename":"file1"},{"photo_id":"1399736934","filename":"file0"},{"photo_id":"1399736940","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736940":["hashtag1","hashtag2"]},{"1399736934":["hashtag1","hashtag2"]},{"1399736942":["hashtag1","hashtag2"]},{"1399736936":["hashtag1","hashtag2"]},{"1399736944":["hashtag1","hashtag2"]},{"1399736938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736940, 1399736934, 1399736942, 1399736936, 1399736944, 1399736938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63537549972534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:43:02.860798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:43:12.312458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:43:22.469629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/41/image_17122025_02_41_35_10632.jpg', '/home/pi/Desktop/images/17122025/02/43/image_17122025_02_43_25_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/41/image_17122025_02_41_35_10632.jpg
/home/pi/Desktop/images/17122025/02/43/image_17122025_02_43_25_10644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736946","1399736948"],"photo_ids_order":["1399736946","1399736948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0507600b44a027833a379f6c30e8aa9e.jpg","text":"TemporaryFile(/tmp/multipartBody84961662372225399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935862915,"filename":"image_17122025_02_41_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1632b3f0e9ba125aad9474d4f951abe6.jpg","text":"TemporaryFile(/tmp/multipartBody369859706165798551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935862915,"filename":"image_17122025_02_43_25_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399736948","file0":"1399736946"},"map_files_photo_id_array":[{"photo_id":"1399736948","filename":"file1"},{"photo_id":"1399736946","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736946":["hashtag1","hashtag2"]},{"1399736948":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736946, 1399736948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.32235026359558 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:43:42.460083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_58_2561.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_04_2547.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_10_3599.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_13_2636.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_16_3587.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_19_2556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/44/image_07112025_15_44_58_2561.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_04_2547.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_10_3599.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_13_2636.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_16_3587.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_19_2556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736955","1399736952","1399736960","1399736954","1399736957","1399736956"],"photo_ids_order":["1399736952","1399736954","1399736955","1399736956","1399736957","1399736960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd243af13580513b94460451d662cfb2.jpg","text":"TemporaryFile(/tmp/multipartBody2451575453083296478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935883180,"filename":"image_07112025_15_45_10_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15c287582147f6dc8c6b427d7b590294.jpg","text":"TemporaryFile(/tmp/multipartBody8038834627797607282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935883180,"filename":"image_07112025_15_44_58_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b58d4fd52ae666267b55ed3b33e7c82f.jpg","text":"TemporaryFile(/tmp/multipartBody6920869764826700118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935883180,"filename":"image_07112025_15_45_19_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ee35c394d80b3400d2efd1b3d225a60.jpg","text":"TemporaryFile(/tmp/multipartBody6183542424228769559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935883180,"filename":"image_07112025_15_45_04_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/415665ef30117e3ef6449e0fce2e4cda.jpg","text":"TemporaryFile(/tmp/multipartBody4525124748543579156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935883180,"filename":"image_07112025_15_45_16_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d91ad9eabce03155097c02d6edc55547.jpg","text":"TemporaryFile(/tmp/multipartBody3070675558636998757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935883180,"filename":"image_07112025_15_45_13_2636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736955","file1":"1399736954","file0":"1399736952","file4":"1399736957","file5":"1399736960","file3":"1399736956"},"map_files_photo_id_array":[{"photo_id":"1399736960","filename":"file5"},{"photo_id":"1399736955","filename":"file2"},{"photo_id":"1399736957","filename":"file4"},{"photo_id":"1399736954","filename":"file1"},{"photo_id":"1399736952","filename":"file0"},{"photo_id":"1399736956","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399736955":["hashtag1","hashtag2"]},{"1399736952":["hashtag1","hashtag2"]},{"1399736960":["hashtag1","hashtag2"]},{"1399736954":["hashtag1","hashtag2"]},{"1399736957":["hashtag1","hashtag2"]},{"1399736956":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399736955, 1399736952, 1399736960, 1399736954, 1399736957, 1399736956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.007450580596924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:44:22.741406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/43/image_17122025_02_43_34_9610.jpg', '/home/pi/Desktop/images/17122025/02/43/image_17122025_02_44_05_9531.jpg', '/home/pi/Desktop/images/17122025/02/44/image_17122025_02_44_25_10534.jpg', '/home/pi/Desktop/images/17122025/02/44/image_17122025_02_44_34_9657.jpg', '/home/pi/Desktop/images/17122025/02/44/image_17122025_02_44_45_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/43/image_17122025_02_43_34_9610.jpg
/home/pi/Desktop/images/17122025/02/43/image_17122025_02_44_05_9531.jpg
/home/pi/Desktop/images/17122025/02/44/image_17122025_02_44_25_10534.jpg
/home/pi/Desktop/images/17122025/02/44/image_17122025_02_44_34_9657.jpg
/home/pi/Desktop/images/17122025/02/44/image_17122025_02_44_45_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736970","1399736964","1399736966","1399736962","1399736968"],"photo_ids_order":["1399736962","1399736964","1399736966","1399736968","1399736970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ec4a4571ef6d6df2f7411d8eaecac84.jpg","text":"TemporaryFile(/tmp/multipartBody8032118167341882157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935923288,"filename":"image_17122025_02_44_45_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a93430dde6bc0b7587244ec8482fe81.jpg","text":"TemporaryFile(/tmp/multipartBody7596017592615967711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935923288,"filename":"image_17122025_02_44_05_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1785afd3925c4cf97799875cb9a70d7.jpg","text":"TemporaryFile(/tmp/multipartBody1203464781749507695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935923288,"filename":"image_17122025_02_44_25_10534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/826c3194ff108f422ca18efffec7d0a7.jpg","text":"TemporaryFile(/tmp/multipartBody215183325944799586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935923288,"filename":"image_17122025_02_43_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67a4db30866bdef2ed242cfef4f4847e.jpg","text":"TemporaryFile(/tmp/multipartBody932088988167855083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935923288,"filename":"image_17122025_02_44_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736966","file1":"1399736964","file0":"1399736962","file4":"1399736970","file3":"1399736968"},"map_files_photo_id_array":[{"photo_id":"1399736966","filename":"file2"},{"photo_id":"1399736970","filename":"file4"},{"photo_id":"1399736964","filename":"file1"},{"photo_id":"1399736962","filename":"file0"},{"photo_id":"1399736968","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736970":["hashtag1","hashtag2"]},{"1399736964":["hashtag1","hashtag2"]},{"1399736966":["hashtag1","hashtag2"]},{"1399736962":["hashtag1","hashtag2"]},{"1399736968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736970, 1399736964, 1399736966, 1399736962, 1399736968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.361544132232666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:45:02.697027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:45:11.918730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:45:22.023023
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/44/image_17122025_02_44_55_10009.jpg', '/home/pi/Desktop/images/17122025/02/45/image_17122025_02_45_14_9604.jpg', '/home/pi/Desktop/images/17122025/02/45/image_17122025_02_45_24_9763.jpg', '/home/pi/Desktop/images/17122025/02/45/image_17122025_02_45_45_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/44/image_17122025_02_44_55_10009.jpg
/home/pi/Desktop/images/17122025/02/45/image_17122025_02_45_14_9604.jpg
/home/pi/Desktop/images/17122025/02/45/image_17122025_02_45_24_9763.jpg
/home/pi/Desktop/images/17122025/02/45/image_17122025_02_45_45_9667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399736982","1399736984","1399736980","1399736986"],"photo_ids_order":["1399736980","1399736982","1399736984","1399736986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a930c3cf244c7c6dfa55c9d6f2ace86.jpg","text":"TemporaryFile(/tmp/multipartBody4496286730398353477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935982533,"filename":"image_17122025_02_45_14_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97da3d2ec873c5423b2ae47491278f4e.jpg","text":"TemporaryFile(/tmp/multipartBody8407143084492558886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935982533,"filename":"image_17122025_02_45_24_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc296e5a07051066b700360c071a1fed.jpg","text":"TemporaryFile(/tmp/multipartBody2002931342932256128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935982533,"filename":"image_17122025_02_44_55_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42998e5345803e19e0a79a0a9b8ce0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3947726853616795372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765935982533,"filename":"image_17122025_02_45_45_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736984","file1":"1399736982","file0":"1399736980","file3":"1399736986"},"map_files_photo_id_array":[{"photo_id":"1399736984","filename":"file2"},{"photo_id":"1399736982","filename":"file1"},{"photo_id":"1399736980","filename":"file0"},{"photo_id":"1399736986","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399736982":["hashtag1","hashtag2"]},{"1399736984":["hashtag1","hashtag2"]},{"1399736980":["hashtag1","hashtag2"]},{"1399736986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399736982, 1399736984, 1399736980, 1399736986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.148771047592163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:46:02.616187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:46:12.228354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:46:22.192680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/45/image_17122025_02_45_54_9668.jpg', '/home/pi/Desktop/images/17122025/02/46/image_17122025_02_46_15_10775.jpg', '/home/pi/Desktop/images/17122025/02/46/image_17122025_02_46_25_9668.jpg', '/home/pi/Desktop/images/17122025/02/46/image_17122025_02_46_45_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/45/image_17122025_02_45_54_9668.jpg
/home/pi/Desktop/images/17122025/02/46/image_17122025_02_46_15_10775.jpg
/home/pi/Desktop/images/17122025/02/46/image_17122025_02_46_25_9668.jpg
/home/pi/Desktop/images/17122025/02/46/image_17122025_02_46_45_10683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737003","1399736990","1399736992","1399736998"],"photo_ids_order":["1399736990","1399736992","1399736998","1399737003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d0a649fcfcdc35d2c91e0f1382c96d5.jpg","text":"TemporaryFile(/tmp/multipartBody6845789761426995565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936042702,"filename":"image_17122025_02_46_45_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98f36b79049c4c705f7d32b4c1848cc0.jpg","text":"TemporaryFile(/tmp/multipartBody3031501044773775370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936042702,"filename":"image_17122025_02_45_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd2210cd5cfd1aad1b7afd3d415a1f96.jpg","text":"TemporaryFile(/tmp/multipartBody6670339147878626988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936042702,"filename":"image_17122025_02_46_15_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f89a52478b8b73f4cfb049c478f4e922.jpg","text":"TemporaryFile(/tmp/multipartBody4419820548682928521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936042702,"filename":"image_17122025_02_46_25_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399736998","file1":"1399736992","file0":"1399736990","file3":"1399737003"},"map_files_photo_id_array":[{"photo_id":"1399736998","filename":"file2"},{"photo_id":"1399736992","filename":"file1"},{"photo_id":"1399736990","filename":"file0"},{"photo_id":"1399737003","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399737003":["hashtag1","hashtag2"]},{"1399736990":["hashtag1","hashtag2"]},{"1399736992":["hashtag1","hashtag2"]},{"1399736998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399737003, 1399736990, 1399736992, 1399736998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.968403577804565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:47:03.071636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:47:12.409833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:47:22.465359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/46/image_17122025_02_46_55_9694.jpg', '/home/pi/Desktop/images/17122025/02/47/image_17122025_02_47_24_9771.jpg', '/home/pi/Desktop/images/17122025/02/47/image_17122025_02_47_35_10602.jpg', '/home/pi/Desktop/images/17122025/02/47/image_17122025_02_47_44_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/46/image_17122025_02_46_55_9694.jpg
/home/pi/Desktop/images/17122025/02/47/image_17122025_02_47_24_9771.jpg
/home/pi/Desktop/images/17122025/02/47/image_17122025_02_47_35_10602.jpg
/home/pi/Desktop/images/17122025/02/47/image_17122025_02_47_44_9641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737009","1399737011","1399737013","1399737007"],"photo_ids_order":["1399737007","1399737009","1399737011","1399737013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ccc4321f724e8719519a15813f2c734.jpg","text":"TemporaryFile(/tmp/multipartBody3334986130075238913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936102994,"filename":"image_17122025_02_47_24_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e33d7305c4875b652cc46af14472361.jpg","text":"TemporaryFile(/tmp/multipartBody1698046440413785203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936102994,"filename":"image_17122025_02_47_35_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c471c74c88bd3f79293083d1dc29160f.jpg","text":"TemporaryFile(/tmp/multipartBody9032934008853961168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936102994,"filename":"image_17122025_02_47_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bb65737a7c259029072ff9a5397cbd4.jpg","text":"TemporaryFile(/tmp/multipartBody7654462680420291217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936102994,"filename":"image_17122025_02_46_55_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737011","file1":"1399737009","file0":"1399737007","file3":"1399737013"},"map_files_photo_id_array":[{"photo_id":"1399737011","filename":"file2"},{"photo_id":"1399737009","filename":"file1"},{"photo_id":"1399737007","filename":"file0"},{"photo_id":"1399737013","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399737009":["hashtag1","hashtag2"]},{"1399737011":["hashtag1","hashtag2"]},{"1399737013":["hashtag1","hashtag2"]},{"1399737007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399737009, 1399737011, 1399737013, 1399737007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.388537883758545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:48:03.124830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:48:12.650055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:48:22.692316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_22_2766.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_24_2830.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_28_3571.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_31_2661.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_34_3581.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_37_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_22_2766.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_24_2830.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_28_3571.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_31_2661.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_34_3581.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_37_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737024","1399737026","1399737029","1399737020","1399737019","1399737022"],"photo_ids_order":["1399737019","1399737020","1399737022","1399737024","1399737026","1399737029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bae4feb68306ec116fd3bd3a9bce765.jpg","text":"TemporaryFile(/tmp/multipartBody3365878896945895000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936163478,"filename":"image_07112025_15_45_31_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4dd690b10b7a7dbada12a01de2052fca.jpg","text":"TemporaryFile(/tmp/multipartBody5447340793019520038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936163478,"filename":"image_07112025_15_45_34_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/734176dce8cf4e257f2acf7dfc545f86.jpg","text":"TemporaryFile(/tmp/multipartBody738957925907171960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936163478,"filename":"image_07112025_15_45_37_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/072d2a7aafd9c2e412a5382ba6df1fac.jpg","text":"TemporaryFile(/tmp/multipartBody4858483537783501883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936163478,"filename":"image_07112025_15_45_24_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00d4b381c72586c3a10e9ea0a926d418.jpg","text":"TemporaryFile(/tmp/multipartBody3062835729247154969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936163478,"filename":"image_07112025_15_45_22_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e68551650a1ffb56714cc816754aa46.jpg","text":"TemporaryFile(/tmp/multipartBody7338268688964434101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936163478,"filename":"image_07112025_15_45_28_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737022","file1":"1399737020","file0":"1399737019","file4":"1399737026","file5":"1399737029","file3":"1399737024"},"map_files_photo_id_array":[{"photo_id":"1399737029","filename":"file5"},{"photo_id":"1399737022","filename":"file2"},{"photo_id":"1399737026","filename":"file4"},{"photo_id":"1399737020","filename":"file1"},{"photo_id":"1399737019","filename":"file0"},{"photo_id":"1399737024","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399737024":["hashtag1","hashtag2"]},{"1399737026":["hashtag1","hashtag2"]},{"1399737029":["hashtag1","hashtag2"]},{"1399737020":["hashtag1","hashtag2"]},{"1399737019":["hashtag1","hashtag2"]},{"1399737022":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399737024, 1399737026, 1399737029, 1399737020, 1399737019, 1399737022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.894014835357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:49:02.845497
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:49:13.344496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:49:21.879550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/47/image_17122025_02_47_55_10645.jpg', '/home/pi/Desktop/images/17122025/02/49/image_17122025_02_49_25_10754.jpg', '/home/pi/Desktop/images/17122025/02/49/image_17122025_02_49_35_9536.jpg', '/home/pi/Desktop/images/17122025/02/49/image_17122025_02_49_44_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/47/image_17122025_02_47_55_10645.jpg
/home/pi/Desktop/images/17122025/02/49/image_17122025_02_49_25_10754.jpg
/home/pi/Desktop/images/17122025/02/49/image_17122025_02_49_35_9536.jpg
/home/pi/Desktop/images/17122025/02/49/image_17122025_02_49_44_9736.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737042","1399737036","1399737039","1399737041"],"photo_ids_order":["1399737036","1399737039","1399737041","1399737042"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5b1ffe2634fc259a1866c86bbe70e28.jpg","text":"TemporaryFile(/tmp/multipartBody6932681826913905773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936222386,"filename":"image_17122025_02_49_44_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f5a408393a9320d8499774dde804bff.jpg","text":"TemporaryFile(/tmp/multipartBody2733830163620259466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936222386,"filename":"image_17122025_02_47_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c959f5622f5300c7c63c6f5740b80ea5.jpg","text":"TemporaryFile(/tmp/multipartBody2759454896268029242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936222386,"filename":"image_17122025_02_49_25_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cda8751e7a3daa48b50679bcdadeab5.jpg","text":"TemporaryFile(/tmp/multipartBody2422307287975404180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936222386,"filename":"image_17122025_02_49_35_9536.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737041","file1":"1399737039","file0":"1399737036","file3":"1399737042"},"map_files_photo_id_array":[{"photo_id":"1399737041","filename":"file2"},{"photo_id":"1399737039","filename":"file1"},{"photo_id":"1399737036","filename":"file0"},{"photo_id":"1399737042","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399737042":["hashtag1","hashtag2"]},{"1399737036":["hashtag1","hashtag2"]},{"1399737039":["hashtag1","hashtag2"]},{"1399737041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399737042, 1399737036, 1399737039, 1399737041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.461761713027954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:50:02.442998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:50:12.081083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:50:22.217795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/49/image_17122025_02_49_55_10627.jpg', '/home/pi/Desktop/images/17122025/02/49/image_17122025_02_50_05_9858.jpg', '/home/pi/Desktop/images/17122025/02/50/image_17122025_02_50_14_9630.jpg', '/home/pi/Desktop/images/17122025/02/50/image_17122025_02_50_25_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/49/image_17122025_02_49_55_10627.jpg
/home/pi/Desktop/images/17122025/02/49/image_17122025_02_50_05_9858.jpg
/home/pi/Desktop/images/17122025/02/50/image_17122025_02_50_14_9630.jpg
/home/pi/Desktop/images/17122025/02/50/image_17122025_02_50_25_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737051","1399737047","1399737046","1399737049"],"photo_ids_order":["1399737046","1399737047","1399737049","1399737051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c2010ad9fa2a951dbf2df15a03063af.jpg","text":"TemporaryFile(/tmp/multipartBody6972599549999178294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936282765,"filename":"image_17122025_02_50_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/457236b7143add2756badafe48989993.jpg","text":"TemporaryFile(/tmp/multipartBody7467002703309268684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936282765,"filename":"image_17122025_02_50_05_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2491a53bd99bb26f2d0d41e7476f466.jpg","text":"TemporaryFile(/tmp/multipartBody5617133907743867767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936282765,"filename":"image_17122025_02_49_55_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/374d6e92ecd6c30fa87a2b67c8b6976b.jpg","text":"TemporaryFile(/tmp/multipartBody9045221183179950202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936282765,"filename":"image_17122025_02_50_14_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737049","file1":"1399737047","file0":"1399737046","file3":"1399737051"},"map_files_photo_id_array":[{"photo_id":"1399737049","filename":"file2"},{"photo_id":"1399737047","filename":"file1"},{"photo_id":"1399737046","filename":"file0"},{"photo_id":"1399737051","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399737051":["hashtag1","hashtag2"]},{"1399737047":["hashtag1","hashtag2"]},{"1399737046":["hashtag1","hashtag2"]},{"1399737049":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399737051, 1399737047, 1399737046, 1399737049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.91772723197937 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:51:03.267020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:51:12.554058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:51:22.571628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/50/image_17122025_02_50_55_10725.jpg', '/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_05_10189.jpg', '/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_15_9767.jpg', '/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_35_10681.jpg', '/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_45_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/50/image_17122025_02_50_55_10725.jpg
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_05_10189.jpg
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_15_9767.jpg
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_35_10681.jpg
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_45_9707.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43878841400146484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:51:32.680120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:51:42.732865
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_40_2609.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_43_3673.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_46_2628.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_48_2545.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_52_3659.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_55_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_40_2609.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_43_3673.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_46_2628.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_48_2545.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_52_3659.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_55_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":["1399737074","1399737073","1399737076","1399737070","1399737072","1399737075"],"photo_ids_order":["1399737070","1399737072","1399737073","1399737074","1399737075","1399737076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4616fb113195e22228567faeeadf1b5.jpg","text":"TemporaryFile(/tmp/multipartBody5408583638144693670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936363491,"filename":"image_07112025_15_45_48_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b9e3f7aea644690d5d19f9d7a718546.jpg","text":"TemporaryFile(/tmp/multipartBody3002708777831947420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936363491,"filename":"image_07112025_15_45_46_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b852e4fd142302956c34c29fa4ef6bbd.jpg","text":"TemporaryFile(/tmp/multipartBody3723501710514758057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936363491,"filename":"image_07112025_15_45_55_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d88f8e1395781b568fab3cec47444a1c.jpg","text":"TemporaryFile(/tmp/multipartBody5017180854664736099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936363491,"filename":"image_07112025_15_45_40_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ae52fb91d4d0d9411f8b737710f7b9f.jpg","text":"TemporaryFile(/tmp/multipartBody3097507157913750340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936363491,"filename":"image_07112025_15_45_43_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70928fd555f9975d90550ee942f4317e.jpg","text":"TemporaryFile(/tmp/multipartBody5730522860194970314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936363491,"filename":"image_07112025_15_45_52_3659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737073","file1":"1399737072","file0":"1399737070","file4":"1399737075","file5":"1399737076","file3":"1399737074"},"map_files_photo_id_array":[{"photo_id":"1399737076","filename":"file5"},{"photo_id":"1399737073","filename":"file2"},{"photo_id":"1399737075","filename":"file4"},{"photo_id":"1399737072","filename":"file1"},{"photo_id":"1399737070","filename":"file0"},{"photo_id":"1399737074","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399737074":["hashtag1","hashtag2"]},{"1399737073":["hashtag1","hashtag2"]},{"1399737076":["hashtag1","hashtag2"]},{"1399737070":["hashtag1","hashtag2"]},{"1399737072":["hashtag1","hashtag2"]},{"1399737075":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399737074, 1399737073, 1399737076, 1399737070, 1399737072, 1399737075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72786545753479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:52:21.951433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/50/image_17122025_02_50_55_10725.jpg', '/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_05_10189.jpg', '/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_15_9767.jpg', '/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_35_10681.jpg', '/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_45_9707.jpg', '/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_55_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/50/image_17122025_02_50_55_10725.jpg
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_05_10189.jpg
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_15_9767.jpg
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_35_10681.jpg
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_45_9707.jpg
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_51_55_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":["1399737083","1399737077","1399737085","1399737079","1399737087","1399737081"],"photo_ids_order":["1399737077","1399737079","1399737081","1399737083","1399737085","1399737087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/203eb3e35582e2ce130b038e257e5a4a.jpg","text":"TemporaryFile(/tmp/multipartBody1132645527321561567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936402529,"filename":"image_17122025_02_51_35_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddf13c3e16d92c58768389e6423b1aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7578274967930938225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936402529,"filename":"image_17122025_02_50_55_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2f35bac5b3dfbf3802ce7e7514ac4f5.jpg","text":"TemporaryFile(/tmp/multipartBody4891483181298410129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936402529,"filename":"image_17122025_02_51_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a01ea54af6d1803b1be5399007b545fb.jpg","text":"TemporaryFile(/tmp/multipartBody8738708858691638377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936402529,"filename":"image_17122025_02_51_05_10189.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02a1340884b8ebdd3f3c6c417c6549a2.jpg","text":"TemporaryFile(/tmp/multipartBody823610634869302072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936402529,"filename":"image_17122025_02_51_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/849b0ae36b2bed875b51ee9c3a3dc2a7.jpg","text":"TemporaryFile(/tmp/multipartBody7823327378043458100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936402529,"filename":"image_17122025_02_51_15_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737081","file1":"1399737079","file0":"1399737077","file4":"1399737085","file5":"1399737087","file3":"1399737083"},"map_files_photo_id_array":[{"photo_id":"1399737087","filename":"file5"},{"photo_id":"1399737081","filename":"file2"},{"photo_id":"1399737085","filename":"file4"},{"photo_id":"1399737079","filename":"file1"},{"photo_id":"1399737077","filename":"file0"},{"photo_id":"1399737083","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399737083":["hashtag1","hashtag2"]},{"1399737077":["hashtag1","hashtag2"]},{"1399737085":["hashtag1","hashtag2"]},{"1399737079":["hashtag1","hashtag2"]},{"1399737087":["hashtag1","hashtag2"]},{"1399737081":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399737083, 1399737077, 1399737085, 1399737079, 1399737087, 1399737081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80829739570618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:53:02.887075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/51/image_17122025_02_52_04_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/51/image_17122025_02_52_04_9801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737089"],"photo_id":"1399737089","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98ffae8cc11d05d2c769cb13ec0d1b78.jpg","text":"TemporaryFile(/tmp/multipartBody1958692245425898479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936443337,"filename":"image_17122025_02_52_04_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399737089"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399737089"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.747295379638672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:53:22.168715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/52/image_17122025_02_52_15_10639.jpg', '/home/pi/Desktop/images/17122025/02/52/image_17122025_02_53_04_9545.jpg', '/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_14_9796.jpg', '/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_25_10771.jpg', '/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_35_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/52/image_17122025_02_52_15_10639.jpg
/home/pi/Desktop/images/17122025/02/52/image_17122025_02_53_04_9545.jpg
/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_14_9796.jpg
/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_25_10771.jpg
/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_35_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737095","1399737091","1399737094","1399737097","1399737099"],"photo_ids_order":["1399737091","1399737094","1399737095","1399737097","1399737099"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95ca940ba8bc137fd430da70af2fa607.jpg","text":"TemporaryFile(/tmp/multipartBody6094380777682132330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936462724,"filename":"image_17122025_02_53_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77c36b75ce4700259a6a6a251809e01d.jpg","text":"TemporaryFile(/tmp/multipartBody7335106104192651473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936462724,"filename":"image_17122025_02_52_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eed187e22e429af2a9520f2666098b56.jpg","text":"TemporaryFile(/tmp/multipartBody4376497485271519845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936462724,"filename":"image_17122025_02_53_04_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e379ea938de47a92c8af03c84f30a149.jpg","text":"TemporaryFile(/tmp/multipartBody3453033345253463523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936462724,"filename":"image_17122025_02_53_25_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f21fdbb2b773a7cd3e4e52f729ae36ab.jpg","text":"TemporaryFile(/tmp/multipartBody8125156902381264378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936462724,"filename":"image_17122025_02_53_35_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737095","file1":"1399737094","file0":"1399737091","file4":"1399737099","file3":"1399737097"},"map_files_photo_id_array":[{"photo_id":"1399737095","filename":"file2"},{"photo_id":"1399737099","filename":"file4"},{"photo_id":"1399737094","filename":"file1"},{"photo_id":"1399737091","filename":"file0"},{"photo_id":"1399737097","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399737095":["hashtag1","hashtag2"]},{"1399737091":["hashtag1","hashtag2"]},{"1399737094":["hashtag1","hashtag2"]},{"1399737097":["hashtag1","hashtag2"]},{"1399737099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399737095, 1399737091, 1399737094, 1399737097, 1399737099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.61752963066101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:54:02.896963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:54:16.242115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:54:22.381988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_44_9667.jpg', '/home/pi/Desktop/images/17122025/02/54/image_17122025_02_54_25_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_44_9667.jpg
/home/pi/Desktop/images/17122025/02/54/image_17122025_02_54_25_10590.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8650219440460205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:54:32.409714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:54:42.465905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_57_2779.jpg', '/home/pi/Desktop/images/07112025/15/45/image_07112025_15_46_01_3712.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_04_2632.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_06_2675.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_13_2626.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_15_2567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_45_57_2779.jpg
/home/pi/Desktop/images/07112025/15/45/image_07112025_15_46_01_3712.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_04_2632.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_06_2675.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_13_2626.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_15_2567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737111","1399737114","1399737113","1399737112","1399737115","1399737109"],"photo_ids_order":["1399737109","1399737111","1399737112","1399737113","1399737114","1399737115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a04788018c117013190483e8d4604330.jpg","text":"TemporaryFile(/tmp/multipartBody4668207536394993756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936543186,"filename":"image_07112025_15_46_01_3712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d237921a41b6096752c81566240a1875.jpg","text":"TemporaryFile(/tmp/multipartBody2066021376035628504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936543186,"filename":"image_07112025_15_46_13_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83a4ceb1fc2498668f8895d5257b3538.jpg","text":"TemporaryFile(/tmp/multipartBody19791877207535337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936543186,"filename":"image_07112025_15_46_06_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed371a0aaaf3c4748df358c55d3fbd0f.jpg","text":"TemporaryFile(/tmp/multipartBody3988125669154972644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936543186,"filename":"image_07112025_15_46_04_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e781be2c76b6c331715d58dc8a3c04cf.jpg","text":"TemporaryFile(/tmp/multipartBody5681118241909527371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936543186,"filename":"image_07112025_15_46_15_2567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6304fda015fb9083c58ad1d3b0c98dcf.jpg","text":"TemporaryFile(/tmp/multipartBody7992570990083026050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936543186,"filename":"image_07112025_15_45_57_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737112","file1":"1399737111","file0":"1399737109","file4":"1399737114","file5":"1399737115","file3":"1399737113"},"map_files_photo_id_array":[{"photo_id":"1399737115","filename":"file5"},{"photo_id":"1399737112","filename":"file2"},{"photo_id":"1399737114","filename":"file4"},{"photo_id":"1399737111","filename":"file1"},{"photo_id":"1399737109","filename":"file0"},{"photo_id":"1399737113","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399737111":["hashtag1","hashtag2"]},{"1399737114":["hashtag1","hashtag2"]},{"1399737113":["hashtag1","hashtag2"]},{"1399737112":["hashtag1","hashtag2"]},{"1399737115":["hashtag1","hashtag2"]},{"1399737109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399737111, 1399737114, 1399737113, 1399737112, 1399737115, 1399737109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87697172164917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:55:22.684947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_44_9667.jpg', '/home/pi/Desktop/images/17122025/02/54/image_17122025_02_54_25_10590.jpg', '/home/pi/Desktop/images/17122025/02/54/image_17122025_02_54_44_9700.jpg', '/home/pi/Desktop/images/17122025/02/54/image_17122025_02_55_05_10571.jpg', '/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_14_9646.jpg', '/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_24_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/53/image_17122025_02_53_44_9667.jpg
/home/pi/Desktop/images/17122025/02/54/image_17122025_02_54_25_10590.jpg
/home/pi/Desktop/images/17122025/02/54/image_17122025_02_54_44_9700.jpg
/home/pi/Desktop/images/17122025/02/54/image_17122025_02_55_05_10571.jpg
/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_14_9646.jpg
/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_24_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":["1399737120","1399737123","1399737117","1399737126","1399737125","1399737118"],"photo_ids_order":["1399737117","1399737118","1399737120","1399737123","1399737125","1399737126"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95aae7f90e46cbf0ca1fbdfa0d8b3710.jpg","text":"TemporaryFile(/tmp/multipartBody4231907327159171183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936583292,"filename":"image_17122025_02_54_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a87687323f54dc39049c74f2cc049ff.jpg","text":"TemporaryFile(/tmp/multipartBody2133575357530150619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936583292,"filename":"image_17122025_02_55_05_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe75e37511e6592edee10bc65ac9cd98.jpg","text":"TemporaryFile(/tmp/multipartBody3181011767184944937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936583292,"filename":"image_17122025_02_53_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0ab42b9d0a289107a4ea004ec387848.jpg","text":"TemporaryFile(/tmp/multipartBody2228886995902931751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936583292,"filename":"image_17122025_02_55_24_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f469579b3eeecad00d0ec111270800a.jpg","text":"TemporaryFile(/tmp/multipartBody5938136635877424348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936583292,"filename":"image_17122025_02_55_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c140e3c19d4a0f423999daa3c2512c5.jpg","text":"TemporaryFile(/tmp/multipartBody3479676844391298932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936583292,"filename":"image_17122025_02_54_25_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737120","file1":"1399737118","file0":"1399737117","file4":"1399737125","file5":"1399737126","file3":"1399737123"},"map_files_photo_id_array":[{"photo_id":"1399737126","filename":"file5"},{"photo_id":"1399737120","filename":"file2"},{"photo_id":"1399737125","filename":"file4"},{"photo_id":"1399737118","filename":"file1"},{"photo_id":"1399737117","filename":"file0"},{"photo_id":"1399737123","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399737120":["hashtag1","hashtag2"]},{"1399737123":["hashtag1","hashtag2"]},{"1399737117":["hashtag1","hashtag2"]},{"1399737126":["hashtag1","hashtag2"]},{"1399737125":["hashtag1","hashtag2"]},{"1399737118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399737120, 1399737123, 1399737117, 1399737126, 1399737125, 1399737118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83722186088562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:56:02.373158
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_45_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_45_9755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737127"],"photo_id":"1399737127","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c30e6952cba71769c42cd039dbab077a.jpg","text":"TemporaryFile(/tmp/multipartBody6553135826579912807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936622801,"filename":"image_17122025_02_55_45_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399737127"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399737127"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.271450757980347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:56:22.007798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_54_9700.jpg', '/home/pi/Desktop/images/17122025/02/55/image_17122025_02_56_04_9893.jpg', '/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_15_10626.jpg', '/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_44_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_54_9700.jpg
/home/pi/Desktop/images/17122025/02/55/image_17122025_02_56_04_9893.jpg
/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_15_10626.jpg
/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_44_9770.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.40414905548095703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 02:56:31.954960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:56:41.947999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_19_3766.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_22_2689.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_24_2624.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_27_2820.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_31_3617.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_33_2605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_19_3766.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_22_2689.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_24_2624.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_27_2820.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_31_3617.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_33_2605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737141","1399737138","1399737140","1399737142","1399737136","1399737139"],"photo_ids_order":["1399737136","1399737138","1399737139","1399737140","1399737141","1399737142"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14f0c133d90b43057404a3db125bc379.jpg","text":"TemporaryFile(/tmp/multipartBody6841346771171351760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936662702,"filename":"image_07112025_15_46_31_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0dbf1c7e6a24d4ff04c9bae3f7cc252e.jpg","text":"TemporaryFile(/tmp/multipartBody3131734514488225560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936662702,"filename":"image_07112025_15_46_22_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b6ee000aa1c42a6784d84e5fe1d4ba0.jpg","text":"TemporaryFile(/tmp/multipartBody1797100600901345882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936662702,"filename":"image_07112025_15_46_27_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99a5f335e805eb43ecf64a2a46ae2d88.jpg","text":"TemporaryFile(/tmp/multipartBody5856204204735694888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936662702,"filename":"image_07112025_15_46_33_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9217bdf66c0ef208847b7f41be07eac5.jpg","text":"TemporaryFile(/tmp/multipartBody4364116752977743052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936662702,"filename":"image_07112025_15_46_19_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/248144ccb75d84a16f9e9091a1f3b99b.jpg","text":"TemporaryFile(/tmp/multipartBody8353470142242296672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936662702,"filename":"image_07112025_15_46_24_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737139","file1":"1399737138","file0":"1399737136","file4":"1399737141","file5":"1399737142","file3":"1399737140"},"map_files_photo_id_array":[{"photo_id":"1399737142","filename":"file5"},{"photo_id":"1399737139","filename":"file2"},{"photo_id":"1399737141","filename":"file4"},{"photo_id":"1399737138","filename":"file1"},{"photo_id":"1399737136","filename":"file0"},{"photo_id":"1399737140","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399737141":["hashtag1","hashtag2"]},{"1399737138":["hashtag1","hashtag2"]},{"1399737140":["hashtag1","hashtag2"]},{"1399737142":["hashtag1","hashtag2"]},{"1399737136":["hashtag1","hashtag2"]},{"1399737139":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399737141, 1399737138, 1399737140, 1399737142, 1399737136, 1399737139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09450435638428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 02:57:22.273920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_54_9700.jpg', '/home/pi/Desktop/images/17122025/02/55/image_17122025_02_56_04_9893.jpg', '/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_15_10626.jpg', '/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_44_9770.jpg', '/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_55_10640.jpg', '/home/pi/Desktop/images/17122025/02/56/image_17122025_02_57_05_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/55/image_17122025_02_55_54_9700.jpg
/home/pi/Desktop/images/17122025/02/55/image_17122025_02_56_04_9893.jpg
/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_15_10626.jpg
/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_44_9770.jpg
/home/pi/Desktop/images/17122025/02/56/image_17122025_02_56_55_10640.jpg
/home/pi/Desktop/images/17122025/02/56/image_17122025_02_57_05_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737293","1399737194","1399737284","1399737282","1399737229","1399737267"],"photo_ids_order":["1399737194","1399737229","1399737267","1399737282","1399737284","1399737293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/951ba9016465b5254b700beee0f98795.jpg","text":"TemporaryFile(/tmp/multipartBody9089305726641467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936702851,"filename":"image_17122025_02_57_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e2a1fd83274faa45ed91763b2dbfbfb.jpg","text":"TemporaryFile(/tmp/multipartBody709513654177022738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936702851,"filename":"image_17122025_02_55_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f09d45b34c58aef2fd93439b3f6d013.jpg","text":"TemporaryFile(/tmp/multipartBody1502199139330046269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936702851,"filename":"image_17122025_02_56_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6fe327d8c1b44f27cc8096f997c3571.jpg","text":"TemporaryFile(/tmp/multipartBody4016336468593298635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936702851,"filename":"image_17122025_02_56_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/537cf200bf31c13b3786119b0dbcfb09.jpg","text":"TemporaryFile(/tmp/multipartBody8075117589087604810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936702851,"filename":"image_17122025_02_56_04_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1832a25711f4e4cc9f6aeb0d90acf24.jpg","text":"TemporaryFile(/tmp/multipartBody2244226514999683052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936702851,"filename":"image_17122025_02_56_15_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737267","file1":"1399737229","file0":"1399737194","file4":"1399737284","file5":"1399737293","file3":"1399737282"},"map_files_photo_id_array":[{"photo_id":"1399737293","filename":"file5"},{"photo_id":"1399737267","filename":"file2"},{"photo_id":"1399737284","filename":"file4"},{"photo_id":"1399737229","filename":"file1"},{"photo_id":"1399737194","filename":"file0"},{"photo_id":"1399737282","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399737293":["hashtag1","hashtag2"]},{"1399737194":["hashtag1","hashtag2"]},{"1399737284":["hashtag1","hashtag2"]},{"1399737282":["hashtag1","hashtag2"]},{"1399737229":["hashtag1","hashtag2"]},{"1399737267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399737293, 1399737194, 1399737284, 1399737282, 1399737229, 1399737267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14306020736694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 02:59:03.434949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/57/image_17122025_02_57_14_9739.jpg', '/home/pi/Desktop/images/17122025/02/57/image_17122025_02_57_25_10646.jpg', '/home/pi/Desktop/images/17122025/02/57/image_17122025_02_57_44_9720.jpg', '/home/pi/Desktop/images/17122025/02/57/image_17122025_02_57_55_10647.jpg', '/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_15_9651.jpg', '/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_24_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/57/image_17122025_02_57_14_9739.jpg
/home/pi/Desktop/images/17122025/02/57/image_17122025_02_57_25_10646.jpg
/home/pi/Desktop/images/17122025/02/57/image_17122025_02_57_44_9720.jpg
/home/pi/Desktop/images/17122025/02/57/image_17122025_02_57_55_10647.jpg
/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_15_9651.jpg
/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_24_9567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737705","1399737590","1399737629","1399737781","1399737745","1399737669"],"photo_ids_order":["1399737590","1399737629","1399737669","1399737705","1399737745","1399737781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/913d5605ed6d19aed6a7a76dabec3cd3.jpg","text":"TemporaryFile(/tmp/multipartBody8961543413803908917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936804120,"filename":"image_17122025_02_57_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/747e73ecd1732881b5a58aae47b9e262.jpg","text":"TemporaryFile(/tmp/multipartBody3154692171245077077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936804120,"filename":"image_17122025_02_57_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d206d2408ee3d55f97b52b263ccc2c3f.jpg","text":"TemporaryFile(/tmp/multipartBody5930230181717190494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936804120,"filename":"image_17122025_02_57_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f89e79273475a08d97cd3c10bce2458.jpg","text":"TemporaryFile(/tmp/multipartBody6445728944308960092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936804120,"filename":"image_17122025_02_58_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89a2d4aeb7f9659a2dbc29d3042b6eeb.jpg","text":"TemporaryFile(/tmp/multipartBody2596728431080462737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936804120,"filename":"image_17122025_02_58_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9bb70156c1a93801233005c3e3522ce5.jpg","text":"TemporaryFile(/tmp/multipartBody1583949799476819353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936804120,"filename":"image_17122025_02_57_44_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737669","file1":"1399737629","file0":"1399737590","file4":"1399737745","file5":"1399737781","file3":"1399737705"},"map_files_photo_id_array":[{"photo_id":"1399737781","filename":"file5"},{"photo_id":"1399737669","filename":"file2"},{"photo_id":"1399737745","filename":"file4"},{"photo_id":"1399737629","filename":"file1"},{"photo_id":"1399737590","filename":"file0"},{"photo_id":"1399737705","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399737705":["hashtag1","hashtag2"]},{"1399737590":["hashtag1","hashtag2"]},{"1399737629":["hashtag1","hashtag2"]},{"1399737781":["hashtag1","hashtag2"]},{"1399737745":["hashtag1","hashtag2"]},{"1399737669":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399737705, 1399737590, 1399737629, 1399737781, 1399737745, 1399737669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70387840270996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 02:59:42.467138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_37_3514.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_40_2652.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_42_2596.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_46_3608.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_48_2561.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_52_3760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_37_3514.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_40_2652.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_42_2596.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_46_3608.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_48_2561.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_52_3760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399737936","1399737980","1399738100","1399737897","1399738047","1399738134"],"photo_ids_order":["1399737897","1399737936","1399737980","1399738047","1399738100","1399738134"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9782e4199e893958b722586fb87cf540.jpg","text":"TemporaryFile(/tmp/multipartBody7882394310034759063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936843177,"filename":"image_07112025_15_46_40_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/304433dfe213fd502a00abdeb2b3ddf2.jpg","text":"TemporaryFile(/tmp/multipartBody592396095167467244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936843177,"filename":"image_07112025_15_46_42_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8967ff31a0d73f1b0bf6392b1e3e53b.jpg","text":"TemporaryFile(/tmp/multipartBody6430253844558295813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936843177,"filename":"image_07112025_15_46_48_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ae13efdfdc98bfcbcb0d0e2c01cbfe4.jpg","text":"TemporaryFile(/tmp/multipartBody985458692153896673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936843177,"filename":"image_07112025_15_46_37_3514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83cf3a4ae2eee1bf5d561c015e218f46.jpg","text":"TemporaryFile(/tmp/multipartBody7148979245915591925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936843177,"filename":"image_07112025_15_46_46_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5bca1370966851d8150078d901dd52c.jpg","text":"TemporaryFile(/tmp/multipartBody6188148807709380623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936843177,"filename":"image_07112025_15_46_52_3760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399737980","file1":"1399737936","file0":"1399737897","file4":"1399738100","file5":"1399738134","file3":"1399738047"},"map_files_photo_id_array":[{"photo_id":"1399738134","filename":"file5"},{"photo_id":"1399737980","filename":"file2"},{"photo_id":"1399738100","filename":"file4"},{"photo_id":"1399737936","filename":"file1"},{"photo_id":"1399737897","filename":"file0"},{"photo_id":"1399738047","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399737936":["hashtag1","hashtag2"]},{"1399737980":["hashtag1","hashtag2"]},{"1399738100":["hashtag1","hashtag2"]},{"1399737897":["hashtag1","hashtag2"]},{"1399738047":["hashtag1","hashtag2"]},{"1399738134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399737936, 1399737980, 1399738100, 1399737897, 1399738047, 1399738134)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.4919068813324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:00:32.687608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:00:42.680934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_55_2559.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_57_2696.jpg', '/home/pi/Desktop/images/07112025/15/46/image_07112025_15_47_01_3628.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_04_2690.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_06_2787.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_10_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_55_2559.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_46_57_2696.jpg
/home/pi/Desktop/images/07112025/15/46/image_07112025_15_47_01_3628.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_04_2690.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_06_2787.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_10_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399738652","1399738762","1399738738","1399738705","1399738507","1399738580"],"photo_ids_order":["1399738507","1399738580","1399738652","1399738705","1399738738","1399738762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a0e90dc9c63921183afc7c4494d21ae.jpg","text":"TemporaryFile(/tmp/multipartBody2815354082241165961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936903427,"filename":"image_07112025_15_47_01_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d06b48101450d7b4be1f714d8ad8944b.jpg","text":"TemporaryFile(/tmp/multipartBody4154185458576844939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936903427,"filename":"image_07112025_15_47_10_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c49aafad8ec7794a943b38d09bc2cff6.jpg","text":"TemporaryFile(/tmp/multipartBody2233229039026008653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936903427,"filename":"image_07112025_15_47_06_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fda2ae68700293d711ec60fd042fbdb.jpg","text":"TemporaryFile(/tmp/multipartBody5767863554331572571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936903427,"filename":"image_07112025_15_47_04_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/198dc739aab3e564b50020278abb86a3.jpg","text":"TemporaryFile(/tmp/multipartBody3661877136514590328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936903427,"filename":"image_07112025_15_46_55_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5efaebddf62aca437a5fc6a07351f06a.jpg","text":"TemporaryFile(/tmp/multipartBody1759522518590831787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936903427,"filename":"image_07112025_15_46_57_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399738652","file1":"1399738580","file0":"1399738507","file4":"1399738738","file5":"1399738762","file3":"1399738705"},"map_files_photo_id_array":[{"photo_id":"1399738762","filename":"file5"},{"photo_id":"1399738652","filename":"file2"},{"photo_id":"1399738738","filename":"file4"},{"photo_id":"1399738580","filename":"file1"},{"photo_id":"1399738507","filename":"file0"},{"photo_id":"1399738705","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399738652":["hashtag1","hashtag2"]},{"1399738762":["hashtag1","hashtag2"]},{"1399738738":["hashtag1","hashtag2"]},{"1399738705":["hashtag1","hashtag2"]},{"1399738507":["hashtag1","hashtag2"]},{"1399738580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399738652, 1399738762, 1399738738, 1399738705, 1399738507, 1399738580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11896538734436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:01:21.889767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_35_10615.jpg', '/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_44_9548.jpg', '/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_14_9771.jpg', '/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_25_10655.jpg', '/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_35_10597.jpg', '/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_44_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_35_10615.jpg
/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_44_9548.jpg
/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_14_9771.jpg
/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_25_10655.jpg
/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_35_10597.jpg
/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_44_9570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5049171447753906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:01:31.997488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:01:41.893466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_13_2654.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_15_2585.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_18_2810.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_22_3592.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_24_2632.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_28_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_13_2654.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_15_2585.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_18_2810.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_22_3592.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_24_2632.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_28_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399738915","1399738983","1399738962","1399738953","1399738985","1399738917"],"photo_ids_order":["1399738915","1399738917","1399738953","1399738962","1399738983","1399738985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d26ace8b860ab8f11c2eff6986043e95.jpg","text":"TemporaryFile(/tmp/multipartBody4138196377718833155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936962612,"filename":"image_07112025_15_47_13_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91a2a8a8b0423322957010c85474d779.jpg","text":"TemporaryFile(/tmp/multipartBody2785282371427910826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936962612,"filename":"image_07112025_15_47_24_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1308bb42de7246146381ec228a64e9c6.jpg","text":"TemporaryFile(/tmp/multipartBody579456667259607169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936962612,"filename":"image_07112025_15_47_22_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6007c18f7e96f11a754063f4f10ac4d8.jpg","text":"TemporaryFile(/tmp/multipartBody1153280153811172714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936962612,"filename":"image_07112025_15_47_18_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff45d7be90afd4d24c85a16243a1af1a.jpg","text":"TemporaryFile(/tmp/multipartBody6038190711099442152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936962612,"filename":"image_07112025_15_47_28_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f62fa7bfb04be2584f9f6e503da19d6.jpg","text":"TemporaryFile(/tmp/multipartBody8445863830047932771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765936962612,"filename":"image_07112025_15_47_15_2585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399738953","file1":"1399738917","file0":"1399738915","file4":"1399738983","file5":"1399738985","file3":"1399738962"},"map_files_photo_id_array":[{"photo_id":"1399738985","filename":"file5"},{"photo_id":"1399738953","filename":"file2"},{"photo_id":"1399738983","filename":"file4"},{"photo_id":"1399738917","filename":"file1"},{"photo_id":"1399738915","filename":"file0"},{"photo_id":"1399738962","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399738915":["hashtag1","hashtag2"]},{"1399738983":["hashtag1","hashtag2"]},{"1399738962":["hashtag1","hashtag2"]},{"1399738953":["hashtag1","hashtag2"]},{"1399738985":["hashtag1","hashtag2"]},{"1399738917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399738915, 1399738983, 1399738962, 1399738953, 1399738985, 1399738917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59003567695618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:02:22.136213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_35_10615.jpg', '/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_44_9548.jpg', '/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_14_9771.jpg', '/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_25_10655.jpg', '/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_35_10597.jpg', '/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_44_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_35_10615.jpg
/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_44_9548.jpg
/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_14_9771.jpg
/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_25_10655.jpg
/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_35_10597.jpg
/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_44_9570.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47415971755981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:02:32.129039
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:02:42.183135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_31_2632.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_33_2559.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_37_3642.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_39_2654.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_42_2642.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_48_2566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_31_2632.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_33_2559.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_37_3642.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_39_2654.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_42_2642.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_48_2566.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739003","1399739000","1399738996","1399738999","1399738998","1399739001"],"photo_ids_order":["1399738996","1399738998","1399738999","1399739000","1399739001","1399739003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb07552323650854ee4689b933b353fe.jpg","text":"TemporaryFile(/tmp/multipartBody6621394106399347247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937022904,"filename":"image_07112025_15_47_48_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a93c92d3c5bb9cee4dc7201589e58d5c.jpg","text":"TemporaryFile(/tmp/multipartBody1227351913894603751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937022904,"filename":"image_07112025_15_47_39_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb2d8d528b580b4f3b96c89bb3c2a46a.jpg","text":"TemporaryFile(/tmp/multipartBody1657719666582486221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937022904,"filename":"image_07112025_15_47_31_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70c8c4956d24faaa23a09ea3861e57af.jpg","text":"TemporaryFile(/tmp/multipartBody3859058226358047321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937022904,"filename":"image_07112025_15_47_37_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8ee778a933188d39fa1fcb43f558c09.jpg","text":"TemporaryFile(/tmp/multipartBody2647927622018203177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937022904,"filename":"image_07112025_15_47_33_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5dc291bc61b60452b7e7058ce986df8.jpg","text":"TemporaryFile(/tmp/multipartBody3208484841583112633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937022904,"filename":"image_07112025_15_47_42_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399738999","file1":"1399738998","file0":"1399738996","file4":"1399739001","file5":"1399739003","file3":"1399739000"},"map_files_photo_id_array":[{"photo_id":"1399739003","filename":"file5"},{"photo_id":"1399738999","filename":"file2"},{"photo_id":"1399739001","filename":"file4"},{"photo_id":"1399738998","filename":"file1"},{"photo_id":"1399738996","filename":"file0"},{"photo_id":"1399739000","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739003":["hashtag1","hashtag2"]},{"1399739000":["hashtag1","hashtag2"]},{"1399738996":["hashtag1","hashtag2"]},{"1399738999":["hashtag1","hashtag2"]},{"1399738998":["hashtag1","hashtag2"]},{"1399739001":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739003, 1399739000, 1399738996, 1399738999, 1399738998, 1399739001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75725984573364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:03:22.406861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_35_10615.jpg', '/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_44_9548.jpg', '/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_14_9771.jpg', '/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_25_10655.jpg', '/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_35_10597.jpg', '/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_44_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_35_10615.jpg
/home/pi/Desktop/images/17122025/02/58/image_17122025_02_58_44_9548.jpg
/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_14_9771.jpg
/home/pi/Desktop/images/17122025/02/59/image_17122025_02_59_25_10655.jpg
/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_35_10597.jpg
/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_44_9570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739009","1399739014","1399739011","1399739005","1399739013","1399739007"],"photo_ids_order":["1399739005","1399739007","1399739009","1399739011","1399739013","1399739014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43155f31c3e1a52992015be070c6b75d.jpg","text":"TemporaryFile(/tmp/multipartBody49372647948194845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937062986,"filename":"image_17122025_02_59_14_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4614c345bf5707f1030e942ffdbb30a7.jpg","text":"TemporaryFile(/tmp/multipartBody5940052716058188125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937062986,"filename":"image_17122025_03_00_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6626d3b06194f8d592e2e37f25905338.jpg","text":"TemporaryFile(/tmp/multipartBody6043003623550339187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937062986,"filename":"image_17122025_02_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/2025/12/17/fc825a01b1e605c745f0387005dfb873.jpg","text":"TemporaryFile(/tmp/multipartBody3319979872379532596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937062986,"filename":"image_17122025_02_58_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84688f048c1371a0814c8930cb6a92ed.jpg","text":"TemporaryFile(/tmp/multipartBody7177936610676689613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937062986,"filename":"image_17122025_03_00_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/988695e4ddd18431869c3ebd8b561a04.jpg","text":"TemporaryFile(/tmp/multipartBody373503236668535558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937062986,"filename":"image_17122025_02_58_44_9548.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739009","file1":"1399739007","file0":"1399739005","file4":"1399739013","file5":"1399739014","file3":"1399739011"},"map_files_photo_id_array":[{"photo_id":"1399739014","filename":"file5"},{"photo_id":"1399739009","filename":"file2"},{"photo_id":"1399739013","filename":"file4"},{"photo_id":"1399739007","filename":"file1"},{"photo_id":"1399739005","filename":"file0"},{"photo_id":"1399739011","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739009":["hashtag1","hashtag2"]},{"1399739014":["hashtag1","hashtag2"]},{"1399739011":["hashtag1","hashtag2"]},{"1399739005":["hashtag1","hashtag2"]},{"1399739013":["hashtag1","hashtag2"]},{"1399739007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739009, 1399739014, 1399739011, 1399739005, 1399739013, 1399739007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.903886795043945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:04:03.345179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_55_10706.jpg', '/home/pi/Desktop/images/17122025/03/00/image_17122025_03_01_05_9790.jpg', '/home/pi/Desktop/images/17122025/03/01/image_17122025_03_01_15_9827.jpg', '/home/pi/Desktop/images/17122025/03/01/image_17122025_03_01_25_10115.jpg', '/home/pi/Desktop/images/17122025/03/01/image_17122025_03_02_04_9586.jpg', '/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_14_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/00/image_17122025_03_00_55_10706.jpg
/home/pi/Desktop/images/17122025/03/00/image_17122025_03_01_05_9790.jpg
/home/pi/Desktop/images/17122025/03/01/image_17122025_03_01_15_9827.jpg
/home/pi/Desktop/images/17122025/03/01/image_17122025_03_01_25_10115.jpg
/home/pi/Desktop/images/17122025/03/01/image_17122025_03_02_04_9586.jpg
/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_14_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739018","1399739020","1399739017","1399739019","1399739022","1399739016"],"photo_ids_order":["1399739016","1399739017","1399739018","1399739019","1399739020","1399739022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bee23d20e03c21e81589dd80ab8a2215.jpg","text":"TemporaryFile(/tmp/multipartBody1708469330674236948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937104030,"filename":"image_17122025_03_01_15_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1128f493474c5ffc388ec04f9d5ab6e7.jpg","text":"TemporaryFile(/tmp/multipartBody3189638339773060750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937104030,"filename":"image_17122025_03_02_04_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1f1b7edac4241fe895133947be73eb9.jpg","text":"TemporaryFile(/tmp/multipartBody8315708395089607850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937104030,"filename":"image_17122025_03_01_05_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fc83a93ad1dc9e391a5566ea92afba3.jpg","text":"TemporaryFile(/tmp/multipartBody8410721416911059385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937104030,"filename":"image_17122025_03_01_25_10115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6bb41f3c126040e20ba9a9ad81263d3.jpg","text":"TemporaryFile(/tmp/multipartBody7779246951841072449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937104030,"filename":"image_17122025_03_02_14_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7dc29c18cb544ced77ec9ad493b7388.jpg","text":"TemporaryFile(/tmp/multipartBody2392659654248908259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937104030,"filename":"image_17122025_03_00_55_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739018","file1":"1399739017","file0":"1399739016","file4":"1399739020","file5":"1399739022","file3":"1399739019"},"map_files_photo_id_array":[{"photo_id":"1399739022","filename":"file5"},{"photo_id":"1399739018","filename":"file2"},{"photo_id":"1399739020","filename":"file4"},{"photo_id":"1399739017","filename":"file1"},{"photo_id":"1399739016","filename":"file0"},{"photo_id":"1399739019","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739018":["hashtag1","hashtag2"]},{"1399739020":["hashtag1","hashtag2"]},{"1399739017":["hashtag1","hashtag2"]},{"1399739019":["hashtag1","hashtag2"]},{"1399739022":["hashtag1","hashtag2"]},{"1399739016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739018, 1399739020, 1399739017, 1399739019, 1399739022, 1399739016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68485450744629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:04:42.624071
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_51_2620.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_54_3050.jpg', '/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_58_3785.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_01_2619.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_03_2596.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_07_3757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_51_2620.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_54_3050.jpg
/home/pi/Desktop/images/07112025/15/47/image_07112025_15_47_58_3785.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_01_2619.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_03_2596.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_07_3757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739030","1399739027","1399739029","1399739031","1399739028","1399739033"],"photo_ids_order":["1399739027","1399739028","1399739029","1399739030","1399739031","1399739033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bbc10410ecb827f17bef1ce5aea6663.jpg","text":"TemporaryFile(/tmp/multipartBody6469474443197742702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937143377,"filename":"image_07112025_15_48_01_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/626ed517ef0ed23903de92d57a6460e9.jpg","text":"TemporaryFile(/tmp/multipartBody6890092829566708480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937143377,"filename":"image_07112025_15_47_51_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/471ad8eaa3834fac21ed8f5efcf4b48e.jpg","text":"TemporaryFile(/tmp/multipartBody4862201889184784558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937143377,"filename":"image_07112025_15_47_58_3785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/597930c6dcd43aa45dc6654311364e02.jpg","text":"TemporaryFile(/tmp/multipartBody8849754735241444510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937143377,"filename":"image_07112025_15_48_03_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8fa4386afe7d7aaf2d18ad4a601cfa4.jpg","text":"TemporaryFile(/tmp/multipartBody7652885325378249391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937143377,"filename":"image_07112025_15_47_54_3050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4c8bd208cafb13eec7106b822944e2b.jpg","text":"TemporaryFile(/tmp/multipartBody8200003939314161234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937143377,"filename":"image_07112025_15_48_07_3757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739029","file1":"1399739028","file0":"1399739027","file4":"1399739031","file5":"1399739033","file3":"1399739030"},"map_files_photo_id_array":[{"photo_id":"1399739033","filename":"file5"},{"photo_id":"1399739029","filename":"file2"},{"photo_id":"1399739031","filename":"file4"},{"photo_id":"1399739028","filename":"file1"},{"photo_id":"1399739027","filename":"file0"},{"photo_id":"1399739030","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739030":["hashtag1","hashtag2"]},{"1399739027":["hashtag1","hashtag2"]},{"1399739029":["hashtag1","hashtag2"]},{"1399739031":["hashtag1","hashtag2"]},{"1399739028":["hashtag1","hashtag2"]},{"1399739033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739030, 1399739027, 1399739029, 1399739031, 1399739028, 1399739033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27787733078003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:05:21.840565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_25_10554.jpg', '/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_34_9590.jpg', '/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_45_10659.jpg', '/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_55_9634.jpg', '/home/pi/Desktop/images/17122025/03/02/image_17122025_03_03_04_9802.jpg', '/home/pi/Desktop/images/17122025/03/03/image_17122025_03_03_25_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_25_10554.jpg
/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_34_9590.jpg
/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_45_10659.jpg
/home/pi/Desktop/images/17122025/03/02/image_17122025_03_02_55_9634.jpg
/home/pi/Desktop/images/17122025/03/02/image_17122025_03_03_04_9802.jpg
/home/pi/Desktop/images/17122025/03/03/image_17122025_03_03_25_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":["1399739042","1399739036","1399739044","1399739038","1399739040","1399739034"],"photo_ids_order":["1399739034","1399739036","1399739038","1399739040","1399739042","1399739044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd561a969b00d7786d33e7cf266197d1.jpg","text":"TemporaryFile(/tmp/multipartBody3308191944567999206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937182459,"filename":"image_17122025_03_03_04_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c525baa106f280a52fcd899475188b3a.jpg","text":"TemporaryFile(/tmp/multipartBody7031017851577717971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937182459,"filename":"image_17122025_03_02_34_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df3db6cb7567fd38cea264d52aac9c72.jpg","text":"TemporaryFile(/tmp/multipartBody1620372353466921736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937182459,"filename":"image_17122025_03_03_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b33b5f5c4261474ca6faa4f9a991d94.jpg","text":"TemporaryFile(/tmp/multipartBody800468684121845939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937182459,"filename":"image_17122025_03_02_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b851b30b9dd55f6caa4383d84188669f.jpg","text":"TemporaryFile(/tmp/multipartBody5170361418936816826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937182459,"filename":"image_17122025_03_02_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aecf2883c0b2fe23c71d99ae08ba52c3.jpg","text":"TemporaryFile(/tmp/multipartBody1204481361455009005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937182459,"filename":"image_17122025_03_02_25_10554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739038","file1":"1399739036","file0":"1399739034","file4":"1399739042","file5":"1399739044","file3":"1399739040"},"map_files_photo_id_array":[{"photo_id":"1399739044","filename":"file5"},{"photo_id":"1399739038","filename":"file2"},{"photo_id":"1399739042","filename":"file4"},{"photo_id":"1399739036","filename":"file1"},{"photo_id":"1399739034","filename":"file0"},{"photo_id":"1399739040","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739042":["hashtag1","hashtag2"]},{"1399739036":["hashtag1","hashtag2"]},{"1399739044":["hashtag1","hashtag2"]},{"1399739038":["hashtag1","hashtag2"]},{"1399739040":["hashtag1","hashtag2"]},{"1399739034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739042, 1399739036, 1399739044, 1399739038, 1399739040, 1399739034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15072274208069 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:06:02.538069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/03/image_17122025_03_03_34_9505.jpg', '/home/pi/Desktop/images/17122025/03/03/image_17122025_03_04_04_9832.jpg', '/home/pi/Desktop/images/17122025/03/04/image_17122025_03_04_15_10562.jpg', '/home/pi/Desktop/images/17122025/03/04/image_17122025_03_04_35_10558.jpg', '/home/pi/Desktop/images/17122025/03/04/image_17122025_03_04_45_9758.jpg', '/home/pi/Desktop/images/17122025/03/04/image_17122025_03_04_54_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/03/image_17122025_03_03_34_9505.jpg
/home/pi/Desktop/images/17122025/03/03/image_17122025_03_04_04_9832.jpg
/home/pi/Desktop/images/17122025/03/04/image_17122025_03_04_15_10562.jpg
/home/pi/Desktop/images/17122025/03/04/image_17122025_03_04_35_10558.jpg
/home/pi/Desktop/images/17122025/03/04/image_17122025_03_04_45_9758.jpg
/home/pi/Desktop/images/17122025/03/04/image_17122025_03_04_54_9625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739045","1399739047","1399739052","1399739046","1399739051","1399739054"],"photo_ids_order":["1399739045","1399739046","1399739047","1399739051","1399739052","1399739054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30c17d17e42ef686f8604c3f400df5a3.jpg","text":"TemporaryFile(/tmp/multipartBody7076698625164594218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937223151,"filename":"image_17122025_03_03_34_9505.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97dadc0667103448628cc63f671953aa.jpg","text":"TemporaryFile(/tmp/multipartBody7250716076500458939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937223151,"filename":"image_17122025_03_04_15_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15cef21c80934781bc13f9c4c02f7a66.jpg","text":"TemporaryFile(/tmp/multipartBody3843050101753034253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937223151,"filename":"image_17122025_03_04_45_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7142f9b9351382144eca1c148c70a088.jpg","text":"TemporaryFile(/tmp/multipartBody1333986949192322117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937223151,"filename":"image_17122025_03_04_04_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5d115155e2d135ac7aa91c621f49a73.jpg","text":"TemporaryFile(/tmp/multipartBody7161869330809566048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937223151,"filename":"image_17122025_03_04_35_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db7ad5264f118c049fd3de8891d2e337.jpg","text":"TemporaryFile(/tmp/multipartBody45298356384375395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937223151,"filename":"image_17122025_03_04_54_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739047","file1":"1399739046","file0":"1399739045","file4":"1399739052","file5":"1399739054","file3":"1399739051"},"map_files_photo_id_array":[{"photo_id":"1399739054","filename":"file5"},{"photo_id":"1399739047","filename":"file2"},{"photo_id":"1399739052","filename":"file4"},{"photo_id":"1399739046","filename":"file1"},{"photo_id":"1399739045","filename":"file0"},{"photo_id":"1399739051","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739045":["hashtag1","hashtag2"]},{"1399739047":["hashtag1","hashtag2"]},{"1399739052":["hashtag1","hashtag2"]},{"1399739046":["hashtag1","hashtag2"]},{"1399739051":["hashtag1","hashtag2"]},{"1399739054":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739045, 1399739047, 1399739052, 1399739046, 1399739051, 1399739054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.296340465545654 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:06:42.047301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_18_11044.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_24_5974.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_26_1657.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_39_13058.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_40_1710.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_42_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_18_11044.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_24_5974.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_26_1657.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_39_13058.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_40_1710.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_42_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":["1399739063","1399739062","1399739065","1399739059","1399739061","1399739064"],"photo_ids_order":["1399739059","1399739061","1399739062","1399739063","1399739064","1399739065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5cd49c3171639a4b23619483680e0709.jpg","text":"TemporaryFile(/tmp/multipartBody4131886217240826069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937262771,"filename":"image_07112025_15_48_39_13058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/306014f240ed646858466c8771c090fd.jpg","text":"TemporaryFile(/tmp/multipartBody6901814716230639588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937262771,"filename":"image_07112025_15_48_26_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b540c8ee9ee612a2e3a5edff7a4673e.jpg","text":"TemporaryFile(/tmp/multipartBody2812992650559859500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937262771,"filename":"image_07112025_15_48_42_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1232e7428a278916e1d3be3792d11576.jpg","text":"TemporaryFile(/tmp/multipartBody6047469371927232829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937262771,"filename":"image_07112025_15_48_18_11044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74adcb677c52fda118f884f6fd2850db.jpg","text":"TemporaryFile(/tmp/multipartBody7640822522823302492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937262771,"filename":"image_07112025_15_48_24_5974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90f89f430cf672bb7a11c68257ab3661.jpg","text":"TemporaryFile(/tmp/multipartBody8895956750558872863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937262771,"filename":"image_07112025_15_48_40_1710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739062","file1":"1399739061","file0":"1399739059","file4":"1399739064","file5":"1399739065","file3":"1399739063"},"map_files_photo_id_array":[{"photo_id":"1399739065","filename":"file5"},{"photo_id":"1399739062","filename":"file2"},{"photo_id":"1399739064","filename":"file4"},{"photo_id":"1399739061","filename":"file1"},{"photo_id":"1399739059","filename":"file0"},{"photo_id":"1399739063","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739063":["hashtag1","hashtag2"]},{"1399739062":["hashtag1","hashtag2"]},{"1399739065":["hashtag1","hashtag2"]},{"1399739059":["hashtag1","hashtag2"]},{"1399739061":["hashtag1","hashtag2"]},{"1399739064":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739063, 1399739062, 1399739065, 1399739059, 1399739061, 1399739064)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.142627477645874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:07:22.301645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/04/image_17122025_03_05_04_9673.jpg', '/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_15_10639.jpg', '/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_24_9691.jpg', '/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_35_10591.jpg', '/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_45_9809.jpg', '/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_55_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/04/image_17122025_03_05_04_9673.jpg
/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_15_10639.jpg
/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_24_9691.jpg
/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_35_10591.jpg
/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_45_9809.jpg
/home/pi/Desktop/images/17122025/03/05/image_17122025_03_05_55_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":["1399739077","1399739071","1399739073","1399739067","1399739070","1399739075"],"photo_ids_order":["1399739067","1399739070","1399739071","1399739073","1399739075","1399739077"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b8365ca7ed1089852cd38c86807dd26.jpg","text":"TemporaryFile(/tmp/multipartBody523840265472505758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937302909,"filename":"image_17122025_03_05_55_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24f3b2e9d00c8f8e28b63b19a58a96e4.jpg","text":"TemporaryFile(/tmp/multipartBody7838113502140879234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937302909,"filename":"image_17122025_03_05_24_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2f6b686705c7d9e9c194f1d46ea014d.jpg","text":"TemporaryFile(/tmp/multipartBody8063631284748002135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937302909,"filename":"image_17122025_03_05_35_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a461e467943cbb437e0c967ff329a6c2.jpg","text":"TemporaryFile(/tmp/multipartBody7271595361065335549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937302909,"filename":"image_17122025_03_05_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f8fc7a18dc10a5c4615a4449844eabd.jpg","text":"TemporaryFile(/tmp/multipartBody2150153411048061978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937302909,"filename":"image_17122025_03_05_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dcb1e32c316b4246c210e8b12894ae8.jpg","text":"TemporaryFile(/tmp/multipartBody3797227470080268958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937302909,"filename":"image_17122025_03_05_45_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739071","file1":"1399739070","file0":"1399739067","file4":"1399739075","file5":"1399739077","file3":"1399739073"},"map_files_photo_id_array":[{"photo_id":"1399739077","filename":"file5"},{"photo_id":"1399739071","filename":"file2"},{"photo_id":"1399739075","filename":"file4"},{"photo_id":"1399739070","filename":"file1"},{"photo_id":"1399739067","filename":"file0"},{"photo_id":"1399739073","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739077":["hashtag1","hashtag2"]},{"1399739071":["hashtag1","hashtag2"]},{"1399739073":["hashtag1","hashtag2"]},{"1399739067":["hashtag1","hashtag2"]},{"1399739070":["hashtag1","hashtag2"]},{"1399739075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739077, 1399739071, 1399739073, 1399739067, 1399739070, 1399739075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56787467002869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:08:02.995905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/05/image_17122025_03_06_04_9565.jpg', '/home/pi/Desktop/images/17122025/03/06/image_17122025_03_06_15_10624.jpg', '/home/pi/Desktop/images/17122025/03/06/image_17122025_03_06_25_9612.jpg', '/home/pi/Desktop/images/17122025/03/06/image_17122025_03_06_34_9674.jpg', '/home/pi/Desktop/images/17122025/03/06/image_17122025_03_06_45_10685.jpg', '/home/pi/Desktop/images/17122025/03/06/image_17122025_03_07_04_9545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/05/image_17122025_03_06_04_9565.jpg
/home/pi/Desktop/images/17122025/03/06/image_17122025_03_06_15_10624.jpg
/home/pi/Desktop/images/17122025/03/06/image_17122025_03_06_25_9612.jpg
/home/pi/Desktop/images/17122025/03/06/image_17122025_03_06_34_9674.jpg
/home/pi/Desktop/images/17122025/03/06/image_17122025_03_06_45_10685.jpg
/home/pi/Desktop/images/17122025/03/06/image_17122025_03_07_04_9545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739080","1399739083","1399739085","1399739082","1399739079","1399739081"],"photo_ids_order":["1399739079","1399739080","1399739081","1399739082","1399739083","1399739085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cac93a8d5649eddbfd4eb891c72a8487.jpg","text":"TemporaryFile(/tmp/multipartBody2972015043781722909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937343596,"filename":"image_17122025_03_06_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d86824844956978297c192bea4d6282.jpg","text":"TemporaryFile(/tmp/multipartBody391065030388701747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937343596,"filename":"image_17122025_03_06_45_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d58ffd91913a13f493179b6106442809.jpg","text":"TemporaryFile(/tmp/multipartBody3039938078758902039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937343596,"filename":"image_17122025_03_07_04_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b374142ddedc01370e75a2b95bb46a9c.jpg","text":"TemporaryFile(/tmp/multipartBody5336627804259315616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937343596,"filename":"image_17122025_03_06_34_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/222ba87d5b61e63dbd49c01412cb4d08.jpg","text":"TemporaryFile(/tmp/multipartBody6939526386143055483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937343596,"filename":"image_17122025_03_06_04_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bdbb2caef434b9b299860e663e6517b.jpg","text":"TemporaryFile(/tmp/multipartBody7948366542206658427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937343596,"filename":"image_17122025_03_06_25_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739081","file1":"1399739080","file0":"1399739079","file4":"1399739083","file5":"1399739085","file3":"1399739082"},"map_files_photo_id_array":[{"photo_id":"1399739085","filename":"file5"},{"photo_id":"1399739081","filename":"file2"},{"photo_id":"1399739083","filename":"file4"},{"photo_id":"1399739080","filename":"file1"},{"photo_id":"1399739079","filename":"file0"},{"photo_id":"1399739082","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739080":["hashtag1","hashtag2"]},{"1399739083":["hashtag1","hashtag2"]},{"1399739085":["hashtag1","hashtag2"]},{"1399739082":["hashtag1","hashtag2"]},{"1399739079":["hashtag1","hashtag2"]},{"1399739081":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739080, 1399739083, 1399739085, 1399739082, 1399739079, 1399739081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.481335163116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:08:42.479991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_44_1664.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_46_1942.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_47_1648.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_49_1676.jpg', '/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_05_16155.jpg', '/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_07_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_44_1664.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_46_1942.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_47_1648.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_49_1676.jpg
/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_05_16155.jpg
/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_07_1678.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6112091541290283 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:09:03.701236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/07/image_17122025_03_07_25_10718.jpg', '/home/pi/Desktop/images/17122025/03/07/image_17122025_03_07_35_9763.jpg', '/home/pi/Desktop/images/17122025/03/07/image_17122025_03_07_55_10777.jpg', '/home/pi/Desktop/images/17122025/03/07/image_17122025_03_08_05_9718.jpg', '/home/pi/Desktop/images/17122025/03/08/image_17122025_03_08_14_9845.jpg', '/home/pi/Desktop/images/17122025/03/08/image_17122025_03_08_25_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/07/image_17122025_03_07_25_10718.jpg
/home/pi/Desktop/images/17122025/03/07/image_17122025_03_07_35_9763.jpg
/home/pi/Desktop/images/17122025/03/07/image_17122025_03_07_55_10777.jpg
/home/pi/Desktop/images/17122025/03/07/image_17122025_03_08_05_9718.jpg
/home/pi/Desktop/images/17122025/03/08/image_17122025_03_08_14_9845.jpg
/home/pi/Desktop/images/17122025/03/08/image_17122025_03_08_25_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739105","1399739098","1399739101","1399739100","1399739099","1399739103"],"photo_ids_order":["1399739098","1399739099","1399739100","1399739101","1399739103","1399739105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90ac44e67576ac40aabbb940b4354347.jpg","text":"TemporaryFile(/tmp/multipartBody4063980150971011488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937404390,"filename":"image_17122025_03_08_25_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/991a3b651b0649ea908f72b15893f37e.jpg","text":"TemporaryFile(/tmp/multipartBody8784447573836988139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937404390,"filename":"image_17122025_03_07_25_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0138e083e4f7fdb37fa5e3d52990ca98.jpg","text":"TemporaryFile(/tmp/multipartBody3289754170840993031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937404390,"filename":"image_17122025_03_08_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7aa8ca7bd29e3bf991e0290af4af0865.jpg","text":"TemporaryFile(/tmp/multipartBody4517455959027230548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937404390,"filename":"image_17122025_03_07_55_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df55e661bdc8956b094c2639421e3ebc.jpg","text":"TemporaryFile(/tmp/multipartBody1964587250185268095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937404390,"filename":"image_17122025_03_07_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9db5f902ed05b90964dfccf732ad2451.jpg","text":"TemporaryFile(/tmp/multipartBody865379846839863248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937404390,"filename":"image_17122025_03_08_14_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739100","file1":"1399739099","file0":"1399739098","file4":"1399739103","file5":"1399739105","file3":"1399739101"},"map_files_photo_id_array":[{"photo_id":"1399739105","filename":"file5"},{"photo_id":"1399739100","filename":"file2"},{"photo_id":"1399739103","filename":"file4"},{"photo_id":"1399739099","filename":"file1"},{"photo_id":"1399739098","filename":"file0"},{"photo_id":"1399739101","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739105":["hashtag1","hashtag2"]},{"1399739098":["hashtag1","hashtag2"]},{"1399739101":["hashtag1","hashtag2"]},{"1399739100":["hashtag1","hashtag2"]},{"1399739099":["hashtag1","hashtag2"]},{"1399739103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739105, 1399739098, 1399739101, 1399739100, 1399739099, 1399739103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.503183364868164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:09:42.669498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_44_1664.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_46_1942.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_47_1648.jpg', '/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_49_1676.jpg', '/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_05_16155.jpg', '/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_07_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_44_1664.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_46_1942.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_47_1648.jpg
/home/pi/Desktop/images/07112025/15/48/image_07112025_15_48_49_1676.jpg
/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_05_16155.jpg
/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_07_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":["1399739114","1399739111","1399739113","1399739112","1399739115","1399739109"],"photo_ids_order":["1399739109","1399739111","1399739112","1399739113","1399739114","1399739115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5422e98564073a29e6a6ed8a612bd14.jpg","text":"TemporaryFile(/tmp/multipartBody6127227046947928088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937443270,"filename":"image_07112025_15_49_05_16155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/415bfbb3017d8ad46b95f6eac523839e.jpg","text":"TemporaryFile(/tmp/multipartBody1945847742251098375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937443270,"filename":"image_07112025_15_48_46_1942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d625e91895624eda6edc4464371b1096.jpg","text":"TemporaryFile(/tmp/multipartBody6189044462746646525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937443270,"filename":"image_07112025_15_48_49_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/579c0b2a3443c5161ecddff357e42aea.jpg","text":"TemporaryFile(/tmp/multipartBody640218133858853657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937443270,"filename":"image_07112025_15_48_47_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06df4ed228fa8035e2fd0f7c15cf682d.jpg","text":"TemporaryFile(/tmp/multipartBody500138743995779938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937443270,"filename":"image_07112025_15_49_07_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6572db3273facd8f330b405c04e87480.jpg","text":"TemporaryFile(/tmp/multipartBody4276147760669719474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937443270,"filename":"image_07112025_15_48_44_1664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739112","file1":"1399739111","file0":"1399739109","file4":"1399739114","file5":"1399739115","file3":"1399739113"},"map_files_photo_id_array":[{"photo_id":"1399739115","filename":"file5"},{"photo_id":"1399739112","filename":"file2"},{"photo_id":"1399739114","filename":"file4"},{"photo_id":"1399739111","filename":"file1"},{"photo_id":"1399739109","filename":"file0"},{"photo_id":"1399739113","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739114":["hashtag1","hashtag2"]},{"1399739111":["hashtag1","hashtag2"]},{"1399739113":["hashtag1","hashtag2"]},{"1399739112":["hashtag1","hashtag2"]},{"1399739115":["hashtag1","hashtag2"]},{"1399739109":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739114, 1399739111, 1399739113, 1399739112, 1399739115, 1399739109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.670008420944214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:10:21.933972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/08/image_17122025_03_08_35_9757.jpg', '/home/pi/Desktop/images/17122025/03/08/image_17122025_03_08_45_9708.jpg', '/home/pi/Desktop/images/17122025/03/08/image_17122025_03_09_05_10630.jpg', '/home/pi/Desktop/images/17122025/03/09/image_17122025_03_09_34_9841.jpg', '/home/pi/Desktop/images/17122025/03/09/image_17122025_03_09_55_10860.jpg', '/home/pi/Desktop/images/17122025/03/10/image_17122025_03_10_14_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/08/image_17122025_03_08_35_9757.jpg
/home/pi/Desktop/images/17122025/03/08/image_17122025_03_08_45_9708.jpg
/home/pi/Desktop/images/17122025/03/08/image_17122025_03_09_05_10630.jpg
/home/pi/Desktop/images/17122025/03/09/image_17122025_03_09_34_9841.jpg
/home/pi/Desktop/images/17122025/03/09/image_17122025_03_09_55_10860.jpg
/home/pi/Desktop/images/17122025/03/10/image_17122025_03_10_14_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739129","1399739123","1399739125","1399739119","1399739127","1399739121"],"photo_ids_order":["1399739119","1399739121","1399739123","1399739125","1399739127","1399739129"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a463154c7d49d1098740d8aa20c2b8bf.jpg","text":"TemporaryFile(/tmp/multipartBody2867687682649707350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937482552,"filename":"image_17122025_03_10_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b3dc93779cd6693e1be973a6a3e52a9.jpg","text":"TemporaryFile(/tmp/multipartBody2096613895609615388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937482552,"filename":"image_17122025_03_09_05_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0f1c6afebf191b8329a735bacc9474d.jpg","text":"TemporaryFile(/tmp/multipartBody2229042894942636507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937482552,"filename":"image_17122025_03_09_34_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f8002e4fed82ca37976d73086ccf665.jpg","text":"TemporaryFile(/tmp/multipartBody8854959242102013164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937482552,"filename":"image_17122025_03_08_35_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e09f9761d457cf2e8397231ce211ab20.jpg","text":"TemporaryFile(/tmp/multipartBody2046354128593262695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937482552,"filename":"image_17122025_03_09_55_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/633c142a9048d110f9f9dc5c2413d286.jpg","text":"TemporaryFile(/tmp/multipartBody7913161901058695054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937482552,"filename":"image_17122025_03_08_45_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739123","file1":"1399739121","file0":"1399739119","file4":"1399739127","file5":"1399739129","file3":"1399739125"},"map_files_photo_id_array":[{"photo_id":"1399739129","filename":"file5"},{"photo_id":"1399739123","filename":"file2"},{"photo_id":"1399739127","filename":"file4"},{"photo_id":"1399739121","filename":"file1"},{"photo_id":"1399739119","filename":"file0"},{"photo_id":"1399739125","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739129":["hashtag1","hashtag2"]},{"1399739123":["hashtag1","hashtag2"]},{"1399739125":["hashtag1","hashtag2"]},{"1399739119":["hashtag1","hashtag2"]},{"1399739127":["hashtag1","hashtag2"]},{"1399739121":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739129, 1399739123, 1399739125, 1399739119, 1399739127, 1399739121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9666109085083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:11:02.859189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/10/image_17122025_03_10_35_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/10/image_17122025_03_10_35_10679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739131"],"photo_id":"1399739131","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bf5de4f0ea14f833b76115e98f3c582.jpg","text":"TemporaryFile(/tmp/multipartBody7773410458139178490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937523304,"filename":"image_17122025_03_10_35_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399739131"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399739131"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.878580331802368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:11:24.122482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/10/image_17122025_03_10_45_9729.jpg', '/home/pi/Desktop/images/17122025/03/11/image_17122025_03_11_45_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/10/image_17122025_03_10_45_9729.jpg
/home/pi/Desktop/images/17122025/03/11/image_17122025_03_11_45_10585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739135","1399739133"],"photo_ids_order":["1399739133","1399739135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/acb620ea0f9cd931986f16c6ab650d39.jpg","text":"TemporaryFile(/tmp/multipartBody4718244459023979594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937544577,"filename":"image_17122025_03_11_45_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/088bccc3ddb5a7e1339c9541e361ed09.jpg","text":"TemporaryFile(/tmp/multipartBody58043324086230138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937544577,"filename":"image_17122025_03_10_45_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399739135","file0":"1399739133"},"map_files_photo_id_array":[{"photo_id":"1399739135","filename":"file1"},{"photo_id":"1399739133","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739135":["hashtag1","hashtag2"]},{"1399739133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739135, 1399739133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.60694193840027 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:12:03.028975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:12:12.534887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:12:22.590499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/11/image_17122025_03_11_55_9762.jpg', '/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_25_9672.jpg', '/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_34_9519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/11/image_17122025_03_11_55_9762.jpg
/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_25_9672.jpg
/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_34_9519.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.36532044410705566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:12:32.717857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:12:47.815968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_09_1951.jpg', '/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_10_1654.jpg', '/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_12_1706.jpg', '/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_14_1603.jpg', '/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_31_17613.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_07_3217.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_09_1951.jpg
/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_10_1654.jpg
/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_12_1706.jpg
/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_14_1603.jpg
/home/pi/Desktop/images/07112025/15/49/image_07112025_15_49_31_17613.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_07_3217.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739152","1399739149","1399739154","1399739151","1399739150","1399739153"],"photo_ids_order":["1399739149","1399739150","1399739151","1399739152","1399739153","1399739154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/932c4a110aaf4dcfc09446ba21992dcb.jpg","text":"TemporaryFile(/tmp/multipartBody1177338678797041504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937630761,"filename":"image_07112025_15_49_14_1603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2883ff2c955900c41f4d4f4b01436e31.jpg","text":"TemporaryFile(/tmp/multipartBody7328036715871443725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937630761,"filename":"image_07112025_15_49_09_1951.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/909a9ea5eaac40565eb0f9bfb085e482.jpg","text":"TemporaryFile(/tmp/multipartBody6329085656991253755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937630761,"filename":"image_07112025_15_52_07_3217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a05955ad5cb4fecba3cd3c29410421d2.jpg","text":"TemporaryFile(/tmp/multipartBody1167633582889995153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937630761,"filename":"image_07112025_15_49_12_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe6d9256b05e5ec1893e36e99b38a90e.jpg","text":"TemporaryFile(/tmp/multipartBody8600665404196907096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937630761,"filename":"image_07112025_15_49_10_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d29b6410dc27376d2418b0cd9cb42cc6.jpg","text":"TemporaryFile(/tmp/multipartBody476367895027745959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937630761,"filename":"image_07112025_15_49_31_17613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739151","file1":"1399739150","file0":"1399739149","file4":"1399739153","file5":"1399739154","file3":"1399739152"},"map_files_photo_id_array":[{"photo_id":"1399739154","filename":"file5"},{"photo_id":"1399739151","filename":"file2"},{"photo_id":"1399739153","filename":"file4"},{"photo_id":"1399739150","filename":"file1"},{"photo_id":"1399739149","filename":"file0"},{"photo_id":"1399739152","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739152":["hashtag1","hashtag2"]},{"1399739149":["hashtag1","hashtag2"]},{"1399739154":["hashtag1","hashtag2"]},{"1399739151":["hashtag1","hashtag2"]},{"1399739150":["hashtag1","hashtag2"]},{"1399739153":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739152, 1399739149, 1399739154, 1399739151, 1399739150, 1399739153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.673675537109375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:13:32.078967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:13:41.932344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_12_4440.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_20_8665.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_22_1546.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_24_1593.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_25_1606.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_27_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_12_4440.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_20_8665.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_22_1546.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_24_1593.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_25_1606.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_27_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739162","1399739164","1399739166","1399739160","1399739163","1399739165"],"photo_ids_order":["1399739160","1399739162","1399739163","1399739164","1399739165","1399739166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dce461a125defed157914d2e32d0010a.jpg","text":"TemporaryFile(/tmp/multipartBody4939712388844382164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937682656,"filename":"image_07112025_15_52_20_8665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/334029a041dc783914256705fbc974d8.jpg","text":"TemporaryFile(/tmp/multipartBody6313497111839646143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937682656,"filename":"image_07112025_15_52_24_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6dcd07096abfb6001e6c232a1bbbdfd9.jpg","text":"TemporaryFile(/tmp/multipartBody5895479347874178192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937682656,"filename":"image_07112025_15_52_27_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/871f4ce2b8450c2f11c6bd62858b5ed1.jpg","text":"TemporaryFile(/tmp/multipartBody5827542196389157897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937682656,"filename":"image_07112025_15_52_12_4440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f009a33764a1652a7991e0ad99c630a8.jpg","text":"TemporaryFile(/tmp/multipartBody1155288785629959808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937682656,"filename":"image_07112025_15_52_22_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3ccfa943052a605cfda2cc423ab24ba.jpg","text":"TemporaryFile(/tmp/multipartBody2469879050082926141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937682656,"filename":"image_07112025_15_52_25_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739163","file1":"1399739162","file0":"1399739160","file4":"1399739165","file5":"1399739166","file3":"1399739164"},"map_files_photo_id_array":[{"photo_id":"1399739166","filename":"file5"},{"photo_id":"1399739163","filename":"file2"},{"photo_id":"1399739165","filename":"file4"},{"photo_id":"1399739162","filename":"file1"},{"photo_id":"1399739160","filename":"file0"},{"photo_id":"1399739164","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739162":["hashtag1","hashtag2"]},{"1399739164":["hashtag1","hashtag2"]},{"1399739166":["hashtag1","hashtag2"]},{"1399739160":["hashtag1","hashtag2"]},{"1399739163":["hashtag1","hashtag2"]},{"1399739165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739162, 1399739164, 1399739166, 1399739160, 1399739163, 1399739165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68774938583374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:14:25.294825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/11/image_17122025_03_11_55_9762.jpg', '/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_25_9672.jpg', '/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_34_9519.jpg', '/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_55_9722.jpg', '/home/pi/Desktop/images/17122025/03/12/image_17122025_03_13_05_9847.jpg', '/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_14_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/11/image_17122025_03_11_55_9762.jpg
/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_25_9672.jpg
/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_34_9519.jpg
/home/pi/Desktop/images/17122025/03/12/image_17122025_03_12_55_9722.jpg
/home/pi/Desktop/images/17122025/03/12/image_17122025_03_13_05_9847.jpg
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_14_9643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739173","1399739181","1399739175","1399739178","1399739171","1399739168"],"photo_ids_order":["1399739168","1399739171","1399739173","1399739175","1399739178","1399739181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fb345df6434e8b1e09aaceb46d9e863.jpg","text":"TemporaryFile(/tmp/multipartBody4305013090606739308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937725866,"filename":"image_17122025_03_12_34_9519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71a4ec0656d14a641094576e076c168b.jpg","text":"TemporaryFile(/tmp/multipartBody1743369408099896115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937725866,"filename":"image_17122025_03_13_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73e2bd84f61b0e243ef6e9f6ba6467aa.jpg","text":"TemporaryFile(/tmp/multipartBody4457115948099259596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937725866,"filename":"image_17122025_03_12_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0037ae7ed3a5e7c007d4ce14badf7a95.jpg","text":"TemporaryFile(/tmp/multipartBody8764977904012207742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937725866,"filename":"image_17122025_03_13_05_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f228ffbf000f81649627c7de32237d2f.jpg","text":"TemporaryFile(/tmp/multipartBody8174780369356563975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937725866,"filename":"image_17122025_03_12_25_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c064e2bed41a43d601eac8b552f9e040.jpg","text":"TemporaryFile(/tmp/multipartBody2431159813900468008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937725866,"filename":"image_17122025_03_11_55_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739173","file1":"1399739171","file0":"1399739168","file4":"1399739178","file5":"1399739181","file3":"1399739175"},"map_files_photo_id_array":[{"photo_id":"1399739181","filename":"file5"},{"photo_id":"1399739173","filename":"file2"},{"photo_id":"1399739178","filename":"file4"},{"photo_id":"1399739171","filename":"file1"},{"photo_id":"1399739168","filename":"file0"},{"photo_id":"1399739175","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739173":["hashtag1","hashtag2"]},{"1399739181":["hashtag1","hashtag2"]},{"1399739175":["hashtag1","hashtag2"]},{"1399739178":["hashtag1","hashtag2"]},{"1399739171":["hashtag1","hashtag2"]},{"1399739168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739173, 1399739181, 1399739175, 1399739178, 1399739171, 1399739168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51526427268982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:15:12.529504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:15:22.592383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_25_10837.jpg', '/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_35_9722.jpg', '/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_44_9589.jpg', '/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_55_10514.jpg', '/home/pi/Desktop/images/17122025/03/13/image_17122025_03_14_05_9666.jpg', '/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_14_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_25_10837.jpg
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_35_9722.jpg
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_44_9589.jpg
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_55_10514.jpg
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_14_05_9666.jpg
/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_14_9628.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.7980611324310303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:15:32.546896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:15:49.956231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_28_1642.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_32_3632.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_35_2721.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_37_2609.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_41_3643.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_44_2845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_28_1642.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_32_3632.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_35_2721.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_37_2609.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_41_3643.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_44_2845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739201","1399739197","1399739200","1399739199","1399739202","1399739198"],"photo_ids_order":["1399739197","1399739198","1399739199","1399739200","1399739201","1399739202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c102cd85ccea85c2c7d6f75d50329f6.jpg","text":"TemporaryFile(/tmp/multipartBody8812199107432365666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937810710,"filename":"image_07112025_15_52_41_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e88e23e6ab02ee1db5bf352ec820724.jpg","text":"TemporaryFile(/tmp/multipartBody3191342207701632682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937810710,"filename":"image_07112025_15_52_28_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9341089470adac3d044fb11b852637fa.jpg","text":"TemporaryFile(/tmp/multipartBody6545839450012309467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937810710,"filename":"image_07112025_15_52_37_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a486c2dcff9614d07c8d49ca76143d1.jpg","text":"TemporaryFile(/tmp/multipartBody7513250774586672779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937810710,"filename":"image_07112025_15_52_35_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/016376af2e538b8ad2d22eb97dabfbe0.jpg","text":"TemporaryFile(/tmp/multipartBody7891173865788452679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937810710,"filename":"image_07112025_15_52_44_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf7bac92453dfbcd677250581072b600.jpg","text":"TemporaryFile(/tmp/multipartBody3465515512522611319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937810710,"filename":"image_07112025_15_52_32_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739199","file1":"1399739198","file0":"1399739197","file4":"1399739201","file5":"1399739202","file3":"1399739200"},"map_files_photo_id_array":[{"photo_id":"1399739202","filename":"file5"},{"photo_id":"1399739199","filename":"file2"},{"photo_id":"1399739201","filename":"file4"},{"photo_id":"1399739198","filename":"file1"},{"photo_id":"1399739197","filename":"file0"},{"photo_id":"1399739200","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739201":["hashtag1","hashtag2"]},{"1399739197":["hashtag1","hashtag2"]},{"1399739200":["hashtag1","hashtag2"]},{"1399739199":["hashtag1","hashtag2"]},{"1399739202":["hashtag1","hashtag2"]},{"1399739198":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739201, 1399739197, 1399739200, 1399739199, 1399739202, 1399739198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49107241630554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:16:32.222488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:16:42.091972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_46_2592.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_50_3590.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_53_2566.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_55_2845.jpg', '/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_58_2615.jpg', '/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_01_3071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_46_2592.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_50_3590.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_53_2566.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_55_2845.jpg
/home/pi/Desktop/images/07112025/15/52/image_07112025_15_52_58_2615.jpg
/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_01_3071.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739213","1399739210","1399739212","1399739209","1399739211","1399739208"],"photo_ids_order":["1399739208","1399739209","1399739210","1399739211","1399739212","1399739213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d476932a76682a1ed324656ad3d0ba5.jpg","text":"TemporaryFile(/tmp/multipartBody7112220419822402957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937862812,"filename":"image_07112025_15_53_01_3071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92eef3ad2b7c2bb7f958b58e423972db.jpg","text":"TemporaryFile(/tmp/multipartBody1516090963247638184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937862812,"filename":"image_07112025_15_52_53_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1f238dee32b1aa38b60f2d947ec8dbc.jpg","text":"TemporaryFile(/tmp/multipartBody606404579027211702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937862812,"filename":"image_07112025_15_52_58_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/969e64cf0303bf02cbb38327c19102b8.jpg","text":"TemporaryFile(/tmp/multipartBody2117882961915898155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937862812,"filename":"image_07112025_15_52_50_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2155ff1c4b64370615dc6f8b8119128.jpg","text":"TemporaryFile(/tmp/multipartBody4478725606570524933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937862812,"filename":"image_07112025_15_52_55_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e32edc0d00c4dbafc28c95379c0203a.jpg","text":"TemporaryFile(/tmp/multipartBody225784927011487651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937862812,"filename":"image_07112025_15_52_46_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739210","file1":"1399739209","file0":"1399739208","file4":"1399739212","file5":"1399739213","file3":"1399739211"},"map_files_photo_id_array":[{"photo_id":"1399739213","filename":"file5"},{"photo_id":"1399739210","filename":"file2"},{"photo_id":"1399739212","filename":"file4"},{"photo_id":"1399739209","filename":"file1"},{"photo_id":"1399739208","filename":"file0"},{"photo_id":"1399739211","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739213":["hashtag1","hashtag2"]},{"1399739210":["hashtag1","hashtag2"]},{"1399739212":["hashtag1","hashtag2"]},{"1399739209":["hashtag1","hashtag2"]},{"1399739211":["hashtag1","hashtag2"]},{"1399739208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739213, 1399739210, 1399739212, 1399739209, 1399739211, 1399739208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44280672073364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:17:22.485480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_25_10837.jpg', '/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_35_9722.jpg', '/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_44_9589.jpg', '/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_55_10514.jpg', '/home/pi/Desktop/images/17122025/03/13/image_17122025_03_14_05_9666.jpg', '/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_14_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_25_10837.jpg
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_35_9722.jpg
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_44_9589.jpg
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_13_55_10514.jpg
/home/pi/Desktop/images/17122025/03/13/image_17122025_03_14_05_9666.jpg
/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_14_9628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739222","1399739225","1399739224","1399739215","1399739218","1399739220"],"photo_ids_order":["1399739215","1399739218","1399739220","1399739222","1399739224","1399739225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69d9b95f9f45189951152bbff6ef7a75.jpg","text":"TemporaryFile(/tmp/multipartBody8384440309852575921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937903069,"filename":"image_17122025_03_13_55_10514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/552d834742b34a8d1fbca958ec4609bb.jpg","text":"TemporaryFile(/tmp/multipartBody4007600097596034717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937903069,"filename":"image_17122025_03_14_14_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f60f027f12e26cee50a1ef8cad659c4.jpg","text":"TemporaryFile(/tmp/multipartBody558513029306611401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937903069,"filename":"image_17122025_03_14_05_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72a3bbc87e748b3edb78a4d9438dd6b6.jpg","text":"TemporaryFile(/tmp/multipartBody949268690786189650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937903069,"filename":"image_17122025_03_13_25_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68df524f5135cc400b2335a2b60051ad.jpg","text":"TemporaryFile(/tmp/multipartBody1336323998170620953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937903069,"filename":"image_17122025_03_13_35_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2f4c266da277fc9f065b93001c776d3.jpg","text":"TemporaryFile(/tmp/multipartBody5089767282933961497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937903069,"filename":"image_17122025_03_13_44_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739220","file1":"1399739218","file0":"1399739215","file4":"1399739224","file5":"1399739225","file3":"1399739222"},"map_files_photo_id_array":[{"photo_id":"1399739225","filename":"file5"},{"photo_id":"1399739220","filename":"file2"},{"photo_id":"1399739224","filename":"file4"},{"photo_id":"1399739218","filename":"file1"},{"photo_id":"1399739215","filename":"file0"},{"photo_id":"1399739222","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739222":["hashtag1","hashtag2"]},{"1399739225":["hashtag1","hashtag2"]},{"1399739224":["hashtag1","hashtag2"]},{"1399739215":["hashtag1","hashtag2"]},{"1399739218":["hashtag1","hashtag2"]},{"1399739220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739222, 1399739225, 1399739224, 1399739215, 1399739218, 1399739220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.047905921936035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:18:03.006097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_35_10172.jpg', '/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_45_9707.jpg', '/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_54_9598.jpg', '/home/pi/Desktop/images/17122025/03/14/image_17122025_03_15_04_9910.jpg', '/home/pi/Desktop/images/17122025/03/15/image_17122025_03_15_14_9893.jpg', '/home/pi/Desktop/images/17122025/03/15/image_17122025_03_15_25_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_35_10172.jpg
/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_45_9707.jpg
/home/pi/Desktop/images/17122025/03/14/image_17122025_03_14_54_9598.jpg
/home/pi/Desktop/images/17122025/03/14/image_17122025_03_15_04_9910.jpg
/home/pi/Desktop/images/17122025/03/15/image_17122025_03_15_14_9893.jpg
/home/pi/Desktop/images/17122025/03/15/image_17122025_03_15_25_10687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739228","1399739230","1399739233","1399739227","1399739235","1399739231"],"photo_ids_order":["1399739227","1399739228","1399739230","1399739231","1399739233","1399739235"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cde29c453a1398e84e268ad50ac8199.jpg","text":"TemporaryFile(/tmp/multipartBody6504737959343635452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937946125,"filename":"image_17122025_03_14_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4812d808787cfbe10fd275739c4b7051.jpg","text":"TemporaryFile(/tmp/multipartBody1135800177539707535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937946125,"filename":"image_17122025_03_14_54_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/940d7ed7512751ac6c1d60dabf90b22f.jpg","text":"TemporaryFile(/tmp/multipartBody7245523877804002856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937946125,"filename":"image_17122025_03_15_14_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/395f07677c10221b5c40a516c4f03c38.jpg","text":"TemporaryFile(/tmp/multipartBody6478647784444420153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937946125,"filename":"image_17122025_03_14_35_10172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26f3f9700b26a7755af4394d82046890.jpg","text":"TemporaryFile(/tmp/multipartBody8879041694996072945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937946125,"filename":"image_17122025_03_15_25_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d60c8e5b5b3663141b9bca1cf5f1c079.jpg","text":"TemporaryFile(/tmp/multipartBody274115535733245570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937946125,"filename":"image_17122025_03_15_04_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739230","file1":"1399739228","file0":"1399739227","file4":"1399739233","file5":"1399739235","file3":"1399739231"},"map_files_photo_id_array":[{"photo_id":"1399739235","filename":"file5"},{"photo_id":"1399739230","filename":"file2"},{"photo_id":"1399739233","filename":"file4"},{"photo_id":"1399739228","filename":"file1"},{"photo_id":"1399739227","filename":"file0"},{"photo_id":"1399739231","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739228":["hashtag1","hashtag2"]},{"1399739230":["hashtag1","hashtag2"]},{"1399739233":["hashtag1","hashtag2"]},{"1399739227":["hashtag1","hashtag2"]},{"1399739235":["hashtag1","hashtag2"]},{"1399739231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739228, 1399739230, 1399739233, 1399739227, 1399739235, 1399739231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.88636565208435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:18:42.563835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_14_13287.jpg', '/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_16_1699.jpg', '/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_18_1732.jpg', '/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_35_16910.jpg', '/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_58_23543.jpg', '/home/pi/Desktop/images/07112025/15/53/image_07112025_15_54_00_1689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_14_13287.jpg
/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_16_1699.jpg
/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_18_1732.jpg
/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_35_16910.jpg
/home/pi/Desktop/images/07112025/15/53/image_07112025_15_53_58_23543.jpg
/home/pi/Desktop/images/07112025/15/53/image_07112025_15_54_00_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":["1399739249","1399739245","1399739248","1399739247","1399739250","1399739246"],"photo_ids_order":["1399739245","1399739246","1399739247","1399739248","1399739249","1399739250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f47f9745103f151ce402789b9f744f4c.jpg","text":"TemporaryFile(/tmp/multipartBody3512974180951888705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937983298,"filename":"image_07112025_15_53_58_23543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96492834de67be4829e77e6b2f267c5a.jpg","text":"TemporaryFile(/tmp/multipartBody3947281269781956251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937983298,"filename":"image_07112025_15_53_14_13287.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd05130a42eede79e7d7c399cdb5e8e5.jpg","text":"TemporaryFile(/tmp/multipartBody303276897573807755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937983298,"filename":"image_07112025_15_53_35_16910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d263fe81fa8e66679fb7012d9530ae79.jpg","text":"TemporaryFile(/tmp/multipartBody4499718633833770992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937983298,"filename":"image_07112025_15_53_18_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1163283f1e4713d3509ca93dfd700b02.jpg","text":"TemporaryFile(/tmp/multipartBody2172233243377814143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937983298,"filename":"image_07112025_15_54_00_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6d29eabab67bb6cb4145362cba043e9.jpg","text":"TemporaryFile(/tmp/multipartBody2106276797241976976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765937983298,"filename":"image_07112025_15_53_16_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739247","file1":"1399739246","file0":"1399739245","file4":"1399739249","file5":"1399739250","file3":"1399739248"},"map_files_photo_id_array":[{"photo_id":"1399739250","filename":"file5"},{"photo_id":"1399739247","filename":"file2"},{"photo_id":"1399739249","filename":"file4"},{"photo_id":"1399739246","filename":"file1"},{"photo_id":"1399739245","filename":"file0"},{"photo_id":"1399739248","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739249":["hashtag1","hashtag2"]},{"1399739245":["hashtag1","hashtag2"]},{"1399739248":["hashtag1","hashtag2"]},{"1399739247":["hashtag1","hashtag2"]},{"1399739250":["hashtag1","hashtag2"]},{"1399739246":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739249, 1399739245, 1399739248, 1399739247, 1399739250, 1399739246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20145535469055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:19:21.810850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/15/image_17122025_03_15_34_9646.jpg', '/home/pi/Desktop/images/17122025/03/15/image_17122025_03_16_05_9720.jpg', '/home/pi/Desktop/images/17122025/03/16/image_17122025_03_16_14_9581.jpg', '/home/pi/Desktop/images/17122025/03/16/image_17122025_03_16_35_9759.jpg', '/home/pi/Desktop/images/17122025/03/17/image_17122025_03_17_14_9641.jpg', '/home/pi/Desktop/images/17122025/03/18/image_17122025_03_18_34_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/15/image_17122025_03_15_34_9646.jpg
/home/pi/Desktop/images/17122025/03/15/image_17122025_03_16_05_9720.jpg
/home/pi/Desktop/images/17122025/03/16/image_17122025_03_16_14_9581.jpg
/home/pi/Desktop/images/17122025/03/16/image_17122025_03_16_35_9759.jpg
/home/pi/Desktop/images/17122025/03/17/image_17122025_03_17_14_9641.jpg
/home/pi/Desktop/images/17122025/03/18/image_17122025_03_18_34_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":["1399739255","1399739260","1399739257","1399739251","1399739253","1399739262"],"photo_ids_order":["1399739251","1399739253","1399739255","1399739257","1399739260","1399739262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d7cd20a64b1f2eed2859aeab6c31b70.jpg","text":"TemporaryFile(/tmp/multipartBody8602368864788660961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938022382,"filename":"image_17122025_03_16_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e374b5b4250682b2a322530174525252.jpg","text":"TemporaryFile(/tmp/multipartBody6404079972083110495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938022382,"filename":"image_17122025_03_17_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdc73c28f341f80b89e9117e34ccfa1f.jpg","text":"TemporaryFile(/tmp/multipartBody8876700097737091050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938022382,"filename":"image_17122025_03_16_35_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/284f333d67b77c0f9266e6d8c0213a82.jpg","text":"TemporaryFile(/tmp/multipartBody956118010178959168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938022382,"filename":"image_17122025_03_15_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1017bfa428f491bb6695e0f36f9095e2.jpg","text":"TemporaryFile(/tmp/multipartBody882295336377093215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938022382,"filename":"image_17122025_03_16_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c414b12977ac48a19896ad8c7a6f8529.jpg","text":"TemporaryFile(/tmp/multipartBody1939941276011473927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938022382,"filename":"image_17122025_03_18_34_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739255","file1":"1399739253","file0":"1399739251","file4":"1399739260","file5":"1399739262","file3":"1399739257"},"map_files_photo_id_array":[{"photo_id":"1399739262","filename":"file5"},{"photo_id":"1399739255","filename":"file2"},{"photo_id":"1399739260","filename":"file4"},{"photo_id":"1399739253","filename":"file1"},{"photo_id":"1399739251","filename":"file0"},{"photo_id":"1399739257","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739255":["hashtag1","hashtag2"]},{"1399739260":["hashtag1","hashtag2"]},{"1399739257":["hashtag1","hashtag2"]},{"1399739251":["hashtag1","hashtag2"]},{"1399739253":["hashtag1","hashtag2"]},{"1399739262":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739255, 1399739260, 1399739257, 1399739251, 1399739253, 1399739262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.729527711868286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:20:02.566351
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/18/image_17122025_03_18_44_9796.jpg', '/home/pi/Desktop/images/17122025/03/18/image_17122025_03_18_55_10830.jpg', '/home/pi/Desktop/images/17122025/03/18/image_17122025_03_19_05_9769.jpg', '/home/pi/Desktop/images/17122025/03/19/image_17122025_03_19_15_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/18/image_17122025_03_18_44_9796.jpg
/home/pi/Desktop/images/17122025/03/18/image_17122025_03_18_55_10830.jpg
/home/pi/Desktop/images/17122025/03/18/image_17122025_03_19_05_9769.jpg
/home/pi/Desktop/images/17122025/03/19/image_17122025_03_19_15_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":["1399739263","1399739266","1399739265","1399739267"],"photo_ids_order":["1399739263","1399739265","1399739266","1399739267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b03c56902038371efbf54692bf0ca02a.jpg","text":"TemporaryFile(/tmp/multipartBody484845664833430167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938063090,"filename":"image_17122025_03_18_44_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff1c86a6f8bb4366d5f85f15dc0ae46f.jpg","text":"TemporaryFile(/tmp/multipartBody4531449786547261914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938063090,"filename":"image_17122025_03_19_05_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0a13d6c54534ec5fc77e9a26eff0194.jpg","text":"TemporaryFile(/tmp/multipartBody5493341747119378239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938063090,"filename":"image_17122025_03_18_55_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d4226854af1158c0abf924c84b5b4bc.jpg","text":"TemporaryFile(/tmp/multipartBody8560142680009799036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938063090,"filename":"image_17122025_03_19_15_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739266","file1":"1399739265","file0":"1399739263","file3":"1399739267"},"map_files_photo_id_array":[{"photo_id":"1399739266","filename":"file2"},{"photo_id":"1399739265","filename":"file1"},{"photo_id":"1399739263","filename":"file0"},{"photo_id":"1399739267","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739263":["hashtag1","hashtag2"]},{"1399739266":["hashtag1","hashtag2"]},{"1399739265":["hashtag1","hashtag2"]},{"1399739267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739263, 1399739266, 1399739265, 1399739267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.5740864276886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:20:32.127818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:20:42.085156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_02_1567.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_03_1554.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_05_1614.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_07_1811.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_08_1632.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_11_3244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_02_1567.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_03_1554.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_05_1614.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_07_1811.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_08_1632.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_11_3244.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6975693702697754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:21:02.797549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/19/image_17122025_03_19_45_9602.jpg', '/home/pi/Desktop/images/17122025/03/20/image_17122025_03_20_14_9932.jpg', '/home/pi/Desktop/images/17122025/03/20/image_17122025_03_20_44_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/19/image_17122025_03_19_45_9602.jpg
/home/pi/Desktop/images/17122025/03/20/image_17122025_03_20_14_9932.jpg
/home/pi/Desktop/images/17122025/03/20/image_17122025_03_20_44_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":["1399739281","1399739283","1399739282"],"photo_ids_order":["1399739281","1399739282","1399739283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d064562a7e79bea2a66582c8bc0ff0c.jpg","text":"TemporaryFile(/tmp/multipartBody4880534294682587466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938123315,"filename":"image_17122025_03_19_45_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19f2a557fe8290891ed1fdb4f8d685bb.jpg","text":"TemporaryFile(/tmp/multipartBody6796830661782660167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938123315,"filename":"image_17122025_03_20_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a9503404f4e5ac95d35e320da4522cb.jpg","text":"TemporaryFile(/tmp/multipartBody197290446979328070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938123315,"filename":"image_17122025_03_20_14_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739283","file1":"1399739282","file0":"1399739281"},"map_files_photo_id_array":[{"photo_id":"1399739283","filename":"file2"},{"photo_id":"1399739282","filename":"file1"},{"photo_id":"1399739281","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739281":["hashtag1","hashtag2"]},{"1399739283":["hashtag1","hashtag2"]},{"1399739282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739281, 1399739283, 1399739282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.886291027069092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:21:32.272646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:21:42.266155
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_02_1567.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_03_1554.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_05_1614.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_07_1811.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_08_1632.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_11_3244.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_02_1567.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_03_1554.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_05_1614.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_07_1811.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_08_1632.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_11_3244.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739293","1399739292","1399739295","1399739289","1399739294","1399739291"],"photo_ids_order":["1399739289","1399739291","1399739292","1399739293","1399739294","1399739295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40cdc17d872bde769c821145d6fb2df2.jpg","text":"TemporaryFile(/tmp/multipartBody2563445765191380166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938162871,"filename":"image_07112025_15_54_07_1811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/842a9bb865f55614e146dcf369595c7e.jpg","text":"TemporaryFile(/tmp/multipartBody894718761339592169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938162871,"filename":"image_07112025_15_54_05_1614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4dd3dd8415a3dec5a65516bfdff42b00.jpg","text":"TemporaryFile(/tmp/multipartBody2094337475846156985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938162871,"filename":"image_07112025_15_54_11_3244.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6db0e26239e5f8e5f2803ef2aec18cc8.jpg","text":"TemporaryFile(/tmp/multipartBody2347867502103553791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938162871,"filename":"image_07112025_15_54_02_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/530467804b0d9f2571296690a7955a68.jpg","text":"TemporaryFile(/tmp/multipartBody1513662205538100914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938162871,"filename":"image_07112025_15_54_08_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09e3774765ee3802d3e27cd92b2620c2.jpg","text":"TemporaryFile(/tmp/multipartBody4857650396448842745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938162871,"filename":"image_07112025_15_54_03_1554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739292","file1":"1399739291","file0":"1399739289","file4":"1399739294","file5":"1399739295","file3":"1399739293"},"map_files_photo_id_array":[{"photo_id":"1399739295","filename":"file5"},{"photo_id":"1399739292","filename":"file2"},{"photo_id":"1399739294","filename":"file4"},{"photo_id":"1399739291","filename":"file1"},{"photo_id":"1399739289","filename":"file0"},{"photo_id":"1399739293","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739293":["hashtag1","hashtag2"]},{"1399739292":["hashtag1","hashtag2"]},{"1399739295":["hashtag1","hashtag2"]},{"1399739289":["hashtag1","hashtag2"]},{"1399739294":["hashtag1","hashtag2"]},{"1399739291":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739293, 1399739292, 1399739295, 1399739289, 1399739294, 1399739291)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.95149874687195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:22:32.511524
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:22:42.443975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_13_1997.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_15_1597.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_17_1624.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_18_1801.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_20_1599.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_22_1554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_13_1997.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_15_1597.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_17_1624.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_18_1801.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_20_1599.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_22_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":["1399739312","1399739306","1399739308","1399739301","1399739310","1399739304"],"photo_ids_order":["1399739301","1399739304","1399739306","1399739308","1399739310","1399739312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3bde64089ac654e2a18c7abd10a9deb7.jpg","text":"TemporaryFile(/tmp/multipartBody7892522797000233637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938224545,"filename":"image_07112025_15_54_22_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ea9e8d42c3034a38f9c5f3e593d4476.jpg","text":"TemporaryFile(/tmp/multipartBody107782162007471802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938224545,"filename":"image_07112025_15_54_17_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a80579a24ae83b5e14f5f3d733b0af02.jpg","text":"TemporaryFile(/tmp/multipartBody3721056691869621343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938224545,"filename":"image_07112025_15_54_18_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62449a5d4ed2720f8c7b106a4033f140.jpg","text":"TemporaryFile(/tmp/multipartBody66597246560422334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938224545,"filename":"image_07112025_15_54_13_1997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a84a5d077c27361656d379603b311f0.jpg","text":"TemporaryFile(/tmp/multipartBody6082197950082256096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938224545,"filename":"image_07112025_15_54_20_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c28ea679da771e088c512d11608deaf7.jpg","text":"TemporaryFile(/tmp/multipartBody8577060099826492019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938224545,"filename":"image_07112025_15_54_15_1597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739306","file1":"1399739304","file0":"1399739301","file4":"1399739310","file5":"1399739312","file3":"1399739308"},"map_files_photo_id_array":[{"photo_id":"1399739312","filename":"file5"},{"photo_id":"1399739306","filename":"file2"},{"photo_id":"1399739310","filename":"file4"},{"photo_id":"1399739304","filename":"file1"},{"photo_id":"1399739301","filename":"file0"},{"photo_id":"1399739308","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739312":["hashtag1","hashtag2"]},{"1399739306":["hashtag1","hashtag2"]},{"1399739308":["hashtag1","hashtag2"]},{"1399739301":["hashtag1","hashtag2"]},{"1399739310":["hashtag1","hashtag2"]},{"1399739304":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739312, 1399739306, 1399739308, 1399739301, 1399739310, 1399739304)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.11690902709961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:23:32.761132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:23:42.680256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_23_1659.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_25_1652.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_27_1649.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_28_1734.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_30_1635.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_32_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_23_1659.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_25_1652.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_27_1649.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_28_1734.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_30_1635.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_32_1669.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6602573394775391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:24:02.560239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/20/image_17122025_03_20_55_10680.jpg', '/home/pi/Desktop/images/17122025/03/20/image_17122025_03_21_05_9640.jpg', '/home/pi/Desktop/images/17122025/03/21/image_17122025_03_21_24_9679.jpg', '/home/pi/Desktop/images/17122025/03/21/image_17122025_03_21_34_10233.jpg', '/home/pi/Desktop/images/17122025/03/21/image_17122025_03_21_44_9623.jpg', '/home/pi/Desktop/images/17122025/03/21/image_17122025_03_22_05_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/20/image_17122025_03_20_55_10680.jpg
/home/pi/Desktop/images/17122025/03/20/image_17122025_03_21_05_9640.jpg
/home/pi/Desktop/images/17122025/03/21/image_17122025_03_21_24_9679.jpg
/home/pi/Desktop/images/17122025/03/21/image_17122025_03_21_34_10233.jpg
/home/pi/Desktop/images/17122025/03/21/image_17122025_03_21_44_9623.jpg
/home/pi/Desktop/images/17122025/03/21/image_17122025_03_22_05_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739327","1399739324","1399739326","1399739329","1399739325","1399739330"],"photo_ids_order":["1399739324","1399739325","1399739326","1399739327","1399739329","1399739330"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3c3fb35d6a124a8ec458fb20df49c4b.jpg","text":"TemporaryFile(/tmp/multipartBody7274950284103625087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938304712,"filename":"image_17122025_03_21_34_10233.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2a9738576ebcade5be1e3f6223faf87.jpg","text":"TemporaryFile(/tmp/multipartBody1823837270414478229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938304712,"filename":"image_17122025_03_20_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e52e074de57fad291ab6a6a512ce4be.jpg","text":"TemporaryFile(/tmp/multipartBody3084045849726079910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938304712,"filename":"image_17122025_03_21_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be2ea9ea4d5ab9eef87d47118c8c5b28.jpg","text":"TemporaryFile(/tmp/multipartBody4943836380479208171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938304712,"filename":"image_17122025_03_21_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e2465e9d9e26f8098d3587cbff682cb.jpg","text":"TemporaryFile(/tmp/multipartBody2650902597298630472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938304712,"filename":"image_17122025_03_21_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43d9f71dc8c07d3761a2c324bd270ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6755124841002613577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938304712,"filename":"image_17122025_03_22_05_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739326","file1":"1399739325","file0":"1399739324","file4":"1399739329","file5":"1399739330","file3":"1399739327"},"map_files_photo_id_array":[{"photo_id":"1399739330","filename":"file5"},{"photo_id":"1399739326","filename":"file2"},{"photo_id":"1399739329","filename":"file4"},{"photo_id":"1399739325","filename":"file1"},{"photo_id":"1399739324","filename":"file0"},{"photo_id":"1399739327","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739327":["hashtag1","hashtag2"]},{"1399739324":["hashtag1","hashtag2"]},{"1399739326":["hashtag1","hashtag2"]},{"1399739329":["hashtag1","hashtag2"]},{"1399739325":["hashtag1","hashtag2"]},{"1399739330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739327, 1399739324, 1399739326, 1399739329, 1399739325, 1399739330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78087568283081 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:24:42.045738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_23_1659.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_25_1652.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_27_1649.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_28_1734.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_30_1635.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_32_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_23_1659.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_25_1652.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_27_1649.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_28_1734.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_30_1635.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_32_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":["1399739341","1399739335","1399739338","1399739340","1399739337","1399739339"],"photo_ids_order":["1399739335","1399739337","1399739338","1399739339","1399739340","1399739341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4284d607aba5bfbda192aea7bd6080b9.jpg","text":"TemporaryFile(/tmp/multipartBody2996753961128316415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938342681,"filename":"image_07112025_15_54_32_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7d177f1e8490c68403aab406daf1929.jpg","text":"TemporaryFile(/tmp/multipartBody408127245843636237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938342681,"filename":"image_07112025_15_54_23_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed9a2ee5995aa0227726ea05158f2214.jpg","text":"TemporaryFile(/tmp/multipartBody6507414712031793462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938342681,"filename":"image_07112025_15_54_27_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ea2d60339ac7751f052e137c130bcd0.jpg","text":"TemporaryFile(/tmp/multipartBody8610546619514376931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938342681,"filename":"image_07112025_15_54_30_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77b49881186f5564aaafe2d2f0424295.jpg","text":"TemporaryFile(/tmp/multipartBody8862543911651034627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938342681,"filename":"image_07112025_15_54_25_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f69491b2e7f58911fe11040d9505a3b.jpg","text":"TemporaryFile(/tmp/multipartBody6089263883188921135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938342681,"filename":"image_07112025_15_54_28_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739338","file1":"1399739337","file0":"1399739335","file4":"1399739340","file5":"1399739341","file3":"1399739339"},"map_files_photo_id_array":[{"photo_id":"1399739341","filename":"file5"},{"photo_id":"1399739338","filename":"file2"},{"photo_id":"1399739340","filename":"file4"},{"photo_id":"1399739337","filename":"file1"},{"photo_id":"1399739335","filename":"file0"},{"photo_id":"1399739339","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739341":["hashtag1","hashtag2"]},{"1399739335":["hashtag1","hashtag2"]},{"1399739338":["hashtag1","hashtag2"]},{"1399739340":["hashtag1","hashtag2"]},{"1399739337":["hashtag1","hashtag2"]},{"1399739339":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739341, 1399739335, 1399739338, 1399739340, 1399739337, 1399739339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51609754562378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:25:22.354330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/22/image_17122025_03_22_44_9608.jpg', '/home/pi/Desktop/images/17122025/03/22/image_17122025_03_23_05_9749.jpg', '/home/pi/Desktop/images/17122025/03/23/image_17122025_03_23_35_9777.jpg', '/home/pi/Desktop/images/17122025/03/23/image_17122025_03_23_45_9808.jpg', '/home/pi/Desktop/images/17122025/03/23/image_17122025_03_23_54_9601.jpg', '/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_25_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/22/image_17122025_03_22_44_9608.jpg
/home/pi/Desktop/images/17122025/03/22/image_17122025_03_23_05_9749.jpg
/home/pi/Desktop/images/17122025/03/23/image_17122025_03_23_35_9777.jpg
/home/pi/Desktop/images/17122025/03/23/image_17122025_03_23_45_9808.jpg
/home/pi/Desktop/images/17122025/03/23/image_17122025_03_23_54_9601.jpg
/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_25_9831.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739342","1399739352","1399739346","1399739349","1399739351","1399739345"],"photo_ids_order":["1399739342","1399739345","1399739346","1399739349","1399739351","1399739352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6600d8cec542ad9863e39a93e669e097.jpg","text":"TemporaryFile(/tmp/multipartBody3027578624374069592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938382941,"filename":"image_17122025_03_22_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b5d1ba0d3acbc7e500e733c84963d51.jpg","text":"TemporaryFile(/tmp/multipartBody4238242683049392407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938382941,"filename":"image_17122025_03_24_25_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdfa1c343a077ba6a627e75a8a7b721d.jpg","text":"TemporaryFile(/tmp/multipartBody1568563761303644940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938382941,"filename":"image_17122025_03_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/2025/12/17/bea70628cc1c6021b76e099dcb1bf392.jpg","text":"TemporaryFile(/tmp/multipartBody8191091386357640093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938382941,"filename":"image_17122025_03_23_45_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bef8e1356c8ea034bcb55080ea75ddc7.jpg","text":"TemporaryFile(/tmp/multipartBody7349540672326909273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938382941,"filename":"image_17122025_03_23_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c8ee36c6abd02741acda7e7f742f342.jpg","text":"TemporaryFile(/tmp/multipartBody6308318691490187506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938382941,"filename":"image_17122025_03_23_05_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739346","file1":"1399739345","file0":"1399739342","file4":"1399739351","file5":"1399739352","file3":"1399739349"},"map_files_photo_id_array":[{"photo_id":"1399739352","filename":"file5"},{"photo_id":"1399739346","filename":"file2"},{"photo_id":"1399739351","filename":"file4"},{"photo_id":"1399739345","filename":"file1"},{"photo_id":"1399739342","filename":"file0"},{"photo_id":"1399739349","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739342":["hashtag1","hashtag2"]},{"1399739352":["hashtag1","hashtag2"]},{"1399739346":["hashtag1","hashtag2"]},{"1399739349":["hashtag1","hashtag2"]},{"1399739351":["hashtag1","hashtag2"]},{"1399739345":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739342, 1399739352, 1399739346, 1399739349, 1399739351, 1399739345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4623658657074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:26:02.747796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 03:26:12.351120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:26:23.397380
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_34_9657.jpg', '/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_44_9875.jpg', '/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_25_10694.jpg', '/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_35_9782.jpg', '/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_44_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_34_9657.jpg
/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_44_9875.jpg
/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_25_10694.jpg
/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_35_9782.jpg
/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_44_9600.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.39224672317504883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:26:32.477302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:26:42.357786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_33_1531.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_35_1635.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_37_1724.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_38_1554.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_43_4461.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_44_1678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_33_1531.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_35_1635.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_37_1724.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_38_1554.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_43_4461.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_44_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399739368","1399739362","1399739365","1399739364","1399739367","1399739366"],"photo_ids_order":["1399739362","1399739364","1399739365","1399739366","1399739367","1399739368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b53bdd658debbfe88c0667f818fb76c.jpg","text":"TemporaryFile(/tmp/multipartBody7141011535848617365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938463087,"filename":"image_07112025_15_54_44_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f67233cd265e7a38e6933ab1f996da8.jpg","text":"TemporaryFile(/tmp/multipartBody3613144888490323541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938463087,"filename":"image_07112025_15_54_33_1531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfcf82914cb22216d745a803f56bfc2b.jpg","text":"TemporaryFile(/tmp/multipartBody7466024812079386754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938463087,"filename":"image_07112025_15_54_37_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/679fefc8431cb1c8f9eec14c691b22f1.jpg","text":"TemporaryFile(/tmp/multipartBody2080595788092994694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938463087,"filename":"image_07112025_15_54_35_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a080d4e53ae57dca40530c357f7ddb54.jpg","text":"TemporaryFile(/tmp/multipartBody2681726378195980069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938463087,"filename":"image_07112025_15_54_43_4461.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebba39398e2e203695823ea0a2e953a5.jpg","text":"TemporaryFile(/tmp/multipartBody3031437691166555948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938463087,"filename":"image_07112025_15_54_38_1554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739365","file1":"1399739364","file0":"1399739362","file4":"1399739367","file5":"1399739368","file3":"1399739366"},"map_files_photo_id_array":[{"photo_id":"1399739368","filename":"file5"},{"photo_id":"1399739365","filename":"file2"},{"photo_id":"1399739367","filename":"file4"},{"photo_id":"1399739364","filename":"file1"},{"photo_id":"1399739362","filename":"file0"},{"photo_id":"1399739366","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739368":["hashtag1","hashtag2"]},{"1399739362":["hashtag1","hashtag2"]},{"1399739365":["hashtag1","hashtag2"]},{"1399739364":["hashtag1","hashtag2"]},{"1399739367":["hashtag1","hashtag2"]},{"1399739366":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739368, 1399739362, 1399739365, 1399739364, 1399739367, 1399739366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.41210651397705 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:27:32.746444
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:27:42.637634
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_46_1592.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_48_1832.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_49_1553.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_51_1756.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_53_1726.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_54_1748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_46_1592.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_48_1832.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_49_1553.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_51_1756.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_53_1726.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_54_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":["1399739380","1399739377","1399739379","1399739381","1399739375","1399739378"],"photo_ids_order":["1399739375","1399739377","1399739378","1399739379","1399739380","1399739381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0955c659c1e632f94c71edc47bb7f78.jpg","text":"TemporaryFile(/tmp/multipartBody1870711211292271730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938523420,"filename":"image_07112025_15_54_53_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23fda393fec734c590b5daedbe2dd5eb.jpg","text":"TemporaryFile(/tmp/multipartBody8090158819249074781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938523420,"filename":"image_07112025_15_54_48_1832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a116460d59de3b497ddecb5e5f7c3109.jpg","text":"TemporaryFile(/tmp/multipartBody707822531486929983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938523420,"filename":"image_07112025_15_54_51_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b9f3ec169056414f84776b4eed69aaf.jpg","text":"TemporaryFile(/tmp/multipartBody5291742939562583386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938523420,"filename":"image_07112025_15_54_54_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73034f00ba1a4dff6557df2028d3c523.jpg","text":"TemporaryFile(/tmp/multipartBody1302522047828474876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938523420,"filename":"image_07112025_15_54_46_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54da970df12180365d5518db9339a656.jpg","text":"TemporaryFile(/tmp/multipartBody8719068538773158519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938523420,"filename":"image_07112025_15_54_49_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739378","file1":"1399739377","file0":"1399739375","file4":"1399739380","file5":"1399739381","file3":"1399739379"},"map_files_photo_id_array":[{"photo_id":"1399739381","filename":"file5"},{"photo_id":"1399739378","filename":"file2"},{"photo_id":"1399739380","filename":"file4"},{"photo_id":"1399739377","filename":"file1"},{"photo_id":"1399739375","filename":"file0"},{"photo_id":"1399739379","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739380":["hashtag1","hashtag2"]},{"1399739377":["hashtag1","hashtag2"]},{"1399739379":["hashtag1","hashtag2"]},{"1399739381":["hashtag1","hashtag2"]},{"1399739375":["hashtag1","hashtag2"]},{"1399739378":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739380, 1399739377, 1399739379, 1399739381, 1399739375, 1399739378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54213786125183 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:28:22.797809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_34_9657.jpg', '/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_44_9875.jpg', '/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_25_10694.jpg', '/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_35_9782.jpg', '/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_44_9600.jpg', '/home/pi/Desktop/images/17122025/03/26/image_17122025_03_26_45_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_34_9657.jpg
/home/pi/Desktop/images/17122025/03/24/image_17122025_03_24_44_9875.jpg
/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_25_10694.jpg
/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_35_9782.jpg
/home/pi/Desktop/images/17122025/03/25/image_17122025_03_25_44_9600.jpg
/home/pi/Desktop/images/17122025/03/26/image_17122025_03_26_45_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739392","1399739386","1399739389","1399739382","1399739387","1399739384"],"photo_ids_order":["1399739382","1399739384","1399739386","1399739387","1399739389","1399739392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbf0afb1437721cd83d91e6d33d065a8.jpg","text":"TemporaryFile(/tmp/multipartBody8317258208928131768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938563377,"filename":"image_17122025_03_26_45_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91fdc4a1642d368836a863ff3047a5fb.jpg","text":"TemporaryFile(/tmp/multipartBody4426204277869094946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938563377,"filename":"image_17122025_03_25_25_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e02c1210b79cd0157259f3df1d0fbf6.jpg","text":"TemporaryFile(/tmp/multipartBody2141947174836822806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938563377,"filename":"image_17122025_03_25_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddd0969813d54c041c173940d54f46a2.jpg","text":"TemporaryFile(/tmp/multipartBody60485464513586030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938563377,"filename":"image_17122025_03_24_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c7800516f407a4194b3fa0ff9adb07d.jpg","text":"TemporaryFile(/tmp/multipartBody6379710509836426797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938563377,"filename":"image_17122025_03_25_35_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8da2ee1ed1c46e13061424ccfdb6769f.jpg","text":"TemporaryFile(/tmp/multipartBody2990677736628913865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938563377,"filename":"image_17122025_03_24_44_9875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739386","file1":"1399739384","file0":"1399739382","file4":"1399739389","file5":"1399739392","file3":"1399739387"},"map_files_photo_id_array":[{"photo_id":"1399739392","filename":"file5"},{"photo_id":"1399739386","filename":"file2"},{"photo_id":"1399739389","filename":"file4"},{"photo_id":"1399739384","filename":"file1"},{"photo_id":"1399739382","filename":"file0"},{"photo_id":"1399739387","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739392":["hashtag1","hashtag2"]},{"1399739386":["hashtag1","hashtag2"]},{"1399739389":["hashtag1","hashtag2"]},{"1399739382":["hashtag1","hashtag2"]},{"1399739387":["hashtag1","hashtag2"]},{"1399739384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739392, 1399739386, 1399739389, 1399739382, 1399739387, 1399739384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.445398807525635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:29:03.159518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/26/image_17122025_03_27_04_9649.jpg', '/home/pi/Desktop/images/17122025/03/27/image_17122025_03_27_15_10692.jpg', '/home/pi/Desktop/images/17122025/03/27/image_17122025_03_27_34_9703.jpg', '/home/pi/Desktop/images/17122025/03/27/image_17122025_03_27_45_10546.jpg', '/home/pi/Desktop/images/17122025/03/27/image_17122025_03_27_55_9907.jpg', '/home/pi/Desktop/images/17122025/03/28/image_17122025_03_28_14_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/26/image_17122025_03_27_04_9649.jpg
/home/pi/Desktop/images/17122025/03/27/image_17122025_03_27_15_10692.jpg
/home/pi/Desktop/images/17122025/03/27/image_17122025_03_27_34_9703.jpg
/home/pi/Desktop/images/17122025/03/27/image_17122025_03_27_45_10546.jpg
/home/pi/Desktop/images/17122025/03/27/image_17122025_03_27_55_9907.jpg
/home/pi/Desktop/images/17122025/03/28/image_17122025_03_28_14_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739398","1399739404","1399739401","1399739400","1399739403","1399739406"],"photo_ids_order":["1399739398","1399739400","1399739401","1399739403","1399739404","1399739406"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2353befbbd6ebe6a5599ff659fc48f4.jpg","text":"TemporaryFile(/tmp/multipartBody1385121979489182689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938603928,"filename":"image_17122025_03_27_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2624b4455e41b2d396dfdc0a6cdcf559.jpg","text":"TemporaryFile(/tmp/multipartBody2327087578903473145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938603928,"filename":"image_17122025_03_27_55_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aed542f28dfd73e377efe5e579139229.jpg","text":"TemporaryFile(/tmp/multipartBody3863532799939695937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938603928,"filename":"image_17122025_03_27_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d42531119e5714795be88252a3106f02.jpg","text":"TemporaryFile(/tmp/multipartBody5875687996037367629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938603928,"filename":"image_17122025_03_27_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47d213873517e162adef88320f7f5ff9.jpg","text":"TemporaryFile(/tmp/multipartBody2193915344419919931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938603928,"filename":"image_17122025_03_27_45_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7b582a7c064d25d3793dfb90864120e.jpg","text":"TemporaryFile(/tmp/multipartBody8118735854502019566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938603928,"filename":"image_17122025_03_28_14_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739401","file1":"1399739400","file0":"1399739398","file4":"1399739404","file5":"1399739406","file3":"1399739403"},"map_files_photo_id_array":[{"photo_id":"1399739406","filename":"file5"},{"photo_id":"1399739401","filename":"file2"},{"photo_id":"1399739404","filename":"file4"},{"photo_id":"1399739400","filename":"file1"},{"photo_id":"1399739398","filename":"file0"},{"photo_id":"1399739403","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739398":["hashtag1","hashtag2"]},{"1399739404":["hashtag1","hashtag2"]},{"1399739401":["hashtag1","hashtag2"]},{"1399739400":["hashtag1","hashtag2"]},{"1399739403":["hashtag1","hashtag2"]},{"1399739406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739398, 1399739404, 1399739401, 1399739400, 1399739403, 1399739406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36975955963135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:29:42.053156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_56_1788.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_58_1590.jpg', '/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_59_1682.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_01_1762.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_04_2787.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_08_3581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_56_1788.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_58_1590.jpg
/home/pi/Desktop/images/07112025/15/54/image_07112025_15_54_59_1682.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_01_1762.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_04_2787.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_08_3581.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":["1399739420","1399739414","1399739422","1399739416","1399739415","1399739412"],"photo_ids_order":["1399739412","1399739414","1399739415","1399739416","1399739420","1399739422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6f0755b842f0bf8d7a6a3250de46a46.jpg","text":"TemporaryFile(/tmp/multipartBody7641027981053532804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938642790,"filename":"image_07112025_15_55_04_2787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/777511df205e5f8df945ae066f4c0eeb.jpg","text":"TemporaryFile(/tmp/multipartBody6019235008044422912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938642790,"filename":"image_07112025_15_54_58_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d4bfdf0940bd6cd6c13422172f9d22e.jpg","text":"TemporaryFile(/tmp/multipartBody4130052346470353643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938642790,"filename":"image_07112025_15_55_08_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d9e7c223b34b2b5e29e1a9ed6bf1709.jpg","text":"TemporaryFile(/tmp/multipartBody3721535323248442678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938642790,"filename":"image_07112025_15_55_01_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d5c136eb255ada59c00d10c25e3db39.jpg","text":"TemporaryFile(/tmp/multipartBody2595446954560863831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938642790,"filename":"image_07112025_15_54_59_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbf7362cb4a7bfc6c9de663e7edd09a4.jpg","text":"TemporaryFile(/tmp/multipartBody8566292855716857220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938642790,"filename":"image_07112025_15_54_56_1788.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739415","file1":"1399739414","file0":"1399739412","file4":"1399739420","file5":"1399739422","file3":"1399739416"},"map_files_photo_id_array":[{"photo_id":"1399739422","filename":"file5"},{"photo_id":"1399739415","filename":"file2"},{"photo_id":"1399739420","filename":"file4"},{"photo_id":"1399739414","filename":"file1"},{"photo_id":"1399739412","filename":"file0"},{"photo_id":"1399739416","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739420":["hashtag1","hashtag2"]},{"1399739414":["hashtag1","hashtag2"]},{"1399739422":["hashtag1","hashtag2"]},{"1399739416":["hashtag1","hashtag2"]},{"1399739415":["hashtag1","hashtag2"]},{"1399739412":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739420, 1399739414, 1399739422, 1399739416, 1399739415, 1399739412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.036399126052856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:31:03.235892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/28/image_17122025_03_28_55_10739.jpg', '/home/pi/Desktop/images/17122025/03/28/image_17122025_03_29_05_9686.jpg', '/home/pi/Desktop/images/17122025/03/29/image_17122025_03_29_25_10743.jpg', '/home/pi/Desktop/images/17122025/03/29/image_17122025_03_29_34_9624.jpg', '/home/pi/Desktop/images/17122025/03/29/image_17122025_03_29_55_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/28/image_17122025_03_28_55_10739.jpg
/home/pi/Desktop/images/17122025/03/28/image_17122025_03_29_05_9686.jpg
/home/pi/Desktop/images/17122025/03/29/image_17122025_03_29_25_10743.jpg
/home/pi/Desktop/images/17122025/03/29/image_17122025_03_29_34_9624.jpg
/home/pi/Desktop/images/17122025/03/29/image_17122025_03_29_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":["1399739426","1399739429","1399739428","1399739427","1399739430"],"photo_ids_order":["1399739426","1399739427","1399739428","1399739429","1399739430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3ed37f4eecdfc8a97ad5464278a56ec.jpg","text":"TemporaryFile(/tmp/multipartBody2263257971975373901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938723889,"filename":"image_17122025_03_28_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7705388d5d183463b502f40e6a6c35dc.jpg","text":"TemporaryFile(/tmp/multipartBody2540514240723578810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938723889,"filename":"image_17122025_03_29_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0308f579c4e2630d647513bea6ce4dd9.jpg","text":"TemporaryFile(/tmp/multipartBody7629488193453961018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938723889,"filename":"image_17122025_03_29_25_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf3ac399bd0ef1978cad2fdb57a3370f.jpg","text":"TemporaryFile(/tmp/multipartBody4337154029187385758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938723889,"filename":"image_17122025_03_29_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e55d6125e73a0d10e44c2e3774dad363.jpg","text":"TemporaryFile(/tmp/multipartBody96536446359153799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938723889,"filename":"image_17122025_03_29_55_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739428","file1":"1399739427","file0":"1399739426","file4":"1399739430","file3":"1399739429"},"map_files_photo_id_array":[{"photo_id":"1399739428","filename":"file2"},{"photo_id":"1399739430","filename":"file4"},{"photo_id":"1399739427","filename":"file1"},{"photo_id":"1399739426","filename":"file0"},{"photo_id":"1399739429","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739426":["hashtag1","hashtag2"]},{"1399739429":["hashtag1","hashtag2"]},{"1399739428":["hashtag1","hashtag2"]},{"1399739427":["hashtag1","hashtag2"]},{"1399739430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739426, 1399739429, 1399739428, 1399739427, 1399739430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.25330638885498 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:31:42.469032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_10_2741.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_13_2698.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_16_2869.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_20_3612.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_22_2774.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_25_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_10_2741.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_13_2698.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_16_2869.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_20_3612.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_22_2774.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_25_2715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739441","1399739440","1399739442","1399739436","1399739439","1399739438"],"photo_ids_order":["1399739436","1399739438","1399739439","1399739440","1399739441","1399739442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee67ca0523f9aaccb351972c4cbb7ae3.jpg","text":"TemporaryFile(/tmp/multipartBody285153966278916622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938763196,"filename":"image_07112025_15_55_22_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40e62ce586caec2761ed0a604e125f96.jpg","text":"TemporaryFile(/tmp/multipartBody7396507061457557744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938763196,"filename":"image_07112025_15_55_20_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed080f0196d543286fa9235af529fe71.jpg","text":"TemporaryFile(/tmp/multipartBody4280750203461740279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938763196,"filename":"image_07112025_15_55_25_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa65389edb8495bab91e9813f041e179.jpg","text":"TemporaryFile(/tmp/multipartBody1646590468129648547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938763196,"filename":"image_07112025_15_55_10_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6e32e7121023867509eda1aa81ae400.jpg","text":"TemporaryFile(/tmp/multipartBody2184540220994066501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938763196,"filename":"image_07112025_15_55_16_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0308e5c47e33ce7f85674ddae7f85708.jpg","text":"TemporaryFile(/tmp/multipartBody4251062331970730942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938763196,"filename":"image_07112025_15_55_13_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739439","file1":"1399739438","file0":"1399739436","file4":"1399739441","file5":"1399739442","file3":"1399739440"},"map_files_photo_id_array":[{"photo_id":"1399739442","filename":"file5"},{"photo_id":"1399739439","filename":"file2"},{"photo_id":"1399739441","filename":"file4"},{"photo_id":"1399739438","filename":"file1"},{"photo_id":"1399739436","filename":"file0"},{"photo_id":"1399739440","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739441":["hashtag1","hashtag2"]},{"1399739440":["hashtag1","hashtag2"]},{"1399739442":["hashtag1","hashtag2"]},{"1399739436":["hashtag1","hashtag2"]},{"1399739439":["hashtag1","hashtag2"]},{"1399739438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739441, 1399739440, 1399739442, 1399739436, 1399739439, 1399739438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71654796600342 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:32:22.663338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/29/image_17122025_03_30_04_9654.jpg', '/home/pi/Desktop/images/17122025/03/30/image_17122025_03_31_04_9534.jpg', '/home/pi/Desktop/images/17122025/03/31/image_17122025_03_31_14_9823.jpg', '/home/pi/Desktop/images/17122025/03/31/image_17122025_03_31_25_10547.jpg', '/home/pi/Desktop/images/17122025/03/31/image_17122025_03_31_34_9646.jpg', '/home/pi/Desktop/images/17122025/03/31/image_17122025_03_31_45_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/29/image_17122025_03_30_04_9654.jpg
/home/pi/Desktop/images/17122025/03/30/image_17122025_03_31_04_9534.jpg
/home/pi/Desktop/images/17122025/03/31/image_17122025_03_31_14_9823.jpg
/home/pi/Desktop/images/17122025/03/31/image_17122025_03_31_25_10547.jpg
/home/pi/Desktop/images/17122025/03/31/image_17122025_03_31_34_9646.jpg
/home/pi/Desktop/images/17122025/03/31/image_17122025_03_31_45_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739452","1399739446","1399739454","1399739448","1399739450","1399739444"],"photo_ids_order":["1399739444","1399739446","1399739448","1399739450","1399739452","1399739454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/791296baad5fb2908e3a50caad5f48e9.jpg","text":"TemporaryFile(/tmp/multipartBody7449316469761766099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938806202,"filename":"image_17122025_03_31_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce69544ec6b73aa096ae17016d64e277.jpg","text":"TemporaryFile(/tmp/multipartBody4218837812468216281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938806202,"filename":"image_17122025_03_31_04_9534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c3e6222868a7e3c7e48e9d06fc6a3f1.jpg","text":"TemporaryFile(/tmp/multipartBody2725811388415071472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938806202,"filename":"image_17122025_03_31_45_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7de32268591479621dab079119fb53b5.jpg","text":"TemporaryFile(/tmp/multipartBody2703679751018649177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938806202,"filename":"image_17122025_03_31_14_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b1e8400cfe8e1442d4a56a4a15a6368.jpg","text":"TemporaryFile(/tmp/multipartBody8674560690000581227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938806202,"filename":"image_17122025_03_31_25_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2630fc45cde28b54b1303fa55b38765e.jpg","text":"TemporaryFile(/tmp/multipartBody7178853639431243669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938806202,"filename":"image_17122025_03_30_04_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739448","file1":"1399739446","file0":"1399739444","file4":"1399739452","file5":"1399739454","file3":"1399739450"},"map_files_photo_id_array":[{"photo_id":"1399739454","filename":"file5"},{"photo_id":"1399739448","filename":"file2"},{"photo_id":"1399739452","filename":"file4"},{"photo_id":"1399739446","filename":"file1"},{"photo_id":"1399739444","filename":"file0"},{"photo_id":"1399739450","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739452":["hashtag1","hashtag2"]},{"1399739446":["hashtag1","hashtag2"]},{"1399739454":["hashtag1","hashtag2"]},{"1399739448":["hashtag1","hashtag2"]},{"1399739450":["hashtag1","hashtag2"]},{"1399739444":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739452, 1399739446, 1399739454, 1399739448, 1399739450, 1399739444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.863757610321045 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 10 --only_old 1
2025-12-17 03:33:11.919739
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:33:21.987256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/32/image_17122025_03_32_25_9636.jpg', '/home/pi/Desktop/images/17122025/03/32/image_17122025_03_32_34_9630.jpg', '/home/pi/Desktop/images/17122025/03/32/image_17122025_03_32_45_10724.jpg', '/home/pi/Desktop/images/17122025/03/32/image_17122025_03_32_55_9611.jpg', '/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_15_10623.jpg', '/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_25_9851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/32/image_17122025_03_32_25_9636.jpg
/home/pi/Desktop/images/17122025/03/32/image_17122025_03_32_34_9630.jpg
/home/pi/Desktop/images/17122025/03/32/image_17122025_03_32_45_10724.jpg
/home/pi/Desktop/images/17122025/03/32/image_17122025_03_32_55_9611.jpg
/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_15_10623.jpg
/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_25_9851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739461","1399739455","1399739463","1399739457","1399739465","1399739459"],"photo_ids_order":["1399739455","1399739457","1399739459","1399739461","1399739463","1399739465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5dc618e23c0a73b4a58fc8d078c10a86.jpg","text":"TemporaryFile(/tmp/multipartBody7868687034295520608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938862565,"filename":"image_17122025_03_32_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e43f65c28daadc683e385d9caf1f3d4a.jpg","text":"TemporaryFile(/tmp/multipartBody7263483497736132500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938862565,"filename":"image_17122025_03_32_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23c60e62bb57dbcf6240ae58975d75d3.jpg","text":"TemporaryFile(/tmp/multipartBody4838237396310658342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938862565,"filename":"image_17122025_03_33_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f91dcd9fc4c1d141b6040859ce9f38f1.jpg","text":"TemporaryFile(/tmp/multipartBody7095037966254493673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938862565,"filename":"image_17122025_03_32_34_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/284d41b57419d3780369953510351292.jpg","text":"TemporaryFile(/tmp/multipartBody8829563721645124652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938862565,"filename":"image_17122025_03_33_25_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01e526b33f2b30123c7a660e3324404c.jpg","text":"TemporaryFile(/tmp/multipartBody3139762850974344844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938862565,"filename":"image_17122025_03_32_45_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739459","file1":"1399739457","file0":"1399739455","file4":"1399739463","file5":"1399739465","file3":"1399739461"},"map_files_photo_id_array":[{"photo_id":"1399739465","filename":"file5"},{"photo_id":"1399739459","filename":"file2"},{"photo_id":"1399739463","filename":"file4"},{"photo_id":"1399739457","filename":"file1"},{"photo_id":"1399739455","filename":"file0"},{"photo_id":"1399739461","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739461":["hashtag1","hashtag2"]},{"1399739455":["hashtag1","hashtag2"]},{"1399739463":["hashtag1","hashtag2"]},{"1399739457":["hashtag1","hashtag2"]},{"1399739465":["hashtag1","hashtag2"]},{"1399739459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739461, 1399739455, 1399739463, 1399739457, 1399739465, 1399739459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73412871360779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:34:02.847075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_34_9787.jpg', '/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_44_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_34_9787.jpg
/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_44_9854.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739467","1399739468"],"photo_ids_order":["1399739467","1399739468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76b7e61ea9d5b8a6a233392f5cf3ac25.jpg","text":"TemporaryFile(/tmp/multipartBody5733942053589549702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938903319,"filename":"image_17122025_03_33_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54ae2ce203bc3c915f9fce891ed9ac4b.jpg","text":"TemporaryFile(/tmp/multipartBody8874918188699502406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938903319,"filename":"image_17122025_03_33_44_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399739468","file0":"1399739467"},"map_files_photo_id_array":[{"photo_id":"1399739468","filename":"file1"},{"photo_id":"1399739467","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739467":["hashtag1","hashtag2"]},{"1399739468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739467, 1399739468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.40276265144348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:34:22.335861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_55_10726.jpg', '/home/pi/Desktop/images/17122025/03/33/image_17122025_03_34_05_9656.jpg', '/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_14_9704.jpg', '/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_24_9748.jpg', '/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_35_10677.jpg', '/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_45_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_55_10726.jpg
/home/pi/Desktop/images/17122025/03/33/image_17122025_03_34_05_9656.jpg
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_14_9704.jpg
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_24_9748.jpg
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_35_10677.jpg
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_45_9806.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4751558303833008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:34:32.295503
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:34:42.284285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_29_3676.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_31_2524.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_34_2709.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_37_3529.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_40_2731.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_43_2583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_29_3676.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_31_2524.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_34_2709.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_37_3529.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_40_2731.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_43_2583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739485","1399739482","1399739481","1399739484","1399739478","1399739483"],"photo_ids_order":["1399739478","1399739481","1399739482","1399739483","1399739484","1399739485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65f85d3cb49f06cebe3b33814eb3d68e.jpg","text":"TemporaryFile(/tmp/multipartBody2106617537228022056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938943015,"filename":"image_07112025_15_55_43_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d62fc84709ffaa77807bdb996fd1b7dd.jpg","text":"TemporaryFile(/tmp/multipartBody1606786890245982988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938943015,"filename":"image_07112025_15_55_34_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3b937b490fb85c6cbda919106ce7251.jpg","text":"TemporaryFile(/tmp/multipartBody3172604814321955120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938943015,"filename":"image_07112025_15_55_31_2524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2db5a30db15fd5200c0bab203d7097e0.jpg","text":"TemporaryFile(/tmp/multipartBody5743249937515192801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938943015,"filename":"image_07112025_15_55_40_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c45d5a8dc1d6c55020f5e42cda142b2.jpg","text":"TemporaryFile(/tmp/multipartBody1872399292361715133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938943015,"filename":"image_07112025_15_55_29_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b20d0ddb0e5218a69ad7b7786c9880af.jpg","text":"TemporaryFile(/tmp/multipartBody7691034691210835131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765938943015,"filename":"image_07112025_15_55_37_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739482","file1":"1399739481","file0":"1399739478","file4":"1399739484","file5":"1399739485","file3":"1399739483"},"map_files_photo_id_array":[{"photo_id":"1399739485","filename":"file5"},{"photo_id":"1399739482","filename":"file2"},{"photo_id":"1399739484","filename":"file4"},{"photo_id":"1399739481","filename":"file1"},{"photo_id":"1399739478","filename":"file0"},{"photo_id":"1399739483","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739485":["hashtag1","hashtag2"]},{"1399739482":["hashtag1","hashtag2"]},{"1399739481":["hashtag1","hashtag2"]},{"1399739484":["hashtag1","hashtag2"]},{"1399739478":["hashtag1","hashtag2"]},{"1399739483":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739485, 1399739482, 1399739481, 1399739484, 1399739478, 1399739483)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.2134222984314 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:35:32.576490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:35:42.583113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_47_3715.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_49_2621.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_52_2664.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_55_3679.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_58_2613.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_02_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_47_3715.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_49_2621.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_52_2664.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_55_3679.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_58_2613.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_02_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: 0.6642744541168213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:36:03.228887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_55_10726.jpg', '/home/pi/Desktop/images/17122025/03/33/image_17122025_03_34_05_9656.jpg', '/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_14_9704.jpg', '/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_24_9748.jpg', '/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_35_10677.jpg', '/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_45_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/33/image_17122025_03_33_55_10726.jpg
/home/pi/Desktop/images/17122025/03/33/image_17122025_03_34_05_9656.jpg
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_14_9704.jpg
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_24_9748.jpg
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_35_10677.jpg
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_45_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":["1399739501","1399739503","1399739500","1399739499","1399739502","1399739505"],"photo_ids_order":["1399739499","1399739500","1399739501","1399739502","1399739503","1399739505"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a129ca0ea43c8b15475152363861e110.jpg","text":"TemporaryFile(/tmp/multipartBody290938670452753615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939023943,"filename":"image_17122025_03_34_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26c462f8ebb9a0ed34c947260d66c5ab.jpg","text":"TemporaryFile(/tmp/multipartBody3092893297735693132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939023943,"filename":"image_17122025_03_34_35_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7759a0b0fc18446bc7fd6381d7f6022b.jpg","text":"TemporaryFile(/tmp/multipartBody8237517818257517040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939023943,"filename":"image_17122025_03_34_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0486bef3d07434be76e224357c44f259.jpg","text":"TemporaryFile(/tmp/multipartBody8116003572866940665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939023943,"filename":"image_17122025_03_33_55_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d5cb493c9d703e51684ecf097cc603a.jpg","text":"TemporaryFile(/tmp/multipartBody2998031422572422769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939023943,"filename":"image_17122025_03_34_24_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa7af265c547f8f98beb098e0905655e.jpg","text":"TemporaryFile(/tmp/multipartBody5784301296037640874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939023943,"filename":"image_17122025_03_34_45_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739501","file1":"1399739500","file0":"1399739499","file4":"1399739503","file5":"1399739505","file3":"1399739502"},"map_files_photo_id_array":[{"photo_id":"1399739505","filename":"file5"},{"photo_id":"1399739501","filename":"file2"},{"photo_id":"1399739503","filename":"file4"},{"photo_id":"1399739500","filename":"file1"},{"photo_id":"1399739499","filename":"file0"},{"photo_id":"1399739502","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739501":["hashtag1","hashtag2"]},{"1399739503":["hashtag1","hashtag2"]},{"1399739500":["hashtag1","hashtag2"]},{"1399739499":["hashtag1","hashtag2"]},{"1399739502":["hashtag1","hashtag2"]},{"1399739505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739501, 1399739503, 1399739500, 1399739499, 1399739502, 1399739505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.749982833862305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:36:42.836143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_47_3715.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_49_2621.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_52_2664.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_55_3679.jpg', '/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_58_2613.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_02_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_47_3715.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_49_2621.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_52_2664.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_55_3679.jpg
/home/pi/Desktop/images/07112025/15/55/image_07112025_15_55_58_2613.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_02_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":["1399739510","1399739513","1399739516","1399739515","1399739512","1399739514"],"photo_ids_order":["1399739510","1399739512","1399739513","1399739514","1399739515","1399739516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ec4226a2d7c0df5495bc1966e8fb796.jpg","text":"TemporaryFile(/tmp/multipartBody5757615966928739250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939063453,"filename":"image_07112025_15_55_47_3715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce260bbb42ae74fde24e68d44081b243.jpg","text":"TemporaryFile(/tmp/multipartBody2814395192687016523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939063453,"filename":"image_07112025_15_55_52_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e064f94d4848a7bfa33b307babd89c0d.jpg","text":"TemporaryFile(/tmp/multipartBody4014166615740431530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939063453,"filename":"image_07112025_15_56_02_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b28d7ad147413e4e198778192df06cf8.jpg","text":"TemporaryFile(/tmp/multipartBody7949748874026628625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939063453,"filename":"image_07112025_15_55_58_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aefb9ccb805b3c9326036a5f1c4ea0fc.jpg","text":"TemporaryFile(/tmp/multipartBody6299491219265967091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939063453,"filename":"image_07112025_15_55_49_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3edd0d6c39fba8a8e0a157670d0838f3.jpg","text":"TemporaryFile(/tmp/multipartBody3147570129164758294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939063453,"filename":"image_07112025_15_55_55_3679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739513","file1":"1399739512","file0":"1399739510","file4":"1399739515","file5":"1399739516","file3":"1399739514"},"map_files_photo_id_array":[{"photo_id":"1399739516","filename":"file5"},{"photo_id":"1399739513","filename":"file2"},{"photo_id":"1399739515","filename":"file4"},{"photo_id":"1399739512","filename":"file1"},{"photo_id":"1399739510","filename":"file0"},{"photo_id":"1399739514","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739510":["hashtag1","hashtag2"]},{"1399739513":["hashtag1","hashtag2"]},{"1399739516":["hashtag1","hashtag2"]},{"1399739515":["hashtag1","hashtag2"]},{"1399739512":["hashtag1","hashtag2"]},{"1399739514":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739510, 1399739513, 1399739516, 1399739515, 1399739512, 1399739514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.521604776382446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:37:22.256121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_54_9676.jpg', '/home/pi/Desktop/images/17122025/03/34/image_17122025_03_35_05_10620.jpg', '/home/pi/Desktop/images/17122025/03/35/image_17122025_03_35_15_9654.jpg', '/home/pi/Desktop/images/17122025/03/35/image_17122025_03_35_24_9763.jpg', '/home/pi/Desktop/images/17122025/03/35/image_17122025_03_35_45_10688.jpg', '/home/pi/Desktop/images/17122025/03/35/image_17122025_03_36_04_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_34_54_9676.jpg
/home/pi/Desktop/images/17122025/03/34/image_17122025_03_35_05_10620.jpg
/home/pi/Desktop/images/17122025/03/35/image_17122025_03_35_15_9654.jpg
/home/pi/Desktop/images/17122025/03/35/image_17122025_03_35_24_9763.jpg
/home/pi/Desktop/images/17122025/03/35/image_17122025_03_35_45_10688.jpg
/home/pi/Desktop/images/17122025/03/35/image_17122025_03_36_04_9794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739525","1399739519","1399739524","1399739518","1399739527","1399739522"],"photo_ids_order":["1399739518","1399739519","1399739522","1399739524","1399739525","1399739527"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4195a498eb4b426049506a31337afae.jpg","text":"TemporaryFile(/tmp/multipartBody5696218824274554456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939102837,"filename":"image_17122025_03_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/2025/12/17/9ec1d866a715da2a5810971e86fc1c83.jpg","text":"TemporaryFile(/tmp/multipartBody81148345345795412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939102837,"filename":"image_17122025_03_35_05_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87ef7f63bb98ed8a99a0d4c98da154bc.jpg","text":"TemporaryFile(/tmp/multipartBody5744859835680494854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939102837,"filename":"image_17122025_03_35_24_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42202c3d6343afed70a512d13865df57.jpg","text":"TemporaryFile(/tmp/multipartBody2954864128602185540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939102837,"filename":"image_17122025_03_34_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d1f74afb44281d2637f8a6136a79009.jpg","text":"TemporaryFile(/tmp/multipartBody8784712677558926306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939102837,"filename":"image_17122025_03_36_04_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8decb47a8fd514010b82cd51c6581abc.jpg","text":"TemporaryFile(/tmp/multipartBody5254688407985650792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939102837,"filename":"image_17122025_03_35_15_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739522","file1":"1399739519","file0":"1399739518","file4":"1399739525","file5":"1399739527","file3":"1399739524"},"map_files_photo_id_array":[{"photo_id":"1399739527","filename":"file5"},{"photo_id":"1399739522","filename":"file2"},{"photo_id":"1399739525","filename":"file4"},{"photo_id":"1399739519","filename":"file1"},{"photo_id":"1399739518","filename":"file0"},{"photo_id":"1399739524","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739525":["hashtag1","hashtag2"]},{"1399739519":["hashtag1","hashtag2"]},{"1399739524":["hashtag1","hashtag2"]},{"1399739518":["hashtag1","hashtag2"]},{"1399739527":["hashtag1","hashtag2"]},{"1399739522":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739525, 1399739519, 1399739524, 1399739518, 1399739527, 1399739522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46061730384827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:38:02.694313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/36/image_17122025_03_36_15_10729.jpg', '/home/pi/Desktop/images/17122025/03/36/image_17122025_03_36_34_9709.jpg', '/home/pi/Desktop/images/17122025/03/36/image_17122025_03_36_45_10381.jpg', '/home/pi/Desktop/images/17122025/03/36/image_17122025_03_37_04_9918.jpg', '/home/pi/Desktop/images/17122025/03/37/image_17122025_03_37_25_9629.jpg', '/home/pi/Desktop/images/17122025/03/37/image_17122025_03_37_34_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/36/image_17122025_03_36_15_10729.jpg
/home/pi/Desktop/images/17122025/03/36/image_17122025_03_36_34_9709.jpg
/home/pi/Desktop/images/17122025/03/36/image_17122025_03_36_45_10381.jpg
/home/pi/Desktop/images/17122025/03/36/image_17122025_03_37_04_9918.jpg
/home/pi/Desktop/images/17122025/03/37/image_17122025_03_37_25_9629.jpg
/home/pi/Desktop/images/17122025/03/37/image_17122025_03_37_34_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":["1399739531","1399739534","1399739533","1399739536","1399739530","1399739529"],"photo_ids_order":["1399739529","1399739530","1399739531","1399739533","1399739534","1399739536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05abe64ee71ecc12e83be577297b6b58.jpg","text":"TemporaryFile(/tmp/multipartBody3742200593745459753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939143294,"filename":"image_17122025_03_36_45_10381.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd687c4a5d8b16085b9a2f56f08a65ac.jpg","text":"TemporaryFile(/tmp/multipartBody4033136871611674867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939143294,"filename":"image_17122025_03_37_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3aa0bf40ae748c319ce92b11ba051d2.jpg","text":"TemporaryFile(/tmp/multipartBody7784981268255756430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939143294,"filename":"image_17122025_03_37_04_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3bb75018df6787a17a4fd1eaa566bb1c.jpg","text":"TemporaryFile(/tmp/multipartBody5834500768248929963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939143294,"filename":"image_17122025_03_37_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d40e4f7f6fbb1bf0880f5d81cee5f914.jpg","text":"TemporaryFile(/tmp/multipartBody648523577150629013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939143294,"filename":"image_17122025_03_36_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d9a163ce0402c7ed67dab04b69f486d.jpg","text":"TemporaryFile(/tmp/multipartBody3313103353028679003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939143294,"filename":"image_17122025_03_36_15_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739531","file1":"1399739530","file0":"1399739529","file4":"1399739534","file5":"1399739536","file3":"1399739533"},"map_files_photo_id_array":[{"photo_id":"1399739536","filename":"file5"},{"photo_id":"1399739531","filename":"file2"},{"photo_id":"1399739534","filename":"file4"},{"photo_id":"1399739530","filename":"file1"},{"photo_id":"1399739529","filename":"file0"},{"photo_id":"1399739533","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739531":["hashtag1","hashtag2"]},{"1399739534":["hashtag1","hashtag2"]},{"1399739533":["hashtag1","hashtag2"]},{"1399739536":["hashtag1","hashtag2"]},{"1399739530":["hashtag1","hashtag2"]},{"1399739529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739531, 1399739534, 1399739533, 1399739536, 1399739530, 1399739529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17246651649475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:38:42.259388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_04_2624.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_07_2608.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_11_3589.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_13_2638.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_16_2639.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_19_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_04_2624.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_07_2608.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_11_3589.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_13_2638.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_16_2639.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_19_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":["1399739546","1399739548","1399739550","1399739547","1399739541","1399739549"],"photo_ids_order":["1399739541","1399739546","1399739547","1399739548","1399739549","1399739550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/886a2c7f5a0dd90245ce3cd719b7d812.jpg","text":"TemporaryFile(/tmp/multipartBody8220605925977896907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939182983,"filename":"image_07112025_15_56_07_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0fe25966355fa45846c7c335fc45f1d2.jpg","text":"TemporaryFile(/tmp/multipartBody9030657491012302355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939182983,"filename":"image_07112025_15_56_13_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34474009547c6fa6073d18dab06b4a46.jpg","text":"TemporaryFile(/tmp/multipartBody5467998496196926471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939182983,"filename":"image_07112025_15_56_19_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83e29afbf7fee05d82949ee82434d155.jpg","text":"TemporaryFile(/tmp/multipartBody7605161052786848785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939182983,"filename":"image_07112025_15_56_11_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0298d2fe4fc049b45bcb2fd2a34af81.jpg","text":"TemporaryFile(/tmp/multipartBody31957790242001291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939182983,"filename":"image_07112025_15_56_04_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31be932925253818a3fc1598e59b9511.jpg","text":"TemporaryFile(/tmp/multipartBody8036493604912343618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939182983,"filename":"image_07112025_15_56_16_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739547","file1":"1399739546","file0":"1399739541","file4":"1399739549","file5":"1399739550","file3":"1399739548"},"map_files_photo_id_array":[{"photo_id":"1399739550","filename":"file5"},{"photo_id":"1399739547","filename":"file2"},{"photo_id":"1399739549","filename":"file4"},{"photo_id":"1399739546","filename":"file1"},{"photo_id":"1399739541","filename":"file0"},{"photo_id":"1399739548","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739546":["hashtag1","hashtag2"]},{"1399739548":["hashtag1","hashtag2"]},{"1399739550":["hashtag1","hashtag2"]},{"1399739547":["hashtag1","hashtag2"]},{"1399739541":["hashtag1","hashtag2"]},{"1399739549":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739546, 1399739548, 1399739550, 1399739547, 1399739541, 1399739549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.276721715927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:39:22.499960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/37/image_17122025_03_37_55_9719.jpg', '/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_05_10336.jpg', '/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_24_9918.jpg', '/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_34_9845.jpg', '/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_45_10592.jpg', '/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_55_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/37/image_17122025_03_37_55_9719.jpg
/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_05_10336.jpg
/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_24_9918.jpg
/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_34_9845.jpg
/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_45_10592.jpg
/home/pi/Desktop/images/17122025/03/38/image_17122025_03_38_55_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":["1399739563","1399739557","1399739559","1399739553","1399739561","1399739555"],"photo_ids_order":["1399739553","1399739555","1399739557","1399739559","1399739561","1399739563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e891358cccfe6f940b1397653476dde.jpg","text":"TemporaryFile(/tmp/multipartBody6780694019183837208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939223081,"filename":"image_17122025_03_38_55_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2488a031e4e190f3ea9161af8711711c.jpg","text":"TemporaryFile(/tmp/multipartBody3195663676860180937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939223081,"filename":"image_17122025_03_38_24_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb04bcdcc9a5093f4950122696f1cf0b.jpg","text":"TemporaryFile(/tmp/multipartBody4737462731702942755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939223081,"filename":"image_17122025_03_38_34_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/435c5346dc0f6662407836e3496e477f.jpg","text":"TemporaryFile(/tmp/multipartBody8946454905676164223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939223081,"filename":"image_17122025_03_37_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbdf443c4dc861244f49783de5bbee89.jpg","text":"TemporaryFile(/tmp/multipartBody4022165257408128152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939223081,"filename":"image_17122025_03_38_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41b50bd68b25f39376dc9e88dc18b256.jpg","text":"TemporaryFile(/tmp/multipartBody8444817539510783897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939223081,"filename":"image_17122025_03_38_05_10336.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739557","file1":"1399739555","file0":"1399739553","file4":"1399739561","file5":"1399739563","file3":"1399739559"},"map_files_photo_id_array":[{"photo_id":"1399739563","filename":"file5"},{"photo_id":"1399739557","filename":"file2"},{"photo_id":"1399739561","filename":"file4"},{"photo_id":"1399739555","filename":"file1"},{"photo_id":"1399739553","filename":"file0"},{"photo_id":"1399739559","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739563":["hashtag1","hashtag2"]},{"1399739557":["hashtag1","hashtag2"]},{"1399739559":["hashtag1","hashtag2"]},{"1399739553":["hashtag1","hashtag2"]},{"1399739561":["hashtag1","hashtag2"]},{"1399739555":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739563, 1399739557, 1399739559, 1399739553, 1399739561, 1399739555)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65478587150574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:40:02.682098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/38/image_17122025_03_39_04_9682.jpg', '/home/pi/Desktop/images/17122025/03/39/image_17122025_03_39_45_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/38/image_17122025_03_39_04_9682.jpg
/home/pi/Desktop/images/17122025/03/39/image_17122025_03_39_45_10728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739566","1399739564"],"photo_ids_order":["1399739564","1399739566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47d953950751a93ceaa76a7d1bef0d3c.jpg","text":"TemporaryFile(/tmp/multipartBody4804947541369337647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939263138,"filename":"image_17122025_03_39_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ba7c361395255497eddb509c0794209.jpg","text":"TemporaryFile(/tmp/multipartBody7105175629900915489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939263138,"filename":"image_17122025_03_39_04_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399739566","file0":"1399739564"},"map_files_photo_id_array":[{"photo_id":"1399739566","filename":"file1"},{"photo_id":"1399739564","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739566":["hashtag1","hashtag2"]},{"1399739564":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739566, 1399739564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.508644104003906 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:40:22.156339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/39/image_17122025_03_39_55_9741.jpg', '/home/pi/Desktop/images/17122025/03/39/image_17122025_03_40_04_9592.jpg', '/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_25_9893.jpg', '/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_34_9610.jpg', '/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_45_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/39/image_17122025_03_39_55_9741.jpg
/home/pi/Desktop/images/17122025/03/39/image_17122025_03_40_04_9592.jpg
/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_25_9893.jpg
/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_34_9610.jpg
/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_45_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":["1399739572","1399739574","1399739568","1399739567","1399739570"],"photo_ids_order":["1399739567","1399739568","1399739570","1399739572","1399739574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08c24332b4a2dbf6a74e8919363f14ee.jpg","text":"TemporaryFile(/tmp/multipartBody4838504969793631710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939282702,"filename":"image_17122025_03_40_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b3379b1d536b02b32d256421ffe813b.jpg","text":"TemporaryFile(/tmp/multipartBody30932710449288295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939282702,"filename":"image_17122025_03_40_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b26f61c65f00746233ad07d19e42e221.jpg","text":"TemporaryFile(/tmp/multipartBody5202533166568430026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939282702,"filename":"image_17122025_03_40_04_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9117a170f6acafc13cf8aa979054cac3.jpg","text":"TemporaryFile(/tmp/multipartBody1503629498461141611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939282702,"filename":"image_17122025_03_39_55_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42df382c6643bf8b64103feb1cea2c56.jpg","text":"TemporaryFile(/tmp/multipartBody4828252731040180451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939282702,"filename":"image_17122025_03_40_25_9893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739570","file1":"1399739568","file0":"1399739567","file4":"1399739574","file3":"1399739572"},"map_files_photo_id_array":[{"photo_id":"1399739570","filename":"file2"},{"photo_id":"1399739574","filename":"file4"},{"photo_id":"1399739568","filename":"file1"},{"photo_id":"1399739567","filename":"file0"},{"photo_id":"1399739572","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739572":["hashtag1","hashtag2"]},{"1399739574":["hashtag1","hashtag2"]},{"1399739568":["hashtag1","hashtag2"]},{"1399739567":["hashtag1","hashtag2"]},{"1399739570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739572, 1399739574, 1399739568, 1399739567, 1399739570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.36426305770874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:41:02.916803
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:41:12.319365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:41:22.406888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_55_9575.jpg', '/home/pi/Desktop/images/17122025/03/40/image_17122025_03_41_04_9729.jpg', '/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_15_10604.jpg', '/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_44_9610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_55_9575.jpg
/home/pi/Desktop/images/17122025/03/40/image_17122025_03_41_04_9729.jpg
/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_15_10604.jpg
/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_44_9610.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.41257691383361816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:41:32.366737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:41:42.385297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_22_2554.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_25_2750.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_28_3716.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_31_2753.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_34_2593.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_38_3816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_22_2554.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_25_2750.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_28_3716.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_31_2753.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_34_2593.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_38_3816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739593","1399739595","1399739589","1399739592","1399739591","1399739594"],"photo_ids_order":["1399739589","1399739591","1399739592","1399739593","1399739594","1399739595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a55e9ca6622e0f9bdc750b6ba0d4fc4e.jpg","text":"TemporaryFile(/tmp/multipartBody2840130318440945897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939363116,"filename":"image_07112025_15_56_31_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b30b0e011ba072bfd765aad0e0ee44ee.jpg","text":"TemporaryFile(/tmp/multipartBody1608094318642842794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939363116,"filename":"image_07112025_15_56_38_3816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7bcb6c577bde596cf4e007c358c1889.jpg","text":"TemporaryFile(/tmp/multipartBody4605657967799628871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939363116,"filename":"image_07112025_15_56_22_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33e733b5dab297fa5cd92c0db29ef07e.jpg","text":"TemporaryFile(/tmp/multipartBody1756254616789608219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939363116,"filename":"image_07112025_15_56_28_3716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7533650e9aed9251c7a1cf37bba626a.jpg","text":"TemporaryFile(/tmp/multipartBody9121082523047813491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939363116,"filename":"image_07112025_15_56_25_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc03d609b8cd069119038212ac653ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5693949797135639479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939363116,"filename":"image_07112025_15_56_34_2593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739592","file1":"1399739591","file0":"1399739589","file4":"1399739594","file5":"1399739595","file3":"1399739593"},"map_files_photo_id_array":[{"photo_id":"1399739595","filename":"file5"},{"photo_id":"1399739592","filename":"file2"},{"photo_id":"1399739594","filename":"file4"},{"photo_id":"1399739591","filename":"file1"},{"photo_id":"1399739589","filename":"file0"},{"photo_id":"1399739593","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739593":["hashtag1","hashtag2"]},{"1399739595":["hashtag1","hashtag2"]},{"1399739589":["hashtag1","hashtag2"]},{"1399739592":["hashtag1","hashtag2"]},{"1399739591":["hashtag1","hashtag2"]},{"1399739594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739593, 1399739595, 1399739589, 1399739592, 1399739591, 1399739594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73435044288635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:42:22.643226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_55_9575.jpg', '/home/pi/Desktop/images/17122025/03/40/image_17122025_03_41_04_9729.jpg', '/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_15_10604.jpg', '/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_44_9610.jpg', '/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_55_10825.jpg', '/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_55_9575.jpg
/home/pi/Desktop/images/17122025/03/40/image_17122025_03_41_04_9729.jpg
/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_15_10604.jpg
/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_44_9610.jpg
/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_55_10825.jpg
/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_14_9773.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47771430015563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:42:32.682029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:42:42.657144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_40_2744.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_43_2901.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_46_2740.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_50_3618.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_52_2596.jpg', '/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_55_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_40_2744.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_43_2901.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_46_2740.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_50_3618.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_52_2596.jpg
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_55_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739612","1399739606","1399739609","1399739611","1399739608","1399739610"],"photo_ids_order":["1399739606","1399739608","1399739609","1399739610","1399739611","1399739612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/293709c049fd11a49c778b0ee1040ce9.jpg","text":"TemporaryFile(/tmp/multipartBody9207031979072494502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939423388,"filename":"image_07112025_15_56_55_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4064bf53887fe16ffc552739014d47ce.jpg","text":"TemporaryFile(/tmp/multipartBody1432209409138547446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939423388,"filename":"image_07112025_15_56_40_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18bd9d9bed43084833b8fa5f59d1121c.jpg","text":"TemporaryFile(/tmp/multipartBody1832503893645629459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939423388,"filename":"image_07112025_15_56_46_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fa585f0216d7d82893effc997ac22b8.jpg","text":"TemporaryFile(/tmp/multipartBody8077771502689581014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939423388,"filename":"image_07112025_15_56_52_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22e7b2f818e76ecb08b72afa67a71ec0.jpg","text":"TemporaryFile(/tmp/multipartBody2643825345380262536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939423388,"filename":"image_07112025_15_56_43_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4aea36eb740f7ee17f7327d7ab6a929e.jpg","text":"TemporaryFile(/tmp/multipartBody2844624305203936852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939423388,"filename":"image_07112025_15_56_50_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739609","file1":"1399739608","file0":"1399739606","file4":"1399739611","file5":"1399739612","file3":"1399739610"},"map_files_photo_id_array":[{"photo_id":"1399739612","filename":"file5"},{"photo_id":"1399739609","filename":"file2"},{"photo_id":"1399739611","filename":"file4"},{"photo_id":"1399739608","filename":"file1"},{"photo_id":"1399739606","filename":"file0"},{"photo_id":"1399739610","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739612":["hashtag1","hashtag2"]},{"1399739606":["hashtag1","hashtag2"]},{"1399739609":["hashtag1","hashtag2"]},{"1399739611":["hashtag1","hashtag2"]},{"1399739608":["hashtag1","hashtag2"]},{"1399739610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739612, 1399739606, 1399739609, 1399739611, 1399739608, 1399739610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87422299385071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:43:21.934610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_55_9575.jpg', '/home/pi/Desktop/images/17122025/03/40/image_17122025_03_41_04_9729.jpg', '/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_15_10604.jpg', '/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_44_9610.jpg', '/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_55_10825.jpg', '/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_14_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/40/image_17122025_03_40_55_9575.jpg
/home/pi/Desktop/images/17122025/03/40/image_17122025_03_41_04_9729.jpg
/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_15_10604.jpg
/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_44_9610.jpg
/home/pi/Desktop/images/17122025/03/41/image_17122025_03_41_55_10825.jpg
/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_14_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":["1399739615","1399739623","1399739617","1399739619","1399739613","1399739621"],"photo_ids_order":["1399739613","1399739615","1399739617","1399739619","1399739621","1399739623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f536e28704a74df3cde48ee07579414c.jpg","text":"TemporaryFile(/tmp/multipartBody5175363038443162361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939462514,"filename":"image_17122025_03_41_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b02cec395530a7e574bb5ebb4ca766f.jpg","text":"TemporaryFile(/tmp/multipartBody6668831189542053875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939462514,"filename":"image_17122025_03_42_14_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89726ad2ade51e91bd487c4c4849125d.jpg","text":"TemporaryFile(/tmp/multipartBody1432163193695039436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939462514,"filename":"image_17122025_03_41_15_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c5410f2be63145375f4edc5ff8135bd.jpg","text":"TemporaryFile(/tmp/multipartBody6190057060927406692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939462514,"filename":"image_17122025_03_41_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3358aad5f9abaa8df99a3d46bdde22e4.jpg","text":"TemporaryFile(/tmp/multipartBody3319800509244446906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939462514,"filename":"image_17122025_03_40_55_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62baa7ac151689343010032b493027c1.jpg","text":"TemporaryFile(/tmp/multipartBody2193199857798243043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939462514,"filename":"image_17122025_03_41_55_10825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739617","file1":"1399739615","file0":"1399739613","file4":"1399739621","file5":"1399739623","file3":"1399739619"},"map_files_photo_id_array":[{"photo_id":"1399739623","filename":"file5"},{"photo_id":"1399739617","filename":"file2"},{"photo_id":"1399739621","filename":"file4"},{"photo_id":"1399739615","filename":"file1"},{"photo_id":"1399739613","filename":"file0"},{"photo_id":"1399739619","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739615":["hashtag1","hashtag2"]},{"1399739623":["hashtag1","hashtag2"]},{"1399739617":["hashtag1","hashtag2"]},{"1399739619":["hashtag1","hashtag2"]},{"1399739613":["hashtag1","hashtag2"]},{"1399739621":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739615, 1399739623, 1399739617, 1399739619, 1399739613, 1399739621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62035322189331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:44:02.883016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_24_9946.jpg', '/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_45_9797.jpg', '/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_54_9829.jpg', '/home/pi/Desktop/images/17122025/03/42/image_17122025_03_43_04_9725.jpg', '/home/pi/Desktop/images/17122025/03/43/image_17122025_03_43_15_10728.jpg', '/home/pi/Desktop/images/17122025/03/43/image_17122025_03_43_34_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_24_9946.jpg
/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_45_9797.jpg
/home/pi/Desktop/images/17122025/03/42/image_17122025_03_42_54_9829.jpg
/home/pi/Desktop/images/17122025/03/42/image_17122025_03_43_04_9725.jpg
/home/pi/Desktop/images/17122025/03/43/image_17122025_03_43_15_10728.jpg
/home/pi/Desktop/images/17122025/03/43/image_17122025_03_43_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":["1399739630","1399739627","1399739629","1399739626","1399739631","1399739625"],"photo_ids_order":["1399739625","1399739626","1399739627","1399739629","1399739630","1399739631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f6f36f1bebf3c5f8a22f6e3d22ff104.jpg","text":"TemporaryFile(/tmp/multipartBody1900004581826002845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939503521,"filename":"image_17122025_03_43_15_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/047332a165c09c3cad5416231decf254.jpg","text":"TemporaryFile(/tmp/multipartBody4646613999136401056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939503521,"filename":"image_17122025_03_42_54_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/facac01766606c1bddfb5836c187b092.jpg","text":"TemporaryFile(/tmp/multipartBody7463156254899257165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939503521,"filename":"image_17122025_03_43_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9812debeebc938f34452539134c1c3d6.jpg","text":"TemporaryFile(/tmp/multipartBody7808749858488742625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939503521,"filename":"image_17122025_03_42_45_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e54fa5d739b36c4fd0174157a652570.jpg","text":"TemporaryFile(/tmp/multipartBody6837509465147171779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939503521,"filename":"image_17122025_03_43_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e946a07c0d3b76372853962724a94159.jpg","text":"TemporaryFile(/tmp/multipartBody5136360957485940424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939503521,"filename":"image_17122025_03_42_24_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739627","file1":"1399739626","file0":"1399739625","file4":"1399739630","file5":"1399739631","file3":"1399739629"},"map_files_photo_id_array":[{"photo_id":"1399739631","filename":"file5"},{"photo_id":"1399739627","filename":"file2"},{"photo_id":"1399739630","filename":"file4"},{"photo_id":"1399739626","filename":"file1"},{"photo_id":"1399739625","filename":"file0"},{"photo_id":"1399739629","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739630":["hashtag1","hashtag2"]},{"1399739627":["hashtag1","hashtag2"]},{"1399739629":["hashtag1","hashtag2"]},{"1399739626":["hashtag1","hashtag2"]},{"1399739631":["hashtag1","hashtag2"]},{"1399739625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739630, 1399739627, 1399739629, 1399739626, 1399739631, 1399739625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66717171669006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:44:42.149594
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_58_3667.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_01_2732.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_04_2797.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_07_2655.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_10_3693.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_13_2673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/56/image_07112025_15_56_58_3667.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_01_2732.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_04_2797.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_07_2655.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_10_3693.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_13_2673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739650","1399739641","1399739635","1399739644","1399739646","1399739648"],"photo_ids_order":["1399739635","1399739641","1399739644","1399739646","1399739648","1399739650"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a3b6261bee9e74502f7f2e63290015c.jpg","text":"TemporaryFile(/tmp/multipartBody3879174683967515083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939542871,"filename":"image_07112025_15_57_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef3cdaa2ce6428422d64b999558dff44.jpg","text":"TemporaryFile(/tmp/multipartBody2616805762672200268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939542871,"filename":"image_07112025_15_57_01_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3439326433058d7c418b4502ebd0f47c.jpg","text":"TemporaryFile(/tmp/multipartBody644951292616573440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939542871,"filename":"image_07112025_15_56_58_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1acec366f4e05ebbd7776dbd555dd47.jpg","text":"TemporaryFile(/tmp/multipartBody8160745315081636732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939542871,"filename":"image_07112025_15_57_04_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ec9dc60a05ebfd2b418204cfae1634d.jpg","text":"TemporaryFile(/tmp/multipartBody5977019226134114266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939542871,"filename":"image_07112025_15_57_07_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d421d8977e96473f883dc741f4e4be5.jpg","text":"TemporaryFile(/tmp/multipartBody7907104613593463402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939542871,"filename":"image_07112025_15_57_10_3693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739644","file1":"1399739641","file0":"1399739635","file4":"1399739648","file5":"1399739650","file3":"1399739646"},"map_files_photo_id_array":[{"photo_id":"1399739650","filename":"file5"},{"photo_id":"1399739644","filename":"file2"},{"photo_id":"1399739648","filename":"file4"},{"photo_id":"1399739641","filename":"file1"},{"photo_id":"1399739635","filename":"file0"},{"photo_id":"1399739646","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739650":["hashtag1","hashtag2"]},{"1399739641":["hashtag1","hashtag2"]},{"1399739635":["hashtag1","hashtag2"]},{"1399739644":["hashtag1","hashtag2"]},{"1399739646":["hashtag1","hashtag2"]},{"1399739648":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739650, 1399739641, 1399739635, 1399739644, 1399739646, 1399739648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49088978767395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:45:22.332051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/43/image_17122025_03_43_45_10784.jpg', '/home/pi/Desktop/images/17122025/03/43/image_17122025_03_43_55_9732.jpg', '/home/pi/Desktop/images/17122025/03/43/image_17122025_03_44_05_9715.jpg', '/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_14_9607.jpg', '/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_25_10752.jpg', '/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_35_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/43/image_17122025_03_43_45_10784.jpg
/home/pi/Desktop/images/17122025/03/43/image_17122025_03_43_55_9732.jpg
/home/pi/Desktop/images/17122025/03/43/image_17122025_03_44_05_9715.jpg
/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_14_9607.jpg
/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_25_10752.jpg
/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_35_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739662","1399739656","1399739664","1399739658","1399739660","1399739654"],"photo_ids_order":["1399739654","1399739656","1399739658","1399739660","1399739662","1399739664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f83528c6d78a2ab83b74c223bdd3ec3.jpg","text":"TemporaryFile(/tmp/multipartBody5379763837889527197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939582945,"filename":"image_17122025_03_44_25_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1ebe4d37ce16fcecefa8c854cb0cf25.jpg","text":"TemporaryFile(/tmp/multipartBody374646691961123368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939582945,"filename":"image_17122025_03_43_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b267d65a043a7220c55166bed64c10d.jpg","text":"TemporaryFile(/tmp/multipartBody8371050965112772796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939582945,"filename":"image_17122025_03_44_35_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbc8cbb53292e4cbd1ce2d5be2b4a78f.jpg","text":"TemporaryFile(/tmp/multipartBody760836588006041000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939582945,"filename":"image_17122025_03_44_05_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f36e1efe0671fb6509fb48d32d801b3e.jpg","text":"TemporaryFile(/tmp/multipartBody5189937644655318327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939582945,"filename":"image_17122025_03_44_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac754957cd3b4b4a463793487d1790ce.jpg","text":"TemporaryFile(/tmp/multipartBody8363549673190081050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939582945,"filename":"image_17122025_03_43_45_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739658","file1":"1399739656","file0":"1399739654","file4":"1399739662","file5":"1399739664","file3":"1399739660"},"map_files_photo_id_array":[{"photo_id":"1399739664","filename":"file5"},{"photo_id":"1399739658","filename":"file2"},{"photo_id":"1399739662","filename":"file4"},{"photo_id":"1399739656","filename":"file1"},{"photo_id":"1399739654","filename":"file0"},{"photo_id":"1399739660","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739662":["hashtag1","hashtag2"]},{"1399739656":["hashtag1","hashtag2"]},{"1399739664":["hashtag1","hashtag2"]},{"1399739658":["hashtag1","hashtag2"]},{"1399739660":["hashtag1","hashtag2"]},{"1399739654":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739662, 1399739656, 1399739664, 1399739658, 1399739660, 1399739654)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.664917945861816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:46:03.014107
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_44_9648.jpg', '/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_55_10735.jpg', '/home/pi/Desktop/images/17122025/03/44/image_17122025_03_45_05_9599.jpg', '/home/pi/Desktop/images/17122025/03/45/image_17122025_03_45_14_9737.jpg', '/home/pi/Desktop/images/17122025/03/45/image_17122025_03_45_35_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_44_9648.jpg
/home/pi/Desktop/images/17122025/03/44/image_17122025_03_44_55_10735.jpg
/home/pi/Desktop/images/17122025/03/44/image_17122025_03_45_05_9599.jpg
/home/pi/Desktop/images/17122025/03/45/image_17122025_03_45_14_9737.jpg
/home/pi/Desktop/images/17122025/03/45/image_17122025_03_45_35_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":["1399739671","1399739665","1399739668","1399739673","1399739666"],"photo_ids_order":["1399739665","1399739666","1399739668","1399739671","1399739673"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97cba6ffaae55753ca11649024c4c046.jpg","text":"TemporaryFile(/tmp/multipartBody5523139975963834038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939623587,"filename":"image_17122025_03_45_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ae6d6905084135bc41dd28517b3d4e0.jpg","text":"TemporaryFile(/tmp/multipartBody1838439573426258564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939623587,"filename":"image_17122025_03_44_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/399fef934135430816b91a246d6a2d1a.jpg","text":"TemporaryFile(/tmp/multipartBody8823794663575182078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939623587,"filename":"image_17122025_03_45_05_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4190386bf869ecd9311bbd9a65d30789.jpg","text":"TemporaryFile(/tmp/multipartBody8427156156877752672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939623587,"filename":"image_17122025_03_45_35_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9108ccf50f5cdd1ae27dc97fa5936d6d.jpg","text":"TemporaryFile(/tmp/multipartBody3284426471042630934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939623587,"filename":"image_17122025_03_44_55_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739668","file1":"1399739666","file0":"1399739665","file4":"1399739673","file3":"1399739671"},"map_files_photo_id_array":[{"photo_id":"1399739668","filename":"file2"},{"photo_id":"1399739673","filename":"file4"},{"photo_id":"1399739666","filename":"file1"},{"photo_id":"1399739665","filename":"file0"},{"photo_id":"1399739671","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739671":["hashtag1","hashtag2"]},{"1399739665":["hashtag1","hashtag2"]},{"1399739668":["hashtag1","hashtag2"]},{"1399739673":["hashtag1","hashtag2"]},{"1399739666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739671, 1399739665, 1399739668, 1399739673, 1399739666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.22648572921753 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:46:42.670419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_17_3559.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_19_2594.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_22_2900.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_25_2707.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_29_3766.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_31_2635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_17_3559.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_19_2594.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_22_2900.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_25_2707.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_29_3766.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_31_2635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739683","1399739680","1399739682","1399739684","1399739681","1399739678"],"photo_ids_order":["1399739678","1399739680","1399739681","1399739682","1399739683","1399739684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5dffcc6b8c0defde00337ee7051ce00.jpg","text":"TemporaryFile(/tmp/multipartBody984063923131997136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939663431,"filename":"image_07112025_15_57_29_3766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a273798130ad41ddac156309091177b0.jpg","text":"TemporaryFile(/tmp/multipartBody5056629404714947971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939663431,"filename":"image_07112025_15_57_19_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15cdb657145a753d9b97b71c720de91e.jpg","text":"TemporaryFile(/tmp/multipartBody2875438899363459519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939663431,"filename":"image_07112025_15_57_25_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1dcece62ca0b3b2dc2b9d2a57c316d19.jpg","text":"TemporaryFile(/tmp/multipartBody1153570351023401180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939663431,"filename":"image_07112025_15_57_31_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77db85033298146a75ea04545db7e257.jpg","text":"TemporaryFile(/tmp/multipartBody7243557557625568062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939663431,"filename":"image_07112025_15_57_22_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70c050d28d138cd2a39f08d4d01a0652.jpg","text":"TemporaryFile(/tmp/multipartBody8388093986061359122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939663431,"filename":"image_07112025_15_57_17_3559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739681","file1":"1399739680","file0":"1399739678","file4":"1399739683","file5":"1399739684","file3":"1399739682"},"map_files_photo_id_array":[{"photo_id":"1399739684","filename":"file5"},{"photo_id":"1399739681","filename":"file2"},{"photo_id":"1399739683","filename":"file4"},{"photo_id":"1399739680","filename":"file1"},{"photo_id":"1399739678","filename":"file0"},{"photo_id":"1399739682","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739683":["hashtag1","hashtag2"]},{"1399739680":["hashtag1","hashtag2"]},{"1399739682":["hashtag1","hashtag2"]},{"1399739684":["hashtag1","hashtag2"]},{"1399739681":["hashtag1","hashtag2"]},{"1399739678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739683, 1399739680, 1399739682, 1399739684, 1399739681, 1399739678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73235249519348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:47:21.864800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/45/image_17122025_03_45_54_9673.jpg', '/home/pi/Desktop/images/17122025/03/46/image_17122025_03_46_25_9972.jpg', '/home/pi/Desktop/images/17122025/03/46/image_17122025_03_46_34_9808.jpg', '/home/pi/Desktop/images/17122025/03/46/image_17122025_03_46_45_10541.jpg', '/home/pi/Desktop/images/17122025/03/46/image_17122025_03_47_04_9744.jpg', '/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_15_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/45/image_17122025_03_45_54_9673.jpg
/home/pi/Desktop/images/17122025/03/46/image_17122025_03_46_25_9972.jpg
/home/pi/Desktop/images/17122025/03/46/image_17122025_03_46_34_9808.jpg
/home/pi/Desktop/images/17122025/03/46/image_17122025_03_46_45_10541.jpg
/home/pi/Desktop/images/17122025/03/46/image_17122025_03_47_04_9744.jpg
/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_15_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":["1399739695","1399739689","1399739691","1399739685","1399739693","1399739687"],"photo_ids_order":["1399739685","1399739687","1399739689","1399739691","1399739693","1399739695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ec4e2557055a270bc906f925184718b.jpg","text":"TemporaryFile(/tmp/multipartBody5278432126388531965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939702449,"filename":"image_17122025_03_47_15_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc096c234c44ea3284026bc09fe0d7e2.jpg","text":"TemporaryFile(/tmp/multipartBody8633569718050086312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939702449,"filename":"image_17122025_03_46_34_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99f64b482831be709a548f8d1de168db.jpg","text":"TemporaryFile(/tmp/multipartBody6481082284100823239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939702449,"filename":"image_17122025_03_46_45_10541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/331cc6d0fd85cb20631af9f4e0ba333e.jpg","text":"TemporaryFile(/tmp/multipartBody7407247596299706333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939702449,"filename":"image_17122025_03_45_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/acfc2d60ccb53291b95eeb62e50f3340.jpg","text":"TemporaryFile(/tmp/multipartBody7500865209588678257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939702449,"filename":"image_17122025_03_47_04_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12fe1daf3065d596fa878fce954850fa.jpg","text":"TemporaryFile(/tmp/multipartBody7778309578451426688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939702449,"filename":"image_17122025_03_46_25_9972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739689","file1":"1399739687","file0":"1399739685","file4":"1399739693","file5":"1399739695","file3":"1399739691"},"map_files_photo_id_array":[{"photo_id":"1399739695","filename":"file5"},{"photo_id":"1399739689","filename":"file2"},{"photo_id":"1399739693","filename":"file4"},{"photo_id":"1399739687","filename":"file1"},{"photo_id":"1399739685","filename":"file0"},{"photo_id":"1399739691","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739695":["hashtag1","hashtag2"]},{"1399739689":["hashtag1","hashtag2"]},{"1399739691":["hashtag1","hashtag2"]},{"1399739685":["hashtag1","hashtag2"]},{"1399739693":["hashtag1","hashtag2"]},{"1399739687":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739695, 1399739689, 1399739691, 1399739685, 1399739693, 1399739687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16316080093384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:48:02.559436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_25_9653.jpg', '/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_34_9530.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_25_9653.jpg
/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_34_9530.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739698","1399739697"],"photo_ids_order":["1399739697","1399739698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1348767779971e6817b59fcbddfc5d95.jpg","text":"TemporaryFile(/tmp/multipartBody8439657631084270226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939743013,"filename":"image_17122025_03_47_34_9530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed969a7429886fcdb6e0610b0a193422.jpg","text":"TemporaryFile(/tmp/multipartBody820698868566440139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939743013,"filename":"image_17122025_03_47_25_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399739698","file0":"1399739697"},"map_files_photo_id_array":[{"photo_id":"1399739698","filename":"file1"},{"photo_id":"1399739697","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739698":["hashtag1","hashtag2"]},{"1399739697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739698, 1399739697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.916160345077515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:48:22.117412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_55_9708.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_15_10722.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_34_9555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_55_9708.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_15_10722.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_34_9555.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3759920597076416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:48:32.314100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:48:42.109750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_34_2790.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_38_3555.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_40_2669.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_43_2566.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_47_3790.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_49_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_34_2790.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_38_3555.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_40_2669.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_43_2566.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_47_3790.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_49_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739711","1399739708","1399739710","1399739712","1399739706","1399739709"],"photo_ids_order":["1399739706","1399739708","1399739709","1399739710","1399739711","1399739712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24537e772b8e16ad1e4e04d39d4a099c.jpg","text":"TemporaryFile(/tmp/multipartBody613949120322641123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939782836,"filename":"image_07112025_15_57_47_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8b9c5113327704e5067c071a7959ae5.jpg","text":"TemporaryFile(/tmp/multipartBody2276715192164842868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939782836,"filename":"image_07112025_15_57_38_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d7e74e7ddb55595bb3fd4f3c240d1c0.jpg","text":"TemporaryFile(/tmp/multipartBody4598360048915784284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939782836,"filename":"image_07112025_15_57_43_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c677270f769459fac942f76e32e1fe0e.jpg","text":"TemporaryFile(/tmp/multipartBody6589832403770430324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939782836,"filename":"image_07112025_15_57_49_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8721cbf5addad4182ad1b671b49cfd4d.jpg","text":"TemporaryFile(/tmp/multipartBody5663453389535894433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939782836,"filename":"image_07112025_15_57_34_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81e56fb55c7cd25422cfaa89f80092ea.jpg","text":"TemporaryFile(/tmp/multipartBody7371735296315250238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939782836,"filename":"image_07112025_15_57_40_2669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739709","file1":"1399739708","file0":"1399739706","file4":"1399739711","file5":"1399739712","file3":"1399739710"},"map_files_photo_id_array":[{"photo_id":"1399739712","filename":"file5"},{"photo_id":"1399739709","filename":"file2"},{"photo_id":"1399739711","filename":"file4"},{"photo_id":"1399739708","filename":"file1"},{"photo_id":"1399739706","filename":"file0"},{"photo_id":"1399739710","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739711":["hashtag1","hashtag2"]},{"1399739708":["hashtag1","hashtag2"]},{"1399739710":["hashtag1","hashtag2"]},{"1399739712":["hashtag1","hashtag2"]},{"1399739706":["hashtag1","hashtag2"]},{"1399739709":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739711, 1399739708, 1399739710, 1399739712, 1399739706, 1399739709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13598108291626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:49:22.440783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_55_9708.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_15_10722.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_34_9555.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_45_10686.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_49_05_10535.jpg', '/home/pi/Desktop/images/17122025/03/49/image_17122025_03_49_45_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_55_9708.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_15_10722.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_34_9555.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_45_10686.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_49_05_10535.jpg
/home/pi/Desktop/images/17122025/03/49/image_17122025_03_49_45_10728.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5153396129608154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:49:32.422266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:49:44.174131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_52_2704.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_55_3570.jpg', '/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_58_2686.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_01_2620.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_05_3727.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_07_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_52_2704.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_55_3570.jpg
/home/pi/Desktop/images/07112025/15/57/image_07112025_15_57_58_2686.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_01_2620.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_05_3727.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_07_2522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739726","1399739728","1399739730","1399739724","1399739727","1399739729"],"photo_ids_order":["1399739724","1399739726","1399739727","1399739728","1399739729","1399739730"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4b036ddfde4d2d4d7b0fb74bb38286c.jpg","text":"TemporaryFile(/tmp/multipartBody5066679162172489500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939845236,"filename":"image_07112025_15_57_55_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bf0a76e8d782be027a790cae666b03e.jpg","text":"TemporaryFile(/tmp/multipartBody4553871306010511216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939845236,"filename":"image_07112025_15_58_01_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb77654e6acf46be1e9bc962c6192d1e.jpg","text":"TemporaryFile(/tmp/multipartBody3358373979271293530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939845236,"filename":"image_07112025_15_58_07_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bccb10fdae00657ab53344a50ca29c8.jpg","text":"TemporaryFile(/tmp/multipartBody2321287931430172409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939845236,"filename":"image_07112025_15_57_52_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f27595624ebdf27a093c0daca076747.jpg","text":"TemporaryFile(/tmp/multipartBody8663111109191382004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939845236,"filename":"image_07112025_15_57_58_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fac10899114c7a0a424fe34842e72501.jpg","text":"TemporaryFile(/tmp/multipartBody3874424755541747982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939845236,"filename":"image_07112025_15_58_05_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739727","file1":"1399739726","file0":"1399739724","file4":"1399739729","file5":"1399739730","file3":"1399739728"},"map_files_photo_id_array":[{"photo_id":"1399739730","filename":"file5"},{"photo_id":"1399739727","filename":"file2"},{"photo_id":"1399739729","filename":"file4"},{"photo_id":"1399739726","filename":"file1"},{"photo_id":"1399739724","filename":"file0"},{"photo_id":"1399739728","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739726":["hashtag1","hashtag2"]},{"1399739728":["hashtag1","hashtag2"]},{"1399739730":["hashtag1","hashtag2"]},{"1399739724":["hashtag1","hashtag2"]},{"1399739727":["hashtag1","hashtag2"]},{"1399739729":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739726, 1399739728, 1399739730, 1399739724, 1399739727, 1399739729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05931496620178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:50:22.428947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_55_9708.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_15_10722.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_34_9555.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_45_10686.jpg', '/home/pi/Desktop/images/17122025/03/48/image_17122025_03_49_05_10535.jpg', '/home/pi/Desktop/images/17122025/03/49/image_17122025_03_49_45_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/47/image_17122025_03_47_55_9708.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_15_10722.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_34_9555.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_48_45_10686.jpg
/home/pi/Desktop/images/17122025/03/48/image_17122025_03_49_05_10535.jpg
/home/pi/Desktop/images/17122025/03/49/image_17122025_03_49_45_10728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739731","1399739749","1399739740","1399739745","1399739733","1399739747"],"photo_ids_order":["1399739731","1399739733","1399739740","1399739745","1399739747","1399739749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2aa9ec246ba2b15595b67f418a94090a.jpg","text":"TemporaryFile(/tmp/multipartBody8760237912540641040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939883011,"filename":"image_17122025_03_47_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c5d16c39bb09d4429901019fd631902.jpg","text":"TemporaryFile(/tmp/multipartBody1183988015441634187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939883011,"filename":"image_17122025_03_49_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa1ffa4aa6f4e7b75fa33ab1b52b3c65.jpg","text":"TemporaryFile(/tmp/multipartBody5129734272221364058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939883011,"filename":"image_17122025_03_48_34_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6c35de638206e2ab58918b95ac3d1da.jpg","text":"TemporaryFile(/tmp/multipartBody4419127220339077728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939883011,"filename":"image_17122025_03_48_45_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/858cd174b8611f320fa9dfd3fa957878.jpg","text":"TemporaryFile(/tmp/multipartBody9127814288644290472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939883011,"filename":"image_17122025_03_48_15_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfda394e0df11f3f6ac4ccb65d4306a9.jpg","text":"TemporaryFile(/tmp/multipartBody2627725451666508359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939883011,"filename":"image_17122025_03_49_05_10535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739740","file1":"1399739733","file0":"1399739731","file4":"1399739747","file5":"1399739749","file3":"1399739745"},"map_files_photo_id_array":[{"photo_id":"1399739749","filename":"file5"},{"photo_id":"1399739740","filename":"file2"},{"photo_id":"1399739747","filename":"file4"},{"photo_id":"1399739733","filename":"file1"},{"photo_id":"1399739731","filename":"file0"},{"photo_id":"1399739745","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739731":["hashtag1","hashtag2"]},{"1399739749":["hashtag1","hashtag2"]},{"1399739740":["hashtag1","hashtag2"]},{"1399739745":["hashtag1","hashtag2"]},{"1399739733":["hashtag1","hashtag2"]},{"1399739747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739731, 1399739749, 1399739740, 1399739745, 1399739733, 1399739747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92142701148987 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:51:03.210085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/49/image_17122025_03_49_55_9711.jpg', '/home/pi/Desktop/images/17122025/03/49/image_17122025_03_50_04_9704.jpg', '/home/pi/Desktop/images/17122025/03/50/image_17122025_03_50_14_9812.jpg', '/home/pi/Desktop/images/17122025/03/50/image_17122025_03_50_25_10832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/49/image_17122025_03_49_55_9711.jpg
/home/pi/Desktop/images/17122025/03/49/image_17122025_03_50_04_9704.jpg
/home/pi/Desktop/images/17122025/03/50/image_17122025_03_50_14_9812.jpg
/home/pi/Desktop/images/17122025/03/50/image_17122025_03_50_25_10832.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739750","1399739752","1399739751","1399739753"],"photo_ids_order":["1399739750","1399739751","1399739752","1399739753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52f9bc91197e533a75f6d793811830da.jpg","text":"TemporaryFile(/tmp/multipartBody8540147163535270696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939923777,"filename":"image_17122025_03_49_55_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb0ce9a9356e9b92b07b0aecc3a74256.jpg","text":"TemporaryFile(/tmp/multipartBody2491311135879450225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939923777,"filename":"image_17122025_03_50_14_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71ef0ef02ab22c65aea9f253287aec3d.jpg","text":"TemporaryFile(/tmp/multipartBody5235616373211738997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939923777,"filename":"image_17122025_03_50_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8684918e8505a46fb7adb4a22d985984.jpg","text":"TemporaryFile(/tmp/multipartBody5819157114175670503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939923777,"filename":"image_17122025_03_50_25_10832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739752","file1":"1399739751","file0":"1399739750","file3":"1399739753"},"map_files_photo_id_array":[{"photo_id":"1399739752","filename":"file2"},{"photo_id":"1399739751","filename":"file1"},{"photo_id":"1399739750","filename":"file0"},{"photo_id":"1399739753","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739750":["hashtag1","hashtag2"]},{"1399739752":["hashtag1","hashtag2"]},{"1399739751":["hashtag1","hashtag2"]},{"1399739753":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739750, 1399739752, 1399739751, 1399739753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.305931091308594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:51:32.779969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:51:44.416506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_10_2572.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_13_3665.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_16_2653.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_20_3573.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_22_2555.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_25_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_10_2572.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_13_3665.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_16_2653.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_20_3573.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_22_2555.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_25_2532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739759","1399739764","1399739761","1399739760","1399739763","1399739762"],"photo_ids_order":["1399739759","1399739760","1399739761","1399739762","1399739763","1399739764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c57f01110dd10376582bb7a733687633.jpg","text":"TemporaryFile(/tmp/multipartBody3538790549294373704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939965145,"filename":"image_07112025_15_58_10_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e525d03f65600cf4d8749221be32e51a.jpg","text":"TemporaryFile(/tmp/multipartBody8899938076695362255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939965145,"filename":"image_07112025_15_58_25_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/150606e5d8732dd043676efee1137ef5.jpg","text":"TemporaryFile(/tmp/multipartBody3771567399153490586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939965145,"filename":"image_07112025_15_58_16_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3342cb6148239d350be759032b4ffbf8.jpg","text":"TemporaryFile(/tmp/multipartBody1237464475202827704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939965145,"filename":"image_07112025_15_58_13_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f29af6fca1b12bfeaaf6db1f6237790.jpg","text":"TemporaryFile(/tmp/multipartBody3574310499898397597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939965145,"filename":"image_07112025_15_58_22_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2a89a0c72be43946d81d3df9716a6f3.jpg","text":"TemporaryFile(/tmp/multipartBody8011468470562396109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765939965145,"filename":"image_07112025_15_58_20_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739761","file1":"1399739760","file0":"1399739759","file4":"1399739763","file5":"1399739764","file3":"1399739762"},"map_files_photo_id_array":[{"photo_id":"1399739764","filename":"file5"},{"photo_id":"1399739761","filename":"file2"},{"photo_id":"1399739763","filename":"file4"},{"photo_id":"1399739760","filename":"file1"},{"photo_id":"1399739759","filename":"file0"},{"photo_id":"1399739762","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739759":["hashtag1","hashtag2"]},{"1399739764":["hashtag1","hashtag2"]},{"1399739761":["hashtag1","hashtag2"]},{"1399739760":["hashtag1","hashtag2"]},{"1399739763":["hashtag1","hashtag2"]},{"1399739762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739759, 1399739764, 1399739761, 1399739760, 1399739763, 1399739762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75002384185791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:52:25.405853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/50/image_17122025_03_50_44_9773.jpg', '/home/pi/Desktop/images/17122025/03/50/image_17122025_03_51_05_9750.jpg', '/home/pi/Desktop/images/17122025/03/51/image_17122025_03_51_14_9579.jpg', '/home/pi/Desktop/images/17122025/03/51/image_17122025_03_52_04_9695.jpg', '/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_15_10542.jpg', '/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_25_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/50/image_17122025_03_50_44_9773.jpg
/home/pi/Desktop/images/17122025/03/50/image_17122025_03_51_05_9750.jpg
/home/pi/Desktop/images/17122025/03/51/image_17122025_03_51_14_9579.jpg
/home/pi/Desktop/images/17122025/03/51/image_17122025_03_52_04_9695.jpg
/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_15_10542.jpg
/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_25_9704.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4481024742126465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:52:35.503206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:52:47.673896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_28_3565.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_31_2770.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_34_2844.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_37_2757.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_40_3606.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_43_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_28_3565.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_31_2770.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_34_2844.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_37_2757.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_40_3606.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_43_2766.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":["1399739776","1399739779","1399739781","1399739778","1399739780","1399739777"],"photo_ids_order":["1399739776","1399739777","1399739778","1399739779","1399739780","1399739781"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/354bcc371df603b5303b0cfe3273fd6f.jpg","text":"TemporaryFile(/tmp/multipartBody2279042927233398950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940036557,"filename":"image_07112025_15_58_28_3565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33cd6f85008278cf8f2f78e8999b6f5d.jpg","text":"TemporaryFile(/tmp/multipartBody7808642029204771038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940036557,"filename":"image_07112025_15_58_37_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02d6236618c3f3ec1c9b37eb27102aec.jpg","text":"TemporaryFile(/tmp/multipartBody3010859229401973692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940036557,"filename":"image_07112025_15_58_43_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4751c864289921bd17e6360f0a770e69.jpg","text":"TemporaryFile(/tmp/multipartBody2454475128880936041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940036557,"filename":"image_07112025_15_58_34_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de61cff450916a8ada43c77522c5e0f7.jpg","text":"TemporaryFile(/tmp/multipartBody7414493361007556180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940036557,"filename":"image_07112025_15_58_40_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54902ee18c152776299b6a84bc814c05.jpg","text":"TemporaryFile(/tmp/multipartBody5237018574511795032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940036557,"filename":"image_07112025_15_58_31_2770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739778","file1":"1399739777","file0":"1399739776","file4":"1399739780","file5":"1399739781","file3":"1399739779"},"map_files_photo_id_array":[{"photo_id":"1399739781","filename":"file5"},{"photo_id":"1399739778","filename":"file2"},{"photo_id":"1399739780","filename":"file4"},{"photo_id":"1399739777","filename":"file1"},{"photo_id":"1399739776","filename":"file0"},{"photo_id":"1399739779","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739776":["hashtag1","hashtag2"]},{"1399739779":["hashtag1","hashtag2"]},{"1399739781":["hashtag1","hashtag2"]},{"1399739778":["hashtag1","hashtag2"]},{"1399739780":["hashtag1","hashtag2"]},{"1399739777":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739776, 1399739779, 1399739781, 1399739778, 1399739780, 1399739777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.429043769836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:53:41.745786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_46_2893.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_49_3657.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_55_2603.jpg', '/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_58_3689.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_01_2669.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_04_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_46_2893.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_49_3657.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_55_2603.jpg
/home/pi/Desktop/images/07112025/15/58/image_07112025_15_58_58_3689.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_01_2669.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_04_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739794","1399739791","1399739793","1399739787","1399739792","1399739795"],"photo_ids_order":["1399739787","1399739791","1399739792","1399739793","1399739794","1399739795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a86ef7fc70e5cb556b99cdcc82edb6b5.jpg","text":"TemporaryFile(/tmp/multipartBody5860278513774875462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940082507,"filename":"image_07112025_15_59_01_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f67851bc87333520fcc2c22b0a889f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3121414629522841192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940082507,"filename":"image_07112025_15_58_49_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c70baee2e381141ca35ca235dc285a2c.jpg","text":"TemporaryFile(/tmp/multipartBody7947252933408624576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940082507,"filename":"image_07112025_15_58_58_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecfa89cfa2c868cf8364667b25633b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8394283320519902684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940082507,"filename":"image_07112025_15_58_46_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43941daaa3c156ec7ccfda54436255a8.jpg","text":"TemporaryFile(/tmp/multipartBody4266706626717310776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940082507,"filename":"image_07112025_15_58_55_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d404811bb02905cbf626a6963cf97a58.jpg","text":"TemporaryFile(/tmp/multipartBody1518935228924155193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940082507,"filename":"image_07112025_15_59_04_2702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739792","file1":"1399739791","file0":"1399739787","file4":"1399739794","file5":"1399739795","file3":"1399739793"},"map_files_photo_id_array":[{"photo_id":"1399739795","filename":"file5"},{"photo_id":"1399739792","filename":"file2"},{"photo_id":"1399739794","filename":"file4"},{"photo_id":"1399739791","filename":"file1"},{"photo_id":"1399739787","filename":"file0"},{"photo_id":"1399739793","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739794":["hashtag1","hashtag2"]},{"1399739791":["hashtag1","hashtag2"]},{"1399739793":["hashtag1","hashtag2"]},{"1399739787":["hashtag1","hashtag2"]},{"1399739792":["hashtag1","hashtag2"]},{"1399739795":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739794, 1399739791, 1399739793, 1399739787, 1399739792, 1399739795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.392993688583374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:54:22.035069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/50/image_17122025_03_50_44_9773.jpg', '/home/pi/Desktop/images/17122025/03/50/image_17122025_03_51_05_9750.jpg', '/home/pi/Desktop/images/17122025/03/51/image_17122025_03_51_14_9579.jpg', '/home/pi/Desktop/images/17122025/03/51/image_17122025_03_52_04_9695.jpg', '/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_15_10542.jpg', '/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_25_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/50/image_17122025_03_50_44_9773.jpg
/home/pi/Desktop/images/17122025/03/50/image_17122025_03_51_05_9750.jpg
/home/pi/Desktop/images/17122025/03/51/image_17122025_03_51_14_9579.jpg
/home/pi/Desktop/images/17122025/03/51/image_17122025_03_52_04_9695.jpg
/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_15_10542.jpg
/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_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":["1399739801","1399739807","1399739797","1399739799","1399739803","1399739805"],"photo_ids_order":["1399739797","1399739799","1399739801","1399739803","1399739805","1399739807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98e47189dce4884aa9fa13749c968199.jpg","text":"TemporaryFile(/tmp/multipartBody6327748412084422307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940122618,"filename":"image_17122025_03_51_14_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d16f19cc877290b1033ed8efc2c7562.jpg","text":"TemporaryFile(/tmp/multipartBody8639656294099042909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940122618,"filename":"image_17122025_03_52_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a71402eecae732d67d2972ce5bdd5e2f.jpg","text":"TemporaryFile(/tmp/multipartBody5961629408044464655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940122618,"filename":"image_17122025_03_50_44_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed17b9f1544ca6b6e14a7509b1c22707.jpg","text":"TemporaryFile(/tmp/multipartBody5970508518469775490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940122618,"filename":"image_17122025_03_51_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f0c186820d69ad45e8d66028126c9c7.jpg","text":"TemporaryFile(/tmp/multipartBody7920296031137004416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940122618,"filename":"image_17122025_03_52_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c9d9e6d343412651816629123740f59.jpg","text":"TemporaryFile(/tmp/multipartBody2066928868889375641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940122618,"filename":"image_17122025_03_52_15_10542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739801","file1":"1399739799","file0":"1399739797","file4":"1399739805","file5":"1399739807","file3":"1399739803"},"map_files_photo_id_array":[{"photo_id":"1399739807","filename":"file5"},{"photo_id":"1399739801","filename":"file2"},{"photo_id":"1399739805","filename":"file4"},{"photo_id":"1399739799","filename":"file1"},{"photo_id":"1399739797","filename":"file0"},{"photo_id":"1399739803","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739801":["hashtag1","hashtag2"]},{"1399739807":["hashtag1","hashtag2"]},{"1399739797":["hashtag1","hashtag2"]},{"1399739799":["hashtag1","hashtag2"]},{"1399739803":["hashtag1","hashtag2"]},{"1399739805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739801, 1399739807, 1399739797, 1399739799, 1399739803, 1399739805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97936010360718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:55:02.883243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_45_10239.jpg', '/home/pi/Desktop/images/17122025/03/53/image_17122025_03_53_15_10664.jpg', '/home/pi/Desktop/images/17122025/03/53/image_17122025_03_53_24_9649.jpg', '/home/pi/Desktop/images/17122025/03/53/image_17122025_03_53_45_10792.jpg', '/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_15_9724.jpg', '/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_25_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/52/image_17122025_03_52_45_10239.jpg
/home/pi/Desktop/images/17122025/03/53/image_17122025_03_53_15_10664.jpg
/home/pi/Desktop/images/17122025/03/53/image_17122025_03_53_24_9649.jpg
/home/pi/Desktop/images/17122025/03/53/image_17122025_03_53_45_10792.jpg
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_15_9724.jpg
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_25_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739810","1399739813","1399739812","1399739815","1399739809","1399739811"],"photo_ids_order":["1399739809","1399739810","1399739811","1399739812","1399739813","1399739815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1dde242eb18ef8a72ece3cbb8752da4.jpg","text":"TemporaryFile(/tmp/multipartBody3585139794618477112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940163558,"filename":"image_17122025_03_53_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b2449ee078548841bfb86b024763c1e.jpg","text":"TemporaryFile(/tmp/multipartBody5736845420810061929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940163558,"filename":"image_17122025_03_54_15_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/584b5ee12029ea29af5095fb113260e7.jpg","text":"TemporaryFile(/tmp/multipartBody4523994185499537833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940163558,"filename":"image_17122025_03_53_45_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa8af5ec3bc627bab2893be07e2aac35.jpg","text":"TemporaryFile(/tmp/multipartBody7050859194912240490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940163558,"filename":"image_17122025_03_54_25_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28ac52d10c930a234edf561c8d84575a.jpg","text":"TemporaryFile(/tmp/multipartBody3241533772754995023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940163558,"filename":"image_17122025_03_52_45_10239.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0dbf0b2826f0f2b4f1afd465862379c3.jpg","text":"TemporaryFile(/tmp/multipartBody3631566024168922403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940163558,"filename":"image_17122025_03_53_24_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739811","file1":"1399739810","file0":"1399739809","file4":"1399739813","file5":"1399739815","file3":"1399739812"},"map_files_photo_id_array":[{"photo_id":"1399739815","filename":"file5"},{"photo_id":"1399739811","filename":"file2"},{"photo_id":"1399739813","filename":"file4"},{"photo_id":"1399739810","filename":"file1"},{"photo_id":"1399739809","filename":"file0"},{"photo_id":"1399739812","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399739810":["hashtag1","hashtag2"]},{"1399739813":["hashtag1","hashtag2"]},{"1399739812":["hashtag1","hashtag2"]},{"1399739815":["hashtag1","hashtag2"]},{"1399739809":["hashtag1","hashtag2"]},{"1399739811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399739810, 1399739813, 1399739812, 1399739815, 1399739809, 1399739811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14224910736084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:55:42.388585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_06_2690.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_10_3585.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_13_2579.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_16_3655.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_19_2636.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_22_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_06_2690.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_10_3585.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_13_2579.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_16_3655.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_19_2636.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_22_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739822","1399739825","1399739824","1399739823","1399739826","1399739820"],"photo_ids_order":["1399739820","1399739822","1399739823","1399739824","1399739825","1399739826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0b39c171c8191959e6bb2fdf287bc41.jpg","text":"TemporaryFile(/tmp/multipartBody4640903362966930223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940203156,"filename":"image_07112025_15_59_10_3585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0e40317d1ba94c73b4684a93cb0472d.jpg","text":"TemporaryFile(/tmp/multipartBody3597811366946527893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940203156,"filename":"image_07112025_15_59_19_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03e4a618bbd4cdfd6a92379268b9913d.jpg","text":"TemporaryFile(/tmp/multipartBody1648623695977085111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940203156,"filename":"image_07112025_15_59_16_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0dd0675e461ad7a801c9d0d295e445c.jpg","text":"TemporaryFile(/tmp/multipartBody557182247141536069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940203156,"filename":"image_07112025_15_59_13_2579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2417771802325a100661597b6973b8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4959152524602527227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940203156,"filename":"image_07112025_15_59_22_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df1cbb61a9c66ad7f97e943cd762ea66.jpg","text":"TemporaryFile(/tmp/multipartBody6558001934851177835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940203156,"filename":"image_07112025_15_59_06_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739823","file1":"1399739822","file0":"1399739820","file4":"1399739825","file5":"1399739826","file3":"1399739824"},"map_files_photo_id_array":[{"photo_id":"1399739826","filename":"file5"},{"photo_id":"1399739823","filename":"file2"},{"photo_id":"1399739825","filename":"file4"},{"photo_id":"1399739822","filename":"file1"},{"photo_id":"1399739820","filename":"file0"},{"photo_id":"1399739824","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739822":["hashtag1","hashtag2"]},{"1399739825":["hashtag1","hashtag2"]},{"1399739824":["hashtag1","hashtag2"]},{"1399739823":["hashtag1","hashtag2"]},{"1399739826":["hashtag1","hashtag2"]},{"1399739820":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739822, 1399739825, 1399739824, 1399739823, 1399739826, 1399739820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60704946517944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:56:22.612510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_34_9761.jpg', '/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_45_10723.jpg', '/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_55_9525.jpg', '/home/pi/Desktop/images/17122025/03/54/image_17122025_03_55_04_9674.jpg', '/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_25_9658.jpg', '/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_34_9761.jpg
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_45_10723.jpg
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_55_9525.jpg
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_55_04_9674.jpg
/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_25_9658.jpg
/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_34_9634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47704434394836426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 03:56:32.565171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:56:42.547573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_25_3686.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_28_2779.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_31_2686.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_33_2678.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_37_3522.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_40_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_25_3686.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_28_2779.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_31_2686.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_33_2678.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_37_3522.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_40_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399739837","1399739962","1399739923","1399739850","1399739888","1399739840"],"photo_ids_order":["1399739837","1399739840","1399739850","1399739888","1399739923","1399739962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d07ae658654452b223086bef308458d1.jpg","text":"TemporaryFile(/tmp/multipartBody5603839095241832182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940263304,"filename":"image_07112025_15_59_25_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7272a633968a50cefbb5f41f941e83ea.jpg","text":"TemporaryFile(/tmp/multipartBody8425834209305382810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940263304,"filename":"image_07112025_15_59_40_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1e9420bc17e9880ab63140e2b889c01.jpg","text":"TemporaryFile(/tmp/multipartBody271441669622633930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940263304,"filename":"image_07112025_15_59_37_3522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3b6e47803d536fac7881f9e1479d6da.jpg","text":"TemporaryFile(/tmp/multipartBody7769312892886752114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940263304,"filename":"image_07112025_15_59_31_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c6cb7b865238eb2389e3647870b306c.jpg","text":"TemporaryFile(/tmp/multipartBody1944532074980978087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940263304,"filename":"image_07112025_15_59_33_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8d2d1ddc093cd39b26a8c143875851f.jpg","text":"TemporaryFile(/tmp/multipartBody7823164945596444752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940263304,"filename":"image_07112025_15_59_28_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399739850","file1":"1399739840","file0":"1399739837","file4":"1399739923","file5":"1399739962","file3":"1399739888"},"map_files_photo_id_array":[{"photo_id":"1399739962","filename":"file5"},{"photo_id":"1399739850","filename":"file2"},{"photo_id":"1399739923","filename":"file4"},{"photo_id":"1399739840","filename":"file1"},{"photo_id":"1399739837","filename":"file0"},{"photo_id":"1399739888","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399739837":["hashtag1","hashtag2"]},{"1399739962":["hashtag1","hashtag2"]},{"1399739923":["hashtag1","hashtag2"]},{"1399739850":["hashtag1","hashtag2"]},{"1399739888":["hashtag1","hashtag2"]},{"1399739840":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399739837, 1399739962, 1399739923, 1399739850, 1399739888, 1399739840)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7995331287384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 03:57:22.831878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_34_9761.jpg', '/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_45_10723.jpg', '/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_55_9525.jpg', '/home/pi/Desktop/images/17122025/03/54/image_17122025_03_55_04_9674.jpg', '/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_25_9658.jpg', '/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_34_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_34_9761.jpg
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_45_10723.jpg
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_54_55_9525.jpg
/home/pi/Desktop/images/17122025/03/54/image_17122025_03_55_04_9674.jpg
/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_25_9658.jpg
/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_34_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":["1399740108","1399740155","1399740119","1399740110","1399740112","1399740093"],"photo_ids_order":["1399740093","1399740108","1399740110","1399740112","1399740119","1399740155"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2edde10b7a1324b149c2e219b4273e3a.jpg","text":"TemporaryFile(/tmp/multipartBody8745724037752358541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940303418,"filename":"image_17122025_03_54_45_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bbcbdad0213f2d685d2443ab393526e.jpg","text":"TemporaryFile(/tmp/multipartBody449144248697903819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940303418,"filename":"image_17122025_03_55_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8adbd6a1dc9d50575c1ccc5785784bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4669604618286804133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940303418,"filename":"image_17122025_03_55_25_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7954ce88ed25e87a663d8d011ff0021c.jpg","text":"TemporaryFile(/tmp/multipartBody2674638569554639841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940303418,"filename":"image_17122025_03_54_55_9525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40c25dc93334729230719bdbe3cbbb05.jpg","text":"TemporaryFile(/tmp/multipartBody7640913619600230287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940303418,"filename":"image_17122025_03_55_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9263b24580afa1cacaf9123b84eeef2.jpg","text":"TemporaryFile(/tmp/multipartBody2639476944058391106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940303418,"filename":"image_17122025_03_54_34_9761.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399740110","file1":"1399740108","file0":"1399740093","file4":"1399740119","file5":"1399740155","file3":"1399740112"},"map_files_photo_id_array":[{"photo_id":"1399740155","filename":"file5"},{"photo_id":"1399740110","filename":"file2"},{"photo_id":"1399740119","filename":"file4"},{"photo_id":"1399740108","filename":"file1"},{"photo_id":"1399740093","filename":"file0"},{"photo_id":"1399740112","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399740108":["hashtag1","hashtag2"]},{"1399740155":["hashtag1","hashtag2"]},{"1399740119":["hashtag1","hashtag2"]},{"1399740110":["hashtag1","hashtag2"]},{"1399740112":["hashtag1","hashtag2"]},{"1399740093":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399740108, 1399740155, 1399740119, 1399740110, 1399740112, 1399740093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05336856842041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 03:59:03.200964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_45_10708.jpg', '/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_55_9609.jpg', '/home/pi/Desktop/images/17122025/03/55/image_17122025_03_56_04_9782.jpg', '/home/pi/Desktop/images/17122025/03/56/image_17122025_03_56_25_9778.jpg', '/home/pi/Desktop/images/17122025/03/56/image_17122025_03_56_34_9558.jpg', '/home/pi/Desktop/images/17122025/03/56/image_17122025_03_56_45_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_45_10708.jpg
/home/pi/Desktop/images/17122025/03/55/image_17122025_03_55_55_9609.jpg
/home/pi/Desktop/images/17122025/03/55/image_17122025_03_56_04_9782.jpg
/home/pi/Desktop/images/17122025/03/56/image_17122025_03_56_25_9778.jpg
/home/pi/Desktop/images/17122025/03/56/image_17122025_03_56_34_9558.jpg
/home/pi/Desktop/images/17122025/03/56/image_17122025_03_56_45_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399740458","1399740533","1399740608","1399740679","1399740493","1399740568"],"photo_ids_order":["1399740458","1399740493","1399740533","1399740568","1399740608","1399740679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77eb3ff43ffe3112e150306b79caf108.jpg","text":"TemporaryFile(/tmp/multipartBody1767669119956100465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940403934,"filename":"image_17122025_03_55_45_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb9866b33070df0739df65b3b13460fc.jpg","text":"TemporaryFile(/tmp/multipartBody7610062084649362540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940403934,"filename":"image_17122025_03_56_04_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de64f06d0bab01a036bc8cfae1c86f0c.jpg","text":"TemporaryFile(/tmp/multipartBody6318054207173618037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940403934,"filename":"image_17122025_03_56_34_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/679f8241e120aca87402ae35e667bf89.jpg","text":"TemporaryFile(/tmp/multipartBody8860223784663845029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940403934,"filename":"image_17122025_03_56_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd0a045dab834ec216929fed4abb8283.jpg","text":"TemporaryFile(/tmp/multipartBody8972973784079496148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940403934,"filename":"image_17122025_03_55_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf622004942d21b2c2d8234e1a0bfed9.jpg","text":"TemporaryFile(/tmp/multipartBody5031523582693170856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940403934,"filename":"image_17122025_03_56_25_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399740533","file1":"1399740493","file0":"1399740458","file4":"1399740608","file5":"1399740679","file3":"1399740568"},"map_files_photo_id_array":[{"photo_id":"1399740679","filename":"file5"},{"photo_id":"1399740533","filename":"file2"},{"photo_id":"1399740608","filename":"file4"},{"photo_id":"1399740493","filename":"file1"},{"photo_id":"1399740458","filename":"file0"},{"photo_id":"1399740568","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399740458":["hashtag1","hashtag2"]},{"1399740533":["hashtag1","hashtag2"]},{"1399740608":["hashtag1","hashtag2"]},{"1399740679":["hashtag1","hashtag2"]},{"1399740493":["hashtag1","hashtag2"]},{"1399740568":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399740458, 1399740533, 1399740608, 1399740679, 1399740493, 1399740568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.424091815948486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 03:59:42.294027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_43_3582.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_46_2662.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_49_2704.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_51_2713.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_55_3595.jpg', '/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_58_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_43_3582.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_46_2662.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_49_2704.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_51_2713.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_55_3595.jpg
/home/pi/Desktop/images/07112025/15/59/image_07112025_15_59_58_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":["1399741139","1399740878","1399741090","1399741039","1399741002","1399740930"],"photo_ids_order":["1399740878","1399740930","1399741002","1399741039","1399741090","1399741139"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54aaac2fc42401d31566c202108ef523.jpg","text":"TemporaryFile(/tmp/multipartBody661117230224933642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940443061,"filename":"image_07112025_15_59_58_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f254e531b2badcdc0369a16aaddf096.jpg","text":"TemporaryFile(/tmp/multipartBody3837143592692044427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940443061,"filename":"image_07112025_15_59_43_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55a2cf80f048e1c41106628b0657afea.jpg","text":"TemporaryFile(/tmp/multipartBody6378598769965954432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940443061,"filename":"image_07112025_15_59_55_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c769b208b9282f8634bbb28ee54041b9.jpg","text":"TemporaryFile(/tmp/multipartBody9006425580352369332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940443061,"filename":"image_07112025_15_59_51_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52a858fcf41ee92cfe0dbdbe80ba5b25.jpg","text":"TemporaryFile(/tmp/multipartBody2371740100249875770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940443061,"filename":"image_07112025_15_59_49_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c81ac6394aa608ef5e23503b9efceb5.jpg","text":"TemporaryFile(/tmp/multipartBody3564284229246821066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940443061,"filename":"image_07112025_15_59_46_2662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741002","file1":"1399740930","file0":"1399740878","file4":"1399741090","file5":"1399741139","file3":"1399741039"},"map_files_photo_id_array":[{"photo_id":"1399741139","filename":"file5"},{"photo_id":"1399741002","filename":"file2"},{"photo_id":"1399741090","filename":"file4"},{"photo_id":"1399740930","filename":"file1"},{"photo_id":"1399740878","filename":"file0"},{"photo_id":"1399741039","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741139":["hashtag1","hashtag2"]},{"1399740878":["hashtag1","hashtag2"]},{"1399741090":["hashtag1","hashtag2"]},{"1399741039":["hashtag1","hashtag2"]},{"1399741002":["hashtag1","hashtag2"]},{"1399740930":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741139, 1399740878, 1399741090, 1399741039, 1399741002, 1399740930)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.794840574264526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:00:22.457270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/56/image_17122025_03_56_55_9690.jpg', '/home/pi/Desktop/images/17122025/03/56/image_17122025_03_57_04_9643.jpg', '/home/pi/Desktop/images/17122025/03/57/image_17122025_03_57_15_10648.jpg', '/home/pi/Desktop/images/17122025/03/57/image_17122025_03_57_25_9689.jpg', '/home/pi/Desktop/images/17122025/03/57/image_17122025_03_57_34_9626.jpg', '/home/pi/Desktop/images/17122025/03/57/image_17122025_03_57_45_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/56/image_17122025_03_56_55_9690.jpg
/home/pi/Desktop/images/17122025/03/56/image_17122025_03_57_04_9643.jpg
/home/pi/Desktop/images/17122025/03/57/image_17122025_03_57_15_10648.jpg
/home/pi/Desktop/images/17122025/03/57/image_17122025_03_57_25_9689.jpg
/home/pi/Desktop/images/17122025/03/57/image_17122025_03_57_34_9626.jpg
/home/pi/Desktop/images/17122025/03/57/image_17122025_03_57_45_10688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741246","1399741255","1399741296","1399741242","1399741248","1399741334"],"photo_ids_order":["1399741242","1399741246","1399741248","1399741255","1399741296","1399741334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a56578c9963b26508c9d07cc0cff891.jpg","text":"TemporaryFile(/tmp/multipartBody1007959216309602954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940483055,"filename":"image_17122025_03_57_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad8bda159839cb543a3521d28abdeb35.jpg","text":"TemporaryFile(/tmp/multipartBody1877701053912620660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940483055,"filename":"image_17122025_03_57_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/070c93a005543d00078030a359891c4b.jpg","text":"TemporaryFile(/tmp/multipartBody6392598102635195989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940483055,"filename":"image_17122025_03_57_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba3589fccf335ae1a215cedb71193659.jpg","text":"TemporaryFile(/tmp/multipartBody3272753808803836117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940483055,"filename":"image_17122025_03_56_55_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4adc1e5dc193efc6a1cfa40a2bf1f7db.jpg","text":"TemporaryFile(/tmp/multipartBody1657395546779789580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940483055,"filename":"image_17122025_03_57_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53a563a2f6bf81dcd80a6cb8683b1fc9.jpg","text":"TemporaryFile(/tmp/multipartBody838223156419394962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940483055,"filename":"image_17122025_03_57_45_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741248","file1":"1399741246","file0":"1399741242","file4":"1399741296","file5":"1399741334","file3":"1399741255"},"map_files_photo_id_array":[{"photo_id":"1399741334","filename":"file5"},{"photo_id":"1399741248","filename":"file2"},{"photo_id":"1399741296","filename":"file4"},{"photo_id":"1399741246","filename":"file1"},{"photo_id":"1399741242","filename":"file0"},{"photo_id":"1399741255","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741246":["hashtag1","hashtag2"]},{"1399741255":["hashtag1","hashtag2"]},{"1399741296":["hashtag1","hashtag2"]},{"1399741242":["hashtag1","hashtag2"]},{"1399741248":["hashtag1","hashtag2"]},{"1399741334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741246, 1399741255, 1399741296, 1399741242, 1399741248, 1399741334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.029887676239014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:01:03.425111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/57/image_17122025_03_58_04_9623.jpg', '/home/pi/Desktop/images/17122025/03/58/image_17122025_03_58_25_9766.jpg', '/home/pi/Desktop/images/17122025/03/58/image_17122025_03_58_34_9701.jpg', '/home/pi/Desktop/images/17122025/03/58/image_17122025_03_58_44_9657.jpg', '/home/pi/Desktop/images/17122025/03/58/image_17122025_03_58_55_10714.jpg', '/home/pi/Desktop/images/17122025/03/58/image_17122025_03_59_04_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/57/image_17122025_03_58_04_9623.jpg
/home/pi/Desktop/images/17122025/03/58/image_17122025_03_58_25_9766.jpg
/home/pi/Desktop/images/17122025/03/58/image_17122025_03_58_34_9701.jpg
/home/pi/Desktop/images/17122025/03/58/image_17122025_03_58_44_9657.jpg
/home/pi/Desktop/images/17122025/03/58/image_17122025_03_58_55_10714.jpg
/home/pi/Desktop/images/17122025/03/58/image_17122025_03_59_04_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":["1399741384","1399741387","1399741386","1399741389","1399741382","1399741391"],"photo_ids_order":["1399741382","1399741384","1399741386","1399741387","1399741389","1399741391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c06672c15173e3ce6854f3e118ddd67f.jpg","text":"TemporaryFile(/tmp/multipartBody3748299208240672541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940524098,"filename":"image_17122025_03_58_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1b5d18572570c0ba4a96a151c428abd.jpg","text":"TemporaryFile(/tmp/multipartBody2920116096243697441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940524098,"filename":"image_17122025_03_58_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e56b200c83733169c57cbc5b3adc67f.jpg","text":"TemporaryFile(/tmp/multipartBody6611178282993439184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940524098,"filename":"image_17122025_03_58_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37d5c864d16e698e5d72086a5d0a4078.jpg","text":"TemporaryFile(/tmp/multipartBody3883932039659142814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940524098,"filename":"image_17122025_03_58_55_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10c28ae43d410ec72a58620899d573f4.jpg","text":"TemporaryFile(/tmp/multipartBody9141298037016217769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940524098,"filename":"image_17122025_03_58_04_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1652c0ac469d3d862da25e926d8df54.jpg","text":"TemporaryFile(/tmp/multipartBody913730243075052830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940524098,"filename":"image_17122025_03_59_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741386","file1":"1399741384","file0":"1399741382","file4":"1399741389","file5":"1399741391","file3":"1399741387"},"map_files_photo_id_array":[{"photo_id":"1399741391","filename":"file5"},{"photo_id":"1399741386","filename":"file2"},{"photo_id":"1399741389","filename":"file4"},{"photo_id":"1399741384","filename":"file1"},{"photo_id":"1399741382","filename":"file0"},{"photo_id":"1399741387","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741384":["hashtag1","hashtag2"]},{"1399741387":["hashtag1","hashtag2"]},{"1399741386":["hashtag1","hashtag2"]},{"1399741389":["hashtag1","hashtag2"]},{"1399741382":["hashtag1","hashtag2"]},{"1399741391":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741384, 1399741387, 1399741386, 1399741389, 1399741382, 1399741391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.227367877960205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:01:42.731897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_07_3011.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_11_3688.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_13_2594.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_16_2755.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_20_3699.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_22_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_07_3011.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_11_3688.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_13_2594.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_16_2755.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_20_3699.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_22_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741409","1399741406","1399741398","1399741395","1399741404","1399741401"],"photo_ids_order":["1399741395","1399741398","1399741401","1399741404","1399741406","1399741409"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0148044bbaa1e9d85fee8882cc5fab7a.jpg","text":"TemporaryFile(/tmp/multipartBody3418285520644329153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940563460,"filename":"image_07112025_16_00_22_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae6037ba1eb9e9339d801124df0c68fa.jpg","text":"TemporaryFile(/tmp/multipartBody5788119862043786978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940563460,"filename":"image_07112025_16_00_20_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73f5f745406b8c81e964a47c93a9ceee.jpg","text":"TemporaryFile(/tmp/multipartBody1284351219840065443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940563460,"filename":"image_07112025_16_00_11_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36d5fd0a23661c1b992fad2c65770505.jpg","text":"TemporaryFile(/tmp/multipartBody6779484437569143999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940563460,"filename":"image_07112025_16_00_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3b1886a17634ddba1233b013c824fbe.jpg","text":"TemporaryFile(/tmp/multipartBody1692935484306320500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940563460,"filename":"image_07112025_16_00_16_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d565f30879824c36ec6f7a8c91e0b075.jpg","text":"TemporaryFile(/tmp/multipartBody8973494155601872914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940563460,"filename":"image_07112025_16_00_13_2594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741401","file1":"1399741398","file0":"1399741395","file4":"1399741406","file5":"1399741409","file3":"1399741404"},"map_files_photo_id_array":[{"photo_id":"1399741409","filename":"file5"},{"photo_id":"1399741401","filename":"file2"},{"photo_id":"1399741406","filename":"file4"},{"photo_id":"1399741398","filename":"file1"},{"photo_id":"1399741395","filename":"file0"},{"photo_id":"1399741404","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741409":["hashtag1","hashtag2"]},{"1399741406":["hashtag1","hashtag2"]},{"1399741398":["hashtag1","hashtag2"]},{"1399741395":["hashtag1","hashtag2"]},{"1399741404":["hashtag1","hashtag2"]},{"1399741401":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741409, 1399741406, 1399741398, 1399741395, 1399741404, 1399741401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68295216560364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:02:22.035601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_25_10644.jpg', '/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_45_10627.jpg', '/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_55_9665.jpg', '/home/pi/Desktop/images/17122025/03/59/image_17122025_04_00_04_9741.jpg', '/home/pi/Desktop/images/17122025/04/00/image_17122025_04_00_14_9912.jpg', '/home/pi/Desktop/images/17122025/04/00/image_17122025_04_00_45_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_25_10644.jpg
/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_45_10627.jpg
/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_55_9665.jpg
/home/pi/Desktop/images/17122025/03/59/image_17122025_04_00_04_9741.jpg
/home/pi/Desktop/images/17122025/04/00/image_17122025_04_00_14_9912.jpg
/home/pi/Desktop/images/17122025/04/00/image_17122025_04_00_45_9695.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47048425674438477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:02:34.197318
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:02:41.973582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_25_2640.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_28_3652.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_31_2731.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_34_2677.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_38_3763.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_40_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_25_2640.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_28_3652.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_31_2731.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_34_2677.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_38_3763.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_40_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":["1399741430","1399741432","1399741422","1399741425","1399741434","1399741428"],"photo_ids_order":["1399741422","1399741425","1399741428","1399741430","1399741432","1399741434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0258750c28b4f56932f40e5ebbc43cec.jpg","text":"TemporaryFile(/tmp/multipartBody6402290312792596606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940622695,"filename":"image_07112025_16_00_34_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9d63ee54bd9ed883853736531130dcb.jpg","text":"TemporaryFile(/tmp/multipartBody6235579893088808339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940622695,"filename":"image_07112025_16_00_38_3763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a67bb08adab8d04fe161bcb881902316.jpg","text":"TemporaryFile(/tmp/multipartBody7861215014746793528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940622695,"filename":"image_07112025_16_00_25_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc274ada62900048b37ae5761d6153a7.jpg","text":"TemporaryFile(/tmp/multipartBody8606323376121899728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940622695,"filename":"image_07112025_16_00_28_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e91e9d30766374e1b80f464d2949c8b.jpg","text":"TemporaryFile(/tmp/multipartBody1488476112021789771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940622695,"filename":"image_07112025_16_00_40_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68f37b0efbfe3accadf3d0a09bc3f191.jpg","text":"TemporaryFile(/tmp/multipartBody6746548574162538410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940622695,"filename":"image_07112025_16_00_31_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741428","file1":"1399741425","file0":"1399741422","file4":"1399741432","file5":"1399741434","file3":"1399741430"},"map_files_photo_id_array":[{"photo_id":"1399741434","filename":"file5"},{"photo_id":"1399741428","filename":"file2"},{"photo_id":"1399741432","filename":"file4"},{"photo_id":"1399741425","filename":"file1"},{"photo_id":"1399741422","filename":"file0"},{"photo_id":"1399741430","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741430":["hashtag1","hashtag2"]},{"1399741432":["hashtag1","hashtag2"]},{"1399741422":["hashtag1","hashtag2"]},{"1399741425":["hashtag1","hashtag2"]},{"1399741434":["hashtag1","hashtag2"]},{"1399741428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741430, 1399741432, 1399741422, 1399741425, 1399741434, 1399741428)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.418935775756836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:03:32.245395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:03:42.235491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_43_2655.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_47_3634.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_49_2621.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_52_2587.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_55_3679.jpg', '/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_58_2688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_43_2655.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_47_3634.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_49_2621.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_52_2587.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_55_3679.jpg
/home/pi/Desktop/images/07112025/16/00/image_07112025_16_00_58_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":["1399741442","1399741453","1399741447","1399741449","1399741451","1399741445"],"photo_ids_order":["1399741442","1399741445","1399741447","1399741449","1399741451","1399741453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01465fb211469aab3e3bcb9038e4ad2d.jpg","text":"TemporaryFile(/tmp/multipartBody4503089331488822776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940683034,"filename":"image_07112025_16_00_43_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13fc5e9177959e9e8f27528b7661ff42.jpg","text":"TemporaryFile(/tmp/multipartBody3995989353043249527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940683034,"filename":"image_07112025_16_00_58_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29cdf5a6eb0f8e903bb69f13384b164a.jpg","text":"TemporaryFile(/tmp/multipartBody4670024581216284551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940683034,"filename":"image_07112025_16_00_49_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b1d5a9a8457c4bd1e90f418226abf62.jpg","text":"TemporaryFile(/tmp/multipartBody6849985038246252112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940683034,"filename":"image_07112025_16_00_52_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0647f93f684ec952707a74e512d0b03a.jpg","text":"TemporaryFile(/tmp/multipartBody1579651400004205297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940683034,"filename":"image_07112025_16_00_55_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72d9fa65d9947e2da4c69c8074b145b1.jpg","text":"TemporaryFile(/tmp/multipartBody9213359752689326885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940683034,"filename":"image_07112025_16_00_47_3634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741447","file1":"1399741445","file0":"1399741442","file4":"1399741451","file5":"1399741453","file3":"1399741449"},"map_files_photo_id_array":[{"photo_id":"1399741453","filename":"file5"},{"photo_id":"1399741447","filename":"file2"},{"photo_id":"1399741451","filename":"file4"},{"photo_id":"1399741445","filename":"file1"},{"photo_id":"1399741442","filename":"file0"},{"photo_id":"1399741449","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741442":["hashtag1","hashtag2"]},{"1399741453":["hashtag1","hashtag2"]},{"1399741447":["hashtag1","hashtag2"]},{"1399741449":["hashtag1","hashtag2"]},{"1399741451":["hashtag1","hashtag2"]},{"1399741445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741442, 1399741453, 1399741447, 1399741449, 1399741451, 1399741445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68236064910889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:04:24.418142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_25_10644.jpg', '/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_45_10627.jpg', '/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_55_9665.jpg', '/home/pi/Desktop/images/17122025/03/59/image_17122025_04_00_04_9741.jpg', '/home/pi/Desktop/images/17122025/04/00/image_17122025_04_00_14_9912.jpg', '/home/pi/Desktop/images/17122025/04/00/image_17122025_04_00_45_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_25_10644.jpg
/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_45_10627.jpg
/home/pi/Desktop/images/17122025/03/59/image_17122025_03_59_55_9665.jpg
/home/pi/Desktop/images/17122025/03/59/image_17122025_04_00_04_9741.jpg
/home/pi/Desktop/images/17122025/04/00/image_17122025_04_00_14_9912.jpg
/home/pi/Desktop/images/17122025/04/00/image_17122025_04_00_45_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":["1399741457","1399741459","1399741467","1399741461","1399741455","1399741463"],"photo_ids_order":["1399741455","1399741457","1399741459","1399741461","1399741463","1399741467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbaec74287039f6412163f464f90ec34.jpg","text":"TemporaryFile(/tmp/multipartBody5144786330764639178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940724971,"filename":"image_17122025_03_59_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b345bba9e779110ed61ca034164705a4.jpg","text":"TemporaryFile(/tmp/multipartBody2301262557479048790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940724971,"filename":"image_17122025_03_59_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5913a8fa001bdb46f47fb2eb42131e1b.jpg","text":"TemporaryFile(/tmp/multipartBody25732759753666111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940724971,"filename":"image_17122025_04_00_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad2602fd718b8f8292ec6fce9c3c0c6f.jpg","text":"TemporaryFile(/tmp/multipartBody1466473352723569312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940724971,"filename":"image_17122025_04_00_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/352cdce64be90d7ae85df5e01256cb5b.jpg","text":"TemporaryFile(/tmp/multipartBody6684165232367017014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940724971,"filename":"image_17122025_03_59_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da81fe36ce60e80570fd50714f958fbe.jpg","text":"TemporaryFile(/tmp/multipartBody9081807654002550190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940724971,"filename":"image_17122025_04_00_14_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741459","file1":"1399741457","file0":"1399741455","file4":"1399741463","file5":"1399741467","file3":"1399741461"},"map_files_photo_id_array":[{"photo_id":"1399741467","filename":"file5"},{"photo_id":"1399741459","filename":"file2"},{"photo_id":"1399741463","filename":"file4"},{"photo_id":"1399741457","filename":"file1"},{"photo_id":"1399741455","filename":"file0"},{"photo_id":"1399741461","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741457":["hashtag1","hashtag2"]},{"1399741459":["hashtag1","hashtag2"]},{"1399741467":["hashtag1","hashtag2"]},{"1399741461":["hashtag1","hashtag2"]},{"1399741455":["hashtag1","hashtag2"]},{"1399741463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741457, 1399741459, 1399741467, 1399741461, 1399741455, 1399741463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38176727294922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:05:03.260995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/00/image_17122025_04_01_04_9871.jpg', '/home/pi/Desktop/images/17122025/04/01/image_17122025_04_01_54_9632.jpg', '/home/pi/Desktop/images/17122025/04/01/image_17122025_04_02_04_9758.jpg', '/home/pi/Desktop/images/17122025/04/02/image_17122025_04_02_15_10672.jpg', '/home/pi/Desktop/images/17122025/04/02/image_17122025_04_02_24_9620.jpg', '/home/pi/Desktop/images/17122025/04/02/image_17122025_04_02_34_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/00/image_17122025_04_01_04_9871.jpg
/home/pi/Desktop/images/17122025/04/01/image_17122025_04_01_54_9632.jpg
/home/pi/Desktop/images/17122025/04/01/image_17122025_04_02_04_9758.jpg
/home/pi/Desktop/images/17122025/04/02/image_17122025_04_02_15_10672.jpg
/home/pi/Desktop/images/17122025/04/02/image_17122025_04_02_24_9620.jpg
/home/pi/Desktop/images/17122025/04/02/image_17122025_04_02_34_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":["1399741474","1399741477","1399741479","1399741473","1399741472","1399741475"],"photo_ids_order":["1399741472","1399741473","1399741474","1399741475","1399741477","1399741479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dce2e9901bd4574a6afd4695afc07fc.jpg","text":"TemporaryFile(/tmp/multipartBody39529910122058526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940763891,"filename":"image_17122025_04_02_04_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/863b8cc2d06d40e88a17bd68520f06ee.jpg","text":"TemporaryFile(/tmp/multipartBody3338021223670837154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940763891,"filename":"image_17122025_04_02_24_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e00b28fb2a0cb9ebeb89bddd54f3611.jpg","text":"TemporaryFile(/tmp/multipartBody5610842831188704721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940763891,"filename":"image_17122025_04_02_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad86bf97bb6bfd9f76da87d9725b57ad.jpg","text":"TemporaryFile(/tmp/multipartBody1045573196245027998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940763891,"filename":"image_17122025_04_01_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1df8cce05035a24095635d136e72868.jpg","text":"TemporaryFile(/tmp/multipartBody2629633450498223244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940763891,"filename":"image_17122025_04_01_04_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d53f49178d6f146e25ced2d87e2a8cc.jpg","text":"TemporaryFile(/tmp/multipartBody2632046844792649213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940763891,"filename":"image_17122025_04_02_15_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741474","file1":"1399741473","file0":"1399741472","file4":"1399741477","file5":"1399741479","file3":"1399741475"},"map_files_photo_id_array":[{"photo_id":"1399741479","filename":"file5"},{"photo_id":"1399741474","filename":"file2"},{"photo_id":"1399741477","filename":"file4"},{"photo_id":"1399741473","filename":"file1"},{"photo_id":"1399741472","filename":"file0"},{"photo_id":"1399741475","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741474":["hashtag1","hashtag2"]},{"1399741477":["hashtag1","hashtag2"]},{"1399741479":["hashtag1","hashtag2"]},{"1399741473":["hashtag1","hashtag2"]},{"1399741472":["hashtag1","hashtag2"]},{"1399741475":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741474, 1399741477, 1399741479, 1399741473, 1399741472, 1399741475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15394473075867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:05:42.677834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_01_2643.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_04_3592.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_07_2527.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_10_2841.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_13_3537.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_16_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_01_2643.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_04_3592.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_07_2527.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_10_2841.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_13_3537.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_16_2730.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6335980892181396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:06:02.321615
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/04/image_17122025_04_04_14_9681.jpg', '/home/pi/Desktop/images/17122025/04/04/image_17122025_04_04_35_9586.jpg', '/home/pi/Desktop/images/17122025/04/04/image_17122025_04_04_44_9701.jpg', '/home/pi/Desktop/images/17122025/04/04/image_17122025_04_04_55_10561.jpg', '/home/pi/Desktop/images/17122025/04/04/image_17122025_04_05_05_9687.jpg', '/home/pi/Desktop/images/17122025/04/05/image_17122025_04_05_34_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/04/image_17122025_04_04_14_9681.jpg
/home/pi/Desktop/images/17122025/04/04/image_17122025_04_04_35_9586.jpg
/home/pi/Desktop/images/17122025/04/04/image_17122025_04_04_44_9701.jpg
/home/pi/Desktop/images/17122025/04/04/image_17122025_04_04_55_10561.jpg
/home/pi/Desktop/images/17122025/04/04/image_17122025_04_05_05_9687.jpg
/home/pi/Desktop/images/17122025/04/05/image_17122025_04_05_34_9695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741498","1399741501","1399741503","1399741496","1399741500","1399741499"],"photo_ids_order":["1399741496","1399741498","1399741499","1399741500","1399741501","1399741503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3aece4deb0b098b005b2ae258cbf87ab.jpg","text":"TemporaryFile(/tmp/multipartBody3020614907548562175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940822912,"filename":"image_17122025_04_04_35_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7b6021896ba8c09b1558bce5883b7ab.jpg","text":"TemporaryFile(/tmp/multipartBody2063434899190391301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940822912,"filename":"image_17122025_04_05_05_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d59cb9b79ba9ced1f031d7630f401a30.jpg","text":"TemporaryFile(/tmp/multipartBody2429624559687212644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940822912,"filename":"image_17122025_04_05_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1519935146dbf3a39e4c15a4feaecd3.jpg","text":"TemporaryFile(/tmp/multipartBody4295776929703621370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940822912,"filename":"image_17122025_04_04_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62de1de782a3b0169325ba5784daee4c.jpg","text":"TemporaryFile(/tmp/multipartBody8074989711271758281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940822912,"filename":"image_17122025_04_04_55_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b74062ce37303093732197b7deb5d057.jpg","text":"TemporaryFile(/tmp/multipartBody3609846770796826262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940822912,"filename":"image_17122025_04_04_44_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741499","file1":"1399741498","file0":"1399741496","file4":"1399741501","file5":"1399741503","file3":"1399741500"},"map_files_photo_id_array":[{"photo_id":"1399741503","filename":"file5"},{"photo_id":"1399741499","filename":"file2"},{"photo_id":"1399741501","filename":"file4"},{"photo_id":"1399741498","filename":"file1"},{"photo_id":"1399741496","filename":"file0"},{"photo_id":"1399741500","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741498":["hashtag1","hashtag2"]},{"1399741501":["hashtag1","hashtag2"]},{"1399741503":["hashtag1","hashtag2"]},{"1399741496":["hashtag1","hashtag2"]},{"1399741500":["hashtag1","hashtag2"]},{"1399741499":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741498, 1399741501, 1399741503, 1399741496, 1399741500, 1399741499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41300988197327 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:06:41.888899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_01_2643.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_04_3592.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_07_2527.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_10_2841.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_13_3537.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_16_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_01_2643.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_04_3592.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_07_2527.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_10_2841.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_13_3537.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_16_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741520","1399741514","1399741508","1399741517","1399741510","1399741512"],"photo_ids_order":["1399741508","1399741510","1399741512","1399741514","1399741517","1399741520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a86af5e8172bfbee965cfb5091c5795.jpg","text":"TemporaryFile(/tmp/multipartBody4993464634796051563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940862488,"filename":"image_07112025_16_01_16_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2394206dc5e6053d85bc692e6edf2285.jpg","text":"TemporaryFile(/tmp/multipartBody3185173951562788988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940862488,"filename":"image_07112025_16_01_10_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9bbd22de004804b6257de123aa70f79.jpg","text":"TemporaryFile(/tmp/multipartBody1093850653551714856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940862488,"filename":"image_07112025_16_01_01_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a09ee2a9bddb7e0fa7b594fcf8a2bec1.jpg","text":"TemporaryFile(/tmp/multipartBody3028258396435363233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940862488,"filename":"image_07112025_16_01_13_3537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97688ad4be8a007d0353ec1452f5dc98.jpg","text":"TemporaryFile(/tmp/multipartBody7144673910572853671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940862488,"filename":"image_07112025_16_01_04_3592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85d450973fefceb01fbae92388dbb289.jpg","text":"TemporaryFile(/tmp/multipartBody7885035265443030362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940862488,"filename":"image_07112025_16_01_07_2527.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741512","file1":"1399741510","file0":"1399741508","file4":"1399741517","file5":"1399741520","file3":"1399741514"},"map_files_photo_id_array":[{"photo_id":"1399741520","filename":"file5"},{"photo_id":"1399741512","filename":"file2"},{"photo_id":"1399741517","filename":"file4"},{"photo_id":"1399741510","filename":"file1"},{"photo_id":"1399741508","filename":"file0"},{"photo_id":"1399741514","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741520":["hashtag1","hashtag2"]},{"1399741514":["hashtag1","hashtag2"]},{"1399741508":["hashtag1","hashtag2"]},{"1399741517":["hashtag1","hashtag2"]},{"1399741510":["hashtag1","hashtag2"]},{"1399741512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741520, 1399741514, 1399741508, 1399741517, 1399741510, 1399741512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55512285232544 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 10 --only_old 1
2025-12-17 04:07:32.246528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:07:42.184175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_19_2643.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_22_3628.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_25_2611.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_28_2738.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_35_7034.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_36_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_19_2643.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_22_3628.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_25_2611.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_28_2738.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_35_7034.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_36_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":["1399741535","1399741537","1399741528","1399741539","1399741530","1399741532"],"photo_ids_order":["1399741528","1399741530","1399741532","1399741535","1399741537","1399741539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3548176d0794853c558f6f9d0df93c42.jpg","text":"TemporaryFile(/tmp/multipartBody6497356951560179644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940926537,"filename":"image_07112025_16_01_28_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e21da11e6616514e74e0040d1c0c2e8.jpg","text":"TemporaryFile(/tmp/multipartBody3165968265042613868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940926537,"filename":"image_07112025_16_01_35_7034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a48344c40f288399e12190e8eeffef21.jpg","text":"TemporaryFile(/tmp/multipartBody1499935411330004138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940926537,"filename":"image_07112025_16_01_19_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f6cc076b2a0f6a4caedda0f959bcaea.jpg","text":"TemporaryFile(/tmp/multipartBody1583156900797656541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940926537,"filename":"image_07112025_16_01_36_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7ef6bf21569bc4a7122380dc49cab41.jpg","text":"TemporaryFile(/tmp/multipartBody3640083572592174498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940926537,"filename":"image_07112025_16_01_22_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87958646c79aef336283cb9c4612e642.jpg","text":"TemporaryFile(/tmp/multipartBody7621413571448775280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940926537,"filename":"image_07112025_16_01_25_2611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741532","file1":"1399741530","file0":"1399741528","file4":"1399741537","file5":"1399741539","file3":"1399741535"},"map_files_photo_id_array":[{"photo_id":"1399741539","filename":"file5"},{"photo_id":"1399741532","filename":"file2"},{"photo_id":"1399741537","filename":"file4"},{"photo_id":"1399741530","filename":"file1"},{"photo_id":"1399741528","filename":"file0"},{"photo_id":"1399741535","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741535":["hashtag1","hashtag2"]},{"1399741537":["hashtag1","hashtag2"]},{"1399741528":["hashtag1","hashtag2"]},{"1399741539":["hashtag1","hashtag2"]},{"1399741530":["hashtag1","hashtag2"]},{"1399741532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741535, 1399741537, 1399741528, 1399741539, 1399741530, 1399741532)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.443273067474365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:08:33.385947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:08:43.396334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_38_1774.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_40_1741.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_44_3647.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_46_2591.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_49_2552.jpg', '/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_52_3612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_38_1774.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_40_1741.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_44_3647.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_46_2591.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_49_2552.jpg
/home/pi/Desktop/images/07112025/16/01/image_07112025_16_01_52_3612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399741556","1399741546","1399741562","1399741559","1399741550","1399741553"],"photo_ids_order":["1399741546","1399741550","1399741553","1399741556","1399741559","1399741562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/494540c39a112a88d56affeaf346feb5.jpg","text":"TemporaryFile(/tmp/multipartBody1252872188767825311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940984190,"filename":"image_07112025_16_01_46_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26a1026963bf0cb748086d084eee6b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4303365855661163838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940984190,"filename":"image_07112025_16_01_38_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62e0d25d8ec115d4c6c9238d3894597b.jpg","text":"TemporaryFile(/tmp/multipartBody1968859065207178933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940984190,"filename":"image_07112025_16_01_52_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18e3595867f447022c3182b0e8925f12.jpg","text":"TemporaryFile(/tmp/multipartBody5055471515885951472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940984190,"filename":"image_07112025_16_01_49_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36292f89a3ffeff1027f2ee19dc5638d.jpg","text":"TemporaryFile(/tmp/multipartBody3164896297284046878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940984190,"filename":"image_07112025_16_01_40_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11fc6346700ad95d7566f8e34ece211e.jpg","text":"TemporaryFile(/tmp/multipartBody76363373587624551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765940984190,"filename":"image_07112025_16_01_44_3647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741553","file1":"1399741550","file0":"1399741546","file4":"1399741559","file5":"1399741562","file3":"1399741556"},"map_files_photo_id_array":[{"photo_id":"1399741562","filename":"file5"},{"photo_id":"1399741553","filename":"file2"},{"photo_id":"1399741559","filename":"file4"},{"photo_id":"1399741550","filename":"file1"},{"photo_id":"1399741546","filename":"file0"},{"photo_id":"1399741556","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741556":["hashtag1","hashtag2"]},{"1399741546":["hashtag1","hashtag2"]},{"1399741562":["hashtag1","hashtag2"]},{"1399741559":["hashtag1","hashtag2"]},{"1399741550":["hashtag1","hashtag2"]},{"1399741553":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741556, 1399741546, 1399741562, 1399741559, 1399741550, 1399741553)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 51.3377890586853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:09:42.516226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/02/image_07112025_16_02_16_23699.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_14_3487.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_16_2648.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_33_17078.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_35_1713.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_37_1570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/02/image_07112025_16_02_16_23699.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_14_3487.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_16_2648.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_33_17078.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_35_1713.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_37_1570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741570","1399741572","1399741575","1399741580","1399741577","1399741568"],"photo_ids_order":["1399741568","1399741570","1399741572","1399741575","1399741577","1399741580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/670764692aec5d1725a77961d31f8014.jpg","text":"TemporaryFile(/tmp/multipartBody3123918020597787996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941043313,"filename":"image_07112025_16_04_14_3487.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f284f32689ea8bfbbb8f072c7ecb0570.jpg","text":"TemporaryFile(/tmp/multipartBody1078999668654681765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941043313,"filename":"image_07112025_16_04_16_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82d3bd3cf1c4dfaba8fb3022d3b4c758.jpg","text":"TemporaryFile(/tmp/multipartBody7338726327106964824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941043313,"filename":"image_07112025_16_04_33_17078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1239a2c554f7c2f6a89e35685435771.jpg","text":"TemporaryFile(/tmp/multipartBody1972862636551488432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941043313,"filename":"image_07112025_16_04_37_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1129307d3805c4f9fbc75f11a923d91f.jpg","text":"TemporaryFile(/tmp/multipartBody8276069111278617874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941043313,"filename":"image_07112025_16_04_35_1713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4daafb52e0b2b843fc5ae5688452b3c9.jpg","text":"TemporaryFile(/tmp/multipartBody6079137863535504136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941043313,"filename":"image_07112025_16_02_16_23699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741572","file1":"1399741570","file0":"1399741568","file4":"1399741577","file5":"1399741580","file3":"1399741575"},"map_files_photo_id_array":[{"photo_id":"1399741580","filename":"file5"},{"photo_id":"1399741572","filename":"file2"},{"photo_id":"1399741577","filename":"file4"},{"photo_id":"1399741570","filename":"file1"},{"photo_id":"1399741568","filename":"file0"},{"photo_id":"1399741575","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741570":["hashtag1","hashtag2"]},{"1399741572":["hashtag1","hashtag2"]},{"1399741575":["hashtag1","hashtag2"]},{"1399741580":["hashtag1","hashtag2"]},{"1399741577":["hashtag1","hashtag2"]},{"1399741568":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741570, 1399741572, 1399741575, 1399741580, 1399741577, 1399741568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.459338903427124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:10:22.654616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/05/image_17122025_04_05_45_10650.jpg', '/home/pi/Desktop/images/17122025/04/05/image_17122025_04_05_55_9689.jpg', '/home/pi/Desktop/images/17122025/04/05/image_17122025_04_06_04_9627.jpg', '/home/pi/Desktop/images/17122025/04/06/image_17122025_04_06_55_10628.jpg', '/home/pi/Desktop/images/17122025/04/07/image_17122025_04_07_15_9831.jpg', '/home/pi/Desktop/images/17122025/04/07/image_17122025_04_07_45_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/05/image_17122025_04_05_45_10650.jpg
/home/pi/Desktop/images/17122025/04/05/image_17122025_04_05_55_9689.jpg
/home/pi/Desktop/images/17122025/04/05/image_17122025_04_06_04_9627.jpg
/home/pi/Desktop/images/17122025/04/06/image_17122025_04_06_55_10628.jpg
/home/pi/Desktop/images/17122025/04/07/image_17122025_04_07_15_9831.jpg
/home/pi/Desktop/images/17122025/04/07/image_17122025_04_07_45_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741591","1399741593","1399741595","1399741589","1399741598","1399741586"],"photo_ids_order":["1399741586","1399741589","1399741591","1399741593","1399741595","1399741598"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ee52debbb3628ceba5374dc87a44b89.jpg","text":"TemporaryFile(/tmp/multipartBody1922976114433923322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941083239,"filename":"image_17122025_04_06_04_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/118681ff6d8576360d2e131341532886.jpg","text":"TemporaryFile(/tmp/multipartBody779439931905460260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941083239,"filename":"image_17122025_04_06_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64ed328fa2f77dd7661f492ce14b9ec9.jpg","text":"TemporaryFile(/tmp/multipartBody8663660766260261277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941083239,"filename":"image_17122025_04_07_15_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0c4d127282fb1e1646f6df6bc6a19f1.jpg","text":"TemporaryFile(/tmp/multipartBody1049125571712698171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941083239,"filename":"image_17122025_04_05_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c332d573719705d1be93acb82b630b7.jpg","text":"TemporaryFile(/tmp/multipartBody4987939467266903390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941083239,"filename":"image_17122025_04_07_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f4f9aeabd82d591bb854e921d2d9d63.jpg","text":"TemporaryFile(/tmp/multipartBody4140198923651701273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941083239,"filename":"image_17122025_04_05_45_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741591","file1":"1399741589","file0":"1399741586","file4":"1399741595","file5":"1399741598","file3":"1399741593"},"map_files_photo_id_array":[{"photo_id":"1399741598","filename":"file5"},{"photo_id":"1399741591","filename":"file2"},{"photo_id":"1399741595","filename":"file4"},{"photo_id":"1399741589","filename":"file1"},{"photo_id":"1399741586","filename":"file0"},{"photo_id":"1399741593","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741591":["hashtag1","hashtag2"]},{"1399741593":["hashtag1","hashtag2"]},{"1399741595":["hashtag1","hashtag2"]},{"1399741589":["hashtag1","hashtag2"]},{"1399741598":["hashtag1","hashtag2"]},{"1399741586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741591, 1399741593, 1399741595, 1399741589, 1399741598, 1399741586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11213994026184 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:11:02.601515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/07/image_17122025_04_07_54_9670.jpg', '/home/pi/Desktop/images/17122025/04/07/image_17122025_04_08_05_10609.jpg', '/home/pi/Desktop/images/17122025/04/08/image_17122025_04_08_35_9782.jpg', '/home/pi/Desktop/images/17122025/04/08/image_17122025_04_09_05_9630.jpg', '/home/pi/Desktop/images/17122025/04/09/image_17122025_04_09_14_9846.jpg', '/home/pi/Desktop/images/17122025/04/09/image_17122025_04_09_35_9556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/07/image_17122025_04_07_54_9670.jpg
/home/pi/Desktop/images/17122025/04/07/image_17122025_04_08_05_10609.jpg
/home/pi/Desktop/images/17122025/04/08/image_17122025_04_08_35_9782.jpg
/home/pi/Desktop/images/17122025/04/08/image_17122025_04_09_05_9630.jpg
/home/pi/Desktop/images/17122025/04/09/image_17122025_04_09_14_9846.jpg
/home/pi/Desktop/images/17122025/04/09/image_17122025_04_09_35_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":["1399741607","1399741610","1399741606","1399741603","1399741605","1399741608"],"photo_ids_order":["1399741603","1399741605","1399741606","1399741607","1399741608","1399741610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe7aa1ad3df579610bf2cb13f2b7e677.jpg","text":"TemporaryFile(/tmp/multipartBody575332170968011973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941123233,"filename":"image_17122025_04_09_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bb4f09ae8d5d6a67f5473c098a1c706.jpg","text":"TemporaryFile(/tmp/multipartBody3800250015506980339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941123233,"filename":"image_17122025_04_09_35_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/302c4b33ba138dcb825c91b99b3e8319.jpg","text":"TemporaryFile(/tmp/multipartBody6082078520045964139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941123233,"filename":"image_17122025_04_08_35_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6b458ff23da2decdc7e5dfe2a46f7df.jpg","text":"TemporaryFile(/tmp/multipartBody2952001861752791374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941123233,"filename":"image_17122025_04_07_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e77634a66952a02333591707cc9df3c.jpg","text":"TemporaryFile(/tmp/multipartBody4526784404081084195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941123233,"filename":"image_17122025_04_08_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92a6406c62c85765ac043dda1133d163.jpg","text":"TemporaryFile(/tmp/multipartBody2698969543587950646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941123233,"filename":"image_17122025_04_09_14_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741606","file1":"1399741605","file0":"1399741603","file4":"1399741608","file5":"1399741610","file3":"1399741607"},"map_files_photo_id_array":[{"photo_id":"1399741610","filename":"file5"},{"photo_id":"1399741606","filename":"file2"},{"photo_id":"1399741608","filename":"file4"},{"photo_id":"1399741605","filename":"file1"},{"photo_id":"1399741603","filename":"file0"},{"photo_id":"1399741607","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741607":["hashtag1","hashtag2"]},{"1399741610":["hashtag1","hashtag2"]},{"1399741606":["hashtag1","hashtag2"]},{"1399741603":["hashtag1","hashtag2"]},{"1399741605":["hashtag1","hashtag2"]},{"1399741608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741607, 1399741610, 1399741606, 1399741603, 1399741605, 1399741608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90492916107178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:11:41.968897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_40_1700.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_50_9946.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_51_1673.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_53_1800.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_57_1749.jpg', '/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_58_1787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_40_1700.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_50_9946.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_51_1673.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_53_1800.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_57_1749.jpg
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_04_58_1787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741619","1399741627","1399741621","1399741615","1399741623","1399741625"],"photo_ids_order":["1399741615","1399741619","1399741621","1399741623","1399741625","1399741627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77b429ee77a709772bdd8ea195a95cac.jpg","text":"TemporaryFile(/tmp/multipartBody412732228973382052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941162704,"filename":"image_07112025_16_04_50_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/687681d911da21b1bfd1a6954b0a3a1d.jpg","text":"TemporaryFile(/tmp/multipartBody1769906293258875868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941162704,"filename":"image_07112025_16_04_58_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b1e0b31d026cc75e432be97041c5f61.jpg","text":"TemporaryFile(/tmp/multipartBody1564387197055270694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941162704,"filename":"image_07112025_16_04_51_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b433f2279521daf8c6b7fa7fa08c0bd.jpg","text":"TemporaryFile(/tmp/multipartBody4943887550961354087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941162704,"filename":"image_07112025_16_04_40_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3536a4b5be0db0bf67462df2a1ff59cb.jpg","text":"TemporaryFile(/tmp/multipartBody6153765683267147745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941162704,"filename":"image_07112025_16_04_53_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c884d8bb783e9afef933a98b6f51f778.jpg","text":"TemporaryFile(/tmp/multipartBody4424389682261087877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941162704,"filename":"image_07112025_16_04_57_1749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741621","file1":"1399741619","file0":"1399741615","file4":"1399741625","file5":"1399741627","file3":"1399741623"},"map_files_photo_id_array":[{"photo_id":"1399741627","filename":"file5"},{"photo_id":"1399741621","filename":"file2"},{"photo_id":"1399741625","filename":"file4"},{"photo_id":"1399741619","filename":"file1"},{"photo_id":"1399741615","filename":"file0"},{"photo_id":"1399741623","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741619":["hashtag1","hashtag2"]},{"1399741627":["hashtag1","hashtag2"]},{"1399741621":["hashtag1","hashtag2"]},{"1399741615":["hashtag1","hashtag2"]},{"1399741623":["hashtag1","hashtag2"]},{"1399741625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741619, 1399741627, 1399741621, 1399741615, 1399741623, 1399741625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02957057952881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:12:22.197666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/09/image_17122025_04_09_44_9601.jpg', '/home/pi/Desktop/images/17122025/04/09/image_17122025_04_09_55_10739.jpg', '/home/pi/Desktop/images/17122025/04/09/image_17122025_04_10_05_9580.jpg', '/home/pi/Desktop/images/17122025/04/10/image_17122025_04_10_35_10091.jpg', '/home/pi/Desktop/images/17122025/04/10/image_17122025_04_10_44_9369.jpg', '/home/pi/Desktop/images/17122025/04/10/image_17122025_04_11_05_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/09/image_17122025_04_09_44_9601.jpg
/home/pi/Desktop/images/17122025/04/09/image_17122025_04_09_55_10739.jpg
/home/pi/Desktop/images/17122025/04/09/image_17122025_04_10_05_9580.jpg
/home/pi/Desktop/images/17122025/04/10/image_17122025_04_10_35_10091.jpg
/home/pi/Desktop/images/17122025/04/10/image_17122025_04_10_44_9369.jpg
/home/pi/Desktop/images/17122025/04/10/image_17122025_04_11_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":["1399741628","1399741639","1399741633","1399741635","1399741629","1399741631"],"photo_ids_order":["1399741628","1399741629","1399741631","1399741633","1399741635","1399741639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc0684e65fb741324486a4dafaea9081.jpg","text":"TemporaryFile(/tmp/multipartBody2496111303879117320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941202809,"filename":"image_17122025_04_09_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08c4dfabb26e9d88c0c848a9d2aa9f1c.jpg","text":"TemporaryFile(/tmp/multipartBody7872789275228693994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941202809,"filename":"image_17122025_04_11_05_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50b9b5317b3bfdfc7c7ed6965e7f5220.jpg","text":"TemporaryFile(/tmp/multipartBody966443272581020078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941202809,"filename":"image_17122025_04_10_35_10091.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95d74bbbcd89892ee58632e874d87240.jpg","text":"TemporaryFile(/tmp/multipartBody3365273023476890916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941202809,"filename":"image_17122025_04_10_44_9369.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eaabde01152493e14405b69b4217bb56.jpg","text":"TemporaryFile(/tmp/multipartBody1197296420656117871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941202809,"filename":"image_17122025_04_09_55_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3210f103774328bce42b878dbd4d4610.jpg","text":"TemporaryFile(/tmp/multipartBody4861172104356910096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941202809,"filename":"image_17122025_04_10_05_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741631","file1":"1399741629","file0":"1399741628","file4":"1399741635","file5":"1399741639","file3":"1399741633"},"map_files_photo_id_array":[{"photo_id":"1399741639","filename":"file5"},{"photo_id":"1399741631","filename":"file2"},{"photo_id":"1399741635","filename":"file4"},{"photo_id":"1399741629","filename":"file1"},{"photo_id":"1399741628","filename":"file0"},{"photo_id":"1399741633","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741628":["hashtag1","hashtag2"]},{"1399741639":["hashtag1","hashtag2"]},{"1399741633":["hashtag1","hashtag2"]},{"1399741635":["hashtag1","hashtag2"]},{"1399741629":["hashtag1","hashtag2"]},{"1399741631":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741628, 1399741639, 1399741633, 1399741635, 1399741629, 1399741631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20422911643982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:13:03.067817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/11/image_17122025_04_11_24_9633.jpg', '/home/pi/Desktop/images/17122025/04/11/image_17122025_04_11_35_10762.jpg', '/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_15_10554.jpg', '/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_24_9602.jpg', '/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_35_10688.jpg', '/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_45_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/11/image_17122025_04_11_24_9633.jpg
/home/pi/Desktop/images/17122025/04/11/image_17122025_04_11_35_10762.jpg
/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_15_10554.jpg
/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_24_9602.jpg
/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_35_10688.jpg
/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_45_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":["1399741649","1399741654","1399741653","1399741656","1399741658","1399741652"],"photo_ids_order":["1399741649","1399741652","1399741653","1399741654","1399741656","1399741658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60b9310ba53abf18e818f6d858dbef5f.jpg","text":"TemporaryFile(/tmp/multipartBody1859060399154848634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941243696,"filename":"image_17122025_04_11_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab7ca6667f61932f9c0e88e5ede18cb3.jpg","text":"TemporaryFile(/tmp/multipartBody3417133774309284701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941243696,"filename":"image_17122025_04_12_24_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/891965a1e17b36953661e200e6487321.jpg","text":"TemporaryFile(/tmp/multipartBody3893467276638948499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941243696,"filename":"image_17122025_04_12_15_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e08be5e844dba2deca6a8315a2fa638.jpg","text":"TemporaryFile(/tmp/multipartBody223258025185011520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941243696,"filename":"image_17122025_04_12_35_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eaf88666931d02d3db5f7698054c206a.jpg","text":"TemporaryFile(/tmp/multipartBody7750690148882997940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941243696,"filename":"image_17122025_04_12_45_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/528bd947ac2afb7c088477c639af8e96.jpg","text":"TemporaryFile(/tmp/multipartBody4838900303216465356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941243696,"filename":"image_17122025_04_11_35_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741653","file1":"1399741652","file0":"1399741649","file4":"1399741656","file5":"1399741658","file3":"1399741654"},"map_files_photo_id_array":[{"photo_id":"1399741658","filename":"file5"},{"photo_id":"1399741653","filename":"file2"},{"photo_id":"1399741656","filename":"file4"},{"photo_id":"1399741652","filename":"file1"},{"photo_id":"1399741649","filename":"file0"},{"photo_id":"1399741654","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741649":["hashtag1","hashtag2"]},{"1399741654":["hashtag1","hashtag2"]},{"1399741653":["hashtag1","hashtag2"]},{"1399741656":["hashtag1","hashtag2"]},{"1399741658":["hashtag1","hashtag2"]},{"1399741652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741649, 1399741654, 1399741653, 1399741656, 1399741658, 1399741652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97289800643921 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:13:42.318177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/04/image_07112025_16_05_00_1561.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_05_3012.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_21_15223.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_22_1599.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_24_1669.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_26_1742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_05_00_1561.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_05_3012.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_21_15223.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_22_1599.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_24_1669.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_26_1742.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6240651607513428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:14:13.462213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_54_9619.jpg', '/home/pi/Desktop/images/17122025/04/12/image_17122025_04_13_05_10653.jpg', '/home/pi/Desktop/images/17122025/04/13/image_17122025_04_13_24_9702.jpg', '/home/pi/Desktop/images/17122025/04/13/image_17122025_04_13_35_10749.jpg', '/home/pi/Desktop/images/17122025/04/13/image_17122025_04_13_45_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/12/image_17122025_04_12_54_9619.jpg
/home/pi/Desktop/images/17122025/04/12/image_17122025_04_13_05_10653.jpg
/home/pi/Desktop/images/17122025/04/13/image_17122025_04_13_24_9702.jpg
/home/pi/Desktop/images/17122025/04/13/image_17122025_04_13_35_10749.jpg
/home/pi/Desktop/images/17122025/04/13/image_17122025_04_13_45_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741681","1399741675","1399741678","1399741683","1399741676"],"photo_ids_order":["1399741675","1399741676","1399741678","1399741681","1399741683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/132016fa42e1111f4ced8601073106e4.jpg","text":"TemporaryFile(/tmp/multipartBody855178826446089705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941314123,"filename":"image_17122025_04_13_35_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8281f5171e2d4c576bec3d3adfbcec4.jpg","text":"TemporaryFile(/tmp/multipartBody6671605211485040113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941314123,"filename":"image_17122025_04_12_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab8d4938614b7b9d12e6526d799db384.jpg","text":"TemporaryFile(/tmp/multipartBody3265258536829291452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941314123,"filename":"image_17122025_04_13_24_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f81307af808eb16c702a2fc9f6bf985b.jpg","text":"TemporaryFile(/tmp/multipartBody406045925460984539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941314123,"filename":"image_17122025_04_13_45_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cde26d2e39ac9eda75e8596135272f1f.jpg","text":"TemporaryFile(/tmp/multipartBody2012352210617681391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941314123,"filename":"image_17122025_04_13_05_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741678","file1":"1399741676","file0":"1399741675","file4":"1399741683","file3":"1399741681"},"map_files_photo_id_array":[{"photo_id":"1399741678","filename":"file2"},{"photo_id":"1399741683","filename":"file4"},{"photo_id":"1399741676","filename":"file1"},{"photo_id":"1399741675","filename":"file0"},{"photo_id":"1399741681","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741681":["hashtag1","hashtag2"]},{"1399741675":["hashtag1","hashtag2"]},{"1399741678":["hashtag1","hashtag2"]},{"1399741683":["hashtag1","hashtag2"]},{"1399741676":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741681, 1399741675, 1399741678, 1399741683, 1399741676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.39076256752014 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:14:52.802612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/04/image_07112025_16_05_00_1561.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_05_3012.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_21_15223.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_22_1599.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_24_1669.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_26_1742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_05_00_1561.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_05_3012.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_21_15223.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_22_1599.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_24_1669.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_26_1742.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.49787330627441406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:15:02.566886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/13/image_17122025_04_13_54_9568.jpg', '/home/pi/Desktop/images/17122025/04/13/image_17122025_04_14_05_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/13/image_17122025_04_13_54_9568.jpg
/home/pi/Desktop/images/17122025/04/13/image_17122025_04_14_05_10635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741700","1399741697"],"photo_ids_order":["1399741697","1399741700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/985a1181717bedbb9e9ad80e57629162.jpg","text":"TemporaryFile(/tmp/multipartBody4816467381578474273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941363048,"filename":"image_17122025_04_14_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/635c6d1eadab3bdc4a72221754deaf17.jpg","text":"TemporaryFile(/tmp/multipartBody6805857239847269848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941363048,"filename":"image_17122025_04_13_54_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399741700","file0":"1399741697"},"map_files_photo_id_array":[{"photo_id":"1399741700","filename":"file1"},{"photo_id":"1399741697","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741700":["hashtag1","hashtag2"]},{"1399741697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741700, 1399741697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.53359603881836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:15:22.101900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/14/image_17122025_04_14_55_10642.jpg', '/home/pi/Desktop/images/17122025/04/15/image_17122025_04_15_12_17445.jpg', '/home/pi/Desktop/images/17122025/04/15/image_17122025_04_15_25_10739.jpg', '/home/pi/Desktop/images/17122025/04/15/image_17122025_04_15_44_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/14/image_17122025_04_14_55_10642.jpg
/home/pi/Desktop/images/17122025/04/15/image_17122025_04_15_12_17445.jpg
/home/pi/Desktop/images/17122025/04/15/image_17122025_04_15_25_10739.jpg
/home/pi/Desktop/images/17122025/04/15/image_17122025_04_15_44_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":["1399741706","1399741708","1399741702","1399741704"],"photo_ids_order":["1399741702","1399741704","1399741706","1399741708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da4146966ac172c675bf859179ba8dcf.jpg","text":"TemporaryFile(/tmp/multipartBody1469076333069126131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941382633,"filename":"image_17122025_04_15_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f26153f7b8989ea08465b6d7601bd64.jpg","text":"TemporaryFile(/tmp/multipartBody8876306657352320318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941382633,"filename":"image_17122025_04_15_44_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7753928ebb2b72be866fce42ec09442f.jpg","text":"TemporaryFile(/tmp/multipartBody6057014044524649224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941382633,"filename":"image_17122025_04_14_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a762dfd153168b3fe5930fa1766b0b94.jpg","text":"TemporaryFile(/tmp/multipartBody906725238178181487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941382633,"filename":"image_17122025_04_15_12_17445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741706","file1":"1399741704","file0":"1399741702","file3":"1399741708"},"map_files_photo_id_array":[{"photo_id":"1399741706","filename":"file2"},{"photo_id":"1399741704","filename":"file1"},{"photo_id":"1399741702","filename":"file0"},{"photo_id":"1399741708","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741706":["hashtag1","hashtag2"]},{"1399741708":["hashtag1","hashtag2"]},{"1399741702":["hashtag1","hashtag2"]},{"1399741704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741706, 1399741708, 1399741702, 1399741704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.69560146331787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:16:03.064527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:16:12.614395
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
 val : 1 : upload photos already in processing! 
2025-12-17 04:16:29.433649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/15/image_17122025_04_15_54_9670.jpg', '/home/pi/Desktop/images/17122025/04/16/image_17122025_04_16_35_10169.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/15/image_17122025_04_15_54_9670.jpg
/home/pi/Desktop/images/17122025/04/16/image_17122025_04_16_35_10169.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741720","1399741722"],"photo_ids_order":["1399741720","1399741722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/755a0beb98fb6c1061b5e0e1d1a1eeb5.jpg","text":"TemporaryFile(/tmp/multipartBody5124106219304621549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941452422,"filename":"image_17122025_04_15_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec7e287c26f52fb26b04842cabef6229.jpg","text":"TemporaryFile(/tmp/multipartBody4499630437694499808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941452422,"filename":"image_17122025_04_16_35_10169.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399741722","file0":"1399741720"},"map_files_photo_id_array":[{"photo_id":"1399741722","filename":"file1"},{"photo_id":"1399741720","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741720":["hashtag1","hashtag2"]},{"1399741722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741720, 1399741722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 20.364561796188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:17:02.759174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:17:12.060433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:17:22.124037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/16/image_17122025_04_16_54_10315.jpg', '/home/pi/Desktop/images/17122025/04/16/image_17122025_04_17_05_10654.jpg', '/home/pi/Desktop/images/17122025/04/17/image_17122025_04_17_15_9659.jpg', '/home/pi/Desktop/images/17122025/04/17/image_17122025_04_17_44_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/16/image_17122025_04_16_54_10315.jpg
/home/pi/Desktop/images/17122025/04/16/image_17122025_04_17_05_10654.jpg
/home/pi/Desktop/images/17122025/04/17/image_17122025_04_17_15_9659.jpg
/home/pi/Desktop/images/17122025/04/17/image_17122025_04_17_44_9662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741741","1399741743","1399741745","1399741739"],"photo_ids_order":["1399741739","1399741741","1399741743","1399741745"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afebb29d17e19cdec7293da736799738.jpg","text":"TemporaryFile(/tmp/multipartBody478894232241665254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941502628,"filename":"image_17122025_04_17_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9031e5c683a613533bb04278477ec2d2.jpg","text":"TemporaryFile(/tmp/multipartBody4915561607472340110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941502628,"filename":"image_17122025_04_17_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c53128b886e8d9ee6eb57c4dbe5cedf.jpg","text":"TemporaryFile(/tmp/multipartBody6833693523427665688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941502628,"filename":"image_17122025_04_17_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0412d62bbdc55cc55b2eac0f1b9ef7e6.jpg","text":"TemporaryFile(/tmp/multipartBody1552567731012213636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941502628,"filename":"image_17122025_04_16_54_10315.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741743","file1":"1399741741","file0":"1399741739","file3":"1399741745"},"map_files_photo_id_array":[{"photo_id":"1399741743","filename":"file2"},{"photo_id":"1399741741","filename":"file1"},{"photo_id":"1399741739","filename":"file0"},{"photo_id":"1399741745","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741741":["hashtag1","hashtag2"]},{"1399741743":["hashtag1","hashtag2"]},{"1399741745":["hashtag1","hashtag2"]},{"1399741739":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741741, 1399741743, 1399741745, 1399741739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.80483055114746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:18:02.527285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:18:12.069271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:18:22.142553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/17/image_17122025_04_17_55_10576.jpg', '/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_15_10676.jpg', '/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_25_9831.jpg', '/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_35_9727.jpg', '/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_44_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/17/image_17122025_04_17_55_10576.jpg
/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_15_10676.jpg
/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_25_9831.jpg
/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_35_9727.jpg
/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_44_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741754","1399741759","1399741761","1399741755","1399741757"],"photo_ids_order":["1399741754","1399741755","1399741757","1399741759","1399741761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1eb27d5832a6382192e18df04cd9bbc1.jpg","text":"TemporaryFile(/tmp/multipartBody7262010633844192293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941562686,"filename":"image_17122025_04_17_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/439e4711e5b83f14de143456f19ac094.jpg","text":"TemporaryFile(/tmp/multipartBody9045709539114269084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941562686,"filename":"image_17122025_04_18_35_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d6b94b4ea1a23533b7a320c5e8bb51a.jpg","text":"TemporaryFile(/tmp/multipartBody8819602661294085996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941562686,"filename":"image_17122025_04_18_44_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/761f3193e88535eee1e4a54c5bfe56cc.jpg","text":"TemporaryFile(/tmp/multipartBody8402662042458208969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941562686,"filename":"image_17122025_04_18_15_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f7ab78c7a327cc81bc56f7ff011ee33.jpg","text":"TemporaryFile(/tmp/multipartBody1165850755298869955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941562686,"filename":"image_17122025_04_18_25_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741757","file1":"1399741755","file0":"1399741754","file4":"1399741761","file3":"1399741759"},"map_files_photo_id_array":[{"photo_id":"1399741757","filename":"file2"},{"photo_id":"1399741761","filename":"file4"},{"photo_id":"1399741755","filename":"file1"},{"photo_id":"1399741754","filename":"file0"},{"photo_id":"1399741759","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741754":["hashtag1","hashtag2"]},{"1399741759":["hashtag1","hashtag2"]},{"1399741761":["hashtag1","hashtag2"]},{"1399741755":["hashtag1","hashtag2"]},{"1399741757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741754, 1399741759, 1399741761, 1399741755, 1399741757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.64851689338684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:19:03.173225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:19:12.216141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:19:22.282726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_55_10725.jpg', '/home/pi/Desktop/images/17122025/04/19/image_17122025_04_19_35_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_55_10725.jpg
/home/pi/Desktop/images/17122025/04/19/image_17122025_04_19_35_9711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.336883544921875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:19:32.358551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:19:42.234164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/04/image_07112025_16_05_00_1561.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_05_3012.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_21_15223.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_22_1599.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_24_1669.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_26_1742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/04/image_07112025_16_05_00_1561.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_05_3012.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_21_15223.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_22_1599.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_24_1669.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_26_1742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741789","1399741782","1399741791","1399741793","1399741787","1399741784"],"photo_ids_order":["1399741782","1399741784","1399741787","1399741789","1399741791","1399741793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44d57e2a3913d7469e40fa72fbbb800f.jpg","text":"TemporaryFile(/tmp/multipartBody3311027645645594047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941642876,"filename":"image_07112025_16_07_22_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b7142803e89e7e03f3e01aba8069540.jpg","text":"TemporaryFile(/tmp/multipartBody742554892242355072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941642876,"filename":"image_07112025_16_05_00_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4483c983ba1d268805d15e52445c6d82.jpg","text":"TemporaryFile(/tmp/multipartBody8762702984914332714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941642876,"filename":"image_07112025_16_07_24_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dadfbd6198bd452327454d56e081a089.jpg","text":"TemporaryFile(/tmp/multipartBody3888134228759438169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941642876,"filename":"image_07112025_16_07_26_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb99e58c157bff63ad42b9ed36f1dfef.jpg","text":"TemporaryFile(/tmp/multipartBody3619310052439487714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941642876,"filename":"image_07112025_16_07_21_15223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/028dc37eea0545cb86cb05615a4d13e5.jpg","text":"TemporaryFile(/tmp/multipartBody6413396358839133879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941642876,"filename":"image_07112025_16_07_05_3012.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741787","file1":"1399741784","file0":"1399741782","file4":"1399741791","file5":"1399741793","file3":"1399741789"},"map_files_photo_id_array":[{"photo_id":"1399741793","filename":"file5"},{"photo_id":"1399741787","filename":"file2"},{"photo_id":"1399741791","filename":"file4"},{"photo_id":"1399741784","filename":"file1"},{"photo_id":"1399741782","filename":"file0"},{"photo_id":"1399741789","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741789":["hashtag1","hashtag2"]},{"1399741782":["hashtag1","hashtag2"]},{"1399741791":["hashtag1","hashtag2"]},{"1399741793":["hashtag1","hashtag2"]},{"1399741787":["hashtag1","hashtag2"]},{"1399741784":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741789, 1399741782, 1399741791, 1399741793, 1399741787, 1399741784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59299683570862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:20:22.531680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_55_10725.jpg', '/home/pi/Desktop/images/17122025/04/19/image_17122025_04_19_35_9711.jpg', '/home/pi/Desktop/images/17122025/04/19/image_17122025_04_19_55_10668.jpg', '/home/pi/Desktop/images/17122025/04/19/image_17122025_04_20_05_9554.jpg', '/home/pi/Desktop/images/17122025/04/20/image_17122025_04_20_34_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/18/image_17122025_04_18_55_10725.jpg
/home/pi/Desktop/images/17122025/04/19/image_17122025_04_19_35_9711.jpg
/home/pi/Desktop/images/17122025/04/19/image_17122025_04_19_55_10668.jpg
/home/pi/Desktop/images/17122025/04/19/image_17122025_04_20_05_9554.jpg
/home/pi/Desktop/images/17122025/04/20/image_17122025_04_20_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":["1399741795","1399741801","1399741797","1399741799","1399741803"],"photo_ids_order":["1399741795","1399741797","1399741799","1399741801","1399741803"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/520eaee66743918c45d92e6bbf1724f0.jpg","text":"TemporaryFile(/tmp/multipartBody1122490537876855983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941683075,"filename":"image_17122025_04_18_55_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fb250d087cb4c327c8d5072477fde10.jpg","text":"TemporaryFile(/tmp/multipartBody5159462555417425785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941683075,"filename":"image_17122025_04_20_05_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7381a2cf660645ec3f99a880adae4c6.jpg","text":"TemporaryFile(/tmp/multipartBody2635399078403277852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941683075,"filename":"image_17122025_04_19_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bbbaa75e36a592352697b8778ec80fe.jpg","text":"TemporaryFile(/tmp/multipartBody3065188260888676998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941683075,"filename":"image_17122025_04_19_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef45e67fea9fca42c09c8c77eb2716aa.jpg","text":"TemporaryFile(/tmp/multipartBody9122403092834233445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941683075,"filename":"image_17122025_04_20_34_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741799","file1":"1399741797","file0":"1399741795","file4":"1399741803","file3":"1399741801"},"map_files_photo_id_array":[{"photo_id":"1399741799","filename":"file2"},{"photo_id":"1399741803","filename":"file4"},{"photo_id":"1399741797","filename":"file1"},{"photo_id":"1399741795","filename":"file0"},{"photo_id":"1399741801","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741795":["hashtag1","hashtag2"]},{"1399741801":["hashtag1","hashtag2"]},{"1399741797":["hashtag1","hashtag2"]},{"1399741799":["hashtag1","hashtag2"]},{"1399741803":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741795, 1399741801, 1399741797, 1399741799, 1399741803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.64523720741272 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:21:03.416264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:21:12.672558
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:21:22.748063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/20/image_17122025_04_20_45_10792.jpg', '/home/pi/Desktop/images/17122025/04/21/image_17122025_04_21_14_9670.jpg', '/home/pi/Desktop/images/17122025/04/21/image_17122025_04_21_44_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/20/image_17122025_04_20_45_10792.jpg
/home/pi/Desktop/images/17122025/04/21/image_17122025_04_21_14_9670.jpg
/home/pi/Desktop/images/17122025/04/21/image_17122025_04_21_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":["1399741820","1399741817","1399741822"],"photo_ids_order":["1399741817","1399741820","1399741822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c2cad8725c34b42f32c39fae903a6fd.jpg","text":"TemporaryFile(/tmp/multipartBody8664240237034585372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941743220,"filename":"image_17122025_04_21_14_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/143514fc13a84cdf70ed7cffa082befe.jpg","text":"TemporaryFile(/tmp/multipartBody3967819273665776010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941743220,"filename":"image_17122025_04_20_45_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9339cba76f520e642eb076ba59b5faa1.jpg","text":"TemporaryFile(/tmp/multipartBody9026780123519980961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941743220,"filename":"image_17122025_04_21_44_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741822","file1":"1399741820","file0":"1399741817"},"map_files_photo_id_array":[{"photo_id":"1399741822","filename":"file2"},{"photo_id":"1399741820","filename":"file1"},{"photo_id":"1399741817","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741820":["hashtag1","hashtag2"]},{"1399741817":["hashtag1","hashtag2"]},{"1399741822":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741820, 1399741817, 1399741822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.795187950134277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:22:02.433823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:22:12.084287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:22:21.972154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/21/image_17122025_04_21_55_10774.jpg', '/home/pi/Desktop/images/17122025/04/21/image_17122025_04_22_05_9686.jpg', '/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_14_9701.jpg', '/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_25_10608.jpg', '/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_35_9864.jpg', '/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_45_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/21/image_17122025_04_21_55_10774.jpg
/home/pi/Desktop/images/17122025/04/21/image_17122025_04_22_05_9686.jpg
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_14_9701.jpg
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_25_10608.jpg
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_35_9864.jpg
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_45_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741832","1399741835","1399741843","1399741837","1399741839","1399741833"],"photo_ids_order":["1399741832","1399741833","1399741835","1399741837","1399741839","1399741843"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/755b8bc2e10bb3c57c65cba754585076.jpg","text":"TemporaryFile(/tmp/multipartBody4426301584764444773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941802555,"filename":"image_17122025_04_21_55_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f56b31342f9216bef73056a765491bc.jpg","text":"TemporaryFile(/tmp/multipartBody7253704938954648505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941802555,"filename":"image_17122025_04_22_14_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/346a817ebd0922bbed8f6fde34457995.jpg","text":"TemporaryFile(/tmp/multipartBody8171119022117210966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941802555,"filename":"image_17122025_04_22_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c68f21b5cd2e4d623d9864d3ed1d690f.jpg","text":"TemporaryFile(/tmp/multipartBody458116914244682753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941802555,"filename":"image_17122025_04_22_25_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ce5965cdcb8088440aa5659944e24af.jpg","text":"TemporaryFile(/tmp/multipartBody6917226224416727372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941802555,"filename":"image_17122025_04_22_35_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0bd94478622138d1be0be973879d8bb.jpg","text":"TemporaryFile(/tmp/multipartBody6555837761881469439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941802555,"filename":"image_17122025_04_22_05_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741835","file1":"1399741833","file0":"1399741832","file4":"1399741839","file5":"1399741843","file3":"1399741837"},"map_files_photo_id_array":[{"photo_id":"1399741843","filename":"file5"},{"photo_id":"1399741835","filename":"file2"},{"photo_id":"1399741839","filename":"file4"},{"photo_id":"1399741833","filename":"file1"},{"photo_id":"1399741832","filename":"file0"},{"photo_id":"1399741837","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741832":["hashtag1","hashtag2"]},{"1399741835":["hashtag1","hashtag2"]},{"1399741843":["hashtag1","hashtag2"]},{"1399741837":["hashtag1","hashtag2"]},{"1399741839":["hashtag1","hashtag2"]},{"1399741833":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741832, 1399741835, 1399741843, 1399741837, 1399741839, 1399741833)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.233238697052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:23:02.981540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:23:12.134448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:23:22.357994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_54_9761.jpg', '/home/pi/Desktop/images/17122025/04/22/image_17122025_04_23_05_10698.jpg', '/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_24_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_54_9761.jpg
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_23_05_10698.jpg
/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_24_9704.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3878355026245117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:23:32.198034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:23:42.182345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_27_1623.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_47_19692.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_49_1532.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_50_1636.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_52_1817.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_54_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_27_1623.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_47_19692.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_49_1532.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_50_1636.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_52_1817.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_54_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":["1399741873","1399741875","1399741866","1399741869","1399741862","1399741871"],"photo_ids_order":["1399741862","1399741866","1399741869","1399741871","1399741873","1399741875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d3b1bfe047692e70a9e00ca72ca0d00.jpg","text":"TemporaryFile(/tmp/multipartBody7628986767540670941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941882910,"filename":"image_07112025_16_07_52_1817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb894ad7ea42f815a892f8b0d71ad577.jpg","text":"TemporaryFile(/tmp/multipartBody6973423377512536977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941882910,"filename":"image_07112025_16_07_54_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4361234065e01c80a5feb33a6027b09c.jpg","text":"TemporaryFile(/tmp/multipartBody9087642090456915107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941882910,"filename":"image_07112025_16_07_47_19692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46dd8596e54539532020a77e5ee61807.jpg","text":"TemporaryFile(/tmp/multipartBody546194133585482693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941882910,"filename":"image_07112025_16_07_49_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a903ca5e07e768db2ba243341c95279.jpg","text":"TemporaryFile(/tmp/multipartBody3087371477532159300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941882910,"filename":"image_07112025_16_07_27_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d268a951f727fa20891790d8f70ed65.jpg","text":"TemporaryFile(/tmp/multipartBody4469365424015555610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941882910,"filename":"image_07112025_16_07_50_1636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741869","file1":"1399741866","file0":"1399741862","file4":"1399741873","file5":"1399741875","file3":"1399741871"},"map_files_photo_id_array":[{"photo_id":"1399741875","filename":"file5"},{"photo_id":"1399741869","filename":"file2"},{"photo_id":"1399741873","filename":"file4"},{"photo_id":"1399741866","filename":"file1"},{"photo_id":"1399741862","filename":"file0"},{"photo_id":"1399741871","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741873":["hashtag1","hashtag2"]},{"1399741875":["hashtag1","hashtag2"]},{"1399741866":["hashtag1","hashtag2"]},{"1399741869":["hashtag1","hashtag2"]},{"1399741862":["hashtag1","hashtag2"]},{"1399741871":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741873, 1399741875, 1399741866, 1399741869, 1399741862, 1399741871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0883891582489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:24:22.481073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_54_9761.jpg', '/home/pi/Desktop/images/17122025/04/22/image_17122025_04_23_05_10698.jpg', '/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_24_9704.jpg', '/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_35_10567.jpg', '/home/pi/Desktop/images/17122025/04/24/image_17122025_04_24_45_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_54_9761.jpg
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_23_05_10698.jpg
/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_24_9704.jpg
/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_35_10567.jpg
/home/pi/Desktop/images/17122025/04/24/image_17122025_04_24_45_9695.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4378221035003662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:24:32.439590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:24:42.429560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_55_1612.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_57_1770.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_59_1630.jpg', '/home/pi/Desktop/images/07112025/16/07/image_07112025_16_08_00_1637.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_07_3011.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_11_3650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_55_1612.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_57_1770.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_07_59_1630.jpg
/home/pi/Desktop/images/07112025/16/07/image_07112025_16_08_00_1637.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_07_3011.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_11_3650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741897","1399741891","1399741885","1399741888","1399741893","1399741895"],"photo_ids_order":["1399741885","1399741888","1399741891","1399741893","1399741895","1399741897"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/962e662339b33d86c27dbe620413fd6f.jpg","text":"TemporaryFile(/tmp/multipartBody5470997918194314552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941943213,"filename":"image_07112025_16_10_11_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57bccaa0da26ab5573b959a94f314692.jpg","text":"TemporaryFile(/tmp/multipartBody4572936972210472318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941943213,"filename":"image_07112025_16_07_59_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b7cc034c87b192c2b2cf266ebcc17eb.jpg","text":"TemporaryFile(/tmp/multipartBody4570348352853600392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941943213,"filename":"image_07112025_16_07_55_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1db4a773f7543b0ea8e336ceb44bdf4a.jpg","text":"TemporaryFile(/tmp/multipartBody4335619511098986343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941943213,"filename":"image_07112025_16_07_57_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0fa15bcbc7c7b8255ba43fb376fd630.jpg","text":"TemporaryFile(/tmp/multipartBody4401938710760189980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941943213,"filename":"image_07112025_16_08_00_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fea0de45a6559151d1e5a30309952dc.jpg","text":"TemporaryFile(/tmp/multipartBody568549310293318009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765941943213,"filename":"image_07112025_16_10_07_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741891","file1":"1399741888","file0":"1399741885","file4":"1399741895","file5":"1399741897","file3":"1399741893"},"map_files_photo_id_array":[{"photo_id":"1399741897","filename":"file5"},{"photo_id":"1399741891","filename":"file2"},{"photo_id":"1399741895","filename":"file4"},{"photo_id":"1399741888","filename":"file1"},{"photo_id":"1399741885","filename":"file0"},{"photo_id":"1399741893","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741897":["hashtag1","hashtag2"]},{"1399741891":["hashtag1","hashtag2"]},{"1399741885":["hashtag1","hashtag2"]},{"1399741888":["hashtag1","hashtag2"]},{"1399741893":["hashtag1","hashtag2"]},{"1399741895":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741897, 1399741891, 1399741885, 1399741888, 1399741893, 1399741895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97682499885559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:25:22.736490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_54_9761.jpg', '/home/pi/Desktop/images/17122025/04/22/image_17122025_04_23_05_10698.jpg', '/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_24_9704.jpg', '/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_35_10567.jpg', '/home/pi/Desktop/images/17122025/04/24/image_17122025_04_24_45_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_54_9761.jpg
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_23_05_10698.jpg
/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_24_9704.jpg
/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_35_10567.jpg
/home/pi/Desktop/images/17122025/04/24/image_17122025_04_24_45_9695.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.43900346755981445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:25:32.669976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:25:42.617891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_27_15570.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_29_2862.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_33_1735.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_34_1649.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_36_1726.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_38_1513.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_27_15570.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_29_2862.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_33_1735.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_34_1649.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_36_1726.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_38_1513.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741909","1399741918","1399741912","1399741920","1399741914","1399741916"],"photo_ids_order":["1399741909","1399741912","1399741914","1399741916","1399741918","1399741920"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c5c7c0a76e73f2db3f86cfee929f3bb.jpg","text":"TemporaryFile(/tmp/multipartBody8672023766910409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942003330,"filename":"image_07112025_16_10_27_15570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/258629c43a46074531b42ac8b8b8f88d.jpg","text":"TemporaryFile(/tmp/multipartBody3120637632517852590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942003330,"filename":"image_07112025_16_10_36_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db067bff4d3b11409e4c6fbf5c336120.jpg","text":"TemporaryFile(/tmp/multipartBody7091919029017848336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942003330,"filename":"image_07112025_16_10_29_2862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9a2dc6d43cbfb35dda8f8fd87894b76.jpg","text":"TemporaryFile(/tmp/multipartBody2338123171288040744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942003330,"filename":"image_07112025_16_10_38_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/013a1fc51318d4688bda621c89555743.jpg","text":"TemporaryFile(/tmp/multipartBody391661898715863615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942003330,"filename":"image_07112025_16_10_33_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a09f1366d9660fa5dd96ddfd0580296.jpg","text":"TemporaryFile(/tmp/multipartBody5993187589224802998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942003330,"filename":"image_07112025_16_10_34_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741914","file1":"1399741912","file0":"1399741909","file4":"1399741918","file5":"1399741920","file3":"1399741916"},"map_files_photo_id_array":[{"photo_id":"1399741920","filename":"file5"},{"photo_id":"1399741914","filename":"file2"},{"photo_id":"1399741918","filename":"file4"},{"photo_id":"1399741912","filename":"file1"},{"photo_id":"1399741909","filename":"file0"},{"photo_id":"1399741916","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741909":["hashtag1","hashtag2"]},{"1399741918":["hashtag1","hashtag2"]},{"1399741912":["hashtag1","hashtag2"]},{"1399741920":["hashtag1","hashtag2"]},{"1399741914":["hashtag1","hashtag2"]},{"1399741916":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741909, 1399741918, 1399741912, 1399741920, 1399741914, 1399741916)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8531277179718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:26:21.896610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_54_9761.jpg', '/home/pi/Desktop/images/17122025/04/22/image_17122025_04_23_05_10698.jpg', '/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_24_9704.jpg', '/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_35_10567.jpg', '/home/pi/Desktop/images/17122025/04/24/image_17122025_04_24_45_9695.jpg', '/home/pi/Desktop/images/17122025/04/24/image_17122025_04_24_54_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_22_54_9761.jpg
/home/pi/Desktop/images/17122025/04/22/image_17122025_04_23_05_10698.jpg
/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_24_9704.jpg
/home/pi/Desktop/images/17122025/04/23/image_17122025_04_23_35_10567.jpg
/home/pi/Desktop/images/17122025/04/24/image_17122025_04_24_45_9695.jpg
/home/pi/Desktop/images/17122025/04/24/image_17122025_04_24_54_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":["1399741925","1399741927","1399741921","1399741932","1399741929","1399741923"],"photo_ids_order":["1399741921","1399741923","1399741925","1399741927","1399741929","1399741932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e196ce1f553d97b817ae05d0cb4dd12.jpg","text":"TemporaryFile(/tmp/multipartBody3918682608592209775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942042477,"filename":"image_17122025_04_23_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cada24d40b5b287a3d315d745675566c.jpg","text":"TemporaryFile(/tmp/multipartBody441316604902047234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942042477,"filename":"image_17122025_04_23_35_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/609ca1c8c4810c097fb860eb9daa5b36.jpg","text":"TemporaryFile(/tmp/multipartBody2218551224295721211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942042477,"filename":"image_17122025_04_22_54_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85589fc927aaa33ad81d77030bfab262.jpg","text":"TemporaryFile(/tmp/multipartBody8574033962535581416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942042477,"filename":"image_17122025_04_24_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42057c103a491091a9a3282ac7b996ab.jpg","text":"TemporaryFile(/tmp/multipartBody6357802408503773679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942042477,"filename":"image_17122025_04_24_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97c60a589e3d1318d61007dec96a2be4.jpg","text":"TemporaryFile(/tmp/multipartBody514879099213911038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942042477,"filename":"image_17122025_04_23_05_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741925","file1":"1399741923","file0":"1399741921","file4":"1399741929","file5":"1399741932","file3":"1399741927"},"map_files_photo_id_array":[{"photo_id":"1399741932","filename":"file5"},{"photo_id":"1399741925","filename":"file2"},{"photo_id":"1399741929","filename":"file4"},{"photo_id":"1399741923","filename":"file1"},{"photo_id":"1399741921","filename":"file0"},{"photo_id":"1399741927","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741925":["hashtag1","hashtag2"]},{"1399741927":["hashtag1","hashtag2"]},{"1399741921":["hashtag1","hashtag2"]},{"1399741932":["hashtag1","hashtag2"]},{"1399741929":["hashtag1","hashtag2"]},{"1399741923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741925, 1399741927, 1399741921, 1399741932, 1399741929, 1399741923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.68768906593323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:27:02.952744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/25/image_17122025_04_26_05_9682.jpg', '/home/pi/Desktop/images/17122025/04/26/image_17122025_04_26_14_9666.jpg', '/home/pi/Desktop/images/17122025/04/26/image_17122025_04_26_24_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/25/image_17122025_04_26_05_9682.jpg
/home/pi/Desktop/images/17122025/04/26/image_17122025_04_26_14_9666.jpg
/home/pi/Desktop/images/17122025/04/26/image_17122025_04_26_24_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":["1399741939","1399741941","1399741940"],"photo_ids_order":["1399741939","1399741940","1399741941"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a77cf9e362f692603da286ddea850ce.jpg","text":"TemporaryFile(/tmp/multipartBody8221681886203669682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942083475,"filename":"image_17122025_04_26_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3163e8c6afe0279d059755fa1401c835.jpg","text":"TemporaryFile(/tmp/multipartBody3718583775091162358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942083475,"filename":"image_17122025_04_26_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a488da2be3044f624e53f90544da6fe.jpg","text":"TemporaryFile(/tmp/multipartBody8700536092479645096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942083475,"filename":"image_17122025_04_26_14_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741941","file1":"1399741940","file0":"1399741939"},"map_files_photo_id_array":[{"photo_id":"1399741941","filename":"file2"},{"photo_id":"1399741940","filename":"file1"},{"photo_id":"1399741939","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399741939":["hashtag1","hashtag2"]},{"1399741941":["hashtag1","hashtag2"]},{"1399741940":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399741939, 1399741941, 1399741940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.57275700569153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:27:34.874536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:27:42.150134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_39_1604.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_43_1644.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_44_1760.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_47_2664.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_50_2668.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_52_2746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_39_1604.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_43_1644.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_44_1760.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_47_2664.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_50_2668.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_52_2746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741957","1399741959","1399741950","1399741953","1399741947","1399741955"],"photo_ids_order":["1399741947","1399741950","1399741953","1399741955","1399741957","1399741959"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29dec756d961a0af1296f053985e124b.jpg","text":"TemporaryFile(/tmp/multipartBody5980716642941845715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942122872,"filename":"image_07112025_16_10_50_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71865d40a0ad7d764fc759432905246e.jpg","text":"TemporaryFile(/tmp/multipartBody3789933769609234964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942122872,"filename":"image_07112025_16_10_52_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59b2995b8935a58787fe78fcaa67b87b.jpg","text":"TemporaryFile(/tmp/multipartBody257651926706914391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942122872,"filename":"image_07112025_16_10_43_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08999b41051ca6db4e55e77615ace5fd.jpg","text":"TemporaryFile(/tmp/multipartBody4536522347442130142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942122872,"filename":"image_07112025_16_10_44_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c5c7ab2fa32fdc22a45ae59b7cdf33f.jpg","text":"TemporaryFile(/tmp/multipartBody4040941437079047175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942122872,"filename":"image_07112025_16_10_39_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44ecb326fbbfe8d6e23269360c44444a.jpg","text":"TemporaryFile(/tmp/multipartBody5292129619883363117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942122872,"filename":"image_07112025_16_10_47_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741953","file1":"1399741950","file0":"1399741947","file4":"1399741957","file5":"1399741959","file3":"1399741955"},"map_files_photo_id_array":[{"photo_id":"1399741959","filename":"file5"},{"photo_id":"1399741953","filename":"file2"},{"photo_id":"1399741957","filename":"file4"},{"photo_id":"1399741950","filename":"file1"},{"photo_id":"1399741947","filename":"file0"},{"photo_id":"1399741955","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741957":["hashtag1","hashtag2"]},{"1399741959":["hashtag1","hashtag2"]},{"1399741950":["hashtag1","hashtag2"]},{"1399741953":["hashtag1","hashtag2"]},{"1399741947":["hashtag1","hashtag2"]},{"1399741955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741957, 1399741959, 1399741950, 1399741953, 1399741947, 1399741955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57633829116821 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:28:22.438729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/26/image_17122025_04_26_45_9835.jpg', '/home/pi/Desktop/images/17122025/04/26/image_17122025_04_27_05_10784.jpg', '/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_15_9753.jpg', '/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_24_9727.jpg', '/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_34_9637.jpg', '/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_45_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/26/image_17122025_04_26_45_9835.jpg
/home/pi/Desktop/images/17122025/04/26/image_17122025_04_27_05_10784.jpg
/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_15_9753.jpg
/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_24_9727.jpg
/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_34_9637.jpg
/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_45_10673.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5048813819885254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:28:32.461623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:28:44.559164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_56_3788.jpg', '/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_59_2710.jpg', '/home/pi/Desktop/images/07112025/16/11/image_07112025_16_11_02_2652.jpg', '/home/pi/Desktop/images/07112025/16/11/image_07112025_16_11_05_3538.jpg', '/home/pi/Desktop/images/07112025/16/11/image_07112025_16_11_29_23721.jpg', '/home/pi/Desktop/images/07112025/16/11/image_07112025_16_11_49_20459.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_56_3788.jpg
/home/pi/Desktop/images/07112025/16/10/image_07112025_16_10_59_2710.jpg
/home/pi/Desktop/images/07112025/16/11/image_07112025_16_11_02_2652.jpg
/home/pi/Desktop/images/07112025/16/11/image_07112025_16_11_05_3538.jpg
/home/pi/Desktop/images/07112025/16/11/image_07112025_16_11_29_23721.jpg
/home/pi/Desktop/images/07112025/16/11/image_07112025_16_11_49_20459.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741981","1399741975","1399741977","1399741979","1399741973","1399741982"],"photo_ids_order":["1399741973","1399741975","1399741977","1399741979","1399741981","1399741982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ab2aa667b90814bc563b5161668cfb3.jpg","text":"TemporaryFile(/tmp/multipartBody2063519072706948003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942187628,"filename":"image_07112025_16_11_29_23721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84e0d3398fcd26a75aefad7e2adf76ba.jpg","text":"TemporaryFile(/tmp/multipartBody4309804683725801445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942187628,"filename":"image_07112025_16_10_59_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11a637699154678d8d79bafd6cf308b8.jpg","text":"TemporaryFile(/tmp/multipartBody6231607559220907603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942187628,"filename":"image_07112025_16_11_02_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8492054958d9322e6ba05cc64fd711d8.jpg","text":"TemporaryFile(/tmp/multipartBody4055453642145283913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942187628,"filename":"image_07112025_16_11_05_3538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a8ce134cf2e53a805b453079e2674a7.jpg","text":"TemporaryFile(/tmp/multipartBody1291180216720324831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942187628,"filename":"image_07112025_16_10_56_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/841f8110c8cb8ee2a5d7364fa3c2a49e.jpg","text":"TemporaryFile(/tmp/multipartBody5066865166345270823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942187628,"filename":"image_07112025_16_11_49_20459.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741977","file1":"1399741975","file0":"1399741973","file4":"1399741981","file5":"1399741982","file3":"1399741979"},"map_files_photo_id_array":[{"photo_id":"1399741982","filename":"file5"},{"photo_id":"1399741977","filename":"file2"},{"photo_id":"1399741981","filename":"file4"},{"photo_id":"1399741975","filename":"file1"},{"photo_id":"1399741973","filename":"file0"},{"photo_id":"1399741979","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741981":["hashtag1","hashtag2"]},{"1399741975":["hashtag1","hashtag2"]},{"1399741977":["hashtag1","hashtag2"]},{"1399741979":["hashtag1","hashtag2"]},{"1399741973":["hashtag1","hashtag2"]},{"1399741982":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741981, 1399741975, 1399741977, 1399741979, 1399741973, 1399741982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.93317270278931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:29:31.994267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:29:41.789856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_07_3020.jpg', '/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_10_3109.jpg', '/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_13_3674.jpg', '/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_16_2740.jpg', '/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_19_2560.jpg', '/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_22_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_07_3020.jpg
/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_10_3109.jpg
/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_13_3674.jpg
/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_16_2740.jpg
/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_19_2560.jpg
/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_22_3674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399741999","1399741990","1399741995","1399742001","1399741997","1399742003"],"photo_ids_order":["1399741990","1399741995","1399741997","1399741999","1399742001","1399742003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e24f4a58f3806cce6989e72eec0959ff.jpg","text":"TemporaryFile(/tmp/multipartBody894231234089079636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942242570,"filename":"image_07112025_16_13_16_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/045dc6c05f5ef20d3b66c5e8d7832499.jpg","text":"TemporaryFile(/tmp/multipartBody294791965529174011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942242570,"filename":"image_07112025_16_13_07_3020.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3736a7be1db223f9cafade0a6e2f7274.jpg","text":"TemporaryFile(/tmp/multipartBody1566479108616826497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942242570,"filename":"image_07112025_16_13_10_3109.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1228804c8e4225601960866b82d8ef9.jpg","text":"TemporaryFile(/tmp/multipartBody4234151854726268810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942242570,"filename":"image_07112025_16_13_19_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f9c8cdecab557cf125a10e5946232b9.jpg","text":"TemporaryFile(/tmp/multipartBody3248099820737361046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942242570,"filename":"image_07112025_16_13_13_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6df84b84f2bee7a9a5d5390b0ec49b3.jpg","text":"TemporaryFile(/tmp/multipartBody7552991248939439384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942242570,"filename":"image_07112025_16_13_22_3674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399741997","file1":"1399741995","file0":"1399741990","file4":"1399742001","file5":"1399742003","file3":"1399741999"},"map_files_photo_id_array":[{"photo_id":"1399742003","filename":"file5"},{"photo_id":"1399741997","filename":"file2"},{"photo_id":"1399742001","filename":"file4"},{"photo_id":"1399741995","filename":"file1"},{"photo_id":"1399741990","filename":"file0"},{"photo_id":"1399741999","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399741999":["hashtag1","hashtag2"]},{"1399741990":["hashtag1","hashtag2"]},{"1399741995":["hashtag1","hashtag2"]},{"1399742001":["hashtag1","hashtag2"]},{"1399741997":["hashtag1","hashtag2"]},{"1399742003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399741999, 1399741990, 1399741995, 1399742001, 1399741997, 1399742003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68920063972473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:30:21.963148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/26/image_17122025_04_26_45_9835.jpg', '/home/pi/Desktop/images/17122025/04/26/image_17122025_04_27_05_10784.jpg', '/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_15_9753.jpg', '/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_24_9727.jpg', '/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_34_9637.jpg', '/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_45_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/26/image_17122025_04_26_45_9835.jpg
/home/pi/Desktop/images/17122025/04/26/image_17122025_04_27_05_10784.jpg
/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_15_9753.jpg
/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_24_9727.jpg
/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_34_9637.jpg
/home/pi/Desktop/images/17122025/04/27/image_17122025_04_27_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":["1399742009","1399742011","1399742013","1399742007","1399742016","1399742004"],"photo_ids_order":["1399742004","1399742007","1399742009","1399742011","1399742013","1399742016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61e914cf21fb35a5323526b103769109.jpg","text":"TemporaryFile(/tmp/multipartBody8424360709858071287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942282542,"filename":"image_17122025_04_27_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d774ec818c4daea07693038d091f762.jpg","text":"TemporaryFile(/tmp/multipartBody2537924763040497331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942282542,"filename":"image_17122025_04_27_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/603c6af0409713fdf0d16f3c21737deb.jpg","text":"TemporaryFile(/tmp/multipartBody7041317739882450597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942282542,"filename":"image_17122025_04_27_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2142d5ded19468923e091125b95127da.jpg","text":"TemporaryFile(/tmp/multipartBody8922397534813439074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942282542,"filename":"image_17122025_04_27_05_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77f4aebf2d04bf64b273913985ce0298.jpg","text":"TemporaryFile(/tmp/multipartBody7595789650754892130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942282542,"filename":"image_17122025_04_27_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9915f4785680c5992dda27f416a21491.jpg","text":"TemporaryFile(/tmp/multipartBody8240007632363063333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942282542,"filename":"image_17122025_04_26_45_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742009","file1":"1399742007","file0":"1399742004","file4":"1399742013","file5":"1399742016","file3":"1399742011"},"map_files_photo_id_array":[{"photo_id":"1399742016","filename":"file5"},{"photo_id":"1399742009","filename":"file2"},{"photo_id":"1399742013","filename":"file4"},{"photo_id":"1399742007","filename":"file1"},{"photo_id":"1399742004","filename":"file0"},{"photo_id":"1399742011","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742009":["hashtag1","hashtag2"]},{"1399742011":["hashtag1","hashtag2"]},{"1399742013":["hashtag1","hashtag2"]},{"1399742007":["hashtag1","hashtag2"]},{"1399742016":["hashtag1","hashtag2"]},{"1399742004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742009, 1399742011, 1399742013, 1399742007, 1399742016, 1399742004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.423105001449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:31:02.793056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/28/image_17122025_04_28_14_9940.jpg', '/home/pi/Desktop/images/17122025/04/28/image_17122025_04_28_24_9823.jpg', '/home/pi/Desktop/images/17122025/04/28/image_17122025_04_28_44_9690.jpg', '/home/pi/Desktop/images/17122025/04/28/image_17122025_04_28_54_9636.jpg', '/home/pi/Desktop/images/17122025/04/28/image_17122025_04_29_05_10627.jpg', '/home/pi/Desktop/images/17122025/04/29/image_17122025_04_29_14_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/28/image_17122025_04_28_14_9940.jpg
/home/pi/Desktop/images/17122025/04/28/image_17122025_04_28_24_9823.jpg
/home/pi/Desktop/images/17122025/04/28/image_17122025_04_28_44_9690.jpg
/home/pi/Desktop/images/17122025/04/28/image_17122025_04_28_54_9636.jpg
/home/pi/Desktop/images/17122025/04/28/image_17122025_04_29_05_10627.jpg
/home/pi/Desktop/images/17122025/04/29/image_17122025_04_29_14_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742026","1399742023","1399742025","1399742028","1399742021","1399742024"],"photo_ids_order":["1399742021","1399742023","1399742024","1399742025","1399742026","1399742028"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f18293b1c2554c4899ab52625164a206.jpg","text":"TemporaryFile(/tmp/multipartBody749458277016363636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942323436,"filename":"image_17122025_04_29_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6d44064505ae58eb72dcfce319553d2.jpg","text":"TemporaryFile(/tmp/multipartBody2245451930768428223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942323436,"filename":"image_17122025_04_28_24_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b773b41dc70048d49dc3e5cb8ac73ae2.jpg","text":"TemporaryFile(/tmp/multipartBody8123219223774873032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942323436,"filename":"image_17122025_04_28_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e384d4d805a23f05bfa57623e7f1cb1.jpg","text":"TemporaryFile(/tmp/multipartBody605323451861416694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942323436,"filename":"image_17122025_04_29_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4944f3b529227080e79e878531b1026.jpg","text":"TemporaryFile(/tmp/multipartBody1740741855194351925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942323436,"filename":"image_17122025_04_28_14_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/589daf2e877ed89fcd780f45baed2d99.jpg","text":"TemporaryFile(/tmp/multipartBody1858375043345854599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942323436,"filename":"image_17122025_04_28_44_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742024","file1":"1399742023","file0":"1399742021","file4":"1399742026","file5":"1399742028","file3":"1399742025"},"map_files_photo_id_array":[{"photo_id":"1399742028","filename":"file5"},{"photo_id":"1399742024","filename":"file2"},{"photo_id":"1399742026","filename":"file4"},{"photo_id":"1399742023","filename":"file1"},{"photo_id":"1399742021","filename":"file0"},{"photo_id":"1399742025","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742026":["hashtag1","hashtag2"]},{"1399742023":["hashtag1","hashtag2"]},{"1399742025":["hashtag1","hashtag2"]},{"1399742028":["hashtag1","hashtag2"]},{"1399742021":["hashtag1","hashtag2"]},{"1399742024":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742026, 1399742023, 1399742025, 1399742028, 1399742021, 1399742024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.751113176345825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:31:42.143686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_38_15211.jpg', '/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_07_3011.jpg', '/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_11_3740.jpg', '/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_14_2612.jpg', '/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_16_2652.jpg', '/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_20_3671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/13/image_07112025_16_13_38_15211.jpg
/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_07_3011.jpg
/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_11_3740.jpg
/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_14_2612.jpg
/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_16_2652.jpg
/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_20_3671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742041","1399742038","1399742043","1399742033","1399742036","1399742045"],"photo_ids_order":["1399742033","1399742036","1399742038","1399742041","1399742043","1399742045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c8481345402c3272a8d83f397a9b758.jpg","text":"TemporaryFile(/tmp/multipartBody8284860829606281259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942362891,"filename":"image_07112025_16_15_14_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4822b77a72f7d5f71eb1378ca39d9e5.jpg","text":"TemporaryFile(/tmp/multipartBody1844353514743208516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942362891,"filename":"image_07112025_16_15_11_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1724b4f60230ffcac9ac8653971632d7.jpg","text":"TemporaryFile(/tmp/multipartBody8427077911941513056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942362891,"filename":"image_07112025_16_15_16_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef5a6bed29e5b2d34debfaa3627dd306.jpg","text":"TemporaryFile(/tmp/multipartBody5433245201161958527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942362891,"filename":"image_07112025_16_13_38_15211.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b64985fe58100c533ef9478950f58ed4.jpg","text":"TemporaryFile(/tmp/multipartBody7086060463794871907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942362891,"filename":"image_07112025_16_15_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc7084de73e4cad9d27b8116ede52feb.jpg","text":"TemporaryFile(/tmp/multipartBody957397314856328981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942362891,"filename":"image_07112025_16_15_20_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742038","file1":"1399742036","file0":"1399742033","file4":"1399742043","file5":"1399742045","file3":"1399742041"},"map_files_photo_id_array":[{"photo_id":"1399742045","filename":"file5"},{"photo_id":"1399742038","filename":"file2"},{"photo_id":"1399742043","filename":"file4"},{"photo_id":"1399742036","filename":"file1"},{"photo_id":"1399742033","filename":"file0"},{"photo_id":"1399742041","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742041":["hashtag1","hashtag2"]},{"1399742038":["hashtag1","hashtag2"]},{"1399742043":["hashtag1","hashtag2"]},{"1399742033":["hashtag1","hashtag2"]},{"1399742036":["hashtag1","hashtag2"]},{"1399742045":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742041, 1399742038, 1399742043, 1399742033, 1399742036, 1399742045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45472049713135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:32:22.350545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/29/image_17122025_04_29_24_9795.jpg', '/home/pi/Desktop/images/17122025/04/29/image_17122025_04_29_35_10604.jpg', '/home/pi/Desktop/images/17122025/04/29/image_17122025_04_29_44_9623.jpg', '/home/pi/Desktop/images/17122025/04/30/image_17122025_04_30_35_10836.jpg', '/home/pi/Desktop/images/17122025/04/30/image_17122025_04_30_45_9679.jpg', '/home/pi/Desktop/images/17122025/04/30/image_17122025_04_30_54_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/29/image_17122025_04_29_24_9795.jpg
/home/pi/Desktop/images/17122025/04/29/image_17122025_04_29_35_10604.jpg
/home/pi/Desktop/images/17122025/04/29/image_17122025_04_29_44_9623.jpg
/home/pi/Desktop/images/17122025/04/30/image_17122025_04_30_35_10836.jpg
/home/pi/Desktop/images/17122025/04/30/image_17122025_04_30_45_9679.jpg
/home/pi/Desktop/images/17122025/04/30/image_17122025_04_30_54_9694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742050","1399742053","1399742046","1399742054","1399742048","1399742057"],"photo_ids_order":["1399742046","1399742048","1399742050","1399742053","1399742054","1399742057"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d5f7fa54eacc80f407e86ee0236d406.jpg","text":"TemporaryFile(/tmp/multipartBody5363747684984576761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942402924,"filename":"image_17122025_04_29_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/409285ada671b5d03cf4b3f969389b25.jpg","text":"TemporaryFile(/tmp/multipartBody1765086765074925142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942402924,"filename":"image_17122025_04_30_35_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73cebc5ec9c192f63414409464b36edc.jpg","text":"TemporaryFile(/tmp/multipartBody7175091348196809088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942402924,"filename":"image_17122025_04_29_24_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63840586a1412553b56d9226336a5293.jpg","text":"TemporaryFile(/tmp/multipartBody40967034491444691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942402924,"filename":"image_17122025_04_30_45_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adbd3ec06bc2f30b7f1e40138deee073.jpg","text":"TemporaryFile(/tmp/multipartBody1002219816677782411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942402924,"filename":"image_17122025_04_29_35_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/258f9cd05ab080712e2043e6eda76e28.jpg","text":"TemporaryFile(/tmp/multipartBody4767002684351981025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942402924,"filename":"image_17122025_04_30_54_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742050","file1":"1399742048","file0":"1399742046","file4":"1399742054","file5":"1399742057","file3":"1399742053"},"map_files_photo_id_array":[{"photo_id":"1399742057","filename":"file5"},{"photo_id":"1399742050","filename":"file2"},{"photo_id":"1399742054","filename":"file4"},{"photo_id":"1399742048","filename":"file1"},{"photo_id":"1399742046","filename":"file0"},{"photo_id":"1399742053","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742050":["hashtag1","hashtag2"]},{"1399742053":["hashtag1","hashtag2"]},{"1399742046":["hashtag1","hashtag2"]},{"1399742054":["hashtag1","hashtag2"]},{"1399742048":["hashtag1","hashtag2"]},{"1399742057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742050, 1399742053, 1399742046, 1399742054, 1399742048, 1399742057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78310942649841 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:33:03.273547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/31/image_17122025_04_31_15_10765.jpg', '/home/pi/Desktop/images/17122025/04/31/image_17122025_04_31_25_9836.jpg', '/home/pi/Desktop/images/17122025/04/31/image_17122025_04_31_45_10543.jpg', '/home/pi/Desktop/images/17122025/04/32/image_17122025_04_32_14_9631.jpg', '/home/pi/Desktop/images/17122025/04/32/image_17122025_04_32_34_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/31/image_17122025_04_31_15_10765.jpg
/home/pi/Desktop/images/17122025/04/31/image_17122025_04_31_25_9836.jpg
/home/pi/Desktop/images/17122025/04/31/image_17122025_04_31_45_10543.jpg
/home/pi/Desktop/images/17122025/04/32/image_17122025_04_32_14_9631.jpg
/home/pi/Desktop/images/17122025/04/32/image_17122025_04_32_34_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":["1399742065","1399742064","1399742067","1399742066","1399742069"],"photo_ids_order":["1399742064","1399742065","1399742066","1399742067","1399742069"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ea5e8d17edc1557a40c4c38b114f66c.jpg","text":"TemporaryFile(/tmp/multipartBody3066177618160331020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942448145,"filename":"image_17122025_04_31_25_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f044118f37d62953d35b44795cc255aa.jpg","text":"TemporaryFile(/tmp/multipartBody760246738139901103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942448145,"filename":"image_17122025_04_31_15_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc635d9b7482b01f4707e52bfe04dcdf.jpg","text":"TemporaryFile(/tmp/multipartBody7471486495513921849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942448145,"filename":"image_17122025_04_32_14_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c12362c8513f59f6c42ff3ce2d1c9a7.jpg","text":"TemporaryFile(/tmp/multipartBody1816958028200641846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942448145,"filename":"image_17122025_04_31_45_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55ae0042bcc198efc7709b053e057b5f.jpg","text":"TemporaryFile(/tmp/multipartBody140834978560378753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942448145,"filename":"image_17122025_04_32_34_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742066","file1":"1399742065","file0":"1399742064","file4":"1399742069","file3":"1399742067"},"map_files_photo_id_array":[{"photo_id":"1399742066","filename":"file2"},{"photo_id":"1399742069","filename":"file4"},{"photo_id":"1399742065","filename":"file1"},{"photo_id":"1399742064","filename":"file0"},{"photo_id":"1399742067","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742065":["hashtag1","hashtag2"]},{"1399742064":["hashtag1","hashtag2"]},{"1399742067":["hashtag1","hashtag2"]},{"1399742066":["hashtag1","hashtag2"]},{"1399742069":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742065, 1399742064, 1399742067, 1399742066, 1399742069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 35.34757208824158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:33:42.666311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_23_2653.jpg', '/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_25_2662.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_07_3016.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_10_3797.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_13_2709.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_16_2623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_23_2653.jpg
/home/pi/Desktop/images/07112025/16/15/image_07112025_16_15_25_2662.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_07_3016.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_10_3797.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_13_2709.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_16_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":["1399742086","1399742082","1399742084","1399742078","1399742075","1399742080"],"photo_ids_order":["1399742075","1399742078","1399742080","1399742082","1399742084","1399742086"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af5eddc9ca2ed2d779f20dee9000b813.jpg","text":"TemporaryFile(/tmp/multipartBody2665561941698039341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942484525,"filename":"image_07112025_16_18_16_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/617c2b3325be62a95f970e028edebcce.jpg","text":"TemporaryFile(/tmp/multipartBody3538834328120023661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942484525,"filename":"image_07112025_16_18_10_3797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/133838b99100410c035c228216b47766.jpg","text":"TemporaryFile(/tmp/multipartBody2903234689062656854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942484525,"filename":"image_07112025_16_18_13_2709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b21bb114bff31fc7f9896cf442b91a37.jpg","text":"TemporaryFile(/tmp/multipartBody6851012207575836115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942484525,"filename":"image_07112025_16_15_25_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c5df649ba2371e4f3263b7b80e34d6b.jpg","text":"TemporaryFile(/tmp/multipartBody3935854845199526361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942484525,"filename":"image_07112025_16_15_23_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17b0b238898c1ec16294b7ba2914dc53.jpg","text":"TemporaryFile(/tmp/multipartBody6165053977067185566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942484525,"filename":"image_07112025_16_18_07_3016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742080","file1":"1399742078","file0":"1399742075","file4":"1399742084","file5":"1399742086","file3":"1399742082"},"map_files_photo_id_array":[{"photo_id":"1399742086","filename":"file5"},{"photo_id":"1399742080","filename":"file2"},{"photo_id":"1399742084","filename":"file4"},{"photo_id":"1399742078","filename":"file1"},{"photo_id":"1399742075","filename":"file0"},{"photo_id":"1399742082","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742086":["hashtag1","hashtag2"]},{"1399742082":["hashtag1","hashtag2"]},{"1399742084":["hashtag1","hashtag2"]},{"1399742078":["hashtag1","hashtag2"]},{"1399742075":["hashtag1","hashtag2"]},{"1399742080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742086, 1399742082, 1399742084, 1399742078, 1399742075, 1399742080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0063111782074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:34:22.630776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/32/image_17122025_04_32_44_9718.jpg', '/home/pi/Desktop/images/17122025/04/33/image_17122025_04_33_14_9683.jpg', '/home/pi/Desktop/images/17122025/04/33/image_17122025_04_33_25_10625.jpg', '/home/pi/Desktop/images/17122025/04/33/image_17122025_04_33_35_9666.jpg', '/home/pi/Desktop/images/17122025/04/33/image_17122025_04_33_45_10538.jpg', '/home/pi/Desktop/images/17122025/04/33/image_17122025_04_34_05_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/32/image_17122025_04_32_44_9718.jpg
/home/pi/Desktop/images/17122025/04/33/image_17122025_04_33_14_9683.jpg
/home/pi/Desktop/images/17122025/04/33/image_17122025_04_33_25_10625.jpg
/home/pi/Desktop/images/17122025/04/33/image_17122025_04_33_35_9666.jpg
/home/pi/Desktop/images/17122025/04/33/image_17122025_04_33_45_10538.jpg
/home/pi/Desktop/images/17122025/04/33/image_17122025_04_34_05_9848.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742091","1399742088","1399742096","1399742100","1399742093","1399742089"],"photo_ids_order":["1399742088","1399742089","1399742091","1399742093","1399742096","1399742100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bb3c94ba1b3e1ab970019c1fe95581a.jpg","text":"TemporaryFile(/tmp/multipartBody6838636536894293459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942523213,"filename":"image_17122025_04_33_25_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e0fa665215d4df5854e0b12551ccbb8.jpg","text":"TemporaryFile(/tmp/multipartBody1992445940626477986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942523213,"filename":"image_17122025_04_32_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcc8c7a1aa5f8b7156c21e57a6c027cb.jpg","text":"TemporaryFile(/tmp/multipartBody8117312626091603249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942523213,"filename":"image_17122025_04_33_45_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/346763a9c7c5d542db961286d5ba57a0.jpg","text":"TemporaryFile(/tmp/multipartBody6153979135111416419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942523213,"filename":"image_17122025_04_34_05_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81c256712cb764525c43283b5d1fe245.jpg","text":"TemporaryFile(/tmp/multipartBody7493921646679929410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942523213,"filename":"image_17122025_04_33_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77701ccdd32d1a3fc0bccf8d67d5f2c1.jpg","text":"TemporaryFile(/tmp/multipartBody5224108900764382274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942523213,"filename":"image_17122025_04_33_14_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742091","file1":"1399742089","file0":"1399742088","file4":"1399742096","file5":"1399742100","file3":"1399742093"},"map_files_photo_id_array":[{"photo_id":"1399742100","filename":"file5"},{"photo_id":"1399742091","filename":"file2"},{"photo_id":"1399742096","filename":"file4"},{"photo_id":"1399742089","filename":"file1"},{"photo_id":"1399742088","filename":"file0"},{"photo_id":"1399742093","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742091":["hashtag1","hashtag2"]},{"1399742088":["hashtag1","hashtag2"]},{"1399742096":["hashtag1","hashtag2"]},{"1399742100":["hashtag1","hashtag2"]},{"1399742093":["hashtag1","hashtag2"]},{"1399742089":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742091, 1399742088, 1399742096, 1399742100, 1399742093, 1399742089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.740782737731934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:35:03.199793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/34/image_17122025_04_34_14_9690.jpg', '/home/pi/Desktop/images/17122025/04/34/image_17122025_04_34_25_10691.jpg', '/home/pi/Desktop/images/17122025/04/34/image_17122025_04_34_35_10073.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/34/image_17122025_04_34_14_9690.jpg
/home/pi/Desktop/images/17122025/04/34/image_17122025_04_34_25_10691.jpg
/home/pi/Desktop/images/17122025/04/34/image_17122025_04_34_35_10073.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742113","1399742112","1399742109"],"photo_ids_order":["1399742109","1399742112","1399742113"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c24a27fbee9d92fba11192bd464d1c9.jpg","text":"TemporaryFile(/tmp/multipartBody4712778607079405431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942563728,"filename":"image_17122025_04_34_35_10073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/822f26dffa0faa75d4fb9dcfc89edf5d.jpg","text":"TemporaryFile(/tmp/multipartBody3404694150579735116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942563728,"filename":"image_17122025_04_34_25_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33632501d83a1806cb82e6e03d6f43de.jpg","text":"TemporaryFile(/tmp/multipartBody7170141703277060059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942563728,"filename":"image_17122025_04_34_14_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742113","file1":"1399742112","file0":"1399742109"},"map_files_photo_id_array":[{"photo_id":"1399742113","filename":"file2"},{"photo_id":"1399742112","filename":"file1"},{"photo_id":"1399742109","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742113":["hashtag1","hashtag2"]},{"1399742112":["hashtag1","hashtag2"]},{"1399742109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742113, 1399742112, 1399742109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.13655424118042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:35:32.578886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:35:42.573181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_19_3634.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_22_2672.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_25_2636.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_28_3725.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_31_2544.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_34_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_19_3634.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_22_2672.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_25_2636.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_28_3725.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_31_2544.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_34_2650.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5879559516906738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:36:03.325555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/34/image_17122025_04_34_55_9803.jpg', '/home/pi/Desktop/images/17122025/04/34/image_17122025_04_35_04_9739.jpg', '/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_15_10669.jpg', '/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_25_9582.jpg', '/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_34_9625.jpg', '/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_45_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/34/image_17122025_04_34_55_9803.jpg
/home/pi/Desktop/images/17122025/04/34/image_17122025_04_35_04_9739.jpg
/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_15_10669.jpg
/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_25_9582.jpg
/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_34_9625.jpg
/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_45_10596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742131","1399742134","1399742137","1399742133","1399742132","1399742135"],"photo_ids_order":["1399742131","1399742132","1399742133","1399742134","1399742135","1399742137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fcd0d570ca0a59f8d73eed4160accafb.jpg","text":"TemporaryFile(/tmp/multipartBody3726003155399408500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942623947,"filename":"image_17122025_04_34_55_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e11de3fdbd9df4e9140f138b36d8f26a.jpg","text":"TemporaryFile(/tmp/multipartBody130473584003183162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942623947,"filename":"image_17122025_04_35_25_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ed1446e8b93c7342a3a77c7ffe7f549.jpg","text":"TemporaryFile(/tmp/multipartBody5552107952688158686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942623947,"filename":"image_17122025_04_35_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/361415ad52279885d486c7122f7282b1.jpg","text":"TemporaryFile(/tmp/multipartBody5719196217341752526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942623947,"filename":"image_17122025_04_35_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f0a85e20af1ba81f424709ede348b5e.jpg","text":"TemporaryFile(/tmp/multipartBody3621231791462490023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942623947,"filename":"image_17122025_04_35_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6dde8e04805969ab7ad026125ac37fe2.jpg","text":"TemporaryFile(/tmp/multipartBody386350327027557328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942623947,"filename":"image_17122025_04_35_34_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742133","file1":"1399742132","file0":"1399742131","file4":"1399742135","file5":"1399742137","file3":"1399742134"},"map_files_photo_id_array":[{"photo_id":"1399742137","filename":"file5"},{"photo_id":"1399742133","filename":"file2"},{"photo_id":"1399742135","filename":"file4"},{"photo_id":"1399742132","filename":"file1"},{"photo_id":"1399742131","filename":"file0"},{"photo_id":"1399742134","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742131":["hashtag1","hashtag2"]},{"1399742134":["hashtag1","hashtag2"]},{"1399742137":["hashtag1","hashtag2"]},{"1399742133":["hashtag1","hashtag2"]},{"1399742132":["hashtag1","hashtag2"]},{"1399742135":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742131, 1399742134, 1399742137, 1399742133, 1399742132, 1399742135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45538353919983 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:36:42.746458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_19_3634.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_22_2672.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_25_2636.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_28_3725.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_31_2544.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_34_2650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_19_3634.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_22_2672.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_25_2636.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_28_3725.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_31_2544.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_34_2650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742143","1399742152","1399742146","1399742154","1399742148","1399742150"],"photo_ids_order":["1399742143","1399742146","1399742148","1399742150","1399742152","1399742154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32f6916bd902c0a961f78f574e959eb1.jpg","text":"TemporaryFile(/tmp/multipartBody7577344875900949284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942663337,"filename":"image_07112025_16_18_19_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8970715c7c55d6db58a1d377671c8da.jpg","text":"TemporaryFile(/tmp/multipartBody6487133172162811915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942663337,"filename":"image_07112025_16_18_31_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/408e1143c16d75aaf2676f98ddc08f35.jpg","text":"TemporaryFile(/tmp/multipartBody5052701919397052471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942663337,"filename":"image_07112025_16_18_22_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed4a6d6c6b1280630e7843e91e3a1963.jpg","text":"TemporaryFile(/tmp/multipartBody9170438299366124099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942663337,"filename":"image_07112025_16_18_34_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c87bc9285c09aa3b1b76c3e110f51642.jpg","text":"TemporaryFile(/tmp/multipartBody129006656004336400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942663337,"filename":"image_07112025_16_18_25_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f09a10d5e124bcf1c53c8143137719f.jpg","text":"TemporaryFile(/tmp/multipartBody2746858180577748716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942663337,"filename":"image_07112025_16_18_28_3725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742148","file1":"1399742146","file0":"1399742143","file4":"1399742152","file5":"1399742154","file3":"1399742150"},"map_files_photo_id_array":[{"photo_id":"1399742154","filename":"file5"},{"photo_id":"1399742148","filename":"file2"},{"photo_id":"1399742152","filename":"file4"},{"photo_id":"1399742146","filename":"file1"},{"photo_id":"1399742143","filename":"file0"},{"photo_id":"1399742150","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742143":["hashtag1","hashtag2"]},{"1399742152":["hashtag1","hashtag2"]},{"1399742146":["hashtag1","hashtag2"]},{"1399742154":["hashtag1","hashtag2"]},{"1399742148":["hashtag1","hashtag2"]},{"1399742150":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742143, 1399742152, 1399742146, 1399742154, 1399742148, 1399742150)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 46.093722105026245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:37:32.090345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:37:42.038967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_37_3701.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_40_2670.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_44_4077.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_50_5854.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_52_1661.jpg', '/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_56_4228.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_37_3701.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_40_2670.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_44_4077.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_50_5854.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_52_1661.jpg
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_56_4228.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742170","1399742172","1399742166","1399742160","1399742163","1399742168"],"photo_ids_order":["1399742160","1399742163","1399742166","1399742168","1399742170","1399742172"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e7df0e996bd655d05f508c9ce74ee59.jpg","text":"TemporaryFile(/tmp/multipartBody4003265581374595427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942722783,"filename":"image_07112025_16_18_52_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c57b4fe77abaa8d374082221e0f6e95.jpg","text":"TemporaryFile(/tmp/multipartBody242534955212583739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942722783,"filename":"image_07112025_16_18_56_4228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8783ca245c952080467db35983c0e736.jpg","text":"TemporaryFile(/tmp/multipartBody6964673278848458431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942722783,"filename":"image_07112025_16_18_44_4077.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/822f405a27ac344c3f1dcdfee5b5c47b.jpg","text":"TemporaryFile(/tmp/multipartBody6746368796876379879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942722783,"filename":"image_07112025_16_18_37_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf091b780995dd56bc58305adb7515ed.jpg","text":"TemporaryFile(/tmp/multipartBody1653364602117361478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942722783,"filename":"image_07112025_16_18_40_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71efb4ba620ee07a4f12ac6e2b544472.jpg","text":"TemporaryFile(/tmp/multipartBody7656097606296624966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942722783,"filename":"image_07112025_16_18_50_5854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742166","file1":"1399742163","file0":"1399742160","file4":"1399742170","file5":"1399742172","file3":"1399742168"},"map_files_photo_id_array":[{"photo_id":"1399742172","filename":"file5"},{"photo_id":"1399742166","filename":"file2"},{"photo_id":"1399742170","filename":"file4"},{"photo_id":"1399742163","filename":"file1"},{"photo_id":"1399742160","filename":"file0"},{"photo_id":"1399742168","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742170":["hashtag1","hashtag2"]},{"1399742172":["hashtag1","hashtag2"]},{"1399742166":["hashtag1","hashtag2"]},{"1399742160":["hashtag1","hashtag2"]},{"1399742163":["hashtag1","hashtag2"]},{"1399742168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742170, 1399742172, 1399742166, 1399742160, 1399742163, 1399742168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17246389389038 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:38:23.719687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_54_9653.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_15_10702.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_25_9667.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_34_9685.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_45_10712.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_55_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_54_9653.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_15_10702.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_25_9667.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_34_9685.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_45_10712.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_55_9625.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.48093295097351074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:38:36.391952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:38:42.176768
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_58_1800.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_19_21497.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_22_3053.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_24_1677.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_26_1637.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_43_17065.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/18/image_07112025_16_18_58_1800.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_19_21497.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_22_3053.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_24_1677.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_26_1637.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_43_17065.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":["1399742197","1399742191","1399742193","1399742195","1399742183","1399742189"],"photo_ids_order":["1399742183","1399742189","1399742191","1399742193","1399742195","1399742197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09303deffa08f4679076aa9a0a198616.jpg","text":"TemporaryFile(/tmp/multipartBody8068804460455957143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942782916,"filename":"image_07112025_16_19_43_17065.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d33bf280829536f0ba3fbb087cd5513.jpg","text":"TemporaryFile(/tmp/multipartBody5391356783798845576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942782916,"filename":"image_07112025_16_19_22_3053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24d2954eab9a32211f0b5848f7bf8201.jpg","text":"TemporaryFile(/tmp/multipartBody5622631003184556497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942782916,"filename":"image_07112025_16_19_24_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b06b37fcea495ce9b9ca5de5675ffb24.jpg","text":"TemporaryFile(/tmp/multipartBody478322335085009711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942782916,"filename":"image_07112025_16_19_26_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1a815c10c3f141d2446cc6b710bfd0f.jpg","text":"TemporaryFile(/tmp/multipartBody7064925070259481070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942782916,"filename":"image_07112025_16_18_58_1800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e67333b1728d62a90f86ce748f54784e.jpg","text":"TemporaryFile(/tmp/multipartBody4515545638390412210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942782916,"filename":"image_07112025_16_19_19_21497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742191","file1":"1399742189","file0":"1399742183","file4":"1399742195","file5":"1399742197","file3":"1399742193"},"map_files_photo_id_array":[{"photo_id":"1399742197","filename":"file5"},{"photo_id":"1399742191","filename":"file2"},{"photo_id":"1399742195","filename":"file4"},{"photo_id":"1399742189","filename":"file1"},{"photo_id":"1399742183","filename":"file0"},{"photo_id":"1399742193","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742197":["hashtag1","hashtag2"]},{"1399742191":["hashtag1","hashtag2"]},{"1399742193":["hashtag1","hashtag2"]},{"1399742195":["hashtag1","hashtag2"]},{"1399742183":["hashtag1","hashtag2"]},{"1399742189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742197, 1399742191, 1399742193, 1399742195, 1399742183, 1399742189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.45442843437195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:39:32.374633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:39:44.636331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_44_1677.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_46_1674.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_51_5449.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_53_1526.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_55_1685.jpg', '/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_56_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_44_1677.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_46_1674.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_51_5449.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_53_1526.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_55_1685.jpg
/home/pi/Desktop/images/07112025/16/19/image_07112025_16_19_56_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":["1399742206","1399742208","1399742213","1399742216","1399742210","1399742204"],"photo_ids_order":["1399742204","1399742206","1399742208","1399742210","1399742213","1399742216"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f15de60c5f056968b14e3494b0fe5180.jpg","text":"TemporaryFile(/tmp/multipartBody9030321765807047727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942847510,"filename":"image_07112025_16_19_46_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d4dc3933b8b538d22ef4ccff226d01c.jpg","text":"TemporaryFile(/tmp/multipartBody6922697987582937410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942847510,"filename":"image_07112025_16_19_51_5449.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5f162a3bb60ec3253cf9c5c91266b4e.jpg","text":"TemporaryFile(/tmp/multipartBody1398701116250923692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942847510,"filename":"image_07112025_16_19_55_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f9624dc69c74a446d4290c175590587.jpg","text":"TemporaryFile(/tmp/multipartBody5198363702484319785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942847510,"filename":"image_07112025_16_19_56_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7d21153137b2bf18225d33847a88668.jpg","text":"TemporaryFile(/tmp/multipartBody2314466253657607500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942847510,"filename":"image_07112025_16_19_53_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e102cae0a2d8d51730ed4750391c90f7.jpg","text":"TemporaryFile(/tmp/multipartBody4139758427869223714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942847510,"filename":"image_07112025_16_19_44_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742208","file1":"1399742206","file0":"1399742204","file4":"1399742213","file5":"1399742216","file3":"1399742210"},"map_files_photo_id_array":[{"photo_id":"1399742216","filename":"file5"},{"photo_id":"1399742208","filename":"file2"},{"photo_id":"1399742213","filename":"file4"},{"photo_id":"1399742206","filename":"file1"},{"photo_id":"1399742204","filename":"file0"},{"photo_id":"1399742210","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742206":["hashtag1","hashtag2"]},{"1399742208":["hashtag1","hashtag2"]},{"1399742213":["hashtag1","hashtag2"]},{"1399742216":["hashtag1","hashtag2"]},{"1399742210":["hashtag1","hashtag2"]},{"1399742204":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742206, 1399742208, 1399742213, 1399742216, 1399742210, 1399742204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.34778118133545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:40:31.822037
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:40:41.836060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_13_9432.jpg', '/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_15_1925.jpg', '/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_17_1498.jpg', '/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_18_1628.jpg', '/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_28_10188.jpg', '/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_43_14648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_13_9432.jpg
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_15_1925.jpg
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_17_1498.jpg
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_18_1628.jpg
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_28_10188.jpg
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_43_14648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742236","1399742229","1399742238","1399742226","1399742231","1399742234"],"photo_ids_order":["1399742226","1399742229","1399742231","1399742234","1399742236","1399742238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32be7d25ba14949ba8275a897bff84b0.jpg","text":"TemporaryFile(/tmp/multipartBody5902323373199111022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942902574,"filename":"image_07112025_16_20_28_10188.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/069faf8979c121fd525be463d71a64ff.jpg","text":"TemporaryFile(/tmp/multipartBody4582476969200354087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942902574,"filename":"image_07112025_16_20_15_1925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9778cfe8d48764294bf28245752f0808.jpg","text":"TemporaryFile(/tmp/multipartBody1323356614930267827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942902574,"filename":"image_07112025_16_20_43_14648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e8daa85dd58d93005db456ea0fc8740.jpg","text":"TemporaryFile(/tmp/multipartBody6271704568019960833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942902574,"filename":"image_07112025_16_20_13_9432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0af41477229b28ea26476883fce38733.jpg","text":"TemporaryFile(/tmp/multipartBody577507842829580902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942902574,"filename":"image_07112025_16_20_17_1498.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61f893e09741da7ebd6cfc4f2743d000.jpg","text":"TemporaryFile(/tmp/multipartBody3407631294272370332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942902574,"filename":"image_07112025_16_20_18_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742231","file1":"1399742229","file0":"1399742226","file4":"1399742236","file5":"1399742238","file3":"1399742234"},"map_files_photo_id_array":[{"photo_id":"1399742238","filename":"file5"},{"photo_id":"1399742231","filename":"file2"},{"photo_id":"1399742236","filename":"file4"},{"photo_id":"1399742229","filename":"file1"},{"photo_id":"1399742226","filename":"file0"},{"photo_id":"1399742234","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742236":["hashtag1","hashtag2"]},{"1399742229":["hashtag1","hashtag2"]},{"1399742238":["hashtag1","hashtag2"]},{"1399742226":["hashtag1","hashtag2"]},{"1399742231":["hashtag1","hashtag2"]},{"1399742234":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742236, 1399742229, 1399742238, 1399742226, 1399742231, 1399742234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09493541717529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:41:22.030531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_54_9653.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_15_10702.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_25_9667.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_34_9685.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_45_10712.jpg', '/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_55_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/35/image_17122025_04_35_54_9653.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_15_10702.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_25_9667.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_34_9685.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_45_10712.jpg
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_36_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":["1399742239","1399742247","1399742241","1399742250","1399742244","1399742246"],"photo_ids_order":["1399742239","1399742241","1399742244","1399742246","1399742247","1399742250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f2c46b2ef422d3c6e6747223290a49a.jpg","text":"TemporaryFile(/tmp/multipartBody9053151154752186518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942942649,"filename":"image_17122025_04_35_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae97f9bb83c827cf6f36a047730d5101.jpg","text":"TemporaryFile(/tmp/multipartBody3253980919923225521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942942649,"filename":"image_17122025_04_36_45_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f74a575a991108249298803aaf5bc6b.jpg","text":"TemporaryFile(/tmp/multipartBody3886815082232180213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942942649,"filename":"image_17122025_04_36_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3cd625d1571140a6fbeff1de9115e900.jpg","text":"TemporaryFile(/tmp/multipartBody3966831594311524969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942942649,"filename":"image_17122025_04_36_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d97a4758b27c73f1059e703cdec3d0df.jpg","text":"TemporaryFile(/tmp/multipartBody5057343003122119248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942942649,"filename":"image_17122025_04_36_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b78d310738e2cc14a6db2ba57ab8456.jpg","text":"TemporaryFile(/tmp/multipartBody8157257910166576711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942942649,"filename":"image_17122025_04_36_34_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742244","file1":"1399742241","file0":"1399742239","file4":"1399742247","file5":"1399742250","file3":"1399742246"},"map_files_photo_id_array":[{"photo_id":"1399742250","filename":"file5"},{"photo_id":"1399742244","filename":"file2"},{"photo_id":"1399742247","filename":"file4"},{"photo_id":"1399742241","filename":"file1"},{"photo_id":"1399742239","filename":"file0"},{"photo_id":"1399742246","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742239":["hashtag1","hashtag2"]},{"1399742247":["hashtag1","hashtag2"]},{"1399742241":["hashtag1","hashtag2"]},{"1399742250":["hashtag1","hashtag2"]},{"1399742244":["hashtag1","hashtag2"]},{"1399742246":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742239, 1399742247, 1399742241, 1399742250, 1399742244, 1399742246)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94420337677002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:42:02.676300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/36/image_17122025_04_37_04_9663.jpg', '/home/pi/Desktop/images/17122025/04/37/image_17122025_04_37_15_10668.jpg', '/home/pi/Desktop/images/17122025/04/37/image_17122025_04_37_55_9631.jpg', '/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_14_9690.jpg', '/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_25_10789.jpg', '/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_34_9376.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/36/image_17122025_04_37_04_9663.jpg
/home/pi/Desktop/images/17122025/04/37/image_17122025_04_37_15_10668.jpg
/home/pi/Desktop/images/17122025/04/37/image_17122025_04_37_55_9631.jpg
/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_14_9690.jpg
/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_25_10789.jpg
/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_34_9376.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742260","1399742263","1399742262","1399742264","1399742258","1399742261"],"photo_ids_order":["1399742258","1399742260","1399742261","1399742262","1399742263","1399742264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7f4855fb2d1061a09510094593d8af0.jpg","text":"TemporaryFile(/tmp/multipartBody1184567132479558744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942983284,"filename":"image_17122025_04_37_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9799180e6854506b7544b5f1e20a1c9.jpg","text":"TemporaryFile(/tmp/multipartBody8395500275861809662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942983284,"filename":"image_17122025_04_38_25_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/090b8bd820b4fe4d7fd71bdfbebd2b08.jpg","text":"TemporaryFile(/tmp/multipartBody4109954360768952095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942983284,"filename":"image_17122025_04_38_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca94fd86452f736685b79ca3d8069e07.jpg","text":"TemporaryFile(/tmp/multipartBody3326642424833210634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942983284,"filename":"image_17122025_04_38_34_9376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd2ffb4184638ef247b031d954b859c9.jpg","text":"TemporaryFile(/tmp/multipartBody1985924218300344620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942983284,"filename":"image_17122025_04_37_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee6a16b583ed5bb63d68943c650fcbbe.jpg","text":"TemporaryFile(/tmp/multipartBody5821365389522816424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765942983284,"filename":"image_17122025_04_37_55_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742261","file1":"1399742260","file0":"1399742258","file4":"1399742263","file5":"1399742264","file3":"1399742262"},"map_files_photo_id_array":[{"photo_id":"1399742264","filename":"file5"},{"photo_id":"1399742261","filename":"file2"},{"photo_id":"1399742263","filename":"file4"},{"photo_id":"1399742260","filename":"file1"},{"photo_id":"1399742258","filename":"file0"},{"photo_id":"1399742262","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742260":["hashtag1","hashtag2"]},{"1399742263":["hashtag1","hashtag2"]},{"1399742262":["hashtag1","hashtag2"]},{"1399742264":["hashtag1","hashtag2"]},{"1399742258":["hashtag1","hashtag2"]},{"1399742261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742260, 1399742263, 1399742262, 1399742264, 1399742258, 1399742261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45346760749817 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:42:42.199667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_45_1620.jpg', '/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_46_1528.jpg', '/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_48_1632.jpg', '/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_50_2027.jpg', '/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_57_6850.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_06_8838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_45_1620.jpg
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_46_1528.jpg
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_48_1632.jpg
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_50_2027.jpg
/home/pi/Desktop/images/07112025/16/20/image_07112025_16_20_57_6850.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_06_8838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742269","1399742283","1399742286","1399742280","1399742277","1399742273"],"photo_ids_order":["1399742269","1399742273","1399742277","1399742280","1399742283","1399742286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a151a899001e9185bbe94c816f118993.jpg","text":"TemporaryFile(/tmp/multipartBody3726077746780597742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943022905,"filename":"image_07112025_16_20_45_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72313a1313ed6a44c618685b8000892e.jpg","text":"TemporaryFile(/tmp/multipartBody5544749349742145755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943022905,"filename":"image_07112025_16_20_57_6850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b982f54c88252880f3949f5758bcd8a5.jpg","text":"TemporaryFile(/tmp/multipartBody3281260582493529104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943022905,"filename":"image_07112025_16_21_06_8838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75fb176127aa1633033bc952f5ae1b8e.jpg","text":"TemporaryFile(/tmp/multipartBody9078036139425871205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943022905,"filename":"image_07112025_16_20_50_2027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21f8bdc5afbd875f6f7c9f0a5c2881c6.jpg","text":"TemporaryFile(/tmp/multipartBody2419135407609409507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943022905,"filename":"image_07112025_16_20_48_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f95606c6a551abb29fb8aa3eec0e51eb.jpg","text":"TemporaryFile(/tmp/multipartBody6727636863867216444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943022905,"filename":"image_07112025_16_20_46_1528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742277","file1":"1399742273","file0":"1399742269","file4":"1399742283","file5":"1399742286","file3":"1399742280"},"map_files_photo_id_array":[{"photo_id":"1399742286","filename":"file5"},{"photo_id":"1399742277","filename":"file2"},{"photo_id":"1399742283","filename":"file4"},{"photo_id":"1399742273","filename":"file1"},{"photo_id":"1399742269","filename":"file0"},{"photo_id":"1399742280","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742269":["hashtag1","hashtag2"]},{"1399742283":["hashtag1","hashtag2"]},{"1399742286":["hashtag1","hashtag2"]},{"1399742280":["hashtag1","hashtag2"]},{"1399742277":["hashtag1","hashtag2"]},{"1399742273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742269, 1399742283, 1399742286, 1399742280, 1399742277, 1399742273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69490456581116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:43:22.430957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_45_10697.jpg', '/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_55_9745.jpg', '/home/pi/Desktop/images/17122025/04/39/image_17122025_04_39_35_9580.jpg', '/home/pi/Desktop/images/17122025/04/39/image_17122025_04_39_44_9920.jpg', '/home/pi/Desktop/images/17122025/04/39/image_17122025_04_40_05_10609.jpg', '/home/pi/Desktop/images/17122025/04/40/image_17122025_04_40_14_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_45_10697.jpg
/home/pi/Desktop/images/17122025/04/38/image_17122025_04_38_55_9745.jpg
/home/pi/Desktop/images/17122025/04/39/image_17122025_04_39_35_9580.jpg
/home/pi/Desktop/images/17122025/04/39/image_17122025_04_39_44_9920.jpg
/home/pi/Desktop/images/17122025/04/39/image_17122025_04_40_05_10609.jpg
/home/pi/Desktop/images/17122025/04/40/image_17122025_04_40_14_9587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742296","1399742290","1399742298","1399742292","1399742294","1399742299"],"photo_ids_order":["1399742290","1399742292","1399742294","1399742296","1399742298","1399742299"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3917a5eb09d81cfb4bd91447174dce13.jpg","text":"TemporaryFile(/tmp/multipartBody7818136244024577105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943063047,"filename":"image_17122025_04_39_44_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5d3ade6eeabf8efc14a3ae11ddbdf90.jpg","text":"TemporaryFile(/tmp/multipartBody8640987339760897661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943063047,"filename":"image_17122025_04_38_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/263a88b6d49026a7a8c0214288b9d077.jpg","text":"TemporaryFile(/tmp/multipartBody4659290109426942512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943063047,"filename":"image_17122025_04_40_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a85b7516dbdae1edc9a15e82d4740ae6.jpg","text":"TemporaryFile(/tmp/multipartBody4659034239620847849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943063047,"filename":"image_17122025_04_38_55_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55e49d14611aa2c50119557aa9151026.jpg","text":"TemporaryFile(/tmp/multipartBody6634226136886650394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943063047,"filename":"image_17122025_04_39_35_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aac1c32ae9e7c9021a41ca5ef42eddbe.jpg","text":"TemporaryFile(/tmp/multipartBody3192248804946698459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943063047,"filename":"image_17122025_04_40_14_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742294","file1":"1399742292","file0":"1399742290","file4":"1399742298","file5":"1399742299","file3":"1399742296"},"map_files_photo_id_array":[{"photo_id":"1399742299","filename":"file5"},{"photo_id":"1399742294","filename":"file2"},{"photo_id":"1399742298","filename":"file4"},{"photo_id":"1399742292","filename":"file1"},{"photo_id":"1399742290","filename":"file0"},{"photo_id":"1399742296","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742296":["hashtag1","hashtag2"]},{"1399742290":["hashtag1","hashtag2"]},{"1399742298":["hashtag1","hashtag2"]},{"1399742292":["hashtag1","hashtag2"]},{"1399742294":["hashtag1","hashtag2"]},{"1399742299":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742296, 1399742290, 1399742298, 1399742292, 1399742294, 1399742299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66042351722717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:44:03.318929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/40/image_17122025_04_40_25_10844.jpg', '/home/pi/Desktop/images/17122025/04/40/image_17122025_04_40_35_9522.jpg', '/home/pi/Desktop/images/17122025/04/40/image_17122025_04_40_55_10214.jpg', '/home/pi/Desktop/images/17122025/04/40/image_17122025_04_41_04_9653.jpg', '/home/pi/Desktop/images/17122025/04/41/image_17122025_04_41_34_10067.jpg', '/home/pi/Desktop/images/17122025/04/41/image_17122025_04_41_45_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/40/image_17122025_04_40_25_10844.jpg
/home/pi/Desktop/images/17122025/04/40/image_17122025_04_40_35_9522.jpg
/home/pi/Desktop/images/17122025/04/40/image_17122025_04_40_55_10214.jpg
/home/pi/Desktop/images/17122025/04/40/image_17122025_04_41_04_9653.jpg
/home/pi/Desktop/images/17122025/04/41/image_17122025_04_41_34_10067.jpg
/home/pi/Desktop/images/17122025/04/41/image_17122025_04_41_45_10629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742306","1399742311","1399742308","1399742319","1399742313","1399742315"],"photo_ids_order":["1399742306","1399742308","1399742311","1399742313","1399742315","1399742319"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfe2445e7ddacbb55408558dcbc0113f.jpg","text":"TemporaryFile(/tmp/multipartBody8659128341906714027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943104014,"filename":"image_17122025_04_40_25_10844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2774755532e672d222f082a69f8bba2a.jpg","text":"TemporaryFile(/tmp/multipartBody8387484075425453801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943104014,"filename":"image_17122025_04_40_55_10214.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4068604512fc0fcbccec8bb1e09845a9.jpg","text":"TemporaryFile(/tmp/multipartBody7177946954185257707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943104014,"filename":"image_17122025_04_40_35_9522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80b692890d8faf0be8360a532043d121.jpg","text":"TemporaryFile(/tmp/multipartBody1497214156928115130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943104014,"filename":"image_17122025_04_41_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ba94b6cfaa3741af4b66fb2ad4254b3.jpg","text":"TemporaryFile(/tmp/multipartBody2532345704449660598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943104014,"filename":"image_17122025_04_41_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c62f238851b007fb6e862784b1b9fd81.jpg","text":"TemporaryFile(/tmp/multipartBody5252289957178070863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943104014,"filename":"image_17122025_04_41_34_10067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742311","file1":"1399742308","file0":"1399742306","file4":"1399742315","file5":"1399742319","file3":"1399742313"},"map_files_photo_id_array":[{"photo_id":"1399742319","filename":"file5"},{"photo_id":"1399742311","filename":"file2"},{"photo_id":"1399742315","filename":"file4"},{"photo_id":"1399742308","filename":"file1"},{"photo_id":"1399742306","filename":"file0"},{"photo_id":"1399742313","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742306":["hashtag1","hashtag2"]},{"1399742311":["hashtag1","hashtag2"]},{"1399742308":["hashtag1","hashtag2"]},{"1399742319":["hashtag1","hashtag2"]},{"1399742313":["hashtag1","hashtag2"]},{"1399742315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742306, 1399742311, 1399742308, 1399742319, 1399742313, 1399742315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4323091506958 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:44:42.631522
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_11_5906.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_13_1748.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_15_1563.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_16_1695.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_24_8013.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_26_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_11_5906.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_13_1748.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_15_1563.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_16_1695.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_24_8013.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_26_1577.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6051807403564453 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:45:02.510084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/41/image_17122025_04_42_04_9711.jpg', '/home/pi/Desktop/images/17122025/04/42/image_17122025_04_42_14_9739.jpg', '/home/pi/Desktop/images/17122025/04/42/image_17122025_04_42_25_10655.jpg', '/home/pi/Desktop/images/17122025/04/42/image_17122025_04_42_34_9547.jpg', '/home/pi/Desktop/images/17122025/04/42/image_17122025_04_43_04_9590.jpg', '/home/pi/Desktop/images/17122025/04/43/image_17122025_04_43_25_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/41/image_17122025_04_42_04_9711.jpg
/home/pi/Desktop/images/17122025/04/42/image_17122025_04_42_14_9739.jpg
/home/pi/Desktop/images/17122025/04/42/image_17122025_04_42_25_10655.jpg
/home/pi/Desktop/images/17122025/04/42/image_17122025_04_42_34_9547.jpg
/home/pi/Desktop/images/17122025/04/42/image_17122025_04_43_04_9590.jpg
/home/pi/Desktop/images/17122025/04/43/image_17122025_04_43_25_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742338","1399742335","1399742340","1399742337","1399742339","1399742342"],"photo_ids_order":["1399742335","1399742337","1399742338","1399742339","1399742340","1399742342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2aa58c56cfb4564b8b1d9d0ec783d2e9.jpg","text":"TemporaryFile(/tmp/multipartBody752234668554012167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943163172,"filename":"image_17122025_04_42_25_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0042fd5261b8d339f34d1e97860c55f.jpg","text":"TemporaryFile(/tmp/multipartBody8827773019619740766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943163172,"filename":"image_17122025_04_42_04_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d92f1600c41c585935a895d97b865e4.jpg","text":"TemporaryFile(/tmp/multipartBody2730151285600864509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943163172,"filename":"image_17122025_04_43_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/212b1043979fd5b221dcbf9f812ce502.jpg","text":"TemporaryFile(/tmp/multipartBody2356863253691700935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943163172,"filename":"image_17122025_04_42_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/debbe0e004e47b292bacedfdf6bb8a19.jpg","text":"TemporaryFile(/tmp/multipartBody1663284384357992541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943163172,"filename":"image_17122025_04_42_34_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bebb51efd4b59c908060a88fb900df3d.jpg","text":"TemporaryFile(/tmp/multipartBody5396335684630753554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943163172,"filename":"image_17122025_04_43_25_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742338","file1":"1399742337","file0":"1399742335","file4":"1399742340","file5":"1399742342","file3":"1399742339"},"map_files_photo_id_array":[{"photo_id":"1399742342","filename":"file5"},{"photo_id":"1399742338","filename":"file2"},{"photo_id":"1399742340","filename":"file4"},{"photo_id":"1399742337","filename":"file1"},{"photo_id":"1399742335","filename":"file0"},{"photo_id":"1399742339","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742338":["hashtag1","hashtag2"]},{"1399742335":["hashtag1","hashtag2"]},{"1399742340":["hashtag1","hashtag2"]},{"1399742337":["hashtag1","hashtag2"]},{"1399742339":["hashtag1","hashtag2"]},{"1399742342":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742338, 1399742335, 1399742340, 1399742337, 1399742339, 1399742342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29197335243225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:45:41.816462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_11_5906.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_13_1748.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_15_1563.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_16_1695.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_24_8013.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_26_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_11_5906.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_13_1748.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_15_1563.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_16_1695.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_24_8013.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_26_1577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742359","1399742350","1399742347","1399742352","1399742355","1399742357"],"photo_ids_order":["1399742347","1399742350","1399742352","1399742355","1399742357","1399742359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc2faa30579e9f918606530eb7f0d431.jpg","text":"TemporaryFile(/tmp/multipartBody5299137940949388951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943202407,"filename":"image_07112025_16_21_26_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fea04db80abb44ef073b802c1dd1761a.jpg","text":"TemporaryFile(/tmp/multipartBody5271462738741626596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943202407,"filename":"image_07112025_16_21_13_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f38df9bdb72161b49a3167974de6a1aa.jpg","text":"TemporaryFile(/tmp/multipartBody30732405466334185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943202407,"filename":"image_07112025_16_21_11_5906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23bc5fe8dec79b708e3a9b79a40a1cd7.jpg","text":"TemporaryFile(/tmp/multipartBody5190407451684815597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943202407,"filename":"image_07112025_16_21_15_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81c72532e4a85938e52087276db2ffaa.jpg","text":"TemporaryFile(/tmp/multipartBody7044563372494765536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943202407,"filename":"image_07112025_16_21_16_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b427dedfb4156f87ecdc02d8046e511b.jpg","text":"TemporaryFile(/tmp/multipartBody4121208039669985986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943202407,"filename":"image_07112025_16_21_24_8013.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742352","file1":"1399742350","file0":"1399742347","file4":"1399742357","file5":"1399742359","file3":"1399742355"},"map_files_photo_id_array":[{"photo_id":"1399742359","filename":"file5"},{"photo_id":"1399742352","filename":"file2"},{"photo_id":"1399742357","filename":"file4"},{"photo_id":"1399742350","filename":"file1"},{"photo_id":"1399742347","filename":"file0"},{"photo_id":"1399742355","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742359":["hashtag1","hashtag2"]},{"1399742350":["hashtag1","hashtag2"]},{"1399742347":["hashtag1","hashtag2"]},{"1399742352":["hashtag1","hashtag2"]},{"1399742355":["hashtag1","hashtag2"]},{"1399742357":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742359, 1399742350, 1399742347, 1399742352, 1399742355, 1399742357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25779318809509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:46:22.094249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/43/image_17122025_04_43_45_10739.jpg', '/home/pi/Desktop/images/17122025/04/43/image_17122025_04_43_54_9619.jpg', '/home/pi/Desktop/images/17122025/04/43/image_17122025_04_44_04_9741.jpg', '/home/pi/Desktop/images/17122025/04/44/image_17122025_04_44_15_10729.jpg', '/home/pi/Desktop/images/17122025/04/44/image_17122025_04_44_34_9697.jpg', '/home/pi/Desktop/images/17122025/04/44/image_17122025_04_44_55_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/43/image_17122025_04_43_45_10739.jpg
/home/pi/Desktop/images/17122025/04/43/image_17122025_04_43_54_9619.jpg
/home/pi/Desktop/images/17122025/04/43/image_17122025_04_44_04_9741.jpg
/home/pi/Desktop/images/17122025/04/44/image_17122025_04_44_15_10729.jpg
/home/pi/Desktop/images/17122025/04/44/image_17122025_04_44_34_9697.jpg
/home/pi/Desktop/images/17122025/04/44/image_17122025_04_44_55_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":["1399742371","1399742365","1399742367","1399742361","1399742363","1399742360"],"photo_ids_order":["1399742360","1399742361","1399742363","1399742365","1399742367","1399742371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df1415886c1f26910808878b167816cd.jpg","text":"TemporaryFile(/tmp/multipartBody2921412503905293250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943242673,"filename":"image_17122025_04_44_55_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/263bb73dc4d6f4ced77b9458b8f991d0.jpg","text":"TemporaryFile(/tmp/multipartBody1853551505439073760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943242673,"filename":"image_17122025_04_44_15_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e89871f083bd51c75f56e30ee1d8a4e.jpg","text":"TemporaryFile(/tmp/multipartBody1255910734447204494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943242673,"filename":"image_17122025_04_44_34_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be4fc8d317fc63114abd8fc405b0bd88.jpg","text":"TemporaryFile(/tmp/multipartBody3288401920683313926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943242673,"filename":"image_17122025_04_43_54_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/416164cf261ece81a56ada69be2098a3.jpg","text":"TemporaryFile(/tmp/multipartBody3757005066486757481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943242673,"filename":"image_17122025_04_44_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a85a3ff822ac38fe61bc1332baece46.jpg","text":"TemporaryFile(/tmp/multipartBody4402938962360939284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943242673,"filename":"image_17122025_04_43_45_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742363","file1":"1399742361","file0":"1399742360","file4":"1399742367","file5":"1399742371","file3":"1399742365"},"map_files_photo_id_array":[{"photo_id":"1399742371","filename":"file5"},{"photo_id":"1399742363","filename":"file2"},{"photo_id":"1399742367","filename":"file4"},{"photo_id":"1399742361","filename":"file1"},{"photo_id":"1399742360","filename":"file0"},{"photo_id":"1399742365","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742371":["hashtag1","hashtag2"]},{"1399742365":["hashtag1","hashtag2"]},{"1399742367":["hashtag1","hashtag2"]},{"1399742361":["hashtag1","hashtag2"]},{"1399742363":["hashtag1","hashtag2"]},{"1399742360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742371, 1399742365, 1399742367, 1399742361, 1399742363, 1399742360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.04449152946472 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:47:03.103798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/45/image_17122025_04_45_25_9764.jpg', '/home/pi/Desktop/images/17122025/04/45/image_17122025_04_45_35_9755.jpg', '/home/pi/Desktop/images/17122025/04/45/image_17122025_04_45_44_9595.jpg', '/home/pi/Desktop/images/17122025/04/45/image_17122025_04_45_55_10764.jpg', '/home/pi/Desktop/images/17122025/04/45/image_17122025_04_46_05_9645.jpg', '/home/pi/Desktop/images/17122025/04/46/image_17122025_04_46_14_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/45/image_17122025_04_45_25_9764.jpg
/home/pi/Desktop/images/17122025/04/45/image_17122025_04_45_35_9755.jpg
/home/pi/Desktop/images/17122025/04/45/image_17122025_04_45_44_9595.jpg
/home/pi/Desktop/images/17122025/04/45/image_17122025_04_45_55_10764.jpg
/home/pi/Desktop/images/17122025/04/45/image_17122025_04_46_05_9645.jpg
/home/pi/Desktop/images/17122025/04/46/image_17122025_04_46_14_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":["1399742389","1399742385","1399742381","1399742384","1399742387","1399742386"],"photo_ids_order":["1399742381","1399742384","1399742385","1399742386","1399742387","1399742389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c88f928f3ca5ddef8976848a79dfca47.jpg","text":"TemporaryFile(/tmp/multipartBody965690740197895901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943283744,"filename":"image_17122025_04_46_14_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7a4b2330841bf0da98158c6c6c4f07c.jpg","text":"TemporaryFile(/tmp/multipartBody7681289046520117899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943283744,"filename":"image_17122025_04_45_44_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44495a74dfb244b33264bc500cdc1bd5.jpg","text":"TemporaryFile(/tmp/multipartBody4774885771457335383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943283744,"filename":"image_17122025_04_45_25_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c55e7541fe9faceaa07972dd1584e15a.jpg","text":"TemporaryFile(/tmp/multipartBody5516504664951107863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943283744,"filename":"image_17122025_04_45_35_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5f887d8543143dd494e146d830fe20f.jpg","text":"TemporaryFile(/tmp/multipartBody2583261105371153202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943283744,"filename":"image_17122025_04_46_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2511e63b04ceb9d601f48b1837d335e.jpg","text":"TemporaryFile(/tmp/multipartBody7373514320299854759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943283744,"filename":"image_17122025_04_45_55_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742385","file1":"1399742384","file0":"1399742381","file4":"1399742387","file5":"1399742389","file3":"1399742386"},"map_files_photo_id_array":[{"photo_id":"1399742389","filename":"file5"},{"photo_id":"1399742385","filename":"file2"},{"photo_id":"1399742387","filename":"file4"},{"photo_id":"1399742384","filename":"file1"},{"photo_id":"1399742381","filename":"file0"},{"photo_id":"1399742386","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742389":["hashtag1","hashtag2"]},{"1399742385":["hashtag1","hashtag2"]},{"1399742381":["hashtag1","hashtag2"]},{"1399742384":["hashtag1","hashtag2"]},{"1399742387":["hashtag1","hashtag2"]},{"1399742386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742389, 1399742385, 1399742381, 1399742384, 1399742387, 1399742386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.488810539245605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:47:42.319464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_28_1536.jpg', '/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_29_1593.jpg', '/home/pi/Desktop/images/07112025/16/22/image_07112025_16_22_08_38999.jpg', '/home/pi/Desktop/images/07112025/16/22/image_07112025_16_22_49_41071.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_04_15111.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_06_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_28_1536.jpg
/home/pi/Desktop/images/07112025/16/21/image_07112025_16_21_29_1593.jpg
/home/pi/Desktop/images/07112025/16/22/image_07112025_16_22_08_38999.jpg
/home/pi/Desktop/images/07112025/16/22/image_07112025_16_22_49_41071.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_04_15111.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_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":["1399742405","1399742395","1399742397","1399742394","1399742399","1399742402"],"photo_ids_order":["1399742394","1399742395","1399742397","1399742399","1399742402","1399742405"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39d269e37ffa27d91ed38eadf9e669a9.jpg","text":"TemporaryFile(/tmp/multipartBody8351186548680477061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943323029,"filename":"image_07112025_16_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/2025/12/17/f4ce5a54302246ab275ccd30bc8e73f7.jpg","text":"TemporaryFile(/tmp/multipartBody6734487896628788658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943323029,"filename":"image_07112025_16_21_29_1593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d775c7fcd3b2d00686dd495ea9aeefcf.jpg","text":"TemporaryFile(/tmp/multipartBody1621035756557340272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943323029,"filename":"image_07112025_16_22_08_38999.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbe90b65e532feaab82e559c17ff9691.jpg","text":"TemporaryFile(/tmp/multipartBody4797848533641107773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943323029,"filename":"image_07112025_16_21_28_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3906a9e4fe3702d0b457f07ac2a54788.jpg","text":"TemporaryFile(/tmp/multipartBody1432142432614801796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943323029,"filename":"image_07112025_16_22_49_41071.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fca6a865968e3a76db4cff99d02eb01.jpg","text":"TemporaryFile(/tmp/multipartBody5417576504808818230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943323029,"filename":"image_07112025_16_23_04_15111.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742397","file1":"1399742395","file0":"1399742394","file4":"1399742402","file5":"1399742405","file3":"1399742399"},"map_files_photo_id_array":[{"photo_id":"1399742405","filename":"file5"},{"photo_id":"1399742397","filename":"file2"},{"photo_id":"1399742402","filename":"file4"},{"photo_id":"1399742395","filename":"file1"},{"photo_id":"1399742394","filename":"file0"},{"photo_id":"1399742399","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742405":["hashtag1","hashtag2"]},{"1399742395":["hashtag1","hashtag2"]},{"1399742397":["hashtag1","hashtag2"]},{"1399742394":["hashtag1","hashtag2"]},{"1399742399":["hashtag1","hashtag2"]},{"1399742402":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742405, 1399742395, 1399742397, 1399742394, 1399742399, 1399742402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05895709991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:48:22.561741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/46/image_17122025_04_46_35_9628.jpg', '/home/pi/Desktop/images/17122025/04/46/image_17122025_04_46_44_9680.jpg', '/home/pi/Desktop/images/17122025/04/46/image_17122025_04_47_05_9683.jpg', '/home/pi/Desktop/images/17122025/04/47/image_17122025_04_47_35_9778.jpg', '/home/pi/Desktop/images/17122025/04/47/image_17122025_04_47_44_9587.jpg', '/home/pi/Desktop/images/17122025/04/47/image_17122025_04_47_55_10751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/46/image_17122025_04_46_35_9628.jpg
/home/pi/Desktop/images/17122025/04/46/image_17122025_04_46_44_9680.jpg
/home/pi/Desktop/images/17122025/04/46/image_17122025_04_47_05_9683.jpg
/home/pi/Desktop/images/17122025/04/47/image_17122025_04_47_35_9778.jpg
/home/pi/Desktop/images/17122025/04/47/image_17122025_04_47_44_9587.jpg
/home/pi/Desktop/images/17122025/04/47/image_17122025_04_47_55_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":["1399742422","1399742416","1399742419","1399742418","1399742411","1399742414"],"photo_ids_order":["1399742411","1399742414","1399742416","1399742418","1399742419","1399742422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a703df5a79ae919b5150228e74ab6794.jpg","text":"TemporaryFile(/tmp/multipartBody1499828150717148508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943363144,"filename":"image_17122025_04_47_55_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de36a870d15bc8e049bbe251896d887f.jpg","text":"TemporaryFile(/tmp/multipartBody7241726965921690396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943363144,"filename":"image_17122025_04_47_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01385c5e93fcaba48acb722f210011fd.jpg","text":"TemporaryFile(/tmp/multipartBody4183768683700020381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943363144,"filename":"image_17122025_04_47_44_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b15a87c72b4fa1f7ec984916abb62743.jpg","text":"TemporaryFile(/tmp/multipartBody3182987881240485549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943363144,"filename":"image_17122025_04_47_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f9f6a6d03bd9b9bd2730e50e705da9c.jpg","text":"TemporaryFile(/tmp/multipartBody6452944497460389878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943363144,"filename":"image_17122025_04_46_35_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6760ad9a5668fb2f8bac06d904750d7e.jpg","text":"TemporaryFile(/tmp/multipartBody5583071843505389824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943363144,"filename":"image_17122025_04_46_44_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742416","file1":"1399742414","file0":"1399742411","file4":"1399742419","file5":"1399742422","file3":"1399742418"},"map_files_photo_id_array":[{"photo_id":"1399742422","filename":"file5"},{"photo_id":"1399742416","filename":"file2"},{"photo_id":"1399742419","filename":"file4"},{"photo_id":"1399742414","filename":"file1"},{"photo_id":"1399742411","filename":"file0"},{"photo_id":"1399742418","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742422":["hashtag1","hashtag2"]},{"1399742416":["hashtag1","hashtag2"]},{"1399742419":["hashtag1","hashtag2"]},{"1399742418":["hashtag1","hashtag2"]},{"1399742411":["hashtag1","hashtag2"]},{"1399742414":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742422, 1399742416, 1399742419, 1399742418, 1399742411, 1399742414)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2150936126709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:49:02.896242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/47/image_17122025_04_48_05_9704.jpg', '/home/pi/Desktop/images/17122025/04/48/image_17122025_04_48_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/47/image_17122025_04_48_05_9704.jpg
/home/pi/Desktop/images/17122025/04/48/image_17122025_04_48_14_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742431","1399742428"],"photo_ids_order":["1399742428","1399742431"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc6859ce466c14e65a1c6f8980396092.jpg","text":"TemporaryFile(/tmp/multipartBody1302959928074036010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943403434,"filename":"image_17122025_04_48_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/051e7ab05d2df95ab951fd981ca41ae5.jpg","text":"TemporaryFile(/tmp/multipartBody248721092178690882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943403434,"filename":"image_17122025_04_48_05_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399742431","file0":"1399742428"},"map_files_photo_id_array":[{"photo_id":"1399742431","filename":"file1"},{"photo_id":"1399742428","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742431":["hashtag1","hashtag2"]},{"1399742428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742431, 1399742428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.11899995803833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:49:21.881622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/48/image_17122025_04_48_25_10695.jpg', '/home/pi/Desktop/images/17122025/04/49/image_17122025_04_49_14_9687.jpg', '/home/pi/Desktop/images/17122025/04/49/image_17122025_04_49_24_9751.jpg', '/home/pi/Desktop/images/17122025/04/49/image_17122025_04_49_35_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/48/image_17122025_04_48_25_10695.jpg
/home/pi/Desktop/images/17122025/04/49/image_17122025_04_49_14_9687.jpg
/home/pi/Desktop/images/17122025/04/49/image_17122025_04_49_24_9751.jpg
/home/pi/Desktop/images/17122025/04/49/image_17122025_04_49_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":["1399742434","1399742437","1399742439","1399742432"],"photo_ids_order":["1399742432","1399742434","1399742437","1399742439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01385c863dbcafe2b1db82e9b6bd8482.jpg","text":"TemporaryFile(/tmp/multipartBody4044430864961071818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943422455,"filename":"image_17122025_04_49_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46264c845b5f8ce8536d691e5e705d8c.jpg","text":"TemporaryFile(/tmp/multipartBody3964669554579379685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943422455,"filename":"image_17122025_04_49_24_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6435a455d20999089611ff20f3728a53.jpg","text":"TemporaryFile(/tmp/multipartBody1063540175637331080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943422455,"filename":"image_17122025_04_49_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d225023f97372c6d4083e7aaaa7409b4.jpg","text":"TemporaryFile(/tmp/multipartBody8679649500908153621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943422455,"filename":"image_17122025_04_48_25_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742437","file1":"1399742434","file0":"1399742432","file3":"1399742439"},"map_files_photo_id_array":[{"photo_id":"1399742437","filename":"file2"},{"photo_id":"1399742434","filename":"file1"},{"photo_id":"1399742432","filename":"file0"},{"photo_id":"1399742439","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742434":["hashtag1","hashtag2"]},{"1399742437":["hashtag1","hashtag2"]},{"1399742439":["hashtag1","hashtag2"]},{"1399742432":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742434, 1399742437, 1399742439, 1399742432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.95626139640808 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:50:02.466242
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:50:12.030823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:50:22.060458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/49/image_17122025_04_49_45_9779.jpg', '/home/pi/Desktop/images/17122025/04/50/image_17122025_04_50_34_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/49/image_17122025_04_49_45_9779.jpg
/home/pi/Desktop/images/17122025/04/50/image_17122025_04_50_34_9710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742448","1399742447"],"photo_ids_order":["1399742447","1399742448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51bb58e502bdcebc226e277b8588d2ab.jpg","text":"TemporaryFile(/tmp/multipartBody6913829234680063670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943482506,"filename":"image_17122025_04_50_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe30f5de07a96a098c5d8c02a7a8dca8.jpg","text":"TemporaryFile(/tmp/multipartBody2494232706302641904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943482506,"filename":"image_17122025_04_49_45_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399742448","file0":"1399742447"},"map_files_photo_id_array":[{"photo_id":"1399742448","filename":"file1"},{"photo_id":"1399742447","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742448":["hashtag1","hashtag2"]},{"1399742447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742448, 1399742447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.206976890563965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:50:42.109956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_08_1598.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_09_1679.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_14_4682.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_23_8633.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_24_1609.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_26_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_08_1598.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_09_1679.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_14_4682.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_23_8633.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_24_1609.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_26_1634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742458","1399742468","1399742462","1399742471","1399742465","1399742453"],"photo_ids_order":["1399742453","1399742458","1399742462","1399742465","1399742468","1399742471"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b17b3c26318931d185c1136889894c2.jpg","text":"TemporaryFile(/tmp/multipartBody2655474910715660071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943502823,"filename":"image_07112025_16_23_09_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88e5d4f1e64187249cf5bf77be2f6041.jpg","text":"TemporaryFile(/tmp/multipartBody7452458449165586087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943502823,"filename":"image_07112025_16_23_24_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b444ec68d07511cffcc912cb7423011c.jpg","text":"TemporaryFile(/tmp/multipartBody350735393464494112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943502823,"filename":"image_07112025_16_23_14_4682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/761200d0cb6bcd40ae154ab1e5eea95e.jpg","text":"TemporaryFile(/tmp/multipartBody4295007520326793293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943502823,"filename":"image_07112025_16_23_26_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/790d782f921d8a0681a75f140f8bd30c.jpg","text":"TemporaryFile(/tmp/multipartBody3350275179350774513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943502823,"filename":"image_07112025_16_23_23_8633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce20b07337740c1c4ad512dcc95db0b9.jpg","text":"TemporaryFile(/tmp/multipartBody2111040536621417732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943502823,"filename":"image_07112025_16_23_08_1598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742462","file1":"1399742458","file0":"1399742453","file4":"1399742468","file5":"1399742471","file3":"1399742465"},"map_files_photo_id_array":[{"photo_id":"1399742471","filename":"file5"},{"photo_id":"1399742462","filename":"file2"},{"photo_id":"1399742468","filename":"file4"},{"photo_id":"1399742458","filename":"file1"},{"photo_id":"1399742453","filename":"file0"},{"photo_id":"1399742465","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742458":["hashtag1","hashtag2"]},{"1399742468":["hashtag1","hashtag2"]},{"1399742462":["hashtag1","hashtag2"]},{"1399742471":["hashtag1","hashtag2"]},{"1399742465":["hashtag1","hashtag2"]},{"1399742453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742458, 1399742468, 1399742462, 1399742471, 1399742465, 1399742453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95663642883301 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:51:22.371807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/50/image_17122025_04_50_55_9588.jpg', '/home/pi/Desktop/images/17122025/04/50/image_17122025_04_51_04_9597.jpg', '/home/pi/Desktop/images/17122025/04/51/image_17122025_04_51_34_9507.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/50/image_17122025_04_50_55_9588.jpg
/home/pi/Desktop/images/17122025/04/50/image_17122025_04_51_04_9597.jpg
/home/pi/Desktop/images/17122025/04/51/image_17122025_04_51_34_9507.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742473","1399742475","1399742477"],"photo_ids_order":["1399742473","1399742475","1399742477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d39fc73fc19e7e6591dbada35cd9945a.jpg","text":"TemporaryFile(/tmp/multipartBody3623890534903706781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943542849,"filename":"image_17122025_04_50_55_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64a32dfb919c8c257918eb2ad9c4fff5.jpg","text":"TemporaryFile(/tmp/multipartBody1854038028301834863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943542849,"filename":"image_17122025_04_51_04_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5800547d736b95c341bc44b5dee907c6.jpg","text":"TemporaryFile(/tmp/multipartBody5334421583565181949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943542849,"filename":"image_17122025_04_51_34_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742477","file1":"1399742475","file0":"1399742473"},"map_files_photo_id_array":[{"photo_id":"1399742477","filename":"file2"},{"photo_id":"1399742475","filename":"file1"},{"photo_id":"1399742473","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742473":["hashtag1","hashtag2"]},{"1399742475":["hashtag1","hashtag2"]},{"1399742477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742473, 1399742475, 1399742477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.91591191291809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:52:03.088417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:52:12.724551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:52:22.659554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/51/image_17122025_04_51_45_10576.jpg', '/home/pi/Desktop/images/17122025/04/52/image_17122025_04_52_15_9741.jpg', '/home/pi/Desktop/images/17122025/04/52/image_17122025_04_52_24_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/51/image_17122025_04_51_45_10576.jpg
/home/pi/Desktop/images/17122025/04/52/image_17122025_04_52_15_9741.jpg
/home/pi/Desktop/images/17122025/04/52/image_17122025_04_52_24_9567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742494","1399742499","1399742497"],"photo_ids_order":["1399742494","1399742497","1399742499"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/576ca7036a9555b0d04ca21ae03528fe.jpg","text":"TemporaryFile(/tmp/multipartBody5736676336377072358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943603138,"filename":"image_17122025_04_51_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/769f41ea2d607d6e1a43a16c873a81c9.jpg","text":"TemporaryFile(/tmp/multipartBody1913780196906533239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943603138,"filename":"image_17122025_04_52_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/852975b9cbb15928bea24184dad05ad9.jpg","text":"TemporaryFile(/tmp/multipartBody8782517559848787095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943603138,"filename":"image_17122025_04_52_15_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742499","file1":"1399742497","file0":"1399742494"},"map_files_photo_id_array":[{"photo_id":"1399742499","filename":"file2"},{"photo_id":"1399742497","filename":"file1"},{"photo_id":"1399742494","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742494":["hashtag1","hashtag2"]},{"1399742499":["hashtag1","hashtag2"]},{"1399742497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742494, 1399742499, 1399742497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.85328245162964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:53:02.579104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:53:11.872415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:53:21.881691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/52/image_17122025_04_52_54_9693.jpg', '/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_15_9621.jpg', '/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_24_9582.jpg', '/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_35_10782.jpg', '/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_44_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/52/image_17122025_04_52_54_9693.jpg
/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_15_9621.jpg
/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_24_9582.jpg
/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_35_10782.jpg
/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_44_9567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742518","1399742512","1399742509","1399742514","1399742516"],"photo_ids_order":["1399742509","1399742512","1399742514","1399742516","1399742518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c1a03f78af9e097bde698be848ad25f.jpg","text":"TemporaryFile(/tmp/multipartBody6540523260159061118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943662427,"filename":"image_17122025_04_53_44_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ada4202b38fd0f3e2d9319688de4b82e.jpg","text":"TemporaryFile(/tmp/multipartBody1795307988505414863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943662427,"filename":"image_17122025_04_53_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75a3887c4109e39acb22c82ccff2aff9.jpg","text":"TemporaryFile(/tmp/multipartBody7033987126282807768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943662427,"filename":"image_17122025_04_52_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dee7a655084d3d08b42b7cae6069a73.jpg","text":"TemporaryFile(/tmp/multipartBody5312311988781055239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943662427,"filename":"image_17122025_04_53_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dde9ce7eb9477a6c29d2873de41ac20.jpg","text":"TemporaryFile(/tmp/multipartBody8571978512381772380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943662427,"filename":"image_17122025_04_53_35_10782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742514","file1":"1399742512","file0":"1399742509","file4":"1399742518","file3":"1399742516"},"map_files_photo_id_array":[{"photo_id":"1399742514","filename":"file2"},{"photo_id":"1399742518","filename":"file4"},{"photo_id":"1399742512","filename":"file1"},{"photo_id":"1399742509","filename":"file0"},{"photo_id":"1399742516","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742518":["hashtag1","hashtag2"]},{"1399742512":["hashtag1","hashtag2"]},{"1399742509":["hashtag1","hashtag2"]},{"1399742514":["hashtag1","hashtag2"]},{"1399742516":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742518, 1399742512, 1399742509, 1399742514, 1399742516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.812023162841797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:54:02.826317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:54:12.140867
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:54:22.224513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_54_9756.jpg', '/home/pi/Desktop/images/17122025/04/53/image_17122025_04_54_05_10712.jpg', '/home/pi/Desktop/images/17122025/04/54/image_17122025_04_54_15_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_54_9756.jpg
/home/pi/Desktop/images/17122025/04/53/image_17122025_04_54_05_10712.jpg
/home/pi/Desktop/images/17122025/04/54/image_17122025_04_54_15_9746.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3766298294067383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:54:32.201946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:54:42.169644
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_27_1608.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_29_1594.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_31_1783.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_32_1654.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_34_1666.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_36_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_27_1608.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_29_1594.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_31_1783.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_32_1654.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_34_1666.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_36_1577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742542","1399742545","1399742539","1399742547","1399742535","1399742540"],"photo_ids_order":["1399742535","1399742539","1399742540","1399742542","1399742545","1399742547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8537820b0dbfff495f5ce332dc1881e.jpg","text":"TemporaryFile(/tmp/multipartBody213810326227821606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943742863,"filename":"image_07112025_16_23_32_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14a3a5c27c44ba9bd5938cfaa316d54e.jpg","text":"TemporaryFile(/tmp/multipartBody3544968756551003982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943742863,"filename":"image_07112025_16_23_34_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b095a49acb4293e8f12bd298e4514e5b.jpg","text":"TemporaryFile(/tmp/multipartBody2167793350479148410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943742863,"filename":"image_07112025_16_23_29_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/634584c14fced980caa253bb59d70031.jpg","text":"TemporaryFile(/tmp/multipartBody2744266439305165280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943742863,"filename":"image_07112025_16_23_36_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e14557fb89bd328aa17d15a345b3da34.jpg","text":"TemporaryFile(/tmp/multipartBody3213934192649680224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943742863,"filename":"image_07112025_16_23_27_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb513cc218acce49f99e60d702305d66.jpg","text":"TemporaryFile(/tmp/multipartBody3247520184920029859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943742863,"filename":"image_07112025_16_23_31_1783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742540","file1":"1399742539","file0":"1399742535","file4":"1399742545","file5":"1399742547","file3":"1399742542"},"map_files_photo_id_array":[{"photo_id":"1399742547","filename":"file5"},{"photo_id":"1399742540","filename":"file2"},{"photo_id":"1399742545","filename":"file4"},{"photo_id":"1399742539","filename":"file1"},{"photo_id":"1399742535","filename":"file0"},{"photo_id":"1399742542","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399742542":["hashtag1","hashtag2"]},{"1399742545":["hashtag1","hashtag2"]},{"1399742539":["hashtag1","hashtag2"]},{"1399742547":["hashtag1","hashtag2"]},{"1399742535":["hashtag1","hashtag2"]},{"1399742540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399742542, 1399742545, 1399742539, 1399742547, 1399742535, 1399742540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36470913887024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:55:22.342661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_54_9756.jpg', '/home/pi/Desktop/images/17122025/04/53/image_17122025_04_54_05_10712.jpg', '/home/pi/Desktop/images/17122025/04/54/image_17122025_04_54_15_9746.jpg', '/home/pi/Desktop/images/17122025/04/54/image_17122025_04_54_35_10676.jpg', '/home/pi/Desktop/images/17122025/04/55/image_17122025_04_55_15_9963.jpg', '/home/pi/Desktop/images/17122025/04/55/image_17122025_04_55_25_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/53/image_17122025_04_53_54_9756.jpg
/home/pi/Desktop/images/17122025/04/53/image_17122025_04_54_05_10712.jpg
/home/pi/Desktop/images/17122025/04/54/image_17122025_04_54_15_9746.jpg
/home/pi/Desktop/images/17122025/04/54/image_17122025_04_54_35_10676.jpg
/home/pi/Desktop/images/17122025/04/55/image_17122025_04_55_15_9963.jpg
/home/pi/Desktop/images/17122025/04/55/image_17122025_04_55_25_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742554","1399742548","1399742550","1399742556","1399742558","1399742552"],"photo_ids_order":["1399742548","1399742550","1399742552","1399742554","1399742556","1399742558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/237e29f0ea96f61c2336ad4a565576e9.jpg","text":"TemporaryFile(/tmp/multipartBody5349690813031149117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943782904,"filename":"image_17122025_04_54_35_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77f7380f42d05c81289ff4821c45126f.jpg","text":"TemporaryFile(/tmp/multipartBody9116494931011311585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943782904,"filename":"image_17122025_04_53_54_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/956993c9dc2f6536990eee6b481baf02.jpg","text":"TemporaryFile(/tmp/multipartBody890983690586255409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943782904,"filename":"image_17122025_04_54_05_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c4ca243e1f26f7daecc11a974ff2e1c.jpg","text":"TemporaryFile(/tmp/multipartBody4084539068279052925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943782904,"filename":"image_17122025_04_55_15_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c0aa51352f89adf49854d32e0bb16bd.jpg","text":"TemporaryFile(/tmp/multipartBody5326056272524690752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943782904,"filename":"image_17122025_04_55_25_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca437bbe28de020338df281acc3f2e58.jpg","text":"TemporaryFile(/tmp/multipartBody624349689057709336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943782904,"filename":"image_17122025_04_54_15_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742552","file1":"1399742550","file0":"1399742548","file4":"1399742556","file5":"1399742558","file3":"1399742554"},"map_files_photo_id_array":[{"photo_id":"1399742558","filename":"file5"},{"photo_id":"1399742552","filename":"file2"},{"photo_id":"1399742556","filename":"file4"},{"photo_id":"1399742550","filename":"file1"},{"photo_id":"1399742548","filename":"file0"},{"photo_id":"1399742554","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742554":["hashtag1","hashtag2"]},{"1399742548":["hashtag1","hashtag2"]},{"1399742550":["hashtag1","hashtag2"]},{"1399742556":["hashtag1","hashtag2"]},{"1399742558":["hashtag1","hashtag2"]},{"1399742552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742554, 1399742548, 1399742550, 1399742556, 1399742558, 1399742552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13845777511597 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:56:03.067985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:56:12.644475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:56:22.732460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/55/image_17122025_04_55_34_9616.jpg', '/home/pi/Desktop/images/17122025/04/56/image_17122025_04_56_15_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/55/image_17122025_04_55_34_9616.jpg
/home/pi/Desktop/images/17122025/04/56/image_17122025_04_56_15_9819.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399742571","1399742574"],"photo_ids_order":["1399742571","1399742574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78e5cc78f283198afcb61a9a1d9b9903.jpg","text":"TemporaryFile(/tmp/multipartBody6520043370522950246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943843176,"filename":"image_17122025_04_55_34_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/339284bd486f5c1d35143495b5c39e25.jpg","text":"TemporaryFile(/tmp/multipartBody1893484892622149743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943843176,"filename":"image_17122025_04_56_15_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399742574","file0":"1399742571"},"map_files_photo_id_array":[{"photo_id":"1399742574","filename":"file1"},{"photo_id":"1399742571","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742571":["hashtag1","hashtag2"]},{"1399742574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742571, 1399742574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.553693532943726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:56:42.681514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_37_1607.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_39_1635.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_41_1728.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_42_1843.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_44_1640.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_55_11070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_37_1607.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_39_1635.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_41_1728.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_42_1843.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_44_1640.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_55_11070.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6282026767730713 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:57:02.657320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:57:11.913432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 04:57:22.006889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/56/image_17122025_04_56_25_10027.jpg', '/home/pi/Desktop/images/17122025/04/56/image_17122025_04_57_04_9768.jpg', '/home/pi/Desktop/images/17122025/04/57/image_17122025_04_57_14_9779.jpg', '/home/pi/Desktop/images/17122025/04/57/image_17122025_04_57_25_10706.jpg', '/home/pi/Desktop/images/17122025/04/57/image_17122025_04_57_35_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/56/image_17122025_04_56_25_10027.jpg
/home/pi/Desktop/images/17122025/04/56/image_17122025_04_57_04_9768.jpg
/home/pi/Desktop/images/17122025/04/57/image_17122025_04_57_14_9779.jpg
/home/pi/Desktop/images/17122025/04/57/image_17122025_04_57_25_10706.jpg
/home/pi/Desktop/images/17122025/04/57/image_17122025_04_57_35_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":["1399742602","1399742598","1399742594","1399742596","1399742600"],"photo_ids_order":["1399742594","1399742596","1399742598","1399742600","1399742602"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c4a36e324d64e86766d8551feff0d8a.jpg","text":"TemporaryFile(/tmp/multipartBody8444928597410947012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943902576,"filename":"image_17122025_04_57_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c25890a18c54975e48177c68b7202a8.jpg","text":"TemporaryFile(/tmp/multipartBody9128933017283513183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943902576,"filename":"image_17122025_04_57_14_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6eb3cb5a430cc6593fa0b3f41e38bae.jpg","text":"TemporaryFile(/tmp/multipartBody2499606250797361442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943902576,"filename":"image_17122025_04_56_25_10027.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b783250b200dd60908484ebb436e0a03.jpg","text":"TemporaryFile(/tmp/multipartBody947562701330349754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943902576,"filename":"image_17122025_04_57_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e162b3382ee0132e4389f2a0238ce61e.jpg","text":"TemporaryFile(/tmp/multipartBody7371042874108799702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765943902576,"filename":"image_17122025_04_57_25_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399742598","file1":"1399742596","file0":"1399742594","file4":"1399742602","file3":"1399742600"},"map_files_photo_id_array":[{"photo_id":"1399742598","filename":"file2"},{"photo_id":"1399742602","filename":"file4"},{"photo_id":"1399742596","filename":"file1"},{"photo_id":"1399742594","filename":"file0"},{"photo_id":"1399742600","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399742602":["hashtag1","hashtag2"]},{"1399742598":["hashtag1","hashtag2"]},{"1399742594":["hashtag1","hashtag2"]},{"1399742596":["hashtag1","hashtag2"]},{"1399742600":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399742602, 1399742598, 1399742594, 1399742596, 1399742600)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.88549494743347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 04:59:03.146879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/57/image_17122025_04_57_55_10628.jpg', '/home/pi/Desktop/images/17122025/04/58/image_17122025_04_58_15_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/57/image_17122025_04_57_55_10628.jpg
/home/pi/Desktop/images/17122025/04/58/image_17122025_04_58_15_9873.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399743332","1399743286"],"photo_ids_order":["1399743286","1399743332"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adb75a751e96d8c4b3e2f18d5b611431.jpg","text":"TemporaryFile(/tmp/multipartBody6193459945311574609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944003675,"filename":"image_17122025_04_58_15_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0321f6627f64804e975b484f77ed07ca.jpg","text":"TemporaryFile(/tmp/multipartBody5711258930099034294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944003675,"filename":"image_17122025_04_57_55_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399743332","file0":"1399743286"},"map_files_photo_id_array":[{"photo_id":"1399743332","filename":"file1"},{"photo_id":"1399743286","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399743332":["hashtag1","hashtag2"]},{"1399743286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399743332, 1399743286)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 19.97973322868347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 04:59:32.339119
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 04:59:42.401291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_37_1607.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_39_1635.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_41_1728.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_42_1843.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_44_1640.jpg', '/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_55_11070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_37_1607.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_39_1635.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_41_1728.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_42_1843.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_44_1640.jpg
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_23_55_11070.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399743549","1399743525","1399743528","1399743592","1399743512","1399743532"],"photo_ids_order":["1399743512","1399743525","1399743528","1399743532","1399743549","1399743592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f10a0c237a3b86d78f41bdfa6667b7df.jpg","text":"TemporaryFile(/tmp/multipartBody9132047664794402016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944043004,"filename":"image_07112025_16_23_44_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/940c7ef1cea922a9a23bc9f9e34fc9d5.jpg","text":"TemporaryFile(/tmp/multipartBody3319154583037996688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944043004,"filename":"image_07112025_16_23_39_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3113a524195e6a9db3d25c6d8a6c50f.jpg","text":"TemporaryFile(/tmp/multipartBody7566895854102824932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944043004,"filename":"image_07112025_16_23_41_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c7f409ace6014850c9f5ae849d4da51.jpg","text":"TemporaryFile(/tmp/multipartBody3797358009465523528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944043004,"filename":"image_07112025_16_23_55_11070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4128259d6ac11b22c1088bf1c236b05d.jpg","text":"TemporaryFile(/tmp/multipartBody4348934547003782376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944043004,"filename":"image_07112025_16_23_37_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0abe865d2b714fb084ac49c8e4750b6.jpg","text":"TemporaryFile(/tmp/multipartBody2080379025390323028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944043004,"filename":"image_07112025_16_23_42_1843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399743528","file1":"1399743525","file0":"1399743512","file4":"1399743549","file5":"1399743592","file3":"1399743532"},"map_files_photo_id_array":[{"photo_id":"1399743592","filename":"file5"},{"photo_id":"1399743528","filename":"file2"},{"photo_id":"1399743549","filename":"file4"},{"photo_id":"1399743525","filename":"file1"},{"photo_id":"1399743512","filename":"file0"},{"photo_id":"1399743532","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399743549":["hashtag1","hashtag2"]},{"1399743525":["hashtag1","hashtag2"]},{"1399743528":["hashtag1","hashtag2"]},{"1399743592":["hashtag1","hashtag2"]},{"1399743512":["hashtag1","hashtag2"]},{"1399743532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399743549, 1399743525, 1399743528, 1399743592, 1399743512, 1399743532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58256125450134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:00:22.667159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/58/image_17122025_04_58_24_9657.jpg', '/home/pi/Desktop/images/17122025/04/58/image_17122025_04_59_05_9656.jpg', '/home/pi/Desktop/images/17122025/04/59/image_17122025_04_59_14_9694.jpg', '/home/pi/Desktop/images/17122025/04/59/image_17122025_04_59_54_9740.jpg', '/home/pi/Desktop/images/17122025/04/59/image_17122025_05_00_05_10838.jpg', '/home/pi/Desktop/images/17122025/05/00/image_17122025_05_00_34_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/58/image_17122025_04_58_24_9657.jpg
/home/pi/Desktop/images/17122025/04/58/image_17122025_04_59_05_9656.jpg
/home/pi/Desktop/images/17122025/04/59/image_17122025_04_59_14_9694.jpg
/home/pi/Desktop/images/17122025/04/59/image_17122025_04_59_54_9740.jpg
/home/pi/Desktop/images/17122025/04/59/image_17122025_05_00_05_10838.jpg
/home/pi/Desktop/images/17122025/05/00/image_17122025_05_00_34_9652.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47890233993530273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:00:37.090457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:00:42.628918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/23/image_07112025_16_24_00_3553.jpg', '/home/pi/Desktop/images/07112025/16/24/image_07112025_16_24_02_1678.jpg', '/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_07_3018.jpg', '/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_10_3589.jpg', '/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_14_3691.jpg', '/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_16_1823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/23/image_07112025_16_24_00_3553.jpg
/home/pi/Desktop/images/07112025/16/24/image_07112025_16_24_02_1678.jpg
/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_07_3018.jpg
/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_10_3589.jpg
/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_14_3691.jpg
/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_16_1823.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":["1399743945","1399743789","1399743831","1399743906","1399743983","1399743868"],"photo_ids_order":["1399743789","1399743831","1399743868","1399743906","1399743945","1399743983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e516816d3c09a3d4e785c547a25e6ea.jpg","text":"TemporaryFile(/tmp/multipartBody8119614347940078873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944103344,"filename":"image_07112025_16_26_14_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8924a1662727de3d77fce010e60fe03.jpg","text":"TemporaryFile(/tmp/multipartBody6495987692849750284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944103344,"filename":"image_07112025_16_24_00_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae063489b07c6f1c98a06b544a31d76e.jpg","text":"TemporaryFile(/tmp/multipartBody4448762866176349602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944103344,"filename":"image_07112025_16_24_02_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e4afe60f66ab23cff2c1c4ebaf36d17.jpg","text":"TemporaryFile(/tmp/multipartBody2828490386974863136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944103344,"filename":"image_07112025_16_26_10_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/378af78768292d39ecc15408fd17099e.jpg","text":"TemporaryFile(/tmp/multipartBody9143822168868004909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944103344,"filename":"image_07112025_16_26_16_1823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/395d279d2791b532e6e76d414d5f0ba8.jpg","text":"TemporaryFile(/tmp/multipartBody990719949510839982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944103344,"filename":"image_07112025_16_26_07_3018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399743868","file1":"1399743831","file0":"1399743789","file4":"1399743945","file5":"1399743983","file3":"1399743906"},"map_files_photo_id_array":[{"photo_id":"1399743983","filename":"file5"},{"photo_id":"1399743868","filename":"file2"},{"photo_id":"1399743945","filename":"file4"},{"photo_id":"1399743831","filename":"file1"},{"photo_id":"1399743789","filename":"file0"},{"photo_id":"1399743906","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399743945":["hashtag1","hashtag2"]},{"1399743789":["hashtag1","hashtag2"]},{"1399743831":["hashtag1","hashtag2"]},{"1399743906":["hashtag1","hashtag2"]},{"1399743983":["hashtag1","hashtag2"]},{"1399743868":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399743945, 1399743789, 1399743831, 1399743906, 1399743983, 1399743868)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.90454077720642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:01:32.784912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:01:42.776657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_20_3789.jpg', '/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_22_2540.jpg', '/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_25_2587.jpg', '/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_28_3807.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_07_3019.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_14_3661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_20_3789.jpg
/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_22_2540.jpg
/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_25_2587.jpg
/home/pi/Desktop/images/07112025/16/26/image_07112025_16_26_28_3807.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_07_3019.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_14_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":["1399744368","1399744481","1399744407","1399744288","1399744444","1399744327"],"photo_ids_order":["1399744288","1399744327","1399744368","1399744407","1399744444","1399744481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/177df702bcc2ab51939951caa60bf47f.jpg","text":"TemporaryFile(/tmp/multipartBody55059506215180383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944163513,"filename":"image_07112025_16_26_25_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e9220919597b9ace10cf2cdc43bb65b.jpg","text":"TemporaryFile(/tmp/multipartBody126239828918207202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944163513,"filename":"image_07112025_16_28_14_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da1129e6e51a9bff91e6b4e48dc36a02.jpg","text":"TemporaryFile(/tmp/multipartBody2890971467515899116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944163513,"filename":"image_07112025_16_26_28_3807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/287920814e785359137c53869fba8c59.jpg","text":"TemporaryFile(/tmp/multipartBody3255387200116446594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944163513,"filename":"image_07112025_16_26_20_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32ac67211aceb2590ca2e292ecdbe5b4.jpg","text":"TemporaryFile(/tmp/multipartBody5937508334632565977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944163513,"filename":"image_07112025_16_28_07_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0eb3c97fc338eb12736cbecded878d2c.jpg","text":"TemporaryFile(/tmp/multipartBody7421440275221114211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944163513,"filename":"image_07112025_16_26_22_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744368","file1":"1399744327","file0":"1399744288","file4":"1399744444","file5":"1399744481","file3":"1399744407"},"map_files_photo_id_array":[{"photo_id":"1399744481","filename":"file5"},{"photo_id":"1399744368","filename":"file2"},{"photo_id":"1399744444","filename":"file4"},{"photo_id":"1399744327","filename":"file1"},{"photo_id":"1399744288","filename":"file0"},{"photo_id":"1399744407","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399744368":["hashtag1","hashtag2"]},{"1399744481":["hashtag1","hashtag2"]},{"1399744407":["hashtag1","hashtag2"]},{"1399744288":["hashtag1","hashtag2"]},{"1399744444":["hashtag1","hashtag2"]},{"1399744327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399744368, 1399744481, 1399744407, 1399744288, 1399744444, 1399744327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.533671379089355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:02:21.914756
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/04/58/image_17122025_04_58_24_9657.jpg', '/home/pi/Desktop/images/17122025/04/58/image_17122025_04_59_05_9656.jpg', '/home/pi/Desktop/images/17122025/04/59/image_17122025_04_59_14_9694.jpg', '/home/pi/Desktop/images/17122025/04/59/image_17122025_04_59_54_9740.jpg', '/home/pi/Desktop/images/17122025/04/59/image_17122025_05_00_05_10838.jpg', '/home/pi/Desktop/images/17122025/05/00/image_17122025_05_00_34_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/04/58/image_17122025_04_58_24_9657.jpg
/home/pi/Desktop/images/17122025/04/58/image_17122025_04_59_05_9656.jpg
/home/pi/Desktop/images/17122025/04/59/image_17122025_04_59_14_9694.jpg
/home/pi/Desktop/images/17122025/04/59/image_17122025_04_59_54_9740.jpg
/home/pi/Desktop/images/17122025/04/59/image_17122025_05_00_05_10838.jpg
/home/pi/Desktop/images/17122025/05/00/image_17122025_05_00_34_9652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744493","1399744527","1399744565","1399744486","1399744489","1399744491"],"photo_ids_order":["1399744486","1399744489","1399744491","1399744493","1399744527","1399744565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5077168d34ffa78d1a1462310dd37c2.jpg","text":"TemporaryFile(/tmp/multipartBody417482406141800189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944202503,"filename":"image_17122025_04_59_54_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36f743db6b886c4b4dc42a0d552ae1a8.jpg","text":"TemporaryFile(/tmp/multipartBody1910166300872510046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944202503,"filename":"image_17122025_05_00_05_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48563afc8ad34e49b2a4a637a60a7395.jpg","text":"TemporaryFile(/tmp/multipartBody5067232224589816222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944202503,"filename":"image_17122025_05_00_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e8da74d6e3e7e345e992c638a650ed7.jpg","text":"TemporaryFile(/tmp/multipartBody2634835299561263569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944202503,"filename":"image_17122025_04_58_24_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/228c5aee15feac51c817a28cdf64e2a5.jpg","text":"TemporaryFile(/tmp/multipartBody7624056817415645456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944202503,"filename":"image_17122025_04_59_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67cbb312f4c43888bf85086fa29f4d4f.jpg","text":"TemporaryFile(/tmp/multipartBody8867561925920419531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944202503,"filename":"image_17122025_04_59_14_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744491","file1":"1399744489","file0":"1399744486","file4":"1399744527","file5":"1399744565","file3":"1399744493"},"map_files_photo_id_array":[{"photo_id":"1399744565","filename":"file5"},{"photo_id":"1399744491","filename":"file2"},{"photo_id":"1399744527","filename":"file4"},{"photo_id":"1399744489","filename":"file1"},{"photo_id":"1399744486","filename":"file0"},{"photo_id":"1399744493","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744493":["hashtag1","hashtag2"]},{"1399744527":["hashtag1","hashtag2"]},{"1399744565":["hashtag1","hashtag2"]},{"1399744486":["hashtag1","hashtag2"]},{"1399744489":["hashtag1","hashtag2"]},{"1399744491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744493, 1399744527, 1399744565, 1399744486, 1399744489, 1399744491)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.536948919296265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:03:12.324227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:03:22.166576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/00/image_17122025_05_00_45_10680.jpg', '/home/pi/Desktop/images/17122025/05/00/image_17122025_05_00_54_9650.jpg', '/home/pi/Desktop/images/17122025/05/00/image_17122025_05_01_04_9698.jpg', '/home/pi/Desktop/images/17122025/05/01/image_17122025_05_01_15_10614.jpg', '/home/pi/Desktop/images/17122025/05/01/image_17122025_05_01_24_9662.jpg', '/home/pi/Desktop/images/17122025/05/01/image_17122025_05_01_37_12463.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/00/image_17122025_05_00_45_10680.jpg
/home/pi/Desktop/images/17122025/05/00/image_17122025_05_00_54_9650.jpg
/home/pi/Desktop/images/17122025/05/00/image_17122025_05_01_04_9698.jpg
/home/pi/Desktop/images/17122025/05/01/image_17122025_05_01_15_10614.jpg
/home/pi/Desktop/images/17122025/05/01/image_17122025_05_01_24_9662.jpg
/home/pi/Desktop/images/17122025/05/01/image_17122025_05_01_37_12463.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744719","1399744721","1399744723","1399744717","1399744726","1399744714"],"photo_ids_order":["1399744714","1399744717","1399744719","1399744721","1399744723","1399744726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/feb97b3cda4aeff8a25de599ca243302.jpg","text":"TemporaryFile(/tmp/multipartBody8773973054262144593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944262738,"filename":"image_17122025_05_01_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15cf1fb85a2e5be7b7b6130b1a3a6159.jpg","text":"TemporaryFile(/tmp/multipartBody4881245571902206302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944262738,"filename":"image_17122025_05_01_15_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4a78da6f254249ae359e5e69e5f039a.jpg","text":"TemporaryFile(/tmp/multipartBody3969714798765687240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944262738,"filename":"image_17122025_05_01_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/262d03f81cbe52d841a5bec57d6dea47.jpg","text":"TemporaryFile(/tmp/multipartBody3558454299806776454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944262738,"filename":"image_17122025_05_00_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca370fae917ddcb26f84e5b73993d7d4.jpg","text":"TemporaryFile(/tmp/multipartBody2113372799470671158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944262738,"filename":"image_17122025_05_01_37_12463.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2045ecb55844e1e61c2bf4a6ffdc9b6c.jpg","text":"TemporaryFile(/tmp/multipartBody6471329917184452941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944262738,"filename":"image_17122025_05_00_45_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744719","file1":"1399744717","file0":"1399744714","file4":"1399744723","file5":"1399744726","file3":"1399744721"},"map_files_photo_id_array":[{"photo_id":"1399744726","filename":"file5"},{"photo_id":"1399744719","filename":"file2"},{"photo_id":"1399744723","filename":"file4"},{"photo_id":"1399744717","filename":"file1"},{"photo_id":"1399744714","filename":"file0"},{"photo_id":"1399744721","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744719":["hashtag1","hashtag2"]},{"1399744721":["hashtag1","hashtag2"]},{"1399744723":["hashtag1","hashtag2"]},{"1399744717":["hashtag1","hashtag2"]},{"1399744726":["hashtag1","hashtag2"]},{"1399744714":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744719, 1399744721, 1399744723, 1399744717, 1399744726, 1399744714)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29468512535095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:04:03.065572
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/02/image_17122025_05_02_24_9661.jpg', '/home/pi/Desktop/images/17122025/05/02/image_17122025_05_02_34_9991.jpg', '/home/pi/Desktop/images/17122025/05/02/image_17122025_05_02_45_10663.jpg', '/home/pi/Desktop/images/17122025/05/02/image_17122025_05_02_55_9653.jpg', '/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_15_10653.jpg', '/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_25_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/02/image_17122025_05_02_24_9661.jpg
/home/pi/Desktop/images/17122025/05/02/image_17122025_05_02_34_9991.jpg
/home/pi/Desktop/images/17122025/05/02/image_17122025_05_02_45_10663.jpg
/home/pi/Desktop/images/17122025/05/02/image_17122025_05_02_55_9653.jpg
/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_15_10653.jpg
/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_25_9653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744731","1399744734","1399744728","1399744730","1399744729","1399744732"],"photo_ids_order":["1399744728","1399744729","1399744730","1399744731","1399744732","1399744734"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/faf5108f291fa0dc7830161e052ae3c8.jpg","text":"TemporaryFile(/tmp/multipartBody7583648914426598016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944303699,"filename":"image_17122025_05_02_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a7925bb7171d2f171f20a2c6461037a.jpg","text":"TemporaryFile(/tmp/multipartBody361661850297298904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944303699,"filename":"image_17122025_05_03_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0348c0aa806f87ae1bea6e93c35667d5.jpg","text":"TemporaryFile(/tmp/multipartBody7202829177025026663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944303699,"filename":"image_17122025_05_02_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e4101e6fcbae22a1ed9fba6645a25b0.jpg","text":"TemporaryFile(/tmp/multipartBody3224249229955678314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944303699,"filename":"image_17122025_05_02_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0cf71c7b955f17d9a994e61b1356039.jpg","text":"TemporaryFile(/tmp/multipartBody6474776344294816264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944303699,"filename":"image_17122025_05_02_34_9991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d8ae6a9b37916c844a9876958939557.jpg","text":"TemporaryFile(/tmp/multipartBody7841224253439559849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944303699,"filename":"image_17122025_05_03_15_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744730","file1":"1399744729","file0":"1399744728","file4":"1399744732","file5":"1399744734","file3":"1399744731"},"map_files_photo_id_array":[{"photo_id":"1399744734","filename":"file5"},{"photo_id":"1399744730","filename":"file2"},{"photo_id":"1399744732","filename":"file4"},{"photo_id":"1399744729","filename":"file1"},{"photo_id":"1399744728","filename":"file0"},{"photo_id":"1399744731","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744731":["hashtag1","hashtag2"]},{"1399744734":["hashtag1","hashtag2"]},{"1399744728":["hashtag1","hashtag2"]},{"1399744730":["hashtag1","hashtag2"]},{"1399744729":["hashtag1","hashtag2"]},{"1399744732":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744731, 1399744734, 1399744728, 1399744730, 1399744729, 1399744732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23839831352234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:04:42.339016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_17_3130.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_20_2622.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_22_2848.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_25_2925.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_28_2703.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_33_4741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_17_3130.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_20_2622.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_22_2848.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_25_2925.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_28_2703.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_33_4741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744743","1399744746","1399744740","1399744742","1399744745","1399744744"],"photo_ids_order":["1399744740","1399744742","1399744743","1399744744","1399744745","1399744746"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0a7fdb1197e334d748fc2e6fea9296e.jpg","text":"TemporaryFile(/tmp/multipartBody6917194169003311370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944343091,"filename":"image_07112025_16_28_22_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a49871d9d448d1da1fb319e294f8f2d.jpg","text":"TemporaryFile(/tmp/multipartBody6150264137955171524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944343091,"filename":"image_07112025_16_28_33_4741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fcd2d070bd030eed8797c5c4bd8c8d9f.jpg","text":"TemporaryFile(/tmp/multipartBody7275782024977640832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944343091,"filename":"image_07112025_16_28_17_3130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09cd1789e3e20025c71e3f0a64b907e6.jpg","text":"TemporaryFile(/tmp/multipartBody8848987886708801296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944343091,"filename":"image_07112025_16_28_20_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c32cb035dfc33793981e4d4c94ce0e91.jpg","text":"TemporaryFile(/tmp/multipartBody8531979518812164593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944343091,"filename":"image_07112025_16_28_28_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39c79558143b709c2b4c1d7680253716.jpg","text":"TemporaryFile(/tmp/multipartBody218537745393796731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944343091,"filename":"image_07112025_16_28_25_2925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744743","file1":"1399744742","file0":"1399744740","file4":"1399744745","file5":"1399744746","file3":"1399744744"},"map_files_photo_id_array":[{"photo_id":"1399744746","filename":"file5"},{"photo_id":"1399744743","filename":"file2"},{"photo_id":"1399744745","filename":"file4"},{"photo_id":"1399744742","filename":"file1"},{"photo_id":"1399744740","filename":"file0"},{"photo_id":"1399744744","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399744743":["hashtag1","hashtag2"]},{"1399744746":["hashtag1","hashtag2"]},{"1399744740":["hashtag1","hashtag2"]},{"1399744742":["hashtag1","hashtag2"]},{"1399744745":["hashtag1","hashtag2"]},{"1399744744":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399744743, 1399744746, 1399744740, 1399744742, 1399744745, 1399744744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.169212341308594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:05:22.606881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_34_9731.jpg', '/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_45_10645.jpg', '/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_55_9623.jpg', '/home/pi/Desktop/images/17122025/05/03/image_17122025_05_04_04_9621.jpg', '/home/pi/Desktop/images/17122025/05/04/image_17122025_05_04_25_9774.jpg', '/home/pi/Desktop/images/17122025/05/04/image_17122025_05_04_44_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_34_9731.jpg
/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_45_10645.jpg
/home/pi/Desktop/images/17122025/05/03/image_17122025_05_03_55_9623.jpg
/home/pi/Desktop/images/17122025/05/03/image_17122025_05_04_04_9621.jpg
/home/pi/Desktop/images/17122025/05/04/image_17122025_05_04_25_9774.jpg
/home/pi/Desktop/images/17122025/05/04/image_17122025_05_04_44_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":["1399744752","1399744754","1399744748","1399744756","1399744750","1399744761"],"photo_ids_order":["1399744748","1399744750","1399744752","1399744754","1399744756","1399744761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dec2dfc6ad37eef924d1f53b6c82628e.jpg","text":"TemporaryFile(/tmp/multipartBody7942892364320611974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944383190,"filename":"image_17122025_05_03_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4336b1ec2d4aee5681f185ad2c48e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody6120674776789957848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944383190,"filename":"image_17122025_05_04_04_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67169624e5c87e9c77dfc87a394b3457.jpg","text":"TemporaryFile(/tmp/multipartBody7655248707598530725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944383190,"filename":"image_17122025_05_03_34_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/825c2f5f57016593065cd9aa29e927dd.jpg","text":"TemporaryFile(/tmp/multipartBody7461571579634059804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944383190,"filename":"image_17122025_05_04_25_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c2144a7b0b53c16d6cf4292ac157e8a.jpg","text":"TemporaryFile(/tmp/multipartBody1649915547915150466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944383190,"filename":"image_17122025_05_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/2025/12/17/3213b4109b6ff3f6e43d2b36fc926ae3.jpg","text":"TemporaryFile(/tmp/multipartBody7611717200169277152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944383190,"filename":"image_17122025_05_04_44_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744752","file1":"1399744750","file0":"1399744748","file4":"1399744756","file5":"1399744761","file3":"1399744754"},"map_files_photo_id_array":[{"photo_id":"1399744761","filename":"file5"},{"photo_id":"1399744752","filename":"file2"},{"photo_id":"1399744756","filename":"file4"},{"photo_id":"1399744750","filename":"file1"},{"photo_id":"1399744748","filename":"file0"},{"photo_id":"1399744754","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744752":["hashtag1","hashtag2"]},{"1399744754":["hashtag1","hashtag2"]},{"1399744748":["hashtag1","hashtag2"]},{"1399744756":["hashtag1","hashtag2"]},{"1399744750":["hashtag1","hashtag2"]},{"1399744761":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744752, 1399744754, 1399744748, 1399744756, 1399744750, 1399744761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.084306478500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:06:02.359810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/04/image_17122025_05_05_05_9601.jpg', '/home/pi/Desktop/images/17122025/05/05/image_17122025_05_05_25_10543.jpg', '/home/pi/Desktop/images/17122025/05/05/image_17122025_05_05_35_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/04/image_17122025_05_05_05_9601.jpg
/home/pi/Desktop/images/17122025/05/05/image_17122025_05_05_25_10543.jpg
/home/pi/Desktop/images/17122025/05/05/image_17122025_05_05_35_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":["1399744764","1399744763","1399744762"],"photo_ids_order":["1399744762","1399744763","1399744764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b17dcf20398cb295a143c8ea22fc33f4.jpg","text":"TemporaryFile(/tmp/multipartBody7583007485549470171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944422862,"filename":"image_17122025_05_05_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/016e8fca7b195059486883f6ce48ce17.jpg","text":"TemporaryFile(/tmp/multipartBody7040431780079022523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944422862,"filename":"image_17122025_05_05_25_10543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1af50572a9a2250e687c8e1a668c5952.jpg","text":"TemporaryFile(/tmp/multipartBody2109679067660229561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944422862,"filename":"image_17122025_05_05_05_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744764","file1":"1399744763","file0":"1399744762"},"map_files_photo_id_array":[{"photo_id":"1399744764","filename":"file2"},{"photo_id":"1399744763","filename":"file1"},{"photo_id":"1399744762","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744764":["hashtag1","hashtag2"]},{"1399744763":["hashtag1","hashtag2"]},{"1399744762":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744764, 1399744763, 1399744762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.727376461029053 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:06:31.930247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:06:41.896760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_53_20352.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_55_1743.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_57_1729.jpg', '/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_58_1544.jpg', '/home/pi/Desktop/images/07112025/16/31/image_07112025_16_31_06_3011.jpg', '/home/pi/Desktop/images/07112025/16/31/image_07112025_16_31_51_41070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_53_20352.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_55_1743.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_57_1729.jpg
/home/pi/Desktop/images/07112025/16/28/image_07112025_16_28_58_1544.jpg
/home/pi/Desktop/images/07112025/16/31/image_07112025_16_31_06_3011.jpg
/home/pi/Desktop/images/07112025/16/31/image_07112025_16_31_51_41070.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744773","1399744775","1399744777","1399744771","1399744774","1399744776"],"photo_ids_order":["1399744771","1399744773","1399744774","1399744775","1399744776","1399744777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97445d4519980e0cce1cfd6be03ebd3f.jpg","text":"TemporaryFile(/tmp/multipartBody7890142212674550469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944462612,"filename":"image_07112025_16_28_55_1743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f552f2734a02f0954f2d7f76c94cc02.jpg","text":"TemporaryFile(/tmp/multipartBody7686846729940535686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944462612,"filename":"image_07112025_16_28_58_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5af036ae27d484e4e0d3715633ef5cba.jpg","text":"TemporaryFile(/tmp/multipartBody8658915536658971130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944462612,"filename":"image_07112025_16_31_51_41070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e3aa1bb471d53f2170e4553d709675a.jpg","text":"TemporaryFile(/tmp/multipartBody5598554117319422824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944462612,"filename":"image_07112025_16_28_53_20352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb654ff5aae19ddc06fc144054e4b509.jpg","text":"TemporaryFile(/tmp/multipartBody1525785261689271291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944462612,"filename":"image_07112025_16_28_57_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b867b38f6717d336283122dc6310248d.jpg","text":"TemporaryFile(/tmp/multipartBody3361827030872620389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944462612,"filename":"image_07112025_16_31_06_3011.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744774","file1":"1399744773","file0":"1399744771","file4":"1399744776","file5":"1399744777","file3":"1399744775"},"map_files_photo_id_array":[{"photo_id":"1399744777","filename":"file5"},{"photo_id":"1399744774","filename":"file2"},{"photo_id":"1399744776","filename":"file4"},{"photo_id":"1399744773","filename":"file1"},{"photo_id":"1399744771","filename":"file0"},{"photo_id":"1399744775","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399744773":["hashtag1","hashtag2"]},{"1399744775":["hashtag1","hashtag2"]},{"1399744777":["hashtag1","hashtag2"]},{"1399744771":["hashtag1","hashtag2"]},{"1399744774":["hashtag1","hashtag2"]},{"1399744776":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399744773, 1399744775, 1399744777, 1399744771, 1399744774, 1399744776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.568790435791016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:07:22.153074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/05/image_17122025_05_05_54_9724.jpg', '/home/pi/Desktop/images/17122025/05/05/image_17122025_05_06_05_10802.jpg', '/home/pi/Desktop/images/17122025/05/06/image_17122025_05_06_24_9823.jpg', '/home/pi/Desktop/images/17122025/05/06/image_17122025_05_06_45_9611.jpg', '/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_15_9699.jpg', '/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_24_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/05/image_17122025_05_05_54_9724.jpg
/home/pi/Desktop/images/17122025/05/05/image_17122025_05_06_05_10802.jpg
/home/pi/Desktop/images/17122025/05/06/image_17122025_05_06_24_9823.jpg
/home/pi/Desktop/images/17122025/05/06/image_17122025_05_06_45_9611.jpg
/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_15_9699.jpg
/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_24_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744791","1399744793","1399744784","1399744795","1399744798","1399744788"],"photo_ids_order":["1399744784","1399744788","1399744791","1399744793","1399744795","1399744798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/938131289040cc40f46214ca7edf0016.jpg","text":"TemporaryFile(/tmp/multipartBody8815756364956009905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944502736,"filename":"image_17122025_05_06_24_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb796ab3f7cf0b191664a0a6113277dd.jpg","text":"TemporaryFile(/tmp/multipartBody9038154873913809359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944502736,"filename":"image_17122025_05_06_45_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35515f1791b1319312f181e31f57bdd8.jpg","text":"TemporaryFile(/tmp/multipartBody7225318904772257469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944502736,"filename":"image_17122025_05_05_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba4219b73ddc748badee19332fcd331e.jpg","text":"TemporaryFile(/tmp/multipartBody7985713746450684131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944502736,"filename":"image_17122025_05_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/2025/12/17/14fa0dbc1dbfc09a1b09643349d0d812.jpg","text":"TemporaryFile(/tmp/multipartBody6688750791019365846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944502736,"filename":"image_17122025_05_07_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba3c024efb7f2bba940149103afb55ef.jpg","text":"TemporaryFile(/tmp/multipartBody1593909338404563499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944502736,"filename":"image_17122025_05_06_05_10802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744791","file1":"1399744788","file0":"1399744784","file4":"1399744795","file5":"1399744798","file3":"1399744793"},"map_files_photo_id_array":[{"photo_id":"1399744798","filename":"file5"},{"photo_id":"1399744791","filename":"file2"},{"photo_id":"1399744795","filename":"file4"},{"photo_id":"1399744788","filename":"file1"},{"photo_id":"1399744784","filename":"file0"},{"photo_id":"1399744793","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744791":["hashtag1","hashtag2"]},{"1399744793":["hashtag1","hashtag2"]},{"1399744784":["hashtag1","hashtag2"]},{"1399744795":["hashtag1","hashtag2"]},{"1399744798":["hashtag1","hashtag2"]},{"1399744788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744791, 1399744793, 1399744784, 1399744795, 1399744798, 1399744788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.326849937438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:08:02.833573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_35_10531.jpg', '/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_45_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_35_10531.jpg
/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_45_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744800","1399744801"],"photo_ids_order":["1399744800","1399744801"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdb0ded4d3d5c45a9e1523abd14ff345.jpg","text":"TemporaryFile(/tmp/multipartBody182903195218139459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944543286,"filename":"image_17122025_05_07_35_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ae0a9a1df6d186fac6873551ce8fd20.jpg","text":"TemporaryFile(/tmp/multipartBody1838029211521755822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944543286,"filename":"image_17122025_05_07_45_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399744801","file0":"1399744800"},"map_files_photo_id_array":[{"photo_id":"1399744801","filename":"file1"},{"photo_id":"1399744800","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744800":["hashtag1","hashtag2"]},{"1399744801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744800, 1399744801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.82864809036255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:08:22.450285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_54_9649.jpg', '/home/pi/Desktop/images/17122025/05/07/image_17122025_05_08_05_10742.jpg', '/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_15_9634.jpg', '/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_24_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_54_9649.jpg
/home/pi/Desktop/images/17122025/05/07/image_17122025_05_08_05_10742.jpg
/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_15_9634.jpg
/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_24_9629.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.40430474281311035 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:08:35.581017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:08:42.404279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/31/image_07112025_16_31_52_1508.jpg', '/home/pi/Desktop/images/07112025/16/32/image_07112025_16_32_02_1741.jpg', '/home/pi/Desktop/images/07112025/16/32/image_07112025_16_32_08_5390.jpg', '/home/pi/Desktop/images/07112025/16/32/image_07112025_16_32_34_26205.jpg', '/home/pi/Desktop/images/07112025/16/34/image_07112025_16_34_09_3015.jpg', '/home/pi/Desktop/images/07112025/16/34/image_07112025_16_34_47_1774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/31/image_07112025_16_31_52_1508.jpg
/home/pi/Desktop/images/07112025/16/32/image_07112025_16_32_02_1741.jpg
/home/pi/Desktop/images/07112025/16/32/image_07112025_16_32_08_5390.jpg
/home/pi/Desktop/images/07112025/16/32/image_07112025_16_32_34_26205.jpg
/home/pi/Desktop/images/07112025/16/34/image_07112025_16_34_09_3015.jpg
/home/pi/Desktop/images/07112025/16/34/image_07112025_16_34_47_1774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744824","1399744821","1399744823","1399744817","1399744822","1399744825"],"photo_ids_order":["1399744817","1399744821","1399744822","1399744823","1399744824","1399744825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92d5440510ce911d754e9416d4177e78.jpg","text":"TemporaryFile(/tmp/multipartBody2814825088287718770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944583103,"filename":"image_07112025_16_34_09_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/389ff0bf8df38b22d1d75497e21cfedc.jpg","text":"TemporaryFile(/tmp/multipartBody2211663314325907192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944583103,"filename":"image_07112025_16_32_02_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f490e2d6a2b7b3a7941ae53e28a38b16.jpg","text":"TemporaryFile(/tmp/multipartBody2005007754336960280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944583103,"filename":"image_07112025_16_32_34_26205.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0102e81e5b1d99aa61c80442682cefe6.jpg","text":"TemporaryFile(/tmp/multipartBody3390112972649759711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944583103,"filename":"image_07112025_16_31_52_1508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34319e154b3f1ab5bebb6fe0fafe3cbe.jpg","text":"TemporaryFile(/tmp/multipartBody5849437920719673025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944583103,"filename":"image_07112025_16_32_08_5390.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/edd7d68686ac2c04e6d643f9440233d6.jpg","text":"TemporaryFile(/tmp/multipartBody2929627303046814780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944583103,"filename":"image_07112025_16_34_47_1774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744822","file1":"1399744821","file0":"1399744817","file4":"1399744824","file5":"1399744825","file3":"1399744823"},"map_files_photo_id_array":[{"photo_id":"1399744825","filename":"file5"},{"photo_id":"1399744822","filename":"file2"},{"photo_id":"1399744824","filename":"file4"},{"photo_id":"1399744821","filename":"file1"},{"photo_id":"1399744817","filename":"file0"},{"photo_id":"1399744823","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399744824":["hashtag1","hashtag2"]},{"1399744821":["hashtag1","hashtag2"]},{"1399744823":["hashtag1","hashtag2"]},{"1399744817":["hashtag1","hashtag2"]},{"1399744822":["hashtag1","hashtag2"]},{"1399744825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399744824, 1399744821, 1399744823, 1399744817, 1399744822, 1399744825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.371055126190186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:09:22.639301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_54_9649.jpg', '/home/pi/Desktop/images/17122025/05/07/image_17122025_05_08_05_10742.jpg', '/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_15_9634.jpg', '/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_24_9629.jpg', '/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_35_10653.jpg', '/home/pi/Desktop/images/17122025/05/08/image_17122025_05_09_04_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/07/image_17122025_05_07_54_9649.jpg
/home/pi/Desktop/images/17122025/05/07/image_17122025_05_08_05_10742.jpg
/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_15_9634.jpg
/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_24_9629.jpg
/home/pi/Desktop/images/17122025/05/08/image_17122025_05_08_35_10653.jpg
/home/pi/Desktop/images/17122025/05/08/image_17122025_05_09_04_9721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744830","1399744833","1399744841","1399744835","1399744837","1399744831"],"photo_ids_order":["1399744830","1399744831","1399744833","1399744835","1399744837","1399744841"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28792b62edb3990253e3df4dd8da5b88.jpg","text":"TemporaryFile(/tmp/multipartBody7598981246273046807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944623195,"filename":"image_17122025_05_07_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e9e5b287c6734205619060e12aefe72.jpg","text":"TemporaryFile(/tmp/multipartBody8779488455940146937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944623195,"filename":"image_17122025_05_08_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afe8aef9ae4c005355b391a419dcfd20.jpg","text":"TemporaryFile(/tmp/multipartBody4807827949863741855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944623195,"filename":"image_17122025_05_09_04_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f92b07fe148692fa7b868a7696224ec2.jpg","text":"TemporaryFile(/tmp/multipartBody6140794904971582711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944623195,"filename":"image_17122025_05_08_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a71aaf660672ae7f956cdcdc894ea039.jpg","text":"TemporaryFile(/tmp/multipartBody5658645247133387947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944623195,"filename":"image_17122025_05_08_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79d29ea796cf3d7f1f3a5128c9614965.jpg","text":"TemporaryFile(/tmp/multipartBody1781361918903518657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944623195,"filename":"image_17122025_05_08_05_10742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744833","file1":"1399744831","file0":"1399744830","file4":"1399744837","file5":"1399744841","file3":"1399744835"},"map_files_photo_id_array":[{"photo_id":"1399744841","filename":"file5"},{"photo_id":"1399744833","filename":"file2"},{"photo_id":"1399744837","filename":"file4"},{"photo_id":"1399744831","filename":"file1"},{"photo_id":"1399744830","filename":"file0"},{"photo_id":"1399744835","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744830":["hashtag1","hashtag2"]},{"1399744833":["hashtag1","hashtag2"]},{"1399744841":["hashtag1","hashtag2"]},{"1399744835":["hashtag1","hashtag2"]},{"1399744837":["hashtag1","hashtag2"]},{"1399744831":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744830, 1399744833, 1399744841, 1399744835, 1399744837, 1399744831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.02634525299072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:10:02.384336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 05:10:12.008567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:10:24.833096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/09/image_17122025_05_09_14_9827.jpg', '/home/pi/Desktop/images/17122025/05/09/image_17122025_05_09_35_9648.jpg', '/home/pi/Desktop/images/17122025/05/09/image_17122025_05_09_44_9638.jpg', '/home/pi/Desktop/images/17122025/05/09/image_17122025_05_09_55_10574.jpg', '/home/pi/Desktop/images/17122025/05/09/image_17122025_05_10_04_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/09/image_17122025_05_09_14_9827.jpg
/home/pi/Desktop/images/17122025/05/09/image_17122025_05_09_35_9648.jpg
/home/pi/Desktop/images/17122025/05/09/image_17122025_05_09_44_9638.jpg
/home/pi/Desktop/images/17122025/05/09/image_17122025_05_09_55_10574.jpg
/home/pi/Desktop/images/17122025/05/09/image_17122025_05_10_04_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744853","1399744862","1399744858","1399744855","1399744860"],"photo_ids_order":["1399744853","1399744855","1399744858","1399744860","1399744862"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/239f789dc2da7844634eebe2a33a3741.jpg","text":"TemporaryFile(/tmp/multipartBody597181298675698373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944685356,"filename":"image_17122025_05_09_14_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61b4c8c2ec0b79a8283a0c237e8364b0.jpg","text":"TemporaryFile(/tmp/multipartBody6853602289349329154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944685356,"filename":"image_17122025_05_10_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be20f889da32ab431b40eec9b3bf3f72.jpg","text":"TemporaryFile(/tmp/multipartBody2053064933330096075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944685356,"filename":"image_17122025_05_09_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd2a0309c30fa1237d0035e48a07653b.jpg","text":"TemporaryFile(/tmp/multipartBody2210013340059000830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944685356,"filename":"image_17122025_05_09_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72608ab87ff99bba94bfe430f13b8a14.jpg","text":"TemporaryFile(/tmp/multipartBody5617841346486451918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944685356,"filename":"image_17122025_05_09_55_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744858","file1":"1399744855","file0":"1399744853","file4":"1399744862","file3":"1399744860"},"map_files_photo_id_array":[{"photo_id":"1399744858","filename":"file2"},{"photo_id":"1399744862","filename":"file4"},{"photo_id":"1399744855","filename":"file1"},{"photo_id":"1399744853","filename":"file0"},{"photo_id":"1399744860","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744853":["hashtag1","hashtag2"]},{"1399744862":["hashtag1","hashtag2"]},{"1399744858":["hashtag1","hashtag2"]},{"1399744855":["hashtag1","hashtag2"]},{"1399744860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744853, 1399744862, 1399744858, 1399744855, 1399744860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.58131170272827 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:11:02.530317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:11:11.832767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:11:21.890021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/10/image_17122025_05_10_14_9741.jpg', '/home/pi/Desktop/images/17122025/05/10/image_17122025_05_11_04_9677.jpg', '/home/pi/Desktop/images/17122025/05/11/image_17122025_05_11_15_10671.jpg', '/home/pi/Desktop/images/17122025/05/11/image_17122025_05_11_25_9975.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/10/image_17122025_05_10_14_9741.jpg
/home/pi/Desktop/images/17122025/05/10/image_17122025_05_11_04_9677.jpg
/home/pi/Desktop/images/17122025/05/11/image_17122025_05_11_15_10671.jpg
/home/pi/Desktop/images/17122025/05/11/image_17122025_05_11_25_9975.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744883","1399744877","1399744879","1399744881"],"photo_ids_order":["1399744877","1399744879","1399744881","1399744883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06c24d6c588731d0c4a2d8154bdf3ed3.jpg","text":"TemporaryFile(/tmp/multipartBody1466754215816704257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944745281,"filename":"image_17122025_05_11_25_9975.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4a937decebfde29a56f156377dd14e4.jpg","text":"TemporaryFile(/tmp/multipartBody3555872268502537492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944745281,"filename":"image_17122025_05_10_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f437e6d4accb8249333c1aa95b6f4217.jpg","text":"TemporaryFile(/tmp/multipartBody785304714036723535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944745281,"filename":"image_17122025_05_11_04_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6be58448587e97049365aab474b3948.jpg","text":"TemporaryFile(/tmp/multipartBody2660661857930933031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944745281,"filename":"image_17122025_05_11_15_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744881","file1":"1399744879","file0":"1399744877","file3":"1399744883"},"map_files_photo_id_array":[{"photo_id":"1399744881","filename":"file2"},{"photo_id":"1399744879","filename":"file1"},{"photo_id":"1399744877","filename":"file0"},{"photo_id":"1399744883","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744883":["hashtag1","hashtag2"]},{"1399744877":["hashtag1","hashtag2"]},{"1399744879":["hashtag1","hashtag2"]},{"1399744881":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744883, 1399744877, 1399744879, 1399744881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 30.04397416114807 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:12:02.504327
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:12:12.088348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:12:22.062249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/11/image_17122025_05_11_54_10295.jpg', '/home/pi/Desktop/images/17122025/05/11/image_17122025_05_12_04_9685.jpg', '/home/pi/Desktop/images/17122025/05/12/image_17122025_05_12_15_10849.jpg', '/home/pi/Desktop/images/17122025/05/12/image_17122025_05_12_34_9508.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/11/image_17122025_05_11_54_10295.jpg
/home/pi/Desktop/images/17122025/05/11/image_17122025_05_12_04_9685.jpg
/home/pi/Desktop/images/17122025/05/12/image_17122025_05_12_15_10849.jpg
/home/pi/Desktop/images/17122025/05/12/image_17122025_05_12_34_9508.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744894","1399744900","1399744893","1399744896"],"photo_ids_order":["1399744893","1399744894","1399744896","1399744900"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b58375c689e8bdef977569dd9cdadf80.jpg","text":"TemporaryFile(/tmp/multipartBody7598049591207781374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944802574,"filename":"image_17122025_05_12_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95c5fa4df5df5f1739951d170e04f81a.jpg","text":"TemporaryFile(/tmp/multipartBody317210406013965610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944802574,"filename":"image_17122025_05_12_34_9508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aedab861d001141e583e8c3aaa9766dd.jpg","text":"TemporaryFile(/tmp/multipartBody1608468428021570740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944802574,"filename":"image_17122025_05_11_54_10295.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af015bf76bd838834c8dbd3acb087f6f.jpg","text":"TemporaryFile(/tmp/multipartBody6413034453708318231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944802574,"filename":"image_17122025_05_12_15_10849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744896","file1":"1399744894","file0":"1399744893","file3":"1399744900"},"map_files_photo_id_array":[{"photo_id":"1399744896","filename":"file2"},{"photo_id":"1399744894","filename":"file1"},{"photo_id":"1399744893","filename":"file0"},{"photo_id":"1399744900","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744894":["hashtag1","hashtag2"]},{"1399744900":["hashtag1","hashtag2"]},{"1399744893":["hashtag1","hashtag2"]},{"1399744896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744894, 1399744900, 1399744893, 1399744896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.460855960845947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:13:03.048156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:13:12.333934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:13:22.342948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/12/image_17122025_05_12_45_10657.jpg', '/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_25_10769.jpg', '/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_35_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/12/image_17122025_05_12_45_10657.jpg
/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_25_10769.jpg
/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_35_9685.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.3812692165374756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:13:32.514310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:13:42.275994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_07_3018.jpg', '/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_27_19670.jpg', '/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_28_1860.jpg', '/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_30_1708.jpg', '/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_32_1781.jpg', '/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_44_12069.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_07_3018.jpg
/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_27_19670.jpg
/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_28_1860.jpg
/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_30_1708.jpg
/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_32_1781.jpg
/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_44_12069.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744932","1399744926","1399744929","1399744931","1399744930","1399744933"],"photo_ids_order":["1399744926","1399744929","1399744930","1399744931","1399744932","1399744933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6acc887fd5bf31faeceb40475c365b75.jpg","text":"TemporaryFile(/tmp/multipartBody2876403113511964031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944883000,"filename":"image_07112025_16_36_32_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a73e174883e5fb2dcbb8ad4b977239ac.jpg","text":"TemporaryFile(/tmp/multipartBody3900773652766828694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944883000,"filename":"image_07112025_16_36_07_3018.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a772cda68b9061643765b22364ab8dc.jpg","text":"TemporaryFile(/tmp/multipartBody2916673075734153909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944883000,"filename":"image_07112025_16_36_27_19670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3533c36cb07596f63e879f4f21ca477.jpg","text":"TemporaryFile(/tmp/multipartBody8323015089296016184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944883000,"filename":"image_07112025_16_36_30_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c081c7bed7f3a3c149a397152c2f299a.jpg","text":"TemporaryFile(/tmp/multipartBody7044616681578359906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944883000,"filename":"image_07112025_16_36_28_1860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76347eb68721b87940427889507df607.jpg","text":"TemporaryFile(/tmp/multipartBody5477564418988028498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944883000,"filename":"image_07112025_16_36_44_12069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744930","file1":"1399744929","file0":"1399744926","file4":"1399744932","file5":"1399744933","file3":"1399744931"},"map_files_photo_id_array":[{"photo_id":"1399744933","filename":"file5"},{"photo_id":"1399744930","filename":"file2"},{"photo_id":"1399744932","filename":"file4"},{"photo_id":"1399744929","filename":"file1"},{"photo_id":"1399744926","filename":"file0"},{"photo_id":"1399744931","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399744932":["hashtag1","hashtag2"]},{"1399744926":["hashtag1","hashtag2"]},{"1399744929":["hashtag1","hashtag2"]},{"1399744931":["hashtag1","hashtag2"]},{"1399744930":["hashtag1","hashtag2"]},{"1399744933":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399744932, 1399744926, 1399744929, 1399744931, 1399744930, 1399744933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72806906700134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:14:22.552385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/12/image_17122025_05_12_45_10657.jpg', '/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_25_10769.jpg', '/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_35_9685.jpg', '/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_55_10723.jpg', '/home/pi/Desktop/images/17122025/05/14/image_17122025_05_14_14_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/12/image_17122025_05_12_45_10657.jpg
/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_25_10769.jpg
/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_35_9685.jpg
/home/pi/Desktop/images/17122025/05/13/image_17122025_05_13_55_10723.jpg
/home/pi/Desktop/images/17122025/05/14/image_17122025_05_14_14_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744953","1399744955","1399744945","1399744939","1399744942"],"photo_ids_order":["1399744939","1399744942","1399744945","1399744953","1399744955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e786b6dce68ff3ff3f9a73147a063c9.jpg","text":"TemporaryFile(/tmp/multipartBody6813256295704764712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944923131,"filename":"image_17122025_05_13_55_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44f6f7dd2bf748774cf3342fae19ae94.jpg","text":"TemporaryFile(/tmp/multipartBody913332598977156436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944923131,"filename":"image_17122025_05_14_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b379f7a55fff5ae99531d07e9d59dc12.jpg","text":"TemporaryFile(/tmp/multipartBody3641698638852989115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944923131,"filename":"image_17122025_05_13_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56a908d3c750cada342ed9a2fbc13e2a.jpg","text":"TemporaryFile(/tmp/multipartBody591073177390141267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944923131,"filename":"image_17122025_05_12_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5926dc5da08d079b44e4c4f72af26eeb.jpg","text":"TemporaryFile(/tmp/multipartBody5419663351012924445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944923131,"filename":"image_17122025_05_13_25_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744945","file1":"1399744942","file0":"1399744939","file4":"1399744955","file3":"1399744953"},"map_files_photo_id_array":[{"photo_id":"1399744945","filename":"file2"},{"photo_id":"1399744955","filename":"file4"},{"photo_id":"1399744942","filename":"file1"},{"photo_id":"1399744939","filename":"file0"},{"photo_id":"1399744953","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744953":["hashtag1","hashtag2"]},{"1399744955":["hashtag1","hashtag2"]},{"1399744945":["hashtag1","hashtag2"]},{"1399744939":["hashtag1","hashtag2"]},{"1399744942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744953, 1399744955, 1399744945, 1399744939, 1399744942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.16919422149658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:15:02.447779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:15:11.795451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:15:21.856302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/14/image_17122025_05_14_45_9694.jpg', '/home/pi/Desktop/images/17122025/05/14/image_17122025_05_15_05_10770.jpg', '/home/pi/Desktop/images/17122025/05/15/image_17122025_05_15_15_9715.jpg', '/home/pi/Desktop/images/17122025/05/15/image_17122025_05_15_24_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/14/image_17122025_05_14_45_9694.jpg
/home/pi/Desktop/images/17122025/05/14/image_17122025_05_15_05_10770.jpg
/home/pi/Desktop/images/17122025/05/15/image_17122025_05_15_15_9715.jpg
/home/pi/Desktop/images/17122025/05/15/image_17122025_05_15_24_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":["1399744970","1399744964","1399744966","1399744968"],"photo_ids_order":["1399744964","1399744966","1399744968","1399744970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a272ac4ca8402d8e24db1153eecd5648.jpg","text":"TemporaryFile(/tmp/multipartBody1349312323390713809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944982346,"filename":"image_17122025_05_15_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbb5ad0cc4791215ed2d52817ddaf3b4.jpg","text":"TemporaryFile(/tmp/multipartBody5668719426840489050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944982346,"filename":"image_17122025_05_14_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46370d9a6750237b1c814394b9fcf6ed.jpg","text":"TemporaryFile(/tmp/multipartBody4205281347984469556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944982346,"filename":"image_17122025_05_15_05_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a4ab226c87cfdf5801ea2ba505e02d7.jpg","text":"TemporaryFile(/tmp/multipartBody5112561384731906135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765944982346,"filename":"image_17122025_05_15_15_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744968","file1":"1399744966","file0":"1399744964","file3":"1399744970"},"map_files_photo_id_array":[{"photo_id":"1399744968","filename":"file2"},{"photo_id":"1399744966","filename":"file1"},{"photo_id":"1399744964","filename":"file0"},{"photo_id":"1399744970","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744970":["hashtag1","hashtag2"]},{"1399744964":["hashtag1","hashtag2"]},{"1399744966":["hashtag1","hashtag2"]},{"1399744968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744970, 1399744964, 1399744966, 1399744968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.35345768928528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:16:02.374579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:16:11.979058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:16:22.121385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/15/image_17122025_05_15_54_9639.jpg', '/home/pi/Desktop/images/17122025/05/15/image_17122025_05_16_04_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/15/image_17122025_05_15_54_9639.jpg
/home/pi/Desktop/images/17122025/05/15/image_17122025_05_16_04_9889.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399744979","1399744981"],"photo_ids_order":["1399744979","1399744981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c18ff9bd76107104329a3368abe2558.jpg","text":"TemporaryFile(/tmp/multipartBody6625962241427833710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945042564,"filename":"image_17122025_05_15_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad86c35dfad4dc7eb19207427646137a.jpg","text":"TemporaryFile(/tmp/multipartBody8425833954723555420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945042564,"filename":"image_17122025_05_16_04_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399744981","file0":"1399744979"},"map_files_photo_id_array":[{"photo_id":"1399744981","filename":"file1"},{"photo_id":"1399744979","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399744979":["hashtag1","hashtag2"]},{"1399744981":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399744979, 1399744981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.954113006591797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:16:42.073443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_47_1688.jpg', '/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_51_1545.jpg', '/home/pi/Desktop/images/07112025/16/37/image_07112025_16_37_02_1634.jpg', '/home/pi/Desktop/images/07112025/16/37/image_07112025_16_37_04_1765.jpg', '/home/pi/Desktop/images/07112025/16/37/image_07112025_16_37_19_14970.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_08_3014.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_47_1688.jpg
/home/pi/Desktop/images/07112025/16/36/image_07112025_16_36_51_1545.jpg
/home/pi/Desktop/images/07112025/16/37/image_07112025_16_37_02_1634.jpg
/home/pi/Desktop/images/07112025/16/37/image_07112025_16_37_04_1765.jpg
/home/pi/Desktop/images/07112025/16/37/image_07112025_16_37_19_14970.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_08_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":["1399744991","1399744994","1399744993","1399744996","1399744990","1399744995"],"photo_ids_order":["1399744990","1399744991","1399744993","1399744994","1399744995","1399744996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39b37e6e21491e937480ca9cdf83a7a7.jpg","text":"TemporaryFile(/tmp/multipartBody1361644707825965956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945062798,"filename":"image_07112025_16_36_51_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4948896e33ee776bca05750768570bef.jpg","text":"TemporaryFile(/tmp/multipartBody5578628952572017734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945062798,"filename":"image_07112025_16_37_04_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b94af58d3e5399d38d8a1eb4df5f4b57.jpg","text":"TemporaryFile(/tmp/multipartBody6246834749462540695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945062798,"filename":"image_07112025_16_37_02_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32e1f07493fded09c1b61cb4de2eceaf.jpg","text":"TemporaryFile(/tmp/multipartBody2857411009730744082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945062798,"filename":"image_07112025_16_44_08_3014.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c32faa6aaaf4eca7ec7adac9e34fc9d.jpg","text":"TemporaryFile(/tmp/multipartBody3502111324193621244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945062798,"filename":"image_07112025_16_36_47_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c290dc1a8e235bc04bf50e8922f15d6.jpg","text":"TemporaryFile(/tmp/multipartBody3389631534892834118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945062798,"filename":"image_07112025_16_37_19_14970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399744993","file1":"1399744991","file0":"1399744990","file4":"1399744995","file5":"1399744996","file3":"1399744994"},"map_files_photo_id_array":[{"photo_id":"1399744996","filename":"file5"},{"photo_id":"1399744993","filename":"file2"},{"photo_id":"1399744995","filename":"file4"},{"photo_id":"1399744991","filename":"file1"},{"photo_id":"1399744990","filename":"file0"},{"photo_id":"1399744994","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399744991":["hashtag1","hashtag2"]},{"1399744994":["hashtag1","hashtag2"]},{"1399744993":["hashtag1","hashtag2"]},{"1399744996":["hashtag1","hashtag2"]},{"1399744990":["hashtag1","hashtag2"]},{"1399744995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399744991, 1399744994, 1399744993, 1399744996, 1399744990, 1399744995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13455605506897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:17:22.283575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/16/image_17122025_05_16_15_10616.jpg', '/home/pi/Desktop/images/17122025/05/16/image_17122025_05_17_05_10594.jpg', '/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_15_9648.jpg', '/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_24_9745.jpg', '/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_35_10703.jpg', '/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_45_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/16/image_17122025_05_16_15_10616.jpg
/home/pi/Desktop/images/17122025/05/16/image_17122025_05_17_05_10594.jpg
/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_15_9648.jpg
/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_24_9745.jpg
/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_35_10703.jpg
/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_45_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":["1399745010","1399745013","1399745016","1399745003","1399745006","1399745008"],"photo_ids_order":["1399745003","1399745006","1399745008","1399745010","1399745013","1399745016"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a81877f270d3a0f13dabad68d7ee38d.jpg","text":"TemporaryFile(/tmp/multipartBody60171683759520195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945106054,"filename":"image_17122025_05_17_24_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/270412d13451896b2a3fdeff431fe696.jpg","text":"TemporaryFile(/tmp/multipartBody7160551129108236621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945106054,"filename":"image_17122025_05_17_35_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76a4314f619c4c8e16577a66bc3af534.jpg","text":"TemporaryFile(/tmp/multipartBody2989445765793896245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945106054,"filename":"image_17122025_05_17_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4662b6948a60fa7f8e6a6511f2073746.jpg","text":"TemporaryFile(/tmp/multipartBody659405696429769124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945106054,"filename":"image_17122025_05_16_15_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3066c1f6cee1bcd483d40da0c522d455.jpg","text":"TemporaryFile(/tmp/multipartBody2874940291859571410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945106054,"filename":"image_17122025_05_17_05_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6618ca97d9c5984a06967d1d417f0053.jpg","text":"TemporaryFile(/tmp/multipartBody5633938635416092784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945106054,"filename":"image_17122025_05_17_15_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745008","file1":"1399745006","file0":"1399745003","file4":"1399745013","file5":"1399745016","file3":"1399745010"},"map_files_photo_id_array":[{"photo_id":"1399745016","filename":"file5"},{"photo_id":"1399745008","filename":"file2"},{"photo_id":"1399745013","filename":"file4"},{"photo_id":"1399745006","filename":"file1"},{"photo_id":"1399745003","filename":"file0"},{"photo_id":"1399745010","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745010":["hashtag1","hashtag2"]},{"1399745013":["hashtag1","hashtag2"]},{"1399745016":["hashtag1","hashtag2"]},{"1399745003":["hashtag1","hashtag2"]},{"1399745006":["hashtag1","hashtag2"]},{"1399745008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745010, 1399745013, 1399745016, 1399745003, 1399745006, 1399745008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.472267389297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:18:05.837244
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 05:18:15.274904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:18:29.852917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_55_9854.jpg', '/home/pi/Desktop/images/17122025/05/18/image_17122025_05_18_44_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/17/image_17122025_05_17_55_9854.jpg
/home/pi/Desktop/images/17122025/05/18/image_17122025_05_18_44_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":["1399745030","1399745027"],"photo_ids_order":["1399745027","1399745030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6624187e9be49fc304e293f09b2da4ac.jpg","text":"TemporaryFile(/tmp/multipartBody6670529890971687587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945170282,"filename":"image_17122025_05_18_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adc2c5760ec831de3a3aa0b6e8f6bfc5.jpg","text":"TemporaryFile(/tmp/multipartBody3810881379360215081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945170282,"filename":"image_17122025_05_17_55_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399745030","file0":"1399745027"},"map_files_photo_id_array":[{"photo_id":"1399745030","filename":"file1"},{"photo_id":"1399745027","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745030":["hashtag1","hashtag2"]},{"1399745027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745030, 1399745027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.77086067199707 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.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! 
2025-12-17 05:19:06.892738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload, only_old=x.only_old)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 291, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:19:21.922623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/18/image_17122025_05_18_55_10818.jpg', '/home/pi/Desktop/images/17122025/05/18/image_17122025_05_19_05_9607.jpg', '/home/pi/Desktop/images/17122025/05/19/image_17122025_05_19_25_10725.jpg', '/home/pi/Desktop/images/17122025/05/19/image_17122025_05_19_44_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/18/image_17122025_05_18_55_10818.jpg
/home/pi/Desktop/images/17122025/05/18/image_17122025_05_19_05_9607.jpg
/home/pi/Desktop/images/17122025/05/19/image_17122025_05_19_25_10725.jpg
/home/pi/Desktop/images/17122025/05/19/image_17122025_05_19_44_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":["1399745052","1399745051","1399745054","1399745048"],"photo_ids_order":["1399745048","1399745051","1399745052","1399745054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c61f140adce04fcdc367e27d2a15779.jpg","text":"TemporaryFile(/tmp/multipartBody6716637796141670520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945222414,"filename":"image_17122025_05_19_25_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/251f16f30dd8f35f1e72ee63ea5500e4.jpg","text":"TemporaryFile(/tmp/multipartBody2235642377690229071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945222414,"filename":"image_17122025_05_19_05_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ba498b31ebde9d0c7f3c04ea9fc56f7.jpg","text":"TemporaryFile(/tmp/multipartBody3318727958535039310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945222414,"filename":"image_17122025_05_19_44_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea94eca917665b4a46d9c7955f9ccc1b.jpg","text":"TemporaryFile(/tmp/multipartBody8442519408754899828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945222414,"filename":"image_17122025_05_18_55_10818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745052","file1":"1399745051","file0":"1399745048","file3":"1399745054"},"map_files_photo_id_array":[{"photo_id":"1399745052","filename":"file2"},{"photo_id":"1399745051","filename":"file1"},{"photo_id":"1399745048","filename":"file0"},{"photo_id":"1399745054","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745052":["hashtag1","hashtag2"]},{"1399745051":["hashtag1","hashtag2"]},{"1399745054":["hashtag1","hashtag2"]},{"1399745048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745052, 1399745051, 1399745054, 1399745048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.039220809936523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:20:03.255690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:20:12.895667
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:20:22.743786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_11_3384.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_14_2684.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_46_32252.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_48_1804.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_49_1632.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_53_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_11_3384.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_14_2684.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_46_32252.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_48_1804.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_49_1632.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_53_1639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5967388153076172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:20:32.721267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:20:42.770616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_11_3384.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_14_2684.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_46_32252.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_48_1804.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_49_1632.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_53_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_11_3384.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_14_2684.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_46_32252.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_48_1804.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_49_1632.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_53_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":["1399745090","1399745084","1399745092","1399745091","1399745088","1399745079"],"photo_ids_order":["1399745079","1399745084","1399745088","1399745090","1399745091","1399745092"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2285dd9f4816a9b9806158e83d92ba2.jpg","text":"TemporaryFile(/tmp/multipartBody7730131129963603808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945303359,"filename":"image_07112025_16_44_48_1804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2f20ca56a199f9a7d8ba925c75d28ab.jpg","text":"TemporaryFile(/tmp/multipartBody4715439726689296845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945303359,"filename":"image_07112025_16_44_14_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fed8caa4195f4dfef0d08061458c8d97.jpg","text":"TemporaryFile(/tmp/multipartBody7175774458512941278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945303359,"filename":"image_07112025_16_44_53_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ee3aefa3d105ab0db839ce51f06aeee.jpg","text":"TemporaryFile(/tmp/multipartBody8034405339376844362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945303359,"filename":"image_07112025_16_44_49_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09075deb44830af2b5f4076e3ff75659.jpg","text":"TemporaryFile(/tmp/multipartBody2686329191409660019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945303359,"filename":"image_07112025_16_44_46_32252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/644f7702c71ae36604bd11eae27abd78.jpg","text":"TemporaryFile(/tmp/multipartBody4067777664168572777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945303359,"filename":"image_07112025_16_44_11_3384.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745088","file1":"1399745084","file0":"1399745079","file4":"1399745091","file5":"1399745092","file3":"1399745090"},"map_files_photo_id_array":[{"photo_id":"1399745092","filename":"file5"},{"photo_id":"1399745088","filename":"file2"},{"photo_id":"1399745091","filename":"file4"},{"photo_id":"1399745084","filename":"file1"},{"photo_id":"1399745079","filename":"file0"},{"photo_id":"1399745090","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745090":["hashtag1","hashtag2"]},{"1399745084":["hashtag1","hashtag2"]},{"1399745092":["hashtag1","hashtag2"]},{"1399745091":["hashtag1","hashtag2"]},{"1399745088":["hashtag1","hashtag2"]},{"1399745079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745090, 1399745084, 1399745092, 1399745091, 1399745088, 1399745079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.203352212905884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:21:22.117956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/19/image_17122025_05_19_55_10601.jpg', '/home/pi/Desktop/images/17122025/05/19/image_17122025_05_20_05_9749.jpg', '/home/pi/Desktop/images/17122025/05/20/image_17122025_05_20_14_9502.jpg', '/home/pi/Desktop/images/17122025/05/20/image_17122025_05_20_24_9827.jpg', '/home/pi/Desktop/images/17122025/05/20/image_17122025_05_20_35_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/19/image_17122025_05_19_55_10601.jpg
/home/pi/Desktop/images/17122025/05/19/image_17122025_05_20_05_9749.jpg
/home/pi/Desktop/images/17122025/05/20/image_17122025_05_20_14_9502.jpg
/home/pi/Desktop/images/17122025/05/20/image_17122025_05_20_24_9827.jpg
/home/pi/Desktop/images/17122025/05/20/image_17122025_05_20_35_10549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745103","1399745100","1399745105","1399745107","1399745097"],"photo_ids_order":["1399745097","1399745100","1399745103","1399745105","1399745107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f06cb95fa930ad14d56af6012470678.jpg","text":"TemporaryFile(/tmp/multipartBody5307481661209494606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945342671,"filename":"image_17122025_05_20_14_9502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae959b797f4e7bd03fee6f0fb20cdc25.jpg","text":"TemporaryFile(/tmp/multipartBody4886903704379463586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945342671,"filename":"image_17122025_05_20_05_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97d91a60db8e5308a98601deb498da5c.jpg","text":"TemporaryFile(/tmp/multipartBody5635602686890397671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945342671,"filename":"image_17122025_05_20_24_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/491e99c00a6cd8592fa8801e6d6815a1.jpg","text":"TemporaryFile(/tmp/multipartBody3891550307505195567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945342671,"filename":"image_17122025_05_20_35_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9da901b38054a1c8da194a8a465eb830.jpg","text":"TemporaryFile(/tmp/multipartBody7885703291112780379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945342671,"filename":"image_17122025_05_19_55_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745103","file1":"1399745100","file0":"1399745097","file4":"1399745107","file3":"1399745105"},"map_files_photo_id_array":[{"photo_id":"1399745103","filename":"file2"},{"photo_id":"1399745107","filename":"file4"},{"photo_id":"1399745100","filename":"file1"},{"photo_id":"1399745097","filename":"file0"},{"photo_id":"1399745105","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745103":["hashtag1","hashtag2"]},{"1399745100":["hashtag1","hashtag2"]},{"1399745105":["hashtag1","hashtag2"]},{"1399745107":["hashtag1","hashtag2"]},{"1399745097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745103, 1399745100, 1399745105, 1399745107, 1399745097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.632105112075806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:22:02.666217
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:22:12.217821
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:22:22.245198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/21/image_17122025_05_21_55_9741.jpg', '/home/pi/Desktop/images/17122025/05/21/image_17122025_05_22_04_9618.jpg', '/home/pi/Desktop/images/17122025/05/22/image_17122025_05_22_25_9756.jpg', '/home/pi/Desktop/images/17122025/05/22/image_17122025_05_22_34_9688.jpg', '/home/pi/Desktop/images/17122025/05/22/image_17122025_05_22_45_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/21/image_17122025_05_21_55_9741.jpg
/home/pi/Desktop/images/17122025/05/21/image_17122025_05_22_04_9618.jpg
/home/pi/Desktop/images/17122025/05/22/image_17122025_05_22_25_9756.jpg
/home/pi/Desktop/images/17122025/05/22/image_17122025_05_22_34_9688.jpg
/home/pi/Desktop/images/17122025/05/22/image_17122025_05_22_45_10659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745118","1399745127","1399745115","1399745123","1399745125"],"photo_ids_order":["1399745115","1399745118","1399745123","1399745125","1399745127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04ca212b51cffd4c4198458353dfa31a.jpg","text":"TemporaryFile(/tmp/multipartBody3613583991045001647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945402824,"filename":"image_17122025_05_22_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4afc1a78960c4cad8fee6bb312fa36cb.jpg","text":"TemporaryFile(/tmp/multipartBody6913758519956425963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945402824,"filename":"image_17122025_05_22_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6db98ff0c62a10ed692eef70ceaa2079.jpg","text":"TemporaryFile(/tmp/multipartBody6758338146484035448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945402824,"filename":"image_17122025_05_21_55_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e650b4bdced46d4db685e6495b4bfe3.jpg","text":"TemporaryFile(/tmp/multipartBody8557217652455541847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945402824,"filename":"image_17122025_05_22_25_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d93861a3fec325b41371066483286440.jpg","text":"TemporaryFile(/tmp/multipartBody4222445535009872660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945402824,"filename":"image_17122025_05_22_34_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745123","file1":"1399745118","file0":"1399745115","file4":"1399745127","file3":"1399745125"},"map_files_photo_id_array":[{"photo_id":"1399745123","filename":"file2"},{"photo_id":"1399745127","filename":"file4"},{"photo_id":"1399745118","filename":"file1"},{"photo_id":"1399745115","filename":"file0"},{"photo_id":"1399745125","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745118":["hashtag1","hashtag2"]},{"1399745127":["hashtag1","hashtag2"]},{"1399745115":["hashtag1","hashtag2"]},{"1399745123":["hashtag1","hashtag2"]},{"1399745125":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745118, 1399745127, 1399745115, 1399745123, 1399745125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.240134239196777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:23:03.116996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:23:12.412593
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:23:22.487336
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/22/image_17122025_05_22_55_9676.jpg', '/home/pi/Desktop/images/17122025/05/22/image_17122025_05_23_04_9789.jpg', '/home/pi/Desktop/images/17122025/05/23/image_17122025_05_23_15_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/22/image_17122025_05_22_55_9676.jpg
/home/pi/Desktop/images/17122025/05/22/image_17122025_05_23_04_9789.jpg
/home/pi/Desktop/images/17122025/05/23/image_17122025_05_23_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":["1399745139","1399745144","1399745142"],"photo_ids_order":["1399745139","1399745142","1399745144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4059455fcfc5bbb9be42138e475c4333.jpg","text":"TemporaryFile(/tmp/multipartBody5518440217488362748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945462963,"filename":"image_17122025_05_22_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27cd05f6d82b52368c53a7d6ae98b99c.jpg","text":"TemporaryFile(/tmp/multipartBody111181344490739357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945462963,"filename":"image_17122025_05_23_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f9293aa6612503252aa877d19caec1b.jpg","text":"TemporaryFile(/tmp/multipartBody5874623625347743745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945462963,"filename":"image_17122025_05_23_04_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745144","file1":"1399745142","file0":"1399745139"},"map_files_photo_id_array":[{"photo_id":"1399745144","filename":"file2"},{"photo_id":"1399745142","filename":"file1"},{"photo_id":"1399745139","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745139":["hashtag1","hashtag2"]},{"1399745144":["hashtag1","hashtag2"]},{"1399745142":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745139, 1399745144, 1399745142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.084949731826782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:24:03.370948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:24:12.826109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:24:22.691392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/23/image_17122025_05_23_44_9671.jpg', '/home/pi/Desktop/images/17122025/05/23/image_17122025_05_24_05_10662.jpg', '/home/pi/Desktop/images/17122025/05/24/image_17122025_05_24_15_9956.jpg', '/home/pi/Desktop/images/17122025/05/24/image_17122025_05_24_25_9870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/23/image_17122025_05_23_44_9671.jpg
/home/pi/Desktop/images/17122025/05/23/image_17122025_05_24_05_10662.jpg
/home/pi/Desktop/images/17122025/05/24/image_17122025_05_24_15_9956.jpg
/home/pi/Desktop/images/17122025/05/24/image_17122025_05_24_25_9870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745161","1399745155","1399745158","1399745163"],"photo_ids_order":["1399745155","1399745158","1399745161","1399745163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bdbc51e65e76cc507a692afb7f1b1c8.jpg","text":"TemporaryFile(/tmp/multipartBody73256000973941588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945523210,"filename":"image_17122025_05_24_15_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/070d365c072bc5990e68765d6401838c.jpg","text":"TemporaryFile(/tmp/multipartBody3844390302442059983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945523210,"filename":"image_17122025_05_23_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d48566821b24dfceb680cc9a70f3ba58.jpg","text":"TemporaryFile(/tmp/multipartBody4571456132269935988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945523210,"filename":"image_17122025_05_24_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db4bb4d179bae94a0a63c57e4b870117.jpg","text":"TemporaryFile(/tmp/multipartBody4703550141845605988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945523210,"filename":"image_17122025_05_24_25_9870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745161","file1":"1399745158","file0":"1399745155","file3":"1399745163"},"map_files_photo_id_array":[{"photo_id":"1399745161","filename":"file2"},{"photo_id":"1399745158","filename":"file1"},{"photo_id":"1399745155","filename":"file0"},{"photo_id":"1399745163","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745161":["hashtag1","hashtag2"]},{"1399745155":["hashtag1","hashtag2"]},{"1399745158":["hashtag1","hashtag2"]},{"1399745163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745161, 1399745155, 1399745158, 1399745163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.694011926651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:25:02.660840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:25:12.016046
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:25:22.053793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/24/image_17122025_05_24_55_9807.jpg', '/home/pi/Desktop/images/17122025/05/24/image_17122025_05_25_04_9573.jpg', '/home/pi/Desktop/images/17122025/05/25/image_17122025_05_25_25_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/24/image_17122025_05_24_55_9807.jpg
/home/pi/Desktop/images/17122025/05/24/image_17122025_05_25_04_9573.jpg
/home/pi/Desktop/images/17122025/05/25/image_17122025_05_25_25_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745195","1399745190","1399745193"],"photo_ids_order":["1399745190","1399745193","1399745195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58a108b09c2f49e716a39dcdb379999e.jpg","text":"TemporaryFile(/tmp/multipartBody483882643294624503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945582538,"filename":"image_17122025_05_25_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/362b8e8c56976c3557e5075730db677d.jpg","text":"TemporaryFile(/tmp/multipartBody1484930670693412810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945582538,"filename":"image_17122025_05_24_55_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89e308453b146476853f221a26ed9e9d.jpg","text":"TemporaryFile(/tmp/multipartBody3627677871240796436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945582538,"filename":"image_17122025_05_25_04_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745195","file1":"1399745193","file0":"1399745190"},"map_files_photo_id_array":[{"photo_id":"1399745195","filename":"file2"},{"photo_id":"1399745193","filename":"file1"},{"photo_id":"1399745190","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745195":["hashtag1","hashtag2"]},{"1399745190":["hashtag1","hashtag2"]},{"1399745193":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745195, 1399745190, 1399745193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.300246000289917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:26:02.716683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:26:12.306621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:26:22.317048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/25/image_17122025_05_25_55_9768.jpg', '/home/pi/Desktop/images/17122025/05/26/image_17122025_05_26_14_9822.jpg', '/home/pi/Desktop/images/17122025/05/26/image_17122025_05_26_25_10772.jpg', '/home/pi/Desktop/images/17122025/05/26/image_17122025_05_26_35_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/25/image_17122025_05_25_55_9768.jpg
/home/pi/Desktop/images/17122025/05/26/image_17122025_05_26_14_9822.jpg
/home/pi/Desktop/images/17122025/05/26/image_17122025_05_26_25_10772.jpg
/home/pi/Desktop/images/17122025/05/26/image_17122025_05_26_35_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745211","1399745205","1399745207","1399745209"],"photo_ids_order":["1399745205","1399745207","1399745209","1399745211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f2978df60717735dbc61d2951b3a103.jpg","text":"TemporaryFile(/tmp/multipartBody1616219841001429313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945642854,"filename":"image_17122025_05_26_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5c1e3db8b640ca374bd938edde7f6c1.jpg","text":"TemporaryFile(/tmp/multipartBody4743976167759233834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945642854,"filename":"image_17122025_05_25_55_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/900cec4edeef2364755274daf4e05630.jpg","text":"TemporaryFile(/tmp/multipartBody4643826333290555783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945642854,"filename":"image_17122025_05_26_14_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80160e18a09afd078e5d151e65b4e5ee.jpg","text":"TemporaryFile(/tmp/multipartBody8644411246033837097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945642854,"filename":"image_17122025_05_26_25_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745209","file1":"1399745207","file0":"1399745205","file3":"1399745211"},"map_files_photo_id_array":[{"photo_id":"1399745209","filename":"file2"},{"photo_id":"1399745207","filename":"file1"},{"photo_id":"1399745205","filename":"file0"},{"photo_id":"1399745211","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745211":["hashtag1","hashtag2"]},{"1399745205":["hashtag1","hashtag2"]},{"1399745207":["hashtag1","hashtag2"]},{"1399745209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745211, 1399745205, 1399745207, 1399745209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.640353679656982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:27:03.296348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:27:12.679014
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:27:22.680166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/26/image_17122025_05_26_45_9906.jpg', '/home/pi/Desktop/images/17122025/05/26/image_17122025_05_27_04_9877.jpg', '/home/pi/Desktop/images/17122025/05/27/image_17122025_05_27_15_10613.jpg', '/home/pi/Desktop/images/17122025/05/27/image_17122025_05_27_34_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/26/image_17122025_05_26_45_9906.jpg
/home/pi/Desktop/images/17122025/05/26/image_17122025_05_27_04_9877.jpg
/home/pi/Desktop/images/17122025/05/27/image_17122025_05_27_15_10613.jpg
/home/pi/Desktop/images/17122025/05/27/image_17122025_05_27_34_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":["1399745250","1399745243","1399745245","1399745248"],"photo_ids_order":["1399745243","1399745245","1399745248","1399745250"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4114334ace4963e2b219040e1c62229f.jpg","text":"TemporaryFile(/tmp/multipartBody6082836958466163944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945703196,"filename":"image_17122025_05_27_34_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1c1d666676b93ed3fbe692653ab60d6.jpg","text":"TemporaryFile(/tmp/multipartBody8149399436905638949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945703196,"filename":"image_17122025_05_26_45_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91e648ed7f7ee1fa97c0fe9e955cc92f.jpg","text":"TemporaryFile(/tmp/multipartBody2962826260766858213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945703196,"filename":"image_17122025_05_27_04_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce2e063a3c6d22851994050856669e9b.jpg","text":"TemporaryFile(/tmp/multipartBody6477563624065103381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945703196,"filename":"image_17122025_05_27_15_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745248","file1":"1399745245","file0":"1399745243","file3":"1399745250"},"map_files_photo_id_array":[{"photo_id":"1399745248","filename":"file2"},{"photo_id":"1399745245","filename":"file1"},{"photo_id":"1399745243","filename":"file0"},{"photo_id":"1399745250","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745250":["hashtag1","hashtag2"]},{"1399745243":["hashtag1","hashtag2"]},{"1399745245":["hashtag1","hashtag2"]},{"1399745248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745250, 1399745243, 1399745245, 1399745248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.09612774848938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:28:02.383802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:28:11.889920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:28:21.915958
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/27/image_17122025_05_27_45_10595.jpg', '/home/pi/Desktop/images/17122025/05/27/image_17122025_05_28_05_9939.jpg', '/home/pi/Desktop/images/17122025/05/28/image_17122025_05_28_14_9723.jpg', '/home/pi/Desktop/images/17122025/05/28/image_17122025_05_28_25_10615.jpg', '/home/pi/Desktop/images/17122025/05/28/image_17122025_05_28_35_9595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/27/image_17122025_05_27_45_10595.jpg
/home/pi/Desktop/images/17122025/05/27/image_17122025_05_28_05_9939.jpg
/home/pi/Desktop/images/17122025/05/28/image_17122025_05_28_14_9723.jpg
/home/pi/Desktop/images/17122025/05/28/image_17122025_05_28_25_10615.jpg
/home/pi/Desktop/images/17122025/05/28/image_17122025_05_28_35_9595.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745258","1399745255","1399745260","1399745265","1399745256"],"photo_ids_order":["1399745255","1399745256","1399745258","1399745260","1399745265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80ff00251681fd85a2a8bdf23ac7df47.jpg","text":"TemporaryFile(/tmp/multipartBody1297291779665393227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945762469,"filename":"image_17122025_05_28_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c81129ff77a4a7427d6d974b30948af7.jpg","text":"TemporaryFile(/tmp/multipartBody8366582168403892823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945762469,"filename":"image_17122025_05_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/2025/12/17/472623d03dd4face24bb2375d44bcc1a.jpg","text":"TemporaryFile(/tmp/multipartBody9184218194302863843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945762469,"filename":"image_17122025_05_28_25_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7378f4fa869b220c42eb5d2c013cbdd3.jpg","text":"TemporaryFile(/tmp/multipartBody864029045667120023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945762469,"filename":"image_17122025_05_28_35_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5d23f9bb4c8c4d01513ef2ca356e4ff.jpg","text":"TemporaryFile(/tmp/multipartBody5806155009193213778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945762469,"filename":"image_17122025_05_28_05_9939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745258","file1":"1399745256","file0":"1399745255","file4":"1399745265","file3":"1399745260"},"map_files_photo_id_array":[{"photo_id":"1399745258","filename":"file2"},{"photo_id":"1399745265","filename":"file4"},{"photo_id":"1399745256","filename":"file1"},{"photo_id":"1399745255","filename":"file0"},{"photo_id":"1399745260","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745258":["hashtag1","hashtag2"]},{"1399745255":["hashtag1","hashtag2"]},{"1399745260":["hashtag1","hashtag2"]},{"1399745265":["hashtag1","hashtag2"]},{"1399745256":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745258, 1399745255, 1399745260, 1399745265, 1399745256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.889882802963257 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:29:03.142462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:29:12.219610
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:29:22.219957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/28/image_17122025_05_28_44_9725.jpg', '/home/pi/Desktop/images/17122025/05/29/image_17122025_05_29_35_9892.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/28/image_17122025_05_28_44_9725.jpg
/home/pi/Desktop/images/17122025/05/29/image_17122025_05_29_35_9892.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745282","1399745283"],"photo_ids_order":["1399745282","1399745283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e76ccc8c7baa14fc31c13918b54ea71c.jpg","text":"TemporaryFile(/tmp/multipartBody1851177011452930002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945822661,"filename":"image_17122025_05_28_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b60a644033cd5bc5280ab72ccb81cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6065468330826670246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945822661,"filename":"image_17122025_05_29_35_9892.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399745283","file0":"1399745282"},"map_files_photo_id_array":[{"photo_id":"1399745283","filename":"file1"},{"photo_id":"1399745282","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745282":["hashtag1","hashtag2"]},{"1399745283":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745282, 1399745283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.354174852371216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:29:42.206012
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_56_1606.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_57_1639.jpg', '/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_59_1701.jpg', '/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_07_3015.jpg', '/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_13_2543.jpg', '/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_26_3576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_56_1606.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_57_1639.jpg
/home/pi/Desktop/images/07112025/16/44/image_07112025_16_44_59_1701.jpg
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_07_3015.jpg
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_13_2543.jpg
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_26_3576.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":["1399745297","1399745309","1399745303","1399745305","1399745298","1399745289"],"photo_ids_order":["1399745289","1399745297","1399745298","1399745303","1399745305","1399745309"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53acce3d7edba48d9aae5e74e7fa270a.jpg","text":"TemporaryFile(/tmp/multipartBody3191283101135058214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945842945,"filename":"image_07112025_16_44_57_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea86521692a255344fc76b323fb27dcb.jpg","text":"TemporaryFile(/tmp/multipartBody2521432653887502200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945842945,"filename":"image_07112025_16_45_26_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/322be1c91fbdcf9f4eb49217c3f2e4b0.jpg","text":"TemporaryFile(/tmp/multipartBody3070056147853178117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945842945,"filename":"image_07112025_16_45_07_3015.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4fcc80f0a94c617de92f907516a4d8d4.jpg","text":"TemporaryFile(/tmp/multipartBody4571394480058604754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945842945,"filename":"image_07112025_16_45_13_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7d5ff5c28b1fd78ccdbf79bbb0f70c3.jpg","text":"TemporaryFile(/tmp/multipartBody2084630014881151699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945842945,"filename":"image_07112025_16_44_59_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f5484a4b8dfc0e5ccbb66ce67cd111c.jpg","text":"TemporaryFile(/tmp/multipartBody7699486859987850531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945842945,"filename":"image_07112025_16_44_56_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745298","file1":"1399745297","file0":"1399745289","file4":"1399745305","file5":"1399745309","file3":"1399745303"},"map_files_photo_id_array":[{"photo_id":"1399745309","filename":"file5"},{"photo_id":"1399745298","filename":"file2"},{"photo_id":"1399745305","filename":"file4"},{"photo_id":"1399745297","filename":"file1"},{"photo_id":"1399745289","filename":"file0"},{"photo_id":"1399745303","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745297":["hashtag1","hashtag2"]},{"1399745309":["hashtag1","hashtag2"]},{"1399745303":["hashtag1","hashtag2"]},{"1399745305":["hashtag1","hashtag2"]},{"1399745298":["hashtag1","hashtag2"]},{"1399745289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745297, 1399745309, 1399745303, 1399745305, 1399745298, 1399745289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.06955432891846 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:31:03.329818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/29/image_17122025_05_29_45_9748.jpg', '/home/pi/Desktop/images/17122025/05/30/image_17122025_05_30_15_10924.jpg', '/home/pi/Desktop/images/17122025/05/30/image_17122025_05_30_25_9976.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/29/image_17122025_05_29_45_9748.jpg
/home/pi/Desktop/images/17122025/05/30/image_17122025_05_30_15_10924.jpg
/home/pi/Desktop/images/17122025/05/30/image_17122025_05_30_25_9976.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745327","1399745321","1399745329"],"photo_ids_order":["1399745321","1399745327","1399745329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7380f6be16e04ff9b264bb4a4f23d0a7.jpg","text":"TemporaryFile(/tmp/multipartBody75986159710070596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945923871,"filename":"image_17122025_05_30_15_10924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00b3ea9f48b09b82525363a7b57e6833.jpg","text":"TemporaryFile(/tmp/multipartBody4800897785390195715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945923871,"filename":"image_17122025_05_29_45_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/415394ff25c96bb4a89a75e4ec300f14.jpg","text":"TemporaryFile(/tmp/multipartBody8908326008232685736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945923871,"filename":"image_17122025_05_30_25_9976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745329","file1":"1399745327","file0":"1399745321"},"map_files_photo_id_array":[{"photo_id":"1399745329","filename":"file2"},{"photo_id":"1399745327","filename":"file1"},{"photo_id":"1399745321","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745327":["hashtag1","hashtag2"]},{"1399745321":["hashtag1","hashtag2"]},{"1399745329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745327, 1399745321, 1399745329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.7042293548584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:31:32.737507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:31:42.793918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_28_2646.jpg', '/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_31_2701.jpg', '/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_35_3757.jpg', '/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_40_2700.jpg', '/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_47_3737.jpg', '/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_49_2877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_28_2646.jpg
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_31_2701.jpg
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_35_3757.jpg
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_40_2700.jpg
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_47_3737.jpg
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_49_2877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745343","1399745337","1399745342","1399745341","1399745344","1399745340"],"photo_ids_order":["1399745337","1399745340","1399745341","1399745342","1399745343","1399745344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20acefa7a3239a38f92a0f25243e7a03.jpg","text":"TemporaryFile(/tmp/multipartBody304396232824231428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945963498,"filename":"image_07112025_16_45_47_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2776b7e7be0b792462084d619feb53c5.jpg","text":"TemporaryFile(/tmp/multipartBody3538854612223601324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945963498,"filename":"image_07112025_16_45_28_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ccb76ddc17a86886ccfb93459df7680.jpg","text":"TemporaryFile(/tmp/multipartBody7303815433648207236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945963498,"filename":"image_07112025_16_45_40_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf7b1b79f26cfd7c609bfbec755521bf.jpg","text":"TemporaryFile(/tmp/multipartBody7244073629255042536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945963498,"filename":"image_07112025_16_45_35_3757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d9b82475d5630047d0b2d9a3340aeda.jpg","text":"TemporaryFile(/tmp/multipartBody3382885937316050212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945963498,"filename":"image_07112025_16_45_49_2877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ea6fed41f38bf5dc7348274a9876f17.jpg","text":"TemporaryFile(/tmp/multipartBody6274084909303939909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765945963498,"filename":"image_07112025_16_45_31_2701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745341","file1":"1399745340","file0":"1399745337","file4":"1399745343","file5":"1399745344","file3":"1399745342"},"map_files_photo_id_array":[{"photo_id":"1399745344","filename":"file5"},{"photo_id":"1399745341","filename":"file2"},{"photo_id":"1399745343","filename":"file4"},{"photo_id":"1399745340","filename":"file1"},{"photo_id":"1399745337","filename":"file0"},{"photo_id":"1399745342","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745343":["hashtag1","hashtag2"]},{"1399745337":["hashtag1","hashtag2"]},{"1399745342":["hashtag1","hashtag2"]},{"1399745341":["hashtag1","hashtag2"]},{"1399745344":["hashtag1","hashtag2"]},{"1399745340":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745343, 1399745337, 1399745342, 1399745341, 1399745344, 1399745340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.869791984558105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:32:22.085463
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/30/image_17122025_05_30_35_9736.jpg', '/home/pi/Desktop/images/17122025/05/31/image_17122025_05_31_15_10735.jpg', '/home/pi/Desktop/images/17122025/05/31/image_17122025_05_31_25_9758.jpg', '/home/pi/Desktop/images/17122025/05/31/image_17122025_05_31_34_9674.jpg', '/home/pi/Desktop/images/17122025/05/31/image_17122025_05_31_45_10784.jpg', '/home/pi/Desktop/images/17122025/05/31/image_17122025_05_32_04_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/30/image_17122025_05_30_35_9736.jpg
/home/pi/Desktop/images/17122025/05/31/image_17122025_05_31_15_10735.jpg
/home/pi/Desktop/images/17122025/05/31/image_17122025_05_31_25_9758.jpg
/home/pi/Desktop/images/17122025/05/31/image_17122025_05_31_34_9674.jpg
/home/pi/Desktop/images/17122025/05/31/image_17122025_05_31_45_10784.jpg
/home/pi/Desktop/images/17122025/05/31/image_17122025_05_32_04_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745351","1399745353","1399745347","1399745358","1399745355","1399745349"],"photo_ids_order":["1399745347","1399745349","1399745351","1399745353","1399745355","1399745358"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f6e98ffb7f0df0a8b9617335df2dae2.jpg","text":"TemporaryFile(/tmp/multipartBody7772407952256032463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946002668,"filename":"image_17122025_05_31_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e65153cff8326dfe8c01c5e99e27a0b.jpg","text":"TemporaryFile(/tmp/multipartBody8765630496026280507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946002668,"filename":"image_17122025_05_31_34_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/939e27514a01af01f9fc5df7779c2e72.jpg","text":"TemporaryFile(/tmp/multipartBody5792881371699700618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946002668,"filename":"image_17122025_05_30_35_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5791bbbd8ca29ac29d1276f20b650dea.jpg","text":"TemporaryFile(/tmp/multipartBody3849600092383631313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946002668,"filename":"image_17122025_05_32_04_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84c8ea5b290bdb32fbda6df31f2bb22d.jpg","text":"TemporaryFile(/tmp/multipartBody3326051884067265925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946002668,"filename":"image_17122025_05_31_45_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19da90dbcc353b71c4526ce230d7a4e3.jpg","text":"TemporaryFile(/tmp/multipartBody7363033143031208411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946002668,"filename":"image_17122025_05_31_15_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745351","file1":"1399745349","file0":"1399745347","file4":"1399745355","file5":"1399745358","file3":"1399745353"},"map_files_photo_id_array":[{"photo_id":"1399745358","filename":"file5"},{"photo_id":"1399745351","filename":"file2"},{"photo_id":"1399745355","filename":"file4"},{"photo_id":"1399745349","filename":"file1"},{"photo_id":"1399745347","filename":"file0"},{"photo_id":"1399745353","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745351":["hashtag1","hashtag2"]},{"1399745353":["hashtag1","hashtag2"]},{"1399745347":["hashtag1","hashtag2"]},{"1399745358":["hashtag1","hashtag2"]},{"1399745355":["hashtag1","hashtag2"]},{"1399745349":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745351, 1399745353, 1399745347, 1399745358, 1399745355, 1399745349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.255361557006836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:33:03.107734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/32/image_17122025_05_32_15_10591.jpg', '/home/pi/Desktop/images/17122025/05/32/image_17122025_05_32_25_9740.jpg', '/home/pi/Desktop/images/17122025/05/32/image_17122025_05_32_34_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/32/image_17122025_05_32_15_10591.jpg
/home/pi/Desktop/images/17122025/05/32/image_17122025_05_32_25_9740.jpg
/home/pi/Desktop/images/17122025/05/32/image_17122025_05_32_34_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":["1399745363","1399745365","1399745361"],"photo_ids_order":["1399745361","1399745363","1399745365"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/687c4fd4f2a3b043b9ca23f855133cca.jpg","text":"TemporaryFile(/tmp/multipartBody9212159620815931687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946043624,"filename":"image_17122025_05_32_25_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20cc6d387d8975981755e6c840993cc7.jpg","text":"TemporaryFile(/tmp/multipartBody5256319147943274836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946043624,"filename":"image_17122025_05_32_34_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f85cd9e455cb63dfd6b623dfae91b60.jpg","text":"TemporaryFile(/tmp/multipartBody7121232509169879598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946043624,"filename":"image_17122025_05_32_15_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745365","file1":"1399745363","file0":"1399745361"},"map_files_photo_id_array":[{"photo_id":"1399745365","filename":"file2"},{"photo_id":"1399745363","filename":"file1"},{"photo_id":"1399745361","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745363":["hashtag1","hashtag2"]},{"1399745365":["hashtag1","hashtag2"]},{"1399745361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745363, 1399745365, 1399745361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.13242268562317 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:33:32.313611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:33:42.267189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_52_2772.jpg', '/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_56_3482.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_01_2800.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_05_3570.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_08_2966.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_18_10296.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_52_2772.jpg
/home/pi/Desktop/images/07112025/16/45/image_07112025_16_45_56_3482.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_01_2800.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_05_3570.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_08_2966.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_18_10296.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745381","1399745375","1399745378","1399745380","1399745377","1399745379"],"photo_ids_order":["1399745375","1399745377","1399745378","1399745379","1399745380","1399745381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8166e6577ec08554cb1715942e0cec78.jpg","text":"TemporaryFile(/tmp/multipartBody874934308980451684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946082979,"filename":"image_07112025_16_46_18_10296.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad28f5424174d198d6cadd8deacbac1e.jpg","text":"TemporaryFile(/tmp/multipartBody2535008719759182321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946082979,"filename":"image_07112025_16_45_52_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ad2bef99c4bd040803739b34c48009e.jpg","text":"TemporaryFile(/tmp/multipartBody7874817554479840106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946082979,"filename":"image_07112025_16_46_01_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3714b97b27d143f5c5a8241d010916e.jpg","text":"TemporaryFile(/tmp/multipartBody6019963226621639022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946082979,"filename":"image_07112025_16_46_08_2966.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86dad61ba4bc9277991710233b5b3236.jpg","text":"TemporaryFile(/tmp/multipartBody6286304562908999483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946082979,"filename":"image_07112025_16_45_56_3482.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e0f20fb3b94231b3ad761e7870f647d.jpg","text":"TemporaryFile(/tmp/multipartBody2853954501519735970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946082979,"filename":"image_07112025_16_46_05_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745378","file1":"1399745377","file0":"1399745375","file4":"1399745380","file5":"1399745381","file3":"1399745379"},"map_files_photo_id_array":[{"photo_id":"1399745381","filename":"file5"},{"photo_id":"1399745378","filename":"file2"},{"photo_id":"1399745380","filename":"file4"},{"photo_id":"1399745377","filename":"file1"},{"photo_id":"1399745375","filename":"file0"},{"photo_id":"1399745379","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745381":["hashtag1","hashtag2"]},{"1399745375":["hashtag1","hashtag2"]},{"1399745378":["hashtag1","hashtag2"]},{"1399745380":["hashtag1","hashtag2"]},{"1399745377":["hashtag1","hashtag2"]},{"1399745379":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745381, 1399745375, 1399745378, 1399745380, 1399745377, 1399745379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08559226989746 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:34:22.611404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/32/image_17122025_05_32_55_9690.jpg', '/home/pi/Desktop/images/17122025/05/32/image_17122025_05_33_04_9698.jpg', '/home/pi/Desktop/images/17122025/05/33/image_17122025_05_33_25_9669.jpg', '/home/pi/Desktop/images/17122025/05/33/image_17122025_05_33_34_9663.jpg', '/home/pi/Desktop/images/17122025/05/33/image_17122025_05_33_45_10524.jpg', '/home/pi/Desktop/images/17122025/05/33/image_17122025_05_33_55_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/32/image_17122025_05_32_55_9690.jpg
/home/pi/Desktop/images/17122025/05/32/image_17122025_05_33_04_9698.jpg
/home/pi/Desktop/images/17122025/05/33/image_17122025_05_33_25_9669.jpg
/home/pi/Desktop/images/17122025/05/33/image_17122025_05_33_34_9663.jpg
/home/pi/Desktop/images/17122025/05/33/image_17122025_05_33_45_10524.jpg
/home/pi/Desktop/images/17122025/05/33/image_17122025_05_33_55_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":["1399745393","1399745387","1399745396","1399745398","1399745402","1399745385"],"photo_ids_order":["1399745385","1399745387","1399745393","1399745396","1399745398","1399745402"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/797bd6696755b9f41aa338223007b49a.jpg","text":"TemporaryFile(/tmp/multipartBody634210828913034075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946123198,"filename":"image_17122025_05_33_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0cc3e3304442cb206ae211069fe9efba.jpg","text":"TemporaryFile(/tmp/multipartBody4703436032141479056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946123198,"filename":"image_17122025_05_33_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/188182bc64d356ff446b5c396baa299a.jpg","text":"TemporaryFile(/tmp/multipartBody8582139142346867515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946123198,"filename":"image_17122025_05_33_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ce8c82a4a735bcbe16c14cfda5320c5.jpg","text":"TemporaryFile(/tmp/multipartBody5370961774802072336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946123198,"filename":"image_17122025_05_33_45_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa5c835093583a92f4dd571779b1445f.jpg","text":"TemporaryFile(/tmp/multipartBody8689013387376023530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946123198,"filename":"image_17122025_05_33_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50fd829db6ae05812200e7d43696fc07.jpg","text":"TemporaryFile(/tmp/multipartBody8398666132522638082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946123198,"filename":"image_17122025_05_32_55_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745393","file1":"1399745387","file0":"1399745385","file4":"1399745398","file5":"1399745402","file3":"1399745396"},"map_files_photo_id_array":[{"photo_id":"1399745402","filename":"file5"},{"photo_id":"1399745393","filename":"file2"},{"photo_id":"1399745398","filename":"file4"},{"photo_id":"1399745387","filename":"file1"},{"photo_id":"1399745385","filename":"file0"},{"photo_id":"1399745396","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745393":["hashtag1","hashtag2"]},{"1399745387":["hashtag1","hashtag2"]},{"1399745396":["hashtag1","hashtag2"]},{"1399745398":["hashtag1","hashtag2"]},{"1399745402":["hashtag1","hashtag2"]},{"1399745385":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745393, 1399745387, 1399745396, 1399745398, 1399745402, 1399745385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14209580421448 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:35:02.504834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/33/image_17122025_05_34_04_9669.jpg', '/home/pi/Desktop/images/17122025/05/34/image_17122025_05_34_15_10612.jpg', '/home/pi/Desktop/images/17122025/05/34/image_17122025_05_34_25_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/33/image_17122025_05_34_04_9669.jpg
/home/pi/Desktop/images/17122025/05/34/image_17122025_05_34_15_10612.jpg
/home/pi/Desktop/images/17122025/05/34/image_17122025_05_34_25_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":["1399745417","1399745419","1399745412"],"photo_ids_order":["1399745412","1399745417","1399745419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b67752d620e042aa6ff3a9127b26741.jpg","text":"TemporaryFile(/tmp/multipartBody1844375395478833773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946163034,"filename":"image_17122025_05_34_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb00e53a1d55f39e6b0f22d434da9c62.jpg","text":"TemporaryFile(/tmp/multipartBody4439294144623013057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946163034,"filename":"image_17122025_05_34_25_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c821f43ca5606b2589f00755629be06.jpg","text":"TemporaryFile(/tmp/multipartBody5804325521906645850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946163034,"filename":"image_17122025_05_34_04_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745419","file1":"1399745417","file0":"1399745412"},"map_files_photo_id_array":[{"photo_id":"1399745419","filename":"file2"},{"photo_id":"1399745417","filename":"file1"},{"photo_id":"1399745412","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745417":["hashtag1","hashtag2"]},{"1399745419":["hashtag1","hashtag2"]},{"1399745412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745417, 1399745419, 1399745412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.26734972000122 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:35:31.822961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:35:41.871422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_20_1761.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_21_1679.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_25_1613.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_26_1494.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_31_3570.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_34_2914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_20_1761.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_21_1679.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_25_1613.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_26_1494.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_31_3570.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_34_2914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745436","1399745438","1399745440","1399745437","1399745428","1399745439"],"photo_ids_order":["1399745428","1399745436","1399745437","1399745438","1399745439","1399745440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b73c7c42c206cb1c60dd748f2c87d0b.jpg","text":"TemporaryFile(/tmp/multipartBody1356202125704060839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946202576,"filename":"image_07112025_16_46_21_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac230ae906d230c8135dec2b065f1eff.jpg","text":"TemporaryFile(/tmp/multipartBody6995874113626908497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946202576,"filename":"image_07112025_16_46_26_1494.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0ea2276528ed8aeb5c653c9d55e6e93.jpg","text":"TemporaryFile(/tmp/multipartBody7852636311562865259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946202576,"filename":"image_07112025_16_46_34_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3d9cfaa5882371b18fd3209972715c8.jpg","text":"TemporaryFile(/tmp/multipartBody4454849308999773783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946202576,"filename":"image_07112025_16_46_25_1613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35d3faf468ced6e196f3f25ccb2bc93e.jpg","text":"TemporaryFile(/tmp/multipartBody342277648750951586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946202576,"filename":"image_07112025_16_46_20_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57cbdd943f7716aec376d68cf6efd696.jpg","text":"TemporaryFile(/tmp/multipartBody5952074574622798120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946202576,"filename":"image_07112025_16_46_31_3570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745437","file1":"1399745436","file0":"1399745428","file4":"1399745439","file5":"1399745440","file3":"1399745438"},"map_files_photo_id_array":[{"photo_id":"1399745440","filename":"file5"},{"photo_id":"1399745437","filename":"file2"},{"photo_id":"1399745439","filename":"file4"},{"photo_id":"1399745436","filename":"file1"},{"photo_id":"1399745428","filename":"file0"},{"photo_id":"1399745438","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745436":["hashtag1","hashtag2"]},{"1399745438":["hashtag1","hashtag2"]},{"1399745440":["hashtag1","hashtag2"]},{"1399745437":["hashtag1","hashtag2"]},{"1399745428":["hashtag1","hashtag2"]},{"1399745439":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745436, 1399745438, 1399745440, 1399745437, 1399745428, 1399745439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74794340133667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:36:22.116256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/34/image_17122025_05_34_55_10635.jpg', '/home/pi/Desktop/images/17122025/05/35/image_17122025_05_35_14_9695.jpg', '/home/pi/Desktop/images/17122025/05/35/image_17122025_05_35_25_10846.jpg', '/home/pi/Desktop/images/17122025/05/36/image_17122025_05_36_35_10585.jpg', '/home/pi/Desktop/images/17122025/05/36/image_17122025_05_36_45_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/34/image_17122025_05_34_55_10635.jpg
/home/pi/Desktop/images/17122025/05/35/image_17122025_05_35_14_9695.jpg
/home/pi/Desktop/images/17122025/05/35/image_17122025_05_35_25_10846.jpg
/home/pi/Desktop/images/17122025/05/36/image_17122025_05_36_35_10585.jpg
/home/pi/Desktop/images/17122025/05/36/image_17122025_05_36_45_9873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745456","1399745452","1399745445","1399745454","1399745448"],"photo_ids_order":["1399745445","1399745448","1399745452","1399745454","1399745456"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a134502bf1aaa10e037ce85bb3fa3afb.jpg","text":"TemporaryFile(/tmp/multipartBody5351142171898923218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946242691,"filename":"image_17122025_05_36_45_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7be362017ac84c0d9bdb4f1b7e5fd41.jpg","text":"TemporaryFile(/tmp/multipartBody513754452397300257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946242691,"filename":"image_17122025_05_35_25_10846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3beb5e0f1b91730cd551f15648ef57f.jpg","text":"TemporaryFile(/tmp/multipartBody535867553627756143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946242691,"filename":"image_17122025_05_34_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f679e875f35147b03d9c60608020fb0b.jpg","text":"TemporaryFile(/tmp/multipartBody1177297129794860815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946242691,"filename":"image_17122025_05_36_35_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1ac765b83c8688c84b98e90aa771ccc.jpg","text":"TemporaryFile(/tmp/multipartBody8385235844199947878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946242691,"filename":"image_17122025_05_35_14_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745452","file1":"1399745448","file0":"1399745445","file4":"1399745456","file3":"1399745454"},"map_files_photo_id_array":[{"photo_id":"1399745452","filename":"file2"},{"photo_id":"1399745456","filename":"file4"},{"photo_id":"1399745448","filename":"file1"},{"photo_id":"1399745445","filename":"file0"},{"photo_id":"1399745454","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745456":["hashtag1","hashtag2"]},{"1399745452":["hashtag1","hashtag2"]},{"1399745445":["hashtag1","hashtag2"]},{"1399745454":["hashtag1","hashtag2"]},{"1399745448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745456, 1399745452, 1399745445, 1399745454, 1399745448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.982868194580078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:37:03.075382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:37:12.346826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:37:22.493146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/36/image_17122025_05_36_54_9627.jpg', '/home/pi/Desktop/images/17122025/05/36/image_17122025_05_37_05_10631.jpg', '/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_15_9735.jpg', '/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_24_9606.jpg', '/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_35_10737.jpg', '/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_45_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/36/image_17122025_05_36_54_9627.jpg
/home/pi/Desktop/images/17122025/05/36/image_17122025_05_37_05_10631.jpg
/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_15_9735.jpg
/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_24_9606.jpg
/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_35_10737.jpg
/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_45_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745480","1399745477","1399745475","1399745472","1399745466","1399745469"],"photo_ids_order":["1399745466","1399745469","1399745472","1399745475","1399745477","1399745480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cedff1ee771c49c697600389fb0723a.jpg","text":"TemporaryFile(/tmp/multipartBody5680284571018484545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946303076,"filename":"image_17122025_05_37_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/793777a5ddf538150abccc855e855e23.jpg","text":"TemporaryFile(/tmp/multipartBody9109959242866284843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946303076,"filename":"image_17122025_05_37_35_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64842be3ec371b375823d31ddf720405.jpg","text":"TemporaryFile(/tmp/multipartBody1877305965518933320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946303076,"filename":"image_17122025_05_37_24_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c592b5f67833f110fa12e3f02a6d54a.jpg","text":"TemporaryFile(/tmp/multipartBody3686374839950622053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946303076,"filename":"image_17122025_05_37_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/647f1296e6fc3ffa74eb9667dcc6c584.jpg","text":"TemporaryFile(/tmp/multipartBody6530769380571552562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946303076,"filename":"image_17122025_05_36_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba88a0e6f9214e58c268857cae6dceeb.jpg","text":"TemporaryFile(/tmp/multipartBody8017341561691616742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946303076,"filename":"image_17122025_05_37_05_10631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745472","file1":"1399745469","file0":"1399745466","file4":"1399745477","file5":"1399745480","file3":"1399745475"},"map_files_photo_id_array":[{"photo_id":"1399745480","filename":"file5"},{"photo_id":"1399745472","filename":"file2"},{"photo_id":"1399745477","filename":"file4"},{"photo_id":"1399745469","filename":"file1"},{"photo_id":"1399745466","filename":"file0"},{"photo_id":"1399745475","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745480":["hashtag1","hashtag2"]},{"1399745477":["hashtag1","hashtag2"]},{"1399745475":["hashtag1","hashtag2"]},{"1399745472":["hashtag1","hashtag2"]},{"1399745466":["hashtag1","hashtag2"]},{"1399745469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745480, 1399745477, 1399745475, 1399745472, 1399745466, 1399745469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.213929653167725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:38:02.996532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:38:12.502715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:38:22.532409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_54_9608.jpg', '/home/pi/Desktop/images/17122025/05/37/image_17122025_05_38_05_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/37/image_17122025_05_37_54_9608.jpg
/home/pi/Desktop/images/17122025/05/37/image_17122025_05_38_05_10636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745493","1399745490"],"photo_ids_order":["1399745490","1399745493"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b488f91408f94903f68835aa060124b9.jpg","text":"TemporaryFile(/tmp/multipartBody4026037293274424981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946362992,"filename":"image_17122025_05_38_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b6fbed11baf6ebbd5bbff906b7b6cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8200649439691930932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946362992,"filename":"image_17122025_05_37_54_9608.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399745493","file0":"1399745490"},"map_files_photo_id_array":[{"photo_id":"1399745493","filename":"file1"},{"photo_id":"1399745490","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745493":["hashtag1","hashtag2"]},{"1399745490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745493, 1399745490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.417776346206665 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:38:42.540814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_37_2606.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_40_3523.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_46_2584.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_55_2811.jpg', '/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_58_3629.jpg', '/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_01_2728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_37_2606.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_40_3523.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_46_2584.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_55_2811.jpg
/home/pi/Desktop/images/07112025/16/46/image_07112025_16_46_58_3629.jpg
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_01_2728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745514","1399745517","1399745510","1399745516","1399745509","1399745503"],"photo_ids_order":["1399745503","1399745509","1399745510","1399745514","1399745516","1399745517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2ef4c60f468676f0311d22ccba41b9a.jpg","text":"TemporaryFile(/tmp/multipartBody1602964566714474053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946383254,"filename":"image_07112025_16_46_55_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecf0ed603104fddd34b8e707f8410646.jpg","text":"TemporaryFile(/tmp/multipartBody2978051645340852270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946383254,"filename":"image_07112025_16_47_01_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/323df480d6b3b2b19c846beef01acdd0.jpg","text":"TemporaryFile(/tmp/multipartBody789262311778865383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946383254,"filename":"image_07112025_16_46_46_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2852b1b550993b28f257234be4f80e6.jpg","text":"TemporaryFile(/tmp/multipartBody8320978029777446703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946383254,"filename":"image_07112025_16_46_58_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2ba2bf986d49444e06a2b825611c030.jpg","text":"TemporaryFile(/tmp/multipartBody840830906310062564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946383254,"filename":"image_07112025_16_46_40_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4862b33ec468bf116775ba72d1daa7c.jpg","text":"TemporaryFile(/tmp/multipartBody376623818742380669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946383254,"filename":"image_07112025_16_46_37_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745510","file1":"1399745509","file0":"1399745503","file4":"1399745516","file5":"1399745517","file3":"1399745514"},"map_files_photo_id_array":[{"photo_id":"1399745517","filename":"file5"},{"photo_id":"1399745510","filename":"file2"},{"photo_id":"1399745516","filename":"file4"},{"photo_id":"1399745509","filename":"file1"},{"photo_id":"1399745503","filename":"file0"},{"photo_id":"1399745514","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745514":["hashtag1","hashtag2"]},{"1399745517":["hashtag1","hashtag2"]},{"1399745510":["hashtag1","hashtag2"]},{"1399745516":["hashtag1","hashtag2"]},{"1399745509":["hashtag1","hashtag2"]},{"1399745503":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745514, 1399745517, 1399745510, 1399745516, 1399745509, 1399745503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.344987869262695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:39:22.790266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/38/image_17122025_05_38_24_9741.jpg', '/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_15_9692.jpg', '/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_24_9578.jpg', '/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_34_9903.jpg', '/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_45_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/38/image_17122025_05_38_24_9741.jpg
/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_15_9692.jpg
/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_24_9578.jpg
/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_34_9903.jpg
/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_45_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":["1399745529","1399745525","1399745533","1399745536","1399745538"],"photo_ids_order":["1399745525","1399745529","1399745533","1399745536","1399745538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b980cf55f6adedc9353f539735efd7db.jpg","text":"TemporaryFile(/tmp/multipartBody6297826965784814004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946423343,"filename":"image_17122025_05_39_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e27267cd9b2d5d546c2348e2987485f.jpg","text":"TemporaryFile(/tmp/multipartBody5664595167946490804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946423343,"filename":"image_17122025_05_38_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b1b7d56e5bb251f0f220e847df539f1.jpg","text":"TemporaryFile(/tmp/multipartBody7044673218582284972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946423343,"filename":"image_17122025_05_39_24_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86c10af31507fd6eb41c4885a791a271.jpg","text":"TemporaryFile(/tmp/multipartBody4099705609500432653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946423343,"filename":"image_17122025_05_39_34_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf97b482e826a47012d0743ae95146d6.jpg","text":"TemporaryFile(/tmp/multipartBody6904186910078181982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946423343,"filename":"image_17122025_05_39_45_10785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745533","file1":"1399745529","file0":"1399745525","file4":"1399745538","file3":"1399745536"},"map_files_photo_id_array":[{"photo_id":"1399745533","filename":"file2"},{"photo_id":"1399745538","filename":"file4"},{"photo_id":"1399745529","filename":"file1"},{"photo_id":"1399745525","filename":"file0"},{"photo_id":"1399745536","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745529":["hashtag1","hashtag2"]},{"1399745525":["hashtag1","hashtag2"]},{"1399745533":["hashtag1","hashtag2"]},{"1399745536":["hashtag1","hashtag2"]},{"1399745538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745529, 1399745525, 1399745533, 1399745536, 1399745538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.853219747543335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:40:02.348388
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:40:12.014422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:40:22.049305
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_55_9656.jpg', '/home/pi/Desktop/images/17122025/05/39/image_17122025_05_40_04_9797.jpg', '/home/pi/Desktop/images/17122025/05/40/image_17122025_05_40_34_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/39/image_17122025_05_39_55_9656.jpg
/home/pi/Desktop/images/17122025/05/39/image_17122025_05_40_04_9797.jpg
/home/pi/Desktop/images/17122025/05/40/image_17122025_05_40_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":["1399745546","1399745545","1399745550"],"photo_ids_order":["1399745545","1399745546","1399745550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b19257f71d9f7f977aca91019cbc10d.jpg","text":"TemporaryFile(/tmp/multipartBody9131529613860405316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946482531,"filename":"image_17122025_05_40_04_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31bab51f3999ad940bdc6b533c3019e9.jpg","text":"TemporaryFile(/tmp/multipartBody903908438367363821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946482531,"filename":"image_17122025_05_39_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8877e5940f33d0d8a0422cec10626995.jpg","text":"TemporaryFile(/tmp/multipartBody8452292998952006668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946482531,"filename":"image_17122025_05_40_34_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745550","file1":"1399745546","file0":"1399745545"},"map_files_photo_id_array":[{"photo_id":"1399745550","filename":"file2"},{"photo_id":"1399745546","filename":"file1"},{"photo_id":"1399745545","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745546":["hashtag1","hashtag2"]},{"1399745545":["hashtag1","hashtag2"]},{"1399745550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745546, 1399745545, 1399745550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.978443384170532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:41:02.936385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:41:12.203826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:41:22.267638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/40/image_17122025_05_40_55_10749.jpg', '/home/pi/Desktop/images/17122025/05/41/image_17122025_05_41_15_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/40/image_17122025_05_40_55_10749.jpg
/home/pi/Desktop/images/17122025/05/41/image_17122025_05_41_15_9838.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.3485405445098877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:41:32.198055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:41:42.235966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_04_2665.jpg', '/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_08_3759.jpg', '/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_10_2654.jpg', '/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_13_2734.jpg', '/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_17_3643.jpg', '/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_19_2925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_04_2665.jpg
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_08_3759.jpg
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_10_2654.jpg
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_13_2734.jpg
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_17_3643.jpg
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_19_2925.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745576","1399745572","1399745575","1399745569","1399745574","1399745577"],"photo_ids_order":["1399745569","1399745572","1399745574","1399745575","1399745576","1399745577"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e7885668e1a5d262a1c00689036aadd.jpg","text":"TemporaryFile(/tmp/multipartBody3856290513461596224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946563001,"filename":"image_07112025_16_47_17_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9566744c4222a2c0000eac4a69a4f95.jpg","text":"TemporaryFile(/tmp/multipartBody3930244249498805958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946563001,"filename":"image_07112025_16_47_08_3759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18e4d21b4aaaa59e401696ad9d0a91e8.jpg","text":"TemporaryFile(/tmp/multipartBody8731192099118065297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946563001,"filename":"image_07112025_16_47_13_2734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ac56477558feef8570d7d08badf18c5.jpg","text":"TemporaryFile(/tmp/multipartBody5389168478285883251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946563001,"filename":"image_07112025_16_47_04_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/676edd482ced4b1b87538bfbab60f0cd.jpg","text":"TemporaryFile(/tmp/multipartBody7108724235999192234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946563001,"filename":"image_07112025_16_47_10_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/642113b66d2980c7899db410265a5b3a.jpg","text":"TemporaryFile(/tmp/multipartBody6264806367633225631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946563001,"filename":"image_07112025_16_47_19_2925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745574","file1":"1399745572","file0":"1399745569","file4":"1399745576","file5":"1399745577","file3":"1399745575"},"map_files_photo_id_array":[{"photo_id":"1399745577","filename":"file5"},{"photo_id":"1399745574","filename":"file2"},{"photo_id":"1399745576","filename":"file4"},{"photo_id":"1399745572","filename":"file1"},{"photo_id":"1399745569","filename":"file0"},{"photo_id":"1399745575","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745576":["hashtag1","hashtag2"]},{"1399745572":["hashtag1","hashtag2"]},{"1399745575":["hashtag1","hashtag2"]},{"1399745569":["hashtag1","hashtag2"]},{"1399745574":["hashtag1","hashtag2"]},{"1399745577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745576, 1399745572, 1399745575, 1399745569, 1399745574, 1399745577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95100998878479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:42:22.486505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/40/image_17122025_05_40_55_10749.jpg', '/home/pi/Desktop/images/17122025/05/41/image_17122025_05_41_15_9838.jpg', '/home/pi/Desktop/images/17122025/05/41/image_17122025_05_41_54_9849.jpg', '/home/pi/Desktop/images/17122025/05/41/image_17122025_05_42_04_9666.jpg', '/home/pi/Desktop/images/17122025/05/42/image_17122025_05_42_25_9753.jpg', '/home/pi/Desktop/images/17122025/05/42/image_17122025_05_42_45_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/40/image_17122025_05_40_55_10749.jpg
/home/pi/Desktop/images/17122025/05/41/image_17122025_05_41_15_9838.jpg
/home/pi/Desktop/images/17122025/05/41/image_17122025_05_41_54_9849.jpg
/home/pi/Desktop/images/17122025/05/41/image_17122025_05_42_04_9666.jpg
/home/pi/Desktop/images/17122025/05/42/image_17122025_05_42_25_9753.jpg
/home/pi/Desktop/images/17122025/05/42/image_17122025_05_42_45_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745591","1399745593","1399745595","1399745589","1399745583","1399745586"],"photo_ids_order":["1399745583","1399745586","1399745589","1399745591","1399745593","1399745595"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/186ed5ba9de4e99bd5441aad26982ee5.jpg","text":"TemporaryFile(/tmp/multipartBody8248346711033434621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946603072,"filename":"image_17122025_05_42_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0f092172200710b70bbbfbe799813bc.jpg","text":"TemporaryFile(/tmp/multipartBody1587075572638299866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946603072,"filename":"image_17122025_05_42_25_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/708e79003e527e9b4f6fb3fcc21fb302.jpg","text":"TemporaryFile(/tmp/multipartBody1801396708724625565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946603072,"filename":"image_17122025_05_42_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e4d5f94ed501a61f456dac3dde148ca.jpg","text":"TemporaryFile(/tmp/multipartBody6080859648304547607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946603072,"filename":"image_17122025_05_41_54_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/580e19379840709085c076b80e23fd7d.jpg","text":"TemporaryFile(/tmp/multipartBody2312321797112858226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946603072,"filename":"image_17122025_05_40_55_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f216dabba2720a25ec63ba7edfb8fea8.jpg","text":"TemporaryFile(/tmp/multipartBody4952071169556484992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946603072,"filename":"image_17122025_05_41_15_9838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745589","file1":"1399745586","file0":"1399745583","file4":"1399745593","file5":"1399745595","file3":"1399745591"},"map_files_photo_id_array":[{"photo_id":"1399745595","filename":"file5"},{"photo_id":"1399745589","filename":"file2"},{"photo_id":"1399745593","filename":"file4"},{"photo_id":"1399745586","filename":"file1"},{"photo_id":"1399745583","filename":"file0"},{"photo_id":"1399745591","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745591":["hashtag1","hashtag2"]},{"1399745593":["hashtag1","hashtag2"]},{"1399745595":["hashtag1","hashtag2"]},{"1399745589":["hashtag1","hashtag2"]},{"1399745583":["hashtag1","hashtag2"]},{"1399745586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745591, 1399745593, 1399745595, 1399745589, 1399745583, 1399745586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52429723739624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:43:03.337061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:43:12.635721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:43:22.657094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/42/image_17122025_05_42_54_9682.jpg', '/home/pi/Desktop/images/17122025/05/43/image_17122025_05_43_15_10765.jpg', '/home/pi/Desktop/images/17122025/05/43/image_17122025_05_43_45_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/42/image_17122025_05_42_54_9682.jpg
/home/pi/Desktop/images/17122025/05/43/image_17122025_05_43_15_10765.jpg
/home/pi/Desktop/images/17122025/05/43/image_17122025_05_43_45_10754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745607","1399745609","1399745605"],"photo_ids_order":["1399745605","1399745607","1399745609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e52a1828696d967e5f8638437a421c1e.jpg","text":"TemporaryFile(/tmp/multipartBody8467666073020845930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946663139,"filename":"image_17122025_05_43_15_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7df722ce03febb51409a86c3d0fb4f44.jpg","text":"TemporaryFile(/tmp/multipartBody4526675431311163897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946663139,"filename":"image_17122025_05_43_45_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10795aebd4c0cd8812fa1cca9f7e038b.jpg","text":"TemporaryFile(/tmp/multipartBody8345200524175382775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946663139,"filename":"image_17122025_05_42_54_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745609","file1":"1399745607","file0":"1399745605"},"map_files_photo_id_array":[{"photo_id":"1399745609","filename":"file2"},{"photo_id":"1399745607","filename":"file1"},{"photo_id":"1399745605","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745607":["hashtag1","hashtag2"]},{"1399745609":["hashtag1","hashtag2"]},{"1399745605":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745607, 1399745609, 1399745605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.294229984283447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:44:02.677974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:44:12.126775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:44:21.976817
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/43/image_17122025_05_43_55_9708.jpg', '/home/pi/Desktop/images/17122025/05/44/image_17122025_05_44_25_10749.jpg', '/home/pi/Desktop/images/17122025/05/44/image_17122025_05_44_35_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/43/image_17122025_05_43_55_9708.jpg
/home/pi/Desktop/images/17122025/05/44/image_17122025_05_44_25_10749.jpg
/home/pi/Desktop/images/17122025/05/44/image_17122025_05_44_35_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":["1399745622","1399745626","1399745619"],"photo_ids_order":["1399745619","1399745622","1399745626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff9705604184b19d7dd0840532ad40e7.jpg","text":"TemporaryFile(/tmp/multipartBody6635092709568345860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946722523,"filename":"image_17122025_05_44_25_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e12c7d5b89bf48bf1fbb29b1a071f934.jpg","text":"TemporaryFile(/tmp/multipartBody8174116309994516177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946722523,"filename":"image_17122025_05_44_35_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6400b868d400aaea186a3bed1108512c.jpg","text":"TemporaryFile(/tmp/multipartBody1366240667784956885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946722523,"filename":"image_17122025_05_43_55_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745626","file1":"1399745622","file0":"1399745619"},"map_files_photo_id_array":[{"photo_id":"1399745626","filename":"file2"},{"photo_id":"1399745622","filename":"file1"},{"photo_id":"1399745619","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745622":["hashtag1","hashtag2"]},{"1399745626":["hashtag1","hashtag2"]},{"1399745619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745622, 1399745626, 1399745619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.042186975479126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:45:02.792031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:45:12.166671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:45:22.240101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/44/image_17122025_05_44_44_9611.jpg', '/home/pi/Desktop/images/17122025/05/44/image_17122025_05_45_04_9588.jpg', '/home/pi/Desktop/images/17122025/05/45/image_17122025_05_45_14_9822.jpg', '/home/pi/Desktop/images/17122025/05/45/image_17122025_05_45_25_10638.jpg', '/home/pi/Desktop/images/17122025/05/45/image_17122025_05_45_35_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/44/image_17122025_05_44_44_9611.jpg
/home/pi/Desktop/images/17122025/05/44/image_17122025_05_45_04_9588.jpg
/home/pi/Desktop/images/17122025/05/45/image_17122025_05_45_14_9822.jpg
/home/pi/Desktop/images/17122025/05/45/image_17122025_05_45_25_10638.jpg
/home/pi/Desktop/images/17122025/05/45/image_17122025_05_45_35_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":["1399745648","1399745650","1399745644","1399745647","1399745652"],"photo_ids_order":["1399745644","1399745647","1399745648","1399745650","1399745652"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0baf8f2ab63847970ee17b1a16a78ea0.jpg","text":"TemporaryFile(/tmp/multipartBody523939898275421845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946782788,"filename":"image_17122025_05_45_14_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecedcf485f0e2c9ca990620d546aba77.jpg","text":"TemporaryFile(/tmp/multipartBody1490327432556877114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946782788,"filename":"image_17122025_05_45_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a82c61256200367836673ec9cfc26341.jpg","text":"TemporaryFile(/tmp/multipartBody8345516274527930556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946782788,"filename":"image_17122025_05_44_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10b1ab07abe6f2ac3ae1ae4e357840eb.jpg","text":"TemporaryFile(/tmp/multipartBody6603647015450452861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946782788,"filename":"image_17122025_05_45_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9534374753aa9b04a5c5040ce7adda7c.jpg","text":"TemporaryFile(/tmp/multipartBody2436465323035204185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946782788,"filename":"image_17122025_05_45_35_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745648","file1":"1399745647","file0":"1399745644","file4":"1399745652","file3":"1399745650"},"map_files_photo_id_array":[{"photo_id":"1399745648","filename":"file2"},{"photo_id":"1399745652","filename":"file4"},{"photo_id":"1399745647","filename":"file1"},{"photo_id":"1399745644","filename":"file0"},{"photo_id":"1399745650","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745648":["hashtag1","hashtag2"]},{"1399745650":["hashtag1","hashtag2"]},{"1399745644":["hashtag1","hashtag2"]},{"1399745647":["hashtag1","hashtag2"]},{"1399745652":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745648, 1399745650, 1399745644, 1399745647, 1399745652)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.890910148620605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:46:02.997853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:46:12.648226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:46:22.611954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/45/image_17122025_05_45_55_10756.jpg', '/home/pi/Desktop/images/17122025/05/45/image_17122025_05_46_05_9701.jpg', '/home/pi/Desktop/images/17122025/05/46/image_17122025_05_46_25_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/45/image_17122025_05_45_55_10756.jpg
/home/pi/Desktop/images/17122025/05/45/image_17122025_05_46_05_9701.jpg
/home/pi/Desktop/images/17122025/05/46/image_17122025_05_46_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":["1399745656","1399745661","1399745658"],"photo_ids_order":["1399745656","1399745658","1399745661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13bb95223243b8922e35cc1deacb86e9.jpg","text":"TemporaryFile(/tmp/multipartBody7803331401172526177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946843154,"filename":"image_17122025_05_45_55_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6af625cfc9f167e2f51df547707f8d84.jpg","text":"TemporaryFile(/tmp/multipartBody1451687750153686186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946843154,"filename":"image_17122025_05_46_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf17b94a0372a250981e79e3d04ce05c.jpg","text":"TemporaryFile(/tmp/multipartBody5931391733786128199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946843154,"filename":"image_17122025_05_46_05_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745661","file1":"1399745658","file0":"1399745656"},"map_files_photo_id_array":[{"photo_id":"1399745661","filename":"file2"},{"photo_id":"1399745658","filename":"file1"},{"photo_id":"1399745656","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745656":["hashtag1","hashtag2"]},{"1399745661":["hashtag1","hashtag2"]},{"1399745658":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745656, 1399745661, 1399745658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.234408617019653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:47:03.378671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:47:12.748550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:47:22.892681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/46/image_17122025_05_46_55_10657.jpg', '/home/pi/Desktop/images/17122025/05/46/image_17122025_05_47_05_9716.jpg', '/home/pi/Desktop/images/17122025/05/47/image_17122025_05_47_25_10646.jpg', '/home/pi/Desktop/images/17122025/05/47/image_17122025_05_47_35_9555.jpg', '/home/pi/Desktop/images/17122025/05/47/image_17122025_05_47_44_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/46/image_17122025_05_46_55_10657.jpg
/home/pi/Desktop/images/17122025/05/46/image_17122025_05_47_05_9716.jpg
/home/pi/Desktop/images/17122025/05/47/image_17122025_05_47_25_10646.jpg
/home/pi/Desktop/images/17122025/05/47/image_17122025_05_47_35_9555.jpg
/home/pi/Desktop/images/17122025/05/47/image_17122025_05_47_44_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745681","1399745683","1399745676","1399745685","1399745679"],"photo_ids_order":["1399745676","1399745679","1399745681","1399745683","1399745685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2cef98d74e34d761f81a410161bf565.jpg","text":"TemporaryFile(/tmp/multipartBody2390268508693971319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946903452,"filename":"image_17122025_05_47_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8c3ebcbf733a9c194680992c7c23cdd.jpg","text":"TemporaryFile(/tmp/multipartBody4189630790750524376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946903452,"filename":"image_17122025_05_47_35_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/864b1ae3f4ad7eea0f56005cd3e5ce66.jpg","text":"TemporaryFile(/tmp/multipartBody7318940259962430769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946903452,"filename":"image_17122025_05_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/2025/12/17/72c59aab62e9c537aa0955683d2e1c14.jpg","text":"TemporaryFile(/tmp/multipartBody8327834204127419473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946903452,"filename":"image_17122025_05_47_44_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5984a4222496835b4c89e33c8ce75ea2.jpg","text":"TemporaryFile(/tmp/multipartBody6172542874563448376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946903452,"filename":"image_17122025_05_47_05_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745681","file1":"1399745679","file0":"1399745676","file4":"1399745685","file3":"1399745683"},"map_files_photo_id_array":[{"photo_id":"1399745681","filename":"file2"},{"photo_id":"1399745685","filename":"file4"},{"photo_id":"1399745679","filename":"file1"},{"photo_id":"1399745676","filename":"file0"},{"photo_id":"1399745683","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745681":["hashtag1","hashtag2"]},{"1399745683":["hashtag1","hashtag2"]},{"1399745676":["hashtag1","hashtag2"]},{"1399745685":["hashtag1","hashtag2"]},{"1399745679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745681, 1399745683, 1399745676, 1399745685, 1399745679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.74156308174133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:48:02.465329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:48:12.004038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:48:22.110549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/47/image_17122025_05_47_55_10696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/47/image_17122025_05_47_55_10696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745694"],"photo_id":"1399745694","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcc6dedd7e6d1d26b41bc1f6421d87f2.jpg","text":"TemporaryFile(/tmp/multipartBody4826681032254605915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946962534,"filename":"image_17122025_05_47_55_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399745694"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399745694"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.288762331008911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:48:42.003243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_31_2607.jpg', '/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_34_2627.jpg', '/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_37_3632.jpg', '/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_49_3624.jpg', '/home/pi/Desktop/images/07112025/16/48/image_07112025_16_48_40_3622.jpg', '/home/pi/Desktop/images/07112025/16/48/image_07112025_16_48_43_2596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_31_2607.jpg
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_34_2627.jpg
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_37_3632.jpg
/home/pi/Desktop/images/07112025/16/47/image_07112025_16_47_49_3624.jpg
/home/pi/Desktop/images/07112025/16/48/image_07112025_16_48_40_3622.jpg
/home/pi/Desktop/images/07112025/16/48/image_07112025_16_48_43_2596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745712","1399745709","1399745700","1399745705","1399745714","1399745707"],"photo_ids_order":["1399745700","1399745705","1399745707","1399745709","1399745712","1399745714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f3e88c5b2ca23165476be0b25d72061.jpg","text":"TemporaryFile(/tmp/multipartBody2775666921296217177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946982693,"filename":"image_07112025_16_48_40_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2666282d2adae5d226a716d9fa9277c6.jpg","text":"TemporaryFile(/tmp/multipartBody5691075788970308051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946982693,"filename":"image_07112025_16_47_49_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/621efe486a660c563256342ddb3040c7.jpg","text":"TemporaryFile(/tmp/multipartBody4784352978920299712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946982693,"filename":"image_07112025_16_47_31_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/567138fa969cbe558856545e57cab1b6.jpg","text":"TemporaryFile(/tmp/multipartBody7668201246693692882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946982693,"filename":"image_07112025_16_47_34_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea9e02c52d7185bb2eddb1f2881a5cdd.jpg","text":"TemporaryFile(/tmp/multipartBody1466927942097788366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946982693,"filename":"image_07112025_16_48_43_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0927e5c7762977b977f682333e1009ff.jpg","text":"TemporaryFile(/tmp/multipartBody7171249973942184940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765946982693,"filename":"image_07112025_16_47_37_3632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745707","file1":"1399745705","file0":"1399745700","file4":"1399745712","file5":"1399745714","file3":"1399745709"},"map_files_photo_id_array":[{"photo_id":"1399745714","filename":"file5"},{"photo_id":"1399745707","filename":"file2"},{"photo_id":"1399745712","filename":"file4"},{"photo_id":"1399745705","filename":"file1"},{"photo_id":"1399745700","filename":"file0"},{"photo_id":"1399745709","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745712":["hashtag1","hashtag2"]},{"1399745709":["hashtag1","hashtag2"]},{"1399745700":["hashtag1","hashtag2"]},{"1399745705":["hashtag1","hashtag2"]},{"1399745714":["hashtag1","hashtag2"]},{"1399745707":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745712, 1399745709, 1399745700, 1399745705, 1399745714, 1399745707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7303032875061 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:49:22.236733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/47/image_17122025_05_48_05_9603.jpg', '/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_14_9704.jpg', '/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_24_9750.jpg', '/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_35_10777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/47/image_17122025_05_48_05_9603.jpg
/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_14_9704.jpg
/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_24_9750.jpg
/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_35_10777.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4293992519378662 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:49:32.353423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:49:42.200775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/48/image_07112025_16_48_58_3645.jpg', '/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_07_2655.jpg', '/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_10_2788.jpg', '/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_13_3578.jpg', '/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_40_2497.jpg', '/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_49_2553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/48/image_07112025_16_48_58_3645.jpg
/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_07_2655.jpg
/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_10_2788.jpg
/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_13_3578.jpg
/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_40_2497.jpg
/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_49_2553.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745733","1399745727","1399745732","1399745731","1399745734","1399745736"],"photo_ids_order":["1399745727","1399745731","1399745732","1399745733","1399745734","1399745736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bed1793d33c96736898116449109b00f.jpg","text":"TemporaryFile(/tmp/multipartBody1316619738217514064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947042943,"filename":"image_07112025_16_49_13_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d05099713f92ca5e2d085606cb2aef2.jpg","text":"TemporaryFile(/tmp/multipartBody2875347907566468058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947042943,"filename":"image_07112025_16_48_58_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/864bd069b378a046ba16abbe422dc6ad.jpg","text":"TemporaryFile(/tmp/multipartBody6938603922380659618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947042943,"filename":"image_07112025_16_49_10_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36046ef45539f89a5ec3ecaacfa9db3e.jpg","text":"TemporaryFile(/tmp/multipartBody3639556963615928565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947042943,"filename":"image_07112025_16_49_07_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef902517a03f63fbb443154bf291a73a.jpg","text":"TemporaryFile(/tmp/multipartBody5112171231002935423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947042943,"filename":"image_07112025_16_49_40_2497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0853078c28ab99232ecda6b58294dd54.jpg","text":"TemporaryFile(/tmp/multipartBody7429635361490527719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947042943,"filename":"image_07112025_16_49_49_2553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745732","file1":"1399745731","file0":"1399745727","file4":"1399745734","file5":"1399745736","file3":"1399745733"},"map_files_photo_id_array":[{"photo_id":"1399745736","filename":"file5"},{"photo_id":"1399745732","filename":"file2"},{"photo_id":"1399745734","filename":"file4"},{"photo_id":"1399745731","filename":"file1"},{"photo_id":"1399745727","filename":"file0"},{"photo_id":"1399745733","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745733":["hashtag1","hashtag2"]},{"1399745727":["hashtag1","hashtag2"]},{"1399745732":["hashtag1","hashtag2"]},{"1399745731":["hashtag1","hashtag2"]},{"1399745734":["hashtag1","hashtag2"]},{"1399745736":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745733, 1399745727, 1399745732, 1399745731, 1399745734, 1399745736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63199305534363 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:50:22.468265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/47/image_17122025_05_48_05_9603.jpg', '/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_14_9704.jpg', '/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_24_9750.jpg', '/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_35_10777.jpg', '/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_45_9763.jpg', '/home/pi/Desktop/images/17122025/05/50/image_17122025_05_50_15_10796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/47/image_17122025_05_48_05_9603.jpg
/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_14_9704.jpg
/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_24_9750.jpg
/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_35_10777.jpg
/home/pi/Desktop/images/17122025/05/49/image_17122025_05_49_45_9763.jpg
/home/pi/Desktop/images/17122025/05/50/image_17122025_05_50_15_10796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745748","1399745741","1399745744","1399745752","1399745746","1399745742"],"photo_ids_order":["1399745741","1399745742","1399745744","1399745746","1399745748","1399745752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d50100426aeebfddd331f8198c4fff1.jpg","text":"TemporaryFile(/tmp/multipartBody7940493151081414269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947083083,"filename":"image_17122025_05_49_45_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec7fc3eb758ab23d7913b4a038fc5569.jpg","text":"TemporaryFile(/tmp/multipartBody106957377809761020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947083083,"filename":"image_17122025_05_48_05_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b8b4d53e4c2982e68e5b9e3944c2852.jpg","text":"TemporaryFile(/tmp/multipartBody7155030753126329537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947083083,"filename":"image_17122025_05_49_24_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c54d682f912dddf777d12790e35b36fb.jpg","text":"TemporaryFile(/tmp/multipartBody5096867905150156429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947083083,"filename":"image_17122025_05_50_15_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/490a113d2020a9d1e54c8ed57ff12eb2.jpg","text":"TemporaryFile(/tmp/multipartBody5586489291814547188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947083083,"filename":"image_17122025_05_49_35_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/475b8cdfb22f42a48431359eccbb6dfa.jpg","text":"TemporaryFile(/tmp/multipartBody4489004014235415179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947083083,"filename":"image_17122025_05_49_14_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745744","file1":"1399745742","file0":"1399745741","file4":"1399745748","file5":"1399745752","file3":"1399745746"},"map_files_photo_id_array":[{"photo_id":"1399745752","filename":"file5"},{"photo_id":"1399745744","filename":"file2"},{"photo_id":"1399745748","filename":"file4"},{"photo_id":"1399745742","filename":"file1"},{"photo_id":"1399745741","filename":"file0"},{"photo_id":"1399745746","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745748":["hashtag1","hashtag2"]},{"1399745741":["hashtag1","hashtag2"]},{"1399745744":["hashtag1","hashtag2"]},{"1399745752":["hashtag1","hashtag2"]},{"1399745746":["hashtag1","hashtag2"]},{"1399745742":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745748, 1399745741, 1399745744, 1399745752, 1399745746, 1399745742)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.206140995025635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:51:03.468677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/50/image_17122025_05_50_25_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/50/image_17122025_05_50_25_9566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745756"],"photo_id":"1399745756","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75e3aeb73a2b9c7f4001132c80bde998.jpg","text":"TemporaryFile(/tmp/multipartBody5220495455002869092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947123929,"filename":"image_17122025_05_50_25_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399745756"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399745756"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.526143789291382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:51:22.729606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/50/image_17122025_05_50_34_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/50/image_17122025_05_50_34_9631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745762"],"photo_id":"1399745762","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/619c6388f885c204890c5f045062330c.jpg","text":"TemporaryFile(/tmp/multipartBody845843604624411713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947143147,"filename":"image_17122025_05_50_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399745762"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399745762"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.486541271209717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:51:42.771013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_55_3778.jpg', '/home/pi/Desktop/images/07112025/16/49/image_07112025_16_50_00_2612.jpg', '/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_11_3675.jpg', '/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_26_3527.jpg', '/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_41_2619.jpg', '/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_50_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/49/image_07112025_16_49_55_3778.jpg
/home/pi/Desktop/images/07112025/16/49/image_07112025_16_50_00_2612.jpg
/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_11_3675.jpg
/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_26_3527.jpg
/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_41_2619.jpg
/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_50_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":["1399745771","1399745774","1399745768","1399745773","1399745772","1399745775"],"photo_ids_order":["1399745768","1399745771","1399745772","1399745773","1399745774","1399745775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abe1c8a536ade2c999d6be400ebd876b.jpg","text":"TemporaryFile(/tmp/multipartBody6660789244548500514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947163455,"filename":"image_07112025_16_50_00_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddcb4baebf122053739fdeea8958c60c.jpg","text":"TemporaryFile(/tmp/multipartBody877454654712971205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947163455,"filename":"image_07112025_16_50_41_2619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bedc25dc40073ad764e63ecba778fa11.jpg","text":"TemporaryFile(/tmp/multipartBody2496311046392937278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947163455,"filename":"image_07112025_16_49_55_3778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6989784c86152770e9beeed4f5e02018.jpg","text":"TemporaryFile(/tmp/multipartBody6793497352967038773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947163455,"filename":"image_07112025_16_50_26_3527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4fe08644c2306087456a5f42c18c3b44.jpg","text":"TemporaryFile(/tmp/multipartBody4281160521695389348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947163455,"filename":"image_07112025_16_50_11_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22cdc2d7ea05452ea0c2e3ac9651b805.jpg","text":"TemporaryFile(/tmp/multipartBody8929781393140323450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947163455,"filename":"image_07112025_16_50_50_2616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745772","file1":"1399745771","file0":"1399745768","file4":"1399745774","file5":"1399745775","file3":"1399745773"},"map_files_photo_id_array":[{"photo_id":"1399745775","filename":"file5"},{"photo_id":"1399745772","filename":"file2"},{"photo_id":"1399745774","filename":"file4"},{"photo_id":"1399745771","filename":"file1"},{"photo_id":"1399745768","filename":"file0"},{"photo_id":"1399745773","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745771":["hashtag1","hashtag2"]},{"1399745774":["hashtag1","hashtag2"]},{"1399745768":["hashtag1","hashtag2"]},{"1399745773":["hashtag1","hashtag2"]},{"1399745772":["hashtag1","hashtag2"]},{"1399745775":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745771, 1399745774, 1399745768, 1399745773, 1399745772, 1399745775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08534359931946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:52:22.045556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/51/image_17122025_05_51_15_9730.jpg', '/home/pi/Desktop/images/17122025/05/51/image_17122025_05_52_04_9809.jpg', '/home/pi/Desktop/images/17122025/05/52/image_17122025_05_52_25_9690.jpg', '/home/pi/Desktop/images/17122025/05/52/image_17122025_05_52_34_9824.jpg', '/home/pi/Desktop/images/17122025/05/52/image_17122025_05_52_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/51/image_17122025_05_51_15_9730.jpg
/home/pi/Desktop/images/17122025/05/51/image_17122025_05_52_04_9809.jpg
/home/pi/Desktop/images/17122025/05/52/image_17122025_05_52_25_9690.jpg
/home/pi/Desktop/images/17122025/05/52/image_17122025_05_52_34_9824.jpg
/home/pi/Desktop/images/17122025/05/52/image_17122025_05_52_44_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":["1399745786","1399745789","1399745804","1399745782","1399745791"],"photo_ids_order":["1399745782","1399745786","1399745789","1399745791","1399745804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/129e627258403e6ef106e00ab4955fd5.jpg","text":"TemporaryFile(/tmp/multipartBody2405369632807059497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947202592,"filename":"image_17122025_05_52_04_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e276a94267a829141450528fc6a9c4f.jpg","text":"TemporaryFile(/tmp/multipartBody6805110652296682328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947202592,"filename":"image_17122025_05_52_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6bd2deee6c159a4fc796e577d739d7b.jpg","text":"TemporaryFile(/tmp/multipartBody8920363990132493678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947202592,"filename":"image_17122025_05_52_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f54565746f5c5e6d49e168d6d145e50d.jpg","text":"TemporaryFile(/tmp/multipartBody4485997746724532376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947202592,"filename":"image_17122025_05_51_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70f3640b6e732f7d5aa82278083d1943.jpg","text":"TemporaryFile(/tmp/multipartBody3932754299667606023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947202592,"filename":"image_17122025_05_52_34_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745789","file1":"1399745786","file0":"1399745782","file4":"1399745804","file3":"1399745791"},"map_files_photo_id_array":[{"photo_id":"1399745789","filename":"file2"},{"photo_id":"1399745804","filename":"file4"},{"photo_id":"1399745786","filename":"file1"},{"photo_id":"1399745782","filename":"file0"},{"photo_id":"1399745791","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745786":["hashtag1","hashtag2"]},{"1399745789":["hashtag1","hashtag2"]},{"1399745804":["hashtag1","hashtag2"]},{"1399745782":["hashtag1","hashtag2"]},{"1399745791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745786, 1399745789, 1399745804, 1399745782, 1399745791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.94474148750305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:53:02.744399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:53:12.215818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:53:22.267231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/52/image_17122025_05_52_55_10680.jpg', '/home/pi/Desktop/images/17122025/05/53/image_17122025_05_53_14_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/52/image_17122025_05_52_55_10680.jpg
/home/pi/Desktop/images/17122025/05/53/image_17122025_05_53_14_9598.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745826","1399745824"],"photo_ids_order":["1399745824","1399745826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6919f49e2e3b2045ca013de365edaff7.jpg","text":"TemporaryFile(/tmp/multipartBody6856351522369464168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947262751,"filename":"image_17122025_05_53_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3514772a20574ddafeae3f11fd1693f6.jpg","text":"TemporaryFile(/tmp/multipartBody7051963023636666436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947262751,"filename":"image_17122025_05_52_55_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399745826","file0":"1399745824"},"map_files_photo_id_array":[{"photo_id":"1399745826","filename":"file1"},{"photo_id":"1399745824","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745826":["hashtag1","hashtag2"]},{"1399745824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745826, 1399745824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.238543033599854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:53:42.284856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_53_2997.jpg', '/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_59_2659.jpg', '/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_01_2553.jpg', '/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_17_2681.jpg', '/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_26_2697.jpg', '/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_29_3664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_53_2997.jpg
/home/pi/Desktop/images/07112025/16/50/image_07112025_16_50_59_2659.jpg
/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_01_2553.jpg
/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_17_2681.jpg
/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_26_2697.jpg
/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_29_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":["1399745832","1399745840","1399745843","1399745842","1399745841","1399745844"],"photo_ids_order":["1399745832","1399745840","1399745841","1399745842","1399745843","1399745844"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56dac11bcb422fcecb7d0448f9716acf.jpg","text":"TemporaryFile(/tmp/multipartBody7510997418015895716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947283000,"filename":"image_07112025_16_50_53_2997.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f221147720af7f800c71e2f9e7c0d676.jpg","text":"TemporaryFile(/tmp/multipartBody7970199828285970770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947283000,"filename":"image_07112025_16_50_59_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3975a5918a23b471427d545952805d7b.jpg","text":"TemporaryFile(/tmp/multipartBody1129556159703635745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947283000,"filename":"image_07112025_16_51_26_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8e5f3aebb38e8ef498cd21e9e7b7743.jpg","text":"TemporaryFile(/tmp/multipartBody5619584925178941363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947283000,"filename":"image_07112025_16_51_17_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e65c9e05786c58cf60236df0d1eb8839.jpg","text":"TemporaryFile(/tmp/multipartBody390779271816744453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947283000,"filename":"image_07112025_16_51_01_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0411153a35236a516db73d1802977cf9.jpg","text":"TemporaryFile(/tmp/multipartBody8836894192852284763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947283000,"filename":"image_07112025_16_51_29_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745841","file1":"1399745840","file0":"1399745832","file4":"1399745843","file5":"1399745844","file3":"1399745842"},"map_files_photo_id_array":[{"photo_id":"1399745844","filename":"file5"},{"photo_id":"1399745841","filename":"file2"},{"photo_id":"1399745843","filename":"file4"},{"photo_id":"1399745840","filename":"file1"},{"photo_id":"1399745832","filename":"file0"},{"photo_id":"1399745842","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745832":["hashtag1","hashtag2"]},{"1399745840":["hashtag1","hashtag2"]},{"1399745843":["hashtag1","hashtag2"]},{"1399745842":["hashtag1","hashtag2"]},{"1399745841":["hashtag1","hashtag2"]},{"1399745844":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745832, 1399745840, 1399745843, 1399745842, 1399745841, 1399745844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70368814468384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:54:22.492602
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/53/image_17122025_05_53_34_9619.jpg', '/home/pi/Desktop/images/17122025/05/53/image_17122025_05_54_05_9572.jpg', '/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_14_9794.jpg', '/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_25_10524.jpg', '/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_34_9657.jpg', '/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_44_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/53/image_17122025_05_53_34_9619.jpg
/home/pi/Desktop/images/17122025/05/53/image_17122025_05_54_05_9572.jpg
/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_14_9794.jpg
/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_25_10524.jpg
/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_34_9657.jpg
/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_44_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":["1399745870","1399745858","1399745849","1399745872","1399745854","1399745862"],"photo_ids_order":["1399745849","1399745854","1399745858","1399745862","1399745870","1399745872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0c70bfae38623f03c936632eb7b48cd.jpg","text":"TemporaryFile(/tmp/multipartBody5476422868380010516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947323153,"filename":"image_17122025_05_54_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84fba7b393123b575686e6ac4c913aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6380417064795771260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947323153,"filename":"image_17122025_05_54_14_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c94c566cdb98151512b2a3cdc2525473.jpg","text":"TemporaryFile(/tmp/multipartBody6335390032260574988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947323153,"filename":"image_17122025_05_53_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/192219fff5da1cef4b8787c9a2295b45.jpg","text":"TemporaryFile(/tmp/multipartBody6973928685273544909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947323153,"filename":"image_17122025_05_54_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1419944128e8cf42aff72519807ace2.jpg","text":"TemporaryFile(/tmp/multipartBody696308879866672118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947323153,"filename":"image_17122025_05_54_05_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60a44d73e7fe66f34f7788e6119d690d.jpg","text":"TemporaryFile(/tmp/multipartBody3947076480255391586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947323153,"filename":"image_17122025_05_54_25_10524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745858","file1":"1399745854","file0":"1399745849","file4":"1399745870","file5":"1399745872","file3":"1399745862"},"map_files_photo_id_array":[{"photo_id":"1399745872","filename":"file5"},{"photo_id":"1399745858","filename":"file2"},{"photo_id":"1399745870","filename":"file4"},{"photo_id":"1399745854","filename":"file1"},{"photo_id":"1399745849","filename":"file0"},{"photo_id":"1399745862","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745870":["hashtag1","hashtag2"]},{"1399745858":["hashtag1","hashtag2"]},{"1399745849":["hashtag1","hashtag2"]},{"1399745872":["hashtag1","hashtag2"]},{"1399745854":["hashtag1","hashtag2"]},{"1399745862":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745870, 1399745858, 1399745849, 1399745872, 1399745854, 1399745862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48670721054077 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:55:03.446917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:55:12.746355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:55:22.699355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_55_10595.jpg', '/home/pi/Desktop/images/17122025/05/54/image_17122025_05_55_04_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/54/image_17122025_05_54_55_10595.jpg
/home/pi/Desktop/images/17122025/05/54/image_17122025_05_55_04_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745878","1399745880"],"photo_ids_order":["1399745878","1399745880"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4faf928a9ebbc1ef04cf3a2c6556197a.jpg","text":"TemporaryFile(/tmp/multipartBody4760031038725600582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947383146,"filename":"image_17122025_05_54_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dff594b00b79123da765c7c889f9d8e.jpg","text":"TemporaryFile(/tmp/multipartBody4748659678020713981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947383146,"filename":"image_17122025_05_55_04_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399745880","file0":"1399745878"},"map_files_photo_id_array":[{"photo_id":"1399745880","filename":"file1"},{"photo_id":"1399745878","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745878":["hashtag1","hashtag2"]},{"1399745880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745878, 1399745880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.056958436965942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 05:55:42.667399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_38_3589.jpg', '/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_57_1585.jpg', '/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_59_1618.jpg', '/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_01_1608.jpg', '/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_11_2676.jpg', '/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_17_3626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_38_3589.jpg
/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_57_1585.jpg
/home/pi/Desktop/images/07112025/16/51/image_07112025_16_51_59_1618.jpg
/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_01_1608.jpg
/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_11_2676.jpg
/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_17_3626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745891","1399745885","1399745893","1399745890","1399745892","1399745889"],"photo_ids_order":["1399745885","1399745889","1399745890","1399745891","1399745892","1399745893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbdcf7252741c6fed07b0e1640e52572.jpg","text":"TemporaryFile(/tmp/multipartBody3357294615660934478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947403361,"filename":"image_07112025_16_52_01_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f190138a287a01f62cf828b96647e429.jpg","text":"TemporaryFile(/tmp/multipartBody7986712440240546833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947403361,"filename":"image_07112025_16_51_38_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0aad8ab185def5af8e2bb1d2ffaf0921.jpg","text":"TemporaryFile(/tmp/multipartBody8279535850768801347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947403361,"filename":"image_07112025_16_52_17_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6cc0ce5f6f8c22079821b9ee1ca16f4.jpg","text":"TemporaryFile(/tmp/multipartBody8756186606393818111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947403361,"filename":"image_07112025_16_51_59_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26d30955f58f076df747ea25b9a16f5b.jpg","text":"TemporaryFile(/tmp/multipartBody6752053543779163712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947403361,"filename":"image_07112025_16_52_11_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41b6428feff353ea6a6950e81e910f9f.jpg","text":"TemporaryFile(/tmp/multipartBody1292235889102759975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947403361,"filename":"image_07112025_16_51_57_1585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745890","file1":"1399745889","file0":"1399745885","file4":"1399745892","file5":"1399745893","file3":"1399745891"},"map_files_photo_id_array":[{"photo_id":"1399745893","filename":"file5"},{"photo_id":"1399745890","filename":"file2"},{"photo_id":"1399745892","filename":"file4"},{"photo_id":"1399745889","filename":"file1"},{"photo_id":"1399745885","filename":"file0"},{"photo_id":"1399745891","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399745891":["hashtag1","hashtag2"]},{"1399745885":["hashtag1","hashtag2"]},{"1399745893":["hashtag1","hashtag2"]},{"1399745890":["hashtag1","hashtag2"]},{"1399745892":["hashtag1","hashtag2"]},{"1399745889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399745891, 1399745885, 1399745893, 1399745890, 1399745892, 1399745889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55492854118347 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:56:21.944339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/55/image_17122025_05_55_55_9720.jpg', '/home/pi/Desktop/images/17122025/05/55/image_17122025_05_56_05_9832.jpg', '/home/pi/Desktop/images/17122025/05/56/image_17122025_05_56_14_9555.jpg', '/home/pi/Desktop/images/17122025/05/56/image_17122025_05_56_25_10694.jpg', '/home/pi/Desktop/images/17122025/05/56/image_17122025_05_56_34_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/55/image_17122025_05_55_55_9720.jpg
/home/pi/Desktop/images/17122025/05/55/image_17122025_05_56_05_9832.jpg
/home/pi/Desktop/images/17122025/05/56/image_17122025_05_56_14_9555.jpg
/home/pi/Desktop/images/17122025/05/56/image_17122025_05_56_25_10694.jpg
/home/pi/Desktop/images/17122025/05/56/image_17122025_05_56_34_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":["1399745907","1399745900","1399745903","1399745905","1399745898"],"photo_ids_order":["1399745898","1399745900","1399745903","1399745905","1399745907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f9c1699ed743362aaea8af28c58e8e5.jpg","text":"TemporaryFile(/tmp/multipartBody8145674296987509628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947442490,"filename":"image_17122025_05_56_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe5528b47bd5c4fd7fbbb9afe25c5b77.jpg","text":"TemporaryFile(/tmp/multipartBody7009560094099598295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947442490,"filename":"image_17122025_05_56_05_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/918fb2ec2a0211389e8c77237ba85f10.jpg","text":"TemporaryFile(/tmp/multipartBody1272379997935094798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947442490,"filename":"image_17122025_05_56_14_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fe484b069352ba0fd428e58ce1266f6.jpg","text":"TemporaryFile(/tmp/multipartBody1336626559563435378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947442490,"filename":"image_17122025_05_56_25_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c84f6b2608b534020ae9591237025177.jpg","text":"TemporaryFile(/tmp/multipartBody2186571508513478912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947442490,"filename":"image_17122025_05_55_55_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745903","file1":"1399745900","file0":"1399745898","file4":"1399745907","file3":"1399745905"},"map_files_photo_id_array":[{"photo_id":"1399745903","filename":"file2"},{"photo_id":"1399745907","filename":"file4"},{"photo_id":"1399745900","filename":"file1"},{"photo_id":"1399745898","filename":"file0"},{"photo_id":"1399745905","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745907":["hashtag1","hashtag2"]},{"1399745900":["hashtag1","hashtag2"]},{"1399745903":["hashtag1","hashtag2"]},{"1399745905":["hashtag1","hashtag2"]},{"1399745898":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745907, 1399745900, 1399745903, 1399745905, 1399745898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.721731185913086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:57:02.786633
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 05:57:12.055855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 05:57:22.141975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/56/image_17122025_05_56_44_9707.jpg', '/home/pi/Desktop/images/17122025/05/56/image_17122025_05_57_05_9658.jpg', '/home/pi/Desktop/images/17122025/05/57/image_17122025_05_57_14_9693.jpg', '/home/pi/Desktop/images/17122025/05/57/image_17122025_05_57_25_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/56/image_17122025_05_56_44_9707.jpg
/home/pi/Desktop/images/17122025/05/56/image_17122025_05_57_05_9658.jpg
/home/pi/Desktop/images/17122025/05/57/image_17122025_05_57_14_9693.jpg
/home/pi/Desktop/images/17122025/05/57/image_17122025_05_57_25_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399745936","1399745938","1399745940","1399745934"],"photo_ids_order":["1399745934","1399745936","1399745938","1399745940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/375254c276854a26c417aef9c549b226.jpg","text":"TemporaryFile(/tmp/multipartBody5264860196764055347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947502678,"filename":"image_17122025_05_57_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41d0c16d90ec3862df7abda2ac6b0cc6.jpg","text":"TemporaryFile(/tmp/multipartBody6373901777051264890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947502678,"filename":"image_17122025_05_57_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee3cc66059f3ab8e85e27e4bd9aa9f2f.jpg","text":"TemporaryFile(/tmp/multipartBody2709606020349780555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947502678,"filename":"image_17122025_05_57_25_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e55c9a0993964cca5b193165828b56e1.jpg","text":"TemporaryFile(/tmp/multipartBody1986666914202301183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947502678,"filename":"image_17122025_05_56_44_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399745938","file1":"1399745936","file0":"1399745934","file3":"1399745940"},"map_files_photo_id_array":[{"photo_id":"1399745938","filename":"file2"},{"photo_id":"1399745936","filename":"file1"},{"photo_id":"1399745934","filename":"file0"},{"photo_id":"1399745940","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399745936":["hashtag1","hashtag2"]},{"1399745938":["hashtag1","hashtag2"]},{"1399745940":["hashtag1","hashtag2"]},{"1399745934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399745936, 1399745938, 1399745940, 1399745934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.33691096305847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 05:59:03.277547
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/57/image_17122025_05_57_34_9576.jpg', '/home/pi/Desktop/images/17122025/05/57/image_17122025_05_58_05_9682.jpg', '/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_14_9582.jpg', '/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_25_10657.jpg', '/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_34_9549.jpg', '/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_45_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/57/image_17122025_05_57_34_9576.jpg
/home/pi/Desktop/images/17122025/05/57/image_17122025_05_58_05_9682.jpg
/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_14_9582.jpg
/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_25_10657.jpg
/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_34_9549.jpg
/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_45_10692.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":["1399746428","1399746230","1399746308","1399746346","1399746387","1399746267"],"photo_ids_order":["1399746230","1399746267","1399746308","1399746346","1399746387","1399746428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d3fef95976d51a2582da046c0d6b93c.jpg","text":"TemporaryFile(/tmp/multipartBody5734994078106373706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947604127,"filename":"image_17122025_05_58_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b871b68021af992731e5b98e6de7ea9c.jpg","text":"TemporaryFile(/tmp/multipartBody7321224851947175168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947604127,"filename":"image_17122025_05_57_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/846ad3fe6f5789da8a119c2aa23fb780.jpg","text":"TemporaryFile(/tmp/multipartBody2869404772693777697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947604127,"filename":"image_17122025_05_58_14_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5aeff0938d79f86edaaab2f4b1231d43.jpg","text":"TemporaryFile(/tmp/multipartBody175890547263960501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947604127,"filename":"image_17122025_05_58_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9763d78a61439a741ee6d83bbbca2229.jpg","text":"TemporaryFile(/tmp/multipartBody1607818774624747431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947604127,"filename":"image_17122025_05_58_34_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/349e2cbea8d8281d09bb2fbc130ef9d3.jpg","text":"TemporaryFile(/tmp/multipartBody8398821270489951271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947604127,"filename":"image_17122025_05_58_05_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399746308","file1":"1399746267","file0":"1399746230","file4":"1399746387","file5":"1399746428","file3":"1399746346"},"map_files_photo_id_array":[{"photo_id":"1399746428","filename":"file5"},{"photo_id":"1399746308","filename":"file2"},{"photo_id":"1399746387","filename":"file4"},{"photo_id":"1399746267","filename":"file1"},{"photo_id":"1399746230","filename":"file0"},{"photo_id":"1399746346","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399746428":["hashtag1","hashtag2"]},{"1399746230":["hashtag1","hashtag2"]},{"1399746308":["hashtag1","hashtag2"]},{"1399746346":["hashtag1","hashtag2"]},{"1399746387":["hashtag1","hashtag2"]},{"1399746267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399746428, 1399746230, 1399746308, 1399746346, 1399746387, 1399746267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.6379599571228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:00:02.309673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_55_9719.jpg', '/home/pi/Desktop/images/17122025/05/58/image_17122025_05_59_04_9642.jpg', '/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_14_9693.jpg', '/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_35_9705.jpg', '/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_44_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_55_9719.jpg
/home/pi/Desktop/images/17122025/05/58/image_17122025_05_59_04_9642.jpg
/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_14_9693.jpg
/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_35_9705.jpg
/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_44_9596.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4701206684112549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:00:11.818900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:00:21.870344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_55_9719.jpg', '/home/pi/Desktop/images/17122025/05/58/image_17122025_05_59_04_9642.jpg', '/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_14_9693.jpg', '/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_35_9705.jpg', '/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_44_9596.jpg', '/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_55_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/05/58/image_17122025_05_58_55_9719.jpg
/home/pi/Desktop/images/17122025/05/58/image_17122025_05_59_04_9642.jpg
/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_14_9693.jpg
/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_35_9705.jpg
/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_44_9596.jpg
/home/pi/Desktop/images/17122025/05/59/image_17122025_05_59_55_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399746608","1399746716","1399746760","1399746643","1399746750","1399746680"],"photo_ids_order":["1399746608","1399746643","1399746680","1399746716","1399746750","1399746760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc51972604312a561e080ac8213e1342.jpg","text":"TemporaryFile(/tmp/multipartBody2431151184728194755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947682457,"filename":"image_17122025_05_58_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/508bcea6889b4de69ed6143b73f47e2e.jpg","text":"TemporaryFile(/tmp/multipartBody2842910608620666308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947682457,"filename":"image_17122025_05_59_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a7980bc32241cd8b814b6d2035048cf.jpg","text":"TemporaryFile(/tmp/multipartBody3748727795786298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947682457,"filename":"image_17122025_05_59_55_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70944baa610a33eaff8578b63d692465.jpg","text":"TemporaryFile(/tmp/multipartBody7690810582054538124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947682457,"filename":"image_17122025_05_59_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/acf7ed108042bb0f11629f34bac32af9.jpg","text":"TemporaryFile(/tmp/multipartBody3271145049539301779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947682457,"filename":"image_17122025_05_59_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbf39d776532580497e888713460e884.jpg","text":"TemporaryFile(/tmp/multipartBody6144040101005082991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947682457,"filename":"image_17122025_05_59_14_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399746680","file1":"1399746643","file0":"1399746608","file4":"1399746750","file5":"1399746760","file3":"1399746716"},"map_files_photo_id_array":[{"photo_id":"1399746760","filename":"file5"},{"photo_id":"1399746680","filename":"file2"},{"photo_id":"1399746750","filename":"file4"},{"photo_id":"1399746643","filename":"file1"},{"photo_id":"1399746608","filename":"file0"},{"photo_id":"1399746716","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399746608":["hashtag1","hashtag2"]},{"1399746716":["hashtag1","hashtag2"]},{"1399746760":["hashtag1","hashtag2"]},{"1399746643":["hashtag1","hashtag2"]},{"1399746750":["hashtag1","hashtag2"]},{"1399746680":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399746608, 1399746716, 1399746760, 1399746643, 1399746750, 1399746680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.655195474624634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:01:02.708122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/00/image_17122025_06_00_34_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/00/image_17122025_06_00_34_9581.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.35861849784851074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:01:12.185552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:01:22.145243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/00/image_17122025_06_00_34_9581.jpg', '/home/pi/Desktop/images/17122025/06/00/image_17122025_06_00_54_9589.jpg', '/home/pi/Desktop/images/17122025/06/00/image_17122025_06_01_04_9652.jpg', '/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_15_10798.jpg', '/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_25_9825.jpg', '/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_34_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/00/image_17122025_06_00_34_9581.jpg
/home/pi/Desktop/images/17122025/06/00/image_17122025_06_00_54_9589.jpg
/home/pi/Desktop/images/17122025/06/00/image_17122025_06_01_04_9652.jpg
/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_15_10798.jpg
/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_25_9825.jpg
/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_34_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399746911","1399746988","1399746874","1399746949","1399746826","1399746837"],"photo_ids_order":["1399746826","1399746837","1399746874","1399746911","1399746949","1399746988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a658172e037b093b2fb10481daf9c5be.jpg","text":"TemporaryFile(/tmp/multipartBody7271258886558517412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947742735,"filename":"image_17122025_06_01_15_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbf86c446bd46ad18d5c86a6be4c0060.jpg","text":"TemporaryFile(/tmp/multipartBody6000650855771675877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947742735,"filename":"image_17122025_06_01_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec2ff18fc2c1c1011dc309c7096afe27.jpg","text":"TemporaryFile(/tmp/multipartBody2714717473902088833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947742735,"filename":"image_17122025_06_01_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c595c304c0b53e72f7b4d5022885717.jpg","text":"TemporaryFile(/tmp/multipartBody6905451417057849756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947742735,"filename":"image_17122025_06_01_25_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bdd99352c4c94e8da17ebb9bb961193.jpg","text":"TemporaryFile(/tmp/multipartBody7208926166719192652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947742735,"filename":"image_17122025_06_00_34_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c014724bb6641125f1f4e1ab3a900e25.jpg","text":"TemporaryFile(/tmp/multipartBody2925024737824963655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947742735,"filename":"image_17122025_06_00_54_9589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399746874","file1":"1399746837","file0":"1399746826","file4":"1399746949","file5":"1399746988","file3":"1399746911"},"map_files_photo_id_array":[{"photo_id":"1399746988","filename":"file5"},{"photo_id":"1399746874","filename":"file2"},{"photo_id":"1399746949","filename":"file4"},{"photo_id":"1399746837","filename":"file1"},{"photo_id":"1399746826","filename":"file0"},{"photo_id":"1399746911","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399746911":["hashtag1","hashtag2"]},{"1399746988":["hashtag1","hashtag2"]},{"1399746874":["hashtag1","hashtag2"]},{"1399746949":["hashtag1","hashtag2"]},{"1399746826":["hashtag1","hashtag2"]},{"1399746837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399746911, 1399746988, 1399746874, 1399746949, 1399746826, 1399746837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31469798088074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:02:02.731720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_44_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_44_9826.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399747124"],"photo_id":"1399747124","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81431e59ec8dc331771f8158c1f318c9.jpg","text":"TemporaryFile(/tmp/multipartBody7547313465790930726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947783160,"filename":"image_17122025_06_01_44_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399747124"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399747124"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 12.8233642578125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:02:22.350134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_55_10717.jpg', '/home/pi/Desktop/images/17122025/06/01/image_17122025_06_02_05_9603.jpg', '/home/pi/Desktop/images/17122025/06/02/image_17122025_06_02_14_9540.jpg', '/home/pi/Desktop/images/17122025/06/02/image_17122025_06_02_25_10614.jpg', '/home/pi/Desktop/images/17122025/06/02/image_17122025_06_02_44_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/01/image_17122025_06_01_55_10717.jpg
/home/pi/Desktop/images/17122025/06/01/image_17122025_06_02_05_9603.jpg
/home/pi/Desktop/images/17122025/06/02/image_17122025_06_02_14_9540.jpg
/home/pi/Desktop/images/17122025/06/02/image_17122025_06_02_25_10614.jpg
/home/pi/Desktop/images/17122025/06/02/image_17122025_06_02_44_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":["1399747399","1399747323","1399747283","1399747448","1399747361"],"photo_ids_order":["1399747283","1399747323","1399747361","1399747399","1399747448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7a7fa1826ff01c133542d93d1e6fa13.jpg","text":"TemporaryFile(/tmp/multipartBody1690469732391263028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947802902,"filename":"image_17122025_06_02_25_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/009d25664484d03976b1475cfc8be3d5.jpg","text":"TemporaryFile(/tmp/multipartBody5079328375238593943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947802902,"filename":"image_17122025_06_02_05_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b4a395968a0864d5c548e2e3d8a0858.jpg","text":"TemporaryFile(/tmp/multipartBody1347962620842929401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947802902,"filename":"image_17122025_06_01_55_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e64f87b672ded73d9d2f8bcfd9186c7.jpg","text":"TemporaryFile(/tmp/multipartBody83164194072939856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947802902,"filename":"image_17122025_06_02_44_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4db7e54b34231266ed9fdc2a0f1e4fbc.jpg","text":"TemporaryFile(/tmp/multipartBody154595281368884075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947802902,"filename":"image_17122025_06_02_14_9540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399747361","file1":"1399747323","file0":"1399747283","file4":"1399747448","file3":"1399747399"},"map_files_photo_id_array":[{"photo_id":"1399747361","filename":"file2"},{"photo_id":"1399747448","filename":"file4"},{"photo_id":"1399747323","filename":"file1"},{"photo_id":"1399747283","filename":"file0"},{"photo_id":"1399747399","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399747399":["hashtag1","hashtag2"]},{"1399747323":["hashtag1","hashtag2"]},{"1399747283":["hashtag1","hashtag2"]},{"1399747448":["hashtag1","hashtag2"]},{"1399747361":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399747399, 1399747323, 1399747283, 1399747448, 1399747361)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.12547421455383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:03:03.245220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:03:12.567932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:03:22.642636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/02/image_17122025_06_02_55_10703.jpg', '/home/pi/Desktop/images/17122025/06/02/image_17122025_06_03_05_9920.jpg', '/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_24_9813.jpg', '/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_35_10718.jpg', '/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_45_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/02/image_17122025_06_02_55_10703.jpg
/home/pi/Desktop/images/17122025/06/02/image_17122025_06_03_05_9920.jpg
/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_24_9813.jpg
/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_35_10718.jpg
/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_45_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399747795","1399747789","1399747791","1399747794","1399747773"],"photo_ids_order":["1399747773","1399747789","1399747791","1399747794","1399747795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/656eeb84d34f0e1b51ad3fbb2ed945bf.jpg","text":"TemporaryFile(/tmp/multipartBody7913450834172410417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947863191,"filename":"image_17122025_06_03_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77538f5543ad8efa3561904849ad6b1d.jpg","text":"TemporaryFile(/tmp/multipartBody6972871776440456288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947863191,"filename":"image_17122025_06_03_05_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6aa46882846047291990988abd553d6d.jpg","text":"TemporaryFile(/tmp/multipartBody2647374278345295016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947863191,"filename":"image_17122025_06_03_24_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8b6fd2e425c08e16bd033329c3e6f05.jpg","text":"TemporaryFile(/tmp/multipartBody9013114102365841202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947863191,"filename":"image_17122025_06_03_35_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ab4952f7bb987f2f22e61f3b353db8c.jpg","text":"TemporaryFile(/tmp/multipartBody6634064098815105012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947863191,"filename":"image_17122025_06_02_55_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399747791","file1":"1399747789","file0":"1399747773","file4":"1399747795","file3":"1399747794"},"map_files_photo_id_array":[{"photo_id":"1399747791","filename":"file2"},{"photo_id":"1399747795","filename":"file4"},{"photo_id":"1399747789","filename":"file1"},{"photo_id":"1399747773","filename":"file0"},{"photo_id":"1399747794","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399747795":["hashtag1","hashtag2"]},{"1399747789":["hashtag1","hashtag2"]},{"1399747791":["hashtag1","hashtag2"]},{"1399747794":["hashtag1","hashtag2"]},{"1399747773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399747795, 1399747789, 1399747791, 1399747794, 1399747773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.434980154037476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:04:02.574793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:04:11.919665
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:04:21.870798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_54_9604.jpg', '/home/pi/Desktop/images/17122025/06/03/image_17122025_06_04_05_10557.jpg', '/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_15_9712.jpg', '/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_24_9722.jpg', '/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_34_9750.jpg', '/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_45_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_54_9604.jpg
/home/pi/Desktop/images/17122025/06/03/image_17122025_06_04_05_10557.jpg
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_15_9712.jpg
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_24_9722.jpg
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_34_9750.jpg
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_45_10714.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47336268424987793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:04:31.888541
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:04:41.941017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_26_3727.jpg', '/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_29_2678.jpg', '/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_11_3523.jpg', '/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_37_2595.jpg', '/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_43_2582.jpg', '/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_47_3652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_26_3727.jpg
/home/pi/Desktop/images/07112025/16/52/image_07112025_16_52_29_2678.jpg
/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_11_3523.jpg
/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_37_2595.jpg
/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_43_2582.jpg
/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_47_3652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748041","1399748094","1399748061","1399748090","1399748102","1399748039"],"photo_ids_order":["1399748039","1399748041","1399748061","1399748090","1399748094","1399748102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64f19708d46f800f1949147a269bc2ac.jpg","text":"TemporaryFile(/tmp/multipartBody5887296632372340472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947942613,"filename":"image_07112025_16_52_29_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01a910ddaafe9a72a448868adef9ae2a.jpg","text":"TemporaryFile(/tmp/multipartBody8022293079536316612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947942613,"filename":"image_07112025_16_54_43_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6fc58bfa84de34633d540a619ac5bc0.jpg","text":"TemporaryFile(/tmp/multipartBody7490000108484462516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947942613,"filename":"image_07112025_16_54_11_3523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00a932f556d8f1f942f093a75cbbada8.jpg","text":"TemporaryFile(/tmp/multipartBody3762148941310887814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947942613,"filename":"image_07112025_16_54_37_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/665dce03292f6ee5bf300b1cb55dff67.jpg","text":"TemporaryFile(/tmp/multipartBody1699293895840352109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947942613,"filename":"image_07112025_16_54_47_3652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9eaf8c30c3734f2491c874c53d67f22.jpg","text":"TemporaryFile(/tmp/multipartBody3375970527144783454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947942613,"filename":"image_07112025_16_52_26_3727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748061","file1":"1399748041","file0":"1399748039","file4":"1399748094","file5":"1399748102","file3":"1399748090"},"map_files_photo_id_array":[{"photo_id":"1399748102","filename":"file5"},{"photo_id":"1399748061","filename":"file2"},{"photo_id":"1399748094","filename":"file4"},{"photo_id":"1399748041","filename":"file1"},{"photo_id":"1399748039","filename":"file0"},{"photo_id":"1399748090","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748041":["hashtag1","hashtag2"]},{"1399748094":["hashtag1","hashtag2"]},{"1399748061":["hashtag1","hashtag2"]},{"1399748090":["hashtag1","hashtag2"]},{"1399748102":["hashtag1","hashtag2"]},{"1399748039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748041, 1399748094, 1399748061, 1399748090, 1399748102, 1399748039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16150450706482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:05:22.282518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_54_9604.jpg', '/home/pi/Desktop/images/17122025/06/03/image_17122025_06_04_05_10557.jpg', '/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_15_9712.jpg', '/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_24_9722.jpg', '/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_34_9750.jpg', '/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_45_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/03/image_17122025_06_03_54_9604.jpg
/home/pi/Desktop/images/17122025/06/03/image_17122025_06_04_05_10557.jpg
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_15_9712.jpg
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_24_9722.jpg
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_34_9750.jpg
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_45_10714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748121","1399748115","1399748106","1399748109","1399748114","1399748111"],"photo_ids_order":["1399748106","1399748109","1399748111","1399748114","1399748115","1399748121"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2ce1575a36b4dc5886cbac3fc742f39.jpg","text":"TemporaryFile(/tmp/multipartBody4912234076309147144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947982864,"filename":"image_17122025_06_04_45_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3fbd041a020ba3c3d2b45f8e43a50ae.jpg","text":"TemporaryFile(/tmp/multipartBody350814225399682038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947982864,"filename":"image_17122025_06_04_34_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13b0aaa10facd625fdff2c39ddf49ca6.jpg","text":"TemporaryFile(/tmp/multipartBody4895329730312600562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947982864,"filename":"image_17122025_06_03_54_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67bbaea6bf07f3b69260539c71f19efa.jpg","text":"TemporaryFile(/tmp/multipartBody8249905061270140493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947982864,"filename":"image_17122025_06_04_05_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6dc8882663d8fcf04b7efb472b2fb2de.jpg","text":"TemporaryFile(/tmp/multipartBody5356783767277655713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947982864,"filename":"image_17122025_06_04_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21319b114a616cc0545b75ff154ddda3.jpg","text":"TemporaryFile(/tmp/multipartBody3266274588759418881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765947982864,"filename":"image_17122025_06_04_15_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748111","file1":"1399748109","file0":"1399748106","file4":"1399748115","file5":"1399748121","file3":"1399748114"},"map_files_photo_id_array":[{"photo_id":"1399748121","filename":"file5"},{"photo_id":"1399748111","filename":"file2"},{"photo_id":"1399748115","filename":"file4"},{"photo_id":"1399748109","filename":"file1"},{"photo_id":"1399748106","filename":"file0"},{"photo_id":"1399748114","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748121":["hashtag1","hashtag2"]},{"1399748115":["hashtag1","hashtag2"]},{"1399748106":["hashtag1","hashtag2"]},{"1399748109":["hashtag1","hashtag2"]},{"1399748114":["hashtag1","hashtag2"]},{"1399748111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748121, 1399748115, 1399748106, 1399748109, 1399748114, 1399748111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.777618169784546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:06:02.858971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_54_9654.jpg', '/home/pi/Desktop/images/17122025/06/04/image_17122025_06_05_04_9689.jpg', '/home/pi/Desktop/images/17122025/06/05/image_17122025_06_05_15_10733.jpg', '/home/pi/Desktop/images/17122025/06/05/image_17122025_06_05_35_10528.jpg', '/home/pi/Desktop/images/17122025/06/05/image_17122025_06_05_45_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_04_54_9654.jpg
/home/pi/Desktop/images/17122025/06/04/image_17122025_06_05_04_9689.jpg
/home/pi/Desktop/images/17122025/06/05/image_17122025_06_05_15_10733.jpg
/home/pi/Desktop/images/17122025/06/05/image_17122025_06_05_35_10528.jpg
/home/pi/Desktop/images/17122025/06/05/image_17122025_06_05_45_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":["1399748131","1399748125","1399748127","1399748129","1399748123"],"photo_ids_order":["1399748123","1399748125","1399748127","1399748129","1399748131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8283ad11b666cb7da79562aea774615e.jpg","text":"TemporaryFile(/tmp/multipartBody4866735692830989449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948023429,"filename":"image_17122025_06_05_45_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ba243c984c8b36de486f854f298a2fc.jpg","text":"TemporaryFile(/tmp/multipartBody2162091848330336969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948023429,"filename":"image_17122025_06_05_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c521834c4f6843d41d176b3fd9cc111f.jpg","text":"TemporaryFile(/tmp/multipartBody6845054186833381684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948023429,"filename":"image_17122025_06_05_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/462ec3d785d94d754ca85a607be91aef.jpg","text":"TemporaryFile(/tmp/multipartBody4015447003332576705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948023429,"filename":"image_17122025_06_05_35_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f49d6edd024b1bc8e82eab88ab88877.jpg","text":"TemporaryFile(/tmp/multipartBody413480913103316810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948023429,"filename":"image_17122025_06_04_54_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748127","file1":"1399748125","file0":"1399748123","file4":"1399748131","file3":"1399748129"},"map_files_photo_id_array":[{"photo_id":"1399748127","filename":"file2"},{"photo_id":"1399748131","filename":"file4"},{"photo_id":"1399748125","filename":"file1"},{"photo_id":"1399748123","filename":"file0"},{"photo_id":"1399748129","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748131":["hashtag1","hashtag2"]},{"1399748125":["hashtag1","hashtag2"]},{"1399748127":["hashtag1","hashtag2"]},{"1399748129":["hashtag1","hashtag2"]},{"1399748123":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748131, 1399748125, 1399748127, 1399748129, 1399748123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.566134214401245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:06:42.491928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_56_3769.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_07_3012.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_31_2692.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_43_2755.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_47_3686.jpg', '/home/pi/Desktop/images/07112025/16/57/image_07112025_16_57_49_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_56_3769.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_07_3012.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_31_2692.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_43_2755.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_47_3686.jpg
/home/pi/Desktop/images/07112025/16/57/image_07112025_16_57_49_1752.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5773279666900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:07:03.184741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/05/image_17122025_06_05_54_9613.jpg', '/home/pi/Desktop/images/17122025/06/05/image_17122025_06_06_05_10720.jpg', '/home/pi/Desktop/images/17122025/06/06/image_17122025_06_06_15_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/05/image_17122025_06_05_54_9613.jpg
/home/pi/Desktop/images/17122025/06/05/image_17122025_06_06_05_10720.jpg
/home/pi/Desktop/images/17122025/06/06/image_17122025_06_06_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":["1399748158","1399748160","1399748157"],"photo_ids_order":["1399748157","1399748158","1399748160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4e200ada5077fbb1b44da10a1f1f059.jpg","text":"TemporaryFile(/tmp/multipartBody5687409275428351647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948083726,"filename":"image_17122025_06_06_05_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77b67888f025c04b3584a09165933638.jpg","text":"TemporaryFile(/tmp/multipartBody5591090901025040912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948083726,"filename":"image_17122025_06_06_15_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed8f43135d686d85b8ebbd93ce903a2a.jpg","text":"TemporaryFile(/tmp/multipartBody1871795006696514442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948083726,"filename":"image_17122025_06_05_54_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748160","file1":"1399748158","file0":"1399748157"},"map_files_photo_id_array":[{"photo_id":"1399748160","filename":"file2"},{"photo_id":"1399748158","filename":"file1"},{"photo_id":"1399748157","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748158":["hashtag1","hashtag2"]},{"1399748160":["hashtag1","hashtag2"]},{"1399748157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748158, 1399748160, 1399748157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.72831082344055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:07:32.832798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:07:42.827290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_56_3769.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_07_3012.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_31_2692.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_43_2755.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_47_3686.jpg', '/home/pi/Desktop/images/07112025/16/57/image_07112025_16_57_49_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_56_3769.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_07_3012.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_31_2692.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_43_2755.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_47_3686.jpg
/home/pi/Desktop/images/07112025/16/57/image_07112025_16_57_49_1752.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.48904991149902344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:08:02.498744
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/06/image_17122025_06_06_24_9643.jpg', '/home/pi/Desktop/images/17122025/06/06/image_17122025_06_07_04_9669.jpg', '/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_15_10783.jpg', '/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_25_9583.jpg', '/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_34_9809.jpg', '/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_44_9795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/06/image_17122025_06_06_24_9643.jpg
/home/pi/Desktop/images/17122025/06/06/image_17122025_06_07_04_9669.jpg
/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_15_10783.jpg
/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_25_9583.jpg
/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_34_9809.jpg
/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_44_9795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748196","1399748178","1399748195","1399748189","1399748198","1399748201"],"photo_ids_order":["1399748178","1399748189","1399748195","1399748196","1399748198","1399748201"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/549cde51a0f85874c4ebfaf01b3ec14c.jpg","text":"TemporaryFile(/tmp/multipartBody7249966842697451805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948143138,"filename":"image_17122025_06_07_25_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6cc4d599a267055241a321e8bc33c205.jpg","text":"TemporaryFile(/tmp/multipartBody1556025810218217389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948143138,"filename":"image_17122025_06_06_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0eb82a13cff25b0598f8be160e766223.jpg","text":"TemporaryFile(/tmp/multipartBody7198384947726337073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948143138,"filename":"image_17122025_06_07_15_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/557f33ebe642f79217dd4fbca6fcd0ce.jpg","text":"TemporaryFile(/tmp/multipartBody5065641178930716104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948143138,"filename":"image_17122025_06_07_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8cff175be742d58748d755f9c087f3a.jpg","text":"TemporaryFile(/tmp/multipartBody1248630545620880674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948143138,"filename":"image_17122025_06_07_34_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e927191438a6059c5a2634a1400fcdf3.jpg","text":"TemporaryFile(/tmp/multipartBody441632219052147888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948143138,"filename":"image_17122025_06_07_44_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748195","file1":"1399748189","file0":"1399748178","file4":"1399748198","file5":"1399748201","file3":"1399748196"},"map_files_photo_id_array":[{"photo_id":"1399748201","filename":"file5"},{"photo_id":"1399748195","filename":"file2"},{"photo_id":"1399748198","filename":"file4"},{"photo_id":"1399748189","filename":"file1"},{"photo_id":"1399748178","filename":"file0"},{"photo_id":"1399748196","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748196":["hashtag1","hashtag2"]},{"1399748178":["hashtag1","hashtag2"]},{"1399748195":["hashtag1","hashtag2"]},{"1399748189":["hashtag1","hashtag2"]},{"1399748198":["hashtag1","hashtag2"]},{"1399748201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748196, 1399748178, 1399748195, 1399748189, 1399748198, 1399748201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58591270446777 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:08:42.059946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_56_3769.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_07_3012.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_31_2692.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_43_2755.jpg', '/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_47_3686.jpg', '/home/pi/Desktop/images/07112025/16/57/image_07112025_16_57_49_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/54/image_07112025_16_54_56_3769.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_07_3012.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_31_2692.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_43_2755.jpg
/home/pi/Desktop/images/07112025/16/56/image_07112025_16_56_47_3686.jpg
/home/pi/Desktop/images/07112025/16/57/image_07112025_16_57_49_1752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748221","1399748233","1399748227","1399748237","1399748219","1399748210"],"photo_ids_order":["1399748210","1399748219","1399748221","1399748227","1399748233","1399748237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48196c25a6974aadf02b91401ff29b7f.jpg","text":"TemporaryFile(/tmp/multipartBody5401484990800053203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948182634,"filename":"image_07112025_16_56_31_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a755de5289efc04eafb1d9d8a100ccf1.jpg","text":"TemporaryFile(/tmp/multipartBody6063657046664399828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948182634,"filename":"image_07112025_16_56_47_3686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/662a02fb524d04d45e8aaeafc78c2b4b.jpg","text":"TemporaryFile(/tmp/multipartBody2582152370956896928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948182634,"filename":"image_07112025_16_56_43_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d667e6ecfa98378390a7f43c7fa6587.jpg","text":"TemporaryFile(/tmp/multipartBody426101907770542066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948182634,"filename":"image_07112025_16_57_49_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/756bcd589b510bfaead4e78f47884ef1.jpg","text":"TemporaryFile(/tmp/multipartBody8346258004273800650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948182634,"filename":"image_07112025_16_56_07_3012.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e39afbac691a419a88461a7b77f4d79b.jpg","text":"TemporaryFile(/tmp/multipartBody4991255351700797785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948182634,"filename":"image_07112025_16_54_56_3769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748221","file1":"1399748219","file0":"1399748210","file4":"1399748233","file5":"1399748237","file3":"1399748227"},"map_files_photo_id_array":[{"photo_id":"1399748237","filename":"file5"},{"photo_id":"1399748221","filename":"file2"},{"photo_id":"1399748233","filename":"file4"},{"photo_id":"1399748219","filename":"file1"},{"photo_id":"1399748210","filename":"file0"},{"photo_id":"1399748227","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748221":["hashtag1","hashtag2"]},{"1399748233":["hashtag1","hashtag2"]},{"1399748227":["hashtag1","hashtag2"]},{"1399748237":["hashtag1","hashtag2"]},{"1399748219":["hashtag1","hashtag2"]},{"1399748210":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748221, 1399748233, 1399748227, 1399748237, 1399748219, 1399748210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.353310108184814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:09:22.355063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_55_10568.jpg', '/home/pi/Desktop/images/17122025/06/07/image_17122025_06_08_04_9665.jpg', '/home/pi/Desktop/images/17122025/06/08/image_17122025_06_08_25_9762.jpg', '/home/pi/Desktop/images/17122025/06/08/image_17122025_06_08_35_9893.jpg', '/home/pi/Desktop/images/17122025/06/08/image_17122025_06_08_44_9629.jpg', '/home/pi/Desktop/images/17122025/06/08/image_17122025_06_08_54_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/07/image_17122025_06_07_55_10568.jpg
/home/pi/Desktop/images/17122025/06/07/image_17122025_06_08_04_9665.jpg
/home/pi/Desktop/images/17122025/06/08/image_17122025_06_08_25_9762.jpg
/home/pi/Desktop/images/17122025/06/08/image_17122025_06_08_35_9893.jpg
/home/pi/Desktop/images/17122025/06/08/image_17122025_06_08_44_9629.jpg
/home/pi/Desktop/images/17122025/06/08/image_17122025_06_08_54_9897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748269","1399748254","1399748257","1399748265","1399748274","1399748261"],"photo_ids_order":["1399748254","1399748257","1399748261","1399748265","1399748269","1399748274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/619f410a7b31e34d6441855a6f525257.jpg","text":"TemporaryFile(/tmp/multipartBody2501346005535813544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948222932,"filename":"image_17122025_06_08_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e15d55583ec031666726ffa5255e6e5.jpg","text":"TemporaryFile(/tmp/multipartBody7294202945449268334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948222932,"filename":"image_17122025_06_07_55_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b1e5e3a542eb6e081914ed7f3d0ff1e.jpg","text":"TemporaryFile(/tmp/multipartBody2390452930406610597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948222932,"filename":"image_17122025_06_08_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff623e38d15e55f5df56edb177e32f2e.jpg","text":"TemporaryFile(/tmp/multipartBody7330187487444093480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948222932,"filename":"image_17122025_06_08_35_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/edfc2fe14ae8a1bbd0df5932a1482791.jpg","text":"TemporaryFile(/tmp/multipartBody5551133212580596376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948222932,"filename":"image_17122025_06_08_54_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9bab2adcd34571380699e01dbac0cf9f.jpg","text":"TemporaryFile(/tmp/multipartBody4503180081924669302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948222932,"filename":"image_17122025_06_08_25_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748261","file1":"1399748257","file0":"1399748254","file4":"1399748269","file5":"1399748274","file3":"1399748265"},"map_files_photo_id_array":[{"photo_id":"1399748274","filename":"file5"},{"photo_id":"1399748261","filename":"file2"},{"photo_id":"1399748269","filename":"file4"},{"photo_id":"1399748257","filename":"file1"},{"photo_id":"1399748254","filename":"file0"},{"photo_id":"1399748265","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748269":["hashtag1","hashtag2"]},{"1399748254":["hashtag1","hashtag2"]},{"1399748257":["hashtag1","hashtag2"]},{"1399748265":["hashtag1","hashtag2"]},{"1399748274":["hashtag1","hashtag2"]},{"1399748261":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748269, 1399748254, 1399748257, 1399748265, 1399748274, 1399748261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.846938610076904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:10:03.005847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/08/image_17122025_06_09_05_10770.jpg', '/home/pi/Desktop/images/17122025/06/09/image_17122025_06_09_15_9657.jpg', '/home/pi/Desktop/images/17122025/06/09/image_17122025_06_09_24_9704.jpg', '/home/pi/Desktop/images/17122025/06/09/image_17122025_06_09_35_10249.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/08/image_17122025_06_09_05_10770.jpg
/home/pi/Desktop/images/17122025/06/09/image_17122025_06_09_15_9657.jpg
/home/pi/Desktop/images/17122025/06/09/image_17122025_06_09_24_9704.jpg
/home/pi/Desktop/images/17122025/06/09/image_17122025_06_09_35_10249.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748281","1399748283","1399748280","1399748279"],"photo_ids_order":["1399748279","1399748280","1399748281","1399748283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f5fee388c4e67eef42136889ee5da8d.jpg","text":"TemporaryFile(/tmp/multipartBody5458447915516066230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948263528,"filename":"image_17122025_06_09_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77fb18e036ae1b0e0089dcd9545908f5.jpg","text":"TemporaryFile(/tmp/multipartBody7180932927284001779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948263528,"filename":"image_17122025_06_09_35_10249.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a528cc3398bf4c449c35c59b73e6bc45.jpg","text":"TemporaryFile(/tmp/multipartBody2538210360834870946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948263528,"filename":"image_17122025_06_09_15_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cd0f7eafa59c95d29e620dbba293cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1002164689593524866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948263528,"filename":"image_17122025_06_09_05_10770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748281","file1":"1399748280","file0":"1399748279","file3":"1399748283"},"map_files_photo_id_array":[{"photo_id":"1399748281","filename":"file2"},{"photo_id":"1399748280","filename":"file1"},{"photo_id":"1399748279","filename":"file0"},{"photo_id":"1399748283","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748281":["hashtag1","hashtag2"]},{"1399748283":["hashtag1","hashtag2"]},{"1399748280":["hashtag1","hashtag2"]},{"1399748279":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748281, 1399748283, 1399748280, 1399748279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.95660638809204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:10:32.629699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:10:42.547727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/57/image_07112025_16_57_50_1619.jpg', '/home/pi/Desktop/images/07112025/16/58/image_07112025_16_58_13_2849.jpg', '/home/pi/Desktop/images/07112025/16/58/image_07112025_16_58_25_2749.jpg', '/home/pi/Desktop/images/07112025/16/59/image_07112025_16_59_05_3773.jpg', '/home/pi/Desktop/images/07112025/16/59/image_07112025_16_59_28_2681.jpg', '/home/pi/Desktop/images/07112025/16/59/image_07112025_16_59_32_3733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/57/image_07112025_16_57_50_1619.jpg
/home/pi/Desktop/images/07112025/16/58/image_07112025_16_58_13_2849.jpg
/home/pi/Desktop/images/07112025/16/58/image_07112025_16_58_25_2749.jpg
/home/pi/Desktop/images/07112025/16/59/image_07112025_16_59_05_3773.jpg
/home/pi/Desktop/images/07112025/16/59/image_07112025_16_59_28_2681.jpg
/home/pi/Desktop/images/07112025/16/59/image_07112025_16_59_32_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":["1399748302","1399748301","1399748304","1399748297","1399748300","1399748299"],"photo_ids_order":["1399748297","1399748299","1399748300","1399748301","1399748302","1399748304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcbc8a37266ac457977967de03e22985.jpg","text":"TemporaryFile(/tmp/multipartBody8197722871400909741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948303256,"filename":"image_07112025_16_59_28_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a163396b44c8fe5dbd83ec9a59d83729.jpg","text":"TemporaryFile(/tmp/multipartBody4317638731440093138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948303256,"filename":"image_07112025_16_59_05_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4171af663dfe4796475bde5ac695501.jpg","text":"TemporaryFile(/tmp/multipartBody862568115648066597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948303256,"filename":"image_07112025_16_59_32_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ac730f97d12a2d4b12a59ba97644975.jpg","text":"TemporaryFile(/tmp/multipartBody755645689128706181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948303256,"filename":"image_07112025_16_57_50_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97cac343deebf9c23652ae22e3d162a6.jpg","text":"TemporaryFile(/tmp/multipartBody7461919313200514598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948303256,"filename":"image_07112025_16_58_25_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/198c6463954d17a39c9c57e1ed7d7095.jpg","text":"TemporaryFile(/tmp/multipartBody7174064335977949497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948303256,"filename":"image_07112025_16_58_13_2849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748300","file1":"1399748299","file0":"1399748297","file4":"1399748302","file5":"1399748304","file3":"1399748301"},"map_files_photo_id_array":[{"photo_id":"1399748304","filename":"file5"},{"photo_id":"1399748300","filename":"file2"},{"photo_id":"1399748302","filename":"file4"},{"photo_id":"1399748299","filename":"file1"},{"photo_id":"1399748297","filename":"file0"},{"photo_id":"1399748301","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748302":["hashtag1","hashtag2"]},{"1399748301":["hashtag1","hashtag2"]},{"1399748304":["hashtag1","hashtag2"]},{"1399748297":["hashtag1","hashtag2"]},{"1399748300":["hashtag1","hashtag2"]},{"1399748299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748302, 1399748301, 1399748304, 1399748297, 1399748300, 1399748299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.08358669281006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:11:22.760794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/09/image_17122025_06_09_44_9649.jpg', '/home/pi/Desktop/images/17122025/06/09/image_17122025_06_10_05_10628.jpg', '/home/pi/Desktop/images/17122025/06/10/image_17122025_06_10_24_9920.jpg', '/home/pi/Desktop/images/17122025/06/10/image_17122025_06_10_34_9659.jpg', '/home/pi/Desktop/images/17122025/06/10/image_17122025_06_10_45_10649.jpg', '/home/pi/Desktop/images/17122025/06/10/image_17122025_06_10_54_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/09/image_17122025_06_09_44_9649.jpg
/home/pi/Desktop/images/17122025/06/09/image_17122025_06_10_05_10628.jpg
/home/pi/Desktop/images/17122025/06/10/image_17122025_06_10_24_9920.jpg
/home/pi/Desktop/images/17122025/06/10/image_17122025_06_10_34_9659.jpg
/home/pi/Desktop/images/17122025/06/10/image_17122025_06_10_45_10649.jpg
/home/pi/Desktop/images/17122025/06/10/image_17122025_06_10_54_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":["1399748311","1399748314","1399748316","1399748324","1399748318","1399748309"],"photo_ids_order":["1399748309","1399748311","1399748314","1399748316","1399748318","1399748324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8fc2e04578eca0bab433f2e81dc4f14.jpg","text":"TemporaryFile(/tmp/multipartBody8241041310629200268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948343371,"filename":"image_17122025_06_10_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31ddc5e40acf5c44a083890867d77d7c.jpg","text":"TemporaryFile(/tmp/multipartBody484036199149903804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948343371,"filename":"image_17122025_06_10_24_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2dad918c025e711c8ef70d33cbcf224.jpg","text":"TemporaryFile(/tmp/multipartBody3171865454659350627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948343371,"filename":"image_17122025_06_10_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/717ac2779a8bd84fc58ce0adbd508ef5.jpg","text":"TemporaryFile(/tmp/multipartBody1260388055490657010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948343371,"filename":"image_17122025_06_10_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b41ad2441983e223104389fee28137e.jpg","text":"TemporaryFile(/tmp/multipartBody3361640182187511456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948343371,"filename":"image_17122025_06_10_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a7ab24769d27ecf44dc80fe521baa08.jpg","text":"TemporaryFile(/tmp/multipartBody19741492598641769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948343371,"filename":"image_17122025_06_09_44_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748314","file1":"1399748311","file0":"1399748309","file4":"1399748318","file5":"1399748324","file3":"1399748316"},"map_files_photo_id_array":[{"photo_id":"1399748324","filename":"file5"},{"photo_id":"1399748314","filename":"file2"},{"photo_id":"1399748318","filename":"file4"},{"photo_id":"1399748311","filename":"file1"},{"photo_id":"1399748309","filename":"file0"},{"photo_id":"1399748316","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748311":["hashtag1","hashtag2"]},{"1399748314":["hashtag1","hashtag2"]},{"1399748316":["hashtag1","hashtag2"]},{"1399748324":["hashtag1","hashtag2"]},{"1399748318":["hashtag1","hashtag2"]},{"1399748309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748311, 1399748314, 1399748316, 1399748324, 1399748318, 1399748309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08984112739563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:12:02.482496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/11/image_17122025_06_11_15_9553.jpg', '/home/pi/Desktop/images/17122025/06/11/image_17122025_06_11_24_9640.jpg', '/home/pi/Desktop/images/17122025/06/11/image_17122025_06_11_35_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/11/image_17122025_06_11_15_9553.jpg
/home/pi/Desktop/images/17122025/06/11/image_17122025_06_11_24_9640.jpg
/home/pi/Desktop/images/17122025/06/11/image_17122025_06_11_35_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":["1399748326","1399748334","1399748325"],"photo_ids_order":["1399748325","1399748326","1399748334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6ada48d869b811388c58752fed2854c.jpg","text":"TemporaryFile(/tmp/multipartBody1645570691849371748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948382967,"filename":"image_17122025_06_11_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec0704a04137160d5fba1d4ac4cca007.jpg","text":"TemporaryFile(/tmp/multipartBody1809082221145961595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948382967,"filename":"image_17122025_06_11_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9bf18d8d2c26d23d1831529f465761c.jpg","text":"TemporaryFile(/tmp/multipartBody8233426440499169180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948382967,"filename":"image_17122025_06_11_15_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748334","file1":"1399748326","file0":"1399748325"},"map_files_photo_id_array":[{"photo_id":"1399748334","filename":"file2"},{"photo_id":"1399748326","filename":"file1"},{"photo_id":"1399748325","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748326":["hashtag1","hashtag2"]},{"1399748334":["hashtag1","hashtag2"]},{"1399748325":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748326, 1399748334, 1399748325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.579686641693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:12:32.022531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:12:41.980496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/16/59/image_07112025_16_59_52_3692.jpg', '/home/pi/Desktop/images/07112025/17/01/image_07112025_17_01_07_3011.jpg', '/home/pi/Desktop/images/07112025/17/01/image_07112025_17_01_43_1650.jpg', '/home/pi/Desktop/images/07112025/17/01/image_07112025_17_01_53_1524.jpg', '/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_04_3603.jpg', '/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_10_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/16/59/image_07112025_16_59_52_3692.jpg
/home/pi/Desktop/images/07112025/17/01/image_07112025_17_01_07_3011.jpg
/home/pi/Desktop/images/07112025/17/01/image_07112025_17_01_43_1650.jpg
/home/pi/Desktop/images/07112025/17/01/image_07112025_17_01_53_1524.jpg
/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_04_3603.jpg
/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_10_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748353","1399748350","1399748352","1399748355","1399748360","1399748354"],"photo_ids_order":["1399748350","1399748352","1399748353","1399748354","1399748355","1399748360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca8c1f847bb242f1276f869ec854f424.jpg","text":"TemporaryFile(/tmp/multipartBody5654435117086556453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948422795,"filename":"image_07112025_17_01_43_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f31fd674fca198812dc707db9ae1438d.jpg","text":"TemporaryFile(/tmp/multipartBody1185646097243827310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948422795,"filename":"image_07112025_16_59_52_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ba4eaec8dd931308edcfe8e1568d546.jpg","text":"TemporaryFile(/tmp/multipartBody2321535793896011779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948422795,"filename":"image_07112025_17_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/2025/12/17/9e2def4a177e3f5b4ac833e67e3db828.jpg","text":"TemporaryFile(/tmp/multipartBody6850201739133692719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948422795,"filename":"image_07112025_17_02_04_3603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a43b1153ee1848f776bfa07269f718bb.jpg","text":"TemporaryFile(/tmp/multipartBody377217895864600418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948422795,"filename":"image_07112025_17_02_10_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f010d95fd6596d9c246c5b15a15c639.jpg","text":"TemporaryFile(/tmp/multipartBody3873497353091249538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948422795,"filename":"image_07112025_17_01_53_1524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748353","file1":"1399748352","file0":"1399748350","file4":"1399748355","file5":"1399748360","file3":"1399748354"},"map_files_photo_id_array":[{"photo_id":"1399748360","filename":"file5"},{"photo_id":"1399748353","filename":"file2"},{"photo_id":"1399748355","filename":"file4"},{"photo_id":"1399748352","filename":"file1"},{"photo_id":"1399748350","filename":"file0"},{"photo_id":"1399748354","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748353":["hashtag1","hashtag2"]},{"1399748350":["hashtag1","hashtag2"]},{"1399748352":["hashtag1","hashtag2"]},{"1399748355":["hashtag1","hashtag2"]},{"1399748360":["hashtag1","hashtag2"]},{"1399748354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748353, 1399748350, 1399748352, 1399748355, 1399748360, 1399748354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52970862388611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:13:22.337931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/11/image_17122025_06_11_45_9760.jpg', '/home/pi/Desktop/images/17122025/06/11/image_17122025_06_12_05_10715.jpg', '/home/pi/Desktop/images/17122025/06/12/image_17122025_06_12_15_9715.jpg', '/home/pi/Desktop/images/17122025/06/12/image_17122025_06_12_34_9776.jpg', '/home/pi/Desktop/images/17122025/06/12/image_17122025_06_12_45_10617.jpg', '/home/pi/Desktop/images/17122025/06/12/image_17122025_06_12_55_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/11/image_17122025_06_11_45_9760.jpg
/home/pi/Desktop/images/17122025/06/11/image_17122025_06_12_05_10715.jpg
/home/pi/Desktop/images/17122025/06/12/image_17122025_06_12_15_9715.jpg
/home/pi/Desktop/images/17122025/06/12/image_17122025_06_12_34_9776.jpg
/home/pi/Desktop/images/17122025/06/12/image_17122025_06_12_45_10617.jpg
/home/pi/Desktop/images/17122025/06/12/image_17122025_06_12_55_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748380","1399748377","1399748373","1399748375","1399748369","1399748371"],"photo_ids_order":["1399748369","1399748371","1399748373","1399748375","1399748377","1399748380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e95483baf36573dcb388bb3b58391465.jpg","text":"TemporaryFile(/tmp/multipartBody746798122342391760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948462915,"filename":"image_17122025_06_12_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8303464b21229087802de58c990131bd.jpg","text":"TemporaryFile(/tmp/multipartBody2267822342518826530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948462915,"filename":"image_17122025_06_12_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/302287c225a09e9bc4ef88d758a555b6.jpg","text":"TemporaryFile(/tmp/multipartBody7112625018316357027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948462915,"filename":"image_17122025_06_12_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d9ee19aa8e7c3bf47c40b0aab551921.jpg","text":"TemporaryFile(/tmp/multipartBody866325442091090777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948462915,"filename":"image_17122025_06_12_34_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/debdbbe82ce9986f2daa212f2dd4f62e.jpg","text":"TemporaryFile(/tmp/multipartBody9192304245800399631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948462915,"filename":"image_17122025_06_11_45_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35b6b23e1401e6fdf7e788b92cfab488.jpg","text":"TemporaryFile(/tmp/multipartBody3804285058266457756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948462915,"filename":"image_17122025_06_12_05_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748373","file1":"1399748371","file0":"1399748369","file4":"1399748377","file5":"1399748380","file3":"1399748375"},"map_files_photo_id_array":[{"photo_id":"1399748380","filename":"file5"},{"photo_id":"1399748373","filename":"file2"},{"photo_id":"1399748377","filename":"file4"},{"photo_id":"1399748371","filename":"file1"},{"photo_id":"1399748369","filename":"file0"},{"photo_id":"1399748375","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748380":["hashtag1","hashtag2"]},{"1399748377":["hashtag1","hashtag2"]},{"1399748373":["hashtag1","hashtag2"]},{"1399748375":["hashtag1","hashtag2"]},{"1399748369":["hashtag1","hashtag2"]},{"1399748371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748380, 1399748377, 1399748373, 1399748375, 1399748369, 1399748371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66687536239624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:14:03.118317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/12/image_17122025_06_13_04_9743.jpg', '/home/pi/Desktop/images/17122025/06/13/image_17122025_06_13_15_10776.jpg', '/home/pi/Desktop/images/17122025/06/13/image_17122025_06_13_25_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/12/image_17122025_06_13_04_9743.jpg
/home/pi/Desktop/images/17122025/06/13/image_17122025_06_13_15_10776.jpg
/home/pi/Desktop/images/17122025/06/13/image_17122025_06_13_25_9725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748385","1399748384","1399748383"],"photo_ids_order":["1399748383","1399748384","1399748385"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2fbccd32f310b8fbd50b33b2ce13259.jpg","text":"TemporaryFile(/tmp/multipartBody2301257179323776013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948503659,"filename":"image_17122025_06_13_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18fa4a5d4d3c1345d56a536d93115e74.jpg","text":"TemporaryFile(/tmp/multipartBody5597119173010050808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948503659,"filename":"image_17122025_06_13_15_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e62780f11613529a6fccb2855809ccc.jpg","text":"TemporaryFile(/tmp/multipartBody5631835018258748235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948503659,"filename":"image_17122025_06_13_04_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748385","file1":"1399748384","file0":"1399748383"},"map_files_photo_id_array":[{"photo_id":"1399748385","filename":"file2"},{"photo_id":"1399748384","filename":"file1"},{"photo_id":"1399748383","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748385":["hashtag1","hashtag2"]},{"1399748384":["hashtag1","hashtag2"]},{"1399748383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748385, 1399748384, 1399748383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.279555797576904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:14:32.475010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:14:42.444245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_16_2550.jpg', '/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_28_3532.jpg', '/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_46_2683.jpg', '/home/pi/Desktop/images/07112025/17/03/image_07112025_17_03_19_2691.jpg', '/home/pi/Desktop/images/07112025/17/03/image_07112025_17_03_45_10573.jpg', '/home/pi/Desktop/images/07112025/17/03/image_07112025_17_03_56_1588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_16_2550.jpg
/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_28_3532.jpg
/home/pi/Desktop/images/07112025/17/02/image_07112025_17_02_46_2683.jpg
/home/pi/Desktop/images/07112025/17/03/image_07112025_17_03_19_2691.jpg
/home/pi/Desktop/images/07112025/17/03/image_07112025_17_03_45_10573.jpg
/home/pi/Desktop/images/07112025/17/03/image_07112025_17_03_56_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":["1399748416","1399748401","1399748410","1399748394","1399748415","1399748417"],"photo_ids_order":["1399748394","1399748401","1399748410","1399748415","1399748416","1399748417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c43ea18cddfad7c75336731d2f302ac9.jpg","text":"TemporaryFile(/tmp/multipartBody3873317850101691668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948543135,"filename":"image_07112025_17_03_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0535c5c52dbd2edcd41c6ab5770a908.jpg","text":"TemporaryFile(/tmp/multipartBody1151748649646926687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948543135,"filename":"image_07112025_17_02_28_3532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a921581588796fa94bdb09e9b051210.jpg","text":"TemporaryFile(/tmp/multipartBody7198227371820842705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948543135,"filename":"image_07112025_17_02_46_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7891915387c04935c8c2bc542aea0deb.jpg","text":"TemporaryFile(/tmp/multipartBody1120246361355653920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948543135,"filename":"image_07112025_17_02_16_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/182b1d64db62a695eab6219a9dfe9746.jpg","text":"TemporaryFile(/tmp/multipartBody5739312704115359130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948543135,"filename":"image_07112025_17_03_19_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94ac370cd594caa1b6d9a20c47e2d575.jpg","text":"TemporaryFile(/tmp/multipartBody8257615657472740949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948543135,"filename":"image_07112025_17_03_56_1588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748410","file1":"1399748401","file0":"1399748394","file4":"1399748416","file5":"1399748417","file3":"1399748415"},"map_files_photo_id_array":[{"photo_id":"1399748417","filename":"file5"},{"photo_id":"1399748410","filename":"file2"},{"photo_id":"1399748416","filename":"file4"},{"photo_id":"1399748401","filename":"file1"},{"photo_id":"1399748394","filename":"file0"},{"photo_id":"1399748415","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748416":["hashtag1","hashtag2"]},{"1399748401":["hashtag1","hashtag2"]},{"1399748410":["hashtag1","hashtag2"]},{"1399748394":["hashtag1","hashtag2"]},{"1399748415":["hashtag1","hashtag2"]},{"1399748417":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748416, 1399748401, 1399748410, 1399748394, 1399748415, 1399748417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95198059082031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:15:22.766449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/13/image_17122025_06_13_34_9653.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_14_9776.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_25_10630.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_35_9747.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_44_9612.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_55_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/13/image_17122025_06_13_34_9653.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_14_9776.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_25_10630.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_35_9747.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_44_9612.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_55_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.4796907901763916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:15:32.703604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:15:42.622856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/04/image_07112025_17_04_45_2769.jpg', '/home/pi/Desktop/images/07112025/17/05/image_07112025_17_05_06_3011.jpg', '/home/pi/Desktop/images/07112025/17/05/image_07112025_17_05_31_3594.jpg', '/home/pi/Desktop/images/07112025/17/06/image_07112025_17_06_01_2583.jpg', '/home/pi/Desktop/images/07112025/17/06/image_07112025_17_06_25_2653.jpg', '/home/pi/Desktop/images/07112025/17/06/image_07112025_17_06_55_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/04/image_07112025_17_04_45_2769.jpg
/home/pi/Desktop/images/07112025/17/05/image_07112025_17_05_06_3011.jpg
/home/pi/Desktop/images/07112025/17/05/image_07112025_17_05_31_3594.jpg
/home/pi/Desktop/images/07112025/17/06/image_07112025_17_06_01_2583.jpg
/home/pi/Desktop/images/07112025/17/06/image_07112025_17_06_25_2653.jpg
/home/pi/Desktop/images/07112025/17/06/image_07112025_17_06_55_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748446","1399748445","1399748448","1399748441","1399748444","1399748447"],"photo_ids_order":["1399748441","1399748444","1399748445","1399748446","1399748447","1399748448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6592fd2faf9a51a123b7fd1f343ef11.jpg","text":"TemporaryFile(/tmp/multipartBody9106756111967508139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948603346,"filename":"image_07112025_17_06_01_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79ded744b94900c399c3110c76db87d1.jpg","text":"TemporaryFile(/tmp/multipartBody9116078815201063767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948603346,"filename":"image_07112025_17_05_31_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ca39fce213eb6b4b58d080d0a07738c.jpg","text":"TemporaryFile(/tmp/multipartBody2290368798005191305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948603346,"filename":"image_07112025_17_06_55_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9c5ab5791617f7fa6c607a3f1000dba.jpg","text":"TemporaryFile(/tmp/multipartBody5265783935070054820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948603346,"filename":"image_07112025_17_04_45_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5829503d45c739f750a6ee901eb0a00.jpg","text":"TemporaryFile(/tmp/multipartBody4689878568686416015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948603346,"filename":"image_07112025_17_05_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bcc3f3972c3817c2017e9eccfff59ca.jpg","text":"TemporaryFile(/tmp/multipartBody2713087237073917954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948603346,"filename":"image_07112025_17_06_25_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748445","file1":"1399748444","file0":"1399748441","file4":"1399748447","file5":"1399748448","file3":"1399748446"},"map_files_photo_id_array":[{"photo_id":"1399748448","filename":"file5"},{"photo_id":"1399748445","filename":"file2"},{"photo_id":"1399748447","filename":"file4"},{"photo_id":"1399748444","filename":"file1"},{"photo_id":"1399748441","filename":"file0"},{"photo_id":"1399748446","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748446":["hashtag1","hashtag2"]},{"1399748445":["hashtag1","hashtag2"]},{"1399748448":["hashtag1","hashtag2"]},{"1399748441":["hashtag1","hashtag2"]},{"1399748444":["hashtag1","hashtag2"]},{"1399748447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748446, 1399748445, 1399748448, 1399748441, 1399748444, 1399748447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13404297828674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:16:21.909080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/13/image_17122025_06_13_34_9653.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_14_9776.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_25_10630.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_35_9747.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_44_9612.jpg', '/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_55_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/13/image_17122025_06_13_34_9653.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_14_9776.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_25_10630.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_35_9747.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_44_9612.jpg
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_14_55_10636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748452","1399748458","1399748454","1399748456","1399748450","1399748464"],"photo_ids_order":["1399748450","1399748452","1399748454","1399748456","1399748458","1399748464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92fce3200364ab1a18e3adcba5113e6c.jpg","text":"TemporaryFile(/tmp/multipartBody4732087272070715340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948642485,"filename":"image_17122025_06_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/2025/12/17/4d3a5d1eed5d96e6bc09fd90b8199800.jpg","text":"TemporaryFile(/tmp/multipartBody793266023050941078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948642485,"filename":"image_17122025_06_14_44_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79aa8879fac10ab09b0119610bcf9f82.jpg","text":"TemporaryFile(/tmp/multipartBody8138255585582859339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948642485,"filename":"image_17122025_06_14_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/843cc9fecb1dbb5cdae6810f72acff97.jpg","text":"TemporaryFile(/tmp/multipartBody6573173469104691119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948642485,"filename":"image_17122025_06_14_35_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a5cbbaf5c9e2ac03f5306ca1666653e.jpg","text":"TemporaryFile(/tmp/multipartBody234250541225256873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948642485,"filename":"image_17122025_06_13_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65ba385b286bb4b7754ac724a5c19715.jpg","text":"TemporaryFile(/tmp/multipartBody431727631443762934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948642485,"filename":"image_17122025_06_14_55_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748454","file1":"1399748452","file0":"1399748450","file4":"1399748458","file5":"1399748464","file3":"1399748456"},"map_files_photo_id_array":[{"photo_id":"1399748464","filename":"file5"},{"photo_id":"1399748454","filename":"file2"},{"photo_id":"1399748458","filename":"file4"},{"photo_id":"1399748452","filename":"file1"},{"photo_id":"1399748450","filename":"file0"},{"photo_id":"1399748456","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748452":["hashtag1","hashtag2"]},{"1399748458":["hashtag1","hashtag2"]},{"1399748454":["hashtag1","hashtag2"]},{"1399748456":["hashtag1","hashtag2"]},{"1399748450":["hashtag1","hashtag2"]},{"1399748464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748452, 1399748458, 1399748454, 1399748456, 1399748450, 1399748464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.40423560142517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:17:02.620190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/14/image_17122025_06_15_05_9716.jpg', '/home/pi/Desktop/images/17122025/06/15/image_17122025_06_15_14_9714.jpg', '/home/pi/Desktop/images/17122025/06/15/image_17122025_06_15_24_9783.jpg', '/home/pi/Desktop/images/17122025/06/15/image_17122025_06_15_35_10513.jpg', '/home/pi/Desktop/images/17122025/06/15/image_17122025_06_15_54_9673.jpg', '/home/pi/Desktop/images/17122025/06/16/image_17122025_06_16_14_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/14/image_17122025_06_15_05_9716.jpg
/home/pi/Desktop/images/17122025/06/15/image_17122025_06_15_14_9714.jpg
/home/pi/Desktop/images/17122025/06/15/image_17122025_06_15_24_9783.jpg
/home/pi/Desktop/images/17122025/06/15/image_17122025_06_15_35_10513.jpg
/home/pi/Desktop/images/17122025/06/15/image_17122025_06_15_54_9673.jpg
/home/pi/Desktop/images/17122025/06/16/image_17122025_06_16_14_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":["1399748476","1399748481","1399748484","1399748478","1399748480","1399748482"],"photo_ids_order":["1399748476","1399748478","1399748480","1399748481","1399748482","1399748484"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f10232aca9d884f45450a4ad7925ab91.jpg","text":"TemporaryFile(/tmp/multipartBody3407322724399625414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948683254,"filename":"image_17122025_06_15_05_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7257b42119bf4d1fa156f5608c212715.jpg","text":"TemporaryFile(/tmp/multipartBody3537050156996773973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948683254,"filename":"image_17122025_06_15_35_10513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48988f7b146679ba2c55799137503169.jpg","text":"TemporaryFile(/tmp/multipartBody2558998673671117286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948683254,"filename":"image_17122025_06_16_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30fdceb3139c501af606bf563886275f.jpg","text":"TemporaryFile(/tmp/multipartBody3468963340810913730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948683254,"filename":"image_17122025_06_15_14_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9921cdf00d2e9e205520b42acb097b2.jpg","text":"TemporaryFile(/tmp/multipartBody6848509662842570948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948683254,"filename":"image_17122025_06_15_24_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b5b170c95355aa758622f6c150bea41.jpg","text":"TemporaryFile(/tmp/multipartBody1031942274570785105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948683254,"filename":"image_17122025_06_15_54_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748480","file1":"1399748478","file0":"1399748476","file4":"1399748482","file5":"1399748484","file3":"1399748481"},"map_files_photo_id_array":[{"photo_id":"1399748484","filename":"file5"},{"photo_id":"1399748480","filename":"file2"},{"photo_id":"1399748482","filename":"file4"},{"photo_id":"1399748478","filename":"file1"},{"photo_id":"1399748476","filename":"file0"},{"photo_id":"1399748481","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748476":["hashtag1","hashtag2"]},{"1399748481":["hashtag1","hashtag2"]},{"1399748484":["hashtag1","hashtag2"]},{"1399748478":["hashtag1","hashtag2"]},{"1399748480":["hashtag1","hashtag2"]},{"1399748482":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748476, 1399748481, 1399748484, 1399748478, 1399748480, 1399748482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.320658922195435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:17:42.176258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/08/image_07112025_17_08_19_2841.jpg', '/home/pi/Desktop/images/07112025/17/11/image_07112025_17_11_32_3615.jpg', '/home/pi/Desktop/images/07112025/17/11/image_07112025_17_11_38_3654.jpg', '/home/pi/Desktop/images/07112025/17/12/image_07112025_17_12_17_3767.jpg', '/home/pi/Desktop/images/07112025/17/12/image_07112025_17_12_40_2717.jpg', '/home/pi/Desktop/images/07112025/17/14/image_07112025_17_14_01_2519.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/08/image_07112025_17_08_19_2841.jpg
/home/pi/Desktop/images/07112025/17/11/image_07112025_17_11_32_3615.jpg
/home/pi/Desktop/images/07112025/17/11/image_07112025_17_11_38_3654.jpg
/home/pi/Desktop/images/07112025/17/12/image_07112025_17_12_17_3767.jpg
/home/pi/Desktop/images/07112025/17/12/image_07112025_17_12_40_2717.jpg
/home/pi/Desktop/images/07112025/17/14/image_07112025_17_14_01_2519.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748493","1399748496","1399748490","1399748498","1399748495","1399748497"],"photo_ids_order":["1399748490","1399748493","1399748495","1399748496","1399748497","1399748498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95fad19287efd3b4936a7b82369fe25c.jpg","text":"TemporaryFile(/tmp/multipartBody2773502859781102989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948722893,"filename":"image_07112025_17_11_32_3615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be5a633b75e4db015643c6612dfd97ae.jpg","text":"TemporaryFile(/tmp/multipartBody4864321387818738388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948722893,"filename":"image_07112025_17_12_17_3767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4800804bc6e328731d6936f9734b9ca.jpg","text":"TemporaryFile(/tmp/multipartBody222364950687184549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948722893,"filename":"image_07112025_17_08_19_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0798c6500311a8c1c66aec1615aca452.jpg","text":"TemporaryFile(/tmp/multipartBody3784209954916540014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948722893,"filename":"image_07112025_17_14_01_2519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f535201e95bcaa590115b1d2bc1fd2d0.jpg","text":"TemporaryFile(/tmp/multipartBody5686811175643146534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948722893,"filename":"image_07112025_17_11_38_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7becde9d9f533c6f9e102aa6944fe18a.jpg","text":"TemporaryFile(/tmp/multipartBody5588230720667909710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948722893,"filename":"image_07112025_17_12_40_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748495","file1":"1399748493","file0":"1399748490","file4":"1399748497","file5":"1399748498","file3":"1399748496"},"map_files_photo_id_array":[{"photo_id":"1399748498","filename":"file5"},{"photo_id":"1399748495","filename":"file2"},{"photo_id":"1399748497","filename":"file4"},{"photo_id":"1399748493","filename":"file1"},{"photo_id":"1399748490","filename":"file0"},{"photo_id":"1399748496","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748493":["hashtag1","hashtag2"]},{"1399748496":["hashtag1","hashtag2"]},{"1399748490":["hashtag1","hashtag2"]},{"1399748498":["hashtag1","hashtag2"]},{"1399748495":["hashtag1","hashtag2"]},{"1399748497":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748493, 1399748496, 1399748490, 1399748498, 1399748495, 1399748497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.836190700531006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:18:22.477951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/16/image_17122025_06_16_24_9709.jpg', '/home/pi/Desktop/images/17122025/06/16/image_17122025_06_16_45_9632.jpg', '/home/pi/Desktop/images/17122025/06/16/image_17122025_06_16_54_9675.jpg', '/home/pi/Desktop/images/17122025/06/16/image_17122025_06_17_05_10680.jpg', '/home/pi/Desktop/images/17122025/06/17/image_17122025_06_17_34_9586.jpg', '/home/pi/Desktop/images/17122025/06/17/image_17122025_06_17_45_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/16/image_17122025_06_16_24_9709.jpg
/home/pi/Desktop/images/17122025/06/16/image_17122025_06_16_45_9632.jpg
/home/pi/Desktop/images/17122025/06/16/image_17122025_06_16_54_9675.jpg
/home/pi/Desktop/images/17122025/06/16/image_17122025_06_17_05_10680.jpg
/home/pi/Desktop/images/17122025/06/17/image_17122025_06_17_34_9586.jpg
/home/pi/Desktop/images/17122025/06/17/image_17122025_06_17_45_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":["1399748509","1399748518","1399748505","1399748522","1399748516","1399748513"],"photo_ids_order":["1399748505","1399748509","1399748513","1399748516","1399748518","1399748522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b2a5a085dc470bcba13e80a17b46349.jpg","text":"TemporaryFile(/tmp/multipartBody583797935966305492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948763140,"filename":"image_17122025_06_16_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e08baecbbcf74c434c40357be0a6b094.jpg","text":"TemporaryFile(/tmp/multipartBody4350373946230149575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948763140,"filename":"image_17122025_06_17_34_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56332cab85a90c51262559f73f7d80c9.jpg","text":"TemporaryFile(/tmp/multipartBody9121941978307350879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948763140,"filename":"image_17122025_06_16_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eda1354303f39d1df8f128d7a6ccb2c2.jpg","text":"TemporaryFile(/tmp/multipartBody5267756699065672163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948763140,"filename":"image_17122025_06_17_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8403771d59853a966d7a083f28c945da.jpg","text":"TemporaryFile(/tmp/multipartBody1553689902153735634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948763140,"filename":"image_17122025_06_17_05_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45367bc2d340c3e87b18d6296b981e9f.jpg","text":"TemporaryFile(/tmp/multipartBody1479355750955986870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948763140,"filename":"image_17122025_06_16_54_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748513","file1":"1399748509","file0":"1399748505","file4":"1399748518","file5":"1399748522","file3":"1399748516"},"map_files_photo_id_array":[{"photo_id":"1399748522","filename":"file5"},{"photo_id":"1399748513","filename":"file2"},{"photo_id":"1399748518","filename":"file4"},{"photo_id":"1399748509","filename":"file1"},{"photo_id":"1399748505","filename":"file0"},{"photo_id":"1399748516","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748509":["hashtag1","hashtag2"]},{"1399748518":["hashtag1","hashtag2"]},{"1399748505":["hashtag1","hashtag2"]},{"1399748522":["hashtag1","hashtag2"]},{"1399748516":["hashtag1","hashtag2"]},{"1399748513":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748509, 1399748518, 1399748505, 1399748522, 1399748516, 1399748513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.58307218551636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:19:03.466827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_15_10613.jpg', '/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_25_9864.jpg', '/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_34_9513.jpg', '/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_45_10607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_15_10613.jpg
/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_25_9864.jpg
/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_34_9513.jpg
/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_45_10607.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748530","1399748532","1399748534","1399748528"],"photo_ids_order":["1399748528","1399748530","1399748532","1399748534"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d8824286765820a180a7a683c9586f3.jpg","text":"TemporaryFile(/tmp/multipartBody2523432055342866343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948804141,"filename":"image_17122025_06_18_25_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52f1a66f7882d3c037d235d6287eb507.jpg","text":"TemporaryFile(/tmp/multipartBody7755241411781402336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948804141,"filename":"image_17122025_06_18_34_9513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2962994f0d67748485d722d5b4e50cc6.jpg","text":"TemporaryFile(/tmp/multipartBody7683910530409098937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948804141,"filename":"image_17122025_06_18_45_10607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c767d7063f21bfeadbe2a286935fde3.jpg","text":"TemporaryFile(/tmp/multipartBody7007669347777121519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948804141,"filename":"image_17122025_06_18_15_10613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748532","file1":"1399748530","file0":"1399748528","file3":"1399748534"},"map_files_photo_id_array":[{"photo_id":"1399748532","filename":"file2"},{"photo_id":"1399748530","filename":"file1"},{"photo_id":"1399748528","filename":"file0"},{"photo_id":"1399748534","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748530":["hashtag1","hashtag2"]},{"1399748532":["hashtag1","hashtag2"]},{"1399748534":["hashtag1","hashtag2"]},{"1399748528":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748530, 1399748532, 1399748534, 1399748528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.59071183204651 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:19:32.745614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:19:42.691255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/14/image_07112025_17_14_16_2555.jpg', '/home/pi/Desktop/images/07112025/17/15/image_07112025_17_15_14_2657.jpg', '/home/pi/Desktop/images/07112025/17/15/image_07112025_17_15_20_3669.jpg', '/home/pi/Desktop/images/07112025/17/15/image_07112025_17_15_22_2550.jpg', '/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_19_2856.jpg', '/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_37_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/14/image_07112025_17_14_16_2555.jpg
/home/pi/Desktop/images/07112025/17/15/image_07112025_17_15_14_2657.jpg
/home/pi/Desktop/images/07112025/17/15/image_07112025_17_15_20_3669.jpg
/home/pi/Desktop/images/07112025/17/15/image_07112025_17_15_22_2550.jpg
/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_19_2856.jpg
/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_37_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748545","1399748554","1399748552","1399748555","1399748543","1399748546"],"photo_ids_order":["1399748543","1399748545","1399748546","1399748552","1399748554","1399748555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c90fdce29ef90e2fe6e3835eb39549ed.jpg","text":"TemporaryFile(/tmp/multipartBody4364968110879787321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948843407,"filename":"image_07112025_17_15_14_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5c70fde3842369a9e94fd88652a8438.jpg","text":"TemporaryFile(/tmp/multipartBody5912611388364737096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948843407,"filename":"image_07112025_17_16_19_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de86aa28a5f2f165ee555db71a03ecf4.jpg","text":"TemporaryFile(/tmp/multipartBody5286891367991210114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948843407,"filename":"image_07112025_17_15_22_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0631dfd7bb3462554b4bae63b63f1ce0.jpg","text":"TemporaryFile(/tmp/multipartBody8510917792457604799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948843407,"filename":"image_07112025_17_16_37_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32397f755b91b56fcd9b2b6f7b7ecc8d.jpg","text":"TemporaryFile(/tmp/multipartBody1209942210109887986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948843407,"filename":"image_07112025_17_14_16_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39e1d649be86d8a459459cc1960d7e9a.jpg","text":"TemporaryFile(/tmp/multipartBody42793340255214650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948843407,"filename":"image_07112025_17_15_20_3669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748546","file1":"1399748545","file0":"1399748543","file4":"1399748554","file5":"1399748555","file3":"1399748552"},"map_files_photo_id_array":[{"photo_id":"1399748555","filename":"file5"},{"photo_id":"1399748546","filename":"file2"},{"photo_id":"1399748554","filename":"file4"},{"photo_id":"1399748545","filename":"file1"},{"photo_id":"1399748543","filename":"file0"},{"photo_id":"1399748552","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748545":["hashtag1","hashtag2"]},{"1399748554":["hashtag1","hashtag2"]},{"1399748552":["hashtag1","hashtag2"]},{"1399748555":["hashtag1","hashtag2"]},{"1399748543":["hashtag1","hashtag2"]},{"1399748546":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748545, 1399748554, 1399748552, 1399748555, 1399748543, 1399748546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93008899688721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:20:21.964287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_54_9711.jpg', '/home/pi/Desktop/images/17122025/06/18/image_17122025_06_19_05_10557.jpg', '/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_15_9636.jpg', '/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_24_9733.jpg', '/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_34_9917.jpg', '/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_45_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/18/image_17122025_06_18_54_9711.jpg
/home/pi/Desktop/images/17122025/06/18/image_17122025_06_19_05_10557.jpg
/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_15_9636.jpg
/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_24_9733.jpg
/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_34_9917.jpg
/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_45_10578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748569","1399748560","1399748571","1399748565","1399748561","1399748578"],"photo_ids_order":["1399748560","1399748561","1399748565","1399748569","1399748571","1399748578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/034a1a84656be3f39b58544575ef291e.jpg","text":"TemporaryFile(/tmp/multipartBody433965381187155138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948882540,"filename":"image_17122025_06_19_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09260bf73a6be7f6421785e0f0d92918.jpg","text":"TemporaryFile(/tmp/multipartBody6518738369464445623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948882540,"filename":"image_17122025_06_18_54_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07ffc4cf623c04c9b3f1b75fadaa07dd.jpg","text":"TemporaryFile(/tmp/multipartBody8203082092634265796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948882540,"filename":"image_17122025_06_19_34_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66eddc0d557b51eb212b90148b0a40e8.jpg","text":"TemporaryFile(/tmp/multipartBody7734403514517346049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948882540,"filename":"image_17122025_06_19_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0c950d80d803ea467e37170df9cfd15.jpg","text":"TemporaryFile(/tmp/multipartBody9173688525260384891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948882540,"filename":"image_17122025_06_19_05_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8be19b42344b32291143f2d3b390562c.jpg","text":"TemporaryFile(/tmp/multipartBody2163584547233768737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948882540,"filename":"image_17122025_06_19_45_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748565","file1":"1399748561","file0":"1399748560","file4":"1399748571","file5":"1399748578","file3":"1399748569"},"map_files_photo_id_array":[{"photo_id":"1399748578","filename":"file5"},{"photo_id":"1399748565","filename":"file2"},{"photo_id":"1399748571","filename":"file4"},{"photo_id":"1399748561","filename":"file1"},{"photo_id":"1399748560","filename":"file0"},{"photo_id":"1399748569","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748569":["hashtag1","hashtag2"]},{"1399748560":["hashtag1","hashtag2"]},{"1399748571":["hashtag1","hashtag2"]},{"1399748565":["hashtag1","hashtag2"]},{"1399748561":["hashtag1","hashtag2"]},{"1399748578":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748569, 1399748560, 1399748571, 1399748565, 1399748561, 1399748578)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.81707525253296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:21:02.836553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_54_9635.jpg', '/home/pi/Desktop/images/17122025/06/19/image_17122025_06_20_04_9740.jpg', '/home/pi/Desktop/images/17122025/06/20/image_17122025_06_20_15_10732.jpg', '/home/pi/Desktop/images/17122025/06/20/image_17122025_06_20_25_9599.jpg', '/home/pi/Desktop/images/17122025/06/20/image_17122025_06_20_34_9805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/19/image_17122025_06_19_54_9635.jpg
/home/pi/Desktop/images/17122025/06/19/image_17122025_06_20_04_9740.jpg
/home/pi/Desktop/images/17122025/06/20/image_17122025_06_20_15_10732.jpg
/home/pi/Desktop/images/17122025/06/20/image_17122025_06_20_25_9599.jpg
/home/pi/Desktop/images/17122025/06/20/image_17122025_06_20_34_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":["1399748592","1399748595","1399748597","1399748600","1399748599"],"photo_ids_order":["1399748592","1399748595","1399748597","1399748599","1399748600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee2367989108cffe113044f83646bbe3.jpg","text":"TemporaryFile(/tmp/multipartBody4457396268659927485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948923443,"filename":"image_17122025_06_19_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0400fa43b907144e034d73702a0defbe.jpg","text":"TemporaryFile(/tmp/multipartBody1522525745836707879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948923443,"filename":"image_17122025_06_20_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5db804df46fb4fe92a930c048dc85308.jpg","text":"TemporaryFile(/tmp/multipartBody2334751589944871623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948923443,"filename":"image_17122025_06_20_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bc2a1e85cbe317cf75341cd5124be33.jpg","text":"TemporaryFile(/tmp/multipartBody1170037731012323123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948923443,"filename":"image_17122025_06_20_34_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09bcbfc9f388f3c5ad65bdc8807a3439.jpg","text":"TemporaryFile(/tmp/multipartBody3493379490557037960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948923443,"filename":"image_17122025_06_20_25_9599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748597","file1":"1399748595","file0":"1399748592","file4":"1399748600","file3":"1399748599"},"map_files_photo_id_array":[{"photo_id":"1399748597","filename":"file2"},{"photo_id":"1399748600","filename":"file4"},{"photo_id":"1399748595","filename":"file1"},{"photo_id":"1399748592","filename":"file0"},{"photo_id":"1399748599","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748592":["hashtag1","hashtag2"]},{"1399748595":["hashtag1","hashtag2"]},{"1399748597":["hashtag1","hashtag2"]},{"1399748600":["hashtag1","hashtag2"]},{"1399748599":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748592, 1399748595, 1399748597, 1399748600, 1399748599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.71776008605957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:21:42.216692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_41_3598.jpg', '/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_44_2714.jpg', '/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_49_2676.jpg', '/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_17_3648.jpg', '/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_31_2653.jpg', '/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_35_3511.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_41_3598.jpg
/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_44_2714.jpg
/home/pi/Desktop/images/07112025/17/16/image_07112025_17_16_49_2676.jpg
/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_17_3648.jpg
/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_31_2653.jpg
/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_35_3511.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748602","1399748605","1399748604","1399748601","1399748603","1399748606"],"photo_ids_order":["1399748601","1399748602","1399748603","1399748604","1399748605","1399748606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93600c45d1fb6af8120cc93d7c150385.jpg","text":"TemporaryFile(/tmp/multipartBody649785013904354965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948962907,"filename":"image_07112025_17_16_44_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f467d389c47deac0b019f15192391bad.jpg","text":"TemporaryFile(/tmp/multipartBody6726176422380075273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948962907,"filename":"image_07112025_17_17_31_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbbb30da0485aaf8884a363fc4416a7d.jpg","text":"TemporaryFile(/tmp/multipartBody9098256471714585585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948962907,"filename":"image_07112025_17_17_17_3648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3bb2aaf7739edf668592aa0e7e932a02.jpg","text":"TemporaryFile(/tmp/multipartBody8693164225177778542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948962907,"filename":"image_07112025_17_16_41_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abac0194d9c957e58dd4f5aefb935873.jpg","text":"TemporaryFile(/tmp/multipartBody8540674953143131596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948962907,"filename":"image_07112025_17_16_49_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db8df2031a391c467fea049c980066ef.jpg","text":"TemporaryFile(/tmp/multipartBody2966245499888368164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765948962907,"filename":"image_07112025_17_17_35_3511.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748603","file1":"1399748602","file0":"1399748601","file4":"1399748605","file5":"1399748606","file3":"1399748604"},"map_files_photo_id_array":[{"photo_id":"1399748606","filename":"file5"},{"photo_id":"1399748603","filename":"file2"},{"photo_id":"1399748605","filename":"file4"},{"photo_id":"1399748602","filename":"file1"},{"photo_id":"1399748601","filename":"file0"},{"photo_id":"1399748604","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748602":["hashtag1","hashtag2"]},{"1399748605":["hashtag1","hashtag2"]},{"1399748604":["hashtag1","hashtag2"]},{"1399748601":["hashtag1","hashtag2"]},{"1399748603":["hashtag1","hashtag2"]},{"1399748606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748602, 1399748605, 1399748604, 1399748601, 1399748603, 1399748606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9567813873291 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:22:22.458508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/20/image_17122025_06_20_45_10640.jpg', '/home/pi/Desktop/images/17122025/06/20/image_17122025_06_21_04_9674.jpg', '/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_14_9784.jpg', '/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_25_10707.jpg', '/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_35_9640.jpg', '/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_44_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/20/image_17122025_06_20_45_10640.jpg
/home/pi/Desktop/images/17122025/06/20/image_17122025_06_21_04_9674.jpg
/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_14_9784.jpg
/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_25_10707.jpg
/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_35_9640.jpg
/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_44_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748617","1399748619","1399748621","1399748615","1399748624","1399748612"],"photo_ids_order":["1399748612","1399748615","1399748617","1399748619","1399748621","1399748624"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56f41788c393a01c017910706a0bb803.jpg","text":"TemporaryFile(/tmp/multipartBody8853571525558545464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949003038,"filename":"image_17122025_06_21_14_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a6f19b525175adde374254ea182ca44.jpg","text":"TemporaryFile(/tmp/multipartBody2286999229064351085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949003038,"filename":"image_17122025_06_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/2025/12/17/56954478ea982c7ba68e9ad2a6619ff5.jpg","text":"TemporaryFile(/tmp/multipartBody7925085031837111066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949003038,"filename":"image_17122025_06_21_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2de4f3eb2699e70370449366c44925d2.jpg","text":"TemporaryFile(/tmp/multipartBody1203539638232801576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949003038,"filename":"image_17122025_06_21_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/483ad48d0d70134bf96bd22294522c51.jpg","text":"TemporaryFile(/tmp/multipartBody1848931077014947447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949003038,"filename":"image_17122025_06_21_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f46958637a28d9596fba5e9f3f9d0bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5971877153692099546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949003038,"filename":"image_17122025_06_20_45_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748617","file1":"1399748615","file0":"1399748612","file4":"1399748621","file5":"1399748624","file3":"1399748619"},"map_files_photo_id_array":[{"photo_id":"1399748624","filename":"file5"},{"photo_id":"1399748617","filename":"file2"},{"photo_id":"1399748621","filename":"file4"},{"photo_id":"1399748615","filename":"file1"},{"photo_id":"1399748612","filename":"file0"},{"photo_id":"1399748619","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748617":["hashtag1","hashtag2"]},{"1399748619":["hashtag1","hashtag2"]},{"1399748621":["hashtag1","hashtag2"]},{"1399748615":["hashtag1","hashtag2"]},{"1399748624":["hashtag1","hashtag2"]},{"1399748612":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748617, 1399748619, 1399748621, 1399748615, 1399748624, 1399748612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9218008518219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:23:03.340977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_55_10664.jpg', '/home/pi/Desktop/images/17122025/06/21/image_17122025_06_22_04_9638.jpg', '/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_14_9686.jpg', '/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_25_10796.jpg', '/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_35_9597.jpg', '/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_44_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/21/image_17122025_06_21_55_10664.jpg
/home/pi/Desktop/images/17122025/06/21/image_17122025_06_22_04_9638.jpg
/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_14_9686.jpg
/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_25_10796.jpg
/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_35_9597.jpg
/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_44_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748644","1399748633","1399748642","1399748636","1399748639","1399748630"],"photo_ids_order":["1399748630","1399748633","1399748636","1399748639","1399748642","1399748644"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce55b0a5b4e87700e2cc2ed20d42f7ff.jpg","text":"TemporaryFile(/tmp/multipartBody2188432643587283684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949043969,"filename":"image_17122025_06_22_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8c78666a65546407044ac31e1443f1c.jpg","text":"TemporaryFile(/tmp/multipartBody470030629651540622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949043969,"filename":"image_17122025_06_22_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c744f898073997c8ac8ab436baeffc2.jpg","text":"TemporaryFile(/tmp/multipartBody3474309409853922838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949043969,"filename":"image_17122025_06_22_35_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/777fd78bc91da29ab959da986acc341a.jpg","text":"TemporaryFile(/tmp/multipartBody1341314574745269161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949043969,"filename":"image_17122025_06_22_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/136278111decebfac64b83ca93f1590e.jpg","text":"TemporaryFile(/tmp/multipartBody5297195072928363187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949043969,"filename":"image_17122025_06_22_25_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e0eb79c2fbab5538c75483f01642d42.jpg","text":"TemporaryFile(/tmp/multipartBody7627383537757214029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949043969,"filename":"image_17122025_06_21_55_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748636","file1":"1399748633","file0":"1399748630","file4":"1399748642","file5":"1399748644","file3":"1399748639"},"map_files_photo_id_array":[{"photo_id":"1399748644","filename":"file5"},{"photo_id":"1399748636","filename":"file2"},{"photo_id":"1399748642","filename":"file4"},{"photo_id":"1399748633","filename":"file1"},{"photo_id":"1399748630","filename":"file0"},{"photo_id":"1399748639","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748644":["hashtag1","hashtag2"]},{"1399748633":["hashtag1","hashtag2"]},{"1399748642":["hashtag1","hashtag2"]},{"1399748636":["hashtag1","hashtag2"]},{"1399748639":["hashtag1","hashtag2"]},{"1399748630":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748644, 1399748633, 1399748642, 1399748636, 1399748639, 1399748630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.017550468444824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:23:42.852460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_40_2623.jpg', '/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_44_3678.jpg', '/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_49_2688.jpg', '/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_55_2697.jpg', '/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_58_2695.jpg', '/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_04_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_40_2623.jpg
/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_44_3678.jpg
/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_49_2688.jpg
/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_55_2697.jpg
/home/pi/Desktop/images/07112025/17/17/image_07112025_17_17_58_2695.jpg
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_04_3613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748659","1399748653","1399748647","1399748655","1399748651","1399748657"],"photo_ids_order":["1399748647","1399748651","1399748653","1399748655","1399748657","1399748659"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56be776b45afc1af94012b4352f9d378.jpg","text":"TemporaryFile(/tmp/multipartBody3131910505713238114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949083544,"filename":"image_07112025_17_18_04_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da146b525e0a67115f652d974cae7715.jpg","text":"TemporaryFile(/tmp/multipartBody6862519028194262834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949083544,"filename":"image_07112025_17_17_49_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/444fa96eb5924adf308ec3f7b202179e.jpg","text":"TemporaryFile(/tmp/multipartBody1252980558092315630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949083544,"filename":"image_07112025_17_17_40_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/479e2d7216554ada1b667f371ae661e8.jpg","text":"TemporaryFile(/tmp/multipartBody1983502082301578606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949083544,"filename":"image_07112025_17_17_55_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/219ef792c993ad8e3f0161c43c0624c6.jpg","text":"TemporaryFile(/tmp/multipartBody2242458361984076301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949083544,"filename":"image_07112025_17_17_44_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/210282a4fddff9e7048e13c749e25ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4793697422169654343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949083544,"filename":"image_07112025_17_17_58_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748653","file1":"1399748651","file0":"1399748647","file4":"1399748657","file5":"1399748659","file3":"1399748655"},"map_files_photo_id_array":[{"photo_id":"1399748659","filename":"file5"},{"photo_id":"1399748653","filename":"file2"},{"photo_id":"1399748657","filename":"file4"},{"photo_id":"1399748651","filename":"file1"},{"photo_id":"1399748647","filename":"file0"},{"photo_id":"1399748655","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748659":["hashtag1","hashtag2"]},{"1399748653":["hashtag1","hashtag2"]},{"1399748647":["hashtag1","hashtag2"]},{"1399748655":["hashtag1","hashtag2"]},{"1399748651":["hashtag1","hashtag2"]},{"1399748657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748659, 1399748653, 1399748647, 1399748655, 1399748651, 1399748657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3533718585968 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:24:22.152711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_55_10593.jpg', '/home/pi/Desktop/images/17122025/06/22/image_17122025_06_23_04_9640.jpg', '/home/pi/Desktop/images/17122025/06/23/image_17122025_06_23_14_9806.jpg', '/home/pi/Desktop/images/17122025/06/23/image_17122025_06_23_25_10690.jpg', '/home/pi/Desktop/images/17122025/06/23/image_17122025_06_23_44_9648.jpg', '/home/pi/Desktop/images/17122025/06/23/image_17122025_06_23_55_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/22/image_17122025_06_22_55_10593.jpg
/home/pi/Desktop/images/17122025/06/22/image_17122025_06_23_04_9640.jpg
/home/pi/Desktop/images/17122025/06/23/image_17122025_06_23_14_9806.jpg
/home/pi/Desktop/images/17122025/06/23/image_17122025_06_23_25_10690.jpg
/home/pi/Desktop/images/17122025/06/23/image_17122025_06_23_44_9648.jpg
/home/pi/Desktop/images/17122025/06/23/image_17122025_06_23_55_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748686","1399748671","1399748691","1399748688","1399748667","1399748678"],"photo_ids_order":["1399748667","1399748671","1399748678","1399748686","1399748688","1399748691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcdeeafe4d11c7c0b4d32d27f678f602.jpg","text":"TemporaryFile(/tmp/multipartBody7807564322981157632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949122772,"filename":"image_17122025_06_23_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10e8e297d524527f7cf5e5cbd5a6d9fd.jpg","text":"TemporaryFile(/tmp/multipartBody6308611330115842283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949122772,"filename":"image_17122025_06_23_04_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ddc8406459b527e319f1e7fad7352d1.jpg","text":"TemporaryFile(/tmp/multipartBody791332660432877310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949122772,"filename":"image_17122025_06_23_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ef71c92e47f232a2f653e0b1349f75e.jpg","text":"TemporaryFile(/tmp/multipartBody5591408172183924437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949122772,"filename":"image_17122025_06_23_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dcce628db2167b2fe4c5b79c953cfe28.jpg","text":"TemporaryFile(/tmp/multipartBody9163793724927353281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949122772,"filename":"image_17122025_06_22_55_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b096d0aca037724bb00ce418c031c455.jpg","text":"TemporaryFile(/tmp/multipartBody3295682858697734074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949122772,"filename":"image_17122025_06_23_14_9806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748678","file1":"1399748671","file0":"1399748667","file4":"1399748688","file5":"1399748691","file3":"1399748686"},"map_files_photo_id_array":[{"photo_id":"1399748691","filename":"file5"},{"photo_id":"1399748678","filename":"file2"},{"photo_id":"1399748688","filename":"file4"},{"photo_id":"1399748671","filename":"file1"},{"photo_id":"1399748667","filename":"file0"},{"photo_id":"1399748686","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748686":["hashtag1","hashtag2"]},{"1399748671":["hashtag1","hashtag2"]},{"1399748691":["hashtag1","hashtag2"]},{"1399748688":["hashtag1","hashtag2"]},{"1399748667":["hashtag1","hashtag2"]},{"1399748678":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748686, 1399748671, 1399748691, 1399748688, 1399748667, 1399748678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18384003639221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:25:02.998510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/23/image_17122025_06_24_05_9650.jpg', '/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_14_9777.jpg', '/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_25_10676.jpg', '/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_35_9633.jpg', '/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_44_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/23/image_17122025_06_24_05_9650.jpg
/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_14_9777.jpg
/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_25_10676.jpg
/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_35_9633.jpg
/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_44_9685.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748704","1399748696","1399748700","1399748702","1399748698"],"photo_ids_order":["1399748696","1399748698","1399748700","1399748702","1399748704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51ab1c5915cb0963edeb44cb3249e719.jpg","text":"TemporaryFile(/tmp/multipartBody409620084860732347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949163578,"filename":"image_17122025_06_24_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/515f4ac6347203e1be9065091916c7b7.jpg","text":"TemporaryFile(/tmp/multipartBody6597609201348156628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949163578,"filename":"image_17122025_06_24_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79901205818ffd4acdbfc6932ca17e92.jpg","text":"TemporaryFile(/tmp/multipartBody8501287604674703363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949163578,"filename":"image_17122025_06_24_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f76f8b471cc541e69d48fa54d15e87d8.jpg","text":"TemporaryFile(/tmp/multipartBody4186709085880667634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949163578,"filename":"image_17122025_06_24_35_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f569615b1ca11166499b64185fb75ea2.jpg","text":"TemporaryFile(/tmp/multipartBody965192669846639253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949163578,"filename":"image_17122025_06_24_14_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748700","file1":"1399748698","file0":"1399748696","file4":"1399748704","file3":"1399748702"},"map_files_photo_id_array":[{"photo_id":"1399748700","filename":"file2"},{"photo_id":"1399748704","filename":"file4"},{"photo_id":"1399748698","filename":"file1"},{"photo_id":"1399748696","filename":"file0"},{"photo_id":"1399748702","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748704":["hashtag1","hashtag2"]},{"1399748696":["hashtag1","hashtag2"]},{"1399748700":["hashtag1","hashtag2"]},{"1399748702":["hashtag1","hashtag2"]},{"1399748698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748704, 1399748696, 1399748700, 1399748702, 1399748698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.196110010147095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:25:42.304357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_11_3613.jpg', '/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_16_2633.jpg', '/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_22_2566.jpg', '/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_25_2659.jpg', '/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_28_3581.jpg', '/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_35_3618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_11_3613.jpg
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_16_2633.jpg
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_22_2566.jpg
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_25_2659.jpg
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_28_3581.jpg
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_35_3618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748719","1399748713","1399748710","1399748718","1399748714","1399748717"],"photo_ids_order":["1399748710","1399748713","1399748714","1399748717","1399748718","1399748719"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf565eedf7a69026930d791839033267.jpg","text":"TemporaryFile(/tmp/multipartBody7511442881308016187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949202995,"filename":"image_07112025_17_18_35_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98fc30a71b41c6735cac7777bf8f3700.jpg","text":"TemporaryFile(/tmp/multipartBody2391830238547566482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949202995,"filename":"image_07112025_17_18_16_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da72914287b44df8a817749d6b3b2c69.jpg","text":"TemporaryFile(/tmp/multipartBody1455139767626800627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949202995,"filename":"image_07112025_17_18_11_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/981c4e03edd20903da8c3b1d7dc41862.jpg","text":"TemporaryFile(/tmp/multipartBody7101486639525122623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949202995,"filename":"image_07112025_17_18_28_3581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d18f90f0fd5192e57667cac70276768.jpg","text":"TemporaryFile(/tmp/multipartBody104159091982275847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949202995,"filename":"image_07112025_17_18_22_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7049fbaacdffca5cc15f3123b2eb5a3.jpg","text":"TemporaryFile(/tmp/multipartBody3361495618527080796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949202995,"filename":"image_07112025_17_18_25_2659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748714","file1":"1399748713","file0":"1399748710","file4":"1399748718","file5":"1399748719","file3":"1399748717"},"map_files_photo_id_array":[{"photo_id":"1399748719","filename":"file5"},{"photo_id":"1399748714","filename":"file2"},{"photo_id":"1399748718","filename":"file4"},{"photo_id":"1399748713","filename":"file1"},{"photo_id":"1399748710","filename":"file0"},{"photo_id":"1399748717","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748719":["hashtag1","hashtag2"]},{"1399748713":["hashtag1","hashtag2"]},{"1399748710":["hashtag1","hashtag2"]},{"1399748718":["hashtag1","hashtag2"]},{"1399748714":["hashtag1","hashtag2"]},{"1399748717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748719, 1399748713, 1399748710, 1399748718, 1399748714, 1399748717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.29970359802246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:26:22.585284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_55_10705.jpg', '/home/pi/Desktop/images/17122025/06/24/image_17122025_06_25_05_9725.jpg', '/home/pi/Desktop/images/17122025/06/25/image_17122025_06_25_14_9677.jpg', '/home/pi/Desktop/images/17122025/06/25/image_17122025_06_25_24_9627.jpg', '/home/pi/Desktop/images/17122025/06/25/image_17122025_06_25_44_9859.jpg', '/home/pi/Desktop/images/17122025/06/25/image_17122025_06_25_54_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/24/image_17122025_06_24_55_10705.jpg
/home/pi/Desktop/images/17122025/06/24/image_17122025_06_25_05_9725.jpg
/home/pi/Desktop/images/17122025/06/25/image_17122025_06_25_14_9677.jpg
/home/pi/Desktop/images/17122025/06/25/image_17122025_06_25_24_9627.jpg
/home/pi/Desktop/images/17122025/06/25/image_17122025_06_25_44_9859.jpg
/home/pi/Desktop/images/17122025/06/25/image_17122025_06_25_54_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":["1399748725","1399748740","1399748724","1399748727","1399748747","1399748732"],"photo_ids_order":["1399748724","1399748725","1399748727","1399748732","1399748740","1399748747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47ff2c902cd864a0386c80f328b0f930.jpg","text":"TemporaryFile(/tmp/multipartBody7621510770331048893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949243198,"filename":"image_17122025_06_25_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af4c81b8bbc9fd032445f860c45cb005.jpg","text":"TemporaryFile(/tmp/multipartBody213180526353697576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949243198,"filename":"image_17122025_06_25_44_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ccdd769c4c0c39f4f77e444005076cd4.jpg","text":"TemporaryFile(/tmp/multipartBody1898907563972762696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949243198,"filename":"image_17122025_06_24_55_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53a52d04a8a32cf75fd012a10ef187c7.jpg","text":"TemporaryFile(/tmp/multipartBody117001986403503775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949243198,"filename":"image_17122025_06_25_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c55b24d3464a04184583f01a7be9cc3.jpg","text":"TemporaryFile(/tmp/multipartBody5263641898133650007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949243198,"filename":"image_17122025_06_25_54_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b19fe163f41fe4d885fa945bdc05e7ef.jpg","text":"TemporaryFile(/tmp/multipartBody7442081610010426658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949243198,"filename":"image_17122025_06_25_24_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748727","file1":"1399748725","file0":"1399748724","file4":"1399748740","file5":"1399748747","file3":"1399748732"},"map_files_photo_id_array":[{"photo_id":"1399748747","filename":"file5"},{"photo_id":"1399748727","filename":"file2"},{"photo_id":"1399748740","filename":"file4"},{"photo_id":"1399748725","filename":"file1"},{"photo_id":"1399748724","filename":"file0"},{"photo_id":"1399748732","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748725":["hashtag1","hashtag2"]},{"1399748740":["hashtag1","hashtag2"]},{"1399748724":["hashtag1","hashtag2"]},{"1399748727":["hashtag1","hashtag2"]},{"1399748747":["hashtag1","hashtag2"]},{"1399748732":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748725, 1399748740, 1399748724, 1399748727, 1399748747, 1399748732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.468902826309204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:27:03.471959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/25/image_17122025_06_26_05_10723.jpg', '/home/pi/Desktop/images/17122025/06/26/image_17122025_06_26_24_9626.jpg', '/home/pi/Desktop/images/17122025/06/26/image_17122025_06_26_35_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/25/image_17122025_06_26_05_10723.jpg
/home/pi/Desktop/images/17122025/06/26/image_17122025_06_26_24_9626.jpg
/home/pi/Desktop/images/17122025/06/26/image_17122025_06_26_35_10568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748752","1399748754","1399748750"],"photo_ids_order":["1399748750","1399748752","1399748754"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/604568caf56495e86ac1094f54c40fc8.jpg","text":"TemporaryFile(/tmp/multipartBody4722106228942408290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949283974,"filename":"image_17122025_06_26_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/334159f237f37b104e32f21d2903a2ad.jpg","text":"TemporaryFile(/tmp/multipartBody4456914221781901214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949283974,"filename":"image_17122025_06_26_35_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/927d6b5be052f8033e3572ed25920a4c.jpg","text":"TemporaryFile(/tmp/multipartBody4473265384928249768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949283974,"filename":"image_17122025_06_26_05_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748754","file1":"1399748752","file0":"1399748750"},"map_files_photo_id_array":[{"photo_id":"1399748754","filename":"file2"},{"photo_id":"1399748752","filename":"file1"},{"photo_id":"1399748750","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748752":["hashtag1","hashtag2"]},{"1399748754":["hashtag1","hashtag2"]},{"1399748750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748752, 1399748754, 1399748750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.698609352111816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:27:32.787109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:27:42.804828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_40_2561.jpg', '/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_44_3691.jpg', '/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_46_2692.jpg', '/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_58_2570.jpg', '/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_02_3513.jpg', '/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_04_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_40_2561.jpg
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_44_3691.jpg
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_46_2692.jpg
/home/pi/Desktop/images/07112025/17/18/image_07112025_17_18_58_2570.jpg
/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_02_3513.jpg
/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_04_2624.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748764","1399748772","1399748775","1399748765","1399748762","1399748773"],"photo_ids_order":["1399748762","1399748764","1399748765","1399748772","1399748773","1399748775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59b2d3030adf2676cdae4c9ccc7d5841.jpg","text":"TemporaryFile(/tmp/multipartBody1661224317799696249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949323520,"filename":"image_07112025_17_18_44_3691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9eaad6383dc0beb6e06fc4ae3ea38c49.jpg","text":"TemporaryFile(/tmp/multipartBody4186224791470080386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949323520,"filename":"image_07112025_17_18_58_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa2a1a06b406d774a9b409a544167cf5.jpg","text":"TemporaryFile(/tmp/multipartBody7216001627893703591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949323520,"filename":"image_07112025_17_19_04_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6897002f74deeacc6a84e0f82df7a159.jpg","text":"TemporaryFile(/tmp/multipartBody1532777447663237790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949323520,"filename":"image_07112025_17_18_46_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da36eaf0eae62d7f0a6fb9d9fae7f380.jpg","text":"TemporaryFile(/tmp/multipartBody3256471890965287685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949323520,"filename":"image_07112025_17_18_40_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a09c35d92b69d47289be3823e9996b9f.jpg","text":"TemporaryFile(/tmp/multipartBody5036260230019280629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949323520,"filename":"image_07112025_17_19_02_3513.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748765","file1":"1399748764","file0":"1399748762","file4":"1399748773","file5":"1399748775","file3":"1399748772"},"map_files_photo_id_array":[{"photo_id":"1399748775","filename":"file5"},{"photo_id":"1399748765","filename":"file2"},{"photo_id":"1399748773","filename":"file4"},{"photo_id":"1399748764","filename":"file1"},{"photo_id":"1399748762","filename":"file0"},{"photo_id":"1399748772","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748764":["hashtag1","hashtag2"]},{"1399748772":["hashtag1","hashtag2"]},{"1399748775":["hashtag1","hashtag2"]},{"1399748765":["hashtag1","hashtag2"]},{"1399748762":["hashtag1","hashtag2"]},{"1399748773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748764, 1399748772, 1399748775, 1399748765, 1399748762, 1399748773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21852254867554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:28:22.050000
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/26/image_17122025_06_26_54_9720.jpg', '/home/pi/Desktop/images/17122025/06/26/image_17122025_06_27_05_10687.jpg', '/home/pi/Desktop/images/17122025/06/27/image_17122025_06_27_15_9663.jpg', '/home/pi/Desktop/images/17122025/06/27/image_17122025_06_27_24_9629.jpg', '/home/pi/Desktop/images/17122025/06/27/image_17122025_06_27_35_10674.jpg', '/home/pi/Desktop/images/17122025/06/27/image_17122025_06_27_45_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/26/image_17122025_06_26_54_9720.jpg
/home/pi/Desktop/images/17122025/06/26/image_17122025_06_27_05_10687.jpg
/home/pi/Desktop/images/17122025/06/27/image_17122025_06_27_15_9663.jpg
/home/pi/Desktop/images/17122025/06/27/image_17122025_06_27_24_9629.jpg
/home/pi/Desktop/images/17122025/06/27/image_17122025_06_27_35_10674.jpg
/home/pi/Desktop/images/17122025/06/27/image_17122025_06_27_45_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748785","1399748779","1399748790","1399748787","1399748781","1399748783"],"photo_ids_order":["1399748779","1399748781","1399748783","1399748785","1399748787","1399748790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee33f922a0d0960f6271f73e9cd2d0a0.jpg","text":"TemporaryFile(/tmp/multipartBody2203625752777588663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949362630,"filename":"image_17122025_06_27_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e219898729945bec411eef9bf9818acd.jpg","text":"TemporaryFile(/tmp/multipartBody1593758278589526629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949362630,"filename":"image_17122025_06_26_54_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3b86738e82e0fc47b5dbe21e11d15ac.jpg","text":"TemporaryFile(/tmp/multipartBody2402961112908032165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949362630,"filename":"image_17122025_06_27_45_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4633a071bd98fb68d3449bf205aad6f.jpg","text":"TemporaryFile(/tmp/multipartBody6342613625338153529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949362630,"filename":"image_17122025_06_27_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/145160a428be19f06d2839576bb0e9dd.jpg","text":"TemporaryFile(/tmp/multipartBody4165580274235236891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949362630,"filename":"image_17122025_06_27_05_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/edd7d24743ea77c7ec46f160f7bf5d61.jpg","text":"TemporaryFile(/tmp/multipartBody3681064098525395260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949362630,"filename":"image_17122025_06_27_15_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748783","file1":"1399748781","file0":"1399748779","file4":"1399748787","file5":"1399748790","file3":"1399748785"},"map_files_photo_id_array":[{"photo_id":"1399748790","filename":"file5"},{"photo_id":"1399748783","filename":"file2"},{"photo_id":"1399748787","filename":"file4"},{"photo_id":"1399748781","filename":"file1"},{"photo_id":"1399748779","filename":"file0"},{"photo_id":"1399748785","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748785":["hashtag1","hashtag2"]},{"1399748779":["hashtag1","hashtag2"]},{"1399748790":["hashtag1","hashtag2"]},{"1399748787":["hashtag1","hashtag2"]},{"1399748781":["hashtag1","hashtag2"]},{"1399748783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748785, 1399748779, 1399748790, 1399748787, 1399748781, 1399748783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.958420753479004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:29:03.261779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_15_9653.jpg', '/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_24_9700.jpg', '/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_35_10567.jpg', '/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_45_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_15_9653.jpg
/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_24_9700.jpg
/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_35_10567.jpg
/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_45_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748800","1399748802","1399748805","1399748807"],"photo_ids_order":["1399748800","1399748802","1399748805","1399748807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d78f1ac6de6ed78190b8fe507fcbb260.jpg","text":"TemporaryFile(/tmp/multipartBody4281214308219535581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949403899,"filename":"image_17122025_06_28_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff7c62a38d06c2646d3b29c93bdbf75e.jpg","text":"TemporaryFile(/tmp/multipartBody1680402340070537529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949403899,"filename":"image_17122025_06_28_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3eb1653f073c68ad18d9d6b33e7449f.jpg","text":"TemporaryFile(/tmp/multipartBody5231121685335441377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949403899,"filename":"image_17122025_06_28_35_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/536eb0676d37ca58429094a2d629b64f.jpg","text":"TemporaryFile(/tmp/multipartBody5028792242160882727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949403899,"filename":"image_17122025_06_28_45_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748805","file1":"1399748802","file0":"1399748800","file3":"1399748807"},"map_files_photo_id_array":[{"photo_id":"1399748805","filename":"file2"},{"photo_id":"1399748802","filename":"file1"},{"photo_id":"1399748800","filename":"file0"},{"photo_id":"1399748807","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748800":["hashtag1","hashtag2"]},{"1399748802":["hashtag1","hashtag2"]},{"1399748805":["hashtag1","hashtag2"]},{"1399748807":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748800, 1399748802, 1399748805, 1399748807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.370835781097412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:29:32.302403
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:29:42.273960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_11_3754.jpg', '/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_13_2798.jpg', '/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_22_2706.jpg', '/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_34_2606.jpg', '/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_47_3723.jpg', '/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_52_2684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_11_3754.jpg
/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_13_2798.jpg
/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_22_2706.jpg
/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_34_2606.jpg
/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_47_3723.jpg
/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_52_2684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748824","1399748821","1399748823","1399748822","1399748816","1399748825"],"photo_ids_order":["1399748816","1399748821","1399748822","1399748823","1399748824","1399748825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64507001760fc0db1a95caa0935b0c51.jpg","text":"TemporaryFile(/tmp/multipartBody8817936551171074310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949442978,"filename":"image_07112025_17_19_47_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12f73bacc547f0326bc6673e28bfc45c.jpg","text":"TemporaryFile(/tmp/multipartBody5704517535357955809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949442978,"filename":"image_07112025_17_19_13_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05ae3ddf3206f98c359d42d9f41474b0.jpg","text":"TemporaryFile(/tmp/multipartBody7352847368467620354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949442978,"filename":"image_07112025_17_19_34_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/070e476805584e471266ed8d594aaf36.jpg","text":"TemporaryFile(/tmp/multipartBody4485908538979327188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949442978,"filename":"image_07112025_17_19_22_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed3a4e2c016f96739efae662dc1dbdea.jpg","text":"TemporaryFile(/tmp/multipartBody3690362314668392175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949442978,"filename":"image_07112025_17_19_11_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1de9d156e89d16064a3190c91810bb2e.jpg","text":"TemporaryFile(/tmp/multipartBody874013298136633761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949442978,"filename":"image_07112025_17_19_52_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748822","file1":"1399748821","file0":"1399748816","file4":"1399748824","file5":"1399748825","file3":"1399748823"},"map_files_photo_id_array":[{"photo_id":"1399748825","filename":"file5"},{"photo_id":"1399748822","filename":"file2"},{"photo_id":"1399748824","filename":"file4"},{"photo_id":"1399748821","filename":"file1"},{"photo_id":"1399748816","filename":"file0"},{"photo_id":"1399748823","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399748824":["hashtag1","hashtag2"]},{"1399748821":["hashtag1","hashtag2"]},{"1399748823":["hashtag1","hashtag2"]},{"1399748822":["hashtag1","hashtag2"]},{"1399748816":["hashtag1","hashtag2"]},{"1399748825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399748824, 1399748821, 1399748823, 1399748822, 1399748816, 1399748825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.152260065078735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:30:22.579265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_54_9633.jpg', '/home/pi/Desktop/images/17122025/06/28/image_17122025_06_29_05_10727.jpg', '/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_15_9697.jpg', '/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_24_9735.jpg', '/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_34_9742.jpg', '/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_45_10795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/28/image_17122025_06_28_54_9633.jpg
/home/pi/Desktop/images/17122025/06/28/image_17122025_06_29_05_10727.jpg
/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_15_9697.jpg
/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_24_9735.jpg
/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_34_9742.jpg
/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_45_10795.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748851","1399748848","1399748833","1399748841","1399748829","1399748838"],"photo_ids_order":["1399748829","1399748833","1399748838","1399748841","1399748848","1399748851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d96d9332128cfce08c1fb3b6f0cbb616.jpg","text":"TemporaryFile(/tmp/multipartBody387877940135038474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949483158,"filename":"image_17122025_06_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/2025/12/17/cb45ead52356ed3945e9ef3af6981e47.jpg","text":"TemporaryFile(/tmp/multipartBody5375079060127414743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949483158,"filename":"image_17122025_06_29_34_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a213dfcdc123f8304d762e0c0b8aa9c.jpg","text":"TemporaryFile(/tmp/multipartBody6545941418127411481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949483158,"filename":"image_17122025_06_29_05_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df2002836897f854afff540c80c7cd21.jpg","text":"TemporaryFile(/tmp/multipartBody7650354362789681603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949483158,"filename":"image_17122025_06_29_24_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8670608266cf4c9763a7efe232c88df.jpg","text":"TemporaryFile(/tmp/multipartBody3017195564210059756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949483158,"filename":"image_17122025_06_28_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cd8a2c492df7b5c84bb47f7b401da68.jpg","text":"TemporaryFile(/tmp/multipartBody6966617079589735494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949483158,"filename":"image_17122025_06_29_15_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748838","file1":"1399748833","file0":"1399748829","file4":"1399748848","file5":"1399748851","file3":"1399748841"},"map_files_photo_id_array":[{"photo_id":"1399748851","filename":"file5"},{"photo_id":"1399748838","filename":"file2"},{"photo_id":"1399748848","filename":"file4"},{"photo_id":"1399748833","filename":"file1"},{"photo_id":"1399748829","filename":"file0"},{"photo_id":"1399748841","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748851":["hashtag1","hashtag2"]},{"1399748848":["hashtag1","hashtag2"]},{"1399748833":["hashtag1","hashtag2"]},{"1399748841":["hashtag1","hashtag2"]},{"1399748829":["hashtag1","hashtag2"]},{"1399748838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748851, 1399748848, 1399748833, 1399748841, 1399748829, 1399748838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52078866958618 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:31:03.516076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_55_9609.jpg', '/home/pi/Desktop/images/17122025/06/30/image_17122025_06_30_34_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/29/image_17122025_06_29_55_9609.jpg
/home/pi/Desktop/images/17122025/06/30/image_17122025_06_30_34_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748857","1399748855"],"photo_ids_order":["1399748855","1399748857"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8838ff0ff1f544a032056dfeb9b05c0e.jpg","text":"TemporaryFile(/tmp/multipartBody3919595491921410533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949523988,"filename":"image_17122025_06_30_34_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15b487782655fb89fb380b21f3b61d42.jpg","text":"TemporaryFile(/tmp/multipartBody8815490704337641677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949523988,"filename":"image_17122025_06_29_55_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399748857","file0":"1399748855"},"map_files_photo_id_array":[{"photo_id":"1399748857","filename":"file1"},{"photo_id":"1399748855","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748857":["hashtag1","hashtag2"]},{"1399748855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748857, 1399748855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.92148232460022 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:31:22.818266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/30/image_17122025_06_30_55_9661.jpg', '/home/pi/Desktop/images/17122025/06/30/image_17122025_06_31_04_9703.jpg', '/home/pi/Desktop/images/17122025/06/31/image_17122025_06_31_14_9656.jpg', '/home/pi/Desktop/images/17122025/06/31/image_17122025_06_31_25_10639.jpg', '/home/pi/Desktop/images/17122025/06/31/image_17122025_06_31_35_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/30/image_17122025_06_30_55_9661.jpg
/home/pi/Desktop/images/17122025/06/30/image_17122025_06_31_04_9703.jpg
/home/pi/Desktop/images/17122025/06/31/image_17122025_06_31_14_9656.jpg
/home/pi/Desktop/images/17122025/06/31/image_17122025_06_31_25_10639.jpg
/home/pi/Desktop/images/17122025/06/31/image_17122025_06_31_35_9854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748866","1399748868","1399748862","1399748870","1399748864"],"photo_ids_order":["1399748862","1399748864","1399748866","1399748868","1399748870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf2651315b8f1b059e3dabab1a7881a3.jpg","text":"TemporaryFile(/tmp/multipartBody5466913501448233421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949543358,"filename":"image_17122025_06_31_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b22da5f528376fc46d9a08560aa7f0b8.jpg","text":"TemporaryFile(/tmp/multipartBody1844751093289411135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949543358,"filename":"image_17122025_06_31_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33ac23964a969d0e4b1af738ad81ff4c.jpg","text":"TemporaryFile(/tmp/multipartBody4450332382655520321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949543358,"filename":"image_17122025_06_30_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35477e451b2548b47fa6107aed459b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2150242880160627491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949543358,"filename":"image_17122025_06_31_35_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0648de8152e531ca1df674d6ebac4af8.jpg","text":"TemporaryFile(/tmp/multipartBody1595883477987043118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949543358,"filename":"image_17122025_06_31_04_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748866","file1":"1399748864","file0":"1399748862","file4":"1399748870","file3":"1399748868"},"map_files_photo_id_array":[{"photo_id":"1399748866","filename":"file2"},{"photo_id":"1399748870","filename":"file4"},{"photo_id":"1399748864","filename":"file1"},{"photo_id":"1399748862","filename":"file0"},{"photo_id":"1399748868","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748866":["hashtag1","hashtag2"]},{"1399748868":["hashtag1","hashtag2"]},{"1399748862":["hashtag1","hashtag2"]},{"1399748870":["hashtag1","hashtag2"]},{"1399748864":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748866, 1399748868, 1399748862, 1399748870, 1399748864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.085291147232056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:32:02.436253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:32:11.995709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:32:22.117580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/31/image_17122025_06_31_44_9824.jpg', '/home/pi/Desktop/images/17122025/06/32/image_17122025_06_32_15_9726.jpg', '/home/pi/Desktop/images/17122025/06/32/image_17122025_06_32_24_9615.jpg', '/home/pi/Desktop/images/17122025/06/32/image_17122025_06_32_45_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/31/image_17122025_06_31_44_9824.jpg
/home/pi/Desktop/images/17122025/06/32/image_17122025_06_32_15_9726.jpg
/home/pi/Desktop/images/17122025/06/32/image_17122025_06_32_24_9615.jpg
/home/pi/Desktop/images/17122025/06/32/image_17122025_06_32_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":["1399748892","1399748894","1399748888","1399748896"],"photo_ids_order":["1399748888","1399748892","1399748894","1399748896"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d0c054cf6036ae08c3a40613c6b8f3a.jpg","text":"TemporaryFile(/tmp/multipartBody3799340214333413716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949602674,"filename":"image_17122025_06_32_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1f6781ae9fe7049d168ae810b602732.jpg","text":"TemporaryFile(/tmp/multipartBody8342408513389529916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949602674,"filename":"image_17122025_06_32_24_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef0825afc1e2b95ac7c0f7c3cfea94d7.jpg","text":"TemporaryFile(/tmp/multipartBody2230422782228370392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949602674,"filename":"image_17122025_06_31_44_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5546429406e03a73828f3d3b1b4c951.jpg","text":"TemporaryFile(/tmp/multipartBody3705425738025769139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949602674,"filename":"image_17122025_06_32_45_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748894","file1":"1399748892","file0":"1399748888","file3":"1399748896"},"map_files_photo_id_array":[{"photo_id":"1399748894","filename":"file2"},{"photo_id":"1399748892","filename":"file1"},{"photo_id":"1399748888","filename":"file0"},{"photo_id":"1399748896","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748892":["hashtag1","hashtag2"]},{"1399748894":["hashtag1","hashtag2"]},{"1399748888":["hashtag1","hashtag2"]},{"1399748896":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748892, 1399748894, 1399748888, 1399748896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.759472131729126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:33:02.934794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:33:12.296683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:33:22.474546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/32/image_17122025_06_32_54_9678.jpg', '/home/pi/Desktop/images/17122025/06/32/image_17122025_06_33_05_10733.jpg', '/home/pi/Desktop/images/17122025/06/33/image_17122025_06_33_24_9610.jpg', '/home/pi/Desktop/images/17122025/06/33/image_17122025_06_33_35_10710.jpg', '/home/pi/Desktop/images/17122025/06/33/image_17122025_06_33_45_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/32/image_17122025_06_32_54_9678.jpg
/home/pi/Desktop/images/17122025/06/32/image_17122025_06_33_05_10733.jpg
/home/pi/Desktop/images/17122025/06/33/image_17122025_06_33_24_9610.jpg
/home/pi/Desktop/images/17122025/06/33/image_17122025_06_33_35_10710.jpg
/home/pi/Desktop/images/17122025/06/33/image_17122025_06_33_45_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":["1399748923","1399748925","1399748921","1399748915","1399748918"],"photo_ids_order":["1399748915","1399748918","1399748921","1399748923","1399748925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/097ce79ed937fc6ace776e1edf7c6894.jpg","text":"TemporaryFile(/tmp/multipartBody322134069930795782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949663049,"filename":"image_17122025_06_33_35_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/898fc7d0cf36e8a1c56b651d7d79f68f.jpg","text":"TemporaryFile(/tmp/multipartBody5921344185139913080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949663049,"filename":"image_17122025_06_33_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/117a3899c6e3d8fffc174c047dceecd8.jpg","text":"TemporaryFile(/tmp/multipartBody1120840716830043788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949663049,"filename":"image_17122025_06_33_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63eabc4ec8a6816df81919c6a6f4d225.jpg","text":"TemporaryFile(/tmp/multipartBody2453514371296977865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949663049,"filename":"image_17122025_06_32_54_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0cb06f6e012e17b52aff8b2bfed627cf.jpg","text":"TemporaryFile(/tmp/multipartBody3444987342837980586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949663049,"filename":"image_17122025_06_33_05_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748921","file1":"1399748918","file0":"1399748915","file4":"1399748925","file3":"1399748923"},"map_files_photo_id_array":[{"photo_id":"1399748921","filename":"file2"},{"photo_id":"1399748925","filename":"file4"},{"photo_id":"1399748918","filename":"file1"},{"photo_id":"1399748915","filename":"file0"},{"photo_id":"1399748923","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748923":["hashtag1","hashtag2"]},{"1399748925":["hashtag1","hashtag2"]},{"1399748921":["hashtag1","hashtag2"]},{"1399748915":["hashtag1","hashtag2"]},{"1399748918":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748923, 1399748925, 1399748921, 1399748915, 1399748918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.884390115737915 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:34:03.214544
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:34:12.516584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:34:22.614787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/33/image_17122025_06_33_54_9851.jpg', '/home/pi/Desktop/images/17122025/06/33/image_17122025_06_34_04_9759.jpg', '/home/pi/Desktop/images/17122025/06/34/image_17122025_06_34_15_10613.jpg', '/home/pi/Desktop/images/17122025/06/34/image_17122025_06_34_24_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/33/image_17122025_06_33_54_9851.jpg
/home/pi/Desktop/images/17122025/06/33/image_17122025_06_34_04_9759.jpg
/home/pi/Desktop/images/17122025/06/34/image_17122025_06_34_15_10613.jpg
/home/pi/Desktop/images/17122025/06/34/image_17122025_06_34_24_9613.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399748944","1399748952","1399748946","1399748943"],"photo_ids_order":["1399748943","1399748944","1399748946","1399748952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6f7da36929960537c3e069d699517bf.jpg","text":"TemporaryFile(/tmp/multipartBody5026183287015768187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949723149,"filename":"image_17122025_06_34_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fce85d69cf4b8e79fed1bbd9bc3796c.jpg","text":"TemporaryFile(/tmp/multipartBody6405133910908851786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949723149,"filename":"image_17122025_06_34_24_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc1cf18f14d24e70d185c226d7a4e246.jpg","text":"TemporaryFile(/tmp/multipartBody2817154726469673360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949723149,"filename":"image_17122025_06_34_15_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6c00535764b0356d78db0bd06da6359.jpg","text":"TemporaryFile(/tmp/multipartBody4774330262127182130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949723149,"filename":"image_17122025_06_33_54_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399748946","file1":"1399748944","file0":"1399748943","file3":"1399748952"},"map_files_photo_id_array":[{"photo_id":"1399748946","filename":"file2"},{"photo_id":"1399748944","filename":"file1"},{"photo_id":"1399748943","filename":"file0"},{"photo_id":"1399748952","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399748944":["hashtag1","hashtag2"]},{"1399748952":["hashtag1","hashtag2"]},{"1399748946":["hashtag1","hashtag2"]},{"1399748943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399748944, 1399748952, 1399748946, 1399748943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.331875801086426 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:35:03.299736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:35:12.853732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:35:22.798424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/34/image_17122025_06_34_34_9631.jpg', '/home/pi/Desktop/images/17122025/06/34/image_17122025_06_35_04_9656.jpg', '/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_15_10735.jpg', '/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_24_9619.jpg', '/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_34_9694.jpg', '/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_45_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/34/image_17122025_06_34_34_9631.jpg
/home/pi/Desktop/images/17122025/06/34/image_17122025_06_35_04_9656.jpg
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_15_10735.jpg
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_24_9619.jpg
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_34_9694.jpg
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_45_10652.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.48845553398132324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:35:32.813874
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:35:42.740937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_58_2590.jpg', '/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_01_2610.jpg', '/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_07_3010.jpg', '/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_11_3867.jpg', '/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_32_2637.jpg', '/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_35_2660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/19/image_07112025_17_19_58_2590.jpg
/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_01_2610.jpg
/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_07_3010.jpg
/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_11_3867.jpg
/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_32_2637.jpg
/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_35_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":["1399749004","1399749007","1399749003","1399749006","1399749005","1399748995"],"photo_ids_order":["1399748995","1399749003","1399749004","1399749005","1399749006","1399749007"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b344cdd2d483963ccab5427c5d98cda8.jpg","text":"TemporaryFile(/tmp/multipartBody4461390553924651582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949803441,"filename":"image_07112025_17_20_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa236d1b0914f6fc2389783be76becf4.jpg","text":"TemporaryFile(/tmp/multipartBody8382522930121852473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949803441,"filename":"image_07112025_17_20_35_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87fb7bbee42bdd11a471f1a321e0f328.jpg","text":"TemporaryFile(/tmp/multipartBody742535534500042496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949803441,"filename":"image_07112025_17_20_01_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a0877c0ab9d025398dc30eba8e92001.jpg","text":"TemporaryFile(/tmp/multipartBody5652087673360723989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949803441,"filename":"image_07112025_17_20_32_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/821797aceeee3283e43e8f4bffc79192.jpg","text":"TemporaryFile(/tmp/multipartBody1766631321769742822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949803441,"filename":"image_07112025_17_20_11_3867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed66c9f183799afb657462471753d03a.jpg","text":"TemporaryFile(/tmp/multipartBody6755668226536971963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949803441,"filename":"image_07112025_17_19_58_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749004","file1":"1399749003","file0":"1399748995","file4":"1399749006","file5":"1399749007","file3":"1399749005"},"map_files_photo_id_array":[{"photo_id":"1399749007","filename":"file5"},{"photo_id":"1399749004","filename":"file2"},{"photo_id":"1399749006","filename":"file4"},{"photo_id":"1399749003","filename":"file1"},{"photo_id":"1399748995","filename":"file0"},{"photo_id":"1399749005","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749004":["hashtag1","hashtag2"]},{"1399749007":["hashtag1","hashtag2"]},{"1399749003":["hashtag1","hashtag2"]},{"1399749006":["hashtag1","hashtag2"]},{"1399749005":["hashtag1","hashtag2"]},{"1399748995":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749004, 1399749007, 1399749003, 1399749006, 1399749005, 1399748995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99530601501465 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:36:22.038946
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/34/image_17122025_06_34_34_9631.jpg', '/home/pi/Desktop/images/17122025/06/34/image_17122025_06_35_04_9656.jpg', '/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_15_10735.jpg', '/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_24_9619.jpg', '/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_34_9694.jpg', '/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_45_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/34/image_17122025_06_34_34_9631.jpg
/home/pi/Desktop/images/17122025/06/34/image_17122025_06_35_04_9656.jpg
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_15_10735.jpg
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_24_9619.jpg
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_34_9694.jpg
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_45_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749019","1399749010","1399749012","1399749008","1399749017","1399749022"],"photo_ids_order":["1399749008","1399749010","1399749012","1399749017","1399749019","1399749022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00e041ba39c7d80a3d22112c7150e232.jpg","text":"TemporaryFile(/tmp/multipartBody5578447297769393122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949842649,"filename":"image_17122025_06_35_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b417c618d0c546b13786aeed46ce4c7a.jpg","text":"TemporaryFile(/tmp/multipartBody3979058095104480247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949842649,"filename":"image_17122025_06_35_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df3173e6fa7d291d02fb4141723e2af2.jpg","text":"TemporaryFile(/tmp/multipartBody4667822438074823817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949842649,"filename":"image_17122025_06_35_15_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a06243e184a3b0c96971961dfa07b01.jpg","text":"TemporaryFile(/tmp/multipartBody8411751407920275159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949842649,"filename":"image_17122025_06_34_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42b7e7301593d53dcfd61478eb75584c.jpg","text":"TemporaryFile(/tmp/multipartBody2785115780240579871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949842649,"filename":"image_17122025_06_35_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03b722ffca5108f7dcf2c64aa26a34ba.jpg","text":"TemporaryFile(/tmp/multipartBody7301472833341588759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949842649,"filename":"image_17122025_06_35_45_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749012","file1":"1399749010","file0":"1399749008","file4":"1399749019","file5":"1399749022","file3":"1399749017"},"map_files_photo_id_array":[{"photo_id":"1399749022","filename":"file5"},{"photo_id":"1399749012","filename":"file2"},{"photo_id":"1399749019","filename":"file4"},{"photo_id":"1399749010","filename":"file1"},{"photo_id":"1399749008","filename":"file0"},{"photo_id":"1399749017","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749019":["hashtag1","hashtag2"]},{"1399749010":["hashtag1","hashtag2"]},{"1399749012":["hashtag1","hashtag2"]},{"1399749008":["hashtag1","hashtag2"]},{"1399749017":["hashtag1","hashtag2"]},{"1399749022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749019, 1399749010, 1399749012, 1399749008, 1399749017, 1399749022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85911750793457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:37:02.985818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_54_9686.jpg', '/home/pi/Desktop/images/17122025/06/35/image_17122025_06_36_04_9702.jpg', '/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_15_10784.jpg', '/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_25_9613.jpg', '/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_34_9760.jpg', '/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_44_9773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_35_54_9686.jpg
/home/pi/Desktop/images/17122025/06/35/image_17122025_06_36_04_9702.jpg
/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_15_10784.jpg
/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_25_9613.jpg
/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_34_9760.jpg
/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_44_9773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749036","1399749038","1399749032","1399749035","1399749040","1399749037"],"photo_ids_order":["1399749032","1399749035","1399749036","1399749037","1399749038","1399749040"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44a867d3af04f63facf3d3c296fb0ee4.jpg","text":"TemporaryFile(/tmp/multipartBody5832967254699997465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949883618,"filename":"image_17122025_06_36_15_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6c62e7d0794f1271439ca569ff947d2.jpg","text":"TemporaryFile(/tmp/multipartBody8802986608960383501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949883618,"filename":"image_17122025_06_36_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7600c5c273116dea0ef69afc700d94fc.jpg","text":"TemporaryFile(/tmp/multipartBody7588805253688926881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949883618,"filename":"image_17122025_06_35_54_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e56ea509869bd2b0ecd3c6c4191553fb.jpg","text":"TemporaryFile(/tmp/multipartBody1698709055650582902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949883618,"filename":"image_17122025_06_36_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ccb1c79680ab9a6df81c2609e257d12.jpg","text":"TemporaryFile(/tmp/multipartBody7185092879675871210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949883618,"filename":"image_17122025_06_36_44_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c3bd50540803dc5bea806005382ffd5.jpg","text":"TemporaryFile(/tmp/multipartBody7149880257918285850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949883618,"filename":"image_17122025_06_36_25_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749036","file1":"1399749035","file0":"1399749032","file4":"1399749038","file5":"1399749040","file3":"1399749037"},"map_files_photo_id_array":[{"photo_id":"1399749040","filename":"file5"},{"photo_id":"1399749036","filename":"file2"},{"photo_id":"1399749038","filename":"file4"},{"photo_id":"1399749035","filename":"file1"},{"photo_id":"1399749032","filename":"file0"},{"photo_id":"1399749037","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749036":["hashtag1","hashtag2"]},{"1399749038":["hashtag1","hashtag2"]},{"1399749032":["hashtag1","hashtag2"]},{"1399749035":["hashtag1","hashtag2"]},{"1399749040":["hashtag1","hashtag2"]},{"1399749037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749036, 1399749038, 1399749032, 1399749035, 1399749040, 1399749037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.434011459350586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:37:42.248872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_44_2632.jpg', '/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_47_3626.jpg', '/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_50_2690.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_01_2638.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_08_2748.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_10_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_44_2632.jpg
/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_47_3626.jpg
/home/pi/Desktop/images/07112025/17/20/image_07112025_17_20_50_2690.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_01_2638.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_08_2748.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_10_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749051","1399749045","1399749048","1399749050","1399749047","1399749049"],"photo_ids_order":["1399749045","1399749047","1399749048","1399749049","1399749050","1399749051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a95dd41920581bbc59bc0f43cf4fcb9e.jpg","text":"TemporaryFile(/tmp/multipartBody5924971001160644593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949923039,"filename":"image_07112025_17_21_10_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e716fe115e42821ed78c53e28d3c04b3.jpg","text":"TemporaryFile(/tmp/multipartBody7653863481340654271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949923039,"filename":"image_07112025_17_20_44_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/586b7b900badf5af2aac6c28493873bc.jpg","text":"TemporaryFile(/tmp/multipartBody4081393054428450650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949923039,"filename":"image_07112025_17_20_50_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/831edd8cbf57d70ce9ccdc5463eac211.jpg","text":"TemporaryFile(/tmp/multipartBody8815636651177767750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949923039,"filename":"image_07112025_17_21_08_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c1fa46d0a969893015d7a6324470385.jpg","text":"TemporaryFile(/tmp/multipartBody8912904979854675651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949923039,"filename":"image_07112025_17_20_47_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99948e76a022f2b567405afd1eb724be.jpg","text":"TemporaryFile(/tmp/multipartBody624904158658511261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949923039,"filename":"image_07112025_17_21_01_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749048","file1":"1399749047","file0":"1399749045","file4":"1399749050","file5":"1399749051","file3":"1399749049"},"map_files_photo_id_array":[{"photo_id":"1399749051","filename":"file5"},{"photo_id":"1399749048","filename":"file2"},{"photo_id":"1399749050","filename":"file4"},{"photo_id":"1399749047","filename":"file1"},{"photo_id":"1399749045","filename":"file0"},{"photo_id":"1399749049","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749051":["hashtag1","hashtag2"]},{"1399749045":["hashtag1","hashtag2"]},{"1399749048":["hashtag1","hashtag2"]},{"1399749050":["hashtag1","hashtag2"]},{"1399749047":["hashtag1","hashtag2"]},{"1399749049":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749051, 1399749045, 1399749048, 1399749050, 1399749047, 1399749049)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21734023094177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:38:22.497992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_55_10713.jpg', '/home/pi/Desktop/images/17122025/06/36/image_17122025_06_37_05_9750.jpg', '/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_25_10732.jpg', '/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_35_9507.jpg', '/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_44_9788.jpg', '/home/pi/Desktop/images/17122025/06/37/image_17122025_06_38_05_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_55_10713.jpg
/home/pi/Desktop/images/17122025/06/36/image_17122025_06_37_05_9750.jpg
/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_25_10732.jpg
/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_35_9507.jpg
/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_44_9788.jpg
/home/pi/Desktop/images/17122025/06/37/image_17122025_06_38_05_9810.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.4793531894683838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:38:32.533339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:38:42.473714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_14_3690.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_17_2618.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_23_3732.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_26_2885.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_32_2828.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_34_2771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_14_3690.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_17_2618.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_23_3732.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_26_2885.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_32_2828.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_34_2771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749084","1399749080","1399749068","1399749083","1399749085","1399749079"],"photo_ids_order":["1399749068","1399749079","1399749080","1399749083","1399749084","1399749085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6224ca7bf11b873f1a0ca43429533f9.jpg","text":"TemporaryFile(/tmp/multipartBody6651996156359129212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949983212,"filename":"image_07112025_17_21_32_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51491e41309373410133cdbd8510eea7.jpg","text":"TemporaryFile(/tmp/multipartBody4907226747639656850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949983212,"filename":"image_07112025_17_21_23_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/acd6eebb374cf5a82e0ddd988520aa9f.jpg","text":"TemporaryFile(/tmp/multipartBody430429948956205922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949983212,"filename":"image_07112025_17_21_14_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29e1685ff7380e8433231f85c57849e6.jpg","text":"TemporaryFile(/tmp/multipartBody7220194606619430438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949983212,"filename":"image_07112025_17_21_26_2885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/953cf677418d939e576a04ac71e996f7.jpg","text":"TemporaryFile(/tmp/multipartBody4861534373892059778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949983212,"filename":"image_07112025_17_21_34_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/138325c95e6047cf076be75a76023dea.jpg","text":"TemporaryFile(/tmp/multipartBody1844592499532063817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765949983212,"filename":"image_07112025_17_21_17_2618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749080","file1":"1399749079","file0":"1399749068","file4":"1399749084","file5":"1399749085","file3":"1399749083"},"map_files_photo_id_array":[{"photo_id":"1399749085","filename":"file5"},{"photo_id":"1399749080","filename":"file2"},{"photo_id":"1399749084","filename":"file4"},{"photo_id":"1399749079","filename":"file1"},{"photo_id":"1399749068","filename":"file0"},{"photo_id":"1399749083","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749084":["hashtag1","hashtag2"]},{"1399749080":["hashtag1","hashtag2"]},{"1399749068":["hashtag1","hashtag2"]},{"1399749083":["hashtag1","hashtag2"]},{"1399749085":["hashtag1","hashtag2"]},{"1399749079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749084, 1399749080, 1399749068, 1399749083, 1399749085, 1399749079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81967067718506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:39:22.708539
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_55_10713.jpg', '/home/pi/Desktop/images/17122025/06/36/image_17122025_06_37_05_9750.jpg', '/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_25_10732.jpg', '/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_35_9507.jpg', '/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_44_9788.jpg', '/home/pi/Desktop/images/17122025/06/37/image_17122025_06_38_05_9810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/36/image_17122025_06_36_55_10713.jpg
/home/pi/Desktop/images/17122025/06/36/image_17122025_06_37_05_9750.jpg
/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_25_10732.jpg
/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_35_9507.jpg
/home/pi/Desktop/images/17122025/06/37/image_17122025_06_37_44_9788.jpg
/home/pi/Desktop/images/17122025/06/37/image_17122025_06_38_05_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":["1399749090","1399749092","1399749089","1399749098","1399749101","1399749094"],"photo_ids_order":["1399749089","1399749090","1399749092","1399749094","1399749098","1399749101"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93d7f009a2670f0c62814cc7ae2340d2.jpg","text":"TemporaryFile(/tmp/multipartBody5638551620170343321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950023289,"filename":"image_17122025_06_37_05_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98098f2fc742baf69c600d271b06810c.jpg","text":"TemporaryFile(/tmp/multipartBody4135991650691540514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950023289,"filename":"image_17122025_06_37_25_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a028f1ea018479f3636aac897f72371.jpg","text":"TemporaryFile(/tmp/multipartBody3381269221716131179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950023289,"filename":"image_17122025_06_36_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/008e5192e9e609f072df0563df1e40c8.jpg","text":"TemporaryFile(/tmp/multipartBody6068207857309524777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950023289,"filename":"image_17122025_06_37_44_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a0119377c168a2f5e1c26e88471f097.jpg","text":"TemporaryFile(/tmp/multipartBody8181281633079801579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950023289,"filename":"image_17122025_06_38_05_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78397051df146a3c299b44b548f38ed5.jpg","text":"TemporaryFile(/tmp/multipartBody4405105565696434140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950023289,"filename":"image_17122025_06_37_35_9507.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749092","file1":"1399749090","file0":"1399749089","file4":"1399749098","file5":"1399749101","file3":"1399749094"},"map_files_photo_id_array":[{"photo_id":"1399749101","filename":"file5"},{"photo_id":"1399749092","filename":"file2"},{"photo_id":"1399749098","filename":"file4"},{"photo_id":"1399749090","filename":"file1"},{"photo_id":"1399749089","filename":"file0"},{"photo_id":"1399749094","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749090":["hashtag1","hashtag2"]},{"1399749092":["hashtag1","hashtag2"]},{"1399749089":["hashtag1","hashtag2"]},{"1399749098":["hashtag1","hashtag2"]},{"1399749101":["hashtag1","hashtag2"]},{"1399749094":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749090, 1399749092, 1399749089, 1399749098, 1399749101, 1399749094)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.665151834487915 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 10 --only_old 1
2025-12-17 06:40:11.971810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:40:21.986231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_14_9575.jpg', '/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_25_10680.jpg', '/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_35_9647.jpg', '/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_44_9585.jpg', '/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_55_10615.jpg', '/home/pi/Desktop/images/17122025/06/38/image_17122025_06_39_04_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_14_9575.jpg
/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_25_10680.jpg
/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_35_9647.jpg
/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_44_9585.jpg
/home/pi/Desktop/images/17122025/06/38/image_17122025_06_38_55_10615.jpg
/home/pi/Desktop/images/17122025/06/38/image_17122025_06_39_04_9564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749112","1399749120","1399749114","1399749123","1399749117","1399749110"],"photo_ids_order":["1399749110","1399749112","1399749114","1399749117","1399749120","1399749123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bd1a3d84a3ff845227856f4cf23e5e3.jpg","text":"TemporaryFile(/tmp/multipartBody1539577691454229712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950082565,"filename":"image_17122025_06_38_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92e1f7a84356efc3fa8cb542f59f4018.jpg","text":"TemporaryFile(/tmp/multipartBody1318613879699452078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950082565,"filename":"image_17122025_06_38_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/936baca0a95aab7a0474fcb5f7e22d29.jpg","text":"TemporaryFile(/tmp/multipartBody5165894353790818359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950082565,"filename":"image_17122025_06_38_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be8c666848d2f35b8be6a14446c5eee9.jpg","text":"TemporaryFile(/tmp/multipartBody4105725651781195407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950082565,"filename":"image_17122025_06_39_04_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3084a3a902eaece3f0e8c65cdfe88cab.jpg","text":"TemporaryFile(/tmp/multipartBody684636275306053267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950082565,"filename":"image_17122025_06_38_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/646ca9d4ecff275c48598199b8a96918.jpg","text":"TemporaryFile(/tmp/multipartBody2650227863901002062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950082565,"filename":"image_17122025_06_38_14_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749114","file1":"1399749112","file0":"1399749110","file4":"1399749120","file5":"1399749123","file3":"1399749117"},"map_files_photo_id_array":[{"photo_id":"1399749123","filename":"file5"},{"photo_id":"1399749114","filename":"file2"},{"photo_id":"1399749120","filename":"file4"},{"photo_id":"1399749112","filename":"file1"},{"photo_id":"1399749110","filename":"file0"},{"photo_id":"1399749117","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749112":["hashtag1","hashtag2"]},{"1399749120":["hashtag1","hashtag2"]},{"1399749114":["hashtag1","hashtag2"]},{"1399749123":["hashtag1","hashtag2"]},{"1399749117":["hashtag1","hashtag2"]},{"1399749110":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749112, 1399749120, 1399749114, 1399749123, 1399749117, 1399749110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23258924484253 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:41:02.913532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/39/image_17122025_06_39_15_10734.jpg', '/home/pi/Desktop/images/17122025/06/39/image_17122025_06_39_25_9698.jpg', '/home/pi/Desktop/images/17122025/06/39/image_17122025_06_39_34_9694.jpg', '/home/pi/Desktop/images/17122025/06/39/image_17122025_06_39_44_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/39/image_17122025_06_39_15_10734.jpg
/home/pi/Desktop/images/17122025/06/39/image_17122025_06_39_25_9698.jpg
/home/pi/Desktop/images/17122025/06/39/image_17122025_06_39_34_9694.jpg
/home/pi/Desktop/images/17122025/06/39/image_17122025_06_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":["1399749130","1399749132","1399749126","1399749128"],"photo_ids_order":["1399749126","1399749128","1399749130","1399749132"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0930ba781c94b01e5a88fddf6ba73a6.jpg","text":"TemporaryFile(/tmp/multipartBody6431288026124237838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950123483,"filename":"image_17122025_06_39_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14e895a31c9fb17b1248ca46f8c5efdf.jpg","text":"TemporaryFile(/tmp/multipartBody7782681472962176119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950123483,"filename":"image_17122025_06_39_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bb8907c95d1c034e50534f8ad3eaa86.jpg","text":"TemporaryFile(/tmp/multipartBody5394301971353120502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950123483,"filename":"image_17122025_06_39_15_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f81a96f656a9f67dba75c778a57aeef0.jpg","text":"TemporaryFile(/tmp/multipartBody1457496296841091463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950123483,"filename":"image_17122025_06_39_25_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749130","file1":"1399749128","file0":"1399749126","file3":"1399749132"},"map_files_photo_id_array":[{"photo_id":"1399749130","filename":"file2"},{"photo_id":"1399749128","filename":"file1"},{"photo_id":"1399749126","filename":"file0"},{"photo_id":"1399749132","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749130":["hashtag1","hashtag2"]},{"1399749132":["hashtag1","hashtag2"]},{"1399749126":["hashtag1","hashtag2"]},{"1399749128":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749130, 1399749132, 1399749126, 1399749128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.60147452354431 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:41:32.228700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:41:42.237825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_38_3550.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_41_2677.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_47_2665.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_50_2588.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_53_3653.jpg', '/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_59_2768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_38_3550.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_41_2677.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_47_2665.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_50_2588.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_53_3653.jpg
/home/pi/Desktop/images/07112025/17/21/image_07112025_17_21_59_2768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749150","1399749147","1399749141","1399749149","1399749146","1399749148"],"photo_ids_order":["1399749141","1399749146","1399749147","1399749148","1399749149","1399749150"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1566e48f71953d9d2ef704e2214d6316.jpg","text":"TemporaryFile(/tmp/multipartBody2317473882069460565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950162972,"filename":"image_07112025_17_21_59_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7227390a55379eeac8c5c1d10f8d971.jpg","text":"TemporaryFile(/tmp/multipartBody128519357380349446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950162972,"filename":"image_07112025_17_21_47_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8c3f862bb36f413015b004c897cc87c.jpg","text":"TemporaryFile(/tmp/multipartBody1639852465346328879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950162972,"filename":"image_07112025_17_21_38_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f7466f3495341dfa010be982f4662d0.jpg","text":"TemporaryFile(/tmp/multipartBody4777744840839107130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950162972,"filename":"image_07112025_17_21_53_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc03cd8293bcb4aaa35ba34eef6587e0.jpg","text":"TemporaryFile(/tmp/multipartBody859609934708326091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950162972,"filename":"image_07112025_17_21_41_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa5efaedfc0b5e85d58c934379a3e7c8.jpg","text":"TemporaryFile(/tmp/multipartBody7230108521864226574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950162972,"filename":"image_07112025_17_21_50_2588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749147","file1":"1399749146","file0":"1399749141","file4":"1399749149","file5":"1399749150","file3":"1399749148"},"map_files_photo_id_array":[{"photo_id":"1399749150","filename":"file5"},{"photo_id":"1399749147","filename":"file2"},{"photo_id":"1399749149","filename":"file4"},{"photo_id":"1399749146","filename":"file1"},{"photo_id":"1399749141","filename":"file0"},{"photo_id":"1399749148","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749150":["hashtag1","hashtag2"]},{"1399749147":["hashtag1","hashtag2"]},{"1399749141":["hashtag1","hashtag2"]},{"1399749149":["hashtag1","hashtag2"]},{"1399749146":["hashtag1","hashtag2"]},{"1399749148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749150, 1399749147, 1399749141, 1399749149, 1399749146, 1399749148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31224966049194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:42:22.504029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/39/image_17122025_06_39_55_10585.jpg', '/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_14_9687.jpg', '/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_25_10725.jpg', '/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_35_9824.jpg', '/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_44_9730.jpg', '/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/39/image_17122025_06_39_55_10585.jpg
/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_14_9687.jpg
/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_25_10725.jpg
/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_35_9824.jpg
/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_44_9730.jpg
/home/pi/Desktop/images/17122025/06/41/image_17122025_06_41_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":["1399749162","1399749159","1399749168","1399749155","1399749164","1399749157"],"photo_ids_order":["1399749155","1399749157","1399749159","1399749162","1399749164","1399749168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0b68259164c595efe13bf1a32b8c292.jpg","text":"TemporaryFile(/tmp/multipartBody7547513353463864209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950203080,"filename":"image_17122025_06_41_35_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f142799da81f62a54e271a232d2f070.jpg","text":"TemporaryFile(/tmp/multipartBody7203895640574236700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950203080,"filename":"image_17122025_06_41_25_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e03d6fc84c906d11e9cb2f0dc80e2190.jpg","text":"TemporaryFile(/tmp/multipartBody7873173491726545985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950203080,"filename":"image_17122025_06_41_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9ba9bbe8a9a521c494c08edc3345f7a.jpg","text":"TemporaryFile(/tmp/multipartBody6864615247959702415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950203080,"filename":"image_17122025_06_39_55_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/296b852b1e7ddc55c49b3e046945a633.jpg","text":"TemporaryFile(/tmp/multipartBody1033228403506126796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950203080,"filename":"image_17122025_06_41_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b1fc43020114e87c88eece4f5db7b45.jpg","text":"TemporaryFile(/tmp/multipartBody9003781320412737211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950203080,"filename":"image_17122025_06_41_14_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749159","file1":"1399749157","file0":"1399749155","file4":"1399749164","file5":"1399749168","file3":"1399749162"},"map_files_photo_id_array":[{"photo_id":"1399749168","filename":"file5"},{"photo_id":"1399749159","filename":"file2"},{"photo_id":"1399749164","filename":"file4"},{"photo_id":"1399749157","filename":"file1"},{"photo_id":"1399749155","filename":"file0"},{"photo_id":"1399749162","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749162":["hashtag1","hashtag2"]},{"1399749159":["hashtag1","hashtag2"]},{"1399749168":["hashtag1","hashtag2"]},{"1399749155":["hashtag1","hashtag2"]},{"1399749164":["hashtag1","hashtag2"]},{"1399749157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749162, 1399749159, 1399749168, 1399749155, 1399749164, 1399749157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35819053649902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:43:02.582021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/41/image_17122025_06_42_05_9749.jpg', '/home/pi/Desktop/images/17122025/06/42/image_17122025_06_42_24_9857.jpg', '/home/pi/Desktop/images/17122025/06/42/image_17122025_06_42_35_10531.jpg', '/home/pi/Desktop/images/17122025/06/42/image_17122025_06_42_45_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/41/image_17122025_06_42_05_9749.jpg
/home/pi/Desktop/images/17122025/06/42/image_17122025_06_42_24_9857.jpg
/home/pi/Desktop/images/17122025/06/42/image_17122025_06_42_35_10531.jpg
/home/pi/Desktop/images/17122025/06/42/image_17122025_06_42_45_9774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749185","1399749182","1399749179","1399749184"],"photo_ids_order":["1399749179","1399749182","1399749184","1399749185"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd1ea0901df527348bbe15c027a3262b.jpg","text":"TemporaryFile(/tmp/multipartBody2601772932110861539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950243154,"filename":"image_17122025_06_42_45_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b07eb34fa730697a11cd73481e862d5.jpg","text":"TemporaryFile(/tmp/multipartBody524158571037471024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950243154,"filename":"image_17122025_06_42_24_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1ddd4be27bf0b91dc81dd20b05ec3eb.jpg","text":"TemporaryFile(/tmp/multipartBody8838468488765460470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950243154,"filename":"image_17122025_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/2025/12/17/1b13720005f73babff3841da6e341c14.jpg","text":"TemporaryFile(/tmp/multipartBody2027187004955472039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950243154,"filename":"image_17122025_06_42_35_10531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749184","file1":"1399749182","file0":"1399749179","file3":"1399749185"},"map_files_photo_id_array":[{"photo_id":"1399749184","filename":"file2"},{"photo_id":"1399749182","filename":"file1"},{"photo_id":"1399749179","filename":"file0"},{"photo_id":"1399749185","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749185":["hashtag1","hashtag2"]},{"1399749182":["hashtag1","hashtag2"]},{"1399749179":["hashtag1","hashtag2"]},{"1399749184":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749185, 1399749182, 1399749179, 1399749184)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.626277923583984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:43:31.866349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:43:41.756326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_02_3574.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_05_2766.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_08_2800.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_11_3004.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_20_2679.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_23_3570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_02_3574.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_05_2766.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_08_2800.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_11_3004.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_20_2679.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_23_3570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749195","1399749191","1399749194","1399749197","1399749196","1399749193"],"photo_ids_order":["1399749191","1399749193","1399749194","1399749195","1399749196","1399749197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9bd583ad6135f9a3feec9b1d9d1f0f3.jpg","text":"TemporaryFile(/tmp/multipartBody8967647897694923989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950282449,"filename":"image_07112025_17_22_11_3004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f621335dffef54da524ecf57ed2422dd.jpg","text":"TemporaryFile(/tmp/multipartBody2866273192533238179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950282449,"filename":"image_07112025_17_22_02_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47f975cd6c613d1cfd7c840b4e80ea48.jpg","text":"TemporaryFile(/tmp/multipartBody1761028976391317645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950282449,"filename":"image_07112025_17_22_08_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbdc62c922102536993e7826b1b740a7.jpg","text":"TemporaryFile(/tmp/multipartBody9018085352155480626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950282449,"filename":"image_07112025_17_22_23_3570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6206204cf357f77eab8d4c2d68dff9de.jpg","text":"TemporaryFile(/tmp/multipartBody8419986310528502435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950282449,"filename":"image_07112025_17_22_20_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8694c05e8d28ee8567d6dfebfdb3d75f.jpg","text":"TemporaryFile(/tmp/multipartBody7495637464385675080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950282449,"filename":"image_07112025_17_22_05_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749194","file1":"1399749193","file0":"1399749191","file4":"1399749196","file5":"1399749197","file3":"1399749195"},"map_files_photo_id_array":[{"photo_id":"1399749197","filename":"file5"},{"photo_id":"1399749194","filename":"file2"},{"photo_id":"1399749196","filename":"file4"},{"photo_id":"1399749193","filename":"file1"},{"photo_id":"1399749191","filename":"file0"},{"photo_id":"1399749195","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749195":["hashtag1","hashtag2"]},{"1399749191":["hashtag1","hashtag2"]},{"1399749194":["hashtag1","hashtag2"]},{"1399749197":["hashtag1","hashtag2"]},{"1399749196":["hashtag1","hashtag2"]},{"1399749193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749195, 1399749191, 1399749194, 1399749197, 1399749196, 1399749193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.782310009002686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:44:22.101470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/42/image_17122025_06_42_54_9705.jpg', '/home/pi/Desktop/images/17122025/06/42/image_17122025_06_43_04_9884.jpg', '/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_15_10554.jpg', '/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_24_9528.jpg', '/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_35_10744.jpg', '/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_45_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/42/image_17122025_06_42_54_9705.jpg
/home/pi/Desktop/images/17122025/06/42/image_17122025_06_43_04_9884.jpg
/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_15_10554.jpg
/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_24_9528.jpg
/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_35_10744.jpg
/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_45_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":["1399749226","1399749208","1399749219","1399749213","1399749221","1399749203"],"photo_ids_order":["1399749203","1399749208","1399749213","1399749219","1399749221","1399749226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d835bb689013052d4742653b8407389.jpg","text":"TemporaryFile(/tmp/multipartBody5372596846589032480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950322688,"filename":"image_17122025_06_43_45_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3af618002af7f6e6edba523f3be96b7.jpg","text":"TemporaryFile(/tmp/multipartBody8985654965832686673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950322688,"filename":"image_17122025_06_43_04_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07e48c08b3f38d3d7fab2044a74683d8.jpg","text":"TemporaryFile(/tmp/multipartBody4059916013775363506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950322688,"filename":"image_17122025_06_43_24_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9f9096542bbbe0446860088db3be175.jpg","text":"TemporaryFile(/tmp/multipartBody3418911186634228978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950322688,"filename":"image_17122025_06_43_15_10554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/927aec7388ff41090624a69418e4fdbf.jpg","text":"TemporaryFile(/tmp/multipartBody2344044249059114228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950322688,"filename":"image_17122025_06_43_35_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49b89cf239371c2ffdde6267c0fe3a3b.jpg","text":"TemporaryFile(/tmp/multipartBody1244719416963459301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950322688,"filename":"image_17122025_06_42_54_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749213","file1":"1399749208","file0":"1399749203","file4":"1399749221","file5":"1399749226","file3":"1399749219"},"map_files_photo_id_array":[{"photo_id":"1399749226","filename":"file5"},{"photo_id":"1399749213","filename":"file2"},{"photo_id":"1399749221","filename":"file4"},{"photo_id":"1399749208","filename":"file1"},{"photo_id":"1399749203","filename":"file0"},{"photo_id":"1399749219","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749226":["hashtag1","hashtag2"]},{"1399749208":["hashtag1","hashtag2"]},{"1399749219":["hashtag1","hashtag2"]},{"1399749213":["hashtag1","hashtag2"]},{"1399749221":["hashtag1","hashtag2"]},{"1399749203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749226, 1399749208, 1399749219, 1399749213, 1399749221, 1399749203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48586630821228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:45:02.948328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_55_9804.jpg', '/home/pi/Desktop/images/17122025/06/43/image_17122025_06_44_04_9742.jpg', '/home/pi/Desktop/images/17122025/06/44/image_17122025_06_44_14_9653.jpg', '/home/pi/Desktop/images/17122025/06/44/image_17122025_06_44_25_10706.jpg', '/home/pi/Desktop/images/17122025/06/44/image_17122025_06_44_34_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/43/image_17122025_06_43_55_9804.jpg
/home/pi/Desktop/images/17122025/06/43/image_17122025_06_44_04_9742.jpg
/home/pi/Desktop/images/17122025/06/44/image_17122025_06_44_14_9653.jpg
/home/pi/Desktop/images/17122025/06/44/image_17122025_06_44_25_10706.jpg
/home/pi/Desktop/images/17122025/06/44/image_17122025_06_44_34_9615.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749237","1399749230","1399749233","1399749235","1399749229"],"photo_ids_order":["1399749229","1399749230","1399749233","1399749235","1399749237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a91e0ec7c7b1ec918589f62b8b18d4a1.jpg","text":"TemporaryFile(/tmp/multipartBody7368323428057181617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950363545,"filename":"image_17122025_06_44_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ff1792965c7599706d2fb38bfb9f7cd.jpg","text":"TemporaryFile(/tmp/multipartBody3443763145823644205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950363545,"filename":"image_17122025_06_44_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d268a1ecb014826882634cc1a507f9d9.jpg","text":"TemporaryFile(/tmp/multipartBody4793129104606720285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950363545,"filename":"image_17122025_06_44_14_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3609a655337f2f8c1ed8af1d451b69f.jpg","text":"TemporaryFile(/tmp/multipartBody1870322193995759644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950363545,"filename":"image_17122025_06_44_25_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6de3673847d5baf39c2dd3144b74b841.jpg","text":"TemporaryFile(/tmp/multipartBody718523029022406860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950363545,"filename":"image_17122025_06_43_55_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749233","file1":"1399749230","file0":"1399749229","file4":"1399749237","file3":"1399749235"},"map_files_photo_id_array":[{"photo_id":"1399749233","filename":"file2"},{"photo_id":"1399749237","filename":"file4"},{"photo_id":"1399749230","filename":"file1"},{"photo_id":"1399749229","filename":"file0"},{"photo_id":"1399749235","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749237":["hashtag1","hashtag2"]},{"1399749230":["hashtag1","hashtag2"]},{"1399749233":["hashtag1","hashtag2"]},{"1399749235":["hashtag1","hashtag2"]},{"1399749229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749237, 1399749230, 1399749233, 1399749235, 1399749229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.988127946853638 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:45:42.261335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_32_3677.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_38_2706.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_40_2761.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_47_2725.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_50_2722.jpg', '/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_53_3634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_32_3677.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_38_2706.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_40_2761.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_47_2725.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_50_2722.jpg
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_53_3634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749252","1399749249","1399749248","1399749251","1399749245","1399749250"],"photo_ids_order":["1399749245","1399749248","1399749249","1399749250","1399749251","1399749252"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3cfb212f8012f1c88c83163915de5c1.jpg","text":"TemporaryFile(/tmp/multipartBody5537972100581150883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950402962,"filename":"image_07112025_17_22_53_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75c6f5c00f6a9f444f6c98b62ca16199.jpg","text":"TemporaryFile(/tmp/multipartBody764345779751848992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950402962,"filename":"image_07112025_17_22_40_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a32bb736e1e718293c4d815a8f194000.jpg","text":"TemporaryFile(/tmp/multipartBody3760048737160433538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950402962,"filename":"image_07112025_17_22_38_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1564bbadf8b20c997bdf616c63824fd1.jpg","text":"TemporaryFile(/tmp/multipartBody712621443587924206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950402962,"filename":"image_07112025_17_22_50_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48f70458e5ff4587262469f6413c2896.jpg","text":"TemporaryFile(/tmp/multipartBody594819644709545475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950402962,"filename":"image_07112025_17_22_32_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08c31f592183a8c1f2b6dcb2c9cfb3ce.jpg","text":"TemporaryFile(/tmp/multipartBody4545756618976727877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950402962,"filename":"image_07112025_17_22_47_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749249","file1":"1399749248","file0":"1399749245","file4":"1399749251","file5":"1399749252","file3":"1399749250"},"map_files_photo_id_array":[{"photo_id":"1399749252","filename":"file5"},{"photo_id":"1399749249","filename":"file2"},{"photo_id":"1399749251","filename":"file4"},{"photo_id":"1399749248","filename":"file1"},{"photo_id":"1399749245","filename":"file0"},{"photo_id":"1399749250","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749252":["hashtag1","hashtag2"]},{"1399749249":["hashtag1","hashtag2"]},{"1399749248":["hashtag1","hashtag2"]},{"1399749251":["hashtag1","hashtag2"]},{"1399749245":["hashtag1","hashtag2"]},{"1399749250":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749252, 1399749249, 1399749248, 1399749251, 1399749245, 1399749250)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.566672563552856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:46:22.624049
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/44/image_17122025_06_44_55_10628.jpg', '/home/pi/Desktop/images/17122025/06/44/image_17122025_06_45_04_9739.jpg', '/home/pi/Desktop/images/17122025/06/45/image_17122025_06_45_15_10604.jpg', '/home/pi/Desktop/images/17122025/06/45/image_17122025_06_45_25_9609.jpg', '/home/pi/Desktop/images/17122025/06/45/image_17122025_06_45_45_10629.jpg', '/home/pi/Desktop/images/17122025/06/45/image_17122025_06_45_55_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/44/image_17122025_06_44_55_10628.jpg
/home/pi/Desktop/images/17122025/06/44/image_17122025_06_45_04_9739.jpg
/home/pi/Desktop/images/17122025/06/45/image_17122025_06_45_15_10604.jpg
/home/pi/Desktop/images/17122025/06/45/image_17122025_06_45_25_9609.jpg
/home/pi/Desktop/images/17122025/06/45/image_17122025_06_45_45_10629.jpg
/home/pi/Desktop/images/17122025/06/45/image_17122025_06_45_55_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":["1399749264","1399749272","1399749275","1399749263","1399749259","1399749268"],"photo_ids_order":["1399749259","1399749263","1399749264","1399749268","1399749272","1399749275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa1ecd8927a63b896540a93e9d5c76db.jpg","text":"TemporaryFile(/tmp/multipartBody6461861632111046459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950443263,"filename":"image_17122025_06_45_15_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25f8fa43895062108371ce2650fc98e7.jpg","text":"TemporaryFile(/tmp/multipartBody6337863881400834027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950443263,"filename":"image_17122025_06_45_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32546bfd565e17153bfbe1b7f567e7c6.jpg","text":"TemporaryFile(/tmp/multipartBody563112034306551972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950443263,"filename":"image_17122025_06_45_55_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da32d0300a600e15dc52ef1bf55f1ca0.jpg","text":"TemporaryFile(/tmp/multipartBody9218081712564838072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950443263,"filename":"image_17122025_06_45_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24b5f5401af65d75758df646595c8bc8.jpg","text":"TemporaryFile(/tmp/multipartBody3997393853794318477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950443263,"filename":"image_17122025_06_44_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e28311940a9fcb075a28d89debc57b3.jpg","text":"TemporaryFile(/tmp/multipartBody671401738590607332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950443263,"filename":"image_17122025_06_45_25_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749264","file1":"1399749263","file0":"1399749259","file4":"1399749272","file5":"1399749275","file3":"1399749268"},"map_files_photo_id_array":[{"photo_id":"1399749275","filename":"file5"},{"photo_id":"1399749264","filename":"file2"},{"photo_id":"1399749272","filename":"file4"},{"photo_id":"1399749263","filename":"file1"},{"photo_id":"1399749259","filename":"file0"},{"photo_id":"1399749268","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749264":["hashtag1","hashtag2"]},{"1399749272":["hashtag1","hashtag2"]},{"1399749275":["hashtag1","hashtag2"]},{"1399749263":["hashtag1","hashtag2"]},{"1399749259":["hashtag1","hashtag2"]},{"1399749268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749264, 1399749272, 1399749275, 1399749263, 1399749259, 1399749268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.166449308395386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:47:03.381481
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/46/image_17122025_06_46_15_10670.jpg', '/home/pi/Desktop/images/17122025/06/46/image_17122025_06_46_24_9543.jpg', '/home/pi/Desktop/images/17122025/06/46/image_17122025_06_46_34_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/46/image_17122025_06_46_15_10670.jpg
/home/pi/Desktop/images/17122025/06/46/image_17122025_06_46_24_9543.jpg
/home/pi/Desktop/images/17122025/06/46/image_17122025_06_46_34_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":["1399749291","1399749286","1399749280"],"photo_ids_order":["1399749280","1399749286","1399749291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80e4ab710434c99642a2c0cdc696c8d6.jpg","text":"TemporaryFile(/tmp/multipartBody7814699845768828527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950483902,"filename":"image_17122025_06_46_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28eaa839d1722ae7d43efc8eb0126dbc.jpg","text":"TemporaryFile(/tmp/multipartBody5907441970856173160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950483902,"filename":"image_17122025_06_46_24_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d58db2beb71ac4d689fffe0e5eb0249e.jpg","text":"TemporaryFile(/tmp/multipartBody9136946767549798141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950483902,"filename":"image_17122025_06_46_15_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749291","file1":"1399749286","file0":"1399749280"},"map_files_photo_id_array":[{"photo_id":"1399749291","filename":"file2"},{"photo_id":"1399749286","filename":"file1"},{"photo_id":"1399749280","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749291":["hashtag1","hashtag2"]},{"1399749286":["hashtag1","hashtag2"]},{"1399749280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749291, 1399749286, 1399749280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.6418879032135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:47:32.758534
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:47:42.718814
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_56_3026.jpg', '/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_05_2698.jpg', '/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_07_2834.jpg', '/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_22_1756.jpg', '/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_24_1682.jpg', '/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_26_1762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/22/image_07112025_17_22_56_3026.jpg
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_05_2698.jpg
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_07_2834.jpg
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_22_1756.jpg
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_24_1682.jpg
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_26_1762.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749310","1399749309","1399749303","1399749311","1399749314","1399749313"],"photo_ids_order":["1399749303","1399749309","1399749310","1399749311","1399749313","1399749314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77d808df9294c299bcf6e8ab5d85bbb9.jpg","text":"TemporaryFile(/tmp/multipartBody6779366151844792678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950523427,"filename":"image_07112025_17_24_07_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eefae9ba43d8e7f990f0e61156ea6f37.jpg","text":"TemporaryFile(/tmp/multipartBody5693636540258186097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950523427,"filename":"image_07112025_17_24_05_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4d41d301d9d3face5b6a50fce122a12.jpg","text":"TemporaryFile(/tmp/multipartBody5631930743163892632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950523427,"filename":"image_07112025_17_22_56_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/510fce4481a9a43abcb07b6b1106d5b9.jpg","text":"TemporaryFile(/tmp/multipartBody8690168346644521863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950523427,"filename":"image_07112025_17_24_22_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6937a33d1f81cc4097ae61ae1d0cb8b.jpg","text":"TemporaryFile(/tmp/multipartBody1625369666052736907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950523427,"filename":"image_07112025_17_24_26_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f11d5d73a39dc24b71de3a949633766d.jpg","text":"TemporaryFile(/tmp/multipartBody1920696776627674841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950523427,"filename":"image_07112025_17_24_24_1682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749310","file1":"1399749309","file0":"1399749303","file4":"1399749313","file5":"1399749314","file3":"1399749311"},"map_files_photo_id_array":[{"photo_id":"1399749314","filename":"file5"},{"photo_id":"1399749310","filename":"file2"},{"photo_id":"1399749313","filename":"file4"},{"photo_id":"1399749309","filename":"file1"},{"photo_id":"1399749303","filename":"file0"},{"photo_id":"1399749311","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749310":["hashtag1","hashtag2"]},{"1399749309":["hashtag1","hashtag2"]},{"1399749303":["hashtag1","hashtag2"]},{"1399749311":["hashtag1","hashtag2"]},{"1399749314":["hashtag1","hashtag2"]},{"1399749313":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749310, 1399749309, 1399749303, 1399749311, 1399749314, 1399749313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.760823488235474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:48:22.056696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/46/image_17122025_06_46_45_10784.jpg', '/home/pi/Desktop/images/17122025/06/46/image_17122025_06_47_04_9791.jpg', '/home/pi/Desktop/images/17122025/06/47/image_17122025_06_47_14_9797.jpg', '/home/pi/Desktop/images/17122025/06/47/image_17122025_06_47_35_9766.jpg', '/home/pi/Desktop/images/17122025/06/47/image_17122025_06_47_44_9802.jpg', '/home/pi/Desktop/images/17122025/06/47/image_17122025_06_47_54_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/46/image_17122025_06_46_45_10784.jpg
/home/pi/Desktop/images/17122025/06/46/image_17122025_06_47_04_9791.jpg
/home/pi/Desktop/images/17122025/06/47/image_17122025_06_47_14_9797.jpg
/home/pi/Desktop/images/17122025/06/47/image_17122025_06_47_35_9766.jpg
/home/pi/Desktop/images/17122025/06/47/image_17122025_06_47_44_9802.jpg
/home/pi/Desktop/images/17122025/06/47/image_17122025_06_47_54_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749337","1399749322","1399749325","1399749318","1399749327","1399749329"],"photo_ids_order":["1399749318","1399749322","1399749325","1399749327","1399749329","1399749337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd74f7ba0e1f311be02308d2adfe0bd8.jpg","text":"TemporaryFile(/tmp/multipartBody4764288931115477535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950562639,"filename":"image_17122025_06_47_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0b21b0a14038df9c4a09be9587fe66d.jpg","text":"TemporaryFile(/tmp/multipartBody7803768246891916919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950562639,"filename":"image_17122025_06_47_04_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0ec5bdda46cea615818014fa6138fdd.jpg","text":"TemporaryFile(/tmp/multipartBody2386654614674631483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950562639,"filename":"image_17122025_06_47_14_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03d57e90d021f9bdb42461993d0719ba.jpg","text":"TemporaryFile(/tmp/multipartBody6093024093262220606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950562639,"filename":"image_17122025_06_46_45_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/050d4a6650c4d6827eede4b683d02e1d.jpg","text":"TemporaryFile(/tmp/multipartBody1753118723115304525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950562639,"filename":"image_17122025_06_47_35_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a15aad30d98add17b19194ac6923f0e6.jpg","text":"TemporaryFile(/tmp/multipartBody2303403513161808122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950562639,"filename":"image_17122025_06_47_44_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749325","file1":"1399749322","file0":"1399749318","file4":"1399749329","file5":"1399749337","file3":"1399749327"},"map_files_photo_id_array":[{"photo_id":"1399749337","filename":"file5"},{"photo_id":"1399749325","filename":"file2"},{"photo_id":"1399749329","filename":"file4"},{"photo_id":"1399749322","filename":"file1"},{"photo_id":"1399749318","filename":"file0"},{"photo_id":"1399749327","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749337":["hashtag1","hashtag2"]},{"1399749322":["hashtag1","hashtag2"]},{"1399749325":["hashtag1","hashtag2"]},{"1399749318":["hashtag1","hashtag2"]},{"1399749327":["hashtag1","hashtag2"]},{"1399749329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749337, 1399749322, 1399749325, 1399749318, 1399749327, 1399749329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6271755695343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:49:03.199069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/47/image_17122025_06_48_05_10640.jpg', '/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_15_9720.jpg', '/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_24_9610.jpg', '/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_34_9957.jpg', '/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_45_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/47/image_17122025_06_48_05_10640.jpg
/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_15_9720.jpg
/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_24_9610.jpg
/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_34_9957.jpg
/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_45_10661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749351","1399749348","1399749353","1399749356","1399749355"],"photo_ids_order":["1399749348","1399749351","1399749353","1399749355","1399749356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e4aa292cd5b66d2d0b0a9fafb00c2dd.jpg","text":"TemporaryFile(/tmp/multipartBody7996469199926896423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950603936,"filename":"image_17122025_06_48_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/622d1c7f6de7792926949e7aa834870d.jpg","text":"TemporaryFile(/tmp/multipartBody6750199818036253278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950603936,"filename":"image_17122025_06_48_05_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c013e2e88d9836bcbf57fc10c8a909c.jpg","text":"TemporaryFile(/tmp/multipartBody3612903196734235667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950603936,"filename":"image_17122025_06_48_24_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b966553e31167f19cf839b11b6ddfab.jpg","text":"TemporaryFile(/tmp/multipartBody4671544847840098816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950603936,"filename":"image_17122025_06_48_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e798b752719baf8d630bc6d495ff36a1.jpg","text":"TemporaryFile(/tmp/multipartBody5149249271623613070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950603936,"filename":"image_17122025_06_48_34_9957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749353","file1":"1399749351","file0":"1399749348","file4":"1399749356","file3":"1399749355"},"map_files_photo_id_array":[{"photo_id":"1399749353","filename":"file2"},{"photo_id":"1399749356","filename":"file4"},{"photo_id":"1399749351","filename":"file1"},{"photo_id":"1399749348","filename":"file0"},{"photo_id":"1399749355","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749351":["hashtag1","hashtag2"]},{"1399749348":["hashtag1","hashtag2"]},{"1399749353":["hashtag1","hashtag2"]},{"1399749356":["hashtag1","hashtag2"]},{"1399749355":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749351, 1399749348, 1399749353, 1399749356, 1399749355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.633495330810547 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:49:42.314536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_28_2748.jpg', '/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_52_2674.jpg', '/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_55_2664.jpg', '/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_11_3657.jpg', '/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_19_2784.jpg', '/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_50_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_28_2748.jpg
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_52_2674.jpg
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_55_2664.jpg
/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_11_3657.jpg
/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_19_2784.jpg
/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_50_3633.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5892610549926758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:50:03.107986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_54_9674.jpg', '/home/pi/Desktop/images/17122025/06/48/image_17122025_06_49_05_10556.jpg', '/home/pi/Desktop/images/17122025/06/49/image_17122025_06_49_25_9652.jpg', '/home/pi/Desktop/images/17122025/06/49/image_17122025_06_49_34_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/48/image_17122025_06_48_54_9674.jpg
/home/pi/Desktop/images/17122025/06/48/image_17122025_06_49_05_10556.jpg
/home/pi/Desktop/images/17122025/06/49/image_17122025_06_49_25_9652.jpg
/home/pi/Desktop/images/17122025/06/49/image_17122025_06_49_34_9661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749378","1399749380","1399749374","1399749376"],"photo_ids_order":["1399749374","1399749376","1399749378","1399749380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a862b48e0451da491b3b977d8615959e.jpg","text":"TemporaryFile(/tmp/multipartBody5192727558559229138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950663665,"filename":"image_17122025_06_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/2025/12/17/3179ae14325a717f200ea4c431826d94.jpg","text":"TemporaryFile(/tmp/multipartBody3107426137963796820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950663665,"filename":"image_17122025_06_49_34_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/951f55c90a32cf3e6cedfb3858a2a912.jpg","text":"TemporaryFile(/tmp/multipartBody2998943425783059203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950663665,"filename":"image_17122025_06_48_54_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c1a4c6f2aaf5429ad109fce279a9255.jpg","text":"TemporaryFile(/tmp/multipartBody3673626133589177831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950663665,"filename":"image_17122025_06_49_05_10556.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749378","file1":"1399749376","file0":"1399749374","file3":"1399749380"},"map_files_photo_id_array":[{"photo_id":"1399749378","filename":"file2"},{"photo_id":"1399749376","filename":"file1"},{"photo_id":"1399749374","filename":"file0"},{"photo_id":"1399749380","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749378":["hashtag1","hashtag2"]},{"1399749380":["hashtag1","hashtag2"]},{"1399749374":["hashtag1","hashtag2"]},{"1399749376":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749378, 1399749380, 1399749374, 1399749376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.698562383651733 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:50:32.620833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:50:42.547410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_28_2748.jpg', '/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_52_2674.jpg', '/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_55_2664.jpg', '/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_11_3657.jpg', '/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_19_2784.jpg', '/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_50_3633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_28_2748.jpg
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_52_2674.jpg
/home/pi/Desktop/images/07112025/17/24/image_07112025_17_24_55_2664.jpg
/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_11_3657.jpg
/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_19_2784.jpg
/home/pi/Desktop/images/07112025/17/25/image_07112025_17_25_50_3633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749409","1399749399","1399749411","1399749408","1399749388","1399749407"],"photo_ids_order":["1399749388","1399749399","1399749407","1399749408","1399749409","1399749411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b24b72b92f767182a566993ba9c4259b.jpg","text":"TemporaryFile(/tmp/multipartBody8961483143505091526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950703131,"filename":"image_07112025_17_25_19_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fd31887291ca8210963404955dc38c5.jpg","text":"TemporaryFile(/tmp/multipartBody8254109768802016976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950703131,"filename":"image_07112025_17_24_52_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42f227375ae7ec427e247937ffab69e7.jpg","text":"TemporaryFile(/tmp/multipartBody6603322142578159563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950703131,"filename":"image_07112025_17_25_50_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7f3d80fbd45bcf132fd18bb5d3b1ed7.jpg","text":"TemporaryFile(/tmp/multipartBody4278519563784307809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950703131,"filename":"image_07112025_17_25_11_3657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1530d63067cf0ecbfb702732c8551f83.jpg","text":"TemporaryFile(/tmp/multipartBody9005631660436417933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950703131,"filename":"image_07112025_17_24_28_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89f3cd1dc832087110f6942f413ee91f.jpg","text":"TemporaryFile(/tmp/multipartBody9144271480529343606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950703131,"filename":"image_07112025_17_24_55_2664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749407","file1":"1399749399","file0":"1399749388","file4":"1399749409","file5":"1399749411","file3":"1399749408"},"map_files_photo_id_array":[{"photo_id":"1399749411","filename":"file5"},{"photo_id":"1399749407","filename":"file2"},{"photo_id":"1399749409","filename":"file4"},{"photo_id":"1399749399","filename":"file1"},{"photo_id":"1399749388","filename":"file0"},{"photo_id":"1399749408","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749409":["hashtag1","hashtag2"]},{"1399749399":["hashtag1","hashtag2"]},{"1399749411":["hashtag1","hashtag2"]},{"1399749408":["hashtag1","hashtag2"]},{"1399749388":["hashtag1","hashtag2"]},{"1399749407":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749409, 1399749399, 1399749411, 1399749408, 1399749388, 1399749407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.464601278305054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:51:22.806595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/49/image_17122025_06_49_55_9562.jpg', '/home/pi/Desktop/images/17122025/06/49/image_17122025_06_50_04_9797.jpg', '/home/pi/Desktop/images/17122025/06/50/image_17122025_06_50_14_9796.jpg', '/home/pi/Desktop/images/17122025/06/50/image_17122025_06_50_25_10873.jpg', '/home/pi/Desktop/images/17122025/06/50/image_17122025_06_50_35_9541.jpg', '/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_15_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/49/image_17122025_06_49_55_9562.jpg
/home/pi/Desktop/images/17122025/06/49/image_17122025_06_50_04_9797.jpg
/home/pi/Desktop/images/17122025/06/50/image_17122025_06_50_14_9796.jpg
/home/pi/Desktop/images/17122025/06/50/image_17122025_06_50_25_10873.jpg
/home/pi/Desktop/images/17122025/06/50/image_17122025_06_50_35_9541.jpg
/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_15_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":["1399749418","1399749426","1399749420","1399749428","1399749422","1399749424"],"photo_ids_order":["1399749418","1399749420","1399749422","1399749424","1399749426","1399749428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/834dc2c229e72692bd36500d8dd307e6.jpg","text":"TemporaryFile(/tmp/multipartBody5431589045344586988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950743389,"filename":"image_17122025_06_49_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7368f9898361001cc6c809a40480177.jpg","text":"TemporaryFile(/tmp/multipartBody7267933623443851458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950743389,"filename":"image_17122025_06_50_35_9541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3150f64caf8c3be000a317b3d9cca17.jpg","text":"TemporaryFile(/tmp/multipartBody8567471516789990286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950743389,"filename":"image_17122025_06_50_04_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04cfa88e3f9c1d99f75c1caed9fe828c.jpg","text":"TemporaryFile(/tmp/multipartBody5779788185862619990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950743389,"filename":"image_17122025_06_51_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bbe75170a68bd52b9c9bdfc144bc350a.jpg","text":"TemporaryFile(/tmp/multipartBody3878985795311537925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950743389,"filename":"image_17122025_06_50_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f35e7a32f0433ac6e542bbe0160d1cae.jpg","text":"TemporaryFile(/tmp/multipartBody8399104093545041855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950743389,"filename":"image_17122025_06_50_25_10873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749422","file1":"1399749420","file0":"1399749418","file4":"1399749426","file5":"1399749428","file3":"1399749424"},"map_files_photo_id_array":[{"photo_id":"1399749428","filename":"file5"},{"photo_id":"1399749422","filename":"file2"},{"photo_id":"1399749426","filename":"file4"},{"photo_id":"1399749420","filename":"file1"},{"photo_id":"1399749418","filename":"file0"},{"photo_id":"1399749424","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749418":["hashtag1","hashtag2"]},{"1399749426":["hashtag1","hashtag2"]},{"1399749420":["hashtag1","hashtag2"]},{"1399749428":["hashtag1","hashtag2"]},{"1399749422":["hashtag1","hashtag2"]},{"1399749424":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749418, 1399749426, 1399749420, 1399749428, 1399749422, 1399749424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.154813289642334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:52:02.537163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_24_9769.jpg', '/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_34_9796.jpg', '/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_45_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_24_9769.jpg
/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_34_9796.jpg
/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_45_10702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749429","1399749430","1399749433"],"photo_ids_order":["1399749429","1399749430","1399749433"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/990525a8f3313479a12abbda3e01de30.jpg","text":"TemporaryFile(/tmp/multipartBody773605123336242360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950783050,"filename":"image_17122025_06_51_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5dbd0c6f12c2e1abcd530e4fddb75323.jpg","text":"TemporaryFile(/tmp/multipartBody6490545347575934777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950783050,"filename":"image_17122025_06_51_34_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abad9ca2bbdf3ea1b1b0479a37f407bf.jpg","text":"TemporaryFile(/tmp/multipartBody6645550890813071924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950783050,"filename":"image_17122025_06_51_45_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749433","file1":"1399749430","file0":"1399749429"},"map_files_photo_id_array":[{"photo_id":"1399749433","filename":"file2"},{"photo_id":"1399749430","filename":"file1"},{"photo_id":"1399749429","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749429":["hashtag1","hashtag2"]},{"1399749430":["hashtag1","hashtag2"]},{"1399749433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749429, 1399749430, 1399749433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.983326196670532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 06:52:32.051719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:52:42.021760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_20_2739.jpg', '/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_22_2646.jpg', '/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_31_2591.jpg', '/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_35_3670.jpg', '/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_45_10137.jpg', '/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_55_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_20_2739.jpg
/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_22_2646.jpg
/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_31_2591.jpg
/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_35_3670.jpg
/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_45_10137.jpg
/home/pi/Desktop/images/07112025/17/26/image_07112025_17_26_55_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749480","1399749477","1399749462","1399749444","1399749452","1399749478"],"photo_ids_order":["1399749444","1399749452","1399749462","1399749477","1399749478","1399749480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c24774a807ea7de674b104a09d08cfb.jpg","text":"TemporaryFile(/tmp/multipartBody4957060575502587713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950822710,"filename":"image_07112025_17_26_55_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22e21f16cacd65da4c4e6b543f50231a.jpg","text":"TemporaryFile(/tmp/multipartBody1263978004142487794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950822710,"filename":"image_07112025_17_26_35_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/905980ed20abce96ad820b4d3bb33478.jpg","text":"TemporaryFile(/tmp/multipartBody3966478842878879655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950822710,"filename":"image_07112025_17_26_31_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d17b59ba7d827a50b56e0fa75b12732.jpg","text":"TemporaryFile(/tmp/multipartBody4622838121314050908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950822710,"filename":"image_07112025_17_26_20_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f92e13fa430b0c2078e684ecd5e944d3.jpg","text":"TemporaryFile(/tmp/multipartBody6353414974404704450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950822710,"filename":"image_07112025_17_26_22_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/913ab9dfaf4f9fe019b61ce89d38cbac.jpg","text":"TemporaryFile(/tmp/multipartBody2177023615097994593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950822710,"filename":"image_07112025_17_26_45_10137.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749462","file1":"1399749452","file0":"1399749444","file4":"1399749478","file5":"1399749480","file3":"1399749477"},"map_files_photo_id_array":[{"photo_id":"1399749480","filename":"file5"},{"photo_id":"1399749462","filename":"file2"},{"photo_id":"1399749478","filename":"file4"},{"photo_id":"1399749452","filename":"file1"},{"photo_id":"1399749444","filename":"file0"},{"photo_id":"1399749477","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749480":["hashtag1","hashtag2"]},{"1399749477":["hashtag1","hashtag2"]},{"1399749462":["hashtag1","hashtag2"]},{"1399749444":["hashtag1","hashtag2"]},{"1399749452":["hashtag1","hashtag2"]},{"1399749478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749480, 1399749477, 1399749462, 1399749444, 1399749452, 1399749478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.002214193344116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:53:22.296629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_54_9605.jpg', '/home/pi/Desktop/images/17122025/06/51/image_17122025_06_52_04_9871.jpg', '/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_15_10644.jpg', '/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_25_9591.jpg', '/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_34_9768.jpg', '/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_44_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/51/image_17122025_06_51_54_9605.jpg
/home/pi/Desktop/images/17122025/06/51/image_17122025_06_52_04_9871.jpg
/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_15_10644.jpg
/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_25_9591.jpg
/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_34_9768.jpg
/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_44_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":["1399749486","1399749495","1399749489","1399749491","1399749493","1399749484"],"photo_ids_order":["1399749484","1399749486","1399749489","1399749491","1399749493","1399749495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5edf0b7dfc9a882230279f1599d130a0.jpg","text":"TemporaryFile(/tmp/multipartBody840302229462221663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950862907,"filename":"image_17122025_06_52_04_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d199e7e28d5013f13a7cc8e26c34a6e.jpg","text":"TemporaryFile(/tmp/multipartBody546652720643991687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950862907,"filename":"image_17122025_06_52_44_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7460334e3b5b87e31a9df52e4376f0bb.jpg","text":"TemporaryFile(/tmp/multipartBody5688130081926646604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950862907,"filename":"image_17122025_06_52_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84c3f38ac540d438b827769656b83eed.jpg","text":"TemporaryFile(/tmp/multipartBody2746595558465501765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950862907,"filename":"image_17122025_06_52_25_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c77e37c71584c7fe36f582061fc9742b.jpg","text":"TemporaryFile(/tmp/multipartBody7386095901052321660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950862907,"filename":"image_17122025_06_52_34_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/298993893b696b7b651e61e7dc1ae581.jpg","text":"TemporaryFile(/tmp/multipartBody805451518862959723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950862907,"filename":"image_17122025_06_51_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749489","file1":"1399749486","file0":"1399749484","file4":"1399749493","file5":"1399749495","file3":"1399749491"},"map_files_photo_id_array":[{"photo_id":"1399749495","filename":"file5"},{"photo_id":"1399749489","filename":"file2"},{"photo_id":"1399749493","filename":"file4"},{"photo_id":"1399749486","filename":"file1"},{"photo_id":"1399749484","filename":"file0"},{"photo_id":"1399749491","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749486":["hashtag1","hashtag2"]},{"1399749495":["hashtag1","hashtag2"]},{"1399749489":["hashtag1","hashtag2"]},{"1399749491":["hashtag1","hashtag2"]},{"1399749493":["hashtag1","hashtag2"]},{"1399749484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749486, 1399749495, 1399749489, 1399749491, 1399749493, 1399749484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.566657304763794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:54:03.213831
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_55_10597.jpg', '/home/pi/Desktop/images/17122025/06/52/image_17122025_06_53_04_9725.jpg', '/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_14_9751.jpg', '/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_25_10664.jpg', '/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_35_9704.jpg', '/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_44_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/52/image_17122025_06_52_55_10597.jpg
/home/pi/Desktop/images/17122025/06/52/image_17122025_06_53_04_9725.jpg
/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_14_9751.jpg
/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_25_10664.jpg
/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_35_9704.jpg
/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_44_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749508","1399749517","1399749507","1399749509","1399749512","1399749506"],"photo_ids_order":["1399749506","1399749507","1399749508","1399749509","1399749512","1399749517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51f651ce765624764b5c56d9c6ff905e.jpg","text":"TemporaryFile(/tmp/multipartBody1096824519827892492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950903910,"filename":"image_17122025_06_53_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e9ed02faea7c6946a8d16ed18d1ae8e.jpg","text":"TemporaryFile(/tmp/multipartBody1242185626299739501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950903910,"filename":"image_17122025_06_53_44_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8329ab257c471ddf7990e58a94426967.jpg","text":"TemporaryFile(/tmp/multipartBody4211713706470791430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950903910,"filename":"image_17122025_06_53_04_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78d974d3697809f1152b5993c142f676.jpg","text":"TemporaryFile(/tmp/multipartBody5221615405287346461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950903910,"filename":"image_17122025_06_53_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f79ad16df20a4bc7f92837f6af3a9ceb.jpg","text":"TemporaryFile(/tmp/multipartBody5502284849466099944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950903910,"filename":"image_17122025_06_53_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f5de1c162415b58e302f215d19b101f.jpg","text":"TemporaryFile(/tmp/multipartBody2665151520074038445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950903910,"filename":"image_17122025_06_52_55_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749508","file1":"1399749507","file0":"1399749506","file4":"1399749512","file5":"1399749517","file3":"1399749509"},"map_files_photo_id_array":[{"photo_id":"1399749517","filename":"file5"},{"photo_id":"1399749508","filename":"file2"},{"photo_id":"1399749512","filename":"file4"},{"photo_id":"1399749507","filename":"file1"},{"photo_id":"1399749506","filename":"file0"},{"photo_id":"1399749509","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749508":["hashtag1","hashtag2"]},{"1399749517":["hashtag1","hashtag2"]},{"1399749507":["hashtag1","hashtag2"]},{"1399749509":["hashtag1","hashtag2"]},{"1399749512":["hashtag1","hashtag2"]},{"1399749506":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749508, 1399749517, 1399749507, 1399749509, 1399749512, 1399749506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93109631538391 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:54:42.584478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_05_1730.jpg', '/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_20_3631.jpg', '/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_31_2550.jpg', '/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_35_3660.jpg', '/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_44_2684.jpg', '/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_52_2580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_05_1730.jpg
/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_20_3631.jpg
/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_31_2550.jpg
/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_35_3660.jpg
/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_44_2684.jpg
/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_52_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":["1399749552","1399749543","1399749551","1399749542","1399749536","1399749544"],"photo_ids_order":["1399749536","1399749542","1399749543","1399749544","1399749551","1399749552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abdf7658f94b20e6b777d7986689f333.jpg","text":"TemporaryFile(/tmp/multipartBody6864251746849580299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950943272,"filename":"image_07112025_17_27_52_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/deaa37706672d5867efbe4fe593b283d.jpg","text":"TemporaryFile(/tmp/multipartBody8303268178862688680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950943272,"filename":"image_07112025_17_27_31_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4d9296667d84df52fe4fce64543ce32.jpg","text":"TemporaryFile(/tmp/multipartBody5363773545385538262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950943272,"filename":"image_07112025_17_27_44_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7a53f97109bf1d84926685d78d0db73.jpg","text":"TemporaryFile(/tmp/multipartBody3379327184734486835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950943272,"filename":"image_07112025_17_27_20_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d07c9ef87fa5c02191009b4bb3b14a3d.jpg","text":"TemporaryFile(/tmp/multipartBody9171461603321728040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950943272,"filename":"image_07112025_17_27_05_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/941a1822a6896f07d9de72811d439505.jpg","text":"TemporaryFile(/tmp/multipartBody9158770835419798217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950943272,"filename":"image_07112025_17_27_35_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749543","file1":"1399749542","file0":"1399749536","file4":"1399749551","file5":"1399749552","file3":"1399749544"},"map_files_photo_id_array":[{"photo_id":"1399749552","filename":"file5"},{"photo_id":"1399749543","filename":"file2"},{"photo_id":"1399749551","filename":"file4"},{"photo_id":"1399749542","filename":"file1"},{"photo_id":"1399749536","filename":"file0"},{"photo_id":"1399749544","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749552":["hashtag1","hashtag2"]},{"1399749543":["hashtag1","hashtag2"]},{"1399749551":["hashtag1","hashtag2"]},{"1399749542":["hashtag1","hashtag2"]},{"1399749536":["hashtag1","hashtag2"]},{"1399749544":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749552, 1399749543, 1399749551, 1399749542, 1399749536, 1399749544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.232415437698364 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:55:21.854202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_54_9725.jpg', '/home/pi/Desktop/images/17122025/06/53/image_17122025_06_54_05_10660.jpg', '/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_14_9680.jpg', '/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_24_9755.jpg', '/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_35_10731.jpg', '/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_45_9592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/53/image_17122025_06_53_54_9725.jpg
/home/pi/Desktop/images/17122025/06/53/image_17122025_06_54_05_10660.jpg
/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_14_9680.jpg
/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_24_9755.jpg
/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_35_10731.jpg
/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_45_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":["1399749567","1399749564","1399749558","1399749557","1399749560","1399749562"],"photo_ids_order":["1399749557","1399749558","1399749560","1399749562","1399749564","1399749567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c72b64df87e2ff1ab2d4c964fde935b8.jpg","text":"TemporaryFile(/tmp/multipartBody1118973893418353031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950982530,"filename":"image_17122025_06_54_45_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd1b1ab7fd2bd271c5f2b979311ccac9.jpg","text":"TemporaryFile(/tmp/multipartBody7141936413708614100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950982530,"filename":"image_17122025_06_54_35_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c18f5d3d9e5513d3610fe660fcfbd2e.jpg","text":"TemporaryFile(/tmp/multipartBody24812793273704548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950982530,"filename":"image_17122025_06_54_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2dc9f882b27c8c1df722a4e6d138585.jpg","text":"TemporaryFile(/tmp/multipartBody5821200745377652828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950982530,"filename":"image_17122025_06_53_54_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b9cb64bcfcc93b65354d7c5d26519ca.jpg","text":"TemporaryFile(/tmp/multipartBody9204545890033336142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950982530,"filename":"image_17122025_06_54_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a809503a2d8b4855100f0d601ba8c396.jpg","text":"TemporaryFile(/tmp/multipartBody8942527880637200263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765950982530,"filename":"image_17122025_06_54_24_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749560","file1":"1399749558","file0":"1399749557","file4":"1399749564","file5":"1399749567","file3":"1399749562"},"map_files_photo_id_array":[{"photo_id":"1399749567","filename":"file5"},{"photo_id":"1399749560","filename":"file2"},{"photo_id":"1399749564","filename":"file4"},{"photo_id":"1399749558","filename":"file1"},{"photo_id":"1399749557","filename":"file0"},{"photo_id":"1399749562","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749567":["hashtag1","hashtag2"]},{"1399749564":["hashtag1","hashtag2"]},{"1399749558":["hashtag1","hashtag2"]},{"1399749557":["hashtag1","hashtag2"]},{"1399749560":["hashtag1","hashtag2"]},{"1399749562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749567, 1399749564, 1399749558, 1399749557, 1399749560, 1399749562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.968337297439575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:56:02.506641
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_54_9809.jpg', '/home/pi/Desktop/images/17122025/06/54/image_17122025_06_55_05_10678.jpg', '/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_15_9664.jpg', '/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_24_9792.jpg', '/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_34_9694.jpg', '/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_45_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/54/image_17122025_06_54_54_9809.jpg
/home/pi/Desktop/images/17122025/06/54/image_17122025_06_55_05_10678.jpg
/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_15_9664.jpg
/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_24_9792.jpg
/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_34_9694.jpg
/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_45_10748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749573","1399749582","1399749576","1399749584","1399749580","1399749577"],"photo_ids_order":["1399749573","1399749576","1399749577","1399749580","1399749582","1399749584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9384f85ae6e2ee85d7a8bcff0de3c223.jpg","text":"TemporaryFile(/tmp/multipartBody2645226599016148046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951023169,"filename":"image_17122025_06_54_54_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6912ced19881ed4499ccd678ba0fc20.jpg","text":"TemporaryFile(/tmp/multipartBody6292564550200566037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951023169,"filename":"image_17122025_06_55_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c23b3461921d353f0a8c82fc8c7274fa.jpg","text":"TemporaryFile(/tmp/multipartBody4469601795966455507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951023169,"filename":"image_17122025_06_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/2025/12/17/a3c5d4f05ce9223404d68ce33e0b3667.jpg","text":"TemporaryFile(/tmp/multipartBody4264201358300955990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951023169,"filename":"image_17122025_06_55_45_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9440f5e9e81e5bec1ff943e0a8fc1097.jpg","text":"TemporaryFile(/tmp/multipartBody765554770383140454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951023169,"filename":"image_17122025_06_55_24_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ef0242463fcfc645a9f136fb02f9586.jpg","text":"TemporaryFile(/tmp/multipartBody7979596286874412107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951023169,"filename":"image_17122025_06_55_15_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749577","file1":"1399749576","file0":"1399749573","file4":"1399749582","file5":"1399749584","file3":"1399749580"},"map_files_photo_id_array":[{"photo_id":"1399749584","filename":"file5"},{"photo_id":"1399749577","filename":"file2"},{"photo_id":"1399749582","filename":"file4"},{"photo_id":"1399749576","filename":"file1"},{"photo_id":"1399749573","filename":"file0"},{"photo_id":"1399749580","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749573":["hashtag1","hashtag2"]},{"1399749582":["hashtag1","hashtag2"]},{"1399749576":["hashtag1","hashtag2"]},{"1399749584":["hashtag1","hashtag2"]},{"1399749580":["hashtag1","hashtag2"]},{"1399749577":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749573, 1399749582, 1399749576, 1399749584, 1399749580, 1399749577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.045368909835815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 06:56:42.148025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_55_2685.jpg', '/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_13_2583.jpg', '/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_20_3595.jpg', '/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_25_2697.jpg', '/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_29_3751.jpg', '/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_44_1536.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/27/image_07112025_17_27_55_2685.jpg
/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_13_2583.jpg
/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_20_3595.jpg
/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_25_2697.jpg
/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_29_3751.jpg
/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_44_1536.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399749607","1399749597","1399749606","1399749609","1399749608","1399749595"],"photo_ids_order":["1399749595","1399749597","1399749606","1399749607","1399749608","1399749609"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/834069d9359b2a9a29766cd53440bb60.jpg","text":"TemporaryFile(/tmp/multipartBody6520107084664534396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951062860,"filename":"image_07112025_17_28_25_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af9a571a2726672fbb60e81337a98705.jpg","text":"TemporaryFile(/tmp/multipartBody5956519385686738003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951062860,"filename":"image_07112025_17_28_13_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1279e320ef777907c8805fd50385c4f9.jpg","text":"TemporaryFile(/tmp/multipartBody2113419043332015848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951062860,"filename":"image_07112025_17_28_20_3595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0073659d62b57f500cbe1474013cebc.jpg","text":"TemporaryFile(/tmp/multipartBody5522039356286885883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951062860,"filename":"image_07112025_17_28_44_1536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/258c21ec9648db1da72569862c209874.jpg","text":"TemporaryFile(/tmp/multipartBody2993652242902731144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951062860,"filename":"image_07112025_17_28_29_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f061c79a21ff967858f890c6408426d2.jpg","text":"TemporaryFile(/tmp/multipartBody8171152809505248422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951062860,"filename":"image_07112025_17_27_55_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749606","file1":"1399749597","file0":"1399749595","file4":"1399749608","file5":"1399749609","file3":"1399749607"},"map_files_photo_id_array":[{"photo_id":"1399749609","filename":"file5"},{"photo_id":"1399749606","filename":"file2"},{"photo_id":"1399749608","filename":"file4"},{"photo_id":"1399749597","filename":"file1"},{"photo_id":"1399749595","filename":"file0"},{"photo_id":"1399749607","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399749607":["hashtag1","hashtag2"]},{"1399749597":["hashtag1","hashtag2"]},{"1399749606":["hashtag1","hashtag2"]},{"1399749609":["hashtag1","hashtag2"]},{"1399749608":["hashtag1","hashtag2"]},{"1399749595":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399749607, 1399749597, 1399749606, 1399749609, 1399749608, 1399749595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37209153175354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 06:57:22.518126
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_55_9735.jpg', '/home/pi/Desktop/images/17122025/06/55/image_17122025_06_56_04_9689.jpg', '/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_15_10681.jpg', '/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_25_9648.jpg', '/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_34_9784.jpg', '/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_45_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/55/image_17122025_06_55_55_9735.jpg
/home/pi/Desktop/images/17122025/06/55/image_17122025_06_56_04_9689.jpg
/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_15_10681.jpg
/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_25_9648.jpg
/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_34_9784.jpg
/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_45_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":["1399749624","1399749627","1399749620","1399749614","1399749623","1399749617"],"photo_ids_order":["1399749614","1399749617","1399749620","1399749623","1399749624","1399749627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/633a54de5f38f1990f560d4445db7184.jpg","text":"TemporaryFile(/tmp/multipartBody9129322846811364081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951103153,"filename":"image_17122025_06_56_34_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/819c4ea06e39028c890e1bf4b2d3e3f8.jpg","text":"TemporaryFile(/tmp/multipartBody3079285332165247448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951103153,"filename":"image_17122025_06_56_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aed959fbc7eb2f1495a6ce4867a1ccc4.jpg","text":"TemporaryFile(/tmp/multipartBody2339383738677420199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951103153,"filename":"image_17122025_06_56_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1fce0228d35a35cf0474c3956160a12.jpg","text":"TemporaryFile(/tmp/multipartBody3652294590243582631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951103153,"filename":"image_17122025_06_55_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f398a6a2c1e5ee8d6434ce209e45858c.jpg","text":"TemporaryFile(/tmp/multipartBody7452085642453222860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951103153,"filename":"image_17122025_06_56_25_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/599d141a8b03ecfde6f8c098e9669143.jpg","text":"TemporaryFile(/tmp/multipartBody6997815145015100986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951103153,"filename":"image_17122025_06_56_04_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399749620","file1":"1399749617","file0":"1399749614","file4":"1399749624","file5":"1399749627","file3":"1399749623"},"map_files_photo_id_array":[{"photo_id":"1399749627","filename":"file5"},{"photo_id":"1399749620","filename":"file2"},{"photo_id":"1399749624","filename":"file4"},{"photo_id":"1399749617","filename":"file1"},{"photo_id":"1399749614","filename":"file0"},{"photo_id":"1399749623","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399749624":["hashtag1","hashtag2"]},{"1399749627":["hashtag1","hashtag2"]},{"1399749620":["hashtag1","hashtag2"]},{"1399749614":["hashtag1","hashtag2"]},{"1399749623":["hashtag1","hashtag2"]},{"1399749617":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399749624, 1399749627, 1399749620, 1399749614, 1399749623, 1399749617)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74638247489929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 06:59:03.674304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_55_9681.jpg', '/home/pi/Desktop/images/17122025/06/56/image_17122025_06_57_04_9657.jpg', '/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_14_9750.jpg', '/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_25_10639.jpg', '/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_35_9816.jpg', '/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_44_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/56/image_17122025_06_56_55_9681.jpg
/home/pi/Desktop/images/17122025/06/56/image_17122025_06_57_04_9657.jpg
/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_14_9750.jpg
/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_25_10639.jpg
/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_35_9816.jpg
/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_44_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399750192","1399750153","1399750074","1399750230","1399750113","1399750268"],"photo_ids_order":["1399750074","1399750113","1399750153","1399750192","1399750230","1399750268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae448bd888905105c139b0ea38f554cc.jpg","text":"TemporaryFile(/tmp/multipartBody5127413851205355269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951204557,"filename":"image_17122025_06_57_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41facab47adad6028930943c85764283.jpg","text":"TemporaryFile(/tmp/multipartBody5617024791747831265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951204557,"filename":"image_17122025_06_57_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac595b3c7ad79500a092140e5c58d578.jpg","text":"TemporaryFile(/tmp/multipartBody5483012948372379972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951204557,"filename":"image_17122025_06_56_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be75c1bf7e8b5027edae6e8616d9163a.jpg","text":"TemporaryFile(/tmp/multipartBody429371796483174045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951204557,"filename":"image_17122025_06_57_35_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfd552751ae2ab4572c14466727d483f.jpg","text":"TemporaryFile(/tmp/multipartBody1979581873503003969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951204557,"filename":"image_17122025_06_57_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30a775b4ec2c4c840abe9a7ec2809d13.jpg","text":"TemporaryFile(/tmp/multipartBody2622681013398643586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951204557,"filename":"image_17122025_06_57_44_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399750153","file1":"1399750113","file0":"1399750074","file4":"1399750230","file5":"1399750268","file3":"1399750192"},"map_files_photo_id_array":[{"photo_id":"1399750268","filename":"file5"},{"photo_id":"1399750153","filename":"file2"},{"photo_id":"1399750230","filename":"file4"},{"photo_id":"1399750113","filename":"file1"},{"photo_id":"1399750074","filename":"file0"},{"photo_id":"1399750192","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399750192":["hashtag1","hashtag2"]},{"1399750153":["hashtag1","hashtag2"]},{"1399750074":["hashtag1","hashtag2"]},{"1399750230":["hashtag1","hashtag2"]},{"1399750113":["hashtag1","hashtag2"]},{"1399750268":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399750192, 1399750153, 1399750074, 1399750230, 1399750113, 1399750268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.05288910865784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:00:02.768699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_55_10711.jpg', '/home/pi/Desktop/images/17122025/06/57/image_17122025_06_58_05_9810.jpg', '/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_14_9615.jpg', '/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_25_10592.jpg', '/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_35_9730.jpg', '/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_44_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_55_10711.jpg
/home/pi/Desktop/images/17122025/06/57/image_17122025_06_58_05_9810.jpg
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_14_9615.jpg
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_25_10592.jpg
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_35_9730.jpg
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_44_9770.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.618809700012207 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:00:12.311391
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:00:22.357536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_55_10711.jpg', '/home/pi/Desktop/images/17122025/06/57/image_17122025_06_58_05_9810.jpg', '/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_14_9615.jpg', '/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_25_10592.jpg', '/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_35_9730.jpg', '/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_44_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/57/image_17122025_06_57_55_10711.jpg
/home/pi/Desktop/images/17122025/06/57/image_17122025_06_58_05_9810.jpg
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_14_9615.jpg
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_25_10592.jpg
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_35_9730.jpg
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_44_9770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399750639","1399750580","1399750676","1399750577","1399750712","1399750601"],"photo_ids_order":["1399750577","1399750580","1399750601","1399750639","1399750676","1399750712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e45897065a0d2034a5714e9c84fef11d.jpg","text":"TemporaryFile(/tmp/multipartBody4083455410032651870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951283027,"filename":"image_17122025_06_58_25_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2589614e2ae1f6b8885fa652051ece89.jpg","text":"TemporaryFile(/tmp/multipartBody5349919815519526447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951283027,"filename":"image_17122025_06_58_05_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14023d271d69793284ae44702b445ccb.jpg","text":"TemporaryFile(/tmp/multipartBody2554139723521903659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951283027,"filename":"image_17122025_06_58_35_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38bab7fda8265771ce647b0fcb01cff3.jpg","text":"TemporaryFile(/tmp/multipartBody4228735482515172085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951283027,"filename":"image_17122025_06_57_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7243877424775c77b5ca25d4572327fc.jpg","text":"TemporaryFile(/tmp/multipartBody5967784724406420267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951283027,"filename":"image_17122025_06_58_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75218dc5f15412f7b152344b4a9ee539.jpg","text":"TemporaryFile(/tmp/multipartBody6869074446533258572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951283027,"filename":"image_17122025_06_58_14_9615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399750601","file1":"1399750580","file0":"1399750577","file4":"1399750676","file5":"1399750712","file3":"1399750639"},"map_files_photo_id_array":[{"photo_id":"1399750712","filename":"file5"},{"photo_id":"1399750601","filename":"file2"},{"photo_id":"1399750676","filename":"file4"},{"photo_id":"1399750580","filename":"file1"},{"photo_id":"1399750577","filename":"file0"},{"photo_id":"1399750639","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399750639":["hashtag1","hashtag2"]},{"1399750580":["hashtag1","hashtag2"]},{"1399750676":["hashtag1","hashtag2"]},{"1399750577":["hashtag1","hashtag2"]},{"1399750712":["hashtag1","hashtag2"]},{"1399750601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399750639, 1399750580, 1399750676, 1399750577, 1399750712, 1399750601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95698857307434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:01:03.195702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_54_9635.jpg', '/home/pi/Desktop/images/17122025/06/58/image_17122025_06_59_05_10727.jpg', '/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_15_9853.jpg', '/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_24_9731.jpg', '/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_35_10662.jpg', '/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_45_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_58_54_9635.jpg
/home/pi/Desktop/images/17122025/06/58/image_17122025_06_59_05_10727.jpg
/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_15_9853.jpg
/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_24_9731.jpg
/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_35_10662.jpg
/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_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":["1399750944","1399750982","1399751098","1399751062","1399750882","1399751026"],"photo_ids_order":["1399750882","1399750944","1399750982","1399751026","1399751062","1399751098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4380373380bbae1cfb2627b1b5ff3179.jpg","text":"TemporaryFile(/tmp/multipartBody6901422685814319354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951323892,"filename":"image_17122025_06_59_05_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/801e689fc4acae5f63ffbc310dd49604.jpg","text":"TemporaryFile(/tmp/multipartBody7859340103616969439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951323892,"filename":"image_17122025_06_59_15_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fb7f8c09a09f4280a05cf25164144d8.jpg","text":"TemporaryFile(/tmp/multipartBody1205818942640654056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951323892,"filename":"image_17122025_06_59_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27e6675852c431d91d23f4dc0b6d6df1.jpg","text":"TemporaryFile(/tmp/multipartBody4251847071602366032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951323892,"filename":"image_17122025_06_59_35_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/daceb56f8c3a3158a78a6ee9785be58f.jpg","text":"TemporaryFile(/tmp/multipartBody7393149541004480149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951323892,"filename":"image_17122025_06_58_54_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d9caa8eb04a993b40671f9cf8e25ebc.jpg","text":"TemporaryFile(/tmp/multipartBody4473620180443930942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951323892,"filename":"image_17122025_06_59_24_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399750982","file1":"1399750944","file0":"1399750882","file4":"1399751062","file5":"1399751098","file3":"1399751026"},"map_files_photo_id_array":[{"photo_id":"1399751098","filename":"file5"},{"photo_id":"1399750982","filename":"file2"},{"photo_id":"1399751062","filename":"file4"},{"photo_id":"1399750944","filename":"file1"},{"photo_id":"1399750882","filename":"file0"},{"photo_id":"1399751026","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399750944":["hashtag1","hashtag2"]},{"1399750982":["hashtag1","hashtag2"]},{"1399751098":["hashtag1","hashtag2"]},{"1399751062":["hashtag1","hashtag2"]},{"1399750882":["hashtag1","hashtag2"]},{"1399751026":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399750944, 1399750982, 1399751098, 1399751062, 1399750882, 1399751026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81635761260986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:01:42.589333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_53_3967.jpg', '/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_55_1727.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_05_9609.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_06_1674.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_08_1573.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_10_1816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_53_3967.jpg
/home/pi/Desktop/images/07112025/17/28/image_07112025_17_28_55_1727.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_05_9609.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_06_1674.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_08_1573.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_10_1816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399751305","1399751227","1399751388","1399751343","1399751426","1399751266"],"photo_ids_order":["1399751227","1399751266","1399751305","1399751343","1399751388","1399751426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef02471e315910098ca692db8fc3e8de.jpg","text":"TemporaryFile(/tmp/multipartBody302693556309759876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951363297,"filename":"image_07112025_17_29_05_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e550668e69638382c77dfb5ae3137f89.jpg","text":"TemporaryFile(/tmp/multipartBody6443144587152691915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951363297,"filename":"image_07112025_17_28_53_3967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2b473c55bda02f165c4edc93e9119f3.jpg","text":"TemporaryFile(/tmp/multipartBody7889487335193234131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951363297,"filename":"image_07112025_17_29_08_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/691c52c552572607413d4aac2c103131.jpg","text":"TemporaryFile(/tmp/multipartBody819605418519453588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951363297,"filename":"image_07112025_17_29_06_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2d37b23e548856f2b158b249f777b92.jpg","text":"TemporaryFile(/tmp/multipartBody3555788295668216870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951363297,"filename":"image_07112025_17_29_10_1816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e2f580106c98efc2129aa17ec711a74.jpg","text":"TemporaryFile(/tmp/multipartBody7537772423860571461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951363297,"filename":"image_07112025_17_28_55_1727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399751305","file1":"1399751266","file0":"1399751227","file4":"1399751388","file5":"1399751426","file3":"1399751343"},"map_files_photo_id_array":[{"photo_id":"1399751426","filename":"file5"},{"photo_id":"1399751305","filename":"file2"},{"photo_id":"1399751388","filename":"file4"},{"photo_id":"1399751266","filename":"file1"},{"photo_id":"1399751227","filename":"file0"},{"photo_id":"1399751343","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399751305":["hashtag1","hashtag2"]},{"1399751227":["hashtag1","hashtag2"]},{"1399751388":["hashtag1","hashtag2"]},{"1399751343":["hashtag1","hashtag2"]},{"1399751426":["hashtag1","hashtag2"]},{"1399751266":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399751305, 1399751227, 1399751388, 1399751343, 1399751426, 1399751266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0219931602478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:02:21.848214
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_54_9648.jpg', '/home/pi/Desktop/images/17122025/06/59/image_17122025_07_00_04_9797.jpg', '/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_15_10685.jpg', '/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_25_9977.jpg', '/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_35_9609.jpg', '/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_44_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/06/59/image_17122025_06_59_54_9648.jpg
/home/pi/Desktop/images/17122025/06/59/image_17122025_07_00_04_9797.jpg
/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_15_10685.jpg
/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_25_9977.jpg
/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_35_9609.jpg
/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_44_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399751664","1399751600","1399751563","1399751671","1399751659","1399751644"],"photo_ids_order":["1399751563","1399751600","1399751644","1399751659","1399751664","1399751671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c2b7c2c37d0c47047b24825ad942187.jpg","text":"TemporaryFile(/tmp/multipartBody3538526632406679320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951402477,"filename":"image_17122025_07_00_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1037d117336c8dc4dc5b976577c311a.jpg","text":"TemporaryFile(/tmp/multipartBody4750587376708758739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951402477,"filename":"image_17122025_07_00_04_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e237d49b7ea5af2572207f2f96c1d193.jpg","text":"TemporaryFile(/tmp/multipartBody4035271086196240834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951402477,"filename":"image_17122025_06_59_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b418d64deaf0e6f2d9e86d26cf4b1469.jpg","text":"TemporaryFile(/tmp/multipartBody3712716770792304095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951402477,"filename":"image_17122025_07_00_44_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/221b4543deb4ac24c33efc5ce517a5db.jpg","text":"TemporaryFile(/tmp/multipartBody7197774645868798930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951402477,"filename":"image_17122025_07_00_25_9977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64e310492c77b0c6886d219c4dd05546.jpg","text":"TemporaryFile(/tmp/multipartBody8198961361573082527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951402477,"filename":"image_17122025_07_00_15_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399751644","file1":"1399751600","file0":"1399751563","file4":"1399751664","file5":"1399751671","file3":"1399751659"},"map_files_photo_id_array":[{"photo_id":"1399751671","filename":"file5"},{"photo_id":"1399751644","filename":"file2"},{"photo_id":"1399751664","filename":"file4"},{"photo_id":"1399751600","filename":"file1"},{"photo_id":"1399751563","filename":"file0"},{"photo_id":"1399751659","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399751664":["hashtag1","hashtag2"]},{"1399751600":["hashtag1","hashtag2"]},{"1399751563":["hashtag1","hashtag2"]},{"1399751671":["hashtag1","hashtag2"]},{"1399751659":["hashtag1","hashtag2"]},{"1399751644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399751664, 1399751600, 1399751563, 1399751671, 1399751659, 1399751644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.175639390945435 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:03:02.786811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_54_9969.jpg', '/home/pi/Desktop/images/17122025/07/00/image_17122025_07_01_05_10815.jpg', '/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_15_9687.jpg', '/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_24_9718.jpg', '/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_35_10664.jpg', '/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_45_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/00/image_17122025_07_00_54_9969.jpg
/home/pi/Desktop/images/17122025/07/00/image_17122025_07_01_05_10815.jpg
/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_15_9687.jpg
/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_24_9718.jpg
/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_35_10664.jpg
/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_45_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":["1399751676","1399751718","1399751678","1399751672","1399751680","1399751674"],"photo_ids_order":["1399751672","1399751674","1399751676","1399751678","1399751680","1399751718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7f69292a2ecbaba001f65debcfbddfc.jpg","text":"TemporaryFile(/tmp/multipartBody5226761997834295255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951443504,"filename":"image_17122025_07_01_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44ea8641f5ba4d3aa9f917a572cc5005.jpg","text":"TemporaryFile(/tmp/multipartBody5591449355548436111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951443504,"filename":"image_17122025_07_01_45_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e47a7eb716be8191236011dc7b2106e9.jpg","text":"TemporaryFile(/tmp/multipartBody1297845020554485778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951443504,"filename":"image_17122025_07_01_24_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a37129db5b160553e5e1bd01a1281674.jpg","text":"TemporaryFile(/tmp/multipartBody2678143976394714836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951443504,"filename":"image_17122025_07_00_54_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/684423fc168b512c5a5211a5cecb842c.jpg","text":"TemporaryFile(/tmp/multipartBody8461302715402728399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951443504,"filename":"image_17122025_07_01_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0063fb90083bfb3bd974c6231260429.jpg","text":"TemporaryFile(/tmp/multipartBody2922644173342644822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951443504,"filename":"image_17122025_07_01_05_10815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399751676","file1":"1399751674","file0":"1399751672","file4":"1399751680","file5":"1399751718","file3":"1399751678"},"map_files_photo_id_array":[{"photo_id":"1399751718","filename":"file5"},{"photo_id":"1399751676","filename":"file2"},{"photo_id":"1399751680","filename":"file4"},{"photo_id":"1399751674","filename":"file1"},{"photo_id":"1399751672","filename":"file0"},{"photo_id":"1399751678","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399751676":["hashtag1","hashtag2"]},{"1399751718":["hashtag1","hashtag2"]},{"1399751678":["hashtag1","hashtag2"]},{"1399751672":["hashtag1","hashtag2"]},{"1399751680":["hashtag1","hashtag2"]},{"1399751674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399751676, 1399751718, 1399751678, 1399751672, 1399751680, 1399751674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.132641553878784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:03:42.059660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_11_1569.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_14_2540.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_16_2592.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_19_2729.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_23_3746.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_25_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_11_1569.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_14_2540.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_16_2592.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_19_2729.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_23_3746.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_25_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":["1399751886","1399751847","1399751943","1399751921","1399751944","1399751938"],"photo_ids_order":["1399751847","1399751886","1399751921","1399751938","1399751943","1399751944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/927d00f54df54331c640db0f59986b7d.jpg","text":"TemporaryFile(/tmp/multipartBody3403022503021028231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951482765,"filename":"image_07112025_17_29_14_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69a1e76a429ee00bd5dbd9f831f17fff.jpg","text":"TemporaryFile(/tmp/multipartBody2302734735815854440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951482765,"filename":"image_07112025_17_29_11_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87508beb67629b3ae647135174536e56.jpg","text":"TemporaryFile(/tmp/multipartBody8833223025387485848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951482765,"filename":"image_07112025_17_29_23_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ccd477204b8bdc345ea06acb87b65fe1.jpg","text":"TemporaryFile(/tmp/multipartBody7354751819563708009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951482765,"filename":"image_07112025_17_29_16_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/678524b981fb8dd89393955b4ea865f1.jpg","text":"TemporaryFile(/tmp/multipartBody2207907511006522648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951482765,"filename":"image_07112025_17_29_25_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96864be5abe80955e473e6a0df534aac.jpg","text":"TemporaryFile(/tmp/multipartBody8542204611317699748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951482765,"filename":"image_07112025_17_29_19_2729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399751921","file1":"1399751886","file0":"1399751847","file4":"1399751943","file5":"1399751944","file3":"1399751938"},"map_files_photo_id_array":[{"photo_id":"1399751944","filename":"file5"},{"photo_id":"1399751921","filename":"file2"},{"photo_id":"1399751943","filename":"file4"},{"photo_id":"1399751886","filename":"file1"},{"photo_id":"1399751847","filename":"file0"},{"photo_id":"1399751938","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399751886":["hashtag1","hashtag2"]},{"1399751847":["hashtag1","hashtag2"]},{"1399751943":["hashtag1","hashtag2"]},{"1399751921":["hashtag1","hashtag2"]},{"1399751944":["hashtag1","hashtag2"]},{"1399751938":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399751886, 1399751847, 1399751943, 1399751921, 1399751944, 1399751938)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.654539346694946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:04:22.395067
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_54_9696.jpg', '/home/pi/Desktop/images/17122025/07/01/image_17122025_07_02_04_9948.jpg', '/home/pi/Desktop/images/17122025/07/02/image_17122025_07_02_14_9716.jpg', '/home/pi/Desktop/images/17122025/07/02/image_17122025_07_02_25_10699.jpg', '/home/pi/Desktop/images/17122025/07/02/image_17122025_07_02_55_10669.jpg', '/home/pi/Desktop/images/17122025/07/02/image_17122025_07_03_05_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/01/image_17122025_07_01_54_9696.jpg
/home/pi/Desktop/images/17122025/07/01/image_17122025_07_02_04_9948.jpg
/home/pi/Desktop/images/17122025/07/02/image_17122025_07_02_14_9716.jpg
/home/pi/Desktop/images/17122025/07/02/image_17122025_07_02_25_10699.jpg
/home/pi/Desktop/images/17122025/07/02/image_17122025_07_02_55_10669.jpg
/home/pi/Desktop/images/17122025/07/02/image_17122025_07_03_05_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":["1399752051","1399752065","1399752053","1399752011","1399752058","1399752031"],"photo_ids_order":["1399752011","1399752031","1399752051","1399752053","1399752058","1399752065"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c303cc162902bb52007adf32939355e.jpg","text":"TemporaryFile(/tmp/multipartBody1074159211060224364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951523004,"filename":"image_17122025_07_02_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7a287a84910f7ebb9420a0bcfa2a56f.jpg","text":"TemporaryFile(/tmp/multipartBody1350964229631756458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951523004,"filename":"image_17122025_07_03_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18611c43f71396560cd6003a320a22f1.jpg","text":"TemporaryFile(/tmp/multipartBody2449504778717664220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951523004,"filename":"image_17122025_07_02_25_10699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e45cbd10eb4f2a9038c8ce3f97cb574a.jpg","text":"TemporaryFile(/tmp/multipartBody3142303065629016283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951523004,"filename":"image_17122025_07_01_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/887f16d2efb5fc9ecae1477d062dca5d.jpg","text":"TemporaryFile(/tmp/multipartBody3314457717073342445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951523004,"filename":"image_17122025_07_02_55_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b5b0d5114f8d0c0e7088512860df857.jpg","text":"TemporaryFile(/tmp/multipartBody6191227918706507410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951523004,"filename":"image_17122025_07_02_04_9948.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752051","file1":"1399752031","file0":"1399752011","file4":"1399752058","file5":"1399752065","file3":"1399752053"},"map_files_photo_id_array":[{"photo_id":"1399752065","filename":"file5"},{"photo_id":"1399752051","filename":"file2"},{"photo_id":"1399752058","filename":"file4"},{"photo_id":"1399752031","filename":"file1"},{"photo_id":"1399752011","filename":"file0"},{"photo_id":"1399752053","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752051":["hashtag1","hashtag2"]},{"1399752065":["hashtag1","hashtag2"]},{"1399752053":["hashtag1","hashtag2"]},{"1399752011":["hashtag1","hashtag2"]},{"1399752058":["hashtag1","hashtag2"]},{"1399752031":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752051, 1399752065, 1399752053, 1399752011, 1399752058, 1399752031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45324516296387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:05:03.174276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/03/image_17122025_07_03_14_9834.jpg', '/home/pi/Desktop/images/17122025/07/03/image_17122025_07_03_24_9759.jpg', '/home/pi/Desktop/images/17122025/07/03/image_17122025_07_03_54_9599.jpg', '/home/pi/Desktop/images/17122025/07/03/image_17122025_07_04_05_10689.jpg', '/home/pi/Desktop/images/17122025/07/04/image_17122025_07_04_15_9721.jpg', '/home/pi/Desktop/images/17122025/07/04/image_17122025_07_04_24_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/03/image_17122025_07_03_14_9834.jpg
/home/pi/Desktop/images/17122025/07/03/image_17122025_07_03_24_9759.jpg
/home/pi/Desktop/images/17122025/07/03/image_17122025_07_03_54_9599.jpg
/home/pi/Desktop/images/17122025/07/03/image_17122025_07_04_05_10689.jpg
/home/pi/Desktop/images/17122025/07/04/image_17122025_07_04_15_9721.jpg
/home/pi/Desktop/images/17122025/07/04/image_17122025_07_04_24_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":["1399752072","1399752074","1399752070","1399752076","1399752081","1399752078"],"photo_ids_order":["1399752070","1399752072","1399752074","1399752076","1399752078","1399752081"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f500ba1557e94c37dc0166697220e905.jpg","text":"TemporaryFile(/tmp/multipartBody5678267842501308190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951563816,"filename":"image_17122025_07_03_24_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f24df37e9b42fa70072bd345279ad34c.jpg","text":"TemporaryFile(/tmp/multipartBody3226291960731999996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951563816,"filename":"image_17122025_07_03_54_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f452acdd80d5e98fdee06c2ea9233ec.jpg","text":"TemporaryFile(/tmp/multipartBody1622507237403502537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951563816,"filename":"image_17122025_07_03_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c2cbc8b2f1de8332461c44c30f20c58.jpg","text":"TemporaryFile(/tmp/multipartBody4573368920444712413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951563816,"filename":"image_17122025_07_04_05_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77206ab26c4dafe051bee6b823876167.jpg","text":"TemporaryFile(/tmp/multipartBody8791032545365484001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951563816,"filename":"image_17122025_07_04_24_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a061f8af168217905122fe27b9172d72.jpg","text":"TemporaryFile(/tmp/multipartBody5878337738125120581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951563816,"filename":"image_17122025_07_04_15_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752074","file1":"1399752072","file0":"1399752070","file4":"1399752078","file5":"1399752081","file3":"1399752076"},"map_files_photo_id_array":[{"photo_id":"1399752081","filename":"file5"},{"photo_id":"1399752074","filename":"file2"},{"photo_id":"1399752078","filename":"file4"},{"photo_id":"1399752072","filename":"file1"},{"photo_id":"1399752070","filename":"file0"},{"photo_id":"1399752076","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752072":["hashtag1","hashtag2"]},{"1399752074":["hashtag1","hashtag2"]},{"1399752070":["hashtag1","hashtag2"]},{"1399752076":["hashtag1","hashtag2"]},{"1399752081":["hashtag1","hashtag2"]},{"1399752078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752072, 1399752074, 1399752070, 1399752076, 1399752081, 1399752078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.200915575027466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:05:42.550011
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_30_4112.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_31_1637.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_34_2589.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_38_3751.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_40_2886.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_43_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_30_4112.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_31_1637.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_34_2589.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_38_3751.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_40_2886.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_43_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752105","1399752104","1399752107","1399752088","1399752106","1399752096"],"photo_ids_order":["1399752088","1399752096","1399752104","1399752105","1399752106","1399752107"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a00a9c5ef3ab86e3619912573d937a8.jpg","text":"TemporaryFile(/tmp/multipartBody4320380366142396465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951603262,"filename":"image_07112025_17_29_38_3751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d6e0983671eebe6a23f7a2caaec06b6.jpg","text":"TemporaryFile(/tmp/multipartBody7258509134089693866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951603262,"filename":"image_07112025_17_29_34_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d462df669d9883e0237e0104075e7c1b.jpg","text":"TemporaryFile(/tmp/multipartBody7913822270472352597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951603262,"filename":"image_07112025_17_29_43_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1432c94dbb0db5186213eea7fd05e72.jpg","text":"TemporaryFile(/tmp/multipartBody6219203663862256601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951603262,"filename":"image_07112025_17_29_30_4112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0a13d3ba0fdc673e54ec71907f62fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5881956561464290440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951603262,"filename":"image_07112025_17_29_40_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b6d57235adcaed85ee30232fd900541.jpg","text":"TemporaryFile(/tmp/multipartBody2519834928636558806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951603262,"filename":"image_07112025_17_29_31_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752104","file1":"1399752096","file0":"1399752088","file4":"1399752106","file5":"1399752107","file3":"1399752105"},"map_files_photo_id_array":[{"photo_id":"1399752107","filename":"file5"},{"photo_id":"1399752104","filename":"file2"},{"photo_id":"1399752106","filename":"file4"},{"photo_id":"1399752096","filename":"file1"},{"photo_id":"1399752088","filename":"file0"},{"photo_id":"1399752105","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399752105":["hashtag1","hashtag2"]},{"1399752104":["hashtag1","hashtag2"]},{"1399752107":["hashtag1","hashtag2"]},{"1399752088":["hashtag1","hashtag2"]},{"1399752106":["hashtag1","hashtag2"]},{"1399752096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399752105, 1399752104, 1399752107, 1399752088, 1399752106, 1399752096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.818623542785645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:06:22.791028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/04/image_17122025_07_04_44_9657.jpg', '/home/pi/Desktop/images/17122025/07/04/image_17122025_07_04_55_10595.jpg', '/home/pi/Desktop/images/17122025/07/04/image_17122025_07_05_05_9754.jpg', '/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_15_9710.jpg', '/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_24_9651.jpg', '/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_35_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/04/image_17122025_07_04_44_9657.jpg
/home/pi/Desktop/images/17122025/07/04/image_17122025_07_04_55_10595.jpg
/home/pi/Desktop/images/17122025/07/04/image_17122025_07_05_05_9754.jpg
/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_15_9710.jpg
/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_24_9651.jpg
/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_35_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752117","1399752119","1399752113","1399752121","1399752115","1399752124"],"photo_ids_order":["1399752113","1399752115","1399752117","1399752119","1399752121","1399752124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d4236e7921b358d595409a82b67e3d8.jpg","text":"TemporaryFile(/tmp/multipartBody3249122440127689860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951643365,"filename":"image_17122025_07_05_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2942d10d34d523885ae9ab7df2cc09d.jpg","text":"TemporaryFile(/tmp/multipartBody5784462864057502325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951643365,"filename":"image_17122025_07_05_15_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f99a5b318491b72976ee286023b0a1f1.jpg","text":"TemporaryFile(/tmp/multipartBody2807616120080560915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951643365,"filename":"image_17122025_07_04_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5333a8745ebac08cd8fff871c3826ad0.jpg","text":"TemporaryFile(/tmp/multipartBody3153825114505576905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951643365,"filename":"image_17122025_07_05_24_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dab68212592334c2ec9718c63cf85375.jpg","text":"TemporaryFile(/tmp/multipartBody8324946614355003621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951643365,"filename":"image_17122025_07_04_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98d8f96d1e9eb3de50b5814f425a66f4.jpg","text":"TemporaryFile(/tmp/multipartBody997507241228096828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951643365,"filename":"image_17122025_07_05_35_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752117","file1":"1399752115","file0":"1399752113","file4":"1399752121","file5":"1399752124","file3":"1399752119"},"map_files_photo_id_array":[{"photo_id":"1399752124","filename":"file5"},{"photo_id":"1399752117","filename":"file2"},{"photo_id":"1399752121","filename":"file4"},{"photo_id":"1399752115","filename":"file1"},{"photo_id":"1399752113","filename":"file0"},{"photo_id":"1399752119","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752117":["hashtag1","hashtag2"]},{"1399752119":["hashtag1","hashtag2"]},{"1399752113":["hashtag1","hashtag2"]},{"1399752121":["hashtag1","hashtag2"]},{"1399752115":["hashtag1","hashtag2"]},{"1399752124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752117, 1399752119, 1399752113, 1399752121, 1399752115, 1399752124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.826133728027344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:07:02.650421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_44_9701.jpg', '/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_54_9839.jpg', '/home/pi/Desktop/images/17122025/07/05/image_17122025_07_06_05_10722.jpg', '/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_15_9667.jpg', '/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_25_9800.jpg', '/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_34_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_44_9701.jpg
/home/pi/Desktop/images/17122025/07/05/image_17122025_07_05_54_9839.jpg
/home/pi/Desktop/images/17122025/07/05/image_17122025_07_06_05_10722.jpg
/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_15_9667.jpg
/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_25_9800.jpg
/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_34_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752132","1399752141","1399752143","1399752137","1399752146","1399752139"],"photo_ids_order":["1399752132","1399752137","1399752139","1399752141","1399752143","1399752146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e167d8a7a611d8036f3c2e4a46727dec.jpg","text":"TemporaryFile(/tmp/multipartBody9184114128206109885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951683299,"filename":"image_17122025_07_05_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98df89146046e8b8e5a0a17484f70b1d.jpg","text":"TemporaryFile(/tmp/multipartBody5765407755229773887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951683299,"filename":"image_17122025_07_06_15_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2028412e223a1f753c75cc4c32a4ec9.jpg","text":"TemporaryFile(/tmp/multipartBody1317233370598133924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951683299,"filename":"image_17122025_07_06_25_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d807dcc000de346a909d8fd7cfc1b1f.jpg","text":"TemporaryFile(/tmp/multipartBody2694363207623866482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951683299,"filename":"image_17122025_07_05_54_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f631385a6c2dafaab7058f3cd7ea0b20.jpg","text":"TemporaryFile(/tmp/multipartBody5461019379669289032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951683299,"filename":"image_17122025_07_06_34_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b830ac2f31c1abe96a0e287d645300fa.jpg","text":"TemporaryFile(/tmp/multipartBody8375282368700784899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951683299,"filename":"image_17122025_07_06_05_10722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752139","file1":"1399752137","file0":"1399752132","file4":"1399752143","file5":"1399752146","file3":"1399752141"},"map_files_photo_id_array":[{"photo_id":"1399752146","filename":"file5"},{"photo_id":"1399752139","filename":"file2"},{"photo_id":"1399752143","filename":"file4"},{"photo_id":"1399752137","filename":"file1"},{"photo_id":"1399752132","filename":"file0"},{"photo_id":"1399752141","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752132":["hashtag1","hashtag2"]},{"1399752141":["hashtag1","hashtag2"]},{"1399752143":["hashtag1","hashtag2"]},{"1399752137":["hashtag1","hashtag2"]},{"1399752146":["hashtag1","hashtag2"]},{"1399752139":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752132, 1399752141, 1399752143, 1399752137, 1399752146, 1399752139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59246563911438 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:07:42.170284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_47_3577.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_49_2641.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_52_2658.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_56_3703.jpg', '/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_59_2761.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_47_3577.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_49_2641.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_52_2658.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_56_3703.jpg
/home/pi/Desktop/images/07112025/17/29/image_07112025_17_29_59_2761.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_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":["1399752165","1399752153","1399752158","1399752166","1399752163","1399752157"],"photo_ids_order":["1399752153","1399752157","1399752158","1399752163","1399752165","1399752166"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0217c9f89f045c94fdbaa38d372cdf79.jpg","text":"TemporaryFile(/tmp/multipartBody1100563050906969507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951722881,"filename":"image_07112025_17_29_59_2761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/343d48c948ec1f781ada148f7138332a.jpg","text":"TemporaryFile(/tmp/multipartBody2636651903627522106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951722881,"filename":"image_07112025_17_29_47_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38d1246bba4b92267d8a6210dbd7d101.jpg","text":"TemporaryFile(/tmp/multipartBody8101329358321344632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951722881,"filename":"image_07112025_17_29_52_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/caceec1297d2a00d7580584298bf92d0.jpg","text":"TemporaryFile(/tmp/multipartBody3074430723433644174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951722881,"filename":"image_07112025_17_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/2025/12/17/723dfb26b5e998605e467fa8c47d5f28.jpg","text":"TemporaryFile(/tmp/multipartBody9041083268655464483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951722881,"filename":"image_07112025_17_29_56_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d3806ab0e2acb1497388ddf262ac262.jpg","text":"TemporaryFile(/tmp/multipartBody4139333662675605788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951722881,"filename":"image_07112025_17_29_49_2641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752158","file1":"1399752157","file0":"1399752153","file4":"1399752165","file5":"1399752166","file3":"1399752163"},"map_files_photo_id_array":[{"photo_id":"1399752166","filename":"file5"},{"photo_id":"1399752158","filename":"file2"},{"photo_id":"1399752165","filename":"file4"},{"photo_id":"1399752157","filename":"file1"},{"photo_id":"1399752153","filename":"file0"},{"photo_id":"1399752163","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399752165":["hashtag1","hashtag2"]},{"1399752153":["hashtag1","hashtag2"]},{"1399752158":["hashtag1","hashtag2"]},{"1399752166":["hashtag1","hashtag2"]},{"1399752163":["hashtag1","hashtag2"]},{"1399752157":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399752165, 1399752153, 1399752158, 1399752166, 1399752163, 1399752157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.660929679870605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:08:22.438710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_45_10640.jpg', '/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_55_9626.jpg', '/home/pi/Desktop/images/17122025/07/06/image_17122025_07_07_04_9783.jpg', '/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_15_10715.jpg', '/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_25_9621.jpg', '/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_34_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_45_10640.jpg
/home/pi/Desktop/images/17122025/07/06/image_17122025_07_06_55_9626.jpg
/home/pi/Desktop/images/17122025/07/06/image_17122025_07_07_04_9783.jpg
/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_15_10715.jpg
/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_25_9621.jpg
/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_34_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752171","1399752173","1399752179","1399752181","1399752175","1399752177"],"photo_ids_order":["1399752171","1399752173","1399752175","1399752177","1399752179","1399752181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5dcef943b99c962979705d6d2be08f16.jpg","text":"TemporaryFile(/tmp/multipartBody3667047615238006922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951763073,"filename":"image_17122025_07_06_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcc08f66e086f18d54482e49a7395c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2431279387106957124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951763073,"filename":"image_17122025_07_06_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da2be8e6ee48c52948df42ed82380291.jpg","text":"TemporaryFile(/tmp/multipartBody8976834661497740285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951763073,"filename":"image_17122025_07_07_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bd980ea9d69445bf9b0f5e47a3934b1.jpg","text":"TemporaryFile(/tmp/multipartBody1508731083851188984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951763073,"filename":"image_17122025_07_07_34_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a402863e33101d9d09cbeca3156816f0.jpg","text":"TemporaryFile(/tmp/multipartBody6205200091536152196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951763073,"filename":"image_17122025_07_07_04_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/edaf4cdc1a2db577b7d58f9664ba2cac.jpg","text":"TemporaryFile(/tmp/multipartBody3885285212577413662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951763073,"filename":"image_17122025_07_07_15_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752175","file1":"1399752173","file0":"1399752171","file4":"1399752179","file5":"1399752181","file3":"1399752177"},"map_files_photo_id_array":[{"photo_id":"1399752181","filename":"file5"},{"photo_id":"1399752175","filename":"file2"},{"photo_id":"1399752179","filename":"file4"},{"photo_id":"1399752173","filename":"file1"},{"photo_id":"1399752171","filename":"file0"},{"photo_id":"1399752177","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752171":["hashtag1","hashtag2"]},{"1399752173":["hashtag1","hashtag2"]},{"1399752179":["hashtag1","hashtag2"]},{"1399752181":["hashtag1","hashtag2"]},{"1399752175":["hashtag1","hashtag2"]},{"1399752177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752171, 1399752173, 1399752179, 1399752181, 1399752175, 1399752177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38950991630554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:09:03.623013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_44_9754.jpg', '/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_55_10812.jpg', '/home/pi/Desktop/images/17122025/07/07/image_17122025_07_08_05_9699.jpg', '/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_15_9897.jpg', '/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_24_9679.jpg', '/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_34_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_44_9754.jpg
/home/pi/Desktop/images/17122025/07/07/image_17122025_07_07_55_10812.jpg
/home/pi/Desktop/images/17122025/07/07/image_17122025_07_08_05_9699.jpg
/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_15_9897.jpg
/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_24_9679.jpg
/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_34_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399752222","1399752216","1399752210","1399752218","1399752220","1399752214"],"photo_ids_order":["1399752210","1399752214","1399752216","1399752218","1399752220","1399752222"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/405cfdded5ec4d436a8d2cb1a34bd7d4.jpg","text":"TemporaryFile(/tmp/multipartBody24164280294978339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951804439,"filename":"image_17122025_07_08_34_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b723c37e0e1d5c49a5eb3b77a563c26.jpg","text":"TemporaryFile(/tmp/multipartBody2438372478632964811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951804439,"filename":"image_17122025_07_08_05_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b69e24c3b2cfc8d0d373ec159d762e83.jpg","text":"TemporaryFile(/tmp/multipartBody6166491193991143299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951804439,"filename":"image_17122025_07_07_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffb742d3989dd73ad47c3447d6c56c06.jpg","text":"TemporaryFile(/tmp/multipartBody5820173601558220686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951804439,"filename":"image_17122025_07_08_15_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/036128fbf534a62d54207173fd420210.jpg","text":"TemporaryFile(/tmp/multipartBody7819862450284472318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951804439,"filename":"image_17122025_07_08_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5df9415684106206dec59a43dbce761e.jpg","text":"TemporaryFile(/tmp/multipartBody7275290998686116253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951804439,"filename":"image_17122025_07_07_55_10812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752216","file1":"1399752214","file0":"1399752210","file4":"1399752220","file5":"1399752222","file3":"1399752218"},"map_files_photo_id_array":[{"photo_id":"1399752222","filename":"file5"},{"photo_id":"1399752216","filename":"file2"},{"photo_id":"1399752220","filename":"file4"},{"photo_id":"1399752214","filename":"file1"},{"photo_id":"1399752210","filename":"file0"},{"photo_id":"1399752218","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752222":["hashtag1","hashtag2"]},{"1399752216":["hashtag1","hashtag2"]},{"1399752210":["hashtag1","hashtag2"]},{"1399752218":["hashtag1","hashtag2"]},{"1399752220":["hashtag1","hashtag2"]},{"1399752214":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752222, 1399752216, 1399752210, 1399752218, 1399752220, 1399752214)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98292589187622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:10:02.760326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_45_10663.jpg', '/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_54_9712.jpg', '/home/pi/Desktop/images/17122025/07/08/image_17122025_07_09_05_10592.jpg', '/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_15_9885.jpg', '/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_25_9738.jpg', '/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_34_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_45_10663.jpg
/home/pi/Desktop/images/17122025/07/08/image_17122025_07_08_54_9712.jpg
/home/pi/Desktop/images/17122025/07/08/image_17122025_07_09_05_10592.jpg
/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_15_9885.jpg
/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_25_9738.jpg
/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_34_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":["1399752240","1399752234","1399752242","1399752236","1399752244","1399752238"],"photo_ids_order":["1399752234","1399752236","1399752238","1399752240","1399752242","1399752244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d5780e018cea96e98466a2a8d388b40.jpg","text":"TemporaryFile(/tmp/multipartBody5385354378530170986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951863428,"filename":"image_17122025_07_09_15_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17ed5db3a4878a48e77345fec54c81e8.jpg","text":"TemporaryFile(/tmp/multipartBody4404864417663946621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951863428,"filename":"image_17122025_07_08_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bf690cd469e65de22935bf931e886a2.jpg","text":"TemporaryFile(/tmp/multipartBody6912483680611124069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951863428,"filename":"image_17122025_07_09_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82e7f413df60c3205dea9ec43742df3f.jpg","text":"TemporaryFile(/tmp/multipartBody7964420772515293628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951863428,"filename":"image_17122025_07_08_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cc4f8b637ff1c1893b6a28e39403df4.jpg","text":"TemporaryFile(/tmp/multipartBody711661156058031830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951863428,"filename":"image_17122025_07_09_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d85124165815fc8b420e4a261337a10.jpg","text":"TemporaryFile(/tmp/multipartBody6661486668465243642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951863428,"filename":"image_17122025_07_09_05_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752238","file1":"1399752236","file0":"1399752234","file4":"1399752242","file5":"1399752244","file3":"1399752240"},"map_files_photo_id_array":[{"photo_id":"1399752244","filename":"file5"},{"photo_id":"1399752238","filename":"file2"},{"photo_id":"1399752242","filename":"file4"},{"photo_id":"1399752236","filename":"file1"},{"photo_id":"1399752234","filename":"file0"},{"photo_id":"1399752240","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752240":["hashtag1","hashtag2"]},{"1399752234":["hashtag1","hashtag2"]},{"1399752242":["hashtag1","hashtag2"]},{"1399752236":["hashtag1","hashtag2"]},{"1399752244":["hashtag1","hashtag2"]},{"1399752238":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752240, 1399752234, 1399752242, 1399752236, 1399752244, 1399752238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39470386505127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:10:42.306577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_14_2698.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_16_2636.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_20_3684.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_23_2746.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_25_2750.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_29_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_14_2698.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_16_2636.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_20_3684.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_23_2746.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_25_2750.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_29_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":["1399752264","1399752267","1399752266","1399752254","1399752265","1399752268"],"photo_ids_order":["1399752254","1399752264","1399752265","1399752266","1399752267","1399752268"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c961b32eed4052cf7040cd3c4f4a5e9.jpg","text":"TemporaryFile(/tmp/multipartBody910509127071803709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951903010,"filename":"image_07112025_17_30_16_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2de211fbde404c6aa5cf5b230e146787.jpg","text":"TemporaryFile(/tmp/multipartBody2343521594242978267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951903010,"filename":"image_07112025_17_30_25_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11f05b603778092342e8109bd3333f2e.jpg","text":"TemporaryFile(/tmp/multipartBody5934015574951151856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951903010,"filename":"image_07112025_17_30_23_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eec6bb5b84a34878e98773fbb3e0cd42.jpg","text":"TemporaryFile(/tmp/multipartBody3769121769515186146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951903010,"filename":"image_07112025_17_30_14_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5af5c5461b1a829d25f0bc59ee4f9a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7644864192546547646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951903010,"filename":"image_07112025_17_30_20_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cade72f7971c656fd5d3926111ad7924.jpg","text":"TemporaryFile(/tmp/multipartBody3652719516028941424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951903010,"filename":"image_07112025_17_30_29_3571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752265","file1":"1399752264","file0":"1399752254","file4":"1399752267","file5":"1399752268","file3":"1399752266"},"map_files_photo_id_array":[{"photo_id":"1399752268","filename":"file5"},{"photo_id":"1399752265","filename":"file2"},{"photo_id":"1399752267","filename":"file4"},{"photo_id":"1399752264","filename":"file1"},{"photo_id":"1399752254","filename":"file0"},{"photo_id":"1399752266","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399752264":["hashtag1","hashtag2"]},{"1399752267":["hashtag1","hashtag2"]},{"1399752266":["hashtag1","hashtag2"]},{"1399752254":["hashtag1","hashtag2"]},{"1399752265":["hashtag1","hashtag2"]},{"1399752268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399752264, 1399752267, 1399752266, 1399752254, 1399752265, 1399752268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43028903007507 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:11:22.603482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_45_10670.jpg', '/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_55_9629.jpg', '/home/pi/Desktop/images/17122025/07/09/image_17122025_07_10_05_9885.jpg', '/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_14_9665.jpg', '/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_25_10571.jpg', '/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_34_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_45_10670.jpg
/home/pi/Desktop/images/17122025/07/09/image_17122025_07_09_55_9629.jpg
/home/pi/Desktop/images/17122025/07/09/image_17122025_07_10_05_9885.jpg
/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_14_9665.jpg
/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_25_10571.jpg
/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_34_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752272","1399752275","1399752278","1399752277","1399752280","1399752288"],"photo_ids_order":["1399752272","1399752275","1399752277","1399752278","1399752280","1399752288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/843d0747191ca5a1a5aac3379797908e.jpg","text":"TemporaryFile(/tmp/multipartBody4292455830270186558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951943256,"filename":"image_17122025_07_09_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d24f8888dc3d736b9d946c5bdd65e60.jpg","text":"TemporaryFile(/tmp/multipartBody1581388377210138126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951943256,"filename":"image_17122025_07_09_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36830b1af7196bdf225d7388bb42fb9a.jpg","text":"TemporaryFile(/tmp/multipartBody1668425555315157072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951943256,"filename":"image_17122025_07_10_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c01e5b436a9d9524a3de51a32eb4d99.jpg","text":"TemporaryFile(/tmp/multipartBody2453223366858983651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951943256,"filename":"image_17122025_07_10_05_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/682c19e58e496f5bb858668c69657c9e.jpg","text":"TemporaryFile(/tmp/multipartBody8170402272105771856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951943256,"filename":"image_17122025_07_10_25_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c03b9bdb26dba23e65f9030f09d99ec3.jpg","text":"TemporaryFile(/tmp/multipartBody8007722078542893172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951943256,"filename":"image_17122025_07_10_34_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752277","file1":"1399752275","file0":"1399752272","file4":"1399752280","file5":"1399752288","file3":"1399752278"},"map_files_photo_id_array":[{"photo_id":"1399752288","filename":"file5"},{"photo_id":"1399752277","filename":"file2"},{"photo_id":"1399752280","filename":"file4"},{"photo_id":"1399752275","filename":"file1"},{"photo_id":"1399752272","filename":"file0"},{"photo_id":"1399752278","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752272":["hashtag1","hashtag2"]},{"1399752275":["hashtag1","hashtag2"]},{"1399752278":["hashtag1","hashtag2"]},{"1399752277":["hashtag1","hashtag2"]},{"1399752280":["hashtag1","hashtag2"]},{"1399752288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752272, 1399752275, 1399752278, 1399752277, 1399752280, 1399752288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27217364311218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:12:03.330861
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_44_9784.jpg', '/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_55_10712.jpg', '/home/pi/Desktop/images/17122025/07/10/image_17122025_07_11_05_9694.jpg', '/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_14_9760.jpg', '/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_24_9717.jpg', '/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_35_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_44_9784.jpg
/home/pi/Desktop/images/17122025/07/10/image_17122025_07_10_55_10712.jpg
/home/pi/Desktop/images/17122025/07/10/image_17122025_07_11_05_9694.jpg
/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_14_9760.jpg
/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_24_9717.jpg
/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_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":["1399752300","1399752293","1399752296","1399752295","1399752298","1399752297"],"photo_ids_order":["1399752293","1399752295","1399752296","1399752297","1399752298","1399752300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b469deaa0a88a8b08d2500dcbd316401.jpg","text":"TemporaryFile(/tmp/multipartBody7658797371548222845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951983993,"filename":"image_17122025_07_11_35_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac81ad521874550abd44122ff606b8a7.jpg","text":"TemporaryFile(/tmp/multipartBody641722778140695397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951983993,"filename":"image_17122025_07_10_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51f49c0b655d1113a5b219abcffa6e58.jpg","text":"TemporaryFile(/tmp/multipartBody9184504479490954875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951983993,"filename":"image_17122025_07_11_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/775363658b5486b397d0cb0c91ed00d2.jpg","text":"TemporaryFile(/tmp/multipartBody6214388052740712277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951983993,"filename":"image_17122025_07_10_55_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/979db078e80844add2bafa5c78d998dd.jpg","text":"TemporaryFile(/tmp/multipartBody3653735753073147833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951983993,"filename":"image_17122025_07_11_24_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db171ebf2af1153661725bc55a4035b7.jpg","text":"TemporaryFile(/tmp/multipartBody7027779510100377999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765951983993,"filename":"image_17122025_07_11_14_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752296","file1":"1399752295","file0":"1399752293","file4":"1399752298","file5":"1399752300","file3":"1399752297"},"map_files_photo_id_array":[{"photo_id":"1399752300","filename":"file5"},{"photo_id":"1399752296","filename":"file2"},{"photo_id":"1399752298","filename":"file4"},{"photo_id":"1399752295","filename":"file1"},{"photo_id":"1399752293","filename":"file0"},{"photo_id":"1399752297","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752300":["hashtag1","hashtag2"]},{"1399752293":["hashtag1","hashtag2"]},{"1399752296":["hashtag1","hashtag2"]},{"1399752295":["hashtag1","hashtag2"]},{"1399752298":["hashtag1","hashtag2"]},{"1399752297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752300, 1399752293, 1399752296, 1399752295, 1399752298, 1399752297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00899791717529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:12:42.828248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_32_2631.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_34_2653.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_38_3619.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_40_2582.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_43_2996.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_47_3605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_32_2631.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_34_2653.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_38_3619.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_40_2582.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_43_2996.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_47_3605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752312","1399752306","1399752309","1399752311","1399752308","1399752310"],"photo_ids_order":["1399752306","1399752308","1399752309","1399752310","1399752311","1399752312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55b8db9155492f1d7ee8d3ef3bf3c007.jpg","text":"TemporaryFile(/tmp/multipartBody5000144880046520415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952023590,"filename":"image_07112025_17_30_47_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87952b5b4f5ca418cc7e9d05282e20af.jpg","text":"TemporaryFile(/tmp/multipartBody4116773270281490433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952023590,"filename":"image_07112025_17_30_32_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/779ee32b01df8394bb094efd1f13ebf8.jpg","text":"TemporaryFile(/tmp/multipartBody7195634069200650397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952023590,"filename":"image_07112025_17_30_38_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7591cea9e2840660781501a30bea43e8.jpg","text":"TemporaryFile(/tmp/multipartBody7770507238345091398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952023590,"filename":"image_07112025_17_30_43_2996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5267cd45dece954735ff81a28465a4ba.jpg","text":"TemporaryFile(/tmp/multipartBody7814407473257558465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952023590,"filename":"image_07112025_17_30_34_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebc62f9878815dfad9f4044296a5cb49.jpg","text":"TemporaryFile(/tmp/multipartBody7605542334473637366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952023590,"filename":"image_07112025_17_30_40_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752309","file1":"1399752308","file0":"1399752306","file4":"1399752311","file5":"1399752312","file3":"1399752310"},"map_files_photo_id_array":[{"photo_id":"1399752312","filename":"file5"},{"photo_id":"1399752309","filename":"file2"},{"photo_id":"1399752311","filename":"file4"},{"photo_id":"1399752308","filename":"file1"},{"photo_id":"1399752306","filename":"file0"},{"photo_id":"1399752310","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399752312":["hashtag1","hashtag2"]},{"1399752306":["hashtag1","hashtag2"]},{"1399752309":["hashtag1","hashtag2"]},{"1399752311":["hashtag1","hashtag2"]},{"1399752308":["hashtag1","hashtag2"]},{"1399752310":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399752312, 1399752306, 1399752309, 1399752311, 1399752308, 1399752310)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.42875599861145 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:13:32.178500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:13:42.141519
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_50_2644.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_52_2696.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_56_3721.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_59_2570.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_01_2534.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_05_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_50_2644.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_52_2696.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_56_3721.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_59_2570.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_01_2534.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_05_3748.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6106164455413818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:14:03.096182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_45_9674.jpg', '/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_54_9770.jpg', '/home/pi/Desktop/images/17122025/07/11/image_17122025_07_12_05_10613.jpg', '/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_14_9218.jpg', '/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_25_10855.jpg', '/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_35_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_45_9674.jpg
/home/pi/Desktop/images/17122025/07/11/image_17122025_07_11_54_9770.jpg
/home/pi/Desktop/images/17122025/07/11/image_17122025_07_12_05_10613.jpg
/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_14_9218.jpg
/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_25_10855.jpg
/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_35_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":["1399752342","1399752336","1399752339","1399752332","1399752340","1399752334"],"photo_ids_order":["1399752332","1399752334","1399752336","1399752339","1399752340","1399752342"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb616336344ccfc0a1445ec84db55338.jpg","text":"TemporaryFile(/tmp/multipartBody4149940963573500137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952103902,"filename":"image_17122025_07_12_35_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bffdc65e5b511772941337983fd611ec.jpg","text":"TemporaryFile(/tmp/multipartBody8385763238801659607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952103902,"filename":"image_17122025_07_12_05_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ecb5358259e58c4d3b620e2e773036d.jpg","text":"TemporaryFile(/tmp/multipartBody1965270425992469522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952103902,"filename":"image_17122025_07_12_14_9218.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/729ddc99368dd068834f20de8cd747da.jpg","text":"TemporaryFile(/tmp/multipartBody5247667573475594866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952103902,"filename":"image_17122025_07_11_45_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19475533f7626aeae13d74f59c344bc5.jpg","text":"TemporaryFile(/tmp/multipartBody4770779953848735224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952103902,"filename":"image_17122025_07_12_25_10855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e6bd47bd0b371f0e1a1744f7a10ce07.jpg","text":"TemporaryFile(/tmp/multipartBody1363552566421121210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952103902,"filename":"image_17122025_07_11_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752336","file1":"1399752334","file0":"1399752332","file4":"1399752340","file5":"1399752342","file3":"1399752339"},"map_files_photo_id_array":[{"photo_id":"1399752342","filename":"file5"},{"photo_id":"1399752336","filename":"file2"},{"photo_id":"1399752340","filename":"file4"},{"photo_id":"1399752334","filename":"file1"},{"photo_id":"1399752332","filename":"file0"},{"photo_id":"1399752339","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752342":["hashtag1","hashtag2"]},{"1399752336":["hashtag1","hashtag2"]},{"1399752339":["hashtag1","hashtag2"]},{"1399752332":["hashtag1","hashtag2"]},{"1399752340":["hashtag1","hashtag2"]},{"1399752334":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752342, 1399752336, 1399752339, 1399752332, 1399752340, 1399752334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.776872634887695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:14:42.393082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_50_2644.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_52_2696.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_56_3721.jpg', '/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_59_2570.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_01_2534.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_05_3748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_50_2644.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_52_2696.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_56_3721.jpg
/home/pi/Desktop/images/07112025/17/30/image_07112025_17_30_59_2570.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_01_2534.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_05_3748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752378","1399752374","1399752377","1399752376","1399752352","1399752360"],"photo_ids_order":["1399752352","1399752360","1399752374","1399752376","1399752377","1399752378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0b534addea125a222b33be47b6eb81d.jpg","text":"TemporaryFile(/tmp/multipartBody5998775872680838743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952142990,"filename":"image_07112025_17_31_05_3748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f78809a466f762c7ca6d719eec34085b.jpg","text":"TemporaryFile(/tmp/multipartBody1685593402985765990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952142990,"filename":"image_07112025_17_30_56_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ce8694bce968c42f35835c8589c7f53.jpg","text":"TemporaryFile(/tmp/multipartBody1838759881614992438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952142990,"filename":"image_07112025_17_31_01_2534.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c6fbb973e82de30ec2687308db96d70.jpg","text":"TemporaryFile(/tmp/multipartBody1974443209240184038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952142990,"filename":"image_07112025_17_30_59_2570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f158d0a7f3fd23ea88ace2ec4486cdd3.jpg","text":"TemporaryFile(/tmp/multipartBody6941753632991691937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952142990,"filename":"image_07112025_17_30_50_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06883cf0a4529fb845bcbc455885850f.jpg","text":"TemporaryFile(/tmp/multipartBody1295394625378877297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952142990,"filename":"image_07112025_17_30_52_2696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752374","file1":"1399752360","file0":"1399752352","file4":"1399752377","file5":"1399752378","file3":"1399752376"},"map_files_photo_id_array":[{"photo_id":"1399752378","filename":"file5"},{"photo_id":"1399752374","filename":"file2"},{"photo_id":"1399752377","filename":"file4"},{"photo_id":"1399752360","filename":"file1"},{"photo_id":"1399752352","filename":"file0"},{"photo_id":"1399752376","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399752378":["hashtag1","hashtag2"]},{"1399752374":["hashtag1","hashtag2"]},{"1399752377":["hashtag1","hashtag2"]},{"1399752376":["hashtag1","hashtag2"]},{"1399752352":["hashtag1","hashtag2"]},{"1399752360":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399752378, 1399752374, 1399752377, 1399752376, 1399752352, 1399752360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63827204704285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:15:22.686798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_44_9670.jpg', '/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_55_10557.jpg', '/home/pi/Desktop/images/17122025/07/12/image_17122025_07_13_04_9548.jpg', '/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_15_10558.jpg', '/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_25_9738.jpg', '/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_34_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_44_9670.jpg
/home/pi/Desktop/images/17122025/07/12/image_17122025_07_12_55_10557.jpg
/home/pi/Desktop/images/17122025/07/12/image_17122025_07_13_04_9548.jpg
/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_15_10558.jpg
/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_25_9738.jpg
/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_34_9565.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752383","1399752386","1399752389","1399752391","1399752379","1399752381"],"photo_ids_order":["1399752379","1399752381","1399752383","1399752386","1399752389","1399752391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90b2dd69d4c41f85460db59f1b4bb022.jpg","text":"TemporaryFile(/tmp/multipartBody2220968093814995506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952183254,"filename":"image_17122025_07_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/2025/12/17/8e4dbb35ae4075a019cf3b391c1ef682.jpg","text":"TemporaryFile(/tmp/multipartBody3065532832955243278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952183254,"filename":"image_17122025_07_13_15_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da30db335888955eccf41d0809d1f455.jpg","text":"TemporaryFile(/tmp/multipartBody7168205899857912311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952183254,"filename":"image_17122025_07_13_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c26b36b08c8a10f95041d9379445d6b.jpg","text":"TemporaryFile(/tmp/multipartBody7192968389508322250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952183254,"filename":"image_17122025_07_13_34_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46aa92fb401f38577658a7de7f88768b.jpg","text":"TemporaryFile(/tmp/multipartBody1201118743309950286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952183254,"filename":"image_17122025_07_12_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/311fc5400f5db7f0333b8e61103fee3d.jpg","text":"TemporaryFile(/tmp/multipartBody7386190705080160716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952183254,"filename":"image_17122025_07_12_55_10557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752383","file1":"1399752381","file0":"1399752379","file4":"1399752389","file5":"1399752391","file3":"1399752386"},"map_files_photo_id_array":[{"photo_id":"1399752391","filename":"file5"},{"photo_id":"1399752383","filename":"file2"},{"photo_id":"1399752389","filename":"file4"},{"photo_id":"1399752381","filename":"file1"},{"photo_id":"1399752379","filename":"file0"},{"photo_id":"1399752386","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752383":["hashtag1","hashtag2"]},{"1399752386":["hashtag1","hashtag2"]},{"1399752389":["hashtag1","hashtag2"]},{"1399752391":["hashtag1","hashtag2"]},{"1399752379":["hashtag1","hashtag2"]},{"1399752381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752383, 1399752386, 1399752389, 1399752391, 1399752379, 1399752381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.36073541641235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:16:11.999648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:16:21.976483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_45_10631.jpg', '/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_54_9643.jpg', '/home/pi/Desktop/images/17122025/07/13/image_17122025_07_14_04_9779.jpg', '/home/pi/Desktop/images/17122025/07/14/image_17122025_07_14_15_10649.jpg', '/home/pi/Desktop/images/17122025/07/14/image_17122025_07_14_25_9903.jpg', '/home/pi/Desktop/images/17122025/07/14/image_17122025_07_14_35_10121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_45_10631.jpg
/home/pi/Desktop/images/17122025/07/13/image_17122025_07_13_54_9643.jpg
/home/pi/Desktop/images/17122025/07/13/image_17122025_07_14_04_9779.jpg
/home/pi/Desktop/images/17122025/07/14/image_17122025_07_14_15_10649.jpg
/home/pi/Desktop/images/17122025/07/14/image_17122025_07_14_25_9903.jpg
/home/pi/Desktop/images/17122025/07/14/image_17122025_07_14_35_10121.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752417","1399752426","1399752405","1399752414","1399752410","1399752407"],"photo_ids_order":["1399752405","1399752407","1399752410","1399752414","1399752417","1399752426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5dcce240bbb477634938dcbef8142ba.jpg","text":"TemporaryFile(/tmp/multipartBody314231458531854554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952242543,"filename":"image_17122025_07_14_25_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb8d2f284512d0de216e6b3c146070ec.jpg","text":"TemporaryFile(/tmp/multipartBody5383153509054791031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952242543,"filename":"image_17122025_07_14_35_10121.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/987e9f3618cbfaa73f127af1b400de9e.jpg","text":"TemporaryFile(/tmp/multipartBody4608094382376132906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952242543,"filename":"image_17122025_07_13_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2bc45bdaa9112a1c9d39d0073621a8d.jpg","text":"TemporaryFile(/tmp/multipartBody1993114743089481879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952242543,"filename":"image_17122025_07_14_15_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ef8995f3e3d193174473215e5f9972f.jpg","text":"TemporaryFile(/tmp/multipartBody3539999168341076485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952242543,"filename":"image_17122025_07_14_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26be1f90daa26af4523a6ccb3d2e9f65.jpg","text":"TemporaryFile(/tmp/multipartBody7460607855317153776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952242543,"filename":"image_17122025_07_13_54_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752410","file1":"1399752407","file0":"1399752405","file4":"1399752417","file5":"1399752426","file3":"1399752414"},"map_files_photo_id_array":[{"photo_id":"1399752426","filename":"file5"},{"photo_id":"1399752410","filename":"file2"},{"photo_id":"1399752417","filename":"file4"},{"photo_id":"1399752407","filename":"file1"},{"photo_id":"1399752405","filename":"file0"},{"photo_id":"1399752414","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752417":["hashtag1","hashtag2"]},{"1399752426":["hashtag1","hashtag2"]},{"1399752405":["hashtag1","hashtag2"]},{"1399752414":["hashtag1","hashtag2"]},{"1399752410":["hashtag1","hashtag2"]},{"1399752407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752417, 1399752426, 1399752405, 1399752414, 1399752410, 1399752407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.93020677566528 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:17:12.100480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:17:22.146245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/14/image_17122025_07_14_54_9602.jpg', '/home/pi/Desktop/images/17122025/07/14/image_17122025_07_15_05_10545.jpg', '/home/pi/Desktop/images/17122025/07/15/image_17122025_07_15_15_9664.jpg', '/home/pi/Desktop/images/17122025/07/15/image_17122025_07_15_35_10616.jpg', '/home/pi/Desktop/images/17122025/07/15/image_17122025_07_15_45_9744.jpg', '/home/pi/Desktop/images/17122025/07/15/image_17122025_07_16_05_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/14/image_17122025_07_14_54_9602.jpg
/home/pi/Desktop/images/17122025/07/14/image_17122025_07_15_05_10545.jpg
/home/pi/Desktop/images/17122025/07/15/image_17122025_07_15_15_9664.jpg
/home/pi/Desktop/images/17122025/07/15/image_17122025_07_15_35_10616.jpg
/home/pi/Desktop/images/17122025/07/15/image_17122025_07_15_45_9744.jpg
/home/pi/Desktop/images/17122025/07/15/image_17122025_07_16_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":["1399752513","1399752491","1399752511","1399752505","1399752520","1399752486"],"photo_ids_order":["1399752486","1399752491","1399752505","1399752511","1399752513","1399752520"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/807cce9ee474e2257fc02a462506e73f.jpg","text":"TemporaryFile(/tmp/multipartBody1027106271545803839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952302725,"filename":"image_17122025_07_15_45_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/901e53cc0ce68e791291f8b350c4ffe0.jpg","text":"TemporaryFile(/tmp/multipartBody752229084634986221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952302725,"filename":"image_17122025_07_15_05_10545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af7b66997486e3e08dca95f576b3e77a.jpg","text":"TemporaryFile(/tmp/multipartBody1568662958138010783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952302725,"filename":"image_17122025_07_15_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc96bdd554697f74fe59c7c61b443253.jpg","text":"TemporaryFile(/tmp/multipartBody7985661943573909614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952302725,"filename":"image_17122025_07_15_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6bb83a396db7825dc188a7149e879d0.jpg","text":"TemporaryFile(/tmp/multipartBody5234559077404062852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952302725,"filename":"image_17122025_07_16_05_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04a96b0f288f5927d83226a9845a1169.jpg","text":"TemporaryFile(/tmp/multipartBody9033456882951711152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952302725,"filename":"image_17122025_07_14_54_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752505","file1":"1399752491","file0":"1399752486","file4":"1399752513","file5":"1399752520","file3":"1399752511"},"map_files_photo_id_array":[{"photo_id":"1399752520","filename":"file5"},{"photo_id":"1399752505","filename":"file2"},{"photo_id":"1399752513","filename":"file4"},{"photo_id":"1399752491","filename":"file1"},{"photo_id":"1399752486","filename":"file0"},{"photo_id":"1399752511","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752513":["hashtag1","hashtag2"]},{"1399752491":["hashtag1","hashtag2"]},{"1399752511":["hashtag1","hashtag2"]},{"1399752505":["hashtag1","hashtag2"]},{"1399752520":["hashtag1","hashtag2"]},{"1399752486":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752513, 1399752491, 1399752511, 1399752505, 1399752520, 1399752486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.18831133842468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:18:02.815420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_15_9775.jpg', '/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_24_9617.jpg', '/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_35_10596.jpg', '/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_45_9756.jpg', '/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_54_9651.jpg', '/home/pi/Desktop/images/17122025/07/16/image_17122025_07_17_04_9865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_15_9775.jpg
/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_24_9617.jpg
/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_35_10596.jpg
/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_45_9756.jpg
/home/pi/Desktop/images/17122025/07/16/image_17122025_07_16_54_9651.jpg
/home/pi/Desktop/images/17122025/07/16/image_17122025_07_17_04_9865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399752537","1399752522","1399752525","1399752521","1399752532","1399752529"],"photo_ids_order":["1399752521","1399752522","1399752525","1399752529","1399752532","1399752537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/310bd8882784f635ffe0915d673739c5.jpg","text":"TemporaryFile(/tmp/multipartBody6325072130433618305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952343427,"filename":"image_17122025_07_17_04_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fe69e959a7b2afe9bc68a6e66dca693.jpg","text":"TemporaryFile(/tmp/multipartBody9201662712121911894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952343427,"filename":"image_17122025_07_16_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da742d692e6d44ea6e3ac938de51cbd3.jpg","text":"TemporaryFile(/tmp/multipartBody2489867679380115546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952343427,"filename":"image_17122025_07_16_35_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82be27ed7c693163992c847ae5b2c25c.jpg","text":"TemporaryFile(/tmp/multipartBody6998389519420267622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952343427,"filename":"image_17122025_07_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/2025/12/17/23f34e216b1f5370c5515e03c52596b8.jpg","text":"TemporaryFile(/tmp/multipartBody6443550052047970793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952343427,"filename":"image_17122025_07_16_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83ab95b54b91dd0d3c3877ffdb8c1e5d.jpg","text":"TemporaryFile(/tmp/multipartBody900932655690767566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952343427,"filename":"image_17122025_07_16_45_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752525","file1":"1399752522","file0":"1399752521","file4":"1399752532","file5":"1399752537","file3":"1399752529"},"map_files_photo_id_array":[{"photo_id":"1399752537","filename":"file5"},{"photo_id":"1399752525","filename":"file2"},{"photo_id":"1399752532","filename":"file4"},{"photo_id":"1399752522","filename":"file1"},{"photo_id":"1399752521","filename":"file0"},{"photo_id":"1399752529","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399752537":["hashtag1","hashtag2"]},{"1399752522":["hashtag1","hashtag2"]},{"1399752525":["hashtag1","hashtag2"]},{"1399752521":["hashtag1","hashtag2"]},{"1399752532":["hashtag1","hashtag2"]},{"1399752529":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399752537, 1399752522, 1399752525, 1399752521, 1399752532, 1399752529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.171491622924805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:18:42.269325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_08_2744.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_10_2762.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_14_3593.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_17_2655.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_19_2662.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_23_3554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_08_2744.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_10_2762.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_14_3593.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_17_2655.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_19_2662.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_23_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":["1399752600","1399752572","1399752848","1399752701","1399752775","1399752637"],"photo_ids_order":["1399752572","1399752600","1399752637","1399752701","1399752775","1399752848"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3116a344503365a88b637481a9b92f3.jpg","text":"TemporaryFile(/tmp/multipartBody2345678926344178056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952383001,"filename":"image_07112025_17_31_10_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/362e0d811b52ce542bb140adcaf723cd.jpg","text":"TemporaryFile(/tmp/multipartBody3686043966853122043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952383001,"filename":"image_07112025_17_31_08_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fba769d667c2ba4de8857122608605bc.jpg","text":"TemporaryFile(/tmp/multipartBody2300434106237356024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952383001,"filename":"image_07112025_17_31_23_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16743dfde3f5867d18283f5046e7a81a.jpg","text":"TemporaryFile(/tmp/multipartBody732458376616335541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952383001,"filename":"image_07112025_17_31_17_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bb2dc2476e98a1a0a4a47eceed50504.jpg","text":"TemporaryFile(/tmp/multipartBody3820519626620785125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952383001,"filename":"image_07112025_17_31_19_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/745aa8f05a01ce4719df6f999159edea.jpg","text":"TemporaryFile(/tmp/multipartBody5535940182538911465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952383001,"filename":"image_07112025_17_31_14_3593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399752637","file1":"1399752600","file0":"1399752572","file4":"1399752775","file5":"1399752848","file3":"1399752701"},"map_files_photo_id_array":[{"photo_id":"1399752848","filename":"file5"},{"photo_id":"1399752637","filename":"file2"},{"photo_id":"1399752775","filename":"file4"},{"photo_id":"1399752600","filename":"file1"},{"photo_id":"1399752572","filename":"file0"},{"photo_id":"1399752701","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399752600":["hashtag1","hashtag2"]},{"1399752572":["hashtag1","hashtag2"]},{"1399752848":["hashtag1","hashtag2"]},{"1399752701":["hashtag1","hashtag2"]},{"1399752775":["hashtag1","hashtag2"]},{"1399752637":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399752600, 1399752572, 1399752848, 1399752701, 1399752775, 1399752637)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64457607269287 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:19:22.518496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_15_10619.jpg', '/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_25_9627.jpg', '/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_34_9640.jpg', '/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_45_10535.jpg', '/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_55_9812.jpg', '/home/pi/Desktop/images/17122025/07/17/image_17122025_07_18_04_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_15_10619.jpg
/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_25_9627.jpg
/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_34_9640.jpg
/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_45_10535.jpg
/home/pi/Desktop/images/17122025/07/17/image_17122025_07_17_55_9812.jpg
/home/pi/Desktop/images/17122025/07/17/image_17122025_07_18_04_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399753090","1399753063","1399753087","1399753027","1399752988","1399752967"],"photo_ids_order":["1399752967","1399752988","1399753027","1399753063","1399753087","1399753090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34e1d91d5178944d6c54c4a9a0275c68.jpg","text":"TemporaryFile(/tmp/multipartBody1828958075406976563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952423127,"filename":"image_17122025_07_18_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0573e7537637d9e7021ccbdd371314c3.jpg","text":"TemporaryFile(/tmp/multipartBody4459798211027588285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952423127,"filename":"image_17122025_07_17_45_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c90f05223940c92407eeec4d2f8e797.jpg","text":"TemporaryFile(/tmp/multipartBody8348680120436913486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952423127,"filename":"image_17122025_07_17_55_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/420075bcaeae5396a70b422fd6fa039e.jpg","text":"TemporaryFile(/tmp/multipartBody5216300968925173226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952423127,"filename":"image_17122025_07_17_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/500769fbe87a322a5b6de43ffb16d3a2.jpg","text":"TemporaryFile(/tmp/multipartBody4124980952493172671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952423127,"filename":"image_17122025_07_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/2025/12/17/5d37f319598213b5721b9bac10c5cd2e.jpg","text":"TemporaryFile(/tmp/multipartBody3151998403264084858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952423127,"filename":"image_17122025_07_17_15_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753027","file1":"1399752988","file0":"1399752967","file4":"1399753087","file5":"1399753090","file3":"1399753063"},"map_files_photo_id_array":[{"photo_id":"1399753090","filename":"file5"},{"photo_id":"1399753027","filename":"file2"},{"photo_id":"1399753087","filename":"file4"},{"photo_id":"1399752988","filename":"file1"},{"photo_id":"1399752967","filename":"file0"},{"photo_id":"1399753063","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399753090":["hashtag1","hashtag2"]},{"1399753063":["hashtag1","hashtag2"]},{"1399753087":["hashtag1","hashtag2"]},{"1399753027":["hashtag1","hashtag2"]},{"1399752988":["hashtag1","hashtag2"]},{"1399752967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399753090, 1399753063, 1399753087, 1399753027, 1399752988, 1399752967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55976891517639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:20:02.264272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/18/image_17122025_07_18_24_9597.jpg', '/home/pi/Desktop/images/17122025/07/18/image_17122025_07_18_34_9644.jpg', '/home/pi/Desktop/images/17122025/07/18/image_17122025_07_18_45_10629.jpg', '/home/pi/Desktop/images/17122025/07/18/image_17122025_07_18_54_9601.jpg', '/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_15_9672.jpg', '/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_24_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/18/image_17122025_07_18_24_9597.jpg
/home/pi/Desktop/images/17122025/07/18/image_17122025_07_18_34_9644.jpg
/home/pi/Desktop/images/17122025/07/18/image_17122025_07_18_45_10629.jpg
/home/pi/Desktop/images/17122025/07/18/image_17122025_07_18_54_9601.jpg
/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_15_9672.jpg
/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_24_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":["1399753097","1399753094","1399753093","1399753096","1399753095","1399753098"],"photo_ids_order":["1399753093","1399753094","1399753095","1399753096","1399753097","1399753098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab775553b61bd5810fd9365b8e5eeaef.jpg","text":"TemporaryFile(/tmp/multipartBody7390755091067494568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952462870,"filename":"image_17122025_07_19_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46cc803089b639a5585ac8523584a431.jpg","text":"TemporaryFile(/tmp/multipartBody3754650356510103627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952462870,"filename":"image_17122025_07_18_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/928f77f0ec4eb9c7fc6d44cdd921852c.jpg","text":"TemporaryFile(/tmp/multipartBody707818535666809515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952462870,"filename":"image_17122025_07_18_24_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fbd4cf1bad2a27f73d5190d488e2f14.jpg","text":"TemporaryFile(/tmp/multipartBody6202107172263477098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952462870,"filename":"image_17122025_07_18_54_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8378951b0413fd171d86af9b571455c.jpg","text":"TemporaryFile(/tmp/multipartBody7908115078080194508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952462870,"filename":"image_17122025_07_18_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03ceae848b92bde10683da69169e9090.jpg","text":"TemporaryFile(/tmp/multipartBody3204601039853662402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952462870,"filename":"image_17122025_07_19_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753095","file1":"1399753094","file0":"1399753093","file4":"1399753097","file5":"1399753098","file3":"1399753096"},"map_files_photo_id_array":[{"photo_id":"1399753098","filename":"file5"},{"photo_id":"1399753095","filename":"file2"},{"photo_id":"1399753097","filename":"file4"},{"photo_id":"1399753094","filename":"file1"},{"photo_id":"1399753093","filename":"file0"},{"photo_id":"1399753096","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399753097":["hashtag1","hashtag2"]},{"1399753094":["hashtag1","hashtag2"]},{"1399753093":["hashtag1","hashtag2"]},{"1399753096":["hashtag1","hashtag2"]},{"1399753095":["hashtag1","hashtag2"]},{"1399753098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399753097, 1399753094, 1399753093, 1399753096, 1399753095, 1399753098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.54369926452637 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:20:41.805420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_26_2757.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_28_2665.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_31_2819.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_35_3645.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_37_2577.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_41_3613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_26_2757.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_28_2665.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_31_2819.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_35_3645.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_37_2577.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_41_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":["1399753134","1399753113","1399753115","1399753102","1399753140","1399753110"],"photo_ids_order":["1399753102","1399753110","1399753113","1399753115","1399753134","1399753140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5b4b5664797f72797872387a54831c6.jpg","text":"TemporaryFile(/tmp/multipartBody400216035347231818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952502537,"filename":"image_07112025_17_31_37_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51955b795e162b53ba2bfea9abee056c.jpg","text":"TemporaryFile(/tmp/multipartBody5805955840652647805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952502537,"filename":"image_07112025_17_31_31_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adf1032942c771508537f476eec1fc3e.jpg","text":"TemporaryFile(/tmp/multipartBody4541325587844474173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952502537,"filename":"image_07112025_17_31_35_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5f08987d45fa284a6cdd8d5f8050069.jpg","text":"TemporaryFile(/tmp/multipartBody6862909353747635256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952502537,"filename":"image_07112025_17_31_26_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82256f4241969828aaf524e9d02ea7f1.jpg","text":"TemporaryFile(/tmp/multipartBody6346582492686983219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952502537,"filename":"image_07112025_17_31_41_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7db783a63817a6f6ee43f6c6428bcb14.jpg","text":"TemporaryFile(/tmp/multipartBody6021794812048481048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952502537,"filename":"image_07112025_17_31_28_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753113","file1":"1399753110","file0":"1399753102","file4":"1399753134","file5":"1399753140","file3":"1399753115"},"map_files_photo_id_array":[{"photo_id":"1399753140","filename":"file5"},{"photo_id":"1399753113","filename":"file2"},{"photo_id":"1399753134","filename":"file4"},{"photo_id":"1399753110","filename":"file1"},{"photo_id":"1399753102","filename":"file0"},{"photo_id":"1399753115","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399753134":["hashtag1","hashtag2"]},{"1399753113":["hashtag1","hashtag2"]},{"1399753115":["hashtag1","hashtag2"]},{"1399753102":["hashtag1","hashtag2"]},{"1399753140":["hashtag1","hashtag2"]},{"1399753110":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399753134, 1399753113, 1399753115, 1399753102, 1399753140, 1399753110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69330358505249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:21:22.038926
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_34_9904.jpg', '/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_45_10731.jpg', '/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_55_9682.jpg', '/home/pi/Desktop/images/17122025/07/19/image_17122025_07_20_04_9683.jpg', '/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_15_10689.jpg', '/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_25_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_34_9904.jpg
/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_45_10731.jpg
/home/pi/Desktop/images/17122025/07/19/image_17122025_07_19_55_9682.jpg
/home/pi/Desktop/images/17122025/07/19/image_17122025_07_20_04_9683.jpg
/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_15_10689.jpg
/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_25_9640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399753178","1399753172","1399753174","1399753168","1399753176","1399753170"],"photo_ids_order":["1399753168","1399753170","1399753172","1399753174","1399753176","1399753178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/320e42f91cb51aaa74979174a97dfbf9.jpg","text":"TemporaryFile(/tmp/multipartBody4832024002422503499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952542620,"filename":"image_17122025_07_20_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f685acf65c7eaab8cae4be658a9a3aa5.jpg","text":"TemporaryFile(/tmp/multipartBody1966569807690064333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952542620,"filename":"image_17122025_07_19_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4e8549d6c7c406b3ed95a00dd3cd5e8.jpg","text":"TemporaryFile(/tmp/multipartBody6249299447381061122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952542620,"filename":"image_17122025_07_20_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43f51ddc30a69e5dbf9a68a77d423117.jpg","text":"TemporaryFile(/tmp/multipartBody4897577281850795859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952542620,"filename":"image_17122025_07_19_34_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5a8414be6f2ef7fd9f328d936fb49a3.jpg","text":"TemporaryFile(/tmp/multipartBody2840862083647010910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952542620,"filename":"image_17122025_07_20_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/529ce4cc506e719f6ac8877b9933f72f.jpg","text":"TemporaryFile(/tmp/multipartBody7926039367814663977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952542620,"filename":"image_17122025_07_19_45_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753172","file1":"1399753170","file0":"1399753168","file4":"1399753176","file5":"1399753178","file3":"1399753174"},"map_files_photo_id_array":[{"photo_id":"1399753178","filename":"file5"},{"photo_id":"1399753172","filename":"file2"},{"photo_id":"1399753176","filename":"file4"},{"photo_id":"1399753170","filename":"file1"},{"photo_id":"1399753168","filename":"file0"},{"photo_id":"1399753174","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399753178":["hashtag1","hashtag2"]},{"1399753172":["hashtag1","hashtag2"]},{"1399753174":["hashtag1","hashtag2"]},{"1399753168":["hashtag1","hashtag2"]},{"1399753176":["hashtag1","hashtag2"]},{"1399753170":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399753178, 1399753172, 1399753174, 1399753168, 1399753176, 1399753170)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77015018463135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:22:02.693199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_34_9611.jpg', '/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_45_10701.jpg', '/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_54_9592.jpg', '/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_15_9751.jpg', '/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_24_9687.jpg', '/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_34_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_34_9611.jpg
/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_45_10701.jpg
/home/pi/Desktop/images/17122025/07/20/image_17122025_07_20_54_9592.jpg
/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_15_9751.jpg
/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_24_9687.jpg
/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_34_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":["1399753199","1399753190","1399753192","1399753195","1399753197","1399753182"],"photo_ids_order":["1399753182","1399753190","1399753192","1399753195","1399753197","1399753199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b9e0534c0f3fc6241cdc3836ed1040d.jpg","text":"TemporaryFile(/tmp/multipartBody4465727392089542078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952583300,"filename":"image_17122025_07_21_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88d22cf02ef709ea2d02b7c93df9166f.jpg","text":"TemporaryFile(/tmp/multipartBody6663817183182072128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952583300,"filename":"image_17122025_07_20_45_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94b6c457be020948020e16ed48b106f9.jpg","text":"TemporaryFile(/tmp/multipartBody7633386741166472802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952583300,"filename":"image_17122025_07_20_54_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf86fa5974232a7df81fe7bd27756891.jpg","text":"TemporaryFile(/tmp/multipartBody30183824864302749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952583300,"filename":"image_17122025_07_21_15_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dddd5407806f5895bf0f0d864e07910d.jpg","text":"TemporaryFile(/tmp/multipartBody6563298740312811627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952583300,"filename":"image_17122025_07_21_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e93b232a3f9909e7638aa1333327bba.jpg","text":"TemporaryFile(/tmp/multipartBody3950865205784985483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952583300,"filename":"image_17122025_07_20_34_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753192","file1":"1399753190","file0":"1399753182","file4":"1399753197","file5":"1399753199","file3":"1399753195"},"map_files_photo_id_array":[{"photo_id":"1399753199","filename":"file5"},{"photo_id":"1399753192","filename":"file2"},{"photo_id":"1399753197","filename":"file4"},{"photo_id":"1399753190","filename":"file1"},{"photo_id":"1399753182","filename":"file0"},{"photo_id":"1399753195","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399753199":["hashtag1","hashtag2"]},{"1399753190":["hashtag1","hashtag2"]},{"1399753192":["hashtag1","hashtag2"]},{"1399753195":["hashtag1","hashtag2"]},{"1399753197":["hashtag1","hashtag2"]},{"1399753182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399753199, 1399753190, 1399753192, 1399753195, 1399753197, 1399753182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49585032463074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:22:42.276807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_44_2674.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_46_2694.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_49_2879.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_53_3677.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_56_3314.jpg', '/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_59_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_44_2674.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_46_2694.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_49_2879.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_53_3677.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_56_3314.jpg
/home/pi/Desktop/images/07112025/17/31/image_07112025_17_31_59_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399753277","1399753244","1399753285","1399753270","1399753281","1399753257"],"photo_ids_order":["1399753244","1399753257","1399753270","1399753277","1399753281","1399753285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84436d1107b076ca67fc1f223cd8dd03.jpg","text":"TemporaryFile(/tmp/multipartBody3225494858810388087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952623026,"filename":"image_07112025_17_31_53_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19b89da28f299f53ace5a44e90464460.jpg","text":"TemporaryFile(/tmp/multipartBody3822274650662651601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952623026,"filename":"image_07112025_17_31_44_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8bcd77cf50d50bc436a85c10945678d.jpg","text":"TemporaryFile(/tmp/multipartBody7465431265859254253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952623026,"filename":"image_07112025_17_31_59_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5a6fa305bc826432e56f141109da478.jpg","text":"TemporaryFile(/tmp/multipartBody8074377239784673485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952623026,"filename":"image_07112025_17_31_49_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7c0de8b6de1013b2b832c5e448011f5.jpg","text":"TemporaryFile(/tmp/multipartBody6010797725271577325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952623026,"filename":"image_07112025_17_31_56_3314.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1cd475f8a9ce8ba1c71d15c9b50b6ff.jpg","text":"TemporaryFile(/tmp/multipartBody4939929620027236167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952623026,"filename":"image_07112025_17_31_46_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753270","file1":"1399753257","file0":"1399753244","file4":"1399753281","file5":"1399753285","file3":"1399753277"},"map_files_photo_id_array":[{"photo_id":"1399753285","filename":"file5"},{"photo_id":"1399753270","filename":"file2"},{"photo_id":"1399753281","filename":"file4"},{"photo_id":"1399753257","filename":"file1"},{"photo_id":"1399753244","filename":"file0"},{"photo_id":"1399753277","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399753277":["hashtag1","hashtag2"]},{"1399753244":["hashtag1","hashtag2"]},{"1399753285":["hashtag1","hashtag2"]},{"1399753270":["hashtag1","hashtag2"]},{"1399753281":["hashtag1","hashtag2"]},{"1399753257":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399753277, 1399753244, 1399753285, 1399753270, 1399753281, 1399753257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.687397480010986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:23:22.673149
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_45_10838.jpg', '/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_55_9712.jpg', '/home/pi/Desktop/images/17122025/07/21/image_17122025_07_22_04_9548.jpg', '/home/pi/Desktop/images/17122025/07/22/image_17122025_07_22_54_9698.jpg', '/home/pi/Desktop/images/17122025/07/22/image_17122025_07_23_05_10768.jpg', '/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_15_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_45_10838.jpg
/home/pi/Desktop/images/17122025/07/21/image_17122025_07_21_55_9712.jpg
/home/pi/Desktop/images/17122025/07/21/image_17122025_07_22_04_9548.jpg
/home/pi/Desktop/images/17122025/07/22/image_17122025_07_22_54_9698.jpg
/home/pi/Desktop/images/17122025/07/22/image_17122025_07_23_05_10768.jpg
/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_15_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":["1399753307","1399753291","1399753297","1399753299","1399753293","1399753302"],"photo_ids_order":["1399753291","1399753293","1399753297","1399753299","1399753302","1399753307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f3380c41e58ba165c9ae1532902dc1d.jpg","text":"TemporaryFile(/tmp/multipartBody7529383534228926260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952663289,"filename":"image_17122025_07_23_15_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8ff157c405a483a9a805859e065e6af.jpg","text":"TemporaryFile(/tmp/multipartBody3716241870959433018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952663289,"filename":"image_17122025_07_21_45_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b668fc96fd1fcd0ded33f0b77273bf2.jpg","text":"TemporaryFile(/tmp/multipartBody6401738774330844041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952663289,"filename":"image_17122025_07_22_04_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6648f56d7723eca98227690de6fbf6a5.jpg","text":"TemporaryFile(/tmp/multipartBody8845562190183872618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952663289,"filename":"image_17122025_07_22_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95535f0acbe22539b335142ccc325b0e.jpg","text":"TemporaryFile(/tmp/multipartBody5132504626385615472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952663289,"filename":"image_17122025_07_21_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/646f0050c6b1ddab46bf687d529f9fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7780910891035811799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952663289,"filename":"image_17122025_07_23_05_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753297","file1":"1399753293","file0":"1399753291","file4":"1399753302","file5":"1399753307","file3":"1399753299"},"map_files_photo_id_array":[{"photo_id":"1399753307","filename":"file5"},{"photo_id":"1399753297","filename":"file2"},{"photo_id":"1399753302","filename":"file4"},{"photo_id":"1399753293","filename":"file1"},{"photo_id":"1399753291","filename":"file0"},{"photo_id":"1399753299","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399753307":["hashtag1","hashtag2"]},{"1399753291":["hashtag1","hashtag2"]},{"1399753297":["hashtag1","hashtag2"]},{"1399753299":["hashtag1","hashtag2"]},{"1399753293":["hashtag1","hashtag2"]},{"1399753302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399753307, 1399753291, 1399753297, 1399753299, 1399753293, 1399753302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.754897356033325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:24:03.432455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_24_9662.jpg', '/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_34_9882.jpg', '/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_45_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_24_9662.jpg
/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_34_9882.jpg
/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_45_10753.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4407820701599121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:24:12.726172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:24:22.724274
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_24_9662.jpg', '/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_34_9882.jpg', '/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_45_10753.jpg', '/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_55_9742.jpg', '/home/pi/Desktop/images/17122025/07/23/image_17122025_07_24_04_9653.jpg', '/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_15_10561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_24_9662.jpg
/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_34_9882.jpg
/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_45_10753.jpg
/home/pi/Desktop/images/17122025/07/23/image_17122025_07_23_55_9742.jpg
/home/pi/Desktop/images/17122025/07/23/image_17122025_07_24_04_9653.jpg
/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_15_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":["1399753524","1399753518","1399753512","1399753522","1399753528","1399753539"],"photo_ids_order":["1399753512","1399753518","1399753522","1399753524","1399753528","1399753539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78b8e417d9c9ff9e399dcc1aba29ba66.jpg","text":"TemporaryFile(/tmp/multipartBody4773483416833881304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952723308,"filename":"image_17122025_07_23_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07827f09d34f01c369d5d8588e354d0b.jpg","text":"TemporaryFile(/tmp/multipartBody6801735272672639552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952723308,"filename":"image_17122025_07_23_34_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2e704ac8e8f3b80e8587dff166873ba.jpg","text":"TemporaryFile(/tmp/multipartBody6429057105208923249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952723308,"filename":"image_17122025_07_23_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e8a39d83dc5d527fa50f0d9c8b7f2ae.jpg","text":"TemporaryFile(/tmp/multipartBody8654131622659015425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952723308,"filename":"image_17122025_07_23_45_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ecfc1d8f46d14fa3b993d9e8e70a84d.jpg","text":"TemporaryFile(/tmp/multipartBody8899263634250399951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952723308,"filename":"image_17122025_07_24_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e5fb8118283399f0145bd9f7e3e0e78.jpg","text":"TemporaryFile(/tmp/multipartBody9208407732432751496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952723308,"filename":"image_17122025_07_24_15_10561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753522","file1":"1399753518","file0":"1399753512","file4":"1399753528","file5":"1399753539","file3":"1399753524"},"map_files_photo_id_array":[{"photo_id":"1399753539","filename":"file5"},{"photo_id":"1399753522","filename":"file2"},{"photo_id":"1399753528","filename":"file4"},{"photo_id":"1399753518","filename":"file1"},{"photo_id":"1399753512","filename":"file0"},{"photo_id":"1399753524","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399753524":["hashtag1","hashtag2"]},{"1399753518":["hashtag1","hashtag2"]},{"1399753512":["hashtag1","hashtag2"]},{"1399753522":["hashtag1","hashtag2"]},{"1399753528":["hashtag1","hashtag2"]},{"1399753539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399753524, 1399753518, 1399753512, 1399753522, 1399753528, 1399753539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.63946723937988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:25:02.685384
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_25_9651.jpg', '/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_34_9663.jpg', '/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_45_10617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_25_9651.jpg
/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_34_9663.jpg
/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_45_10617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399753576","1399753546","1399753551"],"photo_ids_order":["1399753546","1399753551","1399753576"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c959c450cdac12ddeec1891e1ffe190.jpg","text":"TemporaryFile(/tmp/multipartBody7789808253687217247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952763207,"filename":"image_17122025_07_24_45_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fcd177fa809b1c09259de20b972a2430.jpg","text":"TemporaryFile(/tmp/multipartBody500392873123681932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952763207,"filename":"image_17122025_07_24_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ee4f7bf258d597cca1cae254d24db97.jpg","text":"TemporaryFile(/tmp/multipartBody1597012183467072058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952763207,"filename":"image_17122025_07_24_34_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753576","file1":"1399753551","file0":"1399753546"},"map_files_photo_id_array":[{"photo_id":"1399753576","filename":"file2"},{"photo_id":"1399753551","filename":"file1"},{"photo_id":"1399753546","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399753576":["hashtag1","hashtag2"]},{"1399753546":["hashtag1","hashtag2"]},{"1399753551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399753576, 1399753546, 1399753551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.615442752838135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:25:31.922988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:25:41.970542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_20_20785.jpg', '/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_21_1638.jpg', '/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_23_1572.jpg', '/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_25_1734.jpg', '/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_46_21447.jpg', '/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_48_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_20_20785.jpg
/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_21_1638.jpg
/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_23_1572.jpg
/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_25_1734.jpg
/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_46_21447.jpg
/home/pi/Desktop/images/07112025/17/32/image_07112025_17_32_48_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":["1399753964","1399754114","1399753928","1399754073","1399753887","1399754004"],"photo_ids_order":["1399753887","1399753928","1399753964","1399754004","1399754073","1399754114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d1fdd88a7ba204dfcdcb2756d51bf3f.jpg","text":"TemporaryFile(/tmp/multipartBody1338788721896312068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952802691,"filename":"image_07112025_17_32_23_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bc874b2de094e9913a0ba74a11fcff2.jpg","text":"TemporaryFile(/tmp/multipartBody8755002228575504644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952802691,"filename":"image_07112025_17_32_48_1663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2dd1be8abb2e9fbdfca5ff3cc1bcc2ee.jpg","text":"TemporaryFile(/tmp/multipartBody2952546367225650676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952802691,"filename":"image_07112025_17_32_21_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/111c5869a59034d24f7b7477ce233cb9.jpg","text":"TemporaryFile(/tmp/multipartBody3633424065091397013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952802691,"filename":"image_07112025_17_32_46_21447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a3d09a0822c7cace6639d0cb3981ac6.jpg","text":"TemporaryFile(/tmp/multipartBody8238408298598463364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952802691,"filename":"image_07112025_17_32_20_20785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9004efcf9a18086ddfe135fe62d17b5a.jpg","text":"TemporaryFile(/tmp/multipartBody9014093274709972952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952802691,"filename":"image_07112025_17_32_25_1734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399753964","file1":"1399753928","file0":"1399753887","file4":"1399754073","file5":"1399754114","file3":"1399754004"},"map_files_photo_id_array":[{"photo_id":"1399754114","filename":"file5"},{"photo_id":"1399753964","filename":"file2"},{"photo_id":"1399754073","filename":"file4"},{"photo_id":"1399753928","filename":"file1"},{"photo_id":"1399753887","filename":"file0"},{"photo_id":"1399754004","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399753964":["hashtag1","hashtag2"]},{"1399754114":["hashtag1","hashtag2"]},{"1399753928":["hashtag1","hashtag2"]},{"1399754073":["hashtag1","hashtag2"]},{"1399753887":["hashtag1","hashtag2"]},{"1399754004":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399753964, 1399754114, 1399753928, 1399754073, 1399753887, 1399754004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.11196947097778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:26:22.244331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_55_9678.jpg', '/home/pi/Desktop/images/17122025/07/24/image_17122025_07_25_04_9624.jpg', '/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_25_9889.jpg', '/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_45_10569.jpg', '/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_54_9695.jpg', '/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_15_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_55_9678.jpg
/home/pi/Desktop/images/17122025/07/24/image_17122025_07_25_04_9624.jpg
/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_25_9889.jpg
/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_45_10569.jpg
/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_54_9695.jpg
/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_15_10660.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4733288288116455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:26:32.322883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:26:42.284353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_06_18627.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_08_1900.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_10_1573.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_11_1579.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_13_1646.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_15_1668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_06_18627.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_08_1900.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_10_1573.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_11_1579.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_13_1646.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_15_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":["1399754210","1399754212","1399754209","1399754208","1399754202","1399754211"],"photo_ids_order":["1399754202","1399754208","1399754209","1399754210","1399754211","1399754212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e214dfd4fbd9f717dae9ff0391bdb8ca.jpg","text":"TemporaryFile(/tmp/multipartBody1138959563976821790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952863002,"filename":"image_07112025_17_33_11_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08b48b0998b4b60b087205199ab9db91.jpg","text":"TemporaryFile(/tmp/multipartBody6323694320036121227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952863002,"filename":"image_07112025_17_33_15_1668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/accedf0b23441622e8689941270cfc72.jpg","text":"TemporaryFile(/tmp/multipartBody3928150280574967500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952863002,"filename":"image_07112025_17_33_10_1573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/affd854032bc988e873cc6fe8d825f68.jpg","text":"TemporaryFile(/tmp/multipartBody9008146845070125292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952863002,"filename":"image_07112025_17_33_08_1900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15d9e7bca742a5cb65e3b8ea00a3b84e.jpg","text":"TemporaryFile(/tmp/multipartBody6108564819537825005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952863002,"filename":"image_07112025_17_33_06_18627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8970f0c0a3ba154d91033b0a42b7d366.jpg","text":"TemporaryFile(/tmp/multipartBody8410100318806612162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952863002,"filename":"image_07112025_17_33_13_1646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754209","file1":"1399754208","file0":"1399754202","file4":"1399754211","file5":"1399754212","file3":"1399754210"},"map_files_photo_id_array":[{"photo_id":"1399754212","filename":"file5"},{"photo_id":"1399754209","filename":"file2"},{"photo_id":"1399754211","filename":"file4"},{"photo_id":"1399754208","filename":"file1"},{"photo_id":"1399754202","filename":"file0"},{"photo_id":"1399754210","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399754210":["hashtag1","hashtag2"]},{"1399754212":["hashtag1","hashtag2"]},{"1399754209":["hashtag1","hashtag2"]},{"1399754208":["hashtag1","hashtag2"]},{"1399754202":["hashtag1","hashtag2"]},{"1399754211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399754210, 1399754212, 1399754209, 1399754208, 1399754202, 1399754211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40301704406738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:27:22.616076
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_55_9678.jpg', '/home/pi/Desktop/images/17122025/07/24/image_17122025_07_25_04_9624.jpg', '/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_25_9889.jpg', '/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_45_10569.jpg', '/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_54_9695.jpg', '/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_15_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/24/image_17122025_07_24_55_9678.jpg
/home/pi/Desktop/images/17122025/07/24/image_17122025_07_25_04_9624.jpg
/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_25_9889.jpg
/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_45_10569.jpg
/home/pi/Desktop/images/17122025/07/25/image_17122025_07_25_54_9695.jpg
/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_15_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":["1399754228","1399754222","1399754224","1399754232","1399754226","1399754220"],"photo_ids_order":["1399754220","1399754222","1399754224","1399754226","1399754228","1399754232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79b4d774ff9456817d89ec235d8ee618.jpg","text":"TemporaryFile(/tmp/multipartBody2511836192160345861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952903199,"filename":"image_17122025_07_25_54_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c6650fe7e46fd628b5f3973ea4d5b6c.jpg","text":"TemporaryFile(/tmp/multipartBody1231887796024394919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952903199,"filename":"image_17122025_07_25_04_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5b50714e7a03c4820b9901ef98ac927.jpg","text":"TemporaryFile(/tmp/multipartBody1916581645927429099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952903199,"filename":"image_17122025_07_25_25_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3c514429e85ee9aca8e595ceae22f94.jpg","text":"TemporaryFile(/tmp/multipartBody3784584734277602557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952903199,"filename":"image_17122025_07_26_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f304b11c4cba16d9680cda11c06e578.jpg","text":"TemporaryFile(/tmp/multipartBody3210684428866339060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952903199,"filename":"image_17122025_07_25_45_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17fbb6e5b5b77bdfe8d2ddb685de66fc.jpg","text":"TemporaryFile(/tmp/multipartBody3746282682608694040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952903199,"filename":"image_17122025_07_24_55_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754224","file1":"1399754222","file0":"1399754220","file4":"1399754228","file5":"1399754232","file3":"1399754226"},"map_files_photo_id_array":[{"photo_id":"1399754232","filename":"file5"},{"photo_id":"1399754224","filename":"file2"},{"photo_id":"1399754228","filename":"file4"},{"photo_id":"1399754222","filename":"file1"},{"photo_id":"1399754220","filename":"file0"},{"photo_id":"1399754226","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399754228":["hashtag1","hashtag2"]},{"1399754222":["hashtag1","hashtag2"]},{"1399754224":["hashtag1","hashtag2"]},{"1399754232":["hashtag1","hashtag2"]},{"1399754226":["hashtag1","hashtag2"]},{"1399754220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399754228, 1399754222, 1399754224, 1399754232, 1399754226, 1399754220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06437849998474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:28:03.171142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_25_9738.jpg', '/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_34_9764.jpg', '/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_44_9644.jpg', '/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_55_10659.jpg', '/home/pi/Desktop/images/17122025/07/26/image_17122025_07_27_04_9555.jpg', '/home/pi/Desktop/images/17122025/07/27/image_17122025_07_27_15_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_25_9738.jpg
/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_34_9764.jpg
/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_44_9644.jpg
/home/pi/Desktop/images/17122025/07/26/image_17122025_07_26_55_10659.jpg
/home/pi/Desktop/images/17122025/07/26/image_17122025_07_27_04_9555.jpg
/home/pi/Desktop/images/17122025/07/27/image_17122025_07_27_15_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":["1399754252","1399754240","1399754257","1399754242","1399754262","1399754259"],"photo_ids_order":["1399754240","1399754242","1399754252","1399754257","1399754259","1399754262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f66816461f0d87e7c1712f23831738f.jpg","text":"TemporaryFile(/tmp/multipartBody6285883917901681443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952943826,"filename":"image_17122025_07_26_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55190c9b0dd8fc0a8994d1a577cffcfb.jpg","text":"TemporaryFile(/tmp/multipartBody5292862471199612094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952943826,"filename":"image_17122025_07_26_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fa905c9d565bb724c31baec73c4cff8.jpg","text":"TemporaryFile(/tmp/multipartBody6634466089461459418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952943826,"filename":"image_17122025_07_26_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08effd33ff25b52fe86106e96fd0ca2b.jpg","text":"TemporaryFile(/tmp/multipartBody1516569369134468199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952943826,"filename":"image_17122025_07_26_34_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1befde871a1c68958e52e9f665fe93dd.jpg","text":"TemporaryFile(/tmp/multipartBody2121605489020599339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952943826,"filename":"image_17122025_07_27_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62ec4dca590b2e6d5a2e82ba7307b3bd.jpg","text":"TemporaryFile(/tmp/multipartBody6021138865881867022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765952943826,"filename":"image_17122025_07_27_04_9555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754252","file1":"1399754242","file0":"1399754240","file4":"1399754259","file5":"1399754262","file3":"1399754257"},"map_files_photo_id_array":[{"photo_id":"1399754262","filename":"file5"},{"photo_id":"1399754252","filename":"file2"},{"photo_id":"1399754259","filename":"file4"},{"photo_id":"1399754242","filename":"file1"},{"photo_id":"1399754240","filename":"file0"},{"photo_id":"1399754257","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399754252":["hashtag1","hashtag2"]},{"1399754240":["hashtag1","hashtag2"]},{"1399754257":["hashtag1","hashtag2"]},{"1399754242":["hashtag1","hashtag2"]},{"1399754262":["hashtag1","hashtag2"]},{"1399754259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399754252, 1399754240, 1399754257, 1399754242, 1399754262, 1399754259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.794769525527954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:28:42.784957
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_27_12154.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_29_1763.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_30_1693.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_32_1610.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_35_1687.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_37_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_27_12154.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_29_1763.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_30_1693.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_32_1610.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_35_1687.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_37_1545.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5995564460754395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:29:03.062533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/27/image_17122025_07_27_25_9725.jpg', '/home/pi/Desktop/images/17122025/07/27/image_17122025_07_27_34_9628.jpg', '/home/pi/Desktop/images/17122025/07/27/image_17122025_07_27_55_9665.jpg', '/home/pi/Desktop/images/17122025/07/27/image_17122025_07_28_04_9540.jpg', '/home/pi/Desktop/images/17122025/07/28/image_17122025_07_28_15_10568.jpg', '/home/pi/Desktop/images/17122025/07/28/image_17122025_07_28_35_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/27/image_17122025_07_27_25_9725.jpg
/home/pi/Desktop/images/17122025/07/27/image_17122025_07_27_34_9628.jpg
/home/pi/Desktop/images/17122025/07/27/image_17122025_07_27_55_9665.jpg
/home/pi/Desktop/images/17122025/07/27/image_17122025_07_28_04_9540.jpg
/home/pi/Desktop/images/17122025/07/28/image_17122025_07_28_15_10568.jpg
/home/pi/Desktop/images/17122025/07/28/image_17122025_07_28_35_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":["1399754324","1399754329","1399754320","1399754323","1399754326","1399754313"],"photo_ids_order":["1399754313","1399754320","1399754323","1399754324","1399754326","1399754329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d1f3ac6a41f03c5f251befde677e1db.jpg","text":"TemporaryFile(/tmp/multipartBody8948342829623316834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953003768,"filename":"image_17122025_07_28_04_9540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60928d9370f848676b695108ea9c424f.jpg","text":"TemporaryFile(/tmp/multipartBody3307567557435099574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953003768,"filename":"image_17122025_07_28_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9e3fecce2645c8564f62ed26813e8a1.jpg","text":"TemporaryFile(/tmp/multipartBody3372774549803264920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953003768,"filename":"image_17122025_07_27_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d7d05e9271f8c89ae88a7e643846c97.jpg","text":"TemporaryFile(/tmp/multipartBody7680311943521041138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953003768,"filename":"image_17122025_07_27_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16888dcfda4cf4ce2b2f3967f9159980.jpg","text":"TemporaryFile(/tmp/multipartBody3392672095829354780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953003768,"filename":"image_17122025_07_28_15_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bde4fab41cb67645e3ac5a1d1d01bc2d.jpg","text":"TemporaryFile(/tmp/multipartBody8676343323173729402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953003768,"filename":"image_17122025_07_27_25_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754323","file1":"1399754320","file0":"1399754313","file4":"1399754326","file5":"1399754329","file3":"1399754324"},"map_files_photo_id_array":[{"photo_id":"1399754329","filename":"file5"},{"photo_id":"1399754323","filename":"file2"},{"photo_id":"1399754326","filename":"file4"},{"photo_id":"1399754320","filename":"file1"},{"photo_id":"1399754313","filename":"file0"},{"photo_id":"1399754324","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399754324":["hashtag1","hashtag2"]},{"1399754329":["hashtag1","hashtag2"]},{"1399754320":["hashtag1","hashtag2"]},{"1399754323":["hashtag1","hashtag2"]},{"1399754326":["hashtag1","hashtag2"]},{"1399754313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399754324, 1399754329, 1399754320, 1399754323, 1399754326, 1399754313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.892966508865356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:29:42.089396
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_27_12154.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_29_1763.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_30_1693.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_32_1610.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_35_1687.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_37_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_27_12154.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_29_1763.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_30_1693.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_32_1610.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_35_1687.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_37_1545.jpg
 val : 1 : upload photos already in processing! 
 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>8bmg0n6n8</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>8bmg0n6n8</strong>.
uploaded 0 photos
time to upload: 44.46575093269348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:30:32.347377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:30:42.334499
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_27_12154.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_29_1763.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_30_1693.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_32_1610.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_35_1687.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_37_1545.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_27_12154.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_29_1763.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_30_1693.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_32_1610.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_35_1687.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_37_1545.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399754363","1399754366","1399754368","1399754361","1399754364","1399754358"],"photo_ids_order":["1399754358","1399754361","1399754363","1399754364","1399754366","1399754368"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f17b554d73795adf3e1914fe0c15c03.jpg","text":"TemporaryFile(/tmp/multipartBody3934365170365420715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953102938,"filename":"image_07112025_17_33_30_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17c323c190b14e725541e30cc70e6fc6.jpg","text":"TemporaryFile(/tmp/multipartBody2131713766553165617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953102938,"filename":"image_07112025_17_33_35_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03e8f13e8b9a7b4eb814523509de6694.jpg","text":"TemporaryFile(/tmp/multipartBody2004248434617341565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953102938,"filename":"image_07112025_17_33_37_1545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf818d57de3fe771749ce19f53996909.jpg","text":"TemporaryFile(/tmp/multipartBody5568970369484531434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953102938,"filename":"image_07112025_17_33_29_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e8d2c797777629be0c991110083ab96.jpg","text":"TemporaryFile(/tmp/multipartBody6574919440063986675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953102938,"filename":"image_07112025_17_33_32_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46f4c70628b5f11792083115d1b6872f.jpg","text":"TemporaryFile(/tmp/multipartBody3159251896358649681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953102938,"filename":"image_07112025_17_33_27_12154.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754363","file1":"1399754361","file0":"1399754358","file4":"1399754366","file5":"1399754368","file3":"1399754364"},"map_files_photo_id_array":[{"photo_id":"1399754368","filename":"file5"},{"photo_id":"1399754363","filename":"file2"},{"photo_id":"1399754366","filename":"file4"},{"photo_id":"1399754361","filename":"file1"},{"photo_id":"1399754358","filename":"file0"},{"photo_id":"1399754364","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399754363":["hashtag1","hashtag2"]},{"1399754366":["hashtag1","hashtag2"]},{"1399754368":["hashtag1","hashtag2"]},{"1399754361":["hashtag1","hashtag2"]},{"1399754364":["hashtag1","hashtag2"]},{"1399754358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399754363, 1399754366, 1399754368, 1399754361, 1399754364, 1399754358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47080874443054 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:31:22.576794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/28/image_17122025_07_28_45_9655.jpg', '/home/pi/Desktop/images/17122025/07/28/image_17122025_07_28_55_9828.jpg', '/home/pi/Desktop/images/17122025/07/28/image_17122025_07_29_05_10030.jpg', '/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_14_9691.jpg', '/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_25_10665.jpg', '/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_35_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/28/image_17122025_07_28_45_9655.jpg
/home/pi/Desktop/images/17122025/07/28/image_17122025_07_28_55_9828.jpg
/home/pi/Desktop/images/17122025/07/28/image_17122025_07_29_05_10030.jpg
/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_14_9691.jpg
/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_25_10665.jpg
/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_35_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":["1399754383","1399754377","1399754386","1399754374","1399754379","1399754381"],"photo_ids_order":["1399754374","1399754377","1399754379","1399754381","1399754383","1399754386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3570947ab723e77e7a0c2461bdbe7cd.jpg","text":"TemporaryFile(/tmp/multipartBody3452714831872060153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953143158,"filename":"image_17122025_07_29_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/988132be412912646087a740af3ff75f.jpg","text":"TemporaryFile(/tmp/multipartBody8811297953090025328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953143158,"filename":"image_17122025_07_28_55_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f12f2b6fbf70a16e6c4ca625e78677e.jpg","text":"TemporaryFile(/tmp/multipartBody3155893488245196785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953143158,"filename":"image_17122025_07_29_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea7473f3a4f9d4e8481b1d98ff2296b9.jpg","text":"TemporaryFile(/tmp/multipartBody376514537344937500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953143158,"filename":"image_17122025_07_28_45_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d22ee0a86feb85bc972b891f296fa29e.jpg","text":"TemporaryFile(/tmp/multipartBody5666176432882673193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953143158,"filename":"image_17122025_07_29_05_10030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ac042ae46b7970d10b4b7e7aefa21df.jpg","text":"TemporaryFile(/tmp/multipartBody3253039110991692798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953143158,"filename":"image_17122025_07_29_14_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754379","file1":"1399754377","file0":"1399754374","file4":"1399754383","file5":"1399754386","file3":"1399754381"},"map_files_photo_id_array":[{"photo_id":"1399754386","filename":"file5"},{"photo_id":"1399754379","filename":"file2"},{"photo_id":"1399754383","filename":"file4"},{"photo_id":"1399754377","filename":"file1"},{"photo_id":"1399754374","filename":"file0"},{"photo_id":"1399754381","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399754383":["hashtag1","hashtag2"]},{"1399754377":["hashtag1","hashtag2"]},{"1399754386":["hashtag1","hashtag2"]},{"1399754374":["hashtag1","hashtag2"]},{"1399754379":["hashtag1","hashtag2"]},{"1399754381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399754383, 1399754377, 1399754386, 1399754374, 1399754379, 1399754381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.291961431503296 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:32:02.322456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_54_9744.jpg', '/home/pi/Desktop/images/17122025/07/29/image_17122025_07_30_05_10654.jpg', '/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_15_9789.jpg', '/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_25_10145.jpg', '/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_45_10539.jpg', '/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_55_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_54_9744.jpg
/home/pi/Desktop/images/17122025/07/29/image_17122025_07_30_05_10654.jpg
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_15_9789.jpg
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_25_10145.jpg
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_45_10539.jpg
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_55_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.4941141605377197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:32:11.923488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:32:21.943950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_54_9744.jpg', '/home/pi/Desktop/images/17122025/07/29/image_17122025_07_30_05_10654.jpg', '/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_15_9789.jpg', '/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_25_10145.jpg', '/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_45_10539.jpg', '/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_55_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/29/image_17122025_07_29_54_9744.jpg
/home/pi/Desktop/images/17122025/07/29/image_17122025_07_30_05_10654.jpg
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_15_9789.jpg
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_25_10145.jpg
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_45_10539.jpg
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_30_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":["1399754405","1399754420","1399754437","1399754422","1399754400","1399754403"],"photo_ids_order":["1399754400","1399754403","1399754405","1399754420","1399754422","1399754437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44547f7425620e05ef2188144d797b54.jpg","text":"TemporaryFile(/tmp/multipartBody3491917727903911139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953202525,"filename":"image_17122025_07_30_15_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f7ff9c10005398e3a3bb3f224f85d42.jpg","text":"TemporaryFile(/tmp/multipartBody1434452032875025403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953202525,"filename":"image_17122025_07_30_25_10145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad2021ba7c9ce0890853d6b5c79a937e.jpg","text":"TemporaryFile(/tmp/multipartBody5187487006664659864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953202525,"filename":"image_17122025_07_30_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/233fa0edb31fef35eff28729bbac1c8b.jpg","text":"TemporaryFile(/tmp/multipartBody2641070972475850493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953202525,"filename":"image_17122025_07_30_45_10539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1a4216926dcf1ed9d8c05e7f304b0c2.jpg","text":"TemporaryFile(/tmp/multipartBody1670337478950791257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953202525,"filename":"image_17122025_07_29_54_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/152c4b22b14942978b867312f3928333.jpg","text":"TemporaryFile(/tmp/multipartBody8678451719459283194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953202525,"filename":"image_17122025_07_30_05_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754405","file1":"1399754403","file0":"1399754400","file4":"1399754422","file5":"1399754437","file3":"1399754420"},"map_files_photo_id_array":[{"photo_id":"1399754437","filename":"file5"},{"photo_id":"1399754405","filename":"file2"},{"photo_id":"1399754422","filename":"file4"},{"photo_id":"1399754403","filename":"file1"},{"photo_id":"1399754400","filename":"file0"},{"photo_id":"1399754420","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399754405":["hashtag1","hashtag2"]},{"1399754420":["hashtag1","hashtag2"]},{"1399754437":["hashtag1","hashtag2"]},{"1399754422":["hashtag1","hashtag2"]},{"1399754400":["hashtag1","hashtag2"]},{"1399754403":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399754405, 1399754420, 1399754437, 1399754422, 1399754400, 1399754403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60532236099243 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:33:02.822732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/30/image_17122025_07_31_04_9659.jpg', '/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_15_10660.jpg', '/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_34_9780.jpg', '/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_55_10590.jpg', '/home/pi/Desktop/images/17122025/07/31/image_17122025_07_32_04_9689.jpg', '/home/pi/Desktop/images/17122025/07/32/image_17122025_07_32_14_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_31_04_9659.jpg
/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_15_10660.jpg
/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_34_9780.jpg
/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_55_10590.jpg
/home/pi/Desktop/images/17122025/07/31/image_17122025_07_32_04_9689.jpg
/home/pi/Desktop/images/17122025/07/32/image_17122025_07_32_14_9710.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5194978713989258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:33:12.242567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:33:22.358283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/30/image_17122025_07_31_04_9659.jpg', '/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_15_10660.jpg', '/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_34_9780.jpg', '/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_55_10590.jpg', '/home/pi/Desktop/images/17122025/07/31/image_17122025_07_32_04_9689.jpg', '/home/pi/Desktop/images/17122025/07/32/image_17122025_07_32_14_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/30/image_17122025_07_31_04_9659.jpg
/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_15_10660.jpg
/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_34_9780.jpg
/home/pi/Desktop/images/17122025/07/31/image_17122025_07_31_55_10590.jpg
/home/pi/Desktop/images/17122025/07/31/image_17122025_07_32_04_9689.jpg
/home/pi/Desktop/images/17122025/07/32/image_17122025_07_32_14_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399754554","1399754455","1399754592","1399754517","1399754480","1399754453"],"photo_ids_order":["1399754453","1399754455","1399754480","1399754517","1399754554","1399754592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e1f77d6cdf64b1dccebc4e9517004ec.jpg","text":"TemporaryFile(/tmp/multipartBody909029876423241808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953262942,"filename":"image_17122025_07_32_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be28acae5e505a63bc34f6b4cf6b71d0.jpg","text":"TemporaryFile(/tmp/multipartBody8835602109354407381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953262942,"filename":"image_17122025_07_31_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c76bf539342d70ae1ee48a155ec426e2.jpg","text":"TemporaryFile(/tmp/multipartBody7563781683768923600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953262942,"filename":"image_17122025_07_32_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdbc885767be712028d1f47da84fac95.jpg","text":"TemporaryFile(/tmp/multipartBody3425647922857734479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953262942,"filename":"image_17122025_07_31_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8595c82e247786973e8fec8ba5189af.jpg","text":"TemporaryFile(/tmp/multipartBody907942864147496627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953262942,"filename":"image_17122025_07_31_34_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ae3598e6811a3203de92fc8d60c25f9.jpg","text":"TemporaryFile(/tmp/multipartBody189667272954493237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953262942,"filename":"image_17122025_07_31_04_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754480","file1":"1399754455","file0":"1399754453","file4":"1399754554","file5":"1399754592","file3":"1399754517"},"map_files_photo_id_array":[{"photo_id":"1399754592","filename":"file5"},{"photo_id":"1399754480","filename":"file2"},{"photo_id":"1399754554","filename":"file4"},{"photo_id":"1399754455","filename":"file1"},{"photo_id":"1399754453","filename":"file0"},{"photo_id":"1399754517","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399754554":["hashtag1","hashtag2"]},{"1399754455":["hashtag1","hashtag2"]},{"1399754592":["hashtag1","hashtag2"]},{"1399754517":["hashtag1","hashtag2"]},{"1399754480":["hashtag1","hashtag2"]},{"1399754453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399754554, 1399754455, 1399754592, 1399754517, 1399754480, 1399754453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.113730907440186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:34:03.051869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/32/image_17122025_07_32_25_10649.jpg', '/home/pi/Desktop/images/17122025/07/32/image_17122025_07_32_55_10682.jpg', '/home/pi/Desktop/images/17122025/07/33/image_17122025_07_33_34_9587.jpg', '/home/pi/Desktop/images/17122025/07/33/image_17122025_07_33_44_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/32/image_17122025_07_32_25_10649.jpg
/home/pi/Desktop/images/17122025/07/32/image_17122025_07_32_55_10682.jpg
/home/pi/Desktop/images/17122025/07/33/image_17122025_07_33_34_9587.jpg
/home/pi/Desktop/images/17122025/07/33/image_17122025_07_33_44_9651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399754657","1399754748","1399754628","1399754693"],"photo_ids_order":["1399754628","1399754657","1399754693","1399754748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b2b2108441a610e053b8753299cb28e.jpg","text":"TemporaryFile(/tmp/multipartBody1112612994644994564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953303684,"filename":"image_17122025_07_32_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f150cc19a296f34eb8b678346c1d06b2.jpg","text":"TemporaryFile(/tmp/multipartBody4157360488406525559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953303684,"filename":"image_17122025_07_33_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b581eabb6dec8b1b740abf433fda865a.jpg","text":"TemporaryFile(/tmp/multipartBody833879012223223193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953303684,"filename":"image_17122025_07_32_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c24fd434bcdd32b8836ef3f6a3dedf05.jpg","text":"TemporaryFile(/tmp/multipartBody6938371026211389706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953303684,"filename":"image_17122025_07_33_34_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754693","file1":"1399754657","file0":"1399754628","file3":"1399754748"},"map_files_photo_id_array":[{"photo_id":"1399754693","filename":"file2"},{"photo_id":"1399754657","filename":"file1"},{"photo_id":"1399754628","filename":"file0"},{"photo_id":"1399754748","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399754657":["hashtag1","hashtag2"]},{"1399754748":["hashtag1","hashtag2"]},{"1399754628":["hashtag1","hashtag2"]},{"1399754693":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399754657, 1399754748, 1399754628, 1399754693)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.817622900009155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:34:32.522265
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:34:42.396122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_39_1694.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_40_1751.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_42_1601.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_44_1589.jpg', '/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_45_1816.jpg', '/home/pi/Desktop/images/07112025/17/34/image_07112025_17_34_08_16744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_39_1694.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_40_1751.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_42_1601.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_44_1589.jpg
/home/pi/Desktop/images/07112025/17/33/image_07112025_17_33_45_1816.jpg
/home/pi/Desktop/images/07112025/17/34/image_07112025_17_34_08_16744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399754899","1399754903","1399754905","1399754902","1399754901","1399754904"],"photo_ids_order":["1399754899","1399754901","1399754902","1399754903","1399754904","1399754905"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b5a6b9fef18f66d6b454c1dac6865a1.jpg","text":"TemporaryFile(/tmp/multipartBody4652809175104486224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953343092,"filename":"image_07112025_17_33_39_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/861ea162710a18b7a1e72bf2a140a709.jpg","text":"TemporaryFile(/tmp/multipartBody3569034625273197138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953343092,"filename":"image_07112025_17_33_44_1589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c35acb5201aee144278fc0f0248c812.jpg","text":"TemporaryFile(/tmp/multipartBody8318691963087723526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953343092,"filename":"image_07112025_17_34_08_16744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8509205f4711430d5e34a1fd2489a85.jpg","text":"TemporaryFile(/tmp/multipartBody884368255510046252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953343092,"filename":"image_07112025_17_33_42_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f4a864630489ede1129cc2adb514dd4.jpg","text":"TemporaryFile(/tmp/multipartBody8310075506019127088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953343092,"filename":"image_07112025_17_33_40_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c418aba8fd3277db20f02a2ae4a044aa.jpg","text":"TemporaryFile(/tmp/multipartBody4693142581867071186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953343092,"filename":"image_07112025_17_33_45_1816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754902","file1":"1399754901","file0":"1399754899","file4":"1399754904","file5":"1399754905","file3":"1399754903"},"map_files_photo_id_array":[{"photo_id":"1399754905","filename":"file5"},{"photo_id":"1399754902","filename":"file2"},{"photo_id":"1399754904","filename":"file4"},{"photo_id":"1399754901","filename":"file1"},{"photo_id":"1399754899","filename":"file0"},{"photo_id":"1399754903","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399754899":["hashtag1","hashtag2"]},{"1399754903":["hashtag1","hashtag2"]},{"1399754905":["hashtag1","hashtag2"]},{"1399754902":["hashtag1","hashtag2"]},{"1399754901":["hashtag1","hashtag2"]},{"1399754904":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399754899, 1399754903, 1399754905, 1399754902, 1399754901, 1399754904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98653292655945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:35:22.691601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/33/image_17122025_07_33_55_10671.jpg', '/home/pi/Desktop/images/17122025/07/33/image_17122025_07_34_04_9639.jpg', '/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_14_9643.jpg', '/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_25_10704.jpg', '/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_34_9636.jpg', '/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_45_10549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/33/image_17122025_07_33_55_10671.jpg
/home/pi/Desktop/images/17122025/07/33/image_17122025_07_34_04_9639.jpg
/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_14_9643.jpg
/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_25_10704.jpg
/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_34_9636.jpg
/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_45_10549.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399754912","1399754918","1399754926","1399754914","1399754916","1399754910"],"photo_ids_order":["1399754910","1399754912","1399754914","1399754916","1399754918","1399754926"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f974b17fecfb5e3670a0d24f07a2300f.jpg","text":"TemporaryFile(/tmp/multipartBody6690026538452444158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953383278,"filename":"image_17122025_07_34_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c52d16aafc10c4a4024c2b82bd8514c8.jpg","text":"TemporaryFile(/tmp/multipartBody8467249070636437427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953383278,"filename":"image_17122025_07_34_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00ede20ee8e275775f09bee4a769a69f.jpg","text":"TemporaryFile(/tmp/multipartBody8781425461455001075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953383278,"filename":"image_17122025_07_34_45_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5402903041c39022059456c152b9a087.jpg","text":"TemporaryFile(/tmp/multipartBody5050181191321108174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953383278,"filename":"image_17122025_07_34_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0ff17b6919f8da5b8a7481a77c729df.jpg","text":"TemporaryFile(/tmp/multipartBody8673660504621374160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953383278,"filename":"image_17122025_07_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/2025/12/17/bc6f87c682946df5c272fb15980e5d73.jpg","text":"TemporaryFile(/tmp/multipartBody6281184200300744919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953383278,"filename":"image_17122025_07_33_55_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754914","file1":"1399754912","file0":"1399754910","file4":"1399754918","file5":"1399754926","file3":"1399754916"},"map_files_photo_id_array":[{"photo_id":"1399754926","filename":"file5"},{"photo_id":"1399754914","filename":"file2"},{"photo_id":"1399754918","filename":"file4"},{"photo_id":"1399754912","filename":"file1"},{"photo_id":"1399754910","filename":"file0"},{"photo_id":"1399754916","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399754912":["hashtag1","hashtag2"]},{"1399754918":["hashtag1","hashtag2"]},{"1399754926":["hashtag1","hashtag2"]},{"1399754914":["hashtag1","hashtag2"]},{"1399754916":["hashtag1","hashtag2"]},{"1399754910":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399754912, 1399754918, 1399754926, 1399754914, 1399754916, 1399754910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.533467054367065 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:36:02.321552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_55_9712.jpg', '/home/pi/Desktop/images/17122025/07/34/image_17122025_07_35_04_9587.jpg', '/home/pi/Desktop/images/17122025/07/35/image_17122025_07_35_15_10676.jpg', '/home/pi/Desktop/images/17122025/07/35/image_17122025_07_35_25_9608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/34/image_17122025_07_34_55_9712.jpg
/home/pi/Desktop/images/17122025/07/34/image_17122025_07_35_04_9587.jpg
/home/pi/Desktop/images/17122025/07/35/image_17122025_07_35_15_10676.jpg
/home/pi/Desktop/images/17122025/07/35/image_17122025_07_35_25_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":["1399754930","1399754935","1399754929","1399754932"],"photo_ids_order":["1399754929","1399754930","1399754932","1399754935"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fecc97f77ec7140d9f3e0abd595a0c4.jpg","text":"TemporaryFile(/tmp/multipartBody8866566732503808214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953422855,"filename":"image_17122025_07_35_04_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64c45f4b0c44b7c35301674ba6bb66d4.jpg","text":"TemporaryFile(/tmp/multipartBody5071564917169781699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953422855,"filename":"image_17122025_07_35_25_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a975c8eaf7701c1bf4135abd0e0f2e2b.jpg","text":"TemporaryFile(/tmp/multipartBody2741856850177887474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953422855,"filename":"image_17122025_07_34_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d528583baa9aa3694ccbb0733ad0bee7.jpg","text":"TemporaryFile(/tmp/multipartBody5437115996033374271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953422855,"filename":"image_17122025_07_35_15_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754932","file1":"1399754930","file0":"1399754929","file3":"1399754935"},"map_files_photo_id_array":[{"photo_id":"1399754932","filename":"file2"},{"photo_id":"1399754930","filename":"file1"},{"photo_id":"1399754929","filename":"file0"},{"photo_id":"1399754935","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399754930":["hashtag1","hashtag2"]},{"1399754935":["hashtag1","hashtag2"]},{"1399754929":["hashtag1","hashtag2"]},{"1399754932":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399754930, 1399754935, 1399754929, 1399754932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.258286714553833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:36:31.882718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:36:41.912798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/34/image_07112025_17_34_10_1697.jpg', '/home/pi/Desktop/images/07112025/17/34/image_07112025_17_34_11_1748.jpg', '/home/pi/Desktop/images/07112025/17/34/image_07112025_17_34_13_1584.jpg', '/home/pi/Desktop/images/07112025/17/37/image_07112025_17_37_13_3241.jpg', '/home/pi/Desktop/images/07112025/17/37/image_07112025_17_37_57_3305.jpg', '/home/pi/Desktop/images/07112025/17/37/image_07112025_17_37_58_1662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/34/image_07112025_17_34_10_1697.jpg
/home/pi/Desktop/images/07112025/17/34/image_07112025_17_34_11_1748.jpg
/home/pi/Desktop/images/07112025/17/34/image_07112025_17_34_13_1584.jpg
/home/pi/Desktop/images/07112025/17/37/image_07112025_17_37_13_3241.jpg
/home/pi/Desktop/images/07112025/17/37/image_07112025_17_37_57_3305.jpg
/home/pi/Desktop/images/07112025/17/37/image_07112025_17_37_58_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":["1399754980","1399754956","1399754941","1399754952","1399755018","1399754955"],"photo_ids_order":["1399754941","1399754952","1399754955","1399754956","1399754980","1399755018"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/437a6d0103580cad584fd93c293dc393.jpg","text":"TemporaryFile(/tmp/multipartBody2085103754786791694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953462599,"filename":"image_07112025_17_37_57_3305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab6ddafbde3c8e055761fb38b83bd6da.jpg","text":"TemporaryFile(/tmp/multipartBody6502890503327074444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953462599,"filename":"image_07112025_17_37_13_3241.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b7750a9efddf72fd4eafadcf334f93a.jpg","text":"TemporaryFile(/tmp/multipartBody5050654928353334075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953462599,"filename":"image_07112025_17_34_10_1697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df0479eee2737d7419875df45f9cbbda.jpg","text":"TemporaryFile(/tmp/multipartBody1780180873058293398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953462599,"filename":"image_07112025_17_34_11_1748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85e17c5fa11cfd2333704b0fac7c8e64.jpg","text":"TemporaryFile(/tmp/multipartBody443643940103796696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953462599,"filename":"image_07112025_17_37_58_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14d08a4528fca1278a95c565b36855a5.jpg","text":"TemporaryFile(/tmp/multipartBody2814131488059504873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953462599,"filename":"image_07112025_17_34_13_1584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399754955","file1":"1399754952","file0":"1399754941","file4":"1399754980","file5":"1399755018","file3":"1399754956"},"map_files_photo_id_array":[{"photo_id":"1399755018","filename":"file5"},{"photo_id":"1399754955","filename":"file2"},{"photo_id":"1399754980","filename":"file4"},{"photo_id":"1399754952","filename":"file1"},{"photo_id":"1399754941","filename":"file0"},{"photo_id":"1399754956","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399754980":["hashtag1","hashtag2"]},{"1399754956":["hashtag1","hashtag2"]},{"1399754941":["hashtag1","hashtag2"]},{"1399754952":["hashtag1","hashtag2"]},{"1399755018":["hashtag1","hashtag2"]},{"1399754955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399754980, 1399754956, 1399754941, 1399754952, 1399755018, 1399754955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38009023666382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:37:22.151845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/35/image_17122025_07_35_34_9638.jpg', '/home/pi/Desktop/images/17122025/07/36/image_17122025_07_36_14_9884.jpg', '/home/pi/Desktop/images/17122025/07/36/image_17122025_07_36_55_10653.jpg', '/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_14_9619.jpg', '/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_25_10773.jpg', '/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_44_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/35/image_17122025_07_35_34_9638.jpg
/home/pi/Desktop/images/17122025/07/36/image_17122025_07_36_14_9884.jpg
/home/pi/Desktop/images/17122025/07/36/image_17122025_07_36_55_10653.jpg
/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_14_9619.jpg
/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_25_10773.jpg
/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_44_9714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755094","1399755087","1399755114","1399755149","1399755122","1399755146"],"photo_ids_order":["1399755087","1399755094","1399755114","1399755122","1399755146","1399755149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49ae7518ecb8b02aa1e0b5b4fc26fdee.jpg","text":"TemporaryFile(/tmp/multipartBody7985749294724843386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953502735,"filename":"image_17122025_07_36_14_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d611b40d4f83d2aa108ca0e26e5c5e0.jpg","text":"TemporaryFile(/tmp/multipartBody4036282452501981723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953502735,"filename":"image_17122025_07_35_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9f9020f956f0f5e48e9dd9ab7780bb4.jpg","text":"TemporaryFile(/tmp/multipartBody679114783032832650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953502735,"filename":"image_17122025_07_36_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6918106a0f8988281bdc7728982f9521.jpg","text":"TemporaryFile(/tmp/multipartBody5581345087053858832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953502735,"filename":"image_17122025_07_37_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0734b7b78788fb88890e8c608b21d1d5.jpg","text":"TemporaryFile(/tmp/multipartBody3311409643809770246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953502735,"filename":"image_17122025_07_37_14_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9975610512eed30040bd11ee6e318db9.jpg","text":"TemporaryFile(/tmp/multipartBody5293411747946959161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953502735,"filename":"image_17122025_07_37_25_10773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755114","file1":"1399755094","file0":"1399755087","file4":"1399755146","file5":"1399755149","file3":"1399755122"},"map_files_photo_id_array":[{"photo_id":"1399755149","filename":"file5"},{"photo_id":"1399755114","filename":"file2"},{"photo_id":"1399755146","filename":"file4"},{"photo_id":"1399755094","filename":"file1"},{"photo_id":"1399755087","filename":"file0"},{"photo_id":"1399755122","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755094":["hashtag1","hashtag2"]},{"1399755087":["hashtag1","hashtag2"]},{"1399755114":["hashtag1","hashtag2"]},{"1399755149":["hashtag1","hashtag2"]},{"1399755122":["hashtag1","hashtag2"]},{"1399755146":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755094, 1399755087, 1399755114, 1399755149, 1399755122, 1399755146)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.587924003601074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:38:03.058007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:38:12.454929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:38:22.464135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_55_10706.jpg', '/home/pi/Desktop/images/17122025/07/37/image_17122025_07_38_05_9671.jpg', '/home/pi/Desktop/images/17122025/07/38/image_17122025_07_38_14_9598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_55_10706.jpg
/home/pi/Desktop/images/17122025/07/37/image_17122025_07_38_05_9671.jpg
/home/pi/Desktop/images/17122025/07/38/image_17122025_07_38_14_9598.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.37587428092956543 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:38:32.502334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:38:42.493423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_02_1927.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_04_1538.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_07_3484.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_09_1610.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_11_1728.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_21_10130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_02_1927.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_04_1538.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_07_3484.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_09_1610.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_11_1728.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_21_10130.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755184","1399755186","1399755171","1399755185","1399755167","1399755176"],"photo_ids_order":["1399755167","1399755171","1399755176","1399755184","1399755185","1399755186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2f2b22f5a59d870d77ac52514dcb71f.jpg","text":"TemporaryFile(/tmp/multipartBody4503526322857911173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953583208,"filename":"image_07112025_17_38_09_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/740701f96166efddbe4ef6cafd8238be.jpg","text":"TemporaryFile(/tmp/multipartBody3099673675998822358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953583208,"filename":"image_07112025_17_38_21_10130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49b74f7cf2613966b9cd229ceebe9455.jpg","text":"TemporaryFile(/tmp/multipartBody1644865805513817055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953583208,"filename":"image_07112025_17_38_04_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1acae83f7d460203010d4fcce7e0aec3.jpg","text":"TemporaryFile(/tmp/multipartBody6318618741153118527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953583208,"filename":"image_07112025_17_38_11_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f89dba09de9867b9afdbd837e26e8b05.jpg","text":"TemporaryFile(/tmp/multipartBody7212550222427317622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953583208,"filename":"image_07112025_17_38_02_1927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5f856adb8f0e84b2e8973bac5511ad7.jpg","text":"TemporaryFile(/tmp/multipartBody5569211051519573622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953583208,"filename":"image_07112025_17_38_07_3484.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755176","file1":"1399755171","file0":"1399755167","file4":"1399755185","file5":"1399755186","file3":"1399755184"},"map_files_photo_id_array":[{"photo_id":"1399755186","filename":"file5"},{"photo_id":"1399755176","filename":"file2"},{"photo_id":"1399755185","filename":"file4"},{"photo_id":"1399755171","filename":"file1"},{"photo_id":"1399755167","filename":"file0"},{"photo_id":"1399755184","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399755184":["hashtag1","hashtag2"]},{"1399755186":["hashtag1","hashtag2"]},{"1399755171":["hashtag1","hashtag2"]},{"1399755185":["hashtag1","hashtag2"]},{"1399755167":["hashtag1","hashtag2"]},{"1399755176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399755184, 1399755186, 1399755171, 1399755185, 1399755167, 1399755176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.97837281227112 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:39:22.748400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_55_10706.jpg', '/home/pi/Desktop/images/17122025/07/37/image_17122025_07_38_05_9671.jpg', '/home/pi/Desktop/images/17122025/07/38/image_17122025_07_38_14_9598.jpg', '/home/pi/Desktop/images/17122025/07/38/image_17122025_07_38_35_10791.jpg', '/home/pi/Desktop/images/17122025/07/38/image_17122025_07_39_05_10606.jpg', '/home/pi/Desktop/images/17122025/07/39/image_17122025_07_39_24_9830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/37/image_17122025_07_37_55_10706.jpg
/home/pi/Desktop/images/17122025/07/37/image_17122025_07_38_05_9671.jpg
/home/pi/Desktop/images/17122025/07/38/image_17122025_07_38_14_9598.jpg
/home/pi/Desktop/images/17122025/07/38/image_17122025_07_38_35_10791.jpg
/home/pi/Desktop/images/17122025/07/38/image_17122025_07_39_05_10606.jpg
/home/pi/Desktop/images/17122025/07/39/image_17122025_07_39_24_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":["1399755199","1399755193","1399755202","1399755195","1399755197","1399755191"],"photo_ids_order":["1399755191","1399755193","1399755195","1399755197","1399755199","1399755202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1b01c700283705a8f4f1b7b13308c3c.jpg","text":"TemporaryFile(/tmp/multipartBody6062430658738904721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953623338,"filename":"image_17122025_07_39_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7d06df16c21d0d045b8d04dbdc113db.jpg","text":"TemporaryFile(/tmp/multipartBody8984224473314557302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953623338,"filename":"image_17122025_07_38_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a743c68bc0b6858fe51e064a48aa118.jpg","text":"TemporaryFile(/tmp/multipartBody162805652033819653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953623338,"filename":"image_17122025_07_39_24_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a6cb5663f018e1b00f7a789ef83bf03.jpg","text":"TemporaryFile(/tmp/multipartBody4147350674877231261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953623338,"filename":"image_17122025_07_38_14_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c7349792910ec3d760c9168e92d85f4.jpg","text":"TemporaryFile(/tmp/multipartBody3382045640257120464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953623338,"filename":"image_17122025_07_38_35_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37b21dcfa7e8ab2f566ce883bc6d40bd.jpg","text":"TemporaryFile(/tmp/multipartBody879746034044668195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953623338,"filename":"image_17122025_07_37_55_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755195","file1":"1399755193","file0":"1399755191","file4":"1399755199","file5":"1399755202","file3":"1399755197"},"map_files_photo_id_array":[{"photo_id":"1399755202","filename":"file5"},{"photo_id":"1399755195","filename":"file2"},{"photo_id":"1399755199","filename":"file4"},{"photo_id":"1399755193","filename":"file1"},{"photo_id":"1399755191","filename":"file0"},{"photo_id":"1399755197","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755199":["hashtag1","hashtag2"]},{"1399755193":["hashtag1","hashtag2"]},{"1399755202":["hashtag1","hashtag2"]},{"1399755195":["hashtag1","hashtag2"]},{"1399755197":["hashtag1","hashtag2"]},{"1399755191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755199, 1399755193, 1399755202, 1399755195, 1399755197, 1399755191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.559107065200806 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 10 --only_old 1
2025-12-17 07:40:11.940223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:40:21.927856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/39/image_17122025_07_39_34_9747.jpg', '/home/pi/Desktop/images/17122025/07/39/image_17122025_07_39_45_10618.jpg', '/home/pi/Desktop/images/17122025/07/39/image_17122025_07_39_54_9692.jpg', '/home/pi/Desktop/images/17122025/07/40/image_17122025_07_40_15_10711.jpg', '/home/pi/Desktop/images/17122025/07/40/image_17122025_07_40_24_9572.jpg', '/home/pi/Desktop/images/17122025/07/40/image_17122025_07_40_45_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/39/image_17122025_07_39_34_9747.jpg
/home/pi/Desktop/images/17122025/07/39/image_17122025_07_39_45_10618.jpg
/home/pi/Desktop/images/17122025/07/39/image_17122025_07_39_54_9692.jpg
/home/pi/Desktop/images/17122025/07/40/image_17122025_07_40_15_10711.jpg
/home/pi/Desktop/images/17122025/07/40/image_17122025_07_40_24_9572.jpg
/home/pi/Desktop/images/17122025/07/40/image_17122025_07_40_45_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":["1399755229","1399755214","1399755208","1399755211","1399755216","1399755218"],"photo_ids_order":["1399755208","1399755211","1399755214","1399755216","1399755218","1399755229"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08336073e437b4125e53b36faea2fb40.jpg","text":"TemporaryFile(/tmp/multipartBody2439919213788715841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953682551,"filename":"image_17122025_07_40_45_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b015b67219e54c082c4a73772a49e54.jpg","text":"TemporaryFile(/tmp/multipartBody3525753406110448432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953682551,"filename":"image_17122025_07_39_54_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f00e0450cac68fa37b2559cdaacdaac3.jpg","text":"TemporaryFile(/tmp/multipartBody987753227987357251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953682551,"filename":"image_17122025_07_39_34_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3cb3f659c482751cc611a94e32ecd9e.jpg","text":"TemporaryFile(/tmp/multipartBody6341099473152680506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953682551,"filename":"image_17122025_07_39_45_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4c0c588d4825a546f931e3b93e05c82.jpg","text":"TemporaryFile(/tmp/multipartBody5265364878631889324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953682551,"filename":"image_17122025_07_40_15_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/227de897fca456953af9fa93febd8a59.jpg","text":"TemporaryFile(/tmp/multipartBody1697593286552230761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953682551,"filename":"image_17122025_07_40_24_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755214","file1":"1399755211","file0":"1399755208","file4":"1399755218","file5":"1399755229","file3":"1399755216"},"map_files_photo_id_array":[{"photo_id":"1399755229","filename":"file5"},{"photo_id":"1399755214","filename":"file2"},{"photo_id":"1399755218","filename":"file4"},{"photo_id":"1399755211","filename":"file1"},{"photo_id":"1399755208","filename":"file0"},{"photo_id":"1399755216","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755229":["hashtag1","hashtag2"]},{"1399755214":["hashtag1","hashtag2"]},{"1399755208":["hashtag1","hashtag2"]},{"1399755211":["hashtag1","hashtag2"]},{"1399755216":["hashtag1","hashtag2"]},{"1399755218":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755229, 1399755214, 1399755208, 1399755211, 1399755216, 1399755218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56548571586609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:41:02.832589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:41:12.170650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:41:22.247540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/40/image_17122025_07_40_54_9736.jpg', '/home/pi/Desktop/images/17122025/07/40/image_17122025_07_41_05_10618.jpg', '/home/pi/Desktop/images/17122025/07/41/image_17122025_07_41_15_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/40/image_17122025_07_40_54_9736.jpg
/home/pi/Desktop/images/17122025/07/40/image_17122025_07_41_05_10618.jpg
/home/pi/Desktop/images/17122025/07/41/image_17122025_07_41_15_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":["1399755250","1399755252","1399755254"],"photo_ids_order":["1399755250","1399755252","1399755254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13d60c628196e391436b582585bd529a.jpg","text":"TemporaryFile(/tmp/multipartBody1205619104753298169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953742729,"filename":"image_17122025_07_40_54_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33e5b1258d9b51d9268a6c7a9de6f8d5.jpg","text":"TemporaryFile(/tmp/multipartBody3331273593698052971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953742729,"filename":"image_17122025_07_41_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3474666e097bdf8bea2cb746acf2d542.jpg","text":"TemporaryFile(/tmp/multipartBody7016111920284361404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953742729,"filename":"image_17122025_07_41_15_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755254","file1":"1399755252","file0":"1399755250"},"map_files_photo_id_array":[{"photo_id":"1399755254","filename":"file2"},{"photo_id":"1399755252","filename":"file1"},{"photo_id":"1399755250","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755250":["hashtag1","hashtag2"]},{"1399755252":["hashtag1","hashtag2"]},{"1399755254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755250, 1399755252, 1399755254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.762890100479126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:42:02.839731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:42:12.394682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:42:22.458414
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/41/image_17122025_07_41_45_10658.jpg', '/home/pi/Desktop/images/17122025/07/41/image_17122025_07_42_05_10562.jpg', '/home/pi/Desktop/images/17122025/07/42/image_17122025_07_42_15_9671.jpg', '/home/pi/Desktop/images/17122025/07/42/image_17122025_07_42_24_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/41/image_17122025_07_41_45_10658.jpg
/home/pi/Desktop/images/17122025/07/41/image_17122025_07_42_05_10562.jpg
/home/pi/Desktop/images/17122025/07/42/image_17122025_07_42_15_9671.jpg
/home/pi/Desktop/images/17122025/07/42/image_17122025_07_42_24_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":["1399755457","1399755439","1399755459","1399755464"],"photo_ids_order":["1399755439","1399755457","1399755459","1399755464"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf7216dce2940611891bf786a43e1f03.jpg","text":"TemporaryFile(/tmp/multipartBody8806471021227941612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953802972,"filename":"image_17122025_07_42_05_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c05ef2cd6a07fec3fcb85c0078986233.jpg","text":"TemporaryFile(/tmp/multipartBody2294880745603688188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953802972,"filename":"image_17122025_07_41_45_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e3ec36fae6194dd16936d678a9915e1.jpg","text":"TemporaryFile(/tmp/multipartBody8493578811324157504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953802972,"filename":"image_17122025_07_42_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee1cb2a5e4b7b3bac0cb9c44cc849206.jpg","text":"TemporaryFile(/tmp/multipartBody5472845940178723573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953802972,"filename":"image_17122025_07_42_24_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755459","file1":"1399755457","file0":"1399755439","file3":"1399755464"},"map_files_photo_id_array":[{"photo_id":"1399755459","filename":"file2"},{"photo_id":"1399755457","filename":"file1"},{"photo_id":"1399755439","filename":"file0"},{"photo_id":"1399755464","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755457":["hashtag1","hashtag2"]},{"1399755439":["hashtag1","hashtag2"]},{"1399755459":["hashtag1","hashtag2"]},{"1399755464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755457, 1399755439, 1399755459, 1399755464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.357085943222046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:43:03.455085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:43:12.774484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:43:22.782084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/42/image_17122025_07_42_55_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/42/image_17122025_07_42_55_9844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755510"],"photo_id":"1399755510","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/799d7b4b97b7f04b7685feffd57fb088.jpg","text":"TemporaryFile(/tmp/multipartBody3924575096529270066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953863198,"filename":"image_17122025_07_42_55_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399755510"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399755510"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.317351818084717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:43:42.829486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_24_1600.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_33_7462.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_35_1695.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_36_1571.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_38_1586.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_43_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_24_1600.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_33_7462.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_35_1695.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_36_1571.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_38_1586.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_43_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":["1399755524","1399755523","1399755526","1399755517","1399755525","1399755521"],"photo_ids_order":["1399755517","1399755521","1399755523","1399755524","1399755525","1399755526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1366a0093ecb17181c4efb80081ec908.jpg","text":"TemporaryFile(/tmp/multipartBody4557450599368617924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953883510,"filename":"image_07112025_17_38_36_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b3aefb9c94f936384b8dc2a5c303608.jpg","text":"TemporaryFile(/tmp/multipartBody5458581402598498460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953883510,"filename":"image_07112025_17_38_35_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/beec0cd05fce6faaed056944db4a709a.jpg","text":"TemporaryFile(/tmp/multipartBody6745139935489048802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953883510,"filename":"image_07112025_17_38_43_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e95a061047c93899c649a4787da5faca.jpg","text":"TemporaryFile(/tmp/multipartBody3461012552524740634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953883510,"filename":"image_07112025_17_38_24_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b71eb39d553b90b213e89543e98ee2b4.jpg","text":"TemporaryFile(/tmp/multipartBody4846731760057664338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953883510,"filename":"image_07112025_17_38_38_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c42fba9e565088bb7ea5b3ad0af9bafa.jpg","text":"TemporaryFile(/tmp/multipartBody6348822793131627598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953883510,"filename":"image_07112025_17_38_33_7462.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755523","file1":"1399755521","file0":"1399755517","file4":"1399755525","file5":"1399755526","file3":"1399755524"},"map_files_photo_id_array":[{"photo_id":"1399755526","filename":"file5"},{"photo_id":"1399755523","filename":"file2"},{"photo_id":"1399755525","filename":"file4"},{"photo_id":"1399755521","filename":"file1"},{"photo_id":"1399755517","filename":"file0"},{"photo_id":"1399755524","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399755524":["hashtag1","hashtag2"]},{"1399755523":["hashtag1","hashtag2"]},{"1399755526":["hashtag1","hashtag2"]},{"1399755517":["hashtag1","hashtag2"]},{"1399755525":["hashtag1","hashtag2"]},{"1399755521":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399755524, 1399755523, 1399755526, 1399755517, 1399755525, 1399755521)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76669788360596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:44:22.090349
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/43/image_17122025_07_43_55_9670.jpg', '/home/pi/Desktop/images/17122025/07/43/image_17122025_07_44_04_9703.jpg', '/home/pi/Desktop/images/17122025/07/44/image_17122025_07_44_15_10584.jpg', '/home/pi/Desktop/images/17122025/07/44/image_17122025_07_44_44_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/43/image_17122025_07_43_55_9670.jpg
/home/pi/Desktop/images/17122025/07/43/image_17122025_07_44_04_9703.jpg
/home/pi/Desktop/images/17122025/07/44/image_17122025_07_44_15_10584.jpg
/home/pi/Desktop/images/17122025/07/44/image_17122025_07_44_44_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":["1399755534","1399755543","1399755531","1399755539"],"photo_ids_order":["1399755531","1399755534","1399755539","1399755543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/335af93b3a0b5a644fe70d3c30e538ac.jpg","text":"TemporaryFile(/tmp/multipartBody492801550486493966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953922634,"filename":"image_17122025_07_44_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7a6c296c6789b6eb43724f120acdcbc.jpg","text":"TemporaryFile(/tmp/multipartBody110371250497335601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953922634,"filename":"image_17122025_07_44_44_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ed86607ce1949e059a47aaa899c8241.jpg","text":"TemporaryFile(/tmp/multipartBody662498638895658148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953922634,"filename":"image_17122025_07_43_55_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dcea9211763aa328d79966a7dc2f5ac.jpg","text":"TemporaryFile(/tmp/multipartBody1870718091089924881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953922634,"filename":"image_17122025_07_44_15_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755539","file1":"1399755534","file0":"1399755531","file3":"1399755543"},"map_files_photo_id_array":[{"photo_id":"1399755539","filename":"file2"},{"photo_id":"1399755534","filename":"file1"},{"photo_id":"1399755531","filename":"file0"},{"photo_id":"1399755543","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755534":["hashtag1","hashtag2"]},{"1399755543":["hashtag1","hashtag2"]},{"1399755531":["hashtag1","hashtag2"]},{"1399755539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755534, 1399755543, 1399755531, 1399755539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.052906036376953 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:45:03.183585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:45:12.478692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:45:22.610903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/44/image_17122025_07_44_55_10754.jpg', '/home/pi/Desktop/images/17122025/07/44/image_17122025_07_45_05_9643.jpg', '/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_14_9663.jpg', '/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_25_10664.jpg', '/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_35_9606.jpg', '/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_44_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/44/image_17122025_07_44_55_10754.jpg
/home/pi/Desktop/images/17122025/07/44/image_17122025_07_45_05_9643.jpg
/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_14_9663.jpg
/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_25_10664.jpg
/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_35_9606.jpg
/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_44_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755574","1399755565","1399755567","1399755578","1399755572","1399755569"],"photo_ids_order":["1399755565","1399755567","1399755569","1399755572","1399755574","1399755578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e267686f7b5c93216e6241cdea6b95ea.jpg","text":"TemporaryFile(/tmp/multipartBody7086048627066783501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953983196,"filename":"image_17122025_07_45_35_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b1e54d9446e106067a799ec3d36a227.jpg","text":"TemporaryFile(/tmp/multipartBody5803543689989049811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953983196,"filename":"image_17122025_07_44_55_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9ff90fcedca0eb223c16dd1e3f39ff0.jpg","text":"TemporaryFile(/tmp/multipartBody5684664878136404992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953983196,"filename":"image_17122025_07_45_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f03f079f90fcce5e9f203b2c067e5d6a.jpg","text":"TemporaryFile(/tmp/multipartBody7878807599042651450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953983196,"filename":"image_17122025_07_45_44_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd2243683d6ae8be9fc241420462a4a9.jpg","text":"TemporaryFile(/tmp/multipartBody4876587482712868966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953983196,"filename":"image_17122025_07_45_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1852a1dedd45326f148f56e3afc6b2d7.jpg","text":"TemporaryFile(/tmp/multipartBody6424318432143349972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765953983196,"filename":"image_17122025_07_45_14_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755569","file1":"1399755567","file0":"1399755565","file4":"1399755574","file5":"1399755578","file3":"1399755572"},"map_files_photo_id_array":[{"photo_id":"1399755578","filename":"file5"},{"photo_id":"1399755569","filename":"file2"},{"photo_id":"1399755574","filename":"file4"},{"photo_id":"1399755567","filename":"file1"},{"photo_id":"1399755565","filename":"file0"},{"photo_id":"1399755572","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755574":["hashtag1","hashtag2"]},{"1399755565":["hashtag1","hashtag2"]},{"1399755567":["hashtag1","hashtag2"]},{"1399755578":["hashtag1","hashtag2"]},{"1399755572":["hashtag1","hashtag2"]},{"1399755569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755574, 1399755565, 1399755567, 1399755578, 1399755572, 1399755569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.00641965866089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:46:03.152829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:46:12.686609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:46:22.695169
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_55_10792.jpg', '/home/pi/Desktop/images/17122025/07/45/image_17122025_07_46_05_9701.jpg', '/home/pi/Desktop/images/17122025/07/46/image_17122025_07_46_14_9563.jpg', '/home/pi/Desktop/images/17122025/07/46/image_17122025_07_46_25_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/45/image_17122025_07_45_55_10792.jpg
/home/pi/Desktop/images/17122025/07/45/image_17122025_07_46_05_9701.jpg
/home/pi/Desktop/images/17122025/07/46/image_17122025_07_46_14_9563.jpg
/home/pi/Desktop/images/17122025/07/46/image_17122025_07_46_25_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755589","1399755591","1399755588","1399755593"],"photo_ids_order":["1399755588","1399755589","1399755591","1399755593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80f2f0917f03d85b24afc42faa26ec8c.jpg","text":"TemporaryFile(/tmp/multipartBody2290079625051810737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954043214,"filename":"image_17122025_07_46_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e886aa5aa1e94126ab0c446f03f306b.jpg","text":"TemporaryFile(/tmp/multipartBody6870286060243978138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954043214,"filename":"image_17122025_07_46_14_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16201d3a114733ac3e45a3b82bc065fa.jpg","text":"TemporaryFile(/tmp/multipartBody5288587709247809281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954043214,"filename":"image_17122025_07_45_55_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24a1f3aefd7dc1f0741e1e6c67b2df9d.jpg","text":"TemporaryFile(/tmp/multipartBody6172315875220827332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954043214,"filename":"image_17122025_07_46_25_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755591","file1":"1399755589","file0":"1399755588","file3":"1399755593"},"map_files_photo_id_array":[{"photo_id":"1399755591","filename":"file2"},{"photo_id":"1399755589","filename":"file1"},{"photo_id":"1399755588","filename":"file0"},{"photo_id":"1399755593","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755589":["hashtag1","hashtag2"]},{"1399755591":["hashtag1","hashtag2"]},{"1399755588":["hashtag1","hashtag2"]},{"1399755593":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755589, 1399755591, 1399755588, 1399755593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.590301513671875 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:47:02.600020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:47:11.914131
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:47:22.024460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/46/image_17122025_07_46_34_9644.jpg', '/home/pi/Desktop/images/17122025/07/46/image_17122025_07_47_05_9818.jpg', '/home/pi/Desktop/images/17122025/07/47/image_17122025_07_47_25_10683.jpg', '/home/pi/Desktop/images/17122025/07/47/image_17122025_07_47_35_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/46/image_17122025_07_46_34_9644.jpg
/home/pi/Desktop/images/17122025/07/46/image_17122025_07_47_05_9818.jpg
/home/pi/Desktop/images/17122025/07/47/image_17122025_07_47_25_10683.jpg
/home/pi/Desktop/images/17122025/07/47/image_17122025_07_47_35_9843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755610","1399755607","1399755612","1399755608"],"photo_ids_order":["1399755607","1399755608","1399755610","1399755612"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ed3edba5ed84cfe740f2fe642f701f9.jpg","text":"TemporaryFile(/tmp/multipartBody3189228982931727636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954102529,"filename":"image_17122025_07_47_25_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5409bc682b4a46df10cb47eeb95b834e.jpg","text":"TemporaryFile(/tmp/multipartBody282418785767677566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954102529,"filename":"image_17122025_07_46_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e39cdd08bafd5820d5cf3f9a603ac3f0.jpg","text":"TemporaryFile(/tmp/multipartBody4509029662454486619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954102529,"filename":"image_17122025_07_47_35_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b743e591300b5567767414231a05753.jpg","text":"TemporaryFile(/tmp/multipartBody5284187612735121772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954102529,"filename":"image_17122025_07_47_05_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755610","file1":"1399755608","file0":"1399755607","file3":"1399755612"},"map_files_photo_id_array":[{"photo_id":"1399755610","filename":"file2"},{"photo_id":"1399755608","filename":"file1"},{"photo_id":"1399755607","filename":"file0"},{"photo_id":"1399755612","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755610":["hashtag1","hashtag2"]},{"1399755607":["hashtag1","hashtag2"]},{"1399755612":["hashtag1","hashtag2"]},{"1399755608":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755610, 1399755607, 1399755612, 1399755608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.982666969299316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:48:02.696101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:48:12.156489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:48:22.235528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/47/image_17122025_07_47_44_9551.jpg', '/home/pi/Desktop/images/17122025/07/47/image_17122025_07_48_05_9843.jpg', '/home/pi/Desktop/images/17122025/07/48/image_17122025_07_48_14_9718.jpg', '/home/pi/Desktop/images/17122025/07/48/image_17122025_07_48_44_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/47/image_17122025_07_47_44_9551.jpg
/home/pi/Desktop/images/17122025/07/47/image_17122025_07_48_05_9843.jpg
/home/pi/Desktop/images/17122025/07/48/image_17122025_07_48_14_9718.jpg
/home/pi/Desktop/images/17122025/07/48/image_17122025_07_48_44_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755637","1399755631","1399755633","1399755635"],"photo_ids_order":["1399755631","1399755633","1399755635","1399755637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95974ad694f682dd09e03a07dec7b500.jpg","text":"TemporaryFile(/tmp/multipartBody3103250695789417203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954162757,"filename":"image_17122025_07_48_44_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d76db40c9bf69f2d8c7c4158ef5cc56.jpg","text":"TemporaryFile(/tmp/multipartBody5695396032462699099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954162757,"filename":"image_17122025_07_47_44_9551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c04a2398ddaf9114bd4d3033be512dc.jpg","text":"TemporaryFile(/tmp/multipartBody7327364947502874807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954162757,"filename":"image_17122025_07_48_05_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/219fdf07d3aa71513b4b48a88e4f25ac.jpg","text":"TemporaryFile(/tmp/multipartBody3820599487761684480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954162757,"filename":"image_17122025_07_48_14_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755635","file1":"1399755633","file0":"1399755631","file3":"1399755637"},"map_files_photo_id_array":[{"photo_id":"1399755635","filename":"file2"},{"photo_id":"1399755633","filename":"file1"},{"photo_id":"1399755631","filename":"file0"},{"photo_id":"1399755637","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755637":["hashtag1","hashtag2"]},{"1399755631":["hashtag1","hashtag2"]},{"1399755633":["hashtag1","hashtag2"]},{"1399755635":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755637, 1399755631, 1399755633, 1399755635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.37991237640381 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:49:03.522841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:49:12.481303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:49:22.555175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/48/image_17122025_07_48_55_10667.jpg', '/home/pi/Desktop/images/17122025/07/48/image_17122025_07_49_05_9656.jpg', '/home/pi/Desktop/images/17122025/07/49/image_17122025_07_49_14_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/48/image_17122025_07_48_55_10667.jpg
/home/pi/Desktop/images/17122025/07/48/image_17122025_07_49_05_9656.jpg
/home/pi/Desktop/images/17122025/07/49/image_17122025_07_49_14_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755651","1399755648","1399755653"],"photo_ids_order":["1399755648","1399755651","1399755653"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b41a22df1d149ef770f9746505d77f8b.jpg","text":"TemporaryFile(/tmp/multipartBody7029367787674925730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954223035,"filename":"image_17122025_07_49_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87ba125e12d40422d581f59c8ab188bd.jpg","text":"TemporaryFile(/tmp/multipartBody4870544065180533174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954223035,"filename":"image_17122025_07_48_55_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a27c0ba36df5049d24f2bb22a698725.jpg","text":"TemporaryFile(/tmp/multipartBody6948228939435292915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954223035,"filename":"image_17122025_07_49_14_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755653","file1":"1399755651","file0":"1399755648"},"map_files_photo_id_array":[{"photo_id":"1399755653","filename":"file2"},{"photo_id":"1399755651","filename":"file1"},{"photo_id":"1399755648","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755651":["hashtag1","hashtag2"]},{"1399755648":["hashtag1","hashtag2"]},{"1399755653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755651, 1399755648, 1399755653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.060283660888672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:50:03.176129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:50:12.766535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:50:22.764299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/49/image_17122025_07_49_44_9855.jpg', '/home/pi/Desktop/images/17122025/07/49/image_17122025_07_50_05_10637.jpg', '/home/pi/Desktop/images/17122025/07/50/image_17122025_07_50_14_9697.jpg', '/home/pi/Desktop/images/17122025/07/50/image_17122025_07_50_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/49/image_17122025_07_49_44_9855.jpg
/home/pi/Desktop/images/17122025/07/49/image_17122025_07_50_05_10637.jpg
/home/pi/Desktop/images/17122025/07/50/image_17122025_07_50_14_9697.jpg
/home/pi/Desktop/images/17122025/07/50/image_17122025_07_50_44_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755670","1399755676","1399755674","1399755668"],"photo_ids_order":["1399755668","1399755670","1399755674","1399755676"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f39126b5373d88f6839cc0bcc036a2b.jpg","text":"TemporaryFile(/tmp/multipartBody2914022043536571787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954283282,"filename":"image_17122025_07_50_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6cfa7825a8fc3a56253822153a78f072.jpg","text":"TemporaryFile(/tmp/multipartBody7514626543873267104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954283282,"filename":"image_17122025_07_50_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/efc3f480f75d615e66b44317e63ab467.jpg","text":"TemporaryFile(/tmp/multipartBody8966220967029600467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954283282,"filename":"image_17122025_07_50_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f331689993f7662b44393ec3db7d4976.jpg","text":"TemporaryFile(/tmp/multipartBody7482861311315869756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954283282,"filename":"image_17122025_07_49_44_9855.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755674","file1":"1399755670","file0":"1399755668","file3":"1399755676"},"map_files_photo_id_array":[{"photo_id":"1399755674","filename":"file2"},{"photo_id":"1399755670","filename":"file1"},{"photo_id":"1399755668","filename":"file0"},{"photo_id":"1399755676","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755670":["hashtag1","hashtag2"]},{"1399755676":["hashtag1","hashtag2"]},{"1399755674":["hashtag1","hashtag2"]},{"1399755668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755670, 1399755676, 1399755674, 1399755668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.27882432937622 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:51:02.337708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:51:11.986721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:51:21.931638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/50/image_17122025_07_50_55_10615.jpg', '/home/pi/Desktop/images/17122025/07/51/image_17122025_07_51_15_9644.jpg', '/home/pi/Desktop/images/17122025/07/51/image_17122025_07_51_24_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/50/image_17122025_07_50_55_10615.jpg
/home/pi/Desktop/images/17122025/07/51/image_17122025_07_51_15_9644.jpg
/home/pi/Desktop/images/17122025/07/51/image_17122025_07_51_24_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755691","1399755693","1399755695"],"photo_ids_order":["1399755691","1399755693","1399755695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/996679a9f4a0add865a04116f0b7910f.jpg","text":"TemporaryFile(/tmp/multipartBody5247477667691664936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954342436,"filename":"image_17122025_07_50_55_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2120cdae57270a164f781f13318d9a8.jpg","text":"TemporaryFile(/tmp/multipartBody2570891486812300552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954342436,"filename":"image_17122025_07_51_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b37cc2d98c10396c956a5e1bc7790ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8141144913544106257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954342436,"filename":"image_17122025_07_51_24_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755695","file1":"1399755693","file0":"1399755691"},"map_files_photo_id_array":[{"photo_id":"1399755695","filename":"file2"},{"photo_id":"1399755693","filename":"file1"},{"photo_id":"1399755691","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755691":["hashtag1","hashtag2"]},{"1399755693":["hashtag1","hashtag2"]},{"1399755695":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755691, 1399755693, 1399755695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.91275715827942 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:52:02.608734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:52:12.737361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:52:22.255112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 07:52:32.195818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:53:03.373690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 07:53:12.552251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 40
2025-12-17 07:53:22.615936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/51/image_17122025_07_51_44_9644.jpg', '/home/pi/Desktop/images/17122025/07/51/image_17122025_07_52_05_9970.jpg', '/home/pi/Desktop/images/17122025/07/52/image_17122025_07_52_25_10104.jpg', '/home/pi/Desktop/images/17122025/07/52/image_17122025_07_52_35_9782.jpg', '/home/pi/Desktop/images/17122025/07/52/image_17122025_07_52_44_9681.jpg', '/home/pi/Desktop/images/17122025/07/52/image_17122025_07_52_55_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/51/image_17122025_07_51_44_9644.jpg
/home/pi/Desktop/images/17122025/07/51/image_17122025_07_52_05_9970.jpg
/home/pi/Desktop/images/17122025/07/52/image_17122025_07_52_25_10104.jpg
/home/pi/Desktop/images/17122025/07/52/image_17122025_07_52_35_9782.jpg
/home/pi/Desktop/images/17122025/07/52/image_17122025_07_52_44_9681.jpg
/home/pi/Desktop/images/17122025/07/52/image_17122025_07_52_55_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755733","1399755742","1399755738","1399755737","1399755752","1399755740"],"photo_ids_order":["1399755733","1399755737","1399755738","1399755740","1399755742","1399755752"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f22ec0317b9cd7aa32ebee12481c522d.jpg","text":"TemporaryFile(/tmp/multipartBody1501805120796842744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954463178,"filename":"image_17122025_07_51_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e860102e03746423b0bfc9b1827da00.jpg","text":"TemporaryFile(/tmp/multipartBody1181309987263984545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954463178,"filename":"image_17122025_07_52_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c84d00f56b194fc8d9242bebb0dca03.jpg","text":"TemporaryFile(/tmp/multipartBody618143426797922840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954463178,"filename":"image_17122025_07_52_25_10104.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa4ea245d1ef35c2b5836ac9e0880147.jpg","text":"TemporaryFile(/tmp/multipartBody2077774568952134281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954463178,"filename":"image_17122025_07_52_05_9970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec2d1a158bfaa24394133a7a428ac334.jpg","text":"TemporaryFile(/tmp/multipartBody3557220588086457298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954463178,"filename":"image_17122025_07_52_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00c311aea0969b42eb7765e662c622a1.jpg","text":"TemporaryFile(/tmp/multipartBody2531672119429839821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954463178,"filename":"image_17122025_07_52_35_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755738","file1":"1399755737","file0":"1399755733","file4":"1399755742","file5":"1399755752","file3":"1399755740"},"map_files_photo_id_array":[{"photo_id":"1399755752","filename":"file5"},{"photo_id":"1399755738","filename":"file2"},{"photo_id":"1399755742","filename":"file4"},{"photo_id":"1399755737","filename":"file1"},{"photo_id":"1399755733","filename":"file0"},{"photo_id":"1399755740","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755733":["hashtag1","hashtag2"]},{"1399755742":["hashtag1","hashtag2"]},{"1399755738":["hashtag1","hashtag2"]},{"1399755737":["hashtag1","hashtag2"]},{"1399755752":["hashtag1","hashtag2"]},{"1399755740":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755733, 1399755742, 1399755738, 1399755737, 1399755752, 1399755740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.23558592796326 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:54:03.455815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/52/image_17122025_07_53_05_9683.jpg', '/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_14_9684.jpg', '/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_25_10692.jpg', '/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_35_9559.jpg', '/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_44_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/52/image_17122025_07_53_05_9683.jpg
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_14_9684.jpg
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_25_10692.jpg
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_35_9559.jpg
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_44_9799.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8133535385131836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 07:54:12.782997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:54:22.817359
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/52/image_17122025_07_53_05_9683.jpg', '/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_14_9684.jpg', '/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_25_10692.jpg', '/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_35_9559.jpg', '/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_44_9799.jpg', '/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_54_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/52/image_17122025_07_53_05_9683.jpg
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_14_9684.jpg
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_25_10692.jpg
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_35_9559.jpg
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_44_9799.jpg
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_53_54_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755784","1399755769","1399755777","1399755786","1399755774","1399755767"],"photo_ids_order":["1399755767","1399755769","1399755774","1399755777","1399755784","1399755786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0371ee9547ec3c8e35ae42c815593de.jpg","text":"TemporaryFile(/tmp/multipartBody227972690088385039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954523423,"filename":"image_17122025_07_53_44_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/805ecfeb2902c01da9e32ef00c10daa5.jpg","text":"TemporaryFile(/tmp/multipartBody5676035724103083186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954523423,"filename":"image_17122025_07_53_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4fce8d5e75918f545a42daee351fa2f.jpg","text":"TemporaryFile(/tmp/multipartBody8914717113886760698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954523423,"filename":"image_17122025_07_53_35_9559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/905f74c22a6713d1aa06550457acae49.jpg","text":"TemporaryFile(/tmp/multipartBody49797097233358330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954523423,"filename":"image_17122025_07_53_54_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1e6c51e4e5818a8f88f4c9f43470d66.jpg","text":"TemporaryFile(/tmp/multipartBody2494334826014096964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954523423,"filename":"image_17122025_07_53_25_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0825ae018ec13627043b5d2b87706d84.jpg","text":"TemporaryFile(/tmp/multipartBody4249427644522314878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954523423,"filename":"image_17122025_07_53_05_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755774","file1":"1399755769","file0":"1399755767","file4":"1399755784","file5":"1399755786","file3":"1399755777"},"map_files_photo_id_array":[{"photo_id":"1399755786","filename":"file5"},{"photo_id":"1399755774","filename":"file2"},{"photo_id":"1399755784","filename":"file4"},{"photo_id":"1399755769","filename":"file1"},{"photo_id":"1399755767","filename":"file0"},{"photo_id":"1399755777","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755784":["hashtag1","hashtag2"]},{"1399755769":["hashtag1","hashtag2"]},{"1399755777":["hashtag1","hashtag2"]},{"1399755786":["hashtag1","hashtag2"]},{"1399755774":["hashtag1","hashtag2"]},{"1399755767":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755784, 1399755769, 1399755777, 1399755786, 1399755774, 1399755767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47671866416931 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:55:02.680683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/53/image_17122025_07_54_05_10755.jpg', '/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_14_9468.jpg', '/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_25_10660.jpg', '/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_35_9669.jpg', '/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_44_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/53/image_17122025_07_54_05_10755.jpg
/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_14_9468.jpg
/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_25_10660.jpg
/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_35_9669.jpg
/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_44_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":["1399755790","1399755805","1399755801","1399755804","1399755794"],"photo_ids_order":["1399755790","1399755794","1399755801","1399755804","1399755805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dff7309318316db7f4ebdffa0abc60c.jpg","text":"TemporaryFile(/tmp/multipartBody5608503275551565577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954563296,"filename":"image_17122025_07_54_05_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dab2cad9650224f95567d7b57df0b5af.jpg","text":"TemporaryFile(/tmp/multipartBody1328202072485762506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954563296,"filename":"image_17122025_07_54_44_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc4ed4989016f7e21e562d96dad0d86c.jpg","text":"TemporaryFile(/tmp/multipartBody5025217913059763346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954563296,"filename":"image_17122025_07_54_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6826a43c10ba5768800cee69af4ab167.jpg","text":"TemporaryFile(/tmp/multipartBody5062684946507756085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954563296,"filename":"image_17122025_07_54_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7917856ae76c8cf4a75d22b1fc78ba5.jpg","text":"TemporaryFile(/tmp/multipartBody1123042874129697406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954563296,"filename":"image_17122025_07_54_14_9468.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755801","file1":"1399755794","file0":"1399755790","file4":"1399755805","file3":"1399755804"},"map_files_photo_id_array":[{"photo_id":"1399755801","filename":"file2"},{"photo_id":"1399755805","filename":"file4"},{"photo_id":"1399755794","filename":"file1"},{"photo_id":"1399755790","filename":"file0"},{"photo_id":"1399755804","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755790":["hashtag1","hashtag2"]},{"1399755805":["hashtag1","hashtag2"]},{"1399755801":["hashtag1","hashtag2"]},{"1399755804":["hashtag1","hashtag2"]},{"1399755794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755790, 1399755805, 1399755801, 1399755804, 1399755794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.510476112365723 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:55:41.999369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_44_1639.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_50_1959.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_51_1720.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_53_1621.jpg', '/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_58_1583.jpg', '/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_03_1750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_44_1639.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_50_1959.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_51_1720.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_53_1621.jpg
/home/pi/Desktop/images/07112025/17/38/image_07112025_17_38_58_1583.jpg
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_03_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":["1399755815","1399755814","1399755817","1399755811","1399755816","1399755818"],"photo_ids_order":["1399755811","1399755814","1399755815","1399755816","1399755817","1399755818"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1531db4789c9c0b1a06baf00a5b05fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5855145350107597410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954602683,"filename":"image_07112025_17_38_51_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/756b0e545d1eaca433cea7923e3b5266.jpg","text":"TemporaryFile(/tmp/multipartBody7539279179494598835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954602683,"filename":"image_07112025_17_38_50_1959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9780695db9d94bcc852c71c1763660ac.jpg","text":"TemporaryFile(/tmp/multipartBody7946296231417787299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954602683,"filename":"image_07112025_17_38_58_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70eede238e2782a977efbb3c435442c3.jpg","text":"TemporaryFile(/tmp/multipartBody6948817398245169362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954602683,"filename":"image_07112025_17_38_44_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abb523ee1f1f4ce369734863b184b02c.jpg","text":"TemporaryFile(/tmp/multipartBody8549869449228841418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954602683,"filename":"image_07112025_17_38_53_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5ae6a9780be5913870b93623605cdaa.jpg","text":"TemporaryFile(/tmp/multipartBody3907222259658243095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954602683,"filename":"image_07112025_17_39_03_1750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755815","file1":"1399755814","file0":"1399755811","file4":"1399755817","file5":"1399755818","file3":"1399755816"},"map_files_photo_id_array":[{"photo_id":"1399755818","filename":"file5"},{"photo_id":"1399755815","filename":"file2"},{"photo_id":"1399755817","filename":"file4"},{"photo_id":"1399755814","filename":"file1"},{"photo_id":"1399755811","filename":"file0"},{"photo_id":"1399755816","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399755815":["hashtag1","hashtag2"]},{"1399755814":["hashtag1","hashtag2"]},{"1399755817":["hashtag1","hashtag2"]},{"1399755811":["hashtag1","hashtag2"]},{"1399755816":["hashtag1","hashtag2"]},{"1399755818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399755815, 1399755814, 1399755817, 1399755811, 1399755816, 1399755818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.548200368881226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 07:56:22.238751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_55_10771.jpg', '/home/pi/Desktop/images/17122025/07/54/image_17122025_07_55_05_9694.jpg', '/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_14_9643.jpg', '/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_25_10650.jpg', '/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_35_9638.jpg', '/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_44_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/54/image_17122025_07_54_55_10771.jpg
/home/pi/Desktop/images/17122025/07/54/image_17122025_07_55_05_9694.jpg
/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_14_9643.jpg
/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_25_10650.jpg
/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_35_9638.jpg
/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_44_9730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755826","1399755840","1399755834","1399755837","1399755845","1399755830"],"photo_ids_order":["1399755826","1399755830","1399755834","1399755837","1399755840","1399755845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed11b600d27375973bf20565414de9a5.jpg","text":"TemporaryFile(/tmp/multipartBody8869236002910781190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954642887,"filename":"image_17122025_07_54_55_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd8a75853b12b83588860f7e64aec8b4.jpg","text":"TemporaryFile(/tmp/multipartBody7953266504796716147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954642887,"filename":"image_17122025_07_55_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb9fd17abfcc4c704a98b9c8d8b33cbb.jpg","text":"TemporaryFile(/tmp/multipartBody2885555718047365187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954642887,"filename":"image_17122025_07_55_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f43f8349d79b38e63269766ba2994489.jpg","text":"TemporaryFile(/tmp/multipartBody1218744810159564412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954642887,"filename":"image_17122025_07_55_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63f062a6481a82c160dc0e0429ef9ce2.jpg","text":"TemporaryFile(/tmp/multipartBody4766373409191424560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954642887,"filename":"image_17122025_07_55_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43857c76fe5298f4ae5a294a11903f15.jpg","text":"TemporaryFile(/tmp/multipartBody8475066698173314240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954642887,"filename":"image_17122025_07_55_05_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755834","file1":"1399755830","file0":"1399755826","file4":"1399755840","file5":"1399755845","file3":"1399755837"},"map_files_photo_id_array":[{"photo_id":"1399755845","filename":"file5"},{"photo_id":"1399755834","filename":"file2"},{"photo_id":"1399755840","filename":"file4"},{"photo_id":"1399755830","filename":"file1"},{"photo_id":"1399755826","filename":"file0"},{"photo_id":"1399755837","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755826":["hashtag1","hashtag2"]},{"1399755840":["hashtag1","hashtag2"]},{"1399755834":["hashtag1","hashtag2"]},{"1399755837":["hashtag1","hashtag2"]},{"1399755845":["hashtag1","hashtag2"]},{"1399755830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755826, 1399755840, 1399755834, 1399755837, 1399755845, 1399755830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.82228970527649 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:57:03.124729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_54_9850.jpg', '/home/pi/Desktop/images/17122025/07/55/image_17122025_07_56_05_10634.jpg', '/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_15_9850.jpg', '/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_24_9555.jpg', '/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_35_10753.jpg', '/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_45_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/55/image_17122025_07_55_54_9850.jpg
/home/pi/Desktop/images/17122025/07/55/image_17122025_07_56_05_10634.jpg
/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_15_9850.jpg
/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_24_9555.jpg
/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_35_10753.jpg
/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_45_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755847","1399755852","1399755846","1399755855","1399755849","1399755848"],"photo_ids_order":["1399755846","1399755847","1399755848","1399755849","1399755852","1399755855"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e78ccd893a6c8d249422b99a18650790.jpg","text":"TemporaryFile(/tmp/multipartBody1659336495049658268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954683773,"filename":"image_17122025_07_56_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/508e0f6a6ff161e5e63218366311b4ae.jpg","text":"TemporaryFile(/tmp/multipartBody1600312235249124893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954683773,"filename":"image_17122025_07_56_35_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4655234e987b251312a2b7bee4216584.jpg","text":"TemporaryFile(/tmp/multipartBody8805090276525434521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954683773,"filename":"image_17122025_07_55_54_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bf61b96be2947c8bc30b3871f407d27.jpg","text":"TemporaryFile(/tmp/multipartBody8084496763827976883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954683773,"filename":"image_17122025_07_56_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c86ab8a2cd498189b761218a21b9d225.jpg","text":"TemporaryFile(/tmp/multipartBody5907051526924446294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954683773,"filename":"image_17122025_07_56_24_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eeb97dd7a8114931a62aaac0deb54ecc.jpg","text":"TemporaryFile(/tmp/multipartBody9060266285485039713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954683773,"filename":"image_17122025_07_56_15_9850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755848","file1":"1399755847","file0":"1399755846","file4":"1399755852","file5":"1399755855","file3":"1399755849"},"map_files_photo_id_array":[{"photo_id":"1399755855","filename":"file5"},{"photo_id":"1399755848","filename":"file2"},{"photo_id":"1399755852","filename":"file4"},{"photo_id":"1399755847","filename":"file1"},{"photo_id":"1399755846","filename":"file0"},{"photo_id":"1399755849","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399755847":["hashtag1","hashtag2"]},{"1399755852":["hashtag1","hashtag2"]},{"1399755846":["hashtag1","hashtag2"]},{"1399755855":["hashtag1","hashtag2"]},{"1399755849":["hashtag1","hashtag2"]},{"1399755848":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399755847, 1399755852, 1399755846, 1399755855, 1399755849, 1399755848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42928194999695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 07:57:42.442983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_05_1681.jpg', '/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_06_1573.jpg', '/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_08_1560.jpg', '/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_11_1601.jpg', '/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_13_1715.jpg', '/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_15_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_05_1681.jpg
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_06_1573.jpg
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_08_1560.jpg
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_11_1601.jpg
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_13_1715.jpg
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_15_1659.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399755874","1399755868","1399755876","1399755870","1399755864","1399755867"],"photo_ids_order":["1399755864","1399755867","1399755868","1399755870","1399755874","1399755876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f88c57fbd87ff8a6ab631b6f97ecd101.jpg","text":"TemporaryFile(/tmp/multipartBody7916597683445456961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954723140,"filename":"image_07112025_17_39_13_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ca779b6b01e9b5ba4c9a1bc1b6cd238.jpg","text":"TemporaryFile(/tmp/multipartBody305010123705103820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954723140,"filename":"image_07112025_17_39_08_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51da5f1d17c6f58e2c5f9dae43cc5382.jpg","text":"TemporaryFile(/tmp/multipartBody7233287582710608771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954723140,"filename":"image_07112025_17_39_15_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee775056a138202867d6771db9035c5c.jpg","text":"TemporaryFile(/tmp/multipartBody3053473816441082428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954723140,"filename":"image_07112025_17_39_11_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/137a88af4722fb6dfb7d2c26d10142fa.jpg","text":"TemporaryFile(/tmp/multipartBody2414285877083626739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954723140,"filename":"image_07112025_17_39_05_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4bcc5d157f2521ce8e2348ed2bbf8ac.jpg","text":"TemporaryFile(/tmp/multipartBody2066570758703602807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954723140,"filename":"image_07112025_17_39_06_1573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399755868","file1":"1399755867","file0":"1399755864","file4":"1399755874","file5":"1399755876","file3":"1399755870"},"map_files_photo_id_array":[{"photo_id":"1399755876","filename":"file5"},{"photo_id":"1399755868","filename":"file2"},{"photo_id":"1399755874","filename":"file4"},{"photo_id":"1399755867","filename":"file1"},{"photo_id":"1399755864","filename":"file0"},{"photo_id":"1399755870","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399755874":["hashtag1","hashtag2"]},{"1399755868":["hashtag1","hashtag2"]},{"1399755876":["hashtag1","hashtag2"]},{"1399755870":["hashtag1","hashtag2"]},{"1399755864":["hashtag1","hashtag2"]},{"1399755867":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399755874, 1399755868, 1399755876, 1399755870, 1399755864, 1399755867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46757507324219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 07:59:02.698808
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_54_9671.jpg', '/home/pi/Desktop/images/17122025/07/56/image_17122025_07_57_05_10725.jpg', '/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_15_9649.jpg', '/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_24_9573.jpg', '/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_35_10704.jpg', '/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_45_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/56/image_17122025_07_56_54_9671.jpg
/home/pi/Desktop/images/17122025/07/56/image_17122025_07_57_05_10725.jpg
/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_15_9649.jpg
/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_24_9573.jpg
/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_35_10704.jpg
/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_45_9746.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":["1399756150","1399756228","1399756359","1399756125","1399756128","1399756304"],"photo_ids_order":["1399756125","1399756128","1399756150","1399756228","1399756304","1399756359"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc788ca2672b3e96f79b0da81b2a9afa.jpg","text":"TemporaryFile(/tmp/multipartBody1518966288263399835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954803391,"filename":"image_17122025_07_57_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90d8e183498fee5e5b787b40e813d756.jpg","text":"TemporaryFile(/tmp/multipartBody7524885402081895256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954803391,"filename":"image_17122025_07_57_24_9573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0fa4a52fc115577eb4799c2de2f7efe.jpg","text":"TemporaryFile(/tmp/multipartBody940379416496293622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954803391,"filename":"image_17122025_07_57_45_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d94b37be6c744c3eac69cd077c925c7.jpg","text":"TemporaryFile(/tmp/multipartBody6114688382277474025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954803391,"filename":"image_17122025_07_56_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0b2025d8a4a8c5f5c3d457c99b0f1d4.jpg","text":"TemporaryFile(/tmp/multipartBody3832500804319319968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954803391,"filename":"image_17122025_07_57_05_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11a452a97c4ef2410f0ef99172d7d7ee.jpg","text":"TemporaryFile(/tmp/multipartBody2671997699878814934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954803391,"filename":"image_17122025_07_57_35_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399756150","file1":"1399756128","file0":"1399756125","file4":"1399756304","file5":"1399756359","file3":"1399756228"},"map_files_photo_id_array":[{"photo_id":"1399756359","filename":"file5"},{"photo_id":"1399756150","filename":"file2"},{"photo_id":"1399756304","filename":"file4"},{"photo_id":"1399756128","filename":"file1"},{"photo_id":"1399756125","filename":"file0"},{"photo_id":"1399756228","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399756150":["hashtag1","hashtag2"]},{"1399756228":["hashtag1","hashtag2"]},{"1399756359":["hashtag1","hashtag2"]},{"1399756125":["hashtag1","hashtag2"]},{"1399756128":["hashtag1","hashtag2"]},{"1399756304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399756150, 1399756228, 1399756359, 1399756125, 1399756128, 1399756304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.5194365978241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:00:02.533807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_54_9685.jpg', '/home/pi/Desktop/images/17122025/07/57/image_17122025_07_58_04_10007.jpg', '/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_14_9728.jpg', '/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_25_10845.jpg', '/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_44_9625.jpg', '/home/pi/Desktop/images/17122025/07/58/image_17122025_07_59_05_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_54_9685.jpg
/home/pi/Desktop/images/17122025/07/57/image_17122025_07_58_04_10007.jpg
/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_14_9728.jpg
/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_25_10845.jpg
/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_44_9625.jpg
/home/pi/Desktop/images/17122025/07/58/image_17122025_07_59_05_9552.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5186433792114258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:00:12.069664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:00:22.192282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_54_9685.jpg', '/home/pi/Desktop/images/17122025/07/57/image_17122025_07_58_04_10007.jpg', '/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_14_9728.jpg', '/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_25_10845.jpg', '/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_44_9625.jpg', '/home/pi/Desktop/images/17122025/07/58/image_17122025_07_59_05_9552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/57/image_17122025_07_57_54_9685.jpg
/home/pi/Desktop/images/17122025/07/57/image_17122025_07_58_04_10007.jpg
/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_14_9728.jpg
/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_25_10845.jpg
/home/pi/Desktop/images/17122025/07/58/image_17122025_07_58_44_9625.jpg
/home/pi/Desktop/images/17122025/07/58/image_17122025_07_59_05_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":["1399756884","1399756883","1399756886","1399756865","1399756829","1399756882"],"photo_ids_order":["1399756829","1399756865","1399756882","1399756883","1399756884","1399756886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f96a5509b923e06604086ee1631516fb.jpg","text":"TemporaryFile(/tmp/multipartBody524084919021885378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954882781,"filename":"image_17122025_07_58_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/387283150a0af92d623ead43355b9039.jpg","text":"TemporaryFile(/tmp/multipartBody1287478645214094127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954882781,"filename":"image_17122025_07_58_25_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1347a4734ada6febc15e6039d062200.jpg","text":"TemporaryFile(/tmp/multipartBody1656820690422097225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954882781,"filename":"image_17122025_07_59_05_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3dcc9fdfcb675f55571ff6600f2796ff.jpg","text":"TemporaryFile(/tmp/multipartBody4180736961887731012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954882781,"filename":"image_17122025_07_58_04_10007.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23770a5ea22134961c753b24e1c7ddb2.jpg","text":"TemporaryFile(/tmp/multipartBody3661032380818562339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954882781,"filename":"image_17122025_07_57_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6801bcbad5d72c7a8fda35913fb39cb6.jpg","text":"TemporaryFile(/tmp/multipartBody5410036630238880858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954882781,"filename":"image_17122025_07_58_14_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399756882","file1":"1399756865","file0":"1399756829","file4":"1399756884","file5":"1399756886","file3":"1399756883"},"map_files_photo_id_array":[{"photo_id":"1399756886","filename":"file5"},{"photo_id":"1399756882","filename":"file2"},{"photo_id":"1399756884","filename":"file4"},{"photo_id":"1399756865","filename":"file1"},{"photo_id":"1399756829","filename":"file0"},{"photo_id":"1399756883","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399756884":["hashtag1","hashtag2"]},{"1399756883":["hashtag1","hashtag2"]},{"1399756886":["hashtag1","hashtag2"]},{"1399756865":["hashtag1","hashtag2"]},{"1399756829":["hashtag1","hashtag2"]},{"1399756882":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399756884, 1399756883, 1399756886, 1399756865, 1399756829, 1399756882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30612826347351 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:01:03.113673
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/07/59/image_17122025_07_59_14_9782.jpg', '/home/pi/Desktop/images/17122025/07/59/image_17122025_07_59_44_9614.jpg', '/home/pi/Desktop/images/17122025/08/00/image_17122025_08_00_25_10650.jpg', '/home/pi/Desktop/images/17122025/08/00/image_17122025_08_00_34_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/07/59/image_17122025_07_59_14_9782.jpg
/home/pi/Desktop/images/17122025/07/59/image_17122025_07_59_44_9614.jpg
/home/pi/Desktop/images/17122025/08/00/image_17122025_08_00_25_10650.jpg
/home/pi/Desktop/images/17122025/08/00/image_17122025_08_00_34_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399756938","1399756898","1399757026","1399756984"],"photo_ids_order":["1399756898","1399756938","1399756984","1399757026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/edd0522e748c675bfda64587b91b574c.jpg","text":"TemporaryFile(/tmp/multipartBody5987689249699923387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954923692,"filename":"image_17122025_07_59_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/add62443a3e28d64ecb2edb2792c85d2.jpg","text":"TemporaryFile(/tmp/multipartBody6354508487171638394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954923692,"filename":"image_17122025_07_59_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4419639d3fbc27afdf63bbc299be6399.jpg","text":"TemporaryFile(/tmp/multipartBody3996344700890687150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954923692,"filename":"image_17122025_08_00_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87313d6afdd4a3625b783ba385b1ea02.jpg","text":"TemporaryFile(/tmp/multipartBody429496939482929377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954923692,"filename":"image_17122025_08_00_25_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399756984","file1":"1399756938","file0":"1399756898","file3":"1399757026"},"map_files_photo_id_array":[{"photo_id":"1399756984","filename":"file2"},{"photo_id":"1399756938","filename":"file1"},{"photo_id":"1399756898","filename":"file0"},{"photo_id":"1399757026","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399756938":["hashtag1","hashtag2"]},{"1399756898":["hashtag1","hashtag2"]},{"1399757026":["hashtag1","hashtag2"]},{"1399756984":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399756938, 1399756898, 1399757026, 1399756984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.13954210281372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:01:32.479128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:01:42.605459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_16_1590.jpg', '/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_19_2676.jpg', '/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_49_23814.jpg', '/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_11_3561.jpg', '/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_26_3810.jpg', '/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_29_2590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_16_1590.jpg
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_19_2676.jpg
/home/pi/Desktop/images/07112025/17/39/image_07112025_17_39_49_23814.jpg
/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_11_3561.jpg
/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_26_3810.jpg
/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_29_2590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757124","1399757168","1399757159","1399757170","1399757167","1399757119"],"photo_ids_order":["1399757119","1399757124","1399757159","1399757167","1399757168","1399757170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9910a16b6617bc2d6247c4ac602a81a7.jpg","text":"TemporaryFile(/tmp/multipartBody1422180836743017024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954963293,"filename":"image_07112025_17_39_19_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc9680f766a226f8c7a24eac28319383.jpg","text":"TemporaryFile(/tmp/multipartBody8052961280178738355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954963293,"filename":"image_07112025_17_42_26_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e1e94879a87025b5f5182a26f6a9e25.jpg","text":"TemporaryFile(/tmp/multipartBody2908451523355181649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954963293,"filename":"image_07112025_17_39_49_23814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa14b3e33b2c7b66773ad3334b3168b1.jpg","text":"TemporaryFile(/tmp/multipartBody1168614241235992503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954963293,"filename":"image_07112025_17_42_29_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ac180cd12a9bf46b854069e12748223.jpg","text":"TemporaryFile(/tmp/multipartBody7116892375017276090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954963293,"filename":"image_07112025_17_42_11_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa3d117be138d2605827da4fbfa03b48.jpg","text":"TemporaryFile(/tmp/multipartBody1771095069812307877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765954963293,"filename":"image_07112025_17_39_16_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757159","file1":"1399757124","file0":"1399757119","file4":"1399757168","file5":"1399757170","file3":"1399757167"},"map_files_photo_id_array":[{"photo_id":"1399757170","filename":"file5"},{"photo_id":"1399757159","filename":"file2"},{"photo_id":"1399757168","filename":"file4"},{"photo_id":"1399757124","filename":"file1"},{"photo_id":"1399757119","filename":"file0"},{"photo_id":"1399757167","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757124":["hashtag1","hashtag2"]},{"1399757168":["hashtag1","hashtag2"]},{"1399757159":["hashtag1","hashtag2"]},{"1399757170":["hashtag1","hashtag2"]},{"1399757167":["hashtag1","hashtag2"]},{"1399757119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757124, 1399757168, 1399757159, 1399757170, 1399757167, 1399757119)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.795525789260864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:02:31.507899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/00/image_17122025_08_00_55_9710.jpg', '/home/pi/Desktop/images/17122025/08/00/image_17122025_08_01_04_9737.jpg', '/home/pi/Desktop/images/17122025/08/01/image_17122025_08_01_25_10715.jpg', '/home/pi/Desktop/images/17122025/08/01/image_17122025_08_01_35_9723.jpg', '/home/pi/Desktop/images/17122025/08/01/image_17122025_08_02_05_10702.jpg', '/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_15_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/00/image_17122025_08_00_55_9710.jpg
/home/pi/Desktop/images/17122025/08/00/image_17122025_08_01_04_9737.jpg
/home/pi/Desktop/images/17122025/08/01/image_17122025_08_01_25_10715.jpg
/home/pi/Desktop/images/17122025/08/01/image_17122025_08_01_35_9723.jpg
/home/pi/Desktop/images/17122025/08/01/image_17122025_08_02_05_10702.jpg
/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_15_9845.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4606130123138428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:02:41.557702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:02:51.551178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_35_3617.jpg', '/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_37_2652.jpg', '/home/pi/Desktop/images/07112025/17/43/image_07112025_17_43_11_3474.jpg', '/home/pi/Desktop/images/07112025/17/43/image_07112025_17_43_38_1693.jpg', '/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_06_27782.jpg', '/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_28_1544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_35_3617.jpg
/home/pi/Desktop/images/07112025/17/42/image_07112025_17_42_37_2652.jpg
/home/pi/Desktop/images/07112025/17/43/image_07112025_17_43_11_3474.jpg
/home/pi/Desktop/images/07112025/17/43/image_07112025_17_43_38_1693.jpg
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_06_27782.jpg
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_28_1544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757200","1399757202","1399757205","1399757198","1399757207","1399757197"],"photo_ids_order":["1399757197","1399757198","1399757200","1399757202","1399757205","1399757207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74fff2fb8341f01debf988752582219f.jpg","text":"TemporaryFile(/tmp/multipartBody1096361013471210576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955032253,"filename":"image_07112025_17_43_11_3474.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3f6969e3255e35a6a2ba372697eeb3a.jpg","text":"TemporaryFile(/tmp/multipartBody6728653100352761943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955032253,"filename":"image_07112025_17_43_38_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dfaa08751fb047c079dd01cbbb2cf4e.jpg","text":"TemporaryFile(/tmp/multipartBody6458175981798336438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955032253,"filename":"image_07112025_17_44_06_27782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c6e03f50838e8c9efd2d60119319796.jpg","text":"TemporaryFile(/tmp/multipartBody3681858303224614444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955032253,"filename":"image_07112025_17_42_37_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bea37710480c5df788161ab9fa18b50c.jpg","text":"TemporaryFile(/tmp/multipartBody9191597934894633497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955032253,"filename":"image_07112025_17_44_28_1544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6594414f5e8b58561e6a5505c79ed312.jpg","text":"TemporaryFile(/tmp/multipartBody5899950429455748849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955032253,"filename":"image_07112025_17_42_35_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757200","file1":"1399757198","file0":"1399757197","file4":"1399757205","file5":"1399757207","file3":"1399757202"},"map_files_photo_id_array":[{"photo_id":"1399757207","filename":"file5"},{"photo_id":"1399757200","filename":"file2"},{"photo_id":"1399757205","filename":"file4"},{"photo_id":"1399757198","filename":"file1"},{"photo_id":"1399757197","filename":"file0"},{"photo_id":"1399757202","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757200":["hashtag1","hashtag2"]},{"1399757202":["hashtag1","hashtag2"]},{"1399757205":["hashtag1","hashtag2"]},{"1399757198":["hashtag1","hashtag2"]},{"1399757207":["hashtag1","hashtag2"]},{"1399757197":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757200, 1399757202, 1399757205, 1399757198, 1399757207, 1399757197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27123999595642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:03:32.633109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:03:43.233842
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_29_1641.jpg', '/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_31_1774.jpg', '/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_33_1537.jpg', '/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_34_1690.jpg', '/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_41_3549.jpg', '/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_49_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_29_1641.jpg
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_31_1774.jpg
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_33_1537.jpg
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_34_1690.jpg
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_41_3549.jpg
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_49_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":["1399757220","1399757214","1399757217","1399757219","1399757216","1399757218"],"photo_ids_order":["1399757214","1399757216","1399757217","1399757218","1399757219","1399757220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c1a4da8dca73a4e12f28f4fe96167a1.jpg","text":"TemporaryFile(/tmp/multipartBody8751784307100667985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955083944,"filename":"image_07112025_17_44_49_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b668ae8319775bbcad93e452067bbfdd.jpg","text":"TemporaryFile(/tmp/multipartBody5357089365012074198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955083944,"filename":"image_07112025_17_44_29_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db3c346ccc363ec70472ea3c4db4b302.jpg","text":"TemporaryFile(/tmp/multipartBody1822480695906262486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955083944,"filename":"image_07112025_17_44_33_1537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a793fc534c5ede18053a9876b489d02.jpg","text":"TemporaryFile(/tmp/multipartBody4160673830916872807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955083944,"filename":"image_07112025_17_44_41_3549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b97419f1c2e9f1a626678748d21fa2a.jpg","text":"TemporaryFile(/tmp/multipartBody1910677042633262590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955083944,"filename":"image_07112025_17_44_31_1774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8405d89bfc4caaf5038a753bd3bcba6a.jpg","text":"TemporaryFile(/tmp/multipartBody8279967089340366180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955083944,"filename":"image_07112025_17_44_34_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757217","file1":"1399757216","file0":"1399757214","file4":"1399757219","file5":"1399757220","file3":"1399757218"},"map_files_photo_id_array":[{"photo_id":"1399757220","filename":"file5"},{"photo_id":"1399757217","filename":"file2"},{"photo_id":"1399757219","filename":"file4"},{"photo_id":"1399757216","filename":"file1"},{"photo_id":"1399757214","filename":"file0"},{"photo_id":"1399757218","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757220":["hashtag1","hashtag2"]},{"1399757214":["hashtag1","hashtag2"]},{"1399757217":["hashtag1","hashtag2"]},{"1399757219":["hashtag1","hashtag2"]},{"1399757216":["hashtag1","hashtag2"]},{"1399757218":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757220, 1399757214, 1399757217, 1399757219, 1399757216, 1399757218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.658902168273926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:04:22.445660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/00/image_17122025_08_00_55_9710.jpg', '/home/pi/Desktop/images/17122025/08/00/image_17122025_08_01_04_9737.jpg', '/home/pi/Desktop/images/17122025/08/01/image_17122025_08_01_25_10715.jpg', '/home/pi/Desktop/images/17122025/08/01/image_17122025_08_01_35_9723.jpg', '/home/pi/Desktop/images/17122025/08/01/image_17122025_08_02_05_10702.jpg', '/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_15_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/00/image_17122025_08_00_55_9710.jpg
/home/pi/Desktop/images/17122025/08/00/image_17122025_08_01_04_9737.jpg
/home/pi/Desktop/images/17122025/08/01/image_17122025_08_01_25_10715.jpg
/home/pi/Desktop/images/17122025/08/01/image_17122025_08_01_35_9723.jpg
/home/pi/Desktop/images/17122025/08/01/image_17122025_08_02_05_10702.jpg
/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_15_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757238","1399757235","1399757225","1399757228","1399757233","1399757230"],"photo_ids_order":["1399757225","1399757228","1399757230","1399757233","1399757235","1399757238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/073dafca4d84ed0f2cefea9ee73e24af.jpg","text":"TemporaryFile(/tmp/multipartBody7679754538087430164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955123007,"filename":"image_17122025_08_02_15_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f03ea97e7cd2ea7573ef9b4dfa3b8248.jpg","text":"TemporaryFile(/tmp/multipartBody7779913977673095184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955123007,"filename":"image_17122025_08_02_05_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86874c1a2cf7ab259b889fb4d8e8abd3.jpg","text":"TemporaryFile(/tmp/multipartBody7566616962997007851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955123007,"filename":"image_17122025_08_00_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da23cabe2c881f2f28afc2666821aa0e.jpg","text":"TemporaryFile(/tmp/multipartBody6303176853642696101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955123007,"filename":"image_17122025_08_01_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb41d1208452ca87e62ed5bd780bc6cf.jpg","text":"TemporaryFile(/tmp/multipartBody2299320866441107812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955123007,"filename":"image_17122025_08_01_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1fc1ffea76c05c5a1043e4300016872.jpg","text":"TemporaryFile(/tmp/multipartBody1544621911922373162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955123007,"filename":"image_17122025_08_01_25_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757230","file1":"1399757228","file0":"1399757225","file4":"1399757235","file5":"1399757238","file3":"1399757233"},"map_files_photo_id_array":[{"photo_id":"1399757238","filename":"file5"},{"photo_id":"1399757230","filename":"file2"},{"photo_id":"1399757235","filename":"file4"},{"photo_id":"1399757228","filename":"file1"},{"photo_id":"1399757225","filename":"file0"},{"photo_id":"1399757233","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757238":["hashtag1","hashtag2"]},{"1399757235":["hashtag1","hashtag2"]},{"1399757225":["hashtag1","hashtag2"]},{"1399757228":["hashtag1","hashtag2"]},{"1399757233":["hashtag1","hashtag2"]},{"1399757230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757238, 1399757235, 1399757225, 1399757228, 1399757233, 1399757230)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.18336367607117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:05:12.647446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:05:22.621822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_24_9739.jpg', '/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_34_9717.jpg', '/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_45_10477.jpg', '/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_55_10152.jpg', '/home/pi/Desktop/images/17122025/08/02/image_17122025_08_03_04_9684.jpg', '/home/pi/Desktop/images/17122025/08/03/image_17122025_08_03_44_9802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_24_9739.jpg
/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_34_9717.jpg
/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_45_10477.jpg
/home/pi/Desktop/images/17122025/08/02/image_17122025_08_02_55_10152.jpg
/home/pi/Desktop/images/17122025/08/02/image_17122025_08_03_04_9684.jpg
/home/pi/Desktop/images/17122025/08/03/image_17122025_08_03_44_9802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757298","1399757285","1399757290","1399757287","1399757281","1399757292"],"photo_ids_order":["1399757281","1399757285","1399757287","1399757290","1399757292","1399757298"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/048dcdfdd41f28724b9b34341092aa2f.jpg","text":"TemporaryFile(/tmp/multipartBody4499450409885660326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955183257,"filename":"image_17122025_08_03_44_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d678ad105333c7430f945e0ee524fb8e.jpg","text":"TemporaryFile(/tmp/multipartBody272419064009728506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955183257,"filename":"image_17122025_08_02_34_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bbfafee0de064ea0f3bbce8e1e2aea34.jpg","text":"TemporaryFile(/tmp/multipartBody5467362028929833611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955183257,"filename":"image_17122025_08_02_55_10152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70b61f17e63c7e39863122fc4596c632.jpg","text":"TemporaryFile(/tmp/multipartBody8900881024828776735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955183257,"filename":"image_17122025_08_02_45_10477.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e53fd3eca52e7ee59e2892b358b4ac37.jpg","text":"TemporaryFile(/tmp/multipartBody182193763280910000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955183257,"filename":"image_17122025_08_02_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84e3cad166081d0f7d0214a9a51660f7.jpg","text":"TemporaryFile(/tmp/multipartBody8118030118255687580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955183257,"filename":"image_17122025_08_03_04_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757287","file1":"1399757285","file0":"1399757281","file4":"1399757292","file5":"1399757298","file3":"1399757290"},"map_files_photo_id_array":[{"photo_id":"1399757298","filename":"file5"},{"photo_id":"1399757287","filename":"file2"},{"photo_id":"1399757292","filename":"file4"},{"photo_id":"1399757285","filename":"file1"},{"photo_id":"1399757281","filename":"file0"},{"photo_id":"1399757290","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757298":["hashtag1","hashtag2"]},{"1399757285":["hashtag1","hashtag2"]},{"1399757290":["hashtag1","hashtag2"]},{"1399757287":["hashtag1","hashtag2"]},{"1399757281":["hashtag1","hashtag2"]},{"1399757292":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757298, 1399757285, 1399757290, 1399757287, 1399757281, 1399757292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.027711391448975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:06:03.155073
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/03/image_17122025_08_03_55_10246.jpg', '/home/pi/Desktop/images/17122025/08/03/image_17122025_08_04_04_9683.jpg', '/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_14_9814.jpg', '/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_25_10420.jpg', '/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_34_9830.jpg', '/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_45_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/03/image_17122025_08_03_55_10246.jpg
/home/pi/Desktop/images/17122025/08/03/image_17122025_08_04_04_9683.jpg
/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_14_9814.jpg
/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_25_10420.jpg
/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_34_9830.jpg
/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_45_10573.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757311","1399757308","1399757304","1399757306","1399757300","1399757302"],"photo_ids_order":["1399757300","1399757302","1399757304","1399757306","1399757308","1399757311"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/278f7a3cb7c8b3331e5aef92ed1522c2.jpg","text":"TemporaryFile(/tmp/multipartBody4802360288647278739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955223801,"filename":"image_17122025_08_04_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/870cc820c4aff40b2b8dda1d29c9b841.jpg","text":"TemporaryFile(/tmp/multipartBody4320231154455218972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955223801,"filename":"image_17122025_08_04_34_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2358f3b3e1afd8904ff296f611d8efe9.jpg","text":"TemporaryFile(/tmp/multipartBody253904168827198733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955223801,"filename":"image_17122025_08_04_14_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14c6327c583bcbd972e051735eef6594.jpg","text":"TemporaryFile(/tmp/multipartBody7453774753942484552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955223801,"filename":"image_17122025_08_04_25_10420.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e76be3a0f5a9bddb61630c7069e549b.jpg","text":"TemporaryFile(/tmp/multipartBody213606517461013551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955223801,"filename":"image_17122025_08_03_55_10246.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72c36219b95af49574efbd49522865d5.jpg","text":"TemporaryFile(/tmp/multipartBody3011406020330426500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955223801,"filename":"image_17122025_08_04_04_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757304","file1":"1399757302","file0":"1399757300","file4":"1399757308","file5":"1399757311","file3":"1399757306"},"map_files_photo_id_array":[{"photo_id":"1399757311","filename":"file5"},{"photo_id":"1399757304","filename":"file2"},{"photo_id":"1399757308","filename":"file4"},{"photo_id":"1399757302","filename":"file1"},{"photo_id":"1399757300","filename":"file0"},{"photo_id":"1399757306","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757311":["hashtag1","hashtag2"]},{"1399757308":["hashtag1","hashtag2"]},{"1399757304":["hashtag1","hashtag2"]},{"1399757306":["hashtag1","hashtag2"]},{"1399757300":["hashtag1","hashtag2"]},{"1399757302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757311, 1399757308, 1399757304, 1399757306, 1399757300, 1399757302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19853377342224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:06:42.727017
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_51_1726.jpg', '/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_52_1681.jpg', '/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_09_3439.jpg', '/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_15_3089.jpg', '/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_21_2839.jpg', '/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_24_2774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_51_1726.jpg
/home/pi/Desktop/images/07112025/17/44/image_07112025_17_44_52_1681.jpg
/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_09_3439.jpg
/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_15_3089.jpg
/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_21_2839.jpg
/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_24_2774.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757331","1399757321","1399757318","1399757329","1399757320","1399757323"],"photo_ids_order":["1399757318","1399757320","1399757321","1399757323","1399757329","1399757331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61900feccbe7c41805d2d541eb262330.jpg","text":"TemporaryFile(/tmp/multipartBody1715381477596090655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955263396,"filename":"image_07112025_17_48_24_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/652833bc799c2cbf64d8fa882615f3c0.jpg","text":"TemporaryFile(/tmp/multipartBody6830247888821266649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955263396,"filename":"image_07112025_17_48_09_3439.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d51ada8fcf6965148c59cc97c363195.jpg","text":"TemporaryFile(/tmp/multipartBody2215994148053987236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955263396,"filename":"image_07112025_17_44_51_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8264103137e2cc643a41151488db992.jpg","text":"TemporaryFile(/tmp/multipartBody605527542983194738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955263396,"filename":"image_07112025_17_48_21_2839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc854154f7521a00b1c7f7170dff8bfe.jpg","text":"TemporaryFile(/tmp/multipartBody1517473808345179643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955263396,"filename":"image_07112025_17_44_52_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6caf3e4f419f2625c2ee45c1695b1635.jpg","text":"TemporaryFile(/tmp/multipartBody1204754651573748527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955263396,"filename":"image_07112025_17_48_15_3089.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757321","file1":"1399757320","file0":"1399757318","file4":"1399757329","file5":"1399757331","file3":"1399757323"},"map_files_photo_id_array":[{"photo_id":"1399757331","filename":"file5"},{"photo_id":"1399757321","filename":"file2"},{"photo_id":"1399757329","filename":"file4"},{"photo_id":"1399757320","filename":"file1"},{"photo_id":"1399757318","filename":"file0"},{"photo_id":"1399757323","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757331":["hashtag1","hashtag2"]},{"1399757321":["hashtag1","hashtag2"]},{"1399757318":["hashtag1","hashtag2"]},{"1399757329":["hashtag1","hashtag2"]},{"1399757320":["hashtag1","hashtag2"]},{"1399757323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757331, 1399757321, 1399757318, 1399757329, 1399757320, 1399757323)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.61025261878967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:07:32.048909
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:07:41.938783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_54_30362.jpg', '/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_57_2942.jpg', '/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_59_1852.jpg', '/home/pi/Desktop/images/07112025/17/48/image_07112025_17_49_01_1581.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_02_1682.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_04_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_54_30362.jpg
/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_57_2942.jpg
/home/pi/Desktop/images/07112025/17/48/image_07112025_17_48_59_1852.jpg
/home/pi/Desktop/images/07112025/17/48/image_07112025_17_49_01_1581.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_02_1682.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_04_1721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757355","1399757343","1399757346","1399757349","1399757354","1399757356"],"photo_ids_order":["1399757343","1399757346","1399757349","1399757354","1399757355","1399757356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c1905050648ea6f971630b622be5d5f.jpg","text":"TemporaryFile(/tmp/multipartBody7352525684262354819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955322912,"filename":"image_07112025_17_49_02_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d74f3ee85156a917152a2e9a4478bea7.jpg","text":"TemporaryFile(/tmp/multipartBody1936784039986944075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955322912,"filename":"image_07112025_17_48_54_30362.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f92634944cd0b82ef6957f19ef7a7e49.jpg","text":"TemporaryFile(/tmp/multipartBody5417999825207748380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955322912,"filename":"image_07112025_17_48_57_2942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63fcb61baa87517fa62b0575be7f9769.jpg","text":"TemporaryFile(/tmp/multipartBody3005091872087128823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955322912,"filename":"image_07112025_17_48_59_1852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45b6f134f5c5846e094590bbc3c7b974.jpg","text":"TemporaryFile(/tmp/multipartBody9121532430890532145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955322912,"filename":"image_07112025_17_49_01_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26e9ec39054f5a1b552efcde3d90393d.jpg","text":"TemporaryFile(/tmp/multipartBody9182065929098407845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955322912,"filename":"image_07112025_17_49_04_1721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757349","file1":"1399757346","file0":"1399757343","file4":"1399757355","file5":"1399757356","file3":"1399757354"},"map_files_photo_id_array":[{"photo_id":"1399757356","filename":"file5"},{"photo_id":"1399757349","filename":"file2"},{"photo_id":"1399757355","filename":"file4"},{"photo_id":"1399757346","filename":"file1"},{"photo_id":"1399757343","filename":"file0"},{"photo_id":"1399757354","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757355":["hashtag1","hashtag2"]},{"1399757343":["hashtag1","hashtag2"]},{"1399757346":["hashtag1","hashtag2"]},{"1399757349":["hashtag1","hashtag2"]},{"1399757354":["hashtag1","hashtag2"]},{"1399757356":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757355, 1399757343, 1399757346, 1399757349, 1399757354, 1399757356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17707014083862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:08:22.256685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_55_9662.jpg', '/home/pi/Desktop/images/17122025/08/04/image_17122025_08_05_04_9644.jpg', '/home/pi/Desktop/images/17122025/08/05/image_17122025_08_05_14_9865.jpg', '/home/pi/Desktop/images/17122025/08/05/image_17122025_08_05_34_9553.jpg', '/home/pi/Desktop/images/17122025/08/05/image_17122025_08_05_45_10652.jpg', '/home/pi/Desktop/images/17122025/08/05/image_17122025_08_06_04_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/04/image_17122025_08_04_55_9662.jpg
/home/pi/Desktop/images/17122025/08/04/image_17122025_08_05_04_9644.jpg
/home/pi/Desktop/images/17122025/08/05/image_17122025_08_05_14_9865.jpg
/home/pi/Desktop/images/17122025/08/05/image_17122025_08_05_34_9553.jpg
/home/pi/Desktop/images/17122025/08/05/image_17122025_08_05_45_10652.jpg
/home/pi/Desktop/images/17122025/08/05/image_17122025_08_06_04_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757364","1399757372","1399757366","1399757360","1399757386","1399757362"],"photo_ids_order":["1399757360","1399757362","1399757364","1399757366","1399757372","1399757386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/304c84abbd44f15e548f89b8837a66e6.jpg","text":"TemporaryFile(/tmp/multipartBody8174398782748301178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955362847,"filename":"image_17122025_08_05_14_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22ab6b29ab99031a6444a02f097e3321.jpg","text":"TemporaryFile(/tmp/multipartBody2750829907803188775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955362847,"filename":"image_17122025_08_05_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36e6f87dace0ea323e2b61ee6ec548b8.jpg","text":"TemporaryFile(/tmp/multipartBody1159097702669983447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955362847,"filename":"image_17122025_08_05_34_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7281aba5e39a338459036aa2fc280241.jpg","text":"TemporaryFile(/tmp/multipartBody5746673321004626059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955362847,"filename":"image_17122025_08_04_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80e3da49c03c8df3b2c0383e754c4082.jpg","text":"TemporaryFile(/tmp/multipartBody4098170360055826122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955362847,"filename":"image_17122025_08_06_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd503b5260cc44422328de88b374a343.jpg","text":"TemporaryFile(/tmp/multipartBody7454991429414327659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955362847,"filename":"image_17122025_08_05_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757364","file1":"1399757362","file0":"1399757360","file4":"1399757372","file5":"1399757386","file3":"1399757366"},"map_files_photo_id_array":[{"photo_id":"1399757386","filename":"file5"},{"photo_id":"1399757364","filename":"file2"},{"photo_id":"1399757372","filename":"file4"},{"photo_id":"1399757362","filename":"file1"},{"photo_id":"1399757360","filename":"file0"},{"photo_id":"1399757366","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757364":["hashtag1","hashtag2"]},{"1399757372":["hashtag1","hashtag2"]},{"1399757366":["hashtag1","hashtag2"]},{"1399757360":["hashtag1","hashtag2"]},{"1399757386":["hashtag1","hashtag2"]},{"1399757362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757364, 1399757372, 1399757366, 1399757360, 1399757386, 1399757362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.04283261299133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:09:03.397998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/06/image_17122025_08_06_14_9908.jpg', '/home/pi/Desktop/images/17122025/08/06/image_17122025_08_06_25_10667.jpg', '/home/pi/Desktop/images/17122025/08/06/image_17122025_08_06_55_10625.jpg', '/home/pi/Desktop/images/17122025/08/06/image_17122025_08_07_05_9704.jpg', '/home/pi/Desktop/images/17122025/08/07/image_17122025_08_07_14_9751.jpg', '/home/pi/Desktop/images/17122025/08/07/image_17122025_08_07_24_9994.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/06/image_17122025_08_06_14_9908.jpg
/home/pi/Desktop/images/17122025/08/06/image_17122025_08_06_25_10667.jpg
/home/pi/Desktop/images/17122025/08/06/image_17122025_08_06_55_10625.jpg
/home/pi/Desktop/images/17122025/08/06/image_17122025_08_07_05_9704.jpg
/home/pi/Desktop/images/17122025/08/07/image_17122025_08_07_14_9751.jpg
/home/pi/Desktop/images/17122025/08/07/image_17122025_08_07_24_9994.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757394","1399757400","1399757403","1399757396","1399757398","1399757392"],"photo_ids_order":["1399757392","1399757394","1399757396","1399757398","1399757400","1399757403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5c4f4bd21be30f07eb3c738b366c959.jpg","text":"TemporaryFile(/tmp/multipartBody3478053293305024206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955404213,"filename":"image_17122025_08_06_25_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d92dcac1d19f27d933fc20799cc512f.jpg","text":"TemporaryFile(/tmp/multipartBody7176907973210554021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955404213,"filename":"image_17122025_08_07_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d4a2f4f8c14628c57807bd2d3c99443.jpg","text":"TemporaryFile(/tmp/multipartBody2707385953708589334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955404213,"filename":"image_17122025_08_07_24_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80d23010f2444f22d7b9460e79d00bbb.jpg","text":"TemporaryFile(/tmp/multipartBody348764621397359432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955404213,"filename":"image_17122025_08_06_55_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af756fa88ad800a181eea28f3c395d25.jpg","text":"TemporaryFile(/tmp/multipartBody6755552397050917925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955404213,"filename":"image_17122025_08_07_05_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb086d0f9f8f78f7f0d1bf06842f2eab.jpg","text":"TemporaryFile(/tmp/multipartBody2344417706040279699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955404213,"filename":"image_17122025_08_06_14_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757396","file1":"1399757394","file0":"1399757392","file4":"1399757400","file5":"1399757403","file3":"1399757398"},"map_files_photo_id_array":[{"photo_id":"1399757403","filename":"file5"},{"photo_id":"1399757396","filename":"file2"},{"photo_id":"1399757400","filename":"file4"},{"photo_id":"1399757394","filename":"file1"},{"photo_id":"1399757392","filename":"file0"},{"photo_id":"1399757398","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757394":["hashtag1","hashtag2"]},{"1399757400":["hashtag1","hashtag2"]},{"1399757403":["hashtag1","hashtag2"]},{"1399757396":["hashtag1","hashtag2"]},{"1399757398":["hashtag1","hashtag2"]},{"1399757392":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757394, 1399757400, 1399757403, 1399757396, 1399757398, 1399757392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35267233848572 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:09:42.498372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_06_1615.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_09_1675.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_14_1627.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_17_1614.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_18_1558.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_22_1578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_06_1615.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_09_1675.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_14_1627.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_17_1614.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_18_1558.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_22_1578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757412","1399757421","1399757409","1399757420","1399757411","1399757413"],"photo_ids_order":["1399757409","1399757411","1399757412","1399757413","1399757420","1399757421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/923afa49fbf1adf2fc2c3f32b02635a6.jpg","text":"TemporaryFile(/tmp/multipartBody6514408798310636303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955443171,"filename":"image_07112025_17_49_14_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2273241d8947ec544043f1dca50ad85a.jpg","text":"TemporaryFile(/tmp/multipartBody8569660147427871180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955443171,"filename":"image_07112025_17_49_22_1578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5274cd46f006fbf262332a9f8796ad7f.jpg","text":"TemporaryFile(/tmp/multipartBody1624072984266766943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955443171,"filename":"image_07112025_17_49_06_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83b0cb3e90df64c3f3ad613dcbe37b99.jpg","text":"TemporaryFile(/tmp/multipartBody824071646543418459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955443171,"filename":"image_07112025_17_49_18_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01c403ac8342ba6627b569a623c25c28.jpg","text":"TemporaryFile(/tmp/multipartBody2735745252831509617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955443171,"filename":"image_07112025_17_49_09_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6dbc0c5d6ce5906995584dc44844c348.jpg","text":"TemporaryFile(/tmp/multipartBody6188488721650312577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955443171,"filename":"image_07112025_17_49_17_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757412","file1":"1399757411","file0":"1399757409","file4":"1399757420","file5":"1399757421","file3":"1399757413"},"map_files_photo_id_array":[{"photo_id":"1399757421","filename":"file5"},{"photo_id":"1399757412","filename":"file2"},{"photo_id":"1399757420","filename":"file4"},{"photo_id":"1399757411","filename":"file1"},{"photo_id":"1399757409","filename":"file0"},{"photo_id":"1399757413","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757412":["hashtag1","hashtag2"]},{"1399757421":["hashtag1","hashtag2"]},{"1399757409":["hashtag1","hashtag2"]},{"1399757420":["hashtag1","hashtag2"]},{"1399757411":["hashtag1","hashtag2"]},{"1399757413":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757412, 1399757421, 1399757409, 1399757420, 1399757411, 1399757413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.586567640304565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:10:22.691353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/07/image_17122025_08_07_45_9704.jpg', '/home/pi/Desktop/images/17122025/08/07/image_17122025_08_07_54_9642.jpg', '/home/pi/Desktop/images/17122025/08/08/image_17122025_08_08_15_9610.jpg', '/home/pi/Desktop/images/17122025/08/08/image_17122025_08_08_34_9729.jpg', '/home/pi/Desktop/images/17122025/08/08/image_17122025_08_08_45_10789.jpg', '/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_14_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/07/image_17122025_08_07_45_9704.jpg
/home/pi/Desktop/images/17122025/08/07/image_17122025_08_07_54_9642.jpg
/home/pi/Desktop/images/17122025/08/08/image_17122025_08_08_15_9610.jpg
/home/pi/Desktop/images/17122025/08/08/image_17122025_08_08_34_9729.jpg
/home/pi/Desktop/images/17122025/08/08/image_17122025_08_08_45_10789.jpg
/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_14_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":["1399757429","1399757450","1399757444","1399757426","1399757431","1399757428"],"photo_ids_order":["1399757426","1399757428","1399757429","1399757431","1399757444","1399757450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03a958ae8a86a34eb930853a8c5260a0.jpg","text":"TemporaryFile(/tmp/multipartBody3157488649423916284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955483288,"filename":"image_17122025_08_08_15_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5ebad5fa875d5aad76191ee57200205.jpg","text":"TemporaryFile(/tmp/multipartBody3679036819950940018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955483288,"filename":"image_17122025_08_09_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf4453b681fae68a9d97f76f21861a6d.jpg","text":"TemporaryFile(/tmp/multipartBody4312896616836094049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955483288,"filename":"image_17122025_08_08_45_10789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b16fb9f408de06660bb38e6f58be2d68.jpg","text":"TemporaryFile(/tmp/multipartBody7314183919607537119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955483288,"filename":"image_17122025_08_07_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bd9c31bcc26b98d5b9f60e387a04f9a.jpg","text":"TemporaryFile(/tmp/multipartBody5864530123616895018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955483288,"filename":"image_17122025_08_08_34_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0665b8760b2353069a3759d115b71d46.jpg","text":"TemporaryFile(/tmp/multipartBody5224570902170337347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955483288,"filename":"image_17122025_08_07_54_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757429","file1":"1399757428","file0":"1399757426","file4":"1399757444","file5":"1399757450","file3":"1399757431"},"map_files_photo_id_array":[{"photo_id":"1399757450","filename":"file5"},{"photo_id":"1399757429","filename":"file2"},{"photo_id":"1399757444","filename":"file4"},{"photo_id":"1399757428","filename":"file1"},{"photo_id":"1399757426","filename":"file0"},{"photo_id":"1399757431","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757429":["hashtag1","hashtag2"]},{"1399757450":["hashtag1","hashtag2"]},{"1399757444":["hashtag1","hashtag2"]},{"1399757426":["hashtag1","hashtag2"]},{"1399757431":["hashtag1","hashtag2"]},{"1399757428":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757429, 1399757450, 1399757444, 1399757426, 1399757431, 1399757428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96415948867798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:11:02.758970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_25_10696.jpg', '/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_35_9647.jpg', '/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_44_9838.jpg', '/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_54_9659.jpg', '/home/pi/Desktop/images/17122025/08/09/image_17122025_08_10_05_10737.jpg', '/home/pi/Desktop/images/17122025/08/10/image_17122025_08_10_24_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_25_10696.jpg
/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_35_9647.jpg
/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_44_9838.jpg
/home/pi/Desktop/images/17122025/08/09/image_17122025_08_09_54_9659.jpg
/home/pi/Desktop/images/17122025/08/09/image_17122025_08_10_05_10737.jpg
/home/pi/Desktop/images/17122025/08/10/image_17122025_08_10_24_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":["1399757469","1399757457","1399757466","1399757462","1399757459","1399757464"],"photo_ids_order":["1399757457","1399757459","1399757462","1399757464","1399757466","1399757469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31c03d7b06b59885931bfa476d0a36d7.jpg","text":"TemporaryFile(/tmp/multipartBody3519253082355889803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955523393,"filename":"image_17122025_08_10_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/335770b7042563e18bee00fad815d786.jpg","text":"TemporaryFile(/tmp/multipartBody3064155629403776191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955523393,"filename":"image_17122025_08_09_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7ccefefc0a05ccea313e700d13b46be.jpg","text":"TemporaryFile(/tmp/multipartBody1091696793360867074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955523393,"filename":"image_17122025_08_10_05_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8661e5c264ab380fd8dfcaecf649c31.jpg","text":"TemporaryFile(/tmp/multipartBody3794686852687535208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955523393,"filename":"image_17122025_08_09_44_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fdb047126f8775ee4967c4f5ece720d.jpg","text":"TemporaryFile(/tmp/multipartBody7795700558025984422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955523393,"filename":"image_17122025_08_09_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bfda64e5377b65eb123334ca1c166d0.jpg","text":"TemporaryFile(/tmp/multipartBody4606272661375458201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955523393,"filename":"image_17122025_08_09_54_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757462","file1":"1399757459","file0":"1399757457","file4":"1399757466","file5":"1399757469","file3":"1399757464"},"map_files_photo_id_array":[{"photo_id":"1399757469","filename":"file5"},{"photo_id":"1399757462","filename":"file2"},{"photo_id":"1399757466","filename":"file4"},{"photo_id":"1399757459","filename":"file1"},{"photo_id":"1399757457","filename":"file0"},{"photo_id":"1399757464","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757469":["hashtag1","hashtag2"]},{"1399757457":["hashtag1","hashtag2"]},{"1399757466":["hashtag1","hashtag2"]},{"1399757462":["hashtag1","hashtag2"]},{"1399757459":["hashtag1","hashtag2"]},{"1399757464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757469, 1399757457, 1399757466, 1399757462, 1399757459, 1399757464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6630117893219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:11:42.039175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_23_1679.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_25_1542.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_28_1617.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_30_1555.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_33_2652.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_35_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_23_1679.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_25_1542.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_28_1617.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_30_1555.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_33_2652.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_35_2679.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5592315196990967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:12:02.773827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/10/image_17122025_08_10_35_10840.jpg', '/home/pi/Desktop/images/17122025/08/10/image_17122025_08_10_45_9620.jpg', '/home/pi/Desktop/images/17122025/08/10/image_17122025_08_10_54_9667.jpg', '/home/pi/Desktop/images/17122025/08/10/image_17122025_08_11_05_10631.jpg', '/home/pi/Desktop/images/17122025/08/11/image_17122025_08_11_15_9758.jpg', '/home/pi/Desktop/images/17122025/08/11/image_17122025_08_11_24_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/10/image_17122025_08_10_35_10840.jpg
/home/pi/Desktop/images/17122025/08/10/image_17122025_08_10_45_9620.jpg
/home/pi/Desktop/images/17122025/08/10/image_17122025_08_10_54_9667.jpg
/home/pi/Desktop/images/17122025/08/10/image_17122025_08_11_05_10631.jpg
/home/pi/Desktop/images/17122025/08/11/image_17122025_08_11_15_9758.jpg
/home/pi/Desktop/images/17122025/08/11/image_17122025_08_11_24_9740.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757493","1399757495","1399757488","1399757497","1399757491","1399757485"],"photo_ids_order":["1399757485","1399757488","1399757491","1399757493","1399757495","1399757497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36e5a5efa6955753c7c2fe293aff8072.jpg","text":"TemporaryFile(/tmp/multipartBody766710362524799577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955583400,"filename":"image_17122025_08_11_05_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c59d2fd47e1f3a3bc1275237a7ac1a5c.jpg","text":"TemporaryFile(/tmp/multipartBody9052626060227626151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955583400,"filename":"image_17122025_08_11_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7135fc626873d1f4c4cebdb6b08fdb1f.jpg","text":"TemporaryFile(/tmp/multipartBody4198873703731928215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955583400,"filename":"image_17122025_08_10_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b555467a9ad59b0e611c274ead9d862.jpg","text":"TemporaryFile(/tmp/multipartBody4199159756584088861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955583400,"filename":"image_17122025_08_11_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4fd591925b0bbe671326f9165a8588c.jpg","text":"TemporaryFile(/tmp/multipartBody4317667989625718166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955583400,"filename":"image_17122025_08_10_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/545d5265e8060b480c8b0ea0b1d33b64.jpg","text":"TemporaryFile(/tmp/multipartBody7368075219137670909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955583400,"filename":"image_17122025_08_10_35_10840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757491","file1":"1399757488","file0":"1399757485","file4":"1399757495","file5":"1399757497","file3":"1399757493"},"map_files_photo_id_array":[{"photo_id":"1399757497","filename":"file5"},{"photo_id":"1399757491","filename":"file2"},{"photo_id":"1399757495","filename":"file4"},{"photo_id":"1399757488","filename":"file1"},{"photo_id":"1399757485","filename":"file0"},{"photo_id":"1399757493","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757493":["hashtag1","hashtag2"]},{"1399757495":["hashtag1","hashtag2"]},{"1399757488":["hashtag1","hashtag2"]},{"1399757497":["hashtag1","hashtag2"]},{"1399757491":["hashtag1","hashtag2"]},{"1399757485":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757493, 1399757495, 1399757488, 1399757497, 1399757491, 1399757485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9136106967926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:12:42.310003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_23_1679.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_25_1542.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_28_1617.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_30_1555.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_33_2652.jpg', '/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_35_2679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_23_1679.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_25_1542.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_28_1617.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_30_1555.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_33_2652.jpg
/home/pi/Desktop/images/07112025/17/49/image_07112025_17_49_35_2679.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757503","1399757508","1399757510","1399757504","1399757507","1399757506"],"photo_ids_order":["1399757503","1399757504","1399757506","1399757507","1399757508","1399757510"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/937aebeb77d3ce9ed284cd8bc2a28259.jpg","text":"TemporaryFile(/tmp/multipartBody4754917053435592326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955622870,"filename":"image_07112025_17_49_23_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5277cebdbab8a173fca60c8427fb8b53.jpg","text":"TemporaryFile(/tmp/multipartBody3732369001910244576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955622870,"filename":"image_07112025_17_49_33_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d01c2f2a71a9e220e1d61f8f6342ddff.jpg","text":"TemporaryFile(/tmp/multipartBody1243907812222560059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955622870,"filename":"image_07112025_17_49_35_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12a8101e8f4bcc7a0597558f9d84c654.jpg","text":"TemporaryFile(/tmp/multipartBody6007995831155799761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955622870,"filename":"image_07112025_17_49_25_1542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/586493e90e3fc0b1bf67633fcae43e5d.jpg","text":"TemporaryFile(/tmp/multipartBody4907838007104204405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955622870,"filename":"image_07112025_17_49_30_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28938f5d36d6c6bcaaec3a2da112425d.jpg","text":"TemporaryFile(/tmp/multipartBody7589806297659368125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955622870,"filename":"image_07112025_17_49_28_1617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757506","file1":"1399757504","file0":"1399757503","file4":"1399757508","file5":"1399757510","file3":"1399757507"},"map_files_photo_id_array":[{"photo_id":"1399757510","filename":"file5"},{"photo_id":"1399757506","filename":"file2"},{"photo_id":"1399757508","filename":"file4"},{"photo_id":"1399757504","filename":"file1"},{"photo_id":"1399757503","filename":"file0"},{"photo_id":"1399757507","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757503":["hashtag1","hashtag2"]},{"1399757508":["hashtag1","hashtag2"]},{"1399757510":["hashtag1","hashtag2"]},{"1399757504":["hashtag1","hashtag2"]},{"1399757507":["hashtag1","hashtag2"]},{"1399757506":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757503, 1399757508, 1399757510, 1399757504, 1399757507, 1399757506)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74346446990967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:13:22.601726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/11/image_17122025_08_11_34_9753.jpg', '/home/pi/Desktop/images/17122025/08/11/image_17122025_08_12_04_9781.jpg', '/home/pi/Desktop/images/17122025/08/12/image_17122025_08_12_24_9629.jpg', '/home/pi/Desktop/images/17122025/08/12/image_17122025_08_12_34_9714.jpg', '/home/pi/Desktop/images/17122025/08/12/image_17122025_08_12_45_10623.jpg', '/home/pi/Desktop/images/17122025/08/12/image_17122025_08_12_54_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/11/image_17122025_08_11_34_9753.jpg
/home/pi/Desktop/images/17122025/08/11/image_17122025_08_12_04_9781.jpg
/home/pi/Desktop/images/17122025/08/12/image_17122025_08_12_24_9629.jpg
/home/pi/Desktop/images/17122025/08/12/image_17122025_08_12_34_9714.jpg
/home/pi/Desktop/images/17122025/08/12/image_17122025_08_12_45_10623.jpg
/home/pi/Desktop/images/17122025/08/12/image_17122025_08_12_54_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":["1399757517","1399757522","1399757519","1399757513","1399757524","1399757515"],"photo_ids_order":["1399757513","1399757515","1399757517","1399757519","1399757522","1399757524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1485043fe7acb91495f2880b7d498b29.jpg","text":"TemporaryFile(/tmp/multipartBody2335711543322373861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955663222,"filename":"image_17122025_08_12_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a075d298843400793fe3bed0b2fcba27.jpg","text":"TemporaryFile(/tmp/multipartBody6215213164907984401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955663222,"filename":"image_17122025_08_12_45_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d21efa652c6f1060d1867477d7113725.jpg","text":"TemporaryFile(/tmp/multipartBody365703246669358982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955663222,"filename":"image_17122025_08_12_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77e66b30ed0e0fb5a8daa20211386213.jpg","text":"TemporaryFile(/tmp/multipartBody1567929286475996546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955663222,"filename":"image_17122025_08_11_34_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/906e10b849f18336f6f3222ddb50dcfd.jpg","text":"TemporaryFile(/tmp/multipartBody2351152452991468127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955663222,"filename":"image_17122025_08_12_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/943ec6e077a43476504170ba3b30b2cb.jpg","text":"TemporaryFile(/tmp/multipartBody8484054564125108557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955663222,"filename":"image_17122025_08_12_04_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757517","file1":"1399757515","file0":"1399757513","file4":"1399757522","file5":"1399757524","file3":"1399757519"},"map_files_photo_id_array":[{"photo_id":"1399757524","filename":"file5"},{"photo_id":"1399757517","filename":"file2"},{"photo_id":"1399757522","filename":"file4"},{"photo_id":"1399757515","filename":"file1"},{"photo_id":"1399757513","filename":"file0"},{"photo_id":"1399757519","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757517":["hashtag1","hashtag2"]},{"1399757522":["hashtag1","hashtag2"]},{"1399757519":["hashtag1","hashtag2"]},{"1399757513":["hashtag1","hashtag2"]},{"1399757524":["hashtag1","hashtag2"]},{"1399757515":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757517, 1399757522, 1399757519, 1399757513, 1399757524, 1399757515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.19916749000549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:14:03.385951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/12/image_17122025_08_13_04_9790.jpg', '/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_15_10650.jpg', '/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_25_9595.jpg', '/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_34_9668.jpg', '/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_44_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/12/image_17122025_08_13_04_9790.jpg
/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_15_10650.jpg
/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_25_9595.jpg
/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_34_9668.jpg
/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_44_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":["1399757526","1399757529","1399757531","1399757530","1399757533"],"photo_ids_order":["1399757526","1399757529","1399757530","1399757531","1399757533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d9ee559faad421abb38de815530cf6d.jpg","text":"TemporaryFile(/tmp/multipartBody6765059089618375918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955704016,"filename":"image_17122025_08_13_04_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2409a472f423c5f26aeb434a68658121.jpg","text":"TemporaryFile(/tmp/multipartBody3864622367755726055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955704016,"filename":"image_17122025_08_13_15_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee0d99b8899ff7daed3dbbcf1352dfc3.jpg","text":"TemporaryFile(/tmp/multipartBody9083303697707746535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955704016,"filename":"image_17122025_08_13_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c96e6ce3315f9875fe5b50e03536cdc.jpg","text":"TemporaryFile(/tmp/multipartBody1810891228567167405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955704016,"filename":"image_17122025_08_13_25_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c260860d6eacf61d426fd51db62a2c4b.jpg","text":"TemporaryFile(/tmp/multipartBody2398073631357572726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955704016,"filename":"image_17122025_08_13_44_9965.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757530","file1":"1399757529","file0":"1399757526","file4":"1399757533","file3":"1399757531"},"map_files_photo_id_array":[{"photo_id":"1399757530","filename":"file2"},{"photo_id":"1399757533","filename":"file4"},{"photo_id":"1399757529","filename":"file1"},{"photo_id":"1399757526","filename":"file0"},{"photo_id":"1399757531","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757526":["hashtag1","hashtag2"]},{"1399757529":["hashtag1","hashtag2"]},{"1399757531":["hashtag1","hashtag2"]},{"1399757530":["hashtag1","hashtag2"]},{"1399757533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757526, 1399757529, 1399757531, 1399757530, 1399757533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.09198474884033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:14:42.618206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_12_3236.jpg', '/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_25_13265.jpg', '/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_26_1669.jpg', '/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_28_1658.jpg', '/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_30_1526.jpg', '/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_32_1851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_12_3236.jpg
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_25_13265.jpg
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_26_1669.jpg
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_28_1658.jpg
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_30_1526.jpg
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_32_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":["1399757562","1399757556","1399757546","1399757561","1399757558","1399757557"],"photo_ids_order":["1399757546","1399757556","1399757557","1399757558","1399757561","1399757562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ffd845113106e000e06d996e6643590.jpg","text":"TemporaryFile(/tmp/multipartBody7602874089249380230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955743303,"filename":"image_07112025_17_53_32_1851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd7ac9b23c3af0a3f0debbf2a8f60e73.jpg","text":"TemporaryFile(/tmp/multipartBody5749974992135178818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955743303,"filename":"image_07112025_17_53_25_13265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d9aac763995182e9c4b4dd7f8def2d0.jpg","text":"TemporaryFile(/tmp/multipartBody6840539598160884475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955743303,"filename":"image_07112025_17_53_12_3236.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0a18ac9c97d765981b68e8133833df0.jpg","text":"TemporaryFile(/tmp/multipartBody881164698071726160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955743303,"filename":"image_07112025_17_53_30_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3714f63b3ab013a53c4e78b10c13daa0.jpg","text":"TemporaryFile(/tmp/multipartBody6999658501302000543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955743303,"filename":"image_07112025_17_53_28_1658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4670306ad849abe6735c996801ff333.jpg","text":"TemporaryFile(/tmp/multipartBody7832287807643781260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955743303,"filename":"image_07112025_17_53_26_1669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757557","file1":"1399757556","file0":"1399757546","file4":"1399757561","file5":"1399757562","file3":"1399757558"},"map_files_photo_id_array":[{"photo_id":"1399757562","filename":"file5"},{"photo_id":"1399757557","filename":"file2"},{"photo_id":"1399757561","filename":"file4"},{"photo_id":"1399757556","filename":"file1"},{"photo_id":"1399757546","filename":"file0"},{"photo_id":"1399757558","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757562":["hashtag1","hashtag2"]},{"1399757556":["hashtag1","hashtag2"]},{"1399757546":["hashtag1","hashtag2"]},{"1399757561":["hashtag1","hashtag2"]},{"1399757558":["hashtag1","hashtag2"]},{"1399757557":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757562, 1399757556, 1399757546, 1399757561, 1399757558, 1399757557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.26147794723511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:15:21.846172
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_55_10595.jpg', '/home/pi/Desktop/images/17122025/08/13/image_17122025_08_14_05_9818.jpg', '/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_14_9781.jpg', '/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_24_9723.jpg', '/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_35_10657.jpg', '/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_44_9544.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/13/image_17122025_08_13_55_10595.jpg
/home/pi/Desktop/images/17122025/08/13/image_17122025_08_14_05_9818.jpg
/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_14_9781.jpg
/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_24_9723.jpg
/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_35_10657.jpg
/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_44_9544.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757574","1399757565","1399757567","1399757569","1399757563","1399757572"],"photo_ids_order":["1399757563","1399757565","1399757567","1399757569","1399757572","1399757574"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be3e0de1806fd88ebec11af2042d0653.jpg","text":"TemporaryFile(/tmp/multipartBody7508200785651581140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955782433,"filename":"image_17122025_08_14_44_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7ace890d002c7bbb6e26c297314be15.jpg","text":"TemporaryFile(/tmp/multipartBody8030605848266742744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955782433,"filename":"image_17122025_08_14_05_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b111666f66be808bdbe4bb133d619a5.jpg","text":"TemporaryFile(/tmp/multipartBody5400305551638261400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955782433,"filename":"image_17122025_08_14_14_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa2361662143040baf42e7579b92636e.jpg","text":"TemporaryFile(/tmp/multipartBody2501959350174872965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955782433,"filename":"image_17122025_08_14_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab2e4a8dc5edd68feebd6ab83f1d94d7.jpg","text":"TemporaryFile(/tmp/multipartBody8865841201815704023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955782433,"filename":"image_17122025_08_13_55_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/018aa659ee0d52e14d2b238f5328bfa6.jpg","text":"TemporaryFile(/tmp/multipartBody2718414215857164805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955782433,"filename":"image_17122025_08_14_35_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757567","file1":"1399757565","file0":"1399757563","file4":"1399757572","file5":"1399757574","file3":"1399757569"},"map_files_photo_id_array":[{"photo_id":"1399757574","filename":"file5"},{"photo_id":"1399757567","filename":"file2"},{"photo_id":"1399757572","filename":"file4"},{"photo_id":"1399757565","filename":"file1"},{"photo_id":"1399757563","filename":"file0"},{"photo_id":"1399757569","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757574":["hashtag1","hashtag2"]},{"1399757565":["hashtag1","hashtag2"]},{"1399757567":["hashtag1","hashtag2"]},{"1399757569":["hashtag1","hashtag2"]},{"1399757563":["hashtag1","hashtag2"]},{"1399757572":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757574, 1399757565, 1399757567, 1399757569, 1399757563, 1399757572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30636692047119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:16:02.543767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_55_10622.jpg', '/home/pi/Desktop/images/17122025/08/14/image_17122025_08_15_05_9606.jpg', '/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_14_9676.jpg', '/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_25_10673.jpg', '/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_34_9557.jpg', '/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_45_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_55_10622.jpg
/home/pi/Desktop/images/17122025/08/14/image_17122025_08_15_05_9606.jpg
/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_14_9676.jpg
/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_25_10673.jpg
/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_34_9557.jpg
/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_45_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.55670166015625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:16:12.179322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:16:22.117825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_55_10622.jpg', '/home/pi/Desktop/images/17122025/08/14/image_17122025_08_15_05_9606.jpg', '/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_14_9676.jpg', '/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_25_10673.jpg', '/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_34_9557.jpg', '/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_45_10603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/14/image_17122025_08_14_55_10622.jpg
/home/pi/Desktop/images/17122025/08/14/image_17122025_08_15_05_9606.jpg
/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_14_9676.jpg
/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_25_10673.jpg
/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_34_9557.jpg
/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_45_10603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757586","1399757589","1399757583","1399757591","1399757594","1399757587"],"photo_ids_order":["1399757583","1399757586","1399757587","1399757589","1399757591","1399757594"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4717c722a24b3c360b9ea32ff853700f.jpg","text":"TemporaryFile(/tmp/multipartBody87852433565264018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955842705,"filename":"image_17122025_08_15_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cee17bc29846ba6455861e2e00af196a.jpg","text":"TemporaryFile(/tmp/multipartBody873320852280036593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955842705,"filename":"image_17122025_08_15_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdbd42c88a264cb6834fee962a5a7dbe.jpg","text":"TemporaryFile(/tmp/multipartBody9218172188862933646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955842705,"filename":"image_17122025_08_14_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5dc043a9035d7e2d937f357335a77690.jpg","text":"TemporaryFile(/tmp/multipartBody1188784315670264501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955842705,"filename":"image_17122025_08_15_34_9557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40d8a1c615cccb3e3350f5b080c0cea3.jpg","text":"TemporaryFile(/tmp/multipartBody6578545388346609775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955842705,"filename":"image_17122025_08_15_45_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/496f624dcce9c66d11c645ec9788a4b2.jpg","text":"TemporaryFile(/tmp/multipartBody3784028263118248741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955842705,"filename":"image_17122025_08_15_14_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757587","file1":"1399757586","file0":"1399757583","file4":"1399757591","file5":"1399757594","file3":"1399757589"},"map_files_photo_id_array":[{"photo_id":"1399757594","filename":"file5"},{"photo_id":"1399757587","filename":"file2"},{"photo_id":"1399757591","filename":"file4"},{"photo_id":"1399757586","filename":"file1"},{"photo_id":"1399757583","filename":"file0"},{"photo_id":"1399757589","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757586":["hashtag1","hashtag2"]},{"1399757589":["hashtag1","hashtag2"]},{"1399757583":["hashtag1","hashtag2"]},{"1399757591":["hashtag1","hashtag2"]},{"1399757594":["hashtag1","hashtag2"]},{"1399757587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757586, 1399757589, 1399757583, 1399757591, 1399757594, 1399757587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50414705276489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:17:03.021637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_55_9704.jpg', '/home/pi/Desktop/images/17122025/08/16/image_17122025_08_16_14_9607.jpg', '/home/pi/Desktop/images/17122025/08/16/image_17122025_08_16_25_10720.jpg', '/home/pi/Desktop/images/17122025/08/16/image_17122025_08_16_34_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/15/image_17122025_08_15_55_9704.jpg
/home/pi/Desktop/images/17122025/08/16/image_17122025_08_16_14_9607.jpg
/home/pi/Desktop/images/17122025/08/16/image_17122025_08_16_25_10720.jpg
/home/pi/Desktop/images/17122025/08/16/image_17122025_08_16_34_9654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757597","1399757600","1399757599","1399757598"],"photo_ids_order":["1399757597","1399757598","1399757599","1399757600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/271b917c63d9dda87baca0872b8be3c0.jpg","text":"TemporaryFile(/tmp/multipartBody796859926127433411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955883621,"filename":"image_17122025_08_15_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f075be57dcc29f73fde9278b8fe0d0b.jpg","text":"TemporaryFile(/tmp/multipartBody258118774101715580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955883621,"filename":"image_17122025_08_16_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/492ce50b227bbf27f72ae2ca464b23ac.jpg","text":"TemporaryFile(/tmp/multipartBody574966111252009408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955883621,"filename":"image_17122025_08_16_25_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b21dbe068558659a6783320a68253068.jpg","text":"TemporaryFile(/tmp/multipartBody1135080159460710567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955883621,"filename":"image_17122025_08_16_14_9607.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757599","file1":"1399757598","file0":"1399757597","file3":"1399757600"},"map_files_photo_id_array":[{"photo_id":"1399757599","filename":"file2"},{"photo_id":"1399757598","filename":"file1"},{"photo_id":"1399757597","filename":"file0"},{"photo_id":"1399757600","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757597":["hashtag1","hashtag2"]},{"1399757600":["hashtag1","hashtag2"]},{"1399757599":["hashtag1","hashtag2"]},{"1399757598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757597, 1399757600, 1399757599, 1399757598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.376118183135986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:17:32.279452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:17:42.277625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_33_1486.jpg', '/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_35_1611.jpg', '/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_56_20184.jpg', '/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_58_1836.jpg', '/home/pi/Desktop/images/07112025/17/53/image_07112025_17_54_00_1580.jpg', '/home/pi/Desktop/images/07112025/17/54/image_07112025_17_54_01_1633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_33_1486.jpg
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_35_1611.jpg
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_56_20184.jpg
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_53_58_1836.jpg
/home/pi/Desktop/images/07112025/17/53/image_07112025_17_54_00_1580.jpg
/home/pi/Desktop/images/07112025/17/54/image_07112025_17_54_01_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":["1399757617","1399757616","1399757619","1399757609","1399757618","1399757606"],"photo_ids_order":["1399757606","1399757609","1399757616","1399757617","1399757618","1399757619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de46be295e61fa0a263df952e8b80583.jpg","text":"TemporaryFile(/tmp/multipartBody6024374192890850009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955922975,"filename":"image_07112025_17_53_58_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa6af05ddce00ddeae4278cb6fd5a1c5.jpg","text":"TemporaryFile(/tmp/multipartBody5898781080740921561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955922975,"filename":"image_07112025_17_53_56_20184.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b8dcb2ca02db1ede1e708bca29f57e7.jpg","text":"TemporaryFile(/tmp/multipartBody2643473725305624017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955922975,"filename":"image_07112025_17_54_01_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b369a6c7698e825f73a835068595196.jpg","text":"TemporaryFile(/tmp/multipartBody8690470849709592872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955922975,"filename":"image_07112025_17_53_35_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdc50c7dd38e4b9e507c62a280084657.jpg","text":"TemporaryFile(/tmp/multipartBody8253343555909367011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955922975,"filename":"image_07112025_17_54_00_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c87fb49e83e1af089044a8746d8fdd45.jpg","text":"TemporaryFile(/tmp/multipartBody8481458533186645399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955922975,"filename":"image_07112025_17_53_33_1486.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757616","file1":"1399757609","file0":"1399757606","file4":"1399757618","file5":"1399757619","file3":"1399757617"},"map_files_photo_id_array":[{"photo_id":"1399757619","filename":"file5"},{"photo_id":"1399757616","filename":"file2"},{"photo_id":"1399757618","filename":"file4"},{"photo_id":"1399757609","filename":"file1"},{"photo_id":"1399757606","filename":"file0"},{"photo_id":"1399757617","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757617":["hashtag1","hashtag2"]},{"1399757616":["hashtag1","hashtag2"]},{"1399757619":["hashtag1","hashtag2"]},{"1399757609":["hashtag1","hashtag2"]},{"1399757618":["hashtag1","hashtag2"]},{"1399757606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757617, 1399757616, 1399757619, 1399757609, 1399757618, 1399757606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37381458282471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:18:22.660896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/16/image_17122025_08_16_45_10537.jpg', '/home/pi/Desktop/images/17122025/08/17/image_17122025_08_17_25_9776.jpg', '/home/pi/Desktop/images/17122025/08/17/image_17122025_08_17_34_9655.jpg', '/home/pi/Desktop/images/17122025/08/17/image_17122025_08_17_44_9753.jpg', '/home/pi/Desktop/images/17122025/08/17/image_17122025_08_17_55_10633.jpg', '/home/pi/Desktop/images/17122025/08/17/image_17122025_08_18_05_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/16/image_17122025_08_16_45_10537.jpg
/home/pi/Desktop/images/17122025/08/17/image_17122025_08_17_25_9776.jpg
/home/pi/Desktop/images/17122025/08/17/image_17122025_08_17_34_9655.jpg
/home/pi/Desktop/images/17122025/08/17/image_17122025_08_17_44_9753.jpg
/home/pi/Desktop/images/17122025/08/17/image_17122025_08_17_55_10633.jpg
/home/pi/Desktop/images/17122025/08/17/image_17122025_08_18_05_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":["1399757639","1399757627","1399757624","1399757632","1399757635","1399757629"],"photo_ids_order":["1399757624","1399757627","1399757629","1399757632","1399757635","1399757639"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56bf25f89ba14d39c38ef4614feed533.jpg","text":"TemporaryFile(/tmp/multipartBody3173006073737230981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955963246,"filename":"image_17122025_08_18_05_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91557acfd7af8343f3f787dc700f206b.jpg","text":"TemporaryFile(/tmp/multipartBody2026845646046711054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955963246,"filename":"image_17122025_08_17_25_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e0c70247137f0b660b94cc8c925c261.jpg","text":"TemporaryFile(/tmp/multipartBody1178297241399539798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955963246,"filename":"image_17122025_08_16_45_10537.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36b862f8ad6acd03792d7c35abe5a115.jpg","text":"TemporaryFile(/tmp/multipartBody9142996465049451081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955963246,"filename":"image_17122025_08_17_44_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afad55fbf8e05b00dda6b883710aef86.jpg","text":"TemporaryFile(/tmp/multipartBody566490719482544558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955963246,"filename":"image_17122025_08_17_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbc9d5d67c6d72a495a5e4f18725cc76.jpg","text":"TemporaryFile(/tmp/multipartBody1750526028106123398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765955963246,"filename":"image_17122025_08_17_34_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757629","file1":"1399757627","file0":"1399757624","file4":"1399757635","file5":"1399757639","file3":"1399757632"},"map_files_photo_id_array":[{"photo_id":"1399757639","filename":"file5"},{"photo_id":"1399757629","filename":"file2"},{"photo_id":"1399757635","filename":"file4"},{"photo_id":"1399757627","filename":"file1"},{"photo_id":"1399757624","filename":"file0"},{"photo_id":"1399757632","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757639":["hashtag1","hashtag2"]},{"1399757627":["hashtag1","hashtag2"]},{"1399757624":["hashtag1","hashtag2"]},{"1399757632":["hashtag1","hashtag2"]},{"1399757635":["hashtag1","hashtag2"]},{"1399757629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757639, 1399757627, 1399757624, 1399757632, 1399757635, 1399757629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.670289754867554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:19:02.817114
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_14_9669.jpg', '/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_24_9867.jpg', '/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_35_10820.jpg', '/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_45_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_14_9669.jpg
/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_24_9867.jpg
/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_35_10820.jpg
/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_45_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757652","1399757658","1399757654","1399757656"],"photo_ids_order":["1399757652","1399757654","1399757656","1399757658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/836b53d212d6987cf7b2972f93ed56e4.jpg","text":"TemporaryFile(/tmp/multipartBody1184487955146858762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956003416,"filename":"image_17122025_08_18_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b58b35044459bcf302e7e996e5a0bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5816273344842158977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956003416,"filename":"image_17122025_08_18_45_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73aa8128ffa29ded27cd3bd75e827131.jpg","text":"TemporaryFile(/tmp/multipartBody5545343410680384040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956003416,"filename":"image_17122025_08_18_24_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/516efb8a96b4a26d8b8f6199de981682.jpg","text":"TemporaryFile(/tmp/multipartBody4249273706748361983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956003416,"filename":"image_17122025_08_18_35_10820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757656","file1":"1399757654","file0":"1399757652","file3":"1399757658"},"map_files_photo_id_array":[{"photo_id":"1399757656","filename":"file2"},{"photo_id":"1399757654","filename":"file1"},{"photo_id":"1399757652","filename":"file0"},{"photo_id":"1399757658","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757652":["hashtag1","hashtag2"]},{"1399757658":["hashtag1","hashtag2"]},{"1399757654":["hashtag1","hashtag2"]},{"1399757656":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757652, 1399757658, 1399757654, 1399757656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.728371381759644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:19:31.906514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:19:41.753579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_06_3013.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_10_3850.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_13_2624.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_16_3473.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_19_2549.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_22_2915.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_06_3013.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_10_3850.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_13_2624.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_16_3473.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_19_2549.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_22_2915.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757670","1399757667","1399757664","1399757669","1399757668","1399757671"],"photo_ids_order":["1399757664","1399757667","1399757668","1399757669","1399757670","1399757671"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a4828caf3ea57d09d3b8da3e9552cd1.jpg","text":"TemporaryFile(/tmp/multipartBody3598715060478662815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956042482,"filename":"image_07112025_17_56_19_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bfe800ef7499c19ce4cb46e51e2c81ab.jpg","text":"TemporaryFile(/tmp/multipartBody3547919127008987497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956042482,"filename":"image_07112025_17_56_10_3850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39adba6929df31cc6ebc0e915a18ba1a.jpg","text":"TemporaryFile(/tmp/multipartBody6912965101029637230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956042482,"filename":"image_07112025_17_56_06_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2555249e11e96d200764d59772584910.jpg","text":"TemporaryFile(/tmp/multipartBody5441794774019288522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956042482,"filename":"image_07112025_17_56_16_3473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c519ba118c9c4b4513a74003b99cd147.jpg","text":"TemporaryFile(/tmp/multipartBody4339810337860321145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956042482,"filename":"image_07112025_17_56_13_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ecfda30ec49ba87b5b2660581fc2bb0.jpg","text":"TemporaryFile(/tmp/multipartBody6214876108221214033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956042482,"filename":"image_07112025_17_56_22_2915.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757668","file1":"1399757667","file0":"1399757664","file4":"1399757670","file5":"1399757671","file3":"1399757669"},"map_files_photo_id_array":[{"photo_id":"1399757671","filename":"file5"},{"photo_id":"1399757668","filename":"file2"},{"photo_id":"1399757670","filename":"file4"},{"photo_id":"1399757667","filename":"file1"},{"photo_id":"1399757664","filename":"file0"},{"photo_id":"1399757669","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757670":["hashtag1","hashtag2"]},{"1399757667":["hashtag1","hashtag2"]},{"1399757664":["hashtag1","hashtag2"]},{"1399757669":["hashtag1","hashtag2"]},{"1399757668":["hashtag1","hashtag2"]},{"1399757671":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757670, 1399757667, 1399757664, 1399757669, 1399757668, 1399757671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03750205039978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:20:22.062170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_54_9627.jpg', '/home/pi/Desktop/images/17122025/08/18/image_17122025_08_19_05_10632.jpg', '/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_14_9677.jpg', '/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_24_9878.jpg', '/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_35_10658.jpg', '/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_45_9532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/18/image_17122025_08_18_54_9627.jpg
/home/pi/Desktop/images/17122025/08/18/image_17122025_08_19_05_10632.jpg
/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_14_9677.jpg
/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_24_9878.jpg
/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_35_10658.jpg
/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_45_9532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757679","1399757676","1399757678","1399757689","1399757680","1399757674"],"photo_ids_order":["1399757674","1399757676","1399757678","1399757679","1399757680","1399757689"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79ce10d900dd303001e88d62890fa3d5.jpg","text":"TemporaryFile(/tmp/multipartBody6342264184336568282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956083012,"filename":"image_17122025_08_19_24_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a1cd605a5dece216f33a2343aa8878e.jpg","text":"TemporaryFile(/tmp/multipartBody5540769053584864281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956083012,"filename":"image_17122025_08_19_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e61bca9644933181cccae45f0a40147.jpg","text":"TemporaryFile(/tmp/multipartBody8156325692565208897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956083012,"filename":"image_17122025_08_19_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31b7d8206d45ef2b940f63a165014bab.jpg","text":"TemporaryFile(/tmp/multipartBody4886125335016202397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956083012,"filename":"image_17122025_08_19_45_9532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18b3e1ea1bd48aeb1a999289136c6167.jpg","text":"TemporaryFile(/tmp/multipartBody897631818973427903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956083012,"filename":"image_17122025_08_19_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07bb1a7b7ac5a36a8e896bc16697509e.jpg","text":"TemporaryFile(/tmp/multipartBody3199376894037143194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956083012,"filename":"image_17122025_08_18_54_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757678","file1":"1399757676","file0":"1399757674","file4":"1399757680","file5":"1399757689","file3":"1399757679"},"map_files_photo_id_array":[{"photo_id":"1399757689","filename":"file5"},{"photo_id":"1399757678","filename":"file2"},{"photo_id":"1399757680","filename":"file4"},{"photo_id":"1399757676","filename":"file1"},{"photo_id":"1399757674","filename":"file0"},{"photo_id":"1399757679","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757679":["hashtag1","hashtag2"]},{"1399757676":["hashtag1","hashtag2"]},{"1399757678":["hashtag1","hashtag2"]},{"1399757689":["hashtag1","hashtag2"]},{"1399757680":["hashtag1","hashtag2"]},{"1399757674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757679, 1399757676, 1399757678, 1399757689, 1399757680, 1399757674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.87765336036682 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:21:02.982020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_54_9592.jpg', '/home/pi/Desktop/images/17122025/08/19/image_17122025_08_20_05_10652.jpg', '/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_14_9700.jpg', '/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_24_9669.jpg', '/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_35_10629.jpg', '/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_45_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/19/image_17122025_08_19_54_9592.jpg
/home/pi/Desktop/images/17122025/08/19/image_17122025_08_20_05_10652.jpg
/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_14_9700.jpg
/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_24_9669.jpg
/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_35_10629.jpg
/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_45_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":["1399757701","1399757693","1399757699","1399757695","1399757704","1399757697"],"photo_ids_order":["1399757693","1399757695","1399757697","1399757699","1399757701","1399757704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd3d69bfe360518293894843e4432ac5.jpg","text":"TemporaryFile(/tmp/multipartBody5091091091131377487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956123650,"filename":"image_17122025_08_20_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebedd919d901c35e7a7d702be609d070.jpg","text":"TemporaryFile(/tmp/multipartBody5652265427320622573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956123650,"filename":"image_17122025_08_19_54_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f4307af68521a9e03ff03de8540c68e.jpg","text":"TemporaryFile(/tmp/multipartBody2529885820437675403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956123650,"filename":"image_17122025_08_20_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be94a8671e2316f92a8c39fa563a1699.jpg","text":"TemporaryFile(/tmp/multipartBody1897145242087753455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956123650,"filename":"image_17122025_08_20_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3648fb57dcf1665e9cbe66f8439932d6.jpg","text":"TemporaryFile(/tmp/multipartBody2268702047080156042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956123650,"filename":"image_17122025_08_20_45_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/757a463811b72342176a24e1c5c5dcc7.jpg","text":"TemporaryFile(/tmp/multipartBody4887322960569248577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956123650,"filename":"image_17122025_08_20_14_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757697","file1":"1399757695","file0":"1399757693","file4":"1399757701","file5":"1399757704","file3":"1399757699"},"map_files_photo_id_array":[{"photo_id":"1399757704","filename":"file5"},{"photo_id":"1399757697","filename":"file2"},{"photo_id":"1399757701","filename":"file4"},{"photo_id":"1399757695","filename":"file1"},{"photo_id":"1399757693","filename":"file0"},{"photo_id":"1399757699","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757701":["hashtag1","hashtag2"]},{"1399757693":["hashtag1","hashtag2"]},{"1399757699":["hashtag1","hashtag2"]},{"1399757695":["hashtag1","hashtag2"]},{"1399757704":["hashtag1","hashtag2"]},{"1399757697":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757701, 1399757693, 1399757699, 1399757695, 1399757704, 1399757697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57029843330383 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:21:42.275462
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_24_2670.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_28_3734.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_31_2950.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_33_2556.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_36_2679.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_40_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_24_2670.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_28_3734.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_31_2950.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_33_2556.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_36_2679.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_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":["1399757716","1399757715","1399757714","1399757717","1399757711","1399757713"],"photo_ids_order":["1399757711","1399757713","1399757714","1399757715","1399757716","1399757717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc70c355a27e89d1d7cbfb0d43df1ef9.jpg","text":"TemporaryFile(/tmp/multipartBody113300993126320302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956162975,"filename":"image_07112025_17_56_36_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a405af5b3bad9e8b4c74563753609aaa.jpg","text":"TemporaryFile(/tmp/multipartBody1080626274531140645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956162975,"filename":"image_07112025_17_56_33_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e95d903b9055c5482cf0c8e4f0a5e3e6.jpg","text":"TemporaryFile(/tmp/multipartBody3828074944741000615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956162975,"filename":"image_07112025_17_56_31_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0dc0b25013d529259f0121d76f430ffa.jpg","text":"TemporaryFile(/tmp/multipartBody6964832002689639434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956162975,"filename":"image_07112025_17_56_40_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/336e743232e5514903617e825b4a660b.jpg","text":"TemporaryFile(/tmp/multipartBody7115006153737457478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956162975,"filename":"image_07112025_17_56_24_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/606055eafa3f88bf9eee73821a89aeb1.jpg","text":"TemporaryFile(/tmp/multipartBody8047132725780704446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956162975,"filename":"image_07112025_17_56_28_3734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757714","file1":"1399757713","file0":"1399757711","file4":"1399757716","file5":"1399757717","file3":"1399757715"},"map_files_photo_id_array":[{"photo_id":"1399757717","filename":"file5"},{"photo_id":"1399757714","filename":"file2"},{"photo_id":"1399757716","filename":"file4"},{"photo_id":"1399757713","filename":"file1"},{"photo_id":"1399757711","filename":"file0"},{"photo_id":"1399757715","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757716":["hashtag1","hashtag2"]},{"1399757715":["hashtag1","hashtag2"]},{"1399757714":["hashtag1","hashtag2"]},{"1399757717":["hashtag1","hashtag2"]},{"1399757711":["hashtag1","hashtag2"]},{"1399757713":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757716, 1399757715, 1399757714, 1399757717, 1399757711, 1399757713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.233850717544556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:22:22.537355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_54_9666.jpg', '/home/pi/Desktop/images/17122025/08/20/image_17122025_08_21_05_10750.jpg', '/home/pi/Desktop/images/17122025/08/21/image_17122025_08_21_24_9678.jpg', '/home/pi/Desktop/images/17122025/08/21/image_17122025_08_21_35_10649.jpg', '/home/pi/Desktop/images/17122025/08/21/image_17122025_08_21_45_9628.jpg', '/home/pi/Desktop/images/17122025/08/21/image_17122025_08_21_54_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/20/image_17122025_08_20_54_9666.jpg
/home/pi/Desktop/images/17122025/08/20/image_17122025_08_21_05_10750.jpg
/home/pi/Desktop/images/17122025/08/21/image_17122025_08_21_24_9678.jpg
/home/pi/Desktop/images/17122025/08/21/image_17122025_08_21_35_10649.jpg
/home/pi/Desktop/images/17122025/08/21/image_17122025_08_21_45_9628.jpg
/home/pi/Desktop/images/17122025/08/21/image_17122025_08_21_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":["1399757736","1399757730","1399757724","1399757732","1399757722","1399757728"],"photo_ids_order":["1399757722","1399757724","1399757728","1399757730","1399757732","1399757736"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45f35701467195f037f6fed4d6e5f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody2840230338794168514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956203095,"filename":"image_17122025_08_21_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a46d651590eb017e7c3d70e3efea31e.jpg","text":"TemporaryFile(/tmp/multipartBody6576143057832900273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956203095,"filename":"image_17122025_08_21_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/116f6049ba7aa6b215c03bc2f1efa091.jpg","text":"TemporaryFile(/tmp/multipartBody4924212012841623348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956203095,"filename":"image_17122025_08_21_05_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b080bebe25dae6a9c776550d3f79a223.jpg","text":"TemporaryFile(/tmp/multipartBody4357193015554245102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956203095,"filename":"image_17122025_08_21_45_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5bd984feb71e527d5650594fd883a85.jpg","text":"TemporaryFile(/tmp/multipartBody7926990904900026266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956203095,"filename":"image_17122025_08_20_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d519664a3380a189ebe260ec3f52927.jpg","text":"TemporaryFile(/tmp/multipartBody5623168514782702892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956203095,"filename":"image_17122025_08_21_24_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757728","file1":"1399757724","file0":"1399757722","file4":"1399757732","file5":"1399757736","file3":"1399757730"},"map_files_photo_id_array":[{"photo_id":"1399757736","filename":"file5"},{"photo_id":"1399757728","filename":"file2"},{"photo_id":"1399757732","filename":"file4"},{"photo_id":"1399757724","filename":"file1"},{"photo_id":"1399757722","filename":"file0"},{"photo_id":"1399757730","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757736":["hashtag1","hashtag2"]},{"1399757730":["hashtag1","hashtag2"]},{"1399757724":["hashtag1","hashtag2"]},{"1399757732":["hashtag1","hashtag2"]},{"1399757722":["hashtag1","hashtag2"]},{"1399757728":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757736, 1399757730, 1399757724, 1399757732, 1399757722, 1399757728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.062995195388794 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:23:03.302398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/21/image_17122025_08_22_05_10691.jpg', '/home/pi/Desktop/images/17122025/08/22/image_17122025_08_22_25_10125.jpg', '/home/pi/Desktop/images/17122025/08/22/image_17122025_08_22_34_9691.jpg', '/home/pi/Desktop/images/17122025/08/22/image_17122025_08_22_45_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/21/image_17122025_08_22_05_10691.jpg
/home/pi/Desktop/images/17122025/08/22/image_17122025_08_22_25_10125.jpg
/home/pi/Desktop/images/17122025/08/22/image_17122025_08_22_34_9691.jpg
/home/pi/Desktop/images/17122025/08/22/image_17122025_08_22_45_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":["1399757742","1399757745","1399757747","1399757741"],"photo_ids_order":["1399757741","1399757742","1399757745","1399757747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c49c572edb73d7dad6bf498b05d1d162.jpg","text":"TemporaryFile(/tmp/multipartBody5537596965121839565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956243856,"filename":"image_17122025_08_22_25_10125.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8c87bc6717417b91b0e17b4276ec80e.jpg","text":"TemporaryFile(/tmp/multipartBody6459219195603799416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956243856,"filename":"image_17122025_08_22_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f412af7ff7c89fc8489a26275e11ca3.jpg","text":"TemporaryFile(/tmp/multipartBody63847110776203034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956243856,"filename":"image_17122025_08_22_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36fd95cf9a4613ac05b52ab304bc3783.jpg","text":"TemporaryFile(/tmp/multipartBody5572320058591279960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956243856,"filename":"image_17122025_08_22_05_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757745","file1":"1399757742","file0":"1399757741","file3":"1399757747"},"map_files_photo_id_array":[{"photo_id":"1399757745","filename":"file2"},{"photo_id":"1399757742","filename":"file1"},{"photo_id":"1399757741","filename":"file0"},{"photo_id":"1399757747","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757742":["hashtag1","hashtag2"]},{"1399757745":["hashtag1","hashtag2"]},{"1399757747":["hashtag1","hashtag2"]},{"1399757741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757742, 1399757745, 1399757747, 1399757741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.147295713424683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:23:32.671917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:23:42.718878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_42_2655.jpg', '/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_49_2651.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_01_11876.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_13_11920.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_14_1635.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_16_1603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_42_2655.jpg
/home/pi/Desktop/images/07112025/17/56/image_07112025_17_56_49_2651.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_01_11876.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_13_11920.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_14_1635.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_16_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":["1399757766","1399757769","1399757756","1399757768","1399757767","1399757770"],"photo_ids_order":["1399757756","1399757766","1399757767","1399757768","1399757769","1399757770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ffe2789813c4462074e04c84da67410.jpg","text":"TemporaryFile(/tmp/multipartBody7284123398003014499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956283412,"filename":"image_07112025_17_56_49_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2273ebe544cca52408e33d8232c9cc0f.jpg","text":"TemporaryFile(/tmp/multipartBody8788834179959374952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956283412,"filename":"image_07112025_17_57_14_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9448702c22742b42eb63b8fa1f0ba9e.jpg","text":"TemporaryFile(/tmp/multipartBody4237609906603409243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956283412,"filename":"image_07112025_17_56_42_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b25e3fbbfc4569c46620abeca5afe366.jpg","text":"TemporaryFile(/tmp/multipartBody8017799926620866174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956283412,"filename":"image_07112025_17_57_13_11920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df8b81a2a8c4f4fbabe7551e98f8a074.jpg","text":"TemporaryFile(/tmp/multipartBody1223793461760705206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956283412,"filename":"image_07112025_17_57_01_11876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/660420dffe748d6239bf39231234e83a.jpg","text":"TemporaryFile(/tmp/multipartBody1866308082770535836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956283412,"filename":"image_07112025_17_57_16_1603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757767","file1":"1399757766","file0":"1399757756","file4":"1399757769","file5":"1399757770","file3":"1399757768"},"map_files_photo_id_array":[{"photo_id":"1399757770","filename":"file5"},{"photo_id":"1399757767","filename":"file2"},{"photo_id":"1399757769","filename":"file4"},{"photo_id":"1399757766","filename":"file1"},{"photo_id":"1399757756","filename":"file0"},{"photo_id":"1399757768","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757766":["hashtag1","hashtag2"]},{"1399757769":["hashtag1","hashtag2"]},{"1399757756":["hashtag1","hashtag2"]},{"1399757768":["hashtag1","hashtag2"]},{"1399757767":["hashtag1","hashtag2"]},{"1399757770":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757766, 1399757769, 1399757756, 1399757768, 1399757767, 1399757770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.824180364608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:24:21.978826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/22/image_17122025_08_22_55_9919.jpg', '/home/pi/Desktop/images/17122025/08/22/image_17122025_08_23_05_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/22/image_17122025_08_22_55_9919.jpg
/home/pi/Desktop/images/17122025/08/22/image_17122025_08_23_05_9736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757774","1399757777"],"photo_ids_order":["1399757774","1399757777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bebce910d6c004c100290cdf2c0c1bd9.jpg","text":"TemporaryFile(/tmp/multipartBody564751154771684062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956322409,"filename":"image_17122025_08_22_55_9919.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff652f1d7ba888ec41324e372bb82afa.jpg","text":"TemporaryFile(/tmp/multipartBody239322025024491062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956322409,"filename":"image_17122025_08_23_05_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399757777","file0":"1399757774"},"map_files_photo_id_array":[{"photo_id":"1399757777","filename":"file1"},{"photo_id":"1399757774","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757774":["hashtag1","hashtag2"]},{"1399757777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757774, 1399757777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.130006551742554 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:24:41.936628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_19_2689.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_20_1640.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_22_1700.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_24_1635.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_25_1533.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_27_1652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_19_2689.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_20_1640.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_22_1700.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_24_1635.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_25_1533.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_27_1652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757790","1399757786","1399757791","1399757788","1399757797","1399757796"],"photo_ids_order":["1399757786","1399757788","1399757790","1399757791","1399757796","1399757797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96e400ec50e80577bf4e7b964f4c940b.jpg","text":"TemporaryFile(/tmp/multipartBody5421395180999452822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956342713,"filename":"image_07112025_17_57_22_1700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d869e79d98d265d0674357d01472d565.jpg","text":"TemporaryFile(/tmp/multipartBody4758161755924985234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956342713,"filename":"image_07112025_17_57_19_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd5e8b770ef34f183edcaeb5eac6be40.jpg","text":"TemporaryFile(/tmp/multipartBody2574763212892973796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956342713,"filename":"image_07112025_17_57_24_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb0c3460be06a26dd7831daaa8ef8b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7024554358267242704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956342713,"filename":"image_07112025_17_57_20_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d60bea882332365292ca1acb635e9375.jpg","text":"TemporaryFile(/tmp/multipartBody7236169343494011352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956342713,"filename":"image_07112025_17_57_27_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73d9a0780d947636ddc651e84a5cddd5.jpg","text":"TemporaryFile(/tmp/multipartBody7157395955162694704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956342713,"filename":"image_07112025_17_57_25_1533.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757790","file1":"1399757788","file0":"1399757786","file4":"1399757796","file5":"1399757797","file3":"1399757791"},"map_files_photo_id_array":[{"photo_id":"1399757797","filename":"file5"},{"photo_id":"1399757790","filename":"file2"},{"photo_id":"1399757796","filename":"file4"},{"photo_id":"1399757788","filename":"file1"},{"photo_id":"1399757786","filename":"file0"},{"photo_id":"1399757791","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757790":["hashtag1","hashtag2"]},{"1399757786":["hashtag1","hashtag2"]},{"1399757791":["hashtag1","hashtag2"]},{"1399757788":["hashtag1","hashtag2"]},{"1399757797":["hashtag1","hashtag2"]},{"1399757796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757790, 1399757786, 1399757791, 1399757788, 1399757797, 1399757796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83573651313782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:25:22.140412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/23/image_17122025_08_23_18_13087.jpg', '/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_15_10720.jpg', '/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_24_9323.jpg', '/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_35_10726.jpg', '/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_45_9802.jpg', '/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_54_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/23/image_17122025_08_23_18_13087.jpg
/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_15_10720.jpg
/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_24_9323.jpg
/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_35_10726.jpg
/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_45_9802.jpg
/home/pi/Desktop/images/17122025/08/24/image_17122025_08_24_54_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":["1399757817","1399757802","1399757805","1399757808","1399757810","1399757813"],"photo_ids_order":["1399757802","1399757805","1399757808","1399757810","1399757813","1399757817"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a839f82b9ea6458f9b211588b9ca8070.jpg","text":"TemporaryFile(/tmp/multipartBody3388933798096265686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956382726,"filename":"image_17122025_08_24_54_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22a829e64b6f41dbd6eef3f319596670.jpg","text":"TemporaryFile(/tmp/multipartBody4480325953179138123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956382726,"filename":"image_17122025_08_23_18_13087.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1bba0d5c05fac754bb12e1e6917649a.jpg","text":"TemporaryFile(/tmp/multipartBody2235625043752845614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956382726,"filename":"image_17122025_08_24_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3de70702343d324a07af0d263319202e.jpg","text":"TemporaryFile(/tmp/multipartBody3826620397813624881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956382726,"filename":"image_17122025_08_24_24_9323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ed0a0b34d22b016ba70c66e7b9ce2c7.jpg","text":"TemporaryFile(/tmp/multipartBody4479605981731736693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956382726,"filename":"image_17122025_08_24_35_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9358aa70ffc93e621138f0e9b35a10bb.jpg","text":"TemporaryFile(/tmp/multipartBody8682448853369500928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956382726,"filename":"image_17122025_08_24_45_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757808","file1":"1399757805","file0":"1399757802","file4":"1399757813","file5":"1399757817","file3":"1399757810"},"map_files_photo_id_array":[{"photo_id":"1399757817","filename":"file5"},{"photo_id":"1399757808","filename":"file2"},{"photo_id":"1399757813","filename":"file4"},{"photo_id":"1399757805","filename":"file1"},{"photo_id":"1399757802","filename":"file0"},{"photo_id":"1399757810","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757817":["hashtag1","hashtag2"]},{"1399757802":["hashtag1","hashtag2"]},{"1399757805":["hashtag1","hashtag2"]},{"1399757808":["hashtag1","hashtag2"]},{"1399757810":["hashtag1","hashtag2"]},{"1399757813":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757817, 1399757802, 1399757805, 1399757808, 1399757810, 1399757813)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.962231397628784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:26:02.906373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_05_10491.jpg', '/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_15_9752.jpg', '/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_24_9601.jpg', '/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_44_9433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_05_10491.jpg
/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_15_9752.jpg
/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_24_9601.jpg
/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_44_9433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757820","1399757825","1399757822","1399757821"],"photo_ids_order":["1399757820","1399757821","1399757822","1399757825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c0c9338b984fe817ef32b69fab8a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody2741846727738264902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956423436,"filename":"image_17122025_08_25_05_10491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd386cdd7574bc88cd3b6cf6cf6316a7.jpg","text":"TemporaryFile(/tmp/multipartBody967277263712576240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956423436,"filename":"image_17122025_08_25_44_9433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b15272b823ade411fb3f640fd384a36.jpg","text":"TemporaryFile(/tmp/multipartBody2091358206918339693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956423436,"filename":"image_17122025_08_25_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95a676d04ddcf5fe36016c48f87c5619.jpg","text":"TemporaryFile(/tmp/multipartBody3005825593564271013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956423436,"filename":"image_17122025_08_25_15_9752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757822","file1":"1399757821","file0":"1399757820","file3":"1399757825"},"map_files_photo_id_array":[{"photo_id":"1399757822","filename":"file2"},{"photo_id":"1399757821","filename":"file1"},{"photo_id":"1399757820","filename":"file0"},{"photo_id":"1399757825","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757820":["hashtag1","hashtag2"]},{"1399757825":["hashtag1","hashtag2"]},{"1399757822":["hashtag1","hashtag2"]},{"1399757821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757820, 1399757825, 1399757822, 1399757821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.576570987701416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:26:32.549332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:26:42.530102
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_29_1750.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_30_1650.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_32_1696.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_34_1677.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_51_1694.jpg', '/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_56_4351.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_29_1750.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_30_1650.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_32_1696.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_34_1677.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_51_1694.jpg
/home/pi/Desktop/images/07112025/17/57/image_07112025_17_57_56_4351.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757850","1399757844","1399757861","1399757837","1399757852","1399757851"],"photo_ids_order":["1399757837","1399757844","1399757850","1399757851","1399757852","1399757861"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83135a05db4a1b647fc7d7bb2d6f6d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2892072475272003641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956463311,"filename":"image_07112025_17_57_32_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a539148529be7612cc7e461887eab6cc.jpg","text":"TemporaryFile(/tmp/multipartBody6631465972107662643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956463311,"filename":"image_07112025_17_57_30_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70bd54d0aff84ea7b78bb34256a9381d.jpg","text":"TemporaryFile(/tmp/multipartBody2341046874388681202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956463311,"filename":"image_07112025_17_57_56_4351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a76c637c84b7c322e2448c59a61df038.jpg","text":"TemporaryFile(/tmp/multipartBody7947413209671886243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956463311,"filename":"image_07112025_17_57_29_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f07bfb1472a33a1960fe29b2e39fc93a.jpg","text":"TemporaryFile(/tmp/multipartBody2406132619493276020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956463311,"filename":"image_07112025_17_57_51_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39b4eb5da04718f48ebc87e81e56adcb.jpg","text":"TemporaryFile(/tmp/multipartBody4815417163383908480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956463311,"filename":"image_07112025_17_57_34_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757850","file1":"1399757844","file0":"1399757837","file4":"1399757852","file5":"1399757861","file3":"1399757851"},"map_files_photo_id_array":[{"photo_id":"1399757861","filename":"file5"},{"photo_id":"1399757850","filename":"file2"},{"photo_id":"1399757852","filename":"file4"},{"photo_id":"1399757844","filename":"file1"},{"photo_id":"1399757837","filename":"file0"},{"photo_id":"1399757851","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757850":["hashtag1","hashtag2"]},{"1399757844":["hashtag1","hashtag2"]},{"1399757861":["hashtag1","hashtag2"]},{"1399757837":["hashtag1","hashtag2"]},{"1399757852":["hashtag1","hashtag2"]},{"1399757851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757850, 1399757844, 1399757861, 1399757837, 1399757852, 1399757851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89015865325928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:27:22.800964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_55_10644.jpg', '/home/pi/Desktop/images/17122025/08/25/image_17122025_08_26_05_9813.jpg', '/home/pi/Desktop/images/17122025/08/26/image_17122025_08_26_25_10588.jpg', '/home/pi/Desktop/images/17122025/08/26/image_17122025_08_26_35_9624.jpg', '/home/pi/Desktop/images/17122025/08/26/image_17122025_08_26_44_9744.jpg', '/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_15_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/25/image_17122025_08_25_55_10644.jpg
/home/pi/Desktop/images/17122025/08/25/image_17122025_08_26_05_9813.jpg
/home/pi/Desktop/images/17122025/08/26/image_17122025_08_26_25_10588.jpg
/home/pi/Desktop/images/17122025/08/26/image_17122025_08_26_35_9624.jpg
/home/pi/Desktop/images/17122025/08/26/image_17122025_08_26_44_9744.jpg
/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_15_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757873","1399757882","1399757876","1399757879","1399757870","1399757867"],"photo_ids_order":["1399757867","1399757870","1399757873","1399757876","1399757879","1399757882"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ec3242b7012ab99f03f8388fd2a261d.jpg","text":"TemporaryFile(/tmp/multipartBody5837844531970425884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956503420,"filename":"image_17122025_08_26_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdd2dbe4478caa0f173b33e249a3d17f.jpg","text":"TemporaryFile(/tmp/multipartBody3241964751160438904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956503420,"filename":"image_17122025_08_27_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac4e377736dc988d2b584d572202ed78.jpg","text":"TemporaryFile(/tmp/multipartBody4536357784152872003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956503420,"filename":"image_17122025_08_26_35_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/232aa647e0b6159ffb81d9998dd1c2f2.jpg","text":"TemporaryFile(/tmp/multipartBody7413393238921410446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956503420,"filename":"image_17122025_08_26_44_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/476ce0c5be9456c9547b7b442199bbdc.jpg","text":"TemporaryFile(/tmp/multipartBody3688230852643529643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956503420,"filename":"image_17122025_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/2025/12/17/4bbc22c0f85a464e7e5b6fdb7aa94837.jpg","text":"TemporaryFile(/tmp/multipartBody850016502659059107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956503420,"filename":"image_17122025_08_25_55_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757873","file1":"1399757870","file0":"1399757867","file4":"1399757879","file5":"1399757882","file3":"1399757876"},"map_files_photo_id_array":[{"photo_id":"1399757882","filename":"file5"},{"photo_id":"1399757873","filename":"file2"},{"photo_id":"1399757879","filename":"file4"},{"photo_id":"1399757870","filename":"file1"},{"photo_id":"1399757867","filename":"file0"},{"photo_id":"1399757876","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757873":["hashtag1","hashtag2"]},{"1399757882":["hashtag1","hashtag2"]},{"1399757876":["hashtag1","hashtag2"]},{"1399757879":["hashtag1","hashtag2"]},{"1399757870":["hashtag1","hashtag2"]},{"1399757867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757873, 1399757882, 1399757876, 1399757879, 1399757870, 1399757867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.932039976119995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:28:02.421574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_25_9755.jpg', '/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_34_9702.jpg', '/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_45_10534.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_25_9755.jpg
/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_34_9702.jpg
/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_45_10534.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757888","1399757887","1399757889"],"photo_ids_order":["1399757887","1399757888","1399757889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/367b5ab4c419efd8a4aa8c17a6667da3.jpg","text":"TemporaryFile(/tmp/multipartBody5928965740145682124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956542916,"filename":"image_17122025_08_27_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88420dec3c3a29cb26be0b41cb43a744.jpg","text":"TemporaryFile(/tmp/multipartBody3554604534655996613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956542916,"filename":"image_17122025_08_27_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5408bacd0b7ffae3b3b960d0c77aba7d.jpg","text":"TemporaryFile(/tmp/multipartBody5931931326464660037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956542916,"filename":"image_17122025_08_27_45_10534.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757889","file1":"1399757888","file0":"1399757887"},"map_files_photo_id_array":[{"photo_id":"1399757889","filename":"file2"},{"photo_id":"1399757888","filename":"file1"},{"photo_id":"1399757887","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757888":["hashtag1","hashtag2"]},{"1399757887":["hashtag1","hashtag2"]},{"1399757889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757888, 1399757887, 1399757889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.353269815444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:28:32.051872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:28:42.065546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_09_1615.jpg', '/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_35_23808.jpg', '/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_36_1682.jpg', '/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_46_1906.jpg', '/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_53_1785.jpg', '/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_03_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_09_1615.jpg
/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_35_23808.jpg
/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_36_1682.jpg
/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_46_1906.jpg
/home/pi/Desktop/images/07112025/17/58/image_07112025_17_58_53_1785.jpg
/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_03_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":["1399757914","1399757907","1399757916","1399757918","1399757912","1399757915"],"photo_ids_order":["1399757907","1399757912","1399757914","1399757915","1399757916","1399757918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59201633ae5be4c806d1c6e43d495d1f.jpg","text":"TemporaryFile(/tmp/multipartBody1767146183666789361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956582908,"filename":"image_07112025_17_58_36_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b26d2249be0f3a1f06fb4aa25cd65b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2912796138052301750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956582908,"filename":"image_07112025_17_58_09_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4556349811f95482a4f993d47bfe0c39.jpg","text":"TemporaryFile(/tmp/multipartBody6286777463815437547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956582908,"filename":"image_07112025_17_58_53_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/753416b58c1103902ce1d98b2a9b9377.jpg","text":"TemporaryFile(/tmp/multipartBody4570293871411118502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956582908,"filename":"image_07112025_17_59_03_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ceae072c5966753634bcfb98d1b99b78.jpg","text":"TemporaryFile(/tmp/multipartBody1042811705304334554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956582908,"filename":"image_07112025_17_58_35_23808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9112a82231437a59be6d9b7fd99c0db.jpg","text":"TemporaryFile(/tmp/multipartBody1391615956935141115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956582908,"filename":"image_07112025_17_58_46_1906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757914","file1":"1399757912","file0":"1399757907","file4":"1399757916","file5":"1399757918","file3":"1399757915"},"map_files_photo_id_array":[{"photo_id":"1399757918","filename":"file5"},{"photo_id":"1399757914","filename":"file2"},{"photo_id":"1399757916","filename":"file4"},{"photo_id":"1399757912","filename":"file1"},{"photo_id":"1399757907","filename":"file0"},{"photo_id":"1399757915","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757914":["hashtag1","hashtag2"]},{"1399757907":["hashtag1","hashtag2"]},{"1399757916":["hashtag1","hashtag2"]},{"1399757918":["hashtag1","hashtag2"]},{"1399757912":["hashtag1","hashtag2"]},{"1399757915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757914, 1399757907, 1399757916, 1399757918, 1399757912, 1399757915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74555325508118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:29:22.578916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_55_9837.jpg', '/home/pi/Desktop/images/17122025/08/28/image_17122025_08_28_14_9816.jpg', '/home/pi/Desktop/images/17122025/08/28/image_17122025_08_28_25_10444.jpg', '/home/pi/Desktop/images/17122025/08/28/image_17122025_08_29_04_9774.jpg', '/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_14_9782.jpg', '/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_24_10350.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/27/image_17122025_08_27_55_9837.jpg
/home/pi/Desktop/images/17122025/08/28/image_17122025_08_28_14_9816.jpg
/home/pi/Desktop/images/17122025/08/28/image_17122025_08_28_25_10444.jpg
/home/pi/Desktop/images/17122025/08/28/image_17122025_08_29_04_9774.jpg
/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_14_9782.jpg
/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_24_10350.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757946","1399757940","1399757942","1399757936","1399757950","1399757944"],"photo_ids_order":["1399757936","1399757940","1399757942","1399757944","1399757946","1399757950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7419ae86b55370e1702ce121370210b.jpg","text":"TemporaryFile(/tmp/multipartBody3762718806571859093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956623189,"filename":"image_17122025_08_29_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c60d500e18d72f4ba3a9b36037b98ec0.jpg","text":"TemporaryFile(/tmp/multipartBody3056770613851648479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956623189,"filename":"image_17122025_08_28_14_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad12d61d172eaea93697eac999b34193.jpg","text":"TemporaryFile(/tmp/multipartBody4595725376206370138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956623189,"filename":"image_17122025_08_28_25_10444.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87161a0163f5ed34bd50e283020d9cd5.jpg","text":"TemporaryFile(/tmp/multipartBody2671803807552074602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956623189,"filename":"image_17122025_08_27_55_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63345958d4eed91f2ccf0f4c3a6cf620.jpg","text":"TemporaryFile(/tmp/multipartBody5859154313040438545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956623189,"filename":"image_17122025_08_29_24_10350.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/689ae9cc66b56045bffaed2e384259c3.jpg","text":"TemporaryFile(/tmp/multipartBody7106500305376385114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956623189,"filename":"image_17122025_08_29_04_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757942","file1":"1399757940","file0":"1399757936","file4":"1399757946","file5":"1399757950","file3":"1399757944"},"map_files_photo_id_array":[{"photo_id":"1399757950","filename":"file5"},{"photo_id":"1399757942","filename":"file2"},{"photo_id":"1399757946","filename":"file4"},{"photo_id":"1399757940","filename":"file1"},{"photo_id":"1399757936","filename":"file0"},{"photo_id":"1399757944","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757946":["hashtag1","hashtag2"]},{"1399757940":["hashtag1","hashtag2"]},{"1399757942":["hashtag1","hashtag2"]},{"1399757936":["hashtag1","hashtag2"]},{"1399757950":["hashtag1","hashtag2"]},{"1399757944":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757946, 1399757940, 1399757942, 1399757936, 1399757950, 1399757944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51190495491028 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:30:02.967222
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_34_9697.jpg', '/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_45_10526.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_34_9697.jpg
/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_45_10526.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399757966","1399757965"],"photo_ids_order":["1399757965","1399757966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bae2d20231aeda32d434c52b58afdaa4.jpg","text":"TemporaryFile(/tmp/multipartBody2480551424354056342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956663424,"filename":"image_17122025_08_29_45_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6359bd35cfaa8fcb8aee8b0c5efb1626.jpg","text":"TemporaryFile(/tmp/multipartBody5705126720568880066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956663424,"filename":"image_17122025_08_29_34_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399757966","file0":"1399757965"},"map_files_photo_id_array":[{"photo_id":"1399757966","filename":"file1"},{"photo_id":"1399757965","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399757966":["hashtag1","hashtag2"]},{"1399757965":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399757966, 1399757965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.174498796463013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:30:22.619955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_32_1692.jpg', '/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_34_1722.jpg', '/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_36_1889.jpg', '/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_39_1606.jpg', '/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_55_1746.jpg', '/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_58_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_32_1692.jpg
/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_34_1722.jpg
/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_36_1889.jpg
/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_39_1606.jpg
/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_55_1746.jpg
/home/pi/Desktop/images/07112025/17/59/image_07112025_17_59_58_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":["1399757984","1399757977","1399757986","1399757971","1399757989","1399757974"],"photo_ids_order":["1399757971","1399757974","1399757977","1399757984","1399757986","1399757989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99d2966720d84ee94ea4bd676c2303cb.jpg","text":"TemporaryFile(/tmp/multipartBody4113665622312449227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956683387,"filename":"image_07112025_17_59_39_1606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/111ebf922943a26a1b4fa262d867e387.jpg","text":"TemporaryFile(/tmp/multipartBody6018851968275870890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956683387,"filename":"image_07112025_17_59_36_1889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21811245bbc55b92dc9f954e83a1432f.jpg","text":"TemporaryFile(/tmp/multipartBody526166277751249310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956683387,"filename":"image_07112025_17_59_55_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33923e5c84e7dd93cb124812e4f94071.jpg","text":"TemporaryFile(/tmp/multipartBody374858140028183012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956683387,"filename":"image_07112025_17_59_32_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a09884f1fd39dc38c39314262abeb17.jpg","text":"TemporaryFile(/tmp/multipartBody7861726531846493494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956683387,"filename":"image_07112025_17_59_58_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a446dd93e9d8186ffae0b1d07e8dd34a.jpg","text":"TemporaryFile(/tmp/multipartBody6497512499668187906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956683387,"filename":"image_07112025_17_59_34_1722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757977","file1":"1399757974","file0":"1399757971","file4":"1399757986","file5":"1399757989","file3":"1399757984"},"map_files_photo_id_array":[{"photo_id":"1399757989","filename":"file5"},{"photo_id":"1399757977","filename":"file2"},{"photo_id":"1399757986","filename":"file4"},{"photo_id":"1399757974","filename":"file1"},{"photo_id":"1399757971","filename":"file0"},{"photo_id":"1399757984","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399757984":["hashtag1","hashtag2"]},{"1399757977":["hashtag1","hashtag2"]},{"1399757986":["hashtag1","hashtag2"]},{"1399757971":["hashtag1","hashtag2"]},{"1399757989":["hashtag1","hashtag2"]},{"1399757974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399757984, 1399757977, 1399757986, 1399757971, 1399757989, 1399757974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.667155504226685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:31:02.599480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:31:11.872496
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:31:21.741875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_54_9727.jpg', '/home/pi/Desktop/images/17122025/08/31/image_17122025_08_31_14_10037.jpg', '/home/pi/Desktop/images/17122025/08/31/image_17122025_08_31_25_10600.jpg', '/home/pi/Desktop/images/17122025/08/31/image_17122025_08_31_34_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/29/image_17122025_08_29_54_9727.jpg
/home/pi/Desktop/images/17122025/08/31/image_17122025_08_31_14_10037.jpg
/home/pi/Desktop/images/17122025/08/31/image_17122025_08_31_25_10600.jpg
/home/pi/Desktop/images/17122025/08/31/image_17122025_08_31_34_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399758000","1399757996","1399757998","1399757994"],"photo_ids_order":["1399757994","1399757996","1399757998","1399758000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ab912a40ed8b4ee7aaf3f4552d10578.jpg","text":"TemporaryFile(/tmp/multipartBody474098135108624641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956742249,"filename":"image_17122025_08_31_34_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/095fe6ebb3d0de391a8d71b682d3b5f9.jpg","text":"TemporaryFile(/tmp/multipartBody1883075406398603538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956742249,"filename":"image_17122025_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/2025/12/17/a515ffbb3240fbda28b39b623381ea55.jpg","text":"TemporaryFile(/tmp/multipartBody3004050657744354482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956742249,"filename":"image_17122025_08_31_25_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6002c5f6139660cdf313a313dec491a.jpg","text":"TemporaryFile(/tmp/multipartBody8709629590345393870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956742249,"filename":"image_17122025_08_29_54_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399757998","file1":"1399757996","file0":"1399757994","file3":"1399758000"},"map_files_photo_id_array":[{"photo_id":"1399757998","filename":"file2"},{"photo_id":"1399757996","filename":"file1"},{"photo_id":"1399757994","filename":"file0"},{"photo_id":"1399758000","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758000":["hashtag1","hashtag2"]},{"1399757996":["hashtag1","hashtag2"]},{"1399757998":["hashtag1","hashtag2"]},{"1399757994":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758000, 1399757996, 1399757998, 1399757994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.459491968154907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:32:02.593833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:32:11.985112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:32:22.055932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/31/image_17122025_08_31_44_9798.jpg', '/home/pi/Desktop/images/17122025/08/31/image_17122025_08_32_05_10647.jpg', '/home/pi/Desktop/images/17122025/08/32/image_17122025_08_32_24_9643.jpg', '/home/pi/Desktop/images/17122025/08/32/image_17122025_08_32_35_10569.jpg', '/home/pi/Desktop/images/17122025/08/32/image_17122025_08_32_44_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/31/image_17122025_08_31_44_9798.jpg
/home/pi/Desktop/images/17122025/08/31/image_17122025_08_32_05_10647.jpg
/home/pi/Desktop/images/17122025/08/32/image_17122025_08_32_24_9643.jpg
/home/pi/Desktop/images/17122025/08/32/image_17122025_08_32_35_10569.jpg
/home/pi/Desktop/images/17122025/08/32/image_17122025_08_32_44_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399758009","1399758022","1399758016","1399758019","1399758013"],"photo_ids_order":["1399758009","1399758013","1399758016","1399758019","1399758022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bbc5206bfd5fba6de7b256921260202f.jpg","text":"TemporaryFile(/tmp/multipartBody8957062617709164105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956802608,"filename":"image_17122025_08_31_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bd8ba6f2bbc6a8596fe37f900e459c8.jpg","text":"TemporaryFile(/tmp/multipartBody1911344551069572300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956802608,"filename":"image_17122025_08_32_44_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c844ecd1edccdfb08bf18439624e7af.jpg","text":"TemporaryFile(/tmp/multipartBody5173254850049977265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956802608,"filename":"image_17122025_08_32_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80b24b976683d300a42933f6e3a4456c.jpg","text":"TemporaryFile(/tmp/multipartBody6799579075679661170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956802608,"filename":"image_17122025_08_32_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d26880340bd34a8b89c9456ebda4af8.jpg","text":"TemporaryFile(/tmp/multipartBody4760552438225058523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956802608,"filename":"image_17122025_08_32_05_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758016","file1":"1399758013","file0":"1399758009","file4":"1399758022","file3":"1399758019"},"map_files_photo_id_array":[{"photo_id":"1399758016","filename":"file2"},{"photo_id":"1399758022","filename":"file4"},{"photo_id":"1399758013","filename":"file1"},{"photo_id":"1399758009","filename":"file0"},{"photo_id":"1399758019","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758009":["hashtag1","hashtag2"]},{"1399758022":["hashtag1","hashtag2"]},{"1399758016":["hashtag1","hashtag2"]},{"1399758019":["hashtag1","hashtag2"]},{"1399758013":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758009, 1399758022, 1399758016, 1399758019, 1399758013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.44644069671631 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:33:02.931504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:33:17.692900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:33:22.287916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/32/image_17122025_08_32_55_10700.jpg', '/home/pi/Desktop/images/17122025/08/32/image_17122025_08_33_05_9619.jpg', '/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_14_9607.jpg', '/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_25_10658.jpg', '/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_35_9758.jpg', '/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_44_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/32/image_17122025_08_32_55_10700.jpg
/home/pi/Desktop/images/17122025/08/32/image_17122025_08_33_05_9619.jpg
/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_14_9607.jpg
/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_25_10658.jpg
/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_35_9758.jpg
/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_44_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":["1399758054","1399758062","1399758059","1399758050","1399758052","1399758057"],"photo_ids_order":["1399758050","1399758052","1399758054","1399758057","1399758059","1399758062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6fa0fcb82f1bebbce30ae7abb32c949.jpg","text":"TemporaryFile(/tmp/multipartBody6948191791600875516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956862869,"filename":"image_17122025_08_33_14_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19b1f1cb7d6ccdda14d0bca1847507af.jpg","text":"TemporaryFile(/tmp/multipartBody7894526491299130016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956862869,"filename":"image_17122025_08_33_44_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8627fa004558f579fdadbc21ea9967c.jpg","text":"TemporaryFile(/tmp/multipartBody869503513227945072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956862869,"filename":"image_17122025_08_33_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d86b82300646154a08b34add4572fd53.jpg","text":"TemporaryFile(/tmp/multipartBody8148814029768018143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956862869,"filename":"image_17122025_08_32_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c5eb1e91d245a40c9270acd16dcffa4.jpg","text":"TemporaryFile(/tmp/multipartBody2958388697855107662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956862869,"filename":"image_17122025_08_33_05_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b112aa927428f56892b4f66a5da436f.jpg","text":"TemporaryFile(/tmp/multipartBody7375843150363012722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956862869,"filename":"image_17122025_08_33_25_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758054","file1":"1399758052","file0":"1399758050","file4":"1399758059","file5":"1399758062","file3":"1399758057"},"map_files_photo_id_array":[{"photo_id":"1399758062","filename":"file5"},{"photo_id":"1399758054","filename":"file2"},{"photo_id":"1399758059","filename":"file4"},{"photo_id":"1399758052","filename":"file1"},{"photo_id":"1399758050","filename":"file0"},{"photo_id":"1399758057","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758054":["hashtag1","hashtag2"]},{"1399758062":["hashtag1","hashtag2"]},{"1399758059":["hashtag1","hashtag2"]},{"1399758050":["hashtag1","hashtag2"]},{"1399758052":["hashtag1","hashtag2"]},{"1399758057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758054, 1399758062, 1399758059, 1399758050, 1399758052, 1399758057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2451958656311 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:34:03.125483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:34:12.497243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:34:22.497860
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_55_10697.jpg', '/home/pi/Desktop/images/17122025/08/33/image_17122025_08_34_05_9674.jpg', '/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_14_9747.jpg', '/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_25_10339.jpg', '/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_34_9618.jpg', '/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_44_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/33/image_17122025_08_33_55_10697.jpg
/home/pi/Desktop/images/17122025/08/33/image_17122025_08_34_05_9674.jpg
/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_14_9747.jpg
/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_25_10339.jpg
/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_34_9618.jpg
/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_44_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399758213","1399758227","1399758190","1399758232","1399758154","1399758162"],"photo_ids_order":["1399758154","1399758162","1399758190","1399758213","1399758227","1399758232"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66748e69900e2ac76252c9e1206b906e.jpg","text":"TemporaryFile(/tmp/multipartBody6336747923858742508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956923083,"filename":"image_17122025_08_34_25_10339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6280c438e50c55147d9f7c798c9472a.jpg","text":"TemporaryFile(/tmp/multipartBody1637285793085885462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956923083,"filename":"image_17122025_08_34_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/765daa49b3013277486ac708a988008a.jpg","text":"TemporaryFile(/tmp/multipartBody5578263655331531680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956923083,"filename":"image_17122025_08_34_14_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef498e3e9b5e7f670ad1a88cd3a5d894.jpg","text":"TemporaryFile(/tmp/multipartBody3568062591914683783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956923083,"filename":"image_17122025_08_34_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2581f4cf0892cc8fb0f740e430c8819.jpg","text":"TemporaryFile(/tmp/multipartBody5289742019332984727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956923083,"filename":"image_17122025_08_33_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58296ad9c706ef4890ce43d9d6a90a29.jpg","text":"TemporaryFile(/tmp/multipartBody5861399047475315226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956923083,"filename":"image_17122025_08_34_05_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758190","file1":"1399758162","file0":"1399758154","file4":"1399758227","file5":"1399758232","file3":"1399758213"},"map_files_photo_id_array":[{"photo_id":"1399758232","filename":"file5"},{"photo_id":"1399758190","filename":"file2"},{"photo_id":"1399758227","filename":"file4"},{"photo_id":"1399758162","filename":"file1"},{"photo_id":"1399758154","filename":"file0"},{"photo_id":"1399758213","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758213":["hashtag1","hashtag2"]},{"1399758227":["hashtag1","hashtag2"]},{"1399758190":["hashtag1","hashtag2"]},{"1399758232":["hashtag1","hashtag2"]},{"1399758154":["hashtag1","hashtag2"]},{"1399758162":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758213, 1399758227, 1399758190, 1399758232, 1399758154, 1399758162)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07273006439209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:35:03.319203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:35:12.579812
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:35:22.695778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_55_10592.jpg', '/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_14_9807.jpg', '/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_25_10707.jpg', '/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_35_9676.jpg', '/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_44_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/34/image_17122025_08_34_55_10592.jpg
/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_14_9807.jpg
/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_25_10707.jpg
/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_35_9676.jpg
/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_44_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":["1399758260","1399758254","1399758262","1399758256","1399758259"],"photo_ids_order":["1399758254","1399758256","1399758259","1399758260","1399758262"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3bcf3e19877e7631e7dc2024810aeed0.jpg","text":"TemporaryFile(/tmp/multipartBody7231098100337610402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956983239,"filename":"image_17122025_08_35_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f43f68ef0850befeef24c64e45dfd2ec.jpg","text":"TemporaryFile(/tmp/multipartBody9004352430064849272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956983239,"filename":"image_17122025_08_34_55_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e156944a6aaf0bb15f8e1ab3bc722744.jpg","text":"TemporaryFile(/tmp/multipartBody1519507744614223879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956983239,"filename":"image_17122025_08_35_44_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87b6bf6f09e0f98e0027d1aba8f4d606.jpg","text":"TemporaryFile(/tmp/multipartBody3039223079083324859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956983239,"filename":"image_17122025_08_35_14_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/016daf7f92988f96bd42cb57850e9572.jpg","text":"TemporaryFile(/tmp/multipartBody6484789634295214675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765956983239,"filename":"image_17122025_08_35_25_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758259","file1":"1399758256","file0":"1399758254","file4":"1399758262","file3":"1399758260"},"map_files_photo_id_array":[{"photo_id":"1399758259","filename":"file2"},{"photo_id":"1399758262","filename":"file4"},{"photo_id":"1399758256","filename":"file1"},{"photo_id":"1399758254","filename":"file0"},{"photo_id":"1399758260","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758260":["hashtag1","hashtag2"]},{"1399758254":["hashtag1","hashtag2"]},{"1399758262":["hashtag1","hashtag2"]},{"1399758256":["hashtag1","hashtag2"]},{"1399758259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758260, 1399758254, 1399758262, 1399758256, 1399758259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.26498460769653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:36:02.395629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:36:11.924792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:36:21.978873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_55_10599.jpg', '/home/pi/Desktop/images/17122025/08/35/image_17122025_08_36_05_9593.jpg', '/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_14_9611.jpg', '/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_25_10819.jpg', '/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_35_9777.jpg', '/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_45_9825.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/35/image_17122025_08_35_55_10599.jpg
/home/pi/Desktop/images/17122025/08/35/image_17122025_08_36_05_9593.jpg
/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_14_9611.jpg
/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_25_10819.jpg
/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_35_9777.jpg
/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_45_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":["1399758290","1399758292","1399758285","1399758294","1399758288","1399758297"],"photo_ids_order":["1399758285","1399758288","1399758290","1399758292","1399758294","1399758297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e454ffbdf4494516c77a8561f9eaa479.jpg","text":"TemporaryFile(/tmp/multipartBody6217475001880639033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957042576,"filename":"image_17122025_08_36_14_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fcc398b247ef0adc76ab063a178806db.jpg","text":"TemporaryFile(/tmp/multipartBody1376046477535645885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957042576,"filename":"image_17122025_08_36_25_10819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb34fd612777ab9e01ea6e720844333e.jpg","text":"TemporaryFile(/tmp/multipartBody6145945298148249882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957042576,"filename":"image_17122025_08_35_55_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08a10b44caaba4cb14eb16be97abcb8c.jpg","text":"TemporaryFile(/tmp/multipartBody1342329463832000620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957042576,"filename":"image_17122025_08_36_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7542edcfba3974736afed410ee52ebca.jpg","text":"TemporaryFile(/tmp/multipartBody5241523806409387628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957042576,"filename":"image_17122025_08_36_05_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58dbadf61f296571433437d6a60a80f7.jpg","text":"TemporaryFile(/tmp/multipartBody5494955008977191225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957042576,"filename":"image_17122025_08_36_45_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758290","file1":"1399758288","file0":"1399758285","file4":"1399758294","file5":"1399758297","file3":"1399758292"},"map_files_photo_id_array":[{"photo_id":"1399758297","filename":"file5"},{"photo_id":"1399758290","filename":"file2"},{"photo_id":"1399758294","filename":"file4"},{"photo_id":"1399758288","filename":"file1"},{"photo_id":"1399758285","filename":"file0"},{"photo_id":"1399758292","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758290":["hashtag1","hashtag2"]},{"1399758292":["hashtag1","hashtag2"]},{"1399758285":["hashtag1","hashtag2"]},{"1399758294":["hashtag1","hashtag2"]},{"1399758288":["hashtag1","hashtag2"]},{"1399758297":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758290, 1399758292, 1399758285, 1399758294, 1399758288, 1399758297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80228543281555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:37:02.697266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:37:12.129718
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:37:22.132045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_54_9799.jpg', '/home/pi/Desktop/images/17122025/08/36/image_17122025_08_37_04_9784.jpg', '/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_15_10656.jpg', '/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_25_9721.jpg', '/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_34_9627.jpg', '/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_45_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/36/image_17122025_08_36_54_9799.jpg
/home/pi/Desktop/images/17122025/08/36/image_17122025_08_37_04_9784.jpg
/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_15_10656.jpg
/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_25_9721.jpg
/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_34_9627.jpg
/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_45_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":["1399758312","1399758315","1399758309","1399758320","1399758317","1399758307"],"photo_ids_order":["1399758307","1399758309","1399758312","1399758315","1399758317","1399758320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18bdcd3d3809e93cf32ee837c6e189f7.jpg","text":"TemporaryFile(/tmp/multipartBody8695461480578822734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957102741,"filename":"image_17122025_08_37_15_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90b064878ecd8474ec658b81f2a83104.jpg","text":"TemporaryFile(/tmp/multipartBody7592688781998942023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957102741,"filename":"image_17122025_08_37_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/313f5e15d06fd3127c63dbe3e1ddb24d.jpg","text":"TemporaryFile(/tmp/multipartBody4054095343416445924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957102741,"filename":"image_17122025_08_37_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3e0d45be63c8b5e66212cd4c51d3dba.jpg","text":"TemporaryFile(/tmp/multipartBody821172253578913693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957102741,"filename":"image_17122025_08_37_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ed707c4dedfca03c3d002281224eb93.jpg","text":"TemporaryFile(/tmp/multipartBody1120057842852665541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957102741,"filename":"image_17122025_08_37_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93d6bd0e5f206ab7dba0cff99325cb9a.jpg","text":"TemporaryFile(/tmp/multipartBody8486536574097767661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957102741,"filename":"image_17122025_08_36_54_9799.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758312","file1":"1399758309","file0":"1399758307","file4":"1399758317","file5":"1399758320","file3":"1399758315"},"map_files_photo_id_array":[{"photo_id":"1399758320","filename":"file5"},{"photo_id":"1399758312","filename":"file2"},{"photo_id":"1399758317","filename":"file4"},{"photo_id":"1399758309","filename":"file1"},{"photo_id":"1399758307","filename":"file0"},{"photo_id":"1399758315","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758312":["hashtag1","hashtag2"]},{"1399758315":["hashtag1","hashtag2"]},{"1399758309":["hashtag1","hashtag2"]},{"1399758320":["hashtag1","hashtag2"]},{"1399758317":["hashtag1","hashtag2"]},{"1399758307":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758312, 1399758315, 1399758309, 1399758320, 1399758317, 1399758307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7427761554718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:38:02.792952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:38:12.337353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:38:22.402854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_55_9768.jpg', '/home/pi/Desktop/images/17122025/08/37/image_17122025_08_38_04_9589.jpg', '/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_15_10672.jpg', '/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_25_9879.jpg', '/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_34_9606.jpg', '/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_45_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_55_9768.jpg
/home/pi/Desktop/images/17122025/08/37/image_17122025_08_38_04_9589.jpg
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_15_10672.jpg
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_25_9879.jpg
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_34_9606.jpg
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_45_10585.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5047850608825684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:38:32.443662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:38:42.375889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/00/image_07112025_18_00_41_30169.jpg', '/home/pi/Desktop/images/07112025/18/00/image_07112025_18_00_44_1945.jpg', '/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_04_19890.jpg', '/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_06_1685.jpg', '/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_09_1586.jpg', '/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_11_1635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/00/image_07112025_18_00_41_30169.jpg
/home/pi/Desktop/images/07112025/18/00/image_07112025_18_00_44_1945.jpg
/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_04_19890.jpg
/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_06_1685.jpg
/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_09_1586.jpg
/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_11_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":["1399758395","1399758398","1399758401","1399758367","1399758390","1399758369"],"photo_ids_order":["1399758367","1399758369","1399758390","1399758395","1399758398","1399758401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5112543ee39ac9a76fb8978304aa0ca.jpg","text":"TemporaryFile(/tmp/multipartBody4931413280037077595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957183087,"filename":"image_07112025_18_01_06_1685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56f918f04ddcd7adf784bb93a506e7bf.jpg","text":"TemporaryFile(/tmp/multipartBody1567196803720139897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957183087,"filename":"image_07112025_18_01_09_1586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05f1ee7fd6592651dbac9c6843a777a6.jpg","text":"TemporaryFile(/tmp/multipartBody8748926909225621355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957183087,"filename":"image_07112025_18_01_11_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/030d3b5f1ffa66666d0b5314b5ed822e.jpg","text":"TemporaryFile(/tmp/multipartBody2826446886754016167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957183087,"filename":"image_07112025_18_00_41_30169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f669e7415b4961047856d7daa7e05fe.jpg","text":"TemporaryFile(/tmp/multipartBody3850659881340341833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957183087,"filename":"image_07112025_18_01_04_19890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6651d2612cc6c276a70359ce52cf6b8f.jpg","text":"TemporaryFile(/tmp/multipartBody8971461605638336276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957183087,"filename":"image_07112025_18_00_44_1945.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758390","file1":"1399758369","file0":"1399758367","file4":"1399758398","file5":"1399758401","file3":"1399758395"},"map_files_photo_id_array":[{"photo_id":"1399758401","filename":"file5"},{"photo_id":"1399758390","filename":"file2"},{"photo_id":"1399758398","filename":"file4"},{"photo_id":"1399758369","filename":"file1"},{"photo_id":"1399758367","filename":"file0"},{"photo_id":"1399758395","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399758395":["hashtag1","hashtag2"]},{"1399758398":["hashtag1","hashtag2"]},{"1399758401":["hashtag1","hashtag2"]},{"1399758367":["hashtag1","hashtag2"]},{"1399758390":["hashtag1","hashtag2"]},{"1399758369":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399758395, 1399758398, 1399758401, 1399758367, 1399758390, 1399758369)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.782965421676636 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:39:22.564401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_55_9768.jpg', '/home/pi/Desktop/images/17122025/08/37/image_17122025_08_38_04_9589.jpg', '/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_15_10672.jpg', '/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_25_9879.jpg', '/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_34_9606.jpg', '/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_45_10585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/37/image_17122025_08_37_55_9768.jpg
/home/pi/Desktop/images/17122025/08/37/image_17122025_08_38_04_9589.jpg
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_15_10672.jpg
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_25_9879.jpg
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_34_9606.jpg
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_45_10585.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399758423","1399758414","1399758408","1399758419","1399758410","1399758427"],"photo_ids_order":["1399758408","1399758410","1399758414","1399758419","1399758423","1399758427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/816e0f79e245b9abf7204723fdb9f599.jpg","text":"TemporaryFile(/tmp/multipartBody70003711328879691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957223197,"filename":"image_17122025_08_38_34_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1d07f7b6c70e66e4a3102e93bf648a4.jpg","text":"TemporaryFile(/tmp/multipartBody7412916494277446211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957223197,"filename":"image_17122025_08_38_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc6eed1f1d663d2b9450c7c7804cc495.jpg","text":"TemporaryFile(/tmp/multipartBody7858701767270900760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957223197,"filename":"image_17122025_08_37_55_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47249c35275bb84fdc2c8ba2a8245cc4.jpg","text":"TemporaryFile(/tmp/multipartBody7841419146358614748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957223197,"filename":"image_17122025_08_38_25_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e8ebfad6015aab2a2b0606cb0e5e58e.jpg","text":"TemporaryFile(/tmp/multipartBody8422861886744103124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957223197,"filename":"image_17122025_08_38_04_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0c0de0faca4f1cf2e593a0acbc39323.jpg","text":"TemporaryFile(/tmp/multipartBody6823350699015131928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957223197,"filename":"image_17122025_08_38_45_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758414","file1":"1399758410","file0":"1399758408","file4":"1399758423","file5":"1399758427","file3":"1399758419"},"map_files_photo_id_array":[{"photo_id":"1399758427","filename":"file5"},{"photo_id":"1399758414","filename":"file2"},{"photo_id":"1399758423","filename":"file4"},{"photo_id":"1399758410","filename":"file1"},{"photo_id":"1399758408","filename":"file0"},{"photo_id":"1399758419","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758423":["hashtag1","hashtag2"]},{"1399758414":["hashtag1","hashtag2"]},{"1399758408":["hashtag1","hashtag2"]},{"1399758419":["hashtag1","hashtag2"]},{"1399758410":["hashtag1","hashtag2"]},{"1399758427":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758423, 1399758414, 1399758408, 1399758419, 1399758410, 1399758427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.087507009506226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:40:02.379220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_55_9727.jpg', '/home/pi/Desktop/images/17122025/08/38/image_17122025_08_39_04_9732.jpg', '/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_15_10623.jpg', '/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_25_9576.jpg', '/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_34_9648.jpg', '/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_38_55_9727.jpg
/home/pi/Desktop/images/17122025/08/38/image_17122025_08_39_04_9732.jpg
/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_15_10623.jpg
/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_25_9576.jpg
/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_34_9648.jpg
/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_45_10642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399758441","1399758450","1399758434","1399758442","1399758445","1399758447"],"photo_ids_order":["1399758434","1399758441","1399758442","1399758445","1399758447","1399758450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/effd4a652fc0885c88316b9c1f7b4548.jpg","text":"TemporaryFile(/tmp/multipartBody81447888397352738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957263034,"filename":"image_17122025_08_39_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49ef71890eac417a51ef413afa9df03e.jpg","text":"TemporaryFile(/tmp/multipartBody3171548610154522992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957263034,"filename":"image_17122025_08_39_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/921015f246721a7aca4ff30def07fb6a.jpg","text":"TemporaryFile(/tmp/multipartBody6945690581194948680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957263034,"filename":"image_17122025_08_38_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1eb37620a391f9e74c2b4292093afe31.jpg","text":"TemporaryFile(/tmp/multipartBody4290777928389916292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957263034,"filename":"image_17122025_08_39_15_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a64eb689886012712c2704f06606569.jpg","text":"TemporaryFile(/tmp/multipartBody304604758658564879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957263034,"filename":"image_17122025_08_39_25_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1bf0f80f50429d0f69dce86c1590e7f.jpg","text":"TemporaryFile(/tmp/multipartBody1110912658002932772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957263034,"filename":"image_17122025_08_39_34_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758442","file1":"1399758441","file0":"1399758434","file4":"1399758447","file5":"1399758450","file3":"1399758445"},"map_files_photo_id_array":[{"photo_id":"1399758450","filename":"file5"},{"photo_id":"1399758442","filename":"file2"},{"photo_id":"1399758447","filename":"file4"},{"photo_id":"1399758441","filename":"file1"},{"photo_id":"1399758434","filename":"file0"},{"photo_id":"1399758445","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758441":["hashtag1","hashtag2"]},{"1399758450":["hashtag1","hashtag2"]},{"1399758434":["hashtag1","hashtag2"]},{"1399758442":["hashtag1","hashtag2"]},{"1399758445":["hashtag1","hashtag2"]},{"1399758447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758441, 1399758450, 1399758434, 1399758442, 1399758445, 1399758447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.240469455718994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:40:41.858486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_12_1720.jpg', '/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_14_1660.jpg', '/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_17_1502.jpg', '/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_19_1638.jpg', '/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_31_1528.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_06_3072.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_12_1720.jpg
/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_14_1660.jpg
/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_17_1502.jpg
/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_19_1638.jpg
/home/pi/Desktop/images/07112025/18/01/image_07112025_18_01_31_1528.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_06_3072.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399758462","1399758464","1399758463","1399758457","1399758465","1399758459"],"photo_ids_order":["1399758457","1399758459","1399758462","1399758463","1399758464","1399758465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/991215e269a73243fd34d4a752931370.jpg","text":"TemporaryFile(/tmp/multipartBody1583922395549859740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957302545,"filename":"image_07112025_18_01_17_1502.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c18a25cd8beaf16c505334c6d34d4298.jpg","text":"TemporaryFile(/tmp/multipartBody6127442714546054671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957302545,"filename":"image_07112025_18_01_31_1528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bd11e10934ca71b16a3dfb64fd95f49.jpg","text":"TemporaryFile(/tmp/multipartBody4865861021180739997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957302545,"filename":"image_07112025_18_01_19_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/887177e5baa2ff3e7bdabde937b0abed.jpg","text":"TemporaryFile(/tmp/multipartBody6609451738545457093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957302545,"filename":"image_07112025_18_01_12_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a01e42b44440372715176ff55c557e7.jpg","text":"TemporaryFile(/tmp/multipartBody6784137240782981759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957302545,"filename":"image_07112025_18_06_06_3072.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be430a6d8ae14598314391da00328b22.jpg","text":"TemporaryFile(/tmp/multipartBody1573918124478854024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957302545,"filename":"image_07112025_18_01_14_1660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758462","file1":"1399758459","file0":"1399758457","file4":"1399758464","file5":"1399758465","file3":"1399758463"},"map_files_photo_id_array":[{"photo_id":"1399758465","filename":"file5"},{"photo_id":"1399758462","filename":"file2"},{"photo_id":"1399758464","filename":"file4"},{"photo_id":"1399758459","filename":"file1"},{"photo_id":"1399758457","filename":"file0"},{"photo_id":"1399758463","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399758462":["hashtag1","hashtag2"]},{"1399758464":["hashtag1","hashtag2"]},{"1399758463":["hashtag1","hashtag2"]},{"1399758457":["hashtag1","hashtag2"]},{"1399758465":["hashtag1","hashtag2"]},{"1399758459":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399758462, 1399758464, 1399758463, 1399758457, 1399758465, 1399758459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.941341161727905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:41:22.127019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_55_9950.jpg', '/home/pi/Desktop/images/17122025/08/39/image_17122025_08_40_04_9569.jpg', '/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_14_9671.jpg', '/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_25_10712.jpg', '/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_34_9556.jpg', '/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_45_10580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/39/image_17122025_08_39_55_9950.jpg
/home/pi/Desktop/images/17122025/08/39/image_17122025_08_40_04_9569.jpg
/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_14_9671.jpg
/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_25_10712.jpg
/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_34_9556.jpg
/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_45_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":["1399758476","1399758472","1399758478","1399758483","1399758480","1399758474"],"photo_ids_order":["1399758472","1399758474","1399758476","1399758478","1399758480","1399758483"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/667a34adacf2bd26798723a728611f45.jpg","text":"TemporaryFile(/tmp/multipartBody3368177234931153768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957342708,"filename":"image_17122025_08_40_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca053084e4ac2547390b7480e178dc5a.jpg","text":"TemporaryFile(/tmp/multipartBody6731690400118703713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957342708,"filename":"image_17122025_08_39_55_9950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3095625809380472462861c0b297580e.jpg","text":"TemporaryFile(/tmp/multipartBody5902199744372568706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957342708,"filename":"image_17122025_08_40_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4eaad1fbce7bb3230b0bc8577a85c780.jpg","text":"TemporaryFile(/tmp/multipartBody44720419207573047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957342708,"filename":"image_17122025_08_40_45_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/981ce5396e9be0d60d984b65cf672ade.jpg","text":"TemporaryFile(/tmp/multipartBody7242080447516556692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957342708,"filename":"image_17122025_08_40_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a669702cbd34450e5f68481791b5f3f7.jpg","text":"TemporaryFile(/tmp/multipartBody3023493082792643393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957342708,"filename":"image_17122025_08_40_04_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758476","file1":"1399758474","file0":"1399758472","file4":"1399758480","file5":"1399758483","file3":"1399758478"},"map_files_photo_id_array":[{"photo_id":"1399758483","filename":"file5"},{"photo_id":"1399758476","filename":"file2"},{"photo_id":"1399758480","filename":"file4"},{"photo_id":"1399758474","filename":"file1"},{"photo_id":"1399758472","filename":"file0"},{"photo_id":"1399758478","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758476":["hashtag1","hashtag2"]},{"1399758472":["hashtag1","hashtag2"]},{"1399758478":["hashtag1","hashtag2"]},{"1399758483":["hashtag1","hashtag2"]},{"1399758480":["hashtag1","hashtag2"]},{"1399758474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758476, 1399758472, 1399758478, 1399758483, 1399758480, 1399758474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.505494356155396 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:42:02.821679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 08:42:12.278078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:42:34.865824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_55_9902.jpg', '/home/pi/Desktop/images/17122025/08/40/image_17122025_08_41_04_9675.jpg', '/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_14_9729.jpg', '/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_25_10522.jpg', '/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_34_9623.jpg', '/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_45_10596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/40/image_17122025_08_40_55_9902.jpg
/home/pi/Desktop/images/17122025/08/40/image_17122025_08_41_04_9675.jpg
/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_14_9729.jpg
/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_25_10522.jpg
/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_34_9623.jpg
/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_45_10596.jpg
2025-12-17 08:42:34.865824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399758522","1399758519","1399758518","1399758503","1399758505","1399758508"],"photo_ids_order":["1399758503","1399758505","1399758508","1399758518","1399758519","1399758522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a0392433a904fbf63595037261f30c9.jpg","text":"TemporaryFile(/tmp/multipartBody4319213952466857534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957415483,"filename":"image_17122025_08_41_45_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e49e4ccad1aa1fa613b028dc514a56a7.jpg","text":"TemporaryFile(/tmp/multipartBody5756653577800354711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957415483,"filename":"image_17122025_08_41_34_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a16a300c5fadd1f7716503eaf5b42e1.jpg","text":"TemporaryFile(/tmp/multipartBody4334699205884844353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957415483,"filename":"image_17122025_08_41_25_10522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f96d78b7e30f576e7968abfc06df6a7.jpg","text":"TemporaryFile(/tmp/multipartBody5348927164460020195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957415483,"filename":"image_17122025_08_40_55_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/853d08558b298cd793b9c3a0b1d0a31e.jpg","text":"TemporaryFile(/tmp/multipartBody7100386710902282327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957415483,"filename":"image_17122025_08_41_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a9c5aee2050ed6ddd45124cae6b435e.jpg","text":"TemporaryFile(/tmp/multipartBody1764265289463003065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957415483,"filename":"image_17122025_08_41_14_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758508","file1":"1399758505","file0":"1399758503","file4":"1399758519","file5":"1399758522","file3":"1399758518"},"map_files_photo_id_array":[{"photo_id":"1399758522","filename":"file5"},{"photo_id":"1399758508","filename":"file2"},{"photo_id":"1399758519","filename":"file4"},{"photo_id":"1399758505","filename":"file1"},{"photo_id":"1399758503","filename":"file0"},{"photo_id":"1399758518","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758522":["hashtag1","hashtag2"]},{"1399758519":["hashtag1","hashtag2"]},{"1399758518":["hashtag1","hashtag2"]},{"1399758503":["hashtag1","hashtag2"]},{"1399758505":["hashtag1","hashtag2"]},{"1399758508":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758522, 1399758519, 1399758518, 1399758503, 1399758505, 1399758508)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 37.92064380645752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:43:22.426171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_55_9640.jpg', '/home/pi/Desktop/images/17122025/08/41/image_17122025_08_42_04_9805.jpg', '/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_14_9686.jpg', '/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_25_10560.jpg', '/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_34_9813.jpg', '/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_44_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/41/image_17122025_08_41_55_9640.jpg
/home/pi/Desktop/images/17122025/08/41/image_17122025_08_42_04_9805.jpg
/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_14_9686.jpg
/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_25_10560.jpg
/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_34_9813.jpg
/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_44_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399758561","1399758554","1399758556","1399758550","1399758558","1399758552"],"photo_ids_order":["1399758550","1399758552","1399758554","1399758556","1399758558","1399758561"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41a0f45001a89b8a8aa685b4728f5f6a.jpg","text":"TemporaryFile(/tmp/multipartBody7042940496364385608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957462981,"filename":"image_17122025_08_42_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee1eb8c7ba14da700df75efeeb52b42a.jpg","text":"TemporaryFile(/tmp/multipartBody35549391597894709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957462981,"filename":"image_17122025_08_42_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4afe1ab04485c253a3ff12d3c2cdd78a.jpg","text":"TemporaryFile(/tmp/multipartBody3911183954392218513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957462981,"filename":"image_17122025_08_42_25_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd36ba3c6a3198ad9eb35708872a0182.jpg","text":"TemporaryFile(/tmp/multipartBody124726948522474014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957462981,"filename":"image_17122025_08_41_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/161b96560e564be20be4a2bbb310a590.jpg","text":"TemporaryFile(/tmp/multipartBody4674775442792097955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957462981,"filename":"image_17122025_08_42_34_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dadbb4b99dc1d5a09d2243acb9d315c.jpg","text":"TemporaryFile(/tmp/multipartBody1855913829080106717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957462981,"filename":"image_17122025_08_42_04_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758554","file1":"1399758552","file0":"1399758550","file4":"1399758558","file5":"1399758561","file3":"1399758556"},"map_files_photo_id_array":[{"photo_id":"1399758561","filename":"file5"},{"photo_id":"1399758554","filename":"file2"},{"photo_id":"1399758558","filename":"file4"},{"photo_id":"1399758552","filename":"file1"},{"photo_id":"1399758550","filename":"file0"},{"photo_id":"1399758556","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758561":["hashtag1","hashtag2"]},{"1399758554":["hashtag1","hashtag2"]},{"1399758556":["hashtag1","hashtag2"]},{"1399758550":["hashtag1","hashtag2"]},{"1399758558":["hashtag1","hashtag2"]},{"1399758552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758561, 1399758554, 1399758556, 1399758550, 1399758558, 1399758552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62925863265991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:44:03.462255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 08:44:12.808371
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:44:22.917056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_55_10557.jpg', '/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_04_9399.jpg', '/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_15_10593.jpg', '/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_24_9669.jpg', '/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_35_10355.jpg', '/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_45_9879.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/42/image_17122025_08_42_55_10557.jpg
/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_04_9399.jpg
/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_15_10593.jpg
/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_24_9669.jpg
/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_35_10355.jpg
/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_45_9879.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399758633","1399758674","1399758713","1399758772","1399758795","1399758756"],"photo_ids_order":["1399758633","1399758674","1399758713","1399758756","1399758772","1399758795"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/534a5f9069ee9f3e8097f21e2e20d968.jpg","text":"TemporaryFile(/tmp/multipartBody4133462391054161171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957523447,"filename":"image_17122025_08_42_55_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a01996088acb0a57eae3b25a829eba1f.jpg","text":"TemporaryFile(/tmp/multipartBody7244738849930719571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957523447,"filename":"image_17122025_08_43_04_9399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8f0a39559f202d547667f202d09af47.jpg","text":"TemporaryFile(/tmp/multipartBody4817162675699604910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957523447,"filename":"image_17122025_08_43_15_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86675de0519116101f2148bcaccf73e8.jpg","text":"TemporaryFile(/tmp/multipartBody8183818833347116573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957523447,"filename":"image_17122025_08_43_35_10355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50d340b6a4970fc984b721d6ff1a41e7.jpg","text":"TemporaryFile(/tmp/multipartBody7653771406012267809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957523447,"filename":"image_17122025_08_43_45_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/032f24107ffca33e26f5374c7e494137.jpg","text":"TemporaryFile(/tmp/multipartBody4419834950420704673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957523447,"filename":"image_17122025_08_43_24_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758713","file1":"1399758674","file0":"1399758633","file4":"1399758772","file5":"1399758795","file3":"1399758756"},"map_files_photo_id_array":[{"photo_id":"1399758795","filename":"file5"},{"photo_id":"1399758713","filename":"file2"},{"photo_id":"1399758772","filename":"file4"},{"photo_id":"1399758674","filename":"file1"},{"photo_id":"1399758633","filename":"file0"},{"photo_id":"1399758756","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758633":["hashtag1","hashtag2"]},{"1399758674":["hashtag1","hashtag2"]},{"1399758713":["hashtag1","hashtag2"]},{"1399758772":["hashtag1","hashtag2"]},{"1399758795":["hashtag1","hashtag2"]},{"1399758756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758633, 1399758674, 1399758713, 1399758772, 1399758795, 1399758756)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.65268397331238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:45:12.022794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:45:22.015028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_54_9683.jpg', '/home/pi/Desktop/images/17122025/08/43/image_17122025_08_44_05_10602.jpg', '/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_15_9759.jpg', '/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_25_9842.jpg', '/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_35_10075.jpg', '/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_44_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/43/image_17122025_08_43_54_9683.jpg
/home/pi/Desktop/images/17122025/08/43/image_17122025_08_44_05_10602.jpg
/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_15_9759.jpg
/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_25_9842.jpg
/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_35_10075.jpg
/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_44_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":["1399758948","1399758944","1399758938","1399758940","1399758942","1399758936"],"photo_ids_order":["1399758936","1399758938","1399758940","1399758942","1399758944","1399758948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/324db6a7a99a862852b10f890f7475a7.jpg","text":"TemporaryFile(/tmp/multipartBody5871640717955190356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957582589,"filename":"image_17122025_08_44_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd64833bab09d6f73eb633ddca3a920b.jpg","text":"TemporaryFile(/tmp/multipartBody484008471754393751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957582589,"filename":"image_17122025_08_44_35_10075.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c8fcd6eedfd1071bf723d8e95ee489a.jpg","text":"TemporaryFile(/tmp/multipartBody2199753996002112012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957582589,"filename":"image_17122025_08_44_05_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f8ae79bd302e6e6cd408aed276dfbb1.jpg","text":"TemporaryFile(/tmp/multipartBody3495147131932506411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957582589,"filename":"image_17122025_08_44_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f15942a19dfc534df005290198f1b63e.jpg","text":"TemporaryFile(/tmp/multipartBody3272895318630921907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957582589,"filename":"image_17122025_08_44_25_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ed8cfd153c436350ffd16204d727cb1.jpg","text":"TemporaryFile(/tmp/multipartBody4032272163878981868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957582589,"filename":"image_17122025_08_43_54_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399758940","file1":"1399758938","file0":"1399758936","file4":"1399758944","file5":"1399758948","file3":"1399758942"},"map_files_photo_id_array":[{"photo_id":"1399758948","filename":"file5"},{"photo_id":"1399758940","filename":"file2"},{"photo_id":"1399758944","filename":"file4"},{"photo_id":"1399758938","filename":"file1"},{"photo_id":"1399758936","filename":"file0"},{"photo_id":"1399758942","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399758948":["hashtag1","hashtag2"]},{"1399758944":["hashtag1","hashtag2"]},{"1399758938":["hashtag1","hashtag2"]},{"1399758940":["hashtag1","hashtag2"]},{"1399758942":["hashtag1","hashtag2"]},{"1399758936":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399758948, 1399758944, 1399758938, 1399758940, 1399758942, 1399758936)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36853313446045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:46:02.861048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:46:12.308928
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:46:22.332795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_54_9842.jpg', '/home/pi/Desktop/images/17122025/08/44/image_17122025_08_45_05_10800.jpg', '/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_15_9648.jpg', '/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_24_9589.jpg', '/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_35_10683.jpg', '/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_45_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_54_9842.jpg
/home/pi/Desktop/images/17122025/08/44/image_17122025_08_45_05_10800.jpg
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_15_9648.jpg
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_24_9589.jpg
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_35_10683.jpg
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_45_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.46930599212646484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:46:32.356511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:46:42.305188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_10_3669.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_16_3553.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_19_2765.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_22_2817.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_25_2729.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_28_3674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_10_3669.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_16_3553.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_19_2765.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_22_2817.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_25_2729.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_28_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":["1399759058","1399759160","1399759127","1399759093","1399759042","1399759051"],"photo_ids_order":["1399759042","1399759051","1399759058","1399759093","1399759127","1399759160"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26259ee982741b86dea7c6f9e134e4a0.jpg","text":"TemporaryFile(/tmp/multipartBody2545041909938563608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957663058,"filename":"image_07112025_18_06_19_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4da23c2d15147e0dd7dfc32725e81a8.jpg","text":"TemporaryFile(/tmp/multipartBody3887439854086571229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957663058,"filename":"image_07112025_18_06_28_3674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b36e496060b82f81622f544fa4305f69.jpg","text":"TemporaryFile(/tmp/multipartBody2258674109720894204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957663058,"filename":"image_07112025_18_06_25_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7adb9097c98a866e78c72379fe65690.jpg","text":"TemporaryFile(/tmp/multipartBody4981734107701540967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957663058,"filename":"image_07112025_18_06_22_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08a43a87b9f424972ef001af2f21703a.jpg","text":"TemporaryFile(/tmp/multipartBody6507888744100171952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957663058,"filename":"image_07112025_18_06_10_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d4e72850cf6a05912cd8b7bf56fcca4.jpg","text":"TemporaryFile(/tmp/multipartBody4335202011497823436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957663058,"filename":"image_07112025_18_06_16_3553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759058","file1":"1399759051","file0":"1399759042","file4":"1399759127","file5":"1399759160","file3":"1399759093"},"map_files_photo_id_array":[{"photo_id":"1399759160","filename":"file5"},{"photo_id":"1399759058","filename":"file2"},{"photo_id":"1399759127","filename":"file4"},{"photo_id":"1399759051","filename":"file1"},{"photo_id":"1399759042","filename":"file0"},{"photo_id":"1399759093","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399759058":["hashtag1","hashtag2"]},{"1399759160":["hashtag1","hashtag2"]},{"1399759127":["hashtag1","hashtag2"]},{"1399759093":["hashtag1","hashtag2"]},{"1399759042":["hashtag1","hashtag2"]},{"1399759051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399759058, 1399759160, 1399759127, 1399759093, 1399759042, 1399759051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98328971862793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:47:22.549826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_54_9842.jpg', '/home/pi/Desktop/images/17122025/08/44/image_17122025_08_45_05_10800.jpg', '/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_15_9648.jpg', '/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_24_9589.jpg', '/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_35_10683.jpg', '/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_45_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/44/image_17122025_08_44_54_9842.jpg
/home/pi/Desktop/images/17122025/08/44/image_17122025_08_45_05_10800.jpg
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_15_9648.jpg
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_24_9589.jpg
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_35_10683.jpg
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_45_9754.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399759334","1399759297","1399759372","1399759363","1399759357","1399759365"],"photo_ids_order":["1399759297","1399759334","1399759357","1399759363","1399759365","1399759372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a33133678e6d6f9d90334ab6b267cf9b.jpg","text":"TemporaryFile(/tmp/multipartBody3090675347994402368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957703118,"filename":"image_17122025_08_45_05_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e715868a076dc01f02727c37272ce34b.jpg","text":"TemporaryFile(/tmp/multipartBody929821857099921805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957703118,"filename":"image_17122025_08_44_54_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7913fe6f06235779f9cfab9f879167c6.jpg","text":"TemporaryFile(/tmp/multipartBody7954162857968165086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957703118,"filename":"image_17122025_08_45_45_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c7b3d0676f7e3bcc24b4f04e65e925a.jpg","text":"TemporaryFile(/tmp/multipartBody3458158215225469844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957703118,"filename":"image_17122025_08_45_24_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7580a2e40cce96d053b9d164885fbe29.jpg","text":"TemporaryFile(/tmp/multipartBody5911914011523003745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957703118,"filename":"image_17122025_08_45_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d122f65b4d8b5189dad887c4b6579e7.jpg","text":"TemporaryFile(/tmp/multipartBody9046639062354974577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957703118,"filename":"image_17122025_08_45_35_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759357","file1":"1399759334","file0":"1399759297","file4":"1399759365","file5":"1399759372","file3":"1399759363"},"map_files_photo_id_array":[{"photo_id":"1399759372","filename":"file5"},{"photo_id":"1399759357","filename":"file2"},{"photo_id":"1399759365","filename":"file4"},{"photo_id":"1399759334","filename":"file1"},{"photo_id":"1399759297","filename":"file0"},{"photo_id":"1399759363","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759334":["hashtag1","hashtag2"]},{"1399759297":["hashtag1","hashtag2"]},{"1399759372":["hashtag1","hashtag2"]},{"1399759363":["hashtag1","hashtag2"]},{"1399759357":["hashtag1","hashtag2"]},{"1399759365":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759334, 1399759297, 1399759372, 1399759363, 1399759357, 1399759365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45804286003113 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:48:03.325948
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_54_9772.jpg', '/home/pi/Desktop/images/17122025/08/45/image_17122025_08_46_04_9768.jpg', '/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_14_9857.jpg', '/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_25_10705.jpg', '/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_34_9735.jpg', '/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_44_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_45_54_9772.jpg
/home/pi/Desktop/images/17122025/08/45/image_17122025_08_46_04_9768.jpg
/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_14_9857.jpg
/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_25_10705.jpg
/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_34_9735.jpg
/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_44_9590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399759373","1399759382","1399759379","1399759375","1399759380","1399759377"],"photo_ids_order":["1399759373","1399759375","1399759377","1399759379","1399759380","1399759382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aca6bb035526bc8e2bf410c70d41e5a3.jpg","text":"TemporaryFile(/tmp/multipartBody6804907363368244450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957743914,"filename":"image_17122025_08_45_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ab449025e48836891b3fe22b55fda9e.jpg","text":"TemporaryFile(/tmp/multipartBody5479570333301402055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957743914,"filename":"image_17122025_08_46_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7033f204065ba9257dd4d8bce456d8cd.jpg","text":"TemporaryFile(/tmp/multipartBody6331654590722573689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957743914,"filename":"image_17122025_08_46_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46e703333035bcee4d3668fe78d0d28d.jpg","text":"TemporaryFile(/tmp/multipartBody4752474630327080493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957743914,"filename":"image_17122025_08_46_04_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e826b47a6fb7109a84d2b9ef493bade3.jpg","text":"TemporaryFile(/tmp/multipartBody4946044241115220693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957743914,"filename":"image_17122025_08_46_34_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2647e3e68e15203d24623ed40672ad2.jpg","text":"TemporaryFile(/tmp/multipartBody744074938322948718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957743914,"filename":"image_17122025_08_46_14_9857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759377","file1":"1399759375","file0":"1399759373","file4":"1399759380","file5":"1399759382","file3":"1399759379"},"map_files_photo_id_array":[{"photo_id":"1399759382","filename":"file5"},{"photo_id":"1399759377","filename":"file2"},{"photo_id":"1399759380","filename":"file4"},{"photo_id":"1399759375","filename":"file1"},{"photo_id":"1399759373","filename":"file0"},{"photo_id":"1399759379","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759373":["hashtag1","hashtag2"]},{"1399759382":["hashtag1","hashtag2"]},{"1399759379":["hashtag1","hashtag2"]},{"1399759375":["hashtag1","hashtag2"]},{"1399759380":["hashtag1","hashtag2"]},{"1399759377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759373, 1399759382, 1399759379, 1399759375, 1399759380, 1399759377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00449061393738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:48:42.782330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_31_2571.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_34_2682.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_37_3678.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_45_1662.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_47_2098.jpg', '/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_49_1691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_31_2571.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_34_2682.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_37_3678.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_45_1662.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_47_2098.jpg
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_49_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":["1399759421","1399759409","1399759400","1399759399","1399759389","1399759398"],"photo_ids_order":["1399759389","1399759398","1399759399","1399759400","1399759409","1399759421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a347a0d819e769634dcdb1af5a11ede4.jpg","text":"TemporaryFile(/tmp/multipartBody167452217688161586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957783517,"filename":"image_07112025_18_06_49_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f31f6b724d3b54a7ca0178ddc5c9ecbc.jpg","text":"TemporaryFile(/tmp/multipartBody8752087174400077417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957783517,"filename":"image_07112025_18_06_47_2098.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34473393ed264a484bf6e0a6ca98fa0a.jpg","text":"TemporaryFile(/tmp/multipartBody3061399255119468580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957783517,"filename":"image_07112025_18_06_45_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdd227a20bbeafed986956db030b9e97.jpg","text":"TemporaryFile(/tmp/multipartBody7544056704114608409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957783517,"filename":"image_07112025_18_06_37_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/214fe7203e02c8cf7c4916a005b186d8.jpg","text":"TemporaryFile(/tmp/multipartBody575887506201203748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957783517,"filename":"image_07112025_18_06_31_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9fa1b5b687adeaf888bf12334b2a573.jpg","text":"TemporaryFile(/tmp/multipartBody8165562921442014513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957783517,"filename":"image_07112025_18_06_34_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759399","file1":"1399759398","file0":"1399759389","file4":"1399759409","file5":"1399759421","file3":"1399759400"},"map_files_photo_id_array":[{"photo_id":"1399759421","filename":"file5"},{"photo_id":"1399759399","filename":"file2"},{"photo_id":"1399759409","filename":"file4"},{"photo_id":"1399759398","filename":"file1"},{"photo_id":"1399759389","filename":"file0"},{"photo_id":"1399759400","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399759421":["hashtag1","hashtag2"]},{"1399759409":["hashtag1","hashtag2"]},{"1399759400":["hashtag1","hashtag2"]},{"1399759399":["hashtag1","hashtag2"]},{"1399759389":["hashtag1","hashtag2"]},{"1399759398":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399759421, 1399759409, 1399759400, 1399759399, 1399759389, 1399759398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60713195800781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:49:22.085934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_55_10673.jpg', '/home/pi/Desktop/images/17122025/08/46/image_17122025_08_47_04_9715.jpg', '/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_14_9729.jpg', '/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_25_10706.jpg', '/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_35_9659.jpg', '/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_44_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/46/image_17122025_08_46_55_10673.jpg
/home/pi/Desktop/images/17122025/08/46/image_17122025_08_47_04_9715.jpg
/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_14_9729.jpg
/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_25_10706.jpg
/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_35_9659.jpg
/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_44_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399759436","1399759433","1399759429","1399759438","1399759426","1399759431"],"photo_ids_order":["1399759426","1399759429","1399759431","1399759433","1399759436","1399759438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b4cee7fce81ebddf0c1fe4320178cd0.jpg","text":"TemporaryFile(/tmp/multipartBody2249242287321619426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957822653,"filename":"image_17122025_08_47_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3e8385577cffe53581256b8e53243bb.jpg","text":"TemporaryFile(/tmp/multipartBody6471991774389268312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957822653,"filename":"image_17122025_08_47_25_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cc5d52a2853576bf9d220d9bb9ec677.jpg","text":"TemporaryFile(/tmp/multipartBody8326252199227200387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957822653,"filename":"image_17122025_08_47_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89751e7f6a65514ba8d1237e75ddad25.jpg","text":"TemporaryFile(/tmp/multipartBody2501215015453156700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957822653,"filename":"image_17122025_08_47_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d6d95dbf560994c135134bfe361a53b.jpg","text":"TemporaryFile(/tmp/multipartBody4315768668740580769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957822653,"filename":"image_17122025_08_46_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74c57c63ba9642585573b168c0734091.jpg","text":"TemporaryFile(/tmp/multipartBody7469601824667313284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957822653,"filename":"image_17122025_08_47_14_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759431","file1":"1399759429","file0":"1399759426","file4":"1399759436","file5":"1399759438","file3":"1399759433"},"map_files_photo_id_array":[{"photo_id":"1399759438","filename":"file5"},{"photo_id":"1399759431","filename":"file2"},{"photo_id":"1399759436","filename":"file4"},{"photo_id":"1399759429","filename":"file1"},{"photo_id":"1399759426","filename":"file0"},{"photo_id":"1399759433","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759436":["hashtag1","hashtag2"]},{"1399759433":["hashtag1","hashtag2"]},{"1399759429":["hashtag1","hashtag2"]},{"1399759438":["hashtag1","hashtag2"]},{"1399759426":["hashtag1","hashtag2"]},{"1399759431":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759436, 1399759433, 1399759429, 1399759438, 1399759426, 1399759431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.728615283966064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:50:02.756613
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_54_9825.jpg', '/home/pi/Desktop/images/17122025/08/47/image_17122025_08_48_05_10673.jpg', '/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_14_9660.jpg', '/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_24_9679.jpg', '/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_35_10622.jpg', '/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_44_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/47/image_17122025_08_47_54_9825.jpg
/home/pi/Desktop/images/17122025/08/47/image_17122025_08_48_05_10673.jpg
/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_14_9660.jpg
/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_24_9679.jpg
/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_35_10622.jpg
/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_44_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":["1399759442","1399759451","1399759448","1399759444","1399759446","1399759440"],"photo_ids_order":["1399759440","1399759442","1399759444","1399759446","1399759448","1399759451"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e3edbdf21a91309eb402a8c9e330638.jpg","text":"TemporaryFile(/tmp/multipartBody2403151490240835038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957863384,"filename":"image_17122025_08_48_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23a65d853b3847c829f77561056cd8db.jpg","text":"TemporaryFile(/tmp/multipartBody789256093471576081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957863384,"filename":"image_17122025_08_48_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a442391e8b434cc0c1e8dcd88fc8232a.jpg","text":"TemporaryFile(/tmp/multipartBody8119393874244754012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957863384,"filename":"image_17122025_08_48_35_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea7e1d29df50b15841ea3380009acac5.jpg","text":"TemporaryFile(/tmp/multipartBody8639238483066669210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957863384,"filename":"image_17122025_08_48_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a46353cd7087c9516987372a0231ada.jpg","text":"TemporaryFile(/tmp/multipartBody8107343907830817473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957863384,"filename":"image_17122025_08_48_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d0f9b5f7c66e548f459402cc5cc00af.jpg","text":"TemporaryFile(/tmp/multipartBody3506643433609715290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957863384,"filename":"image_17122025_08_47_54_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759444","file1":"1399759442","file0":"1399759440","file4":"1399759448","file5":"1399759451","file3":"1399759446"},"map_files_photo_id_array":[{"photo_id":"1399759451","filename":"file5"},{"photo_id":"1399759444","filename":"file2"},{"photo_id":"1399759448","filename":"file4"},{"photo_id":"1399759442","filename":"file1"},{"photo_id":"1399759440","filename":"file0"},{"photo_id":"1399759446","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759442":["hashtag1","hashtag2"]},{"1399759451":["hashtag1","hashtag2"]},{"1399759448":["hashtag1","hashtag2"]},{"1399759444":["hashtag1","hashtag2"]},{"1399759446":["hashtag1","hashtag2"]},{"1399759440":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759442, 1399759451, 1399759448, 1399759444, 1399759446, 1399759440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.104241132736206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:50:42.293435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_52_2674.jpg', '/home/pi/Desktop/images/07112025/18/08/image_07112025_18_08_07_3016.jpg', '/home/pi/Desktop/images/07112025/18/08/image_07112025_18_08_58_2651.jpg', '/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_04_2708.jpg', '/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_12_8305.jpg', '/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_45_23447.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/06/image_07112025_18_06_52_2674.jpg
/home/pi/Desktop/images/07112025/18/08/image_07112025_18_08_07_3016.jpg
/home/pi/Desktop/images/07112025/18/08/image_07112025_18_08_58_2651.jpg
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_04_2708.jpg
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_12_8305.jpg
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_45_23447.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399759469","1399759466","1399759543","1399759494","1399759461","1399759458"],"photo_ids_order":["1399759458","1399759461","1399759466","1399759469","1399759494","1399759543"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41293ddd9e1375384dbc5d2d56d675fc.jpg","text":"TemporaryFile(/tmp/multipartBody6473753897574493232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957903068,"filename":"image_07112025_18_09_04_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab470d7e1375ffc783ef557e7a2efda6.jpg","text":"TemporaryFile(/tmp/multipartBody4436876269466195480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957903068,"filename":"image_07112025_18_08_58_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/602b4a6826e9ad506ee92aecf12ebac0.jpg","text":"TemporaryFile(/tmp/multipartBody1407805592743811899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957903068,"filename":"image_07112025_18_09_45_23447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30068656e5fa1eb252828ad446428a8b.jpg","text":"TemporaryFile(/tmp/multipartBody1714164091890164446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957903068,"filename":"image_07112025_18_09_12_8305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2735785344af65b55157e6171a3e7851.jpg","text":"TemporaryFile(/tmp/multipartBody8386917117455371070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957903068,"filename":"image_07112025_18_08_07_3016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fec0f7f4774c71cdd5443da6e318bff.jpg","text":"TemporaryFile(/tmp/multipartBody3379239562302750841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957903068,"filename":"image_07112025_18_06_52_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759466","file1":"1399759461","file0":"1399759458","file4":"1399759494","file5":"1399759543","file3":"1399759469"},"map_files_photo_id_array":[{"photo_id":"1399759543","filename":"file5"},{"photo_id":"1399759466","filename":"file2"},{"photo_id":"1399759494","filename":"file4"},{"photo_id":"1399759461","filename":"file1"},{"photo_id":"1399759458","filename":"file0"},{"photo_id":"1399759469","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399759469":["hashtag1","hashtag2"]},{"1399759466":["hashtag1","hashtag2"]},{"1399759543":["hashtag1","hashtag2"]},{"1399759494":["hashtag1","hashtag2"]},{"1399759461":["hashtag1","hashtag2"]},{"1399759458":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399759469, 1399759466, 1399759543, 1399759494, 1399759461, 1399759458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.567511796951294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:51:22.635657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_54_9822.jpg', '/home/pi/Desktop/images/17122025/08/48/image_17122025_08_49_05_10754.jpg', '/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_15_9755.jpg', '/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_24_9661.jpg', '/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_34_9744.jpg', '/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_45_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/48/image_17122025_08_48_54_9822.jpg
/home/pi/Desktop/images/17122025/08/48/image_17122025_08_49_05_10754.jpg
/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_15_9755.jpg
/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_24_9661.jpg
/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_34_9744.jpg
/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_45_10757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399759687","1399759726","1399759807","1399759764","1399759803","1399759812"],"photo_ids_order":["1399759687","1399759726","1399759764","1399759803","1399759807","1399759812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36371cc0d30435b8a1473e85de0801bc.jpg","text":"TemporaryFile(/tmp/multipartBody900672225816731039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957943198,"filename":"image_17122025_08_48_54_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42931b7a7e523d82455e10af0f4286eb.jpg","text":"TemporaryFile(/tmp/multipartBody909901944243858218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957943198,"filename":"image_17122025_08_49_05_10754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c33ad07a2c9dab76095951d0f5493d06.jpg","text":"TemporaryFile(/tmp/multipartBody565764824810463401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957943198,"filename":"image_17122025_08_49_34_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4748fde6b9b5febde30d4294bbcacedb.jpg","text":"TemporaryFile(/tmp/multipartBody780272183679195621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957943198,"filename":"image_17122025_08_49_15_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cffae9cf9fd4b1e343a04582d8194d90.jpg","text":"TemporaryFile(/tmp/multipartBody2104949072213639825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957943198,"filename":"image_17122025_08_49_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46bdb9de27d8abfaef8b66cad3780119.jpg","text":"TemporaryFile(/tmp/multipartBody7858086050022236266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957943198,"filename":"image_17122025_08_49_45_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759764","file1":"1399759726","file0":"1399759687","file4":"1399759807","file5":"1399759812","file3":"1399759803"},"map_files_photo_id_array":[{"photo_id":"1399759812","filename":"file5"},{"photo_id":"1399759764","filename":"file2"},{"photo_id":"1399759807","filename":"file4"},{"photo_id":"1399759726","filename":"file1"},{"photo_id":"1399759687","filename":"file0"},{"photo_id":"1399759803","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759687":["hashtag1","hashtag2"]},{"1399759726":["hashtag1","hashtag2"]},{"1399759807":["hashtag1","hashtag2"]},{"1399759764":["hashtag1","hashtag2"]},{"1399759803":["hashtag1","hashtag2"]},{"1399759812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759687, 1399759726, 1399759807, 1399759764, 1399759803, 1399759812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.99849081039429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:52:03.164868
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_54_9528.jpg', '/home/pi/Desktop/images/17122025/08/49/image_17122025_08_50_04_9674.jpg', '/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_15_10665.jpg', '/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_24_9596.jpg', '/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_35_10614.jpg', '/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_44_9515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/49/image_17122025_08_49_54_9528.jpg
/home/pi/Desktop/images/17122025/08/49/image_17122025_08_50_04_9674.jpg
/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_15_10665.jpg
/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_24_9596.jpg
/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_35_10614.jpg
/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_44_9515.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399759832","1399759826","1399759828","1399759822","1399759830","1399759824"],"photo_ids_order":["1399759822","1399759824","1399759826","1399759828","1399759830","1399759832"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f1d514ffb0a652f82709a50a935268f.jpg","text":"TemporaryFile(/tmp/multipartBody6508771311041040459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957983775,"filename":"image_17122025_08_50_44_9515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4638ddddd507b685ec8e6eb8e3795436.jpg","text":"TemporaryFile(/tmp/multipartBody790661553279710366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957983775,"filename":"image_17122025_08_50_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d9234f731fd956142f2d2823b5cd6a6.jpg","text":"TemporaryFile(/tmp/multipartBody1194323897295773564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957983775,"filename":"image_17122025_08_50_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8eb640d86cf3e7b07fca02fca2d0754.jpg","text":"TemporaryFile(/tmp/multipartBody1778574674577182960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957983775,"filename":"image_17122025_08_49_54_9528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c8f681fbaec58ca5b5a3daa2516d9b5.jpg","text":"TemporaryFile(/tmp/multipartBody5958359680123063371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957983775,"filename":"image_17122025_08_50_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd9f3aa7a63cbd7cb0dda7040383970d.jpg","text":"TemporaryFile(/tmp/multipartBody7009524267965513456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765957983775,"filename":"image_17122025_08_50_04_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759826","file1":"1399759824","file0":"1399759822","file4":"1399759830","file5":"1399759832","file3":"1399759828"},"map_files_photo_id_array":[{"photo_id":"1399759832","filename":"file5"},{"photo_id":"1399759826","filename":"file2"},{"photo_id":"1399759830","filename":"file4"},{"photo_id":"1399759824","filename":"file1"},{"photo_id":"1399759822","filename":"file0"},{"photo_id":"1399759828","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759832":["hashtag1","hashtag2"]},{"1399759826":["hashtag1","hashtag2"]},{"1399759828":["hashtag1","hashtag2"]},{"1399759822":["hashtag1","hashtag2"]},{"1399759830":["hashtag1","hashtag2"]},{"1399759824":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759832, 1399759826, 1399759828, 1399759822, 1399759830, 1399759824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27611756324768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:52:42.667571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_48_3207.jpg', '/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_50_1629.jpg', '/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_52_1731.jpg', '/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_53_1616.jpg', '/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_55_1788.jpg', '/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_57_1699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_48_3207.jpg
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_50_1629.jpg
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_52_1731.jpg
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_53_1616.jpg
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_55_1788.jpg
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_57_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":["1399759862","1399759871","1399759865","1399759868","1399759856","1399759852"],"photo_ids_order":["1399759852","1399759856","1399759862","1399759865","1399759868","1399759871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2347787310453ee12e029ec9a70d388f.jpg","text":"TemporaryFile(/tmp/multipartBody4791490184608002461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958028496,"filename":"image_07112025_18_09_52_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb65e0b222ee8a3665ba067fdb0eb773.jpg","text":"TemporaryFile(/tmp/multipartBody3006476903523702131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958028496,"filename":"image_07112025_18_09_57_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64b602cda163b6562b47260e9ddfafea.jpg","text":"TemporaryFile(/tmp/multipartBody2931517133669226653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958028496,"filename":"image_07112025_18_09_53_1616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d3cfe9439b14b97473885e30b65fc2c.jpg","text":"TemporaryFile(/tmp/multipartBody1603619084156901999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958028496,"filename":"image_07112025_18_09_55_1788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e35fa444cf96f519cfb26833e4f3c2a.jpg","text":"TemporaryFile(/tmp/multipartBody1837395252709614484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958028496,"filename":"image_07112025_18_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/2025/12/17/d9a562a9c077237644871cdf274f2bc2.jpg","text":"TemporaryFile(/tmp/multipartBody428785769666014181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958028496,"filename":"image_07112025_18_09_48_3207.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759862","file1":"1399759856","file0":"1399759852","file4":"1399759868","file5":"1399759871","file3":"1399759865"},"map_files_photo_id_array":[{"photo_id":"1399759871","filename":"file5"},{"photo_id":"1399759862","filename":"file2"},{"photo_id":"1399759868","filename":"file4"},{"photo_id":"1399759856","filename":"file1"},{"photo_id":"1399759852","filename":"file0"},{"photo_id":"1399759865","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399759862":["hashtag1","hashtag2"]},{"1399759871":["hashtag1","hashtag2"]},{"1399759865":["hashtag1","hashtag2"]},{"1399759868":["hashtag1","hashtag2"]},{"1399759856":["hashtag1","hashtag2"]},{"1399759852":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399759862, 1399759871, 1399759865, 1399759868, 1399759856, 1399759852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.9143431186676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 08:53:31.919480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:53:41.981622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_59_1757.jpg', '/home/pi/Desktop/images/07112025/18/09/image_07112025_18_10_00_1637.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_06_2089.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_08_1861.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_11_1605.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_13_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_09_59_1757.jpg
/home/pi/Desktop/images/07112025/18/09/image_07112025_18_10_00_1637.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_06_2089.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_08_1861.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_11_1605.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_13_1654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399759883","1399759886","1399759879","1399759884","1399759881","1399759889"],"photo_ids_order":["1399759879","1399759881","1399759883","1399759884","1399759886","1399759889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab3d4e2dba46d122306a32fee782e0c5.jpg","text":"TemporaryFile(/tmp/multipartBody4430648189538742122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958082723,"filename":"image_07112025_18_10_06_2089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c99dbe41b1f93d775c177b622af99bd.jpg","text":"TemporaryFile(/tmp/multipartBody4847573603896869759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958082723,"filename":"image_07112025_18_10_11_1605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7d6bfd9d7d75e661c8d5d4dd9e2b9ec.jpg","text":"TemporaryFile(/tmp/multipartBody3904928956699384933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958082723,"filename":"image_07112025_18_09_59_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ae4900d4152493b10c1950373163607.jpg","text":"TemporaryFile(/tmp/multipartBody2438948642739981026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958082723,"filename":"image_07112025_18_10_08_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81ddb19147669763832265f11b06e8e4.jpg","text":"TemporaryFile(/tmp/multipartBody7221538512695468180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958082723,"filename":"image_07112025_18_10_00_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70de83850d37754101c574932a25e150.jpg","text":"TemporaryFile(/tmp/multipartBody6630979940989595635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958082723,"filename":"image_07112025_18_10_13_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759883","file1":"1399759881","file0":"1399759879","file4":"1399759886","file5":"1399759889","file3":"1399759884"},"map_files_photo_id_array":[{"photo_id":"1399759889","filename":"file5"},{"photo_id":"1399759883","filename":"file2"},{"photo_id":"1399759886","filename":"file4"},{"photo_id":"1399759881","filename":"file1"},{"photo_id":"1399759879","filename":"file0"},{"photo_id":"1399759884","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399759883":["hashtag1","hashtag2"]},{"1399759886":["hashtag1","hashtag2"]},{"1399759879":["hashtag1","hashtag2"]},{"1399759884":["hashtag1","hashtag2"]},{"1399759881":["hashtag1","hashtag2"]},{"1399759889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399759883, 1399759886, 1399759879, 1399759884, 1399759881, 1399759889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.143025398254395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:54:22.215360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_54_9879.jpg', '/home/pi/Desktop/images/17122025/08/50/image_17122025_08_51_04_9715.jpg', '/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_15_10697.jpg', '/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_24_9701.jpg', '/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_34_9685.jpg', '/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_45_10806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/50/image_17122025_08_50_54_9879.jpg
/home/pi/Desktop/images/17122025/08/50/image_17122025_08_51_04_9715.jpg
/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_15_10697.jpg
/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_24_9701.jpg
/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_34_9685.jpg
/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_45_10806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399759908","1399759907","1399759894","1399759897","1399759900","1399759911"],"photo_ids_order":["1399759894","1399759897","1399759900","1399759907","1399759908","1399759911"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/808acd3b02b6fa0a662d497465cd0c4a.jpg","text":"TemporaryFile(/tmp/multipartBody8384780068873617885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958122794,"filename":"image_17122025_08_51_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3d796bb3566247af70dfb2d811c8c58.jpg","text":"TemporaryFile(/tmp/multipartBody8824255022602615748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958122794,"filename":"image_17122025_08_51_24_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fd8ee337bb198f22433cdec6a4bb64a.jpg","text":"TemporaryFile(/tmp/multipartBody781857365391890552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958122794,"filename":"image_17122025_08_50_54_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97caab624dbd1e38815dba0dd730c669.jpg","text":"TemporaryFile(/tmp/multipartBody2806297686457694196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958122794,"filename":"image_17122025_08_51_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a69c01b40bec9565035f2cb240feac5.jpg","text":"TemporaryFile(/tmp/multipartBody6439515301229842037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958122794,"filename":"image_17122025_08_51_15_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23809b81e389c66a6814bf33e39cc343.jpg","text":"TemporaryFile(/tmp/multipartBody2869685393976994761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958122794,"filename":"image_17122025_08_51_45_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759900","file1":"1399759897","file0":"1399759894","file4":"1399759908","file5":"1399759911","file3":"1399759907"},"map_files_photo_id_array":[{"photo_id":"1399759911","filename":"file5"},{"photo_id":"1399759900","filename":"file2"},{"photo_id":"1399759908","filename":"file4"},{"photo_id":"1399759897","filename":"file1"},{"photo_id":"1399759894","filename":"file0"},{"photo_id":"1399759907","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759908":["hashtag1","hashtag2"]},{"1399759907":["hashtag1","hashtag2"]},{"1399759894":["hashtag1","hashtag2"]},{"1399759897":["hashtag1","hashtag2"]},{"1399759900":["hashtag1","hashtag2"]},{"1399759911":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759908, 1399759907, 1399759894, 1399759897, 1399759900, 1399759911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6620512008667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:55:03.008322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_55_9694.jpg', '/home/pi/Desktop/images/17122025/08/51/image_17122025_08_52_04_9694.jpg', '/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_14_9772.jpg', '/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_25_10717.jpg', '/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_34_9567.jpg', '/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_44_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/51/image_17122025_08_51_55_9694.jpg
/home/pi/Desktop/images/17122025/08/51/image_17122025_08_52_04_9694.jpg
/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_14_9772.jpg
/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_25_10717.jpg
/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_34_9567.jpg
/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_44_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":["1399759925","1399759916","1399759919","1399759921","1399759923","1399759917"],"photo_ids_order":["1399759916","1399759917","1399759919","1399759921","1399759923","1399759925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c185168d488dcfd9c987971454c82e10.jpg","text":"TemporaryFile(/tmp/multipartBody6206900274438729517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958163609,"filename":"image_17122025_08_52_44_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c87833678023f7a584c51e3af9b986dd.jpg","text":"TemporaryFile(/tmp/multipartBody8383370365232493920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958163609,"filename":"image_17122025_08_51_55_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84fb471f75e467ebc7a0fc39b64e6780.jpg","text":"TemporaryFile(/tmp/multipartBody1822784508040562715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958163609,"filename":"image_17122025_08_52_14_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f80b237ba5367030a3033618cac78b28.jpg","text":"TemporaryFile(/tmp/multipartBody9000499324684446177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958163609,"filename":"image_17122025_08_52_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8387cf7d4e4ffbfa523058a3ac72156.jpg","text":"TemporaryFile(/tmp/multipartBody7517808077469385659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958163609,"filename":"image_17122025_08_52_34_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5450de561f120dac0ac8c02d080aeced.jpg","text":"TemporaryFile(/tmp/multipartBody6317327364927779505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958163609,"filename":"image_17122025_08_52_04_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759919","file1":"1399759917","file0":"1399759916","file4":"1399759923","file5":"1399759925","file3":"1399759921"},"map_files_photo_id_array":[{"photo_id":"1399759925","filename":"file5"},{"photo_id":"1399759919","filename":"file2"},{"photo_id":"1399759923","filename":"file4"},{"photo_id":"1399759917","filename":"file1"},{"photo_id":"1399759916","filename":"file0"},{"photo_id":"1399759921","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759925":["hashtag1","hashtag2"]},{"1399759916":["hashtag1","hashtag2"]},{"1399759919":["hashtag1","hashtag2"]},{"1399759921":["hashtag1","hashtag2"]},{"1399759923":["hashtag1","hashtag2"]},{"1399759917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759925, 1399759916, 1399759919, 1399759921, 1399759923, 1399759917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.456844091415405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:55:42.511825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_14_1634.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_16_1745.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_18_1649.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_19_1633.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_21_1641.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_23_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_14_1634.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_16_1745.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_18_1649.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_19_1633.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_21_1641.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_23_1639.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6326677799224854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:56:03.152600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_55_10652.jpg', '/home/pi/Desktop/images/17122025/08/52/image_17122025_08_53_04_9684.jpg', '/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_14_9685.jpg', '/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_25_10706.jpg', '/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_34_9683.jpg', '/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_44_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/52/image_17122025_08_52_55_10652.jpg
/home/pi/Desktop/images/17122025/08/52/image_17122025_08_53_04_9684.jpg
/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_14_9685.jpg
/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_25_10706.jpg
/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_34_9683.jpg
/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_44_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399759952","1399759946","1399759954","1399759948","1399759957","1399759950"],"photo_ids_order":["1399759946","1399759948","1399759950","1399759952","1399759954","1399759957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/604037787f8717d89a7c8728e5a3757a.jpg","text":"TemporaryFile(/tmp/multipartBody6282458880094675977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958223715,"filename":"image_17122025_08_53_25_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed2fd2c5b0273d64fbdbd34899f6556f.jpg","text":"TemporaryFile(/tmp/multipartBody6167657384423118811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958223715,"filename":"image_17122025_08_52_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f05bfaa3d99d809a148307470af16e2.jpg","text":"TemporaryFile(/tmp/multipartBody6916692662794200709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958223715,"filename":"image_17122025_08_53_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d09d6883597a081bf93d1a33e2cbe0e.jpg","text":"TemporaryFile(/tmp/multipartBody152073560116279000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958223715,"filename":"image_17122025_08_53_04_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e8c9261924c226098ee83f0563b311c.jpg","text":"TemporaryFile(/tmp/multipartBody5346567915740352195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958223715,"filename":"image_17122025_08_53_44_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5db87cd7fc92f35dac60553b104fb8a7.jpg","text":"TemporaryFile(/tmp/multipartBody8584003970225583786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958223715,"filename":"image_17122025_08_53_14_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759950","file1":"1399759948","file0":"1399759946","file4":"1399759954","file5":"1399759957","file3":"1399759952"},"map_files_photo_id_array":[{"photo_id":"1399759957","filename":"file5"},{"photo_id":"1399759950","filename":"file2"},{"photo_id":"1399759954","filename":"file4"},{"photo_id":"1399759948","filename":"file1"},{"photo_id":"1399759946","filename":"file0"},{"photo_id":"1399759952","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759952":["hashtag1","hashtag2"]},{"1399759946":["hashtag1","hashtag2"]},{"1399759954":["hashtag1","hashtag2"]},{"1399759948":["hashtag1","hashtag2"]},{"1399759957":["hashtag1","hashtag2"]},{"1399759950":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759952, 1399759946, 1399759954, 1399759948, 1399759957, 1399759950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68609619140625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:56:42.766054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_14_1634.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_16_1745.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_18_1649.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_19_1633.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_21_1641.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_23_1639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_14_1634.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_16_1745.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_18_1649.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_19_1633.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_21_1641.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_23_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":["1399759964","1399759967","1399759966","1399759969","1399759978","1399759968"],"photo_ids_order":["1399759964","1399759966","1399759967","1399759968","1399759969","1399759978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea32f2fc7eb2c27ff6321550b763b53f.jpg","text":"TemporaryFile(/tmp/multipartBody6584450627982329354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958263378,"filename":"image_07112025_18_10_14_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c43271a71c99a4c429b5f22597c95dc8.jpg","text":"TemporaryFile(/tmp/multipartBody355220201787003054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958263378,"filename":"image_07112025_18_10_18_1649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d8ccf0ce1c747dea1c5ac6b65738fbf.jpg","text":"TemporaryFile(/tmp/multipartBody5811825143310502825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958263378,"filename":"image_07112025_18_10_16_1745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d04d14008bcff561aa22d0e5756df9f.jpg","text":"TemporaryFile(/tmp/multipartBody7804757458956115612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958263378,"filename":"image_07112025_18_10_21_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de9bafa8d511dc1cabc070d3e2093992.jpg","text":"TemporaryFile(/tmp/multipartBody4487928473380879762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958263378,"filename":"image_07112025_18_10_23_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/196328e49c4a48f03aa7d275c2cc77b4.jpg","text":"TemporaryFile(/tmp/multipartBody7744086252939621484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958263378,"filename":"image_07112025_18_10_19_1633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759967","file1":"1399759966","file0":"1399759964","file4":"1399759969","file5":"1399759978","file3":"1399759968"},"map_files_photo_id_array":[{"photo_id":"1399759978","filename":"file5"},{"photo_id":"1399759967","filename":"file2"},{"photo_id":"1399759969","filename":"file4"},{"photo_id":"1399759966","filename":"file1"},{"photo_id":"1399759964","filename":"file0"},{"photo_id":"1399759968","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399759964":["hashtag1","hashtag2"]},{"1399759967":["hashtag1","hashtag2"]},{"1399759966":["hashtag1","hashtag2"]},{"1399759969":["hashtag1","hashtag2"]},{"1399759978":["hashtag1","hashtag2"]},{"1399759968":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399759964, 1399759967, 1399759966, 1399759969, 1399759978, 1399759968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.133102893829346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 08:57:21.980218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_54_9681.jpg', '/home/pi/Desktop/images/17122025/08/53/image_17122025_08_54_05_10610.jpg', '/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_14_9706.jpg', '/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_25_10644.jpg', '/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_35_9629.jpg', '/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_44_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/53/image_17122025_08_53_54_9681.jpg
/home/pi/Desktop/images/17122025/08/53/image_17122025_08_54_05_10610.jpg
/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_14_9706.jpg
/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_25_10644.jpg
/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_35_9629.jpg
/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_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":["1399759990","1399759993","1399759996","1399760000","1399760005","1399760002"],"photo_ids_order":["1399759990","1399759993","1399759996","1399760000","1399760002","1399760005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93931971e1ed2b872960fc526673700c.jpg","text":"TemporaryFile(/tmp/multipartBody2358858177737821296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958302537,"filename":"image_17122025_08_53_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ec2e2d19dc6f21e6a87d0b78021d19b.jpg","text":"TemporaryFile(/tmp/multipartBody6720899832382381846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958302537,"filename":"image_17122025_08_54_05_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/779f457c151dff0b01075274b71301a4.jpg","text":"TemporaryFile(/tmp/multipartBody2821140646021689856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958302537,"filename":"image_17122025_08_54_14_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36c0c1f220d2f3d84d75b637cead68a1.jpg","text":"TemporaryFile(/tmp/multipartBody5865154068566645452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958302537,"filename":"image_17122025_08_54_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42af78bc78c9e368d5c862d0214003c0.jpg","text":"TemporaryFile(/tmp/multipartBody1642569184496869367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958302537,"filename":"image_17122025_08_54_44_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/438acbcd3e92090267d12c88a2b9b4f0.jpg","text":"TemporaryFile(/tmp/multipartBody4659497800508885224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958302537,"filename":"image_17122025_08_54_35_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399759996","file1":"1399759993","file0":"1399759990","file4":"1399760002","file5":"1399760005","file3":"1399760000"},"map_files_photo_id_array":[{"photo_id":"1399760005","filename":"file5"},{"photo_id":"1399759996","filename":"file2"},{"photo_id":"1399760002","filename":"file4"},{"photo_id":"1399759993","filename":"file1"},{"photo_id":"1399759990","filename":"file0"},{"photo_id":"1399760000","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399759990":["hashtag1","hashtag2"]},{"1399759993":["hashtag1","hashtag2"]},{"1399759996":["hashtag1","hashtag2"]},{"1399760000":["hashtag1","hashtag2"]},{"1399760005":["hashtag1","hashtag2"]},{"1399760002":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399759990, 1399759993, 1399759996, 1399760000, 1399760005, 1399760002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79178428649902 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 08:59:03.453760
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_55_10680.jpg', '/home/pi/Desktop/images/17122025/08/54/image_17122025_08_55_04_9577.jpg', '/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_14_9682.jpg', '/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_25_10543.jpg', '/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_34_9726.jpg', '/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_44_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/54/image_17122025_08_54_55_10680.jpg
/home/pi/Desktop/images/17122025/08/54/image_17122025_08_55_04_9577.jpg
/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_14_9682.jpg
/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_25_10543.jpg
/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_34_9726.jpg
/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_44_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399760226","1399760328","1399760322","1399760288","1399760266","1399760308"],"photo_ids_order":["1399760226","1399760266","1399760288","1399760308","1399760322","1399760328"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4828e13379caf66d3437ea8f0891138b.jpg","text":"TemporaryFile(/tmp/multipartBody7868611410427039482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958404115,"filename":"image_17122025_08_54_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1610915a7a09e24e2bf08879a72b8194.jpg","text":"TemporaryFile(/tmp/multipartBody9107136600122260705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958404115,"filename":"image_17122025_08_55_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e1ba46325f70e14fa24032bfa86c5e1.jpg","text":"TemporaryFile(/tmp/multipartBody3236128751891572835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958404115,"filename":"image_17122025_08_55_34_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/429eb6bbbf85a16342b484058619a464.jpg","text":"TemporaryFile(/tmp/multipartBody8862461048490502903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958404115,"filename":"image_17122025_08_55_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae675159b8dd185e681e2a38120c1d80.jpg","text":"TemporaryFile(/tmp/multipartBody6509830827433934693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958404115,"filename":"image_17122025_08_55_04_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f863a3b5901fd079b608c9635679bda4.jpg","text":"TemporaryFile(/tmp/multipartBody5199083019927193906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958404115,"filename":"image_17122025_08_55_25_10543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399760288","file1":"1399760266","file0":"1399760226","file4":"1399760322","file5":"1399760328","file3":"1399760308"},"map_files_photo_id_array":[{"photo_id":"1399760328","filename":"file5"},{"photo_id":"1399760288","filename":"file2"},{"photo_id":"1399760322","filename":"file4"},{"photo_id":"1399760266","filename":"file1"},{"photo_id":"1399760226","filename":"file0"},{"photo_id":"1399760308","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399760226":["hashtag1","hashtag2"]},{"1399760328":["hashtag1","hashtag2"]},{"1399760322":["hashtag1","hashtag2"]},{"1399760288":["hashtag1","hashtag2"]},{"1399760266":["hashtag1","hashtag2"]},{"1399760308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399760226, 1399760328, 1399760322, 1399760288, 1399760266, 1399760308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7912814617157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 08:59:42.390978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_24_1624.jpg', '/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_28_1835.jpg', '/home/pi/Desktop/images/07112025/18/11/image_07112025_18_11_02_14675.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_06_3011.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_10_3695.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_12_2736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_24_1624.jpg
/home/pi/Desktop/images/07112025/18/10/image_07112025_18_10_28_1835.jpg
/home/pi/Desktop/images/07112025/18/11/image_07112025_18_11_02_14675.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_06_3011.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_10_3695.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_12_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":["1399760334","1399760336","1399760345","1399760332","1399760338","1399760355"],"photo_ids_order":["1399760332","1399760334","1399760336","1399760338","1399760345","1399760355"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6294518ba9572adb30fb3b089789bab0.jpg","text":"TemporaryFile(/tmp/multipartBody1510252376327543019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958443145,"filename":"image_07112025_18_10_28_1835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e22742067fd783f0d847d7bf5b807ad.jpg","text":"TemporaryFile(/tmp/multipartBody2258266264379668613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958443145,"filename":"image_07112025_18_11_02_14675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51c96b641e458a69f6592ba9b99eb31c.jpg","text":"TemporaryFile(/tmp/multipartBody2492019975053368129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958443145,"filename":"image_07112025_18_13_10_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c500a0428251d97ccf34af6b08c482be.jpg","text":"TemporaryFile(/tmp/multipartBody5986089120372923382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958443145,"filename":"image_07112025_18_10_24_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/317b39a74a7474ff2505a7094ba7cf49.jpg","text":"TemporaryFile(/tmp/multipartBody9022421525639331606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958443145,"filename":"image_07112025_18_13_06_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/966ddf65da6a79dd6e7507520b54124f.jpg","text":"TemporaryFile(/tmp/multipartBody4664605181779311013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958443145,"filename":"image_07112025_18_13_12_2736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399760336","file1":"1399760334","file0":"1399760332","file4":"1399760345","file5":"1399760355","file3":"1399760338"},"map_files_photo_id_array":[{"photo_id":"1399760355","filename":"file5"},{"photo_id":"1399760336","filename":"file2"},{"photo_id":"1399760345","filename":"file4"},{"photo_id":"1399760334","filename":"file1"},{"photo_id":"1399760332","filename":"file0"},{"photo_id":"1399760338","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399760334":["hashtag1","hashtag2"]},{"1399760336":["hashtag1","hashtag2"]},{"1399760345":["hashtag1","hashtag2"]},{"1399760332":["hashtag1","hashtag2"]},{"1399760338":["hashtag1","hashtag2"]},{"1399760355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399760334, 1399760336, 1399760345, 1399760332, 1399760338, 1399760355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95399260520935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:00:22.605255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_55_10744.jpg', '/home/pi/Desktop/images/17122025/08/55/image_17122025_08_56_04_9625.jpg', '/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_14_9898.jpg', '/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_24_9708.jpg', '/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_35_10796.jpg', '/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_45_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/55/image_17122025_08_55_55_10744.jpg
/home/pi/Desktop/images/17122025/08/55/image_17122025_08_56_04_9625.jpg
/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_14_9898.jpg
/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_24_9708.jpg
/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_35_10796.jpg
/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_45_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":["1399760367","1399760369","1399760371","1399760365","1399760362","1399760373"],"photo_ids_order":["1399760362","1399760365","1399760367","1399760369","1399760371","1399760373"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b49d39e37a700f5e30e20962493e7e8.jpg","text":"TemporaryFile(/tmp/multipartBody7937488392309031367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958483193,"filename":"image_17122025_08_56_14_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3370d3655926d289aee166d604debde6.jpg","text":"TemporaryFile(/tmp/multipartBody8029505115802709368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958483193,"filename":"image_17122025_08_56_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5696cf2f0ecf4b4aeb2a135dd6a22d3.jpg","text":"TemporaryFile(/tmp/multipartBody7491940242758755041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958483193,"filename":"image_17122025_08_56_35_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/662d5233614d91ed4e2aeb122043a94e.jpg","text":"TemporaryFile(/tmp/multipartBody6912096591537723350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958483193,"filename":"image_17122025_08_56_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57a7f66e3178f80771dc04b4aa3a0968.jpg","text":"TemporaryFile(/tmp/multipartBody8267754350034299446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958483193,"filename":"image_17122025_08_55_55_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e48a33adb13547f43cf232d6bc610a2a.jpg","text":"TemporaryFile(/tmp/multipartBody516440224603127982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958483193,"filename":"image_17122025_08_56_45_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399760367","file1":"1399760365","file0":"1399760362","file4":"1399760371","file5":"1399760373","file3":"1399760369"},"map_files_photo_id_array":[{"photo_id":"1399760373","filename":"file5"},{"photo_id":"1399760367","filename":"file2"},{"photo_id":"1399760371","filename":"file4"},{"photo_id":"1399760365","filename":"file1"},{"photo_id":"1399760362","filename":"file0"},{"photo_id":"1399760369","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399760367":["hashtag1","hashtag2"]},{"1399760369":["hashtag1","hashtag2"]},{"1399760371":["hashtag1","hashtag2"]},{"1399760365":["hashtag1","hashtag2"]},{"1399760362":["hashtag1","hashtag2"]},{"1399760373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399760367, 1399760369, 1399760371, 1399760365, 1399760362, 1399760373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.8342125415802 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 10 --only_old 1
2025-12-17 09:01:14.089100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:01:24.225978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_54_9701.jpg', '/home/pi/Desktop/images/17122025/08/56/image_17122025_08_57_04_9844.jpg', '/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_15_10729.jpg', '/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_25_9694.jpg', '/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_34_9725.jpg', '/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_45_10737.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/56/image_17122025_08_56_54_9701.jpg
/home/pi/Desktop/images/17122025/08/56/image_17122025_08_57_04_9844.jpg
/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_15_10729.jpg
/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_25_9694.jpg
/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_34_9725.jpg
/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_45_10737.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399760390","1399760384","1399760432","1399760386","1399760394","1399760388"],"photo_ids_order":["1399760384","1399760386","1399760388","1399760390","1399760394","1399760432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e190e70f7873b0e6ea1ea1867a2c5cf2.jpg","text":"TemporaryFile(/tmp/multipartBody3344606019439773780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958544804,"filename":"image_17122025_08_57_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f6903972644dc13cf729152edb3e9ae.jpg","text":"TemporaryFile(/tmp/multipartBody2433591187603589050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958544804,"filename":"image_17122025_08_56_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd09b7f593ef2159ac6512662d0d7e79.jpg","text":"TemporaryFile(/tmp/multipartBody997963413873750523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958544804,"filename":"image_17122025_08_57_45_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f354f40d1d521c75b4531920cf3cff6.jpg","text":"TemporaryFile(/tmp/multipartBody8545980336725776647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958544804,"filename":"image_17122025_08_57_04_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e02b3e7d4effcfdcf5e7a51936b109ce.jpg","text":"TemporaryFile(/tmp/multipartBody9186777961140324278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958544804,"filename":"image_17122025_08_57_34_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7f6da6cb898f739bb4bf734187f7ca7.jpg","text":"TemporaryFile(/tmp/multipartBody7231948818511603861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958544804,"filename":"image_17122025_08_57_15_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399760388","file1":"1399760386","file0":"1399760384","file4":"1399760394","file5":"1399760432","file3":"1399760390"},"map_files_photo_id_array":[{"photo_id":"1399760432","filename":"file5"},{"photo_id":"1399760388","filename":"file2"},{"photo_id":"1399760394","filename":"file4"},{"photo_id":"1399760386","filename":"file1"},{"photo_id":"1399760384","filename":"file0"},{"photo_id":"1399760390","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399760390":["hashtag1","hashtag2"]},{"1399760384":["hashtag1","hashtag2"]},{"1399760432":["hashtag1","hashtag2"]},{"1399760386":["hashtag1","hashtag2"]},{"1399760394":["hashtag1","hashtag2"]},{"1399760388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399760390, 1399760384, 1399760432, 1399760386, 1399760394, 1399760388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.36902117729187 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:02:12.835127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:02:22.457350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_55_9602.jpg', '/home/pi/Desktop/images/17122025/08/57/image_17122025_08_58_04_9648.jpg', '/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_15_10618.jpg', '/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_25_9657.jpg', '/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_34_9668.jpg', '/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_45_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/57/image_17122025_08_57_55_9602.jpg
/home/pi/Desktop/images/17122025/08/57/image_17122025_08_58_04_9648.jpg
/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_15_10618.jpg
/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_25_9657.jpg
/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_34_9668.jpg
/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_45_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":["1399760838","1399760884","1399760801","1399760764","1399760725","1399760688"],"photo_ids_order":["1399760688","1399760725","1399760764","1399760801","1399760838","1399760884"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2d79104b74348ca5f518d1039be25de.jpg","text":"TemporaryFile(/tmp/multipartBody2259011233592498037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958603031,"filename":"image_17122025_08_58_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f67a7723b65b5e27c5807ac91ed6316c.jpg","text":"TemporaryFile(/tmp/multipartBody4048366325824243165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958603031,"filename":"image_17122025_08_58_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6fb781055f032ca87bbb6fdd9f43f03.jpg","text":"TemporaryFile(/tmp/multipartBody7863027656823548710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958603031,"filename":"image_17122025_08_58_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b723ea91c82ca2105ba29bc00154c195.jpg","text":"TemporaryFile(/tmp/multipartBody4396392655877532820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958603031,"filename":"image_17122025_08_58_15_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b764610bbf0618d30f209720f6a2701c.jpg","text":"TemporaryFile(/tmp/multipartBody8560825091576426047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958603031,"filename":"image_17122025_08_58_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c14e0312aef6ff8cd29c8654aec4a04b.jpg","text":"TemporaryFile(/tmp/multipartBody6833659003335131176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958603031,"filename":"image_17122025_08_57_55_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399760764","file1":"1399760725","file0":"1399760688","file4":"1399760838","file5":"1399760884","file3":"1399760801"},"map_files_photo_id_array":[{"photo_id":"1399760884","filename":"file5"},{"photo_id":"1399760764","filename":"file2"},{"photo_id":"1399760838","filename":"file4"},{"photo_id":"1399760725","filename":"file1"},{"photo_id":"1399760688","filename":"file0"},{"photo_id":"1399760801","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399760838":["hashtag1","hashtag2"]},{"1399760884":["hashtag1","hashtag2"]},{"1399760801":["hashtag1","hashtag2"]},{"1399760764":["hashtag1","hashtag2"]},{"1399760725":["hashtag1","hashtag2"]},{"1399760688":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399760838, 1399760884, 1399760801, 1399760764, 1399760725, 1399760688)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.604548931121826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:03:03.325722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_55_9685.jpg', '/home/pi/Desktop/images/17122025/08/58/image_17122025_08_59_04_9643.jpg', '/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_15_10769.jpg', '/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_25_9758.jpg', '/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_34_9637.jpg', '/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_44_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/58/image_17122025_08_58_55_9685.jpg
/home/pi/Desktop/images/17122025/08/58/image_17122025_08_59_04_9643.jpg
/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_15_10769.jpg
/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_25_9758.jpg
/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_34_9637.jpg
/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_44_9683.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":["1399761230","1399761199","1399761160","1399761049","1399761087","1399761126"],"photo_ids_order":["1399761049","1399761087","1399761126","1399761160","1399761199","1399761230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f00e0aa8781f1af6163c6604048996f8.jpg","text":"TemporaryFile(/tmp/multipartBody5331062695654792033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958646582,"filename":"image_17122025_08_59_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/366debbe93e0382264f1d35180d52db9.jpg","text":"TemporaryFile(/tmp/multipartBody6341319850085616017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958646582,"filename":"image_17122025_08_59_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee67b9862ab86a50c9069f636e886a3c.jpg","text":"TemporaryFile(/tmp/multipartBody2674595301287561389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958646582,"filename":"image_17122025_08_59_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15b6705958378629bc09ae381908ddd8.jpg","text":"TemporaryFile(/tmp/multipartBody7215984670218636499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958646582,"filename":"image_17122025_08_58_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/675be46fd20324be9785977ff634a4c8.jpg","text":"TemporaryFile(/tmp/multipartBody471815999839596764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958646582,"filename":"image_17122025_08_59_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/525cad19a4b5c18ed4eefd08042fb8cd.jpg","text":"TemporaryFile(/tmp/multipartBody7447459448323589220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958646582,"filename":"image_17122025_08_59_15_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399761126","file1":"1399761087","file0":"1399761049","file4":"1399761199","file5":"1399761230","file3":"1399761160"},"map_files_photo_id_array":[{"photo_id":"1399761230","filename":"file5"},{"photo_id":"1399761126","filename":"file2"},{"photo_id":"1399761199","filename":"file4"},{"photo_id":"1399761087","filename":"file1"},{"photo_id":"1399761049","filename":"file0"},{"photo_id":"1399761160","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399761230":["hashtag1","hashtag2"]},{"1399761199":["hashtag1","hashtag2"]},{"1399761160":["hashtag1","hashtag2"]},{"1399761049":["hashtag1","hashtag2"]},{"1399761087":["hashtag1","hashtag2"]},{"1399761126":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399761230, 1399761199, 1399761160, 1399761049, 1399761087, 1399761126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.83876371383667 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:04:02.486647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_55_10736.jpg', '/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_15_10054.jpg', '/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_25_10783.jpg', '/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_35_9614.jpg', '/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_45_9666.jpg', '/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_55_10610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/08/59/image_17122025_08_59_55_10736.jpg
/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_15_10054.jpg
/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_25_10783.jpg
/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_35_9614.jpg
/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_45_9666.jpg
/home/pi/Desktop/images/17122025/09/00/image_17122025_09_00_55_10610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399761239","1399761238","1399761241","1399761240","1399761243","1399761237"],"photo_ids_order":["1399761237","1399761238","1399761239","1399761240","1399761241","1399761243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/514a70dc1e416edd79e934594682e908.jpg","text":"TemporaryFile(/tmp/multipartBody1861749243807505799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958703152,"filename":"image_17122025_09_00_25_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80d88c52488bb3ae17816fa8b77a3225.jpg","text":"TemporaryFile(/tmp/multipartBody8846868332347563911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958703152,"filename":"image_17122025_09_00_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e4a3d80256c54b4fddbabf6170662a2.jpg","text":"TemporaryFile(/tmp/multipartBody8334616848937145153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958703152,"filename":"image_17122025_09_00_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd67945e2fa72b2c654ca6aec2ba1206.jpg","text":"TemporaryFile(/tmp/multipartBody8158456809351194904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958703152,"filename":"image_17122025_09_00_35_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45cd659d13b7077b19c6b2f67d24ebb3.jpg","text":"TemporaryFile(/tmp/multipartBody2538895307386292674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958703152,"filename":"image_17122025_09_00_55_10610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a706e64846bcb4319d21cafbfdb4256.jpg","text":"TemporaryFile(/tmp/multipartBody4199360034975078581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958703152,"filename":"image_17122025_08_59_55_10736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399761239","file1":"1399761238","file0":"1399761237","file4":"1399761241","file5":"1399761243","file3":"1399761240"},"map_files_photo_id_array":[{"photo_id":"1399761243","filename":"file5"},{"photo_id":"1399761239","filename":"file2"},{"photo_id":"1399761241","filename":"file4"},{"photo_id":"1399761238","filename":"file1"},{"photo_id":"1399761237","filename":"file0"},{"photo_id":"1399761240","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399761239":["hashtag1","hashtag2"]},{"1399761238":["hashtag1","hashtag2"]},{"1399761241":["hashtag1","hashtag2"]},{"1399761240":["hashtag1","hashtag2"]},{"1399761243":["hashtag1","hashtag2"]},{"1399761237":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399761239, 1399761238, 1399761241, 1399761240, 1399761243, 1399761237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.131797552108765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:04:41.824271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_15_2607.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_25_3599.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_28_2610.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_30_2606.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_34_3825.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_37_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_15_2607.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_25_3599.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_28_2610.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_30_2606.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_34_3825.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_37_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399761773","1399761482","1399761551","1399761620","1399761404","1399761696"],"photo_ids_order":["1399761404","1399761482","1399761551","1399761620","1399761696","1399761773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6124dd0058ce8877670db694b905865f.jpg","text":"TemporaryFile(/tmp/multipartBody7927264635663607795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958742602,"filename":"image_07112025_18_13_37_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57c1cf33f51642198256dcff51775549.jpg","text":"TemporaryFile(/tmp/multipartBody5153399125935149905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958742602,"filename":"image_07112025_18_13_25_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f762df05754232f01c3429ea92f99ec.jpg","text":"TemporaryFile(/tmp/multipartBody6098401913728289048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958742602,"filename":"image_07112025_18_13_28_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0807149112dc7481d88fc7ff50c499c.jpg","text":"TemporaryFile(/tmp/multipartBody1530289104635143975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958742602,"filename":"image_07112025_18_13_30_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c58f3f229c5eef916ea70f2092495f9.jpg","text":"TemporaryFile(/tmp/multipartBody2664289695782315502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958742602,"filename":"image_07112025_18_13_15_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce150d3cebd67c8c14083fa8af466173.jpg","text":"TemporaryFile(/tmp/multipartBody5673842999668976335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958742602,"filename":"image_07112025_18_13_34_3825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399761551","file1":"1399761482","file0":"1399761404","file4":"1399761696","file5":"1399761773","file3":"1399761620"},"map_files_photo_id_array":[{"photo_id":"1399761773","filename":"file5"},{"photo_id":"1399761551","filename":"file2"},{"photo_id":"1399761696","filename":"file4"},{"photo_id":"1399761482","filename":"file1"},{"photo_id":"1399761404","filename":"file0"},{"photo_id":"1399761620","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399761773":["hashtag1","hashtag2"]},{"1399761482":["hashtag1","hashtag2"]},{"1399761551":["hashtag1","hashtag2"]},{"1399761620":["hashtag1","hashtag2"]},{"1399761404":["hashtag1","hashtag2"]},{"1399761696":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399761773, 1399761482, 1399761551, 1399761620, 1399761404, 1399761696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.95824599266052 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:05:22.087870
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/00/image_17122025_09_01_05_9554.jpg', '/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_15_10593.jpg', '/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_25_9597.jpg', '/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_35_10339.jpg', '/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_45_9753.jpg', '/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_04_18717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/00/image_17122025_09_01_05_9554.jpg
/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_15_10593.jpg
/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_25_9597.jpg
/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_35_10339.jpg
/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_45_9753.jpg
/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_04_18717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4896585941314697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:05:32.078931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:05:47.934921
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_39_2641.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_43_3586.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_46_2808.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_48_2712.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_51_2642.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_55_3636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_39_2641.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_43_3586.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_46_2808.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_48_2712.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_51_2642.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_55_3636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399762406","1399762354","1399762479","1399762512","1399762314","1399762442"],"photo_ids_order":["1399762314","1399762354","1399762406","1399762442","1399762479","1399762512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcdaebc3ccdf9a7c2a89f141cb2a3944.jpg","text":"TemporaryFile(/tmp/multipartBody6566093247386234982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958808679,"filename":"image_07112025_18_13_46_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aed8a084b16ae94fdf994ee666e5809e.jpg","text":"TemporaryFile(/tmp/multipartBody1686225302713914508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958808679,"filename":"image_07112025_18_13_43_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8cbed93e375f1dbbfa79e883bb76758.jpg","text":"TemporaryFile(/tmp/multipartBody8662752148007125865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958808679,"filename":"image_07112025_18_13_51_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a6e8f87554e9e3c4c237d7e88011055.jpg","text":"TemporaryFile(/tmp/multipartBody465402855673362727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958808679,"filename":"image_07112025_18_13_55_3636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b601f61299b612ebfd2c05af10a418e.jpg","text":"TemporaryFile(/tmp/multipartBody1354082170735593839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958808679,"filename":"image_07112025_18_13_39_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83c09e4728be713de45d129235e8c5f5.jpg","text":"TemporaryFile(/tmp/multipartBody4977246155161496146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958808679,"filename":"image_07112025_18_13_48_2712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399762406","file1":"1399762354","file0":"1399762314","file4":"1399762479","file5":"1399762512","file3":"1399762442"},"map_files_photo_id_array":[{"photo_id":"1399762512","filename":"file5"},{"photo_id":"1399762406","filename":"file2"},{"photo_id":"1399762479","filename":"file4"},{"photo_id":"1399762354","filename":"file1"},{"photo_id":"1399762314","filename":"file0"},{"photo_id":"1399762442","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399762406":["hashtag1","hashtag2"]},{"1399762354":["hashtag1","hashtag2"]},{"1399762479":["hashtag1","hashtag2"]},{"1399762512":["hashtag1","hashtag2"]},{"1399762314":["hashtag1","hashtag2"]},{"1399762442":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399762406, 1399762354, 1399762479, 1399762512, 1399762314, 1399762442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81101846694946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:06:32.155030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:06:42.140730
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_57_2731.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_14_00_2637.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_04_3730.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_13_3556.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_15_2642.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_18_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_57_2731.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_14_00_2637.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_04_3730.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_13_3556.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_15_2642.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_18_2601.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6463048458099365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:07:03.213246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/00/image_17122025_09_01_05_9554.jpg', '/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_15_10593.jpg', '/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_25_9597.jpg', '/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_35_10339.jpg', '/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_45_9753.jpg', '/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_04_18717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/00/image_17122025_09_01_05_9554.jpg
/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_15_10593.jpg
/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_25_9597.jpg
/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_35_10339.jpg
/home/pi/Desktop/images/17122025/09/01/image_17122025_09_01_45_9753.jpg
/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_04_18717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399762622","1399762625","1399762619","1399762621","1399762623","1399762620"],"photo_ids_order":["1399762619","1399762620","1399762621","1399762622","1399762623","1399762625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/601526b426a5fb25eb111fa655a0e3e5.jpg","text":"TemporaryFile(/tmp/multipartBody8883033275906942491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958883826,"filename":"image_17122025_09_01_35_10339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f9c7d24280b20a23d5556c920eae5c9.jpg","text":"TemporaryFile(/tmp/multipartBody4128109715857468542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958883826,"filename":"image_17122025_09_02_04_18717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/595cb3c685fcba5a4f5464f480b1a27c.jpg","text":"TemporaryFile(/tmp/multipartBody8148163063090105561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958883826,"filename":"image_17122025_09_01_05_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e47fa85b2b7d51dc31bfe484e3d3eb79.jpg","text":"TemporaryFile(/tmp/multipartBody9126307084645690469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958883826,"filename":"image_17122025_09_01_25_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d6f915a24943648da1a45c51d78c2c9.jpg","text":"TemporaryFile(/tmp/multipartBody7947496414423605686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958883826,"filename":"image_17122025_09_01_45_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11de915b0e3b2a6281765833fabc4c54.jpg","text":"TemporaryFile(/tmp/multipartBody2290822115493788785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958883826,"filename":"image_17122025_09_01_15_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399762621","file1":"1399762620","file0":"1399762619","file4":"1399762623","file5":"1399762625","file3":"1399762622"},"map_files_photo_id_array":[{"photo_id":"1399762625","filename":"file5"},{"photo_id":"1399762621","filename":"file2"},{"photo_id":"1399762623","filename":"file4"},{"photo_id":"1399762620","filename":"file1"},{"photo_id":"1399762619","filename":"file0"},{"photo_id":"1399762622","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399762622":["hashtag1","hashtag2"]},{"1399762625":["hashtag1","hashtag2"]},{"1399762619":["hashtag1","hashtag2"]},{"1399762621":["hashtag1","hashtag2"]},{"1399762623":["hashtag1","hashtag2"]},{"1399762620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399762622, 1399762625, 1399762619, 1399762621, 1399762623, 1399762620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.809077739715576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:07:42.361886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_57_2731.jpg', '/home/pi/Desktop/images/07112025/18/13/image_07112025_18_14_00_2637.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_04_3730.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_13_3556.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_15_2642.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_18_2601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_13_57_2731.jpg
/home/pi/Desktop/images/07112025/18/13/image_07112025_18_14_00_2637.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_04_3730.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_13_3556.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_15_2642.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_18_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":["1399762940","1399762742","1399762777","1399762846","1399762810","1399762884"],"photo_ids_order":["1399762742","1399762777","1399762810","1399762846","1399762884","1399762940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/507e4da6df0abbde8ee3cd7df49c4413.jpg","text":"TemporaryFile(/tmp/multipartBody6848992316269720814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958922983,"filename":"image_07112025_18_14_18_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f18e6b5d88bf7427688ee7bfee951d83.jpg","text":"TemporaryFile(/tmp/multipartBody6268754739896442937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958922983,"filename":"image_07112025_18_13_57_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/186d3fca57a5a3ddacb49e9cc141edb6.jpg","text":"TemporaryFile(/tmp/multipartBody6644116685044091386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958922983,"filename":"image_07112025_18_14_00_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3068976876cd33eb08873f4af3f01c6c.jpg","text":"TemporaryFile(/tmp/multipartBody5613948799237014457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958922983,"filename":"image_07112025_18_14_13_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f205e8d9c7cd995ff991d98c8fa3fc7d.jpg","text":"TemporaryFile(/tmp/multipartBody5900978822680542802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958922983,"filename":"image_07112025_18_14_04_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0fcddd88eb7e8372beabf8e0eec5300.jpg","text":"TemporaryFile(/tmp/multipartBody7678639349358054360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958922983,"filename":"image_07112025_18_14_15_2642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399762810","file1":"1399762777","file0":"1399762742","file4":"1399762884","file5":"1399762940","file3":"1399762846"},"map_files_photo_id_array":[{"photo_id":"1399762940","filename":"file5"},{"photo_id":"1399762810","filename":"file2"},{"photo_id":"1399762884","filename":"file4"},{"photo_id":"1399762777","filename":"file1"},{"photo_id":"1399762742","filename":"file0"},{"photo_id":"1399762846","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399762940":["hashtag1","hashtag2"]},{"1399762742":["hashtag1","hashtag2"]},{"1399762777":["hashtag1","hashtag2"]},{"1399762846":["hashtag1","hashtag2"]},{"1399762810":["hashtag1","hashtag2"]},{"1399762884":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399762940, 1399762742, 1399762777, 1399762846, 1399762810, 1399762884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.555180311203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:08:22.635205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_05_1630.jpg', '/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_15_9699.jpg', '/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_25_9703.jpg', '/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_35_10629.jpg', '/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_45_9791.jpg', '/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_55_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_05_1630.jpg
/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_15_9699.jpg
/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_25_9703.jpg
/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_35_10629.jpg
/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_45_9791.jpg
/home/pi/Desktop/images/17122025/09/02/image_17122025_09_02_55_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":["1399763272","1399763317","1399763224","1399763178","1399763109","1399763390"],"photo_ids_order":["1399763109","1399763178","1399763224","1399763272","1399763317","1399763390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d18ab8730381c6b2275140c2ffa5b6c1.jpg","text":"TemporaryFile(/tmp/multipartBody6610098087678592039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958963210,"filename":"image_17122025_09_02_35_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51d2f94578f7486bbc700a9bc8ad8e36.jpg","text":"TemporaryFile(/tmp/multipartBody9581780848352692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958963210,"filename":"image_17122025_09_02_45_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0046c79fe19cc433e8b7754bcd6794a2.jpg","text":"TemporaryFile(/tmp/multipartBody8647198319395403959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958963210,"filename":"image_17122025_09_02_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3793b6f60304531c82c33da35029b28.jpg","text":"TemporaryFile(/tmp/multipartBody585990191644241871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958963210,"filename":"image_17122025_09_02_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/328e846e18d7326d3c6b730259232bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5240689329654430027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958963210,"filename":"image_17122025_09_02_05_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9eb65f525e27dc0f35e40be500527051.jpg","text":"TemporaryFile(/tmp/multipartBody4800495720673380430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765958963210,"filename":"image_17122025_09_02_55_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399763224","file1":"1399763178","file0":"1399763109","file4":"1399763317","file5":"1399763390","file3":"1399763272"},"map_files_photo_id_array":[{"photo_id":"1399763390","filename":"file5"},{"photo_id":"1399763224","filename":"file2"},{"photo_id":"1399763317","filename":"file4"},{"photo_id":"1399763178","filename":"file1"},{"photo_id":"1399763109","filename":"file0"},{"photo_id":"1399763272","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399763272":["hashtag1","hashtag2"]},{"1399763317":["hashtag1","hashtag2"]},{"1399763224":["hashtag1","hashtag2"]},{"1399763178":["hashtag1","hashtag2"]},{"1399763109":["hashtag1","hashtag2"]},{"1399763390":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399763272, 1399763317, 1399763224, 1399763178, 1399763109, 1399763390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99501657485962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:09:02.821381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/02/image_17122025_09_03_05_9673.jpg', '/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_15_10829.jpg', '/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_25_9728.jpg', '/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_35_9595.jpg', '/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_45_10646.jpg', '/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_55_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/02/image_17122025_09_03_05_9673.jpg
/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_15_10829.jpg
/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_25_9728.jpg
/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_35_9595.jpg
/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_45_10646.jpg
/home/pi/Desktop/images/17122025/09/03/image_17122025_09_03_55_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":["1399763602","1399763562","1399763715","1399763678","1399763753","1399763642"],"photo_ids_order":["1399763562","1399763602","1399763642","1399763678","1399763715","1399763753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/692a757bcb86ed832b58728869e38e69.jpg","text":"TemporaryFile(/tmp/multipartBody1578432343736079472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959003518,"filename":"image_17122025_09_03_15_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0af7177d32446c3ebeccc09933e8552.jpg","text":"TemporaryFile(/tmp/multipartBody7088281941814609563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959003518,"filename":"image_17122025_09_03_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a9638b833cb91d8075bda38e1fb8e5a.jpg","text":"TemporaryFile(/tmp/multipartBody1677018010672582351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959003518,"filename":"image_17122025_09_03_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28924690fd7012d4502929843fc88066.jpg","text":"TemporaryFile(/tmp/multipartBody3206415739111051208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959003518,"filename":"image_17122025_09_03_35_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/903c8dfda33ab65bb6ca8b21f01e45ba.jpg","text":"TemporaryFile(/tmp/multipartBody2320351667621097665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959003518,"filename":"image_17122025_09_03_55_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6134ecf2f92b5676c02696a5896ad505.jpg","text":"TemporaryFile(/tmp/multipartBody3898196679304176508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959003518,"filename":"image_17122025_09_03_25_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399763642","file1":"1399763602","file0":"1399763562","file4":"1399763715","file5":"1399763753","file3":"1399763678"},"map_files_photo_id_array":[{"photo_id":"1399763753","filename":"file5"},{"photo_id":"1399763642","filename":"file2"},{"photo_id":"1399763715","filename":"file4"},{"photo_id":"1399763602","filename":"file1"},{"photo_id":"1399763562","filename":"file0"},{"photo_id":"1399763678","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399763602":["hashtag1","hashtag2"]},{"1399763562":["hashtag1","hashtag2"]},{"1399763715":["hashtag1","hashtag2"]},{"1399763678":["hashtag1","hashtag2"]},{"1399763753":["hashtag1","hashtag2"]},{"1399763642":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399763602, 1399763562, 1399763715, 1399763678, 1399763753, 1399763642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93412733078003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:09:41.712376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_22_3737.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_27_2560.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_31_3508.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_33_2615.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_37_3631.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_39_2546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_22_3737.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_27_2560.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_31_3508.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_33_2615.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_37_3631.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_39_2546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399764037","1399763881","1399763961","1399764000","1399763922","1399764073"],"photo_ids_order":["1399763881","1399763922","1399763961","1399764000","1399764037","1399764073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7476a7f88574bccf850fe920133f6c0.jpg","text":"TemporaryFile(/tmp/multipartBody2592688772482136833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959042530,"filename":"image_07112025_18_14_37_3631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c62042c547fd3421958e710c609d0295.jpg","text":"TemporaryFile(/tmp/multipartBody6157532626143657821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959042530,"filename":"image_07112025_18_14_22_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8c4ea264bb51bcf5e86fd8265ded3cf.jpg","text":"TemporaryFile(/tmp/multipartBody7592056630258571883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959042530,"filename":"image_07112025_18_14_31_3508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab9042d571a75065e03f4037a4da2e0e.jpg","text":"TemporaryFile(/tmp/multipartBody3121329234973092328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959042530,"filename":"image_07112025_18_14_33_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/defd2febf165cef87866edad45aef7a5.jpg","text":"TemporaryFile(/tmp/multipartBody3324816100198495142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959042530,"filename":"image_07112025_18_14_27_2560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c3ae33171ddff0c2358bec3c834ebc7.jpg","text":"TemporaryFile(/tmp/multipartBody677233888467505409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959042530,"filename":"image_07112025_18_14_39_2546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399763961","file1":"1399763922","file0":"1399763881","file4":"1399764037","file5":"1399764073","file3":"1399764000"},"map_files_photo_id_array":[{"photo_id":"1399764073","filename":"file5"},{"photo_id":"1399763961","filename":"file2"},{"photo_id":"1399764037","filename":"file4"},{"photo_id":"1399763922","filename":"file1"},{"photo_id":"1399763881","filename":"file0"},{"photo_id":"1399764000","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399764037":["hashtag1","hashtag2"]},{"1399763881":["hashtag1","hashtag2"]},{"1399763961":["hashtag1","hashtag2"]},{"1399764000":["hashtag1","hashtag2"]},{"1399763922":["hashtag1","hashtag2"]},{"1399764073":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399764037, 1399763881, 1399763961, 1399764000, 1399763922, 1399764073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.52841830253601 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:10:21.985882
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/03/image_17122025_09_04_05_9654.jpg', '/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_15_9818.jpg', '/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_25_10653.jpg', '/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_35_10160.jpg', '/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_45_9829.jpg', '/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_55_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/03/image_17122025_09_04_05_9654.jpg
/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_15_9818.jpg
/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_25_10653.jpg
/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_35_10160.jpg
/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_45_9829.jpg
/home/pi/Desktop/images/17122025/09/04/image_17122025_09_04_55_9574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399764313","1399764393","1399764237","1399764353","1399764275","1399764200"],"photo_ids_order":["1399764200","1399764237","1399764275","1399764313","1399764353","1399764393"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18ecf82125b047a71e40849e50c49dae.jpg","text":"TemporaryFile(/tmp/multipartBody6491790647775256248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959082612,"filename":"image_17122025_09_04_35_10160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e432b32b2781b8248f5f8e9f382785d.jpg","text":"TemporaryFile(/tmp/multipartBody8908913694686502918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959082612,"filename":"image_17122025_09_04_55_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e8163d42c6550a6f00da703df53a493.jpg","text":"TemporaryFile(/tmp/multipartBody649963911601178009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959082612,"filename":"image_17122025_09_04_15_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7eb14dafd2325e791a6374289ee7df3.jpg","text":"TemporaryFile(/tmp/multipartBody3788135813913800089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959082612,"filename":"image_17122025_09_04_45_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b81142e17ec8929e4029e99cbc2dc0ae.jpg","text":"TemporaryFile(/tmp/multipartBody8286971011184742203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959082612,"filename":"image_17122025_09_04_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b33e2ceb673a282204bd78a26d9791cf.jpg","text":"TemporaryFile(/tmp/multipartBody6331956172902061971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959082612,"filename":"image_17122025_09_04_05_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399764275","file1":"1399764237","file0":"1399764200","file4":"1399764353","file5":"1399764393","file3":"1399764313"},"map_files_photo_id_array":[{"photo_id":"1399764393","filename":"file5"},{"photo_id":"1399764275","filename":"file2"},{"photo_id":"1399764353","filename":"file4"},{"photo_id":"1399764237","filename":"file1"},{"photo_id":"1399764200","filename":"file0"},{"photo_id":"1399764313","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399764313":["hashtag1","hashtag2"]},{"1399764393":["hashtag1","hashtag2"]},{"1399764237":["hashtag1","hashtag2"]},{"1399764353":["hashtag1","hashtag2"]},{"1399764275":["hashtag1","hashtag2"]},{"1399764200":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399764313, 1399764393, 1399764237, 1399764353, 1399764275, 1399764200)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.860257625579834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:11:02.783772
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/04/image_17122025_09_05_05_9832.jpg', '/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_15_10698.jpg', '/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_25_9596.jpg', '/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_35_9701.jpg', '/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_45_10503.jpg', '/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_55_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/04/image_17122025_09_05_05_9832.jpg
/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_15_10698.jpg
/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_25_9596.jpg
/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_35_9701.jpg
/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_45_10503.jpg
/home/pi/Desktop/images/17122025/09/05/image_17122025_09_05_55_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":["1399764418","1399764421","1399764420","1399764423","1399764425","1399764422"],"photo_ids_order":["1399764418","1399764420","1399764421","1399764422","1399764423","1399764425"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26fac9fed5571a93dec4d5b15dab3d50.jpg","text":"TemporaryFile(/tmp/multipartBody3088167961214660053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959123463,"filename":"image_17122025_09_05_05_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/211a233a5b5c994822d4994c0b2897fb.jpg","text":"TemporaryFile(/tmp/multipartBody1098547017302958463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959123463,"filename":"image_17122025_09_05_25_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f58fbeaf08411dfbd7159cefb5a7f36.jpg","text":"TemporaryFile(/tmp/multipartBody175619335796906007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959123463,"filename":"image_17122025_09_05_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d5e90afeaf7da93fbde36fdae674e38.jpg","text":"TemporaryFile(/tmp/multipartBody6412671306648486373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959123463,"filename":"image_17122025_09_05_45_10503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ab81debbda885ae0b91dd1ae4b206bd.jpg","text":"TemporaryFile(/tmp/multipartBody72258149088262192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959123463,"filename":"image_17122025_09_05_55_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b3b2d99a7e9f87def2965c0e33ed0b0.jpg","text":"TemporaryFile(/tmp/multipartBody4486369527813370351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959123463,"filename":"image_17122025_09_05_35_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399764421","file1":"1399764420","file0":"1399764418","file4":"1399764423","file5":"1399764425","file3":"1399764422"},"map_files_photo_id_array":[{"photo_id":"1399764425","filename":"file5"},{"photo_id":"1399764421","filename":"file2"},{"photo_id":"1399764423","filename":"file4"},{"photo_id":"1399764420","filename":"file1"},{"photo_id":"1399764418","filename":"file0"},{"photo_id":"1399764422","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399764418":["hashtag1","hashtag2"]},{"1399764421":["hashtag1","hashtag2"]},{"1399764420":["hashtag1","hashtag2"]},{"1399764423":["hashtag1","hashtag2"]},{"1399764425":["hashtag1","hashtag2"]},{"1399764422":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399764418, 1399764421, 1399764420, 1399764423, 1399764425, 1399764422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30613994598389 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:11:42.295233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_42_2572.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_46_3682.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_57_2689.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_15_00_2628.jpg', '/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_04_3730.jpg', '/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_07_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_42_2572.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_46_3682.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_57_2689.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_15_00_2628.jpg
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_04_3730.jpg
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_07_2789.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6478424072265625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:12:03.054873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_05_9935.jpg', '/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_15_10661.jpg', '/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_25_9473.jpg', '/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_35_9808.jpg', '/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_48_13172.jpg', '/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_55_6680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_05_9935.jpg
/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_15_10661.jpg
/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_25_9473.jpg
/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_35_9808.jpg
/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_48_13172.jpg
/home/pi/Desktop/images/17122025/09/06/image_17122025_09_06_55_6680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399764712","1399764696","1399764675","1399764714","1399764725","1399764640"],"photo_ids_order":["1399764640","1399764675","1399764696","1399764712","1399764714","1399764725"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0288d7830da6abe522f69acbc65b98a7.jpg","text":"TemporaryFile(/tmp/multipartBody6494094576347350302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959183706,"filename":"image_17122025_09_06_35_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c357564685d67a5538f4903ac4136f86.jpg","text":"TemporaryFile(/tmp/multipartBody965603514048662819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959183706,"filename":"image_17122025_09_06_25_9473.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b7c9dec1d7cf4d5096c6742b9e59542.jpg","text":"TemporaryFile(/tmp/multipartBody7230029497865005798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959183706,"filename":"image_17122025_09_06_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b24c6807c8f23efba1f9a420ae2a5c18.jpg","text":"TemporaryFile(/tmp/multipartBody7447975686250919527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959183706,"filename":"image_17122025_09_06_48_13172.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1916b09d828c668e181122a50057a173.jpg","text":"TemporaryFile(/tmp/multipartBody3157111463336576514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959183706,"filename":"image_17122025_09_06_55_6680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93e9b81249fbac5fb482a4af6da20f0c.jpg","text":"TemporaryFile(/tmp/multipartBody4170829428824296253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959183706,"filename":"image_17122025_09_06_05_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399764696","file1":"1399764675","file0":"1399764640","file4":"1399764714","file5":"1399764725","file3":"1399764712"},"map_files_photo_id_array":[{"photo_id":"1399764725","filename":"file5"},{"photo_id":"1399764696","filename":"file2"},{"photo_id":"1399764714","filename":"file4"},{"photo_id":"1399764675","filename":"file1"},{"photo_id":"1399764640","filename":"file0"},{"photo_id":"1399764712","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399764712":["hashtag1","hashtag2"]},{"1399764696":["hashtag1","hashtag2"]},{"1399764675":["hashtag1","hashtag2"]},{"1399764714":["hashtag1","hashtag2"]},{"1399764725":["hashtag1","hashtag2"]},{"1399764640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399764712, 1399764696, 1399764675, 1399764714, 1399764725, 1399764640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.30273699760437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:12:42.641563
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_42_2572.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_46_3682.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_57_2689.jpg', '/home/pi/Desktop/images/07112025/18/14/image_07112025_18_15_00_2628.jpg', '/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_04_3730.jpg', '/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_07_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_42_2572.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_46_3682.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_14_57_2689.jpg
/home/pi/Desktop/images/07112025/18/14/image_07112025_18_15_00_2628.jpg
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_04_3730.jpg
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_07_2789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399764829","1399764930","1399764903","1399764933","1399764932","1399764931"],"photo_ids_order":["1399764829","1399764903","1399764930","1399764931","1399764932","1399764933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a89f584ca72cddbf89b45009cf77d0f.jpg","text":"TemporaryFile(/tmp/multipartBody6140386834573566235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959223273,"filename":"image_07112025_18_14_42_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55cf552a58846448642d75f7a96967b1.jpg","text":"TemporaryFile(/tmp/multipartBody2963277970409820019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959223273,"filename":"image_07112025_18_14_57_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04ef9891f5d69748a0404aa30216cb29.jpg","text":"TemporaryFile(/tmp/multipartBody7218292824138964006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959223273,"filename":"image_07112025_18_14_46_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1791b0f6877f92295c1724b7c99ac5e.jpg","text":"TemporaryFile(/tmp/multipartBody894760580569615105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959223273,"filename":"image_07112025_18_15_07_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cdf512b883cfb175dc32b8e69bf2024.jpg","text":"TemporaryFile(/tmp/multipartBody5937780169060209549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959223273,"filename":"image_07112025_18_15_04_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c451237da20d85fddff1b345af95415.jpg","text":"TemporaryFile(/tmp/multipartBody2494210578557965299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959223273,"filename":"image_07112025_18_15_00_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399764930","file1":"1399764903","file0":"1399764829","file4":"1399764932","file5":"1399764933","file3":"1399764931"},"map_files_photo_id_array":[{"photo_id":"1399764933","filename":"file5"},{"photo_id":"1399764930","filename":"file2"},{"photo_id":"1399764932","filename":"file4"},{"photo_id":"1399764903","filename":"file1"},{"photo_id":"1399764829","filename":"file0"},{"photo_id":"1399764931","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399764829":["hashtag1","hashtag2"]},{"1399764930":["hashtag1","hashtag2"]},{"1399764903":["hashtag1","hashtag2"]},{"1399764933":["hashtag1","hashtag2"]},{"1399764932":["hashtag1","hashtag2"]},{"1399764931":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399764829, 1399764930, 1399764903, 1399764933, 1399764932, 1399764931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.387969970703125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:13:21.891303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/06/image_17122025_09_07_05_10713.jpg', '/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_15_9805.jpg', '/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_25_9671.jpg', '/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_35_9756.jpg', '/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_45_10724.jpg', '/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_55_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/06/image_17122025_09_07_05_10713.jpg
/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_15_9805.jpg
/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_25_9671.jpg
/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_35_9756.jpg
/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_45_10724.jpg
/home/pi/Desktop/images/17122025/09/07/image_17122025_09_07_55_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765018","1399765003","1399765020","1399764993","1399765023","1399765001"],"photo_ids_order":["1399764993","1399765001","1399765003","1399765018","1399765020","1399765023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08c03338bf403498099cdf50e5b6d209.jpg","text":"TemporaryFile(/tmp/multipartBody154933393815732071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959262517,"filename":"image_17122025_09_07_35_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f27a0c3859c5f9d5069574e2930d2736.jpg","text":"TemporaryFile(/tmp/multipartBody3977441884510672475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959262517,"filename":"image_17122025_09_07_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8698cf10cf5e75d892100354786c5215.jpg","text":"TemporaryFile(/tmp/multipartBody2550934920221114368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959262517,"filename":"image_17122025_09_07_45_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34d3a50b938b9a2fd890510f079ecb68.jpg","text":"TemporaryFile(/tmp/multipartBody8230764841441230548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959262517,"filename":"image_17122025_09_07_05_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/536b31adf34d09aaf75a6babb016555f.jpg","text":"TemporaryFile(/tmp/multipartBody4078264854095686759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959262517,"filename":"image_17122025_09_07_55_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38333f930a56934f2bed83e7fba911d9.jpg","text":"TemporaryFile(/tmp/multipartBody1253557467064238126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959262517,"filename":"image_17122025_09_07_15_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765003","file1":"1399765001","file0":"1399764993","file4":"1399765020","file5":"1399765023","file3":"1399765018"},"map_files_photo_id_array":[{"photo_id":"1399765023","filename":"file5"},{"photo_id":"1399765003","filename":"file2"},{"photo_id":"1399765020","filename":"file4"},{"photo_id":"1399765001","filename":"file1"},{"photo_id":"1399764993","filename":"file0"},{"photo_id":"1399765018","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765018":["hashtag1","hashtag2"]},{"1399765003":["hashtag1","hashtag2"]},{"1399765020":["hashtag1","hashtag2"]},{"1399764993":["hashtag1","hashtag2"]},{"1399765023":["hashtag1","hashtag2"]},{"1399765001":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765018, 1399765003, 1399765020, 1399764993, 1399765023, 1399765001)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65304732322693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:14:02.692954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/07/image_17122025_09_08_05_9751.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_15_10640.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_25_9661.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_35_9598.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_45_10796.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_55_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/07/image_17122025_09_08_05_9751.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_15_10640.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_25_9661.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_35_9598.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_45_10796.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_55_9717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5500218868255615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:14:12.117762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:14:22.145560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/07/image_17122025_09_08_05_9751.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_15_10640.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_25_9661.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_35_9598.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_45_10796.jpg', '/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_55_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/07/image_17122025_09_08_05_9751.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_15_10640.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_25_9661.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_35_9598.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_45_10796.jpg
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_08_55_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765074","1399765079","1399765064","1399765088","1399765090","1399765072"],"photo_ids_order":["1399765064","1399765072","1399765074","1399765079","1399765088","1399765090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02c2656a81c03ad4d49e8715fd8d0498.jpg","text":"TemporaryFile(/tmp/multipartBody5593027293882529629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959322745,"filename":"image_17122025_09_08_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1fe43d70d9a7641abbfe4587712c892.jpg","text":"TemporaryFile(/tmp/multipartBody545954980364645496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959322745,"filename":"image_17122025_09_08_35_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33cb18be81610b20d6bce8e8c0b8b132.jpg","text":"TemporaryFile(/tmp/multipartBody2162869847230786853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959322745,"filename":"image_17122025_09_08_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b31f4a09f48363ea003203ff921786c.jpg","text":"TemporaryFile(/tmp/multipartBody6119677471817354759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959322745,"filename":"image_17122025_09_08_45_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6e7bbc7f2a5803ffc744714f5af2787.jpg","text":"TemporaryFile(/tmp/multipartBody1957061377287069189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959322745,"filename":"image_17122025_09_08_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f1f7e16221324c743b510da87888676.jpg","text":"TemporaryFile(/tmp/multipartBody8663923859321095937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959322745,"filename":"image_17122025_09_08_15_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765074","file1":"1399765072","file0":"1399765064","file4":"1399765088","file5":"1399765090","file3":"1399765079"},"map_files_photo_id_array":[{"photo_id":"1399765090","filename":"file5"},{"photo_id":"1399765074","filename":"file2"},{"photo_id":"1399765088","filename":"file4"},{"photo_id":"1399765072","filename":"file1"},{"photo_id":"1399765064","filename":"file0"},{"photo_id":"1399765079","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765074":["hashtag1","hashtag2"]},{"1399765079":["hashtag1","hashtag2"]},{"1399765064":["hashtag1","hashtag2"]},{"1399765088":["hashtag1","hashtag2"]},{"1399765090":["hashtag1","hashtag2"]},{"1399765072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765074, 1399765079, 1399765064, 1399765088, 1399765090, 1399765072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.424429416656494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:15:02.901189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/08/image_17122025_09_09_05_9666.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_16_10641.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_25_9652.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_35_9643.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_45_10627.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_55_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_09_05_9666.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_16_10641.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_25_9652.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_35_9643.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_45_10627.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_55_9679.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6140694618225098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:15:12.456996
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:15:22.466416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/08/image_17122025_09_09_05_9666.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_16_10641.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_25_9652.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_35_9643.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_45_10627.jpg', '/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_55_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/08/image_17122025_09_09_05_9666.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_16_10641.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_25_9652.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_35_9643.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_45_10627.jpg
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_09_55_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":["1399765100","1399765103","1399765106","1399765096","1399765108","1399765098"],"photo_ids_order":["1399765096","1399765098","1399765100","1399765103","1399765106","1399765108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2d235b65d72a18e69e20bdd1fe4d838.jpg","text":"TemporaryFile(/tmp/multipartBody6963496751802329035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959383098,"filename":"image_17122025_09_09_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd64c8410c46491e1085ca4ebc8b346e.jpg","text":"TemporaryFile(/tmp/multipartBody7062338388702483885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959383098,"filename":"image_17122025_09_09_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d29241cab5a78d5cf142c7a25b708c3.jpg","text":"TemporaryFile(/tmp/multipartBody3831045692592117211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959383098,"filename":"image_17122025_09_09_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d78a8c93cf487f1cc75dd66e891a5f05.jpg","text":"TemporaryFile(/tmp/multipartBody6252454534385141294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959383098,"filename":"image_17122025_09_09_05_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/015d38bcd6ace1bd9cbde8a47cb5e796.jpg","text":"TemporaryFile(/tmp/multipartBody9003883248546860780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959383098,"filename":"image_17122025_09_09_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74109c7f68f1cbd790dfd03eee968ee5.jpg","text":"TemporaryFile(/tmp/multipartBody1219216376474548979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959383098,"filename":"image_17122025_09_09_16_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765100","file1":"1399765098","file0":"1399765096","file4":"1399765106","file5":"1399765108","file3":"1399765103"},"map_files_photo_id_array":[{"photo_id":"1399765108","filename":"file5"},{"photo_id":"1399765100","filename":"file2"},{"photo_id":"1399765106","filename":"file4"},{"photo_id":"1399765098","filename":"file1"},{"photo_id":"1399765096","filename":"file0"},{"photo_id":"1399765103","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765100":["hashtag1","hashtag2"]},{"1399765103":["hashtag1","hashtag2"]},{"1399765106":["hashtag1","hashtag2"]},{"1399765096":["hashtag1","hashtag2"]},{"1399765108":["hashtag1","hashtag2"]},{"1399765098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765100, 1399765103, 1399765106, 1399765096, 1399765108, 1399765098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.383307456970215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:16:02.999719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/09/image_17122025_09_10_05_9687.jpg', '/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_15_9704.jpg', '/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_25_10723.jpg', '/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_35_9596.jpg', '/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_45_9718.jpg', '/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_55_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/09/image_17122025_09_10_05_9687.jpg
/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_15_9704.jpg
/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_25_10723.jpg
/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_35_9596.jpg
/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_45_9718.jpg
/home/pi/Desktop/images/17122025/09/10/image_17122025_09_10_55_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765164","1399765134","1399765131","1399765133","1399765136","1399765132"],"photo_ids_order":["1399765131","1399765132","1399765133","1399765134","1399765136","1399765164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adb9ac8c436eec57549de5ceb1cc92cc.jpg","text":"TemporaryFile(/tmp/multipartBody919774758932115612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959423667,"filename":"image_17122025_09_10_55_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec6f3b44c0b4031f32b40fc71c9c7c15.jpg","text":"TemporaryFile(/tmp/multipartBody4336763947921855175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959423667,"filename":"image_17122025_09_10_35_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c64978f77383824bb509887969d2b7ae.jpg","text":"TemporaryFile(/tmp/multipartBody4764904702621164465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959423667,"filename":"image_17122025_09_10_05_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc8ade0b5f1c101ceeb71b2acdc43d0f.jpg","text":"TemporaryFile(/tmp/multipartBody4686209586367276416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959423667,"filename":"image_17122025_09_10_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfab1ebc9af1058a999fb839da068a77.jpg","text":"TemporaryFile(/tmp/multipartBody473249927299256322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959423667,"filename":"image_17122025_09_10_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e653f3969fe6d95992a6a502a090b44.jpg","text":"TemporaryFile(/tmp/multipartBody8544505275711107121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959423667,"filename":"image_17122025_09_10_15_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765133","file1":"1399765132","file0":"1399765131","file4":"1399765136","file5":"1399765164","file3":"1399765134"},"map_files_photo_id_array":[{"photo_id":"1399765164","filename":"file5"},{"photo_id":"1399765133","filename":"file2"},{"photo_id":"1399765136","filename":"file4"},{"photo_id":"1399765132","filename":"file1"},{"photo_id":"1399765131","filename":"file0"},{"photo_id":"1399765134","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765164":["hashtag1","hashtag2"]},{"1399765134":["hashtag1","hashtag2"]},{"1399765131":["hashtag1","hashtag2"]},{"1399765133":["hashtag1","hashtag2"]},{"1399765136":["hashtag1","hashtag2"]},{"1399765132":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765164, 1399765134, 1399765131, 1399765133, 1399765136, 1399765132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19049835205078 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:16:42.544307
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_09_2512.jpg', '/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_13_3667.jpg', '/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_15_2734.jpg', '/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_25_3617.jpg', '/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_27_2599.jpg', '/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_30_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_09_2512.jpg
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_13_3667.jpg
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_15_2734.jpg
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_25_3617.jpg
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_27_2599.jpg
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_30_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765185","1399765194","1399765187","1399765192","1399765195","1399765189"],"photo_ids_order":["1399765185","1399765187","1399765189","1399765192","1399765194","1399765195"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddb87eaa7111bb5d1c0ea2131f1db3b8.jpg","text":"TemporaryFile(/tmp/multipartBody5908711375839496764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959463302,"filename":"image_07112025_18_15_09_2512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9f36bf692bdc276aa4951ab23ae4b43.jpg","text":"TemporaryFile(/tmp/multipartBody149175833779305754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959463302,"filename":"image_07112025_18_15_27_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc927138dd019268d99c9ac666919f96.jpg","text":"TemporaryFile(/tmp/multipartBody4801761006230061883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959463302,"filename":"image_07112025_18_15_13_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/016b22630d88c2a1a016810de632bc54.jpg","text":"TemporaryFile(/tmp/multipartBody5661134461732921352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959463302,"filename":"image_07112025_18_15_25_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5416db7cc6582360b05a69978141a1d1.jpg","text":"TemporaryFile(/tmp/multipartBody7056782552904653634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959463302,"filename":"image_07112025_18_15_30_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f357539200f1479f523eb429ba3e0be.jpg","text":"TemporaryFile(/tmp/multipartBody4604243835063566678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959463302,"filename":"image_07112025_18_15_15_2734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765189","file1":"1399765187","file0":"1399765185","file4":"1399765194","file5":"1399765195","file3":"1399765192"},"map_files_photo_id_array":[{"photo_id":"1399765195","filename":"file5"},{"photo_id":"1399765189","filename":"file2"},{"photo_id":"1399765194","filename":"file4"},{"photo_id":"1399765187","filename":"file1"},{"photo_id":"1399765185","filename":"file0"},{"photo_id":"1399765192","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399765185":["hashtag1","hashtag2"]},{"1399765194":["hashtag1","hashtag2"]},{"1399765187":["hashtag1","hashtag2"]},{"1399765192":["hashtag1","hashtag2"]},{"1399765195":["hashtag1","hashtag2"]},{"1399765189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399765185, 1399765194, 1399765187, 1399765192, 1399765195, 1399765189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.06678223609924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:17:22.784698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/10/image_17122025_09_11_05_9749.jpg', '/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_15_9722.jpg', '/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_25_10628.jpg', '/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_35_9618.jpg', '/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_45_9712.jpg', '/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_55_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/10/image_17122025_09_11_05_9749.jpg
/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_15_9722.jpg
/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_25_10628.jpg
/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_35_9618.jpg
/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_45_9712.jpg
/home/pi/Desktop/images/17122025/09/11/image_17122025_09_11_55_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":["1399765200","1399765199","1399765202","1399765204","1399765207","1399765197"],"photo_ids_order":["1399765197","1399765199","1399765200","1399765202","1399765204","1399765207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bd4867dd4bc6bcb85042ed6ff4f2e6a.jpg","text":"TemporaryFile(/tmp/multipartBody1467580004971017353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959503384,"filename":"image_17122025_09_11_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f354add0b3aa9d60f88c518d771a0eb7.jpg","text":"TemporaryFile(/tmp/multipartBody2018570951552446917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959503384,"filename":"image_17122025_09_11_15_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8669be749e2f812f96ec01eff4c228c.jpg","text":"TemporaryFile(/tmp/multipartBody1819855366208753468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959503384,"filename":"image_17122025_09_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/2025/12/17/e9ca03a64adc7dccf66236b677a26ea0.jpg","text":"TemporaryFile(/tmp/multipartBody1910073371921491699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959503384,"filename":"image_17122025_09_11_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7258e37795b3d8854c46c6e3961b9e78.jpg","text":"TemporaryFile(/tmp/multipartBody5340755788016415727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959503384,"filename":"image_17122025_09_11_55_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d68b5f366379efb6aa88d87afe43c6b.jpg","text":"TemporaryFile(/tmp/multipartBody7249218389685783276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959503384,"filename":"image_17122025_09_11_05_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765200","file1":"1399765199","file0":"1399765197","file4":"1399765204","file5":"1399765207","file3":"1399765202"},"map_files_photo_id_array":[{"photo_id":"1399765207","filename":"file5"},{"photo_id":"1399765200","filename":"file2"},{"photo_id":"1399765204","filename":"file4"},{"photo_id":"1399765199","filename":"file1"},{"photo_id":"1399765197","filename":"file0"},{"photo_id":"1399765202","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765200":["hashtag1","hashtag2"]},{"1399765199":["hashtag1","hashtag2"]},{"1399765202":["hashtag1","hashtag2"]},{"1399765204":["hashtag1","hashtag2"]},{"1399765207":["hashtag1","hashtag2"]},{"1399765197":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765200, 1399765199, 1399765202, 1399765204, 1399765207, 1399765197)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.8077437877655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:18:12.023375
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:18:22.003734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/11/image_17122025_09_12_05_9757.jpg', '/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_15_9725.jpg', '/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_25_9673.jpg', '/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_35_10524.jpg', '/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_45_9828.jpg', '/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/11/image_17122025_09_12_05_9757.jpg
/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_15_9725.jpg
/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_25_9673.jpg
/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_35_10524.jpg
/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_45_9828.jpg
/home/pi/Desktop/images/17122025/09/12/image_17122025_09_12_55_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":["1399765212","1399765220","1399765214","1399765217","1399765240","1399765210"],"photo_ids_order":["1399765210","1399765212","1399765214","1399765217","1399765220","1399765240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69b9d85b89776a9b3d36fccd11042eee.jpg","text":"TemporaryFile(/tmp/multipartBody7687828524449112085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959562591,"filename":"image_17122025_09_12_15_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc6fcfed1d73f9893c7d0b02eedb0978.jpg","text":"TemporaryFile(/tmp/multipartBody4407829680043467905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959562591,"filename":"image_17122025_09_12_45_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c64283c8488e2f426041227508cd4e26.jpg","text":"TemporaryFile(/tmp/multipartBody5596509799369175020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959562591,"filename":"image_17122025_09_12_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f43932fa409d876ac403a3ef4ba702d7.jpg","text":"TemporaryFile(/tmp/multipartBody2101414232425511933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959562591,"filename":"image_17122025_09_12_35_10524.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/519d666ad4c3fdbb19831962b302e3cd.jpg","text":"TemporaryFile(/tmp/multipartBody7472522786453527061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959562591,"filename":"image_17122025_09_12_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4667d5e949f0499c071d1124bb4cc5d1.jpg","text":"TemporaryFile(/tmp/multipartBody8973778209616399458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959562591,"filename":"image_17122025_09_12_05_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765214","file1":"1399765212","file0":"1399765210","file4":"1399765220","file5":"1399765240","file3":"1399765217"},"map_files_photo_id_array":[{"photo_id":"1399765240","filename":"file5"},{"photo_id":"1399765214","filename":"file2"},{"photo_id":"1399765220","filename":"file4"},{"photo_id":"1399765212","filename":"file1"},{"photo_id":"1399765210","filename":"file0"},{"photo_id":"1399765217","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765212":["hashtag1","hashtag2"]},{"1399765220":["hashtag1","hashtag2"]},{"1399765214":["hashtag1","hashtag2"]},{"1399765217":["hashtag1","hashtag2"]},{"1399765240":["hashtag1","hashtag2"]},{"1399765210":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765212, 1399765220, 1399765214, 1399765217, 1399765240, 1399765210)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57537508010864 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:19:03.288574
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/12/image_17122025_09_13_05_10582.jpg', '/home/pi/Desktop/images/17122025/09/13/image_17122025_09_13_25_9766.jpg', '/home/pi/Desktop/images/17122025/09/13/image_17122025_09_13_35_10689.jpg', '/home/pi/Desktop/images/17122025/09/13/image_17122025_09_13_45_9709.jpg', '/home/pi/Desktop/images/17122025/09/13/image_17122025_09_13_55_9665.jpg', '/home/pi/Desktop/images/17122025/09/13/image_17122025_09_14_05_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/12/image_17122025_09_13_05_10582.jpg
/home/pi/Desktop/images/17122025/09/13/image_17122025_09_13_25_9766.jpg
/home/pi/Desktop/images/17122025/09/13/image_17122025_09_13_35_10689.jpg
/home/pi/Desktop/images/17122025/09/13/image_17122025_09_13_45_9709.jpg
/home/pi/Desktop/images/17122025/09/13/image_17122025_09_13_55_9665.jpg
/home/pi/Desktop/images/17122025/09/13/image_17122025_09_14_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399765386","1399765419","1399765421","1399765418","1399765420","1399765423"],"photo_ids_order":["1399765386","1399765418","1399765419","1399765420","1399765421","1399765423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60563ffe4ef2b9bd7eb958fffe72406c.jpg","text":"TemporaryFile(/tmp/multipartBody181200953869225496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959604133,"filename":"image_17122025_09_13_05_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de75eec1d2b55c487faabb704cb80679.jpg","text":"TemporaryFile(/tmp/multipartBody5605813278001579504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959604133,"filename":"image_17122025_09_13_35_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58afe98bba8ce0e9d45adead58173c10.jpg","text":"TemporaryFile(/tmp/multipartBody8298840288276700817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959604133,"filename":"image_17122025_09_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/2025/12/17/843fea816c487c1b45ba2b5646f09e4d.jpg","text":"TemporaryFile(/tmp/multipartBody7050730062257564305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959604133,"filename":"image_17122025_09_13_25_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2d71ce60c2b6fc3d0c3468af3dc59e8.jpg","text":"TemporaryFile(/tmp/multipartBody8916380695918028013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959604133,"filename":"image_17122025_09_13_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9744949fc8c5b696ad18ce952ed462ba.jpg","text":"TemporaryFile(/tmp/multipartBody2879515430950458504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959604133,"filename":"image_17122025_09_14_05_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765419","file1":"1399765418","file0":"1399765386","file4":"1399765421","file5":"1399765423","file3":"1399765420"},"map_files_photo_id_array":[{"photo_id":"1399765423","filename":"file5"},{"photo_id":"1399765419","filename":"file2"},{"photo_id":"1399765421","filename":"file4"},{"photo_id":"1399765418","filename":"file1"},{"photo_id":"1399765386","filename":"file0"},{"photo_id":"1399765420","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765386":["hashtag1","hashtag2"]},{"1399765419":["hashtag1","hashtag2"]},{"1399765421":["hashtag1","hashtag2"]},{"1399765418":["hashtag1","hashtag2"]},{"1399765420":["hashtag1","hashtag2"]},{"1399765423":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765386, 1399765419, 1399765421, 1399765418, 1399765420, 1399765423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.090648889541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:20:02.563721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_15_9702.jpg', '/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_25_9641.jpg', '/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_35_10574.jpg', '/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_45_9615.jpg', '/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_55_9680.jpg', '/home/pi/Desktop/images/17122025/09/14/image_17122025_09_15_05_10614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_15_9702.jpg
/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_25_9641.jpg
/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_35_10574.jpg
/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_45_9615.jpg
/home/pi/Desktop/images/17122025/09/14/image_17122025_09_14_55_9680.jpg
/home/pi/Desktop/images/17122025/09/14/image_17122025_09_15_05_10614.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":["1399765695","1399765584","1399765737","1399765658","1399765549","1399765618"],"photo_ids_order":["1399765549","1399765584","1399765618","1399765658","1399765695","1399765737"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6f245d1b140b7f320b55228279920a5.jpg","text":"TemporaryFile(/tmp/multipartBody7915507748194277331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959665740,"filename":"image_17122025_09_14_55_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8bbe01fc6889c99c1d9cbd281f43327.jpg","text":"TemporaryFile(/tmp/multipartBody9167146719411845498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959665740,"filename":"image_17122025_09_14_25_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8c601503b9dde034e6e2588142e8fb9.jpg","text":"TemporaryFile(/tmp/multipartBody389050849854135498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959665740,"filename":"image_17122025_09_15_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f1b3ab0c214a59fde8bef00150301ad.jpg","text":"TemporaryFile(/tmp/multipartBody82445884074843794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959665740,"filename":"image_17122025_09_14_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ecd08f466179e37d8b7ac00f0a78550.jpg","text":"TemporaryFile(/tmp/multipartBody1449591007601090298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959665740,"filename":"image_17122025_09_14_15_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db46104891ec9fd465bdfc186f6f34c5.jpg","text":"TemporaryFile(/tmp/multipartBody6772341236535645101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959665740,"filename":"image_17122025_09_14_35_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765618","file1":"1399765584","file0":"1399765549","file4":"1399765695","file5":"1399765737","file3":"1399765658"},"map_files_photo_id_array":[{"photo_id":"1399765737","filename":"file5"},{"photo_id":"1399765618","filename":"file2"},{"photo_id":"1399765695","filename":"file4"},{"photo_id":"1399765584","filename":"file1"},{"photo_id":"1399765549","filename":"file0"},{"photo_id":"1399765658","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765695":["hashtag1","hashtag2"]},{"1399765584":["hashtag1","hashtag2"]},{"1399765737":["hashtag1","hashtag2"]},{"1399765658":["hashtag1","hashtag2"]},{"1399765549":["hashtag1","hashtag2"]},{"1399765618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765695, 1399765584, 1399765737, 1399765658, 1399765549, 1399765618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.36779546737671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:21:02.901699
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_15_9748.jpg', '/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_25_9730.jpg', '/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_35_10665.jpg', '/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_45_9867.jpg', '/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_55_9614.jpg', '/home/pi/Desktop/images/17122025/09/15/image_17122025_09_16_05_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_15_9748.jpg
/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_25_9730.jpg
/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_35_10665.jpg
/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_45_9867.jpg
/home/pi/Desktop/images/17122025/09/15/image_17122025_09_15_55_9614.jpg
/home/pi/Desktop/images/17122025/09/15/image_17122025_09_16_05_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765767","1399765772","1399765769","1399765768","1399765765","1399765770"],"photo_ids_order":["1399765765","1399765767","1399765768","1399765769","1399765770","1399765772"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4c47492fcc2c79e7aa3b85934084db0.jpg","text":"TemporaryFile(/tmp/multipartBody5638390750907946273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959723570,"filename":"image_17122025_09_15_25_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d294a341117610c9a74d70ade50a50e7.jpg","text":"TemporaryFile(/tmp/multipartBody6824195892942945058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959723570,"filename":"image_17122025_09_16_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83be73dff878706e741100d6e60257c9.jpg","text":"TemporaryFile(/tmp/multipartBody5134841136117386563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959723570,"filename":"image_17122025_09_15_45_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9186a973f532b2f52d7891ee78db9310.jpg","text":"TemporaryFile(/tmp/multipartBody2293653996515918686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959723570,"filename":"image_17122025_09_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/2025/12/17/1ec1b81fe5be67a3d4a3e57f95058f03.jpg","text":"TemporaryFile(/tmp/multipartBody3980671109745169952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959723570,"filename":"image_17122025_09_15_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/473b975d7c8018cba4a0a49ab4283fab.jpg","text":"TemporaryFile(/tmp/multipartBody7053582898830820085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959723570,"filename":"image_17122025_09_15_55_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765768","file1":"1399765767","file0":"1399765765","file4":"1399765770","file5":"1399765772","file3":"1399765769"},"map_files_photo_id_array":[{"photo_id":"1399765772","filename":"file5"},{"photo_id":"1399765768","filename":"file2"},{"photo_id":"1399765770","filename":"file4"},{"photo_id":"1399765767","filename":"file1"},{"photo_id":"1399765765","filename":"file0"},{"photo_id":"1399765769","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765767":["hashtag1","hashtag2"]},{"1399765772":["hashtag1","hashtag2"]},{"1399765769":["hashtag1","hashtag2"]},{"1399765768":["hashtag1","hashtag2"]},{"1399765765":["hashtag1","hashtag2"]},{"1399765770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765767, 1399765772, 1399765769, 1399765768, 1399765765, 1399765770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.047791481018066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:21:42.425413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_51_3557.jpg', '/home/pi/Desktop/images/07112025/18/16/image_07112025_18_16_22_1867.jpg', '/home/pi/Desktop/images/07112025/18/16/image_07112025_18_16_28_3132.jpg', '/home/pi/Desktop/images/07112025/18/18/image_07112025_18_18_18_2909.jpg', '/home/pi/Desktop/images/07112025/18/18/image_07112025_18_18_30_3814.jpg', '/home/pi/Desktop/images/07112025/18/18/image_07112025_18_18_36_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/15/image_07112025_18_15_51_3557.jpg
/home/pi/Desktop/images/07112025/18/16/image_07112025_18_16_22_1867.jpg
/home/pi/Desktop/images/07112025/18/16/image_07112025_18_16_28_3132.jpg
/home/pi/Desktop/images/07112025/18/18/image_07112025_18_18_18_2909.jpg
/home/pi/Desktop/images/07112025/18/18/image_07112025_18_18_30_3814.jpg
/home/pi/Desktop/images/07112025/18/18/image_07112025_18_18_36_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765782","1399765781","1399765783","1399765777","1399765785","1399765779"],"photo_ids_order":["1399765777","1399765779","1399765781","1399765782","1399765783","1399765785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/974e74dad463a4bc86cc590a63ea0dd6.jpg","text":"TemporaryFile(/tmp/multipartBody4400875017752338372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959763179,"filename":"image_07112025_18_18_18_2909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db005613c71bec73bde6971efc5ae4ee.jpg","text":"TemporaryFile(/tmp/multipartBody5498773789547750776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959763179,"filename":"image_07112025_18_16_28_3132.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d12a35f4c9ba7c756b3daef7c20524f.jpg","text":"TemporaryFile(/tmp/multipartBody8367155253622398669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959763179,"filename":"image_07112025_18_18_30_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6de3cb6d96c3834e67003bc53fe1b587.jpg","text":"TemporaryFile(/tmp/multipartBody2973458579455568427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959763179,"filename":"image_07112025_18_15_51_3557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/025a173e336b26130d5f3c2a6de5acba.jpg","text":"TemporaryFile(/tmp/multipartBody8583604554736182345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959763179,"filename":"image_07112025_18_18_36_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cc7745fd32e83dd3dcc4e623988cd80.jpg","text":"TemporaryFile(/tmp/multipartBody3040175219119841590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959763179,"filename":"image_07112025_18_16_22_1867.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765781","file1":"1399765779","file0":"1399765777","file4":"1399765783","file5":"1399765785","file3":"1399765782"},"map_files_photo_id_array":[{"photo_id":"1399765785","filename":"file5"},{"photo_id":"1399765781","filename":"file2"},{"photo_id":"1399765783","filename":"file4"},{"photo_id":"1399765779","filename":"file1"},{"photo_id":"1399765777","filename":"file0"},{"photo_id":"1399765782","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399765782":["hashtag1","hashtag2"]},{"1399765781":["hashtag1","hashtag2"]},{"1399765783":["hashtag1","hashtag2"]},{"1399765777":["hashtag1","hashtag2"]},{"1399765785":["hashtag1","hashtag2"]},{"1399765779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399765782, 1399765781, 1399765783, 1399765777, 1399765785, 1399765779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65013003349304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:22:23.366843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_15_10662.jpg', '/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_25_9626.jpg', '/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_35_9632.jpg', '/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_45_10666.jpg', '/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_55_9729.jpg', '/home/pi/Desktop/images/17122025/09/16/image_17122025_09_17_05_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_15_10662.jpg
/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_25_9626.jpg
/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_35_9632.jpg
/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_45_10666.jpg
/home/pi/Desktop/images/17122025/09/16/image_17122025_09_16_55_9729.jpg
/home/pi/Desktop/images/17122025/09/16/image_17122025_09_17_05_9755.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765794","1399765788","1399765796","1399765799","1399765790","1399765792"],"photo_ids_order":["1399765788","1399765790","1399765792","1399765794","1399765796","1399765799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc58a04b5e4c99b685ac2f959ea79470.jpg","text":"TemporaryFile(/tmp/multipartBody4904449273851543906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959804026,"filename":"image_17122025_09_16_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f65ddcb1e264fa74a3d0c53835a44fe.jpg","text":"TemporaryFile(/tmp/multipartBody4871336686166742398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959804026,"filename":"image_17122025_09_16_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28a2bc5a3279739d03213565f11b9ce9.jpg","text":"TemporaryFile(/tmp/multipartBody6614526736301510076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959804026,"filename":"image_17122025_09_16_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1aa6f23d5d881df431ea8344fe4620b.jpg","text":"TemporaryFile(/tmp/multipartBody1419169984717795116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959804026,"filename":"image_17122025_09_17_05_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9ddc5bcd407a23bc0a30fa264103790.jpg","text":"TemporaryFile(/tmp/multipartBody8132756497838325724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959804026,"filename":"image_17122025_09_16_25_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c28b1fba31c6a055c7152842933769a5.jpg","text":"TemporaryFile(/tmp/multipartBody7179255053590436437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959804026,"filename":"image_17122025_09_16_35_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765792","file1":"1399765790","file0":"1399765788","file4":"1399765796","file5":"1399765799","file3":"1399765794"},"map_files_photo_id_array":[{"photo_id":"1399765799","filename":"file5"},{"photo_id":"1399765792","filename":"file2"},{"photo_id":"1399765796","filename":"file4"},{"photo_id":"1399765790","filename":"file1"},{"photo_id":"1399765788","filename":"file0"},{"photo_id":"1399765794","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765794":["hashtag1","hashtag2"]},{"1399765788":["hashtag1","hashtag2"]},{"1399765796":["hashtag1","hashtag2"]},{"1399765799":["hashtag1","hashtag2"]},{"1399765790":["hashtag1","hashtag2"]},{"1399765792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765794, 1399765788, 1399765796, 1399765799, 1399765790, 1399765792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01704478263855 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:23:02.491203
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_15_10669.jpg', '/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_25_9740.jpg', '/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_35_9700.jpg', '/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_45_9694.jpg', '/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_55_10696.jpg', '/home/pi/Desktop/images/17122025/09/17/image_17122025_09_18_05_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_15_10669.jpg
/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_25_9740.jpg
/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_35_9700.jpg
/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_45_9694.jpg
/home/pi/Desktop/images/17122025/09/17/image_17122025_09_17_55_10696.jpg
/home/pi/Desktop/images/17122025/09/17/image_17122025_09_18_05_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":["1399765803","1399765806","1399765800","1399765802","1399765804","1399765801"],"photo_ids_order":["1399765800","1399765801","1399765802","1399765803","1399765804","1399765806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a0df95938151e44d584d1eaede8000c.jpg","text":"TemporaryFile(/tmp/multipartBody5729000209305912083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959843151,"filename":"image_17122025_09_17_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f573e9c8fe3f713b2e550da4e6e0e07d.jpg","text":"TemporaryFile(/tmp/multipartBody726358292219526168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959843151,"filename":"image_17122025_09_18_05_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e2a80ceecc093a08bcd13100704afad.jpg","text":"TemporaryFile(/tmp/multipartBody5696869234308106254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959843151,"filename":"image_17122025_09_17_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e860808fb13572a1abd551184be30dc9.jpg","text":"TemporaryFile(/tmp/multipartBody281637110747744505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959843151,"filename":"image_17122025_09_17_35_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a06f461113651d71b598a0e8e23b629c.jpg","text":"TemporaryFile(/tmp/multipartBody3101101085714114410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959843151,"filename":"image_17122025_09_17_55_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d71e8ba207ea56dbcb93986ed1d87aa.jpg","text":"TemporaryFile(/tmp/multipartBody555843679259645899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959843151,"filename":"image_17122025_09_17_25_9740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765802","file1":"1399765801","file0":"1399765800","file4":"1399765804","file5":"1399765806","file3":"1399765803"},"map_files_photo_id_array":[{"photo_id":"1399765806","filename":"file5"},{"photo_id":"1399765802","filename":"file2"},{"photo_id":"1399765804","filename":"file4"},{"photo_id":"1399765801","filename":"file1"},{"photo_id":"1399765800","filename":"file0"},{"photo_id":"1399765803","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765803":["hashtag1","hashtag2"]},{"1399765806":["hashtag1","hashtag2"]},{"1399765800":["hashtag1","hashtag2"]},{"1399765802":["hashtag1","hashtag2"]},{"1399765804":["hashtag1","hashtag2"]},{"1399765801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765803, 1399765806, 1399765800, 1399765802, 1399765804, 1399765801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.37304425239563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:23:41.781955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/18/image_07112025_18_18_48_2658.jpg', '/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_03_2700.jpg', '/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_05_2867.jpg', '/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_39_2632.jpg', '/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_42_2628.jpg', '/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_45_3688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/18/image_07112025_18_18_48_2658.jpg
/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_03_2700.jpg
/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_05_2867.jpg
/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_39_2632.jpg
/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_42_2628.jpg
/home/pi/Desktop/images/07112025/18/20/image_07112025_18_20_45_3688.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765824","1399765827","1399765826","1399765823","1399765811","1399765825"],"photo_ids_order":["1399765811","1399765823","1399765824","1399765825","1399765826","1399765827"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffb793f66b39d983ed07b59872e0a6f9.jpg","text":"TemporaryFile(/tmp/multipartBody1803449133193740601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959882574,"filename":"image_07112025_18_20_05_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f5218215c02fb91d4ad6fb55a5a93bf.jpg","text":"TemporaryFile(/tmp/multipartBody5055787464942435201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959882574,"filename":"image_07112025_18_20_45_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/371549dc6e1ec8d748f120bac43b79d3.jpg","text":"TemporaryFile(/tmp/multipartBody3189368105117407833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959882574,"filename":"image_07112025_18_20_42_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/887cca62f71cab980bf8c08b153463fc.jpg","text":"TemporaryFile(/tmp/multipartBody9029006971174305421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959882574,"filename":"image_07112025_18_20_03_2700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89292b6d83a7b695b9ff6f751fdca79e.jpg","text":"TemporaryFile(/tmp/multipartBody7711692957473596490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959882574,"filename":"image_07112025_18_18_48_2658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d1b46c99452d678643b02452d5af3c1.jpg","text":"TemporaryFile(/tmp/multipartBody3985619859020883975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959882574,"filename":"image_07112025_18_20_39_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765824","file1":"1399765823","file0":"1399765811","file4":"1399765826","file5":"1399765827","file3":"1399765825"},"map_files_photo_id_array":[{"photo_id":"1399765827","filename":"file5"},{"photo_id":"1399765824","filename":"file2"},{"photo_id":"1399765826","filename":"file4"},{"photo_id":"1399765823","filename":"file1"},{"photo_id":"1399765811","filename":"file0"},{"photo_id":"1399765825","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399765824":["hashtag1","hashtag2"]},{"1399765827":["hashtag1","hashtag2"]},{"1399765826":["hashtag1","hashtag2"]},{"1399765823":["hashtag1","hashtag2"]},{"1399765811":["hashtag1","hashtag2"]},{"1399765825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399765824, 1399765827, 1399765826, 1399765823, 1399765811, 1399765825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.591771602630615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:24:22.052992
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_15_10637.jpg', '/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_25_9688.jpg', '/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_35_9358.jpg', '/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_45_10931.jpg', '/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_55_9792.jpg', '/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_05_9792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_15_10637.jpg
/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_25_9688.jpg
/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_35_9358.jpg
/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_45_10931.jpg
/home/pi/Desktop/images/17122025/09/18/image_17122025_09_18_55_9792.jpg
/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_05_9792.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765833","1399765842","1399765829","1399765837","1399765831","1399765828"],"photo_ids_order":["1399765828","1399765829","1399765831","1399765833","1399765837","1399765842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f14c2904e269b0f311b7b1c41e30f29.jpg","text":"TemporaryFile(/tmp/multipartBody3340121637530671417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959922663,"filename":"image_17122025_09_18_45_10931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4524baeec6a8938dfec4e1c3813dbbd5.jpg","text":"TemporaryFile(/tmp/multipartBody7152161424365935870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959922663,"filename":"image_17122025_09_19_05_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2ba2841ed7fa55c0010261c947b31db.jpg","text":"TemporaryFile(/tmp/multipartBody8412908214366656646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959922663,"filename":"image_17122025_09_18_25_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9c918e4c394baed9f5cb578b0b287ba.jpg","text":"TemporaryFile(/tmp/multipartBody1367419559198380822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959922663,"filename":"image_17122025_09_18_55_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc23e76490a7f3346c3ebdcd79df072d.jpg","text":"TemporaryFile(/tmp/multipartBody1268264118611352102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959922663,"filename":"image_17122025_09_18_35_9358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecbe932f10593172c0395d2496c66376.jpg","text":"TemporaryFile(/tmp/multipartBody4471727618964327953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959922663,"filename":"image_17122025_09_18_15_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765831","file1":"1399765829","file0":"1399765828","file4":"1399765837","file5":"1399765842","file3":"1399765833"},"map_files_photo_id_array":[{"photo_id":"1399765842","filename":"file5"},{"photo_id":"1399765831","filename":"file2"},{"photo_id":"1399765837","filename":"file4"},{"photo_id":"1399765829","filename":"file1"},{"photo_id":"1399765828","filename":"file0"},{"photo_id":"1399765833","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765833":["hashtag1","hashtag2"]},{"1399765842":["hashtag1","hashtag2"]},{"1399765829":["hashtag1","hashtag2"]},{"1399765837":["hashtag1","hashtag2"]},{"1399765831":["hashtag1","hashtag2"]},{"1399765828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765833, 1399765842, 1399765829, 1399765837, 1399765831, 1399765828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94558620452881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:25:03.078319
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_15_9605.jpg', '/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_25_10673.jpg', '/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_35_9942.jpg', '/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_45_9775.jpg', '/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_55_9901.jpg', '/home/pi/Desktop/images/17122025/09/19/image_17122025_09_20_05_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_15_9605.jpg
/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_25_10673.jpg
/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_35_9942.jpg
/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_45_9775.jpg
/home/pi/Desktop/images/17122025/09/19/image_17122025_09_19_55_9901.jpg
/home/pi/Desktop/images/17122025/09/19/image_17122025_09_20_05_9717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765854","1399765856","1399765850","1399765853","1399765855","1399765858"],"photo_ids_order":["1399765850","1399765853","1399765854","1399765855","1399765856","1399765858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c10e0f48ca1ee332b56e360815c9f71.jpg","text":"TemporaryFile(/tmp/multipartBody5708619268124424589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959963757,"filename":"image_17122025_09_19_35_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dffb08b329ab58cf0b38d7ca6c592b5.jpg","text":"TemporaryFile(/tmp/multipartBody2517845075964376720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959963757,"filename":"image_17122025_09_19_55_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4b10fb59b0bc68360f555969596b9ac.jpg","text":"TemporaryFile(/tmp/multipartBody7703720499632161234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959963757,"filename":"image_17122025_09_19_15_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6220a4e9c51ac3368649e0919c550cb0.jpg","text":"TemporaryFile(/tmp/multipartBody4415696276242515679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959963757,"filename":"image_17122025_09_19_25_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09ad180853da6257e1733062387917ad.jpg","text":"TemporaryFile(/tmp/multipartBody4296772660425780069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959963757,"filename":"image_17122025_09_19_45_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93bcffac2d7f400afd7685bb40155327.jpg","text":"TemporaryFile(/tmp/multipartBody7816793931257949137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765959963757,"filename":"image_17122025_09_20_05_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765854","file1":"1399765853","file0":"1399765850","file4":"1399765856","file5":"1399765858","file3":"1399765855"},"map_files_photo_id_array":[{"photo_id":"1399765858","filename":"file5"},{"photo_id":"1399765854","filename":"file2"},{"photo_id":"1399765856","filename":"file4"},{"photo_id":"1399765853","filename":"file1"},{"photo_id":"1399765850","filename":"file0"},{"photo_id":"1399765855","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765854":["hashtag1","hashtag2"]},{"1399765856":["hashtag1","hashtag2"]},{"1399765850":["hashtag1","hashtag2"]},{"1399765853":["hashtag1","hashtag2"]},{"1399765855":["hashtag1","hashtag2"]},{"1399765858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765854, 1399765856, 1399765850, 1399765853, 1399765855, 1399765858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99795126914978 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:25:42.391306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/21/image_07112025_18_21_12_3723.jpg', '/home/pi/Desktop/images/07112025/18/21/image_07112025_18_21_24_3741.jpg', '/home/pi/Desktop/images/07112025/18/21/image_07112025_18_21_29_2653.jpg', '/home/pi/Desktop/images/07112025/18/23/image_07112025_18_23_51_1583.jpg', '/home/pi/Desktop/images/07112025/18/23/image_07112025_18_23_54_1560.jpg', '/home/pi/Desktop/images/07112025/18/23/image_07112025_18_23_56_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/21/image_07112025_18_21_12_3723.jpg
/home/pi/Desktop/images/07112025/18/21/image_07112025_18_21_24_3741.jpg
/home/pi/Desktop/images/07112025/18/21/image_07112025_18_21_29_2653.jpg
/home/pi/Desktop/images/07112025/18/23/image_07112025_18_23_51_1583.jpg
/home/pi/Desktop/images/07112025/18/23/image_07112025_18_23_54_1560.jpg
/home/pi/Desktop/images/07112025/18/23/image_07112025_18_23_56_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":["1399765869","1399765871","1399765868","1399765867","1399765870","1399765864"],"photo_ids_order":["1399765864","1399765867","1399765868","1399765869","1399765870","1399765871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/222c63f749cdcb89d85c3d02bf67dee7.jpg","text":"TemporaryFile(/tmp/multipartBody2772852871305576112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960003146,"filename":"image_07112025_18_23_51_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d6c170c78d65483396349decd28f3c8.jpg","text":"TemporaryFile(/tmp/multipartBody5770779949168892777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960003146,"filename":"image_07112025_18_23_56_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6137582674fddb6682059487f6aeaa79.jpg","text":"TemporaryFile(/tmp/multipartBody2749906496319158032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960003146,"filename":"image_07112025_18_21_29_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3598ff1e4cbcec2d561b3509fb94ff22.jpg","text":"TemporaryFile(/tmp/multipartBody8404185283059414426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960003146,"filename":"image_07112025_18_21_24_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e29fd99a32e7c103a9a33b87842049c.jpg","text":"TemporaryFile(/tmp/multipartBody4569427983360934513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960003146,"filename":"image_07112025_18_23_54_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e430ea19634e0c021e6443cac20bff91.jpg","text":"TemporaryFile(/tmp/multipartBody5799302731875177803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960003146,"filename":"image_07112025_18_21_12_3723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765868","file1":"1399765867","file0":"1399765864","file4":"1399765870","file5":"1399765871","file3":"1399765869"},"map_files_photo_id_array":[{"photo_id":"1399765871","filename":"file5"},{"photo_id":"1399765868","filename":"file2"},{"photo_id":"1399765870","filename":"file4"},{"photo_id":"1399765867","filename":"file1"},{"photo_id":"1399765864","filename":"file0"},{"photo_id":"1399765869","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399765869":["hashtag1","hashtag2"]},{"1399765871":["hashtag1","hashtag2"]},{"1399765868":["hashtag1","hashtag2"]},{"1399765867":["hashtag1","hashtag2"]},{"1399765870":["hashtag1","hashtag2"]},{"1399765864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399765869, 1399765871, 1399765868, 1399765867, 1399765870, 1399765864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87956237792969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:26:22.586513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_15_10719.jpg', '/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_25_9970.jpg', '/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_35_9596.jpg', '/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_48_12939.jpg', '/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_55_6733.jpg', '/home/pi/Desktop/images/17122025/09/20/image_17122025_09_21_05_10597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_15_10719.jpg
/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_25_9970.jpg
/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_35_9596.jpg
/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_48_12939.jpg
/home/pi/Desktop/images/17122025/09/20/image_17122025_09_20_55_6733.jpg
/home/pi/Desktop/images/17122025/09/20/image_17122025_09_21_05_10597.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765881","1399765875","1399765895","1399765877","1399765873","1399765878"],"photo_ids_order":["1399765873","1399765875","1399765877","1399765878","1399765881","1399765895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b745227b4844254c937cf2938c6fdb35.jpg","text":"TemporaryFile(/tmp/multipartBody3473074476469686060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960043344,"filename":"image_17122025_09_20_55_6733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/888353e97540514d13789d774dea7764.jpg","text":"TemporaryFile(/tmp/multipartBody8579443028745617313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960043344,"filename":"image_17122025_09_20_25_9970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eddcf061fb25f46d3026ec7d16ca4f5c.jpg","text":"TemporaryFile(/tmp/multipartBody5487718470137515018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960043344,"filename":"image_17122025_09_21_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b8936863cae629ae0edf43c93017c7f.jpg","text":"TemporaryFile(/tmp/multipartBody4406529254321997779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960043344,"filename":"image_17122025_09_20_35_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d2c84ea310e351e12ed761412bae92b.jpg","text":"TemporaryFile(/tmp/multipartBody6304545795748653675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960043344,"filename":"image_17122025_09_20_15_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a44c593cfca1624838fe27d77abd503d.jpg","text":"TemporaryFile(/tmp/multipartBody8980185673438991754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960043344,"filename":"image_17122025_09_20_48_12939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765877","file1":"1399765875","file0":"1399765873","file4":"1399765881","file5":"1399765895","file3":"1399765878"},"map_files_photo_id_array":[{"photo_id":"1399765895","filename":"file5"},{"photo_id":"1399765877","filename":"file2"},{"photo_id":"1399765881","filename":"file4"},{"photo_id":"1399765875","filename":"file1"},{"photo_id":"1399765873","filename":"file0"},{"photo_id":"1399765878","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765881":["hashtag1","hashtag2"]},{"1399765875":["hashtag1","hashtag2"]},{"1399765895":["hashtag1","hashtag2"]},{"1399765877":["hashtag1","hashtag2"]},{"1399765873":["hashtag1","hashtag2"]},{"1399765878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765881, 1399765875, 1399765895, 1399765877, 1399765873, 1399765878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69464874267578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:27:02.485535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_15_9642.jpg', '/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_25_9801.jpg', '/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_35_10497.jpg', '/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_45_9862.jpg', '/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_55_10384.jpg', '/home/pi/Desktop/images/17122025/09/21/image_17122025_09_22_05_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_15_9642.jpg
/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_25_9801.jpg
/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_35_10497.jpg
/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_45_9862.jpg
/home/pi/Desktop/images/17122025/09/21/image_17122025_09_21_55_10384.jpg
/home/pi/Desktop/images/17122025/09/21/image_17122025_09_22_05_9748.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":["1399765902","1399765898","1399765904","1399765897","1399765900","1399765899"],"photo_ids_order":["1399765897","1399765898","1399765899","1399765900","1399765902","1399765904"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20e4d31b02cbcef2e7096d63e4786edf.jpg","text":"TemporaryFile(/tmp/multipartBody7696381317237604170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960085578,"filename":"image_17122025_09_21_55_10384.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed0ceef37d2cd8a149fd5769bd36b893.jpg","text":"TemporaryFile(/tmp/multipartBody500350583345169003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960085578,"filename":"image_17122025_09_21_25_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b891fb7c77a77f9ba0522349fec4b78e.jpg","text":"TemporaryFile(/tmp/multipartBody1454146638481653037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960085578,"filename":"image_17122025_09_22_05_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86d90b6cd67c3a53bfa98f6340bbffaf.jpg","text":"TemporaryFile(/tmp/multipartBody6753839819193116120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960085578,"filename":"image_17122025_09_21_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf0edb64bab8d7ec4e0e3bc3f9a9850f.jpg","text":"TemporaryFile(/tmp/multipartBody8461678367610079215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960085578,"filename":"image_17122025_09_21_45_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d9ca9cb0e62ab4a7ec81f013f2bba26.jpg","text":"TemporaryFile(/tmp/multipartBody4321138920457561223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960085578,"filename":"image_17122025_09_21_35_10497.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765899","file1":"1399765898","file0":"1399765897","file4":"1399765902","file5":"1399765904","file3":"1399765900"},"map_files_photo_id_array":[{"photo_id":"1399765904","filename":"file5"},{"photo_id":"1399765899","filename":"file2"},{"photo_id":"1399765902","filename":"file4"},{"photo_id":"1399765898","filename":"file1"},{"photo_id":"1399765897","filename":"file0"},{"photo_id":"1399765900","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765902":["hashtag1","hashtag2"]},{"1399765898":["hashtag1","hashtag2"]},{"1399765904":["hashtag1","hashtag2"]},{"1399765897":["hashtag1","hashtag2"]},{"1399765900":["hashtag1","hashtag2"]},{"1399765899":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765902, 1399765898, 1399765904, 1399765897, 1399765900, 1399765899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.2024884223938 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:28:02.517234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_15_9671.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_25_9973.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_35_10593.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_45_9601.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_55_9912.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_23_05_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_15_9671.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_25_9973.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_35_10593.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_45_9601.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_55_9912.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_23_05_9604.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5753724575042725 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:28:11.969268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:28:22.053676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_15_9671.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_25_9973.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_35_10593.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_45_9601.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_55_9912.jpg', '/home/pi/Desktop/images/17122025/09/22/image_17122025_09_23_05_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_15_9671.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_25_9973.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_35_10593.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_45_9601.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_22_55_9912.jpg
/home/pi/Desktop/images/17122025/09/22/image_17122025_09_23_05_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":["1399765920","1399765922","1399765916","1399765924","1399765918","1399765927"],"photo_ids_order":["1399765916","1399765918","1399765920","1399765922","1399765924","1399765927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81220ef07459c6348e2c2e4d71fea567.jpg","text":"TemporaryFile(/tmp/multipartBody1922192362503336890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960162669,"filename":"image_17122025_09_22_35_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/046b12135a96fc627df6da4731200758.jpg","text":"TemporaryFile(/tmp/multipartBody5252563855311672422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960162669,"filename":"image_17122025_09_22_45_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53b46bd59648fc536de667312d1eea4b.jpg","text":"TemporaryFile(/tmp/multipartBody1954482078959965689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960162669,"filename":"image_17122025_09_22_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd5b6f07d2ce89b89fe8efca3f037953.jpg","text":"TemporaryFile(/tmp/multipartBody978653426715668165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960162669,"filename":"image_17122025_09_22_55_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c028f308ac860bdefd1df5d7b17e712b.jpg","text":"TemporaryFile(/tmp/multipartBody1802764584178371493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960162669,"filename":"image_17122025_09_22_25_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4615f911bd239a97dff8bbf477d8c192.jpg","text":"TemporaryFile(/tmp/multipartBody8094678086011149985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960162669,"filename":"image_17122025_09_23_05_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765920","file1":"1399765918","file0":"1399765916","file4":"1399765924","file5":"1399765927","file3":"1399765922"},"map_files_photo_id_array":[{"photo_id":"1399765927","filename":"file5"},{"photo_id":"1399765920","filename":"file2"},{"photo_id":"1399765924","filename":"file4"},{"photo_id":"1399765918","filename":"file1"},{"photo_id":"1399765916","filename":"file0"},{"photo_id":"1399765922","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765920":["hashtag1","hashtag2"]},{"1399765922":["hashtag1","hashtag2"]},{"1399765916":["hashtag1","hashtag2"]},{"1399765924":["hashtag1","hashtag2"]},{"1399765918":["hashtag1","hashtag2"]},{"1399765927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765920, 1399765922, 1399765916, 1399765924, 1399765918, 1399765927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70378232002258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:29:03.233141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_15_10739.jpg', '/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_25_9833.jpg', '/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_35_9552.jpg', '/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_45_10615.jpg', '/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_55_9750.jpg', '/home/pi/Desktop/images/17122025/09/23/image_17122025_09_24_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_15_10739.jpg
/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_25_9833.jpg
/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_35_9552.jpg
/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_45_10615.jpg
/home/pi/Desktop/images/17122025/09/23/image_17122025_09_23_55_9750.jpg
/home/pi/Desktop/images/17122025/09/23/image_17122025_09_24_05_9638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399765929","1399765931","1399765934","1399765936","1399765930","1399765933"],"photo_ids_order":["1399765929","1399765930","1399765931","1399765933","1399765934","1399765936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecbd0a540213a8dc48c0ecc750afdaf6.jpg","text":"TemporaryFile(/tmp/multipartBody7779538927881353439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960203897,"filename":"image_17122025_09_23_15_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15f160f64c5c135c04b8a3e86f759137.jpg","text":"TemporaryFile(/tmp/multipartBody7472698432552327600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960203897,"filename":"image_17122025_09_23_35_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0aa2c8536ee5cc5a6e7c53e517ff8a2d.jpg","text":"TemporaryFile(/tmp/multipartBody6552682541883327411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960203897,"filename":"image_17122025_09_23_55_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a52e276a83af770d9e785306fe9795ec.jpg","text":"TemporaryFile(/tmp/multipartBody9116817702048471260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960203897,"filename":"image_17122025_09_24_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24f21760ea65478e2ed3bf5eb0355675.jpg","text":"TemporaryFile(/tmp/multipartBody2460854952570992109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960203897,"filename":"image_17122025_09_23_25_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d16aabc10022cf294cbfaf2ce22a18f2.jpg","text":"TemporaryFile(/tmp/multipartBody2147475081187064511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960203897,"filename":"image_17122025_09_23_45_10615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765931","file1":"1399765930","file0":"1399765929","file4":"1399765934","file5":"1399765936","file3":"1399765933"},"map_files_photo_id_array":[{"photo_id":"1399765936","filename":"file5"},{"photo_id":"1399765931","filename":"file2"},{"photo_id":"1399765934","filename":"file4"},{"photo_id":"1399765930","filename":"file1"},{"photo_id":"1399765929","filename":"file0"},{"photo_id":"1399765933","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765929":["hashtag1","hashtag2"]},{"1399765931":["hashtag1","hashtag2"]},{"1399765934":["hashtag1","hashtag2"]},{"1399765936":["hashtag1","hashtag2"]},{"1399765930":["hashtag1","hashtag2"]},{"1399765933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765929, 1399765931, 1399765934, 1399765936, 1399765930, 1399765933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.00635504722595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:30:02.564219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_15_10811.jpg', '/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_25_9754.jpg', '/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_35_9751.jpg', '/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_45_9672.jpg', '/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_55_9954.jpg', '/home/pi/Desktop/images/17122025/09/24/image_17122025_09_25_05_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_15_10811.jpg
/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_25_9754.jpg
/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_35_9751.jpg
/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_45_9672.jpg
/home/pi/Desktop/images/17122025/09/24/image_17122025_09_24_55_9954.jpg
/home/pi/Desktop/images/17122025/09/24/image_17122025_09_25_05_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":["1399765965","1399765968","1399765970","1399765964","1399765967","1399765966"],"photo_ids_order":["1399765964","1399765965","1399765966","1399765967","1399765968","1399765970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/505388799921dafd89fafe47aefe406c.jpg","text":"TemporaryFile(/tmp/multipartBody5147208992989657683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960263190,"filename":"image_17122025_09_24_25_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e52719fd228ae48ec9cd81d2358678b5.jpg","text":"TemporaryFile(/tmp/multipartBody7202557182316945252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960263190,"filename":"image_17122025_09_24_55_9954.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a799117ef68d7a3e24cb94e28baae1d5.jpg","text":"TemporaryFile(/tmp/multipartBody2606997732637294626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960263190,"filename":"image_17122025_09_25_05_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d543541a6228875a9802dbaa670ca99.jpg","text":"TemporaryFile(/tmp/multipartBody4753049971165878321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960263190,"filename":"image_17122025_09_24_15_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0dbdef71117dea280d398921014d849f.jpg","text":"TemporaryFile(/tmp/multipartBody2791644747966881743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960263190,"filename":"image_17122025_09_24_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b9bbd321f4522071a0335ff1125ad45.jpg","text":"TemporaryFile(/tmp/multipartBody1139617526735364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960263190,"filename":"image_17122025_09_24_35_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765966","file1":"1399765965","file0":"1399765964","file4":"1399765968","file5":"1399765970","file3":"1399765967"},"map_files_photo_id_array":[{"photo_id":"1399765970","filename":"file5"},{"photo_id":"1399765966","filename":"file2"},{"photo_id":"1399765968","filename":"file4"},{"photo_id":"1399765965","filename":"file1"},{"photo_id":"1399765964","filename":"file0"},{"photo_id":"1399765967","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765965":["hashtag1","hashtag2"]},{"1399765968":["hashtag1","hashtag2"]},{"1399765970":["hashtag1","hashtag2"]},{"1399765964":["hashtag1","hashtag2"]},{"1399765967":["hashtag1","hashtag2"]},{"1399765966":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765965, 1399765968, 1399765970, 1399765964, 1399765967, 1399765966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 50.06777215003967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:31:02.859003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 09:31:12.468019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:31:22.448061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_15_9804.jpg', '/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_25_9668.jpg', '/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_35_10616.jpg', '/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_45_9734.jpg', '/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_55_9853.jpg', '/home/pi/Desktop/images/17122025/09/25/image_17122025_09_26_05_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_15_9804.jpg
/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_25_9668.jpg
/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_35_10616.jpg
/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_45_9734.jpg
/home/pi/Desktop/images/17122025/09/25/image_17122025_09_25_55_9853.jpg
/home/pi/Desktop/images/17122025/09/25/image_17122025_09_26_05_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399765992","1399765986","1399765991","1399765994","1399765988","1399765996"],"photo_ids_order":["1399765986","1399765988","1399765991","1399765992","1399765994","1399765996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f92bd5051daf479cfa21759df8a0371.jpg","text":"TemporaryFile(/tmp/multipartBody3869396843707033268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960343084,"filename":"image_17122025_09_25_45_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8e50be59cd662ba5f289328de226afb.jpg","text":"TemporaryFile(/tmp/multipartBody7732137321941599047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960343084,"filename":"image_17122025_09_25_15_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b640e75d20b5d95a7beb5d644f5e1ed9.jpg","text":"TemporaryFile(/tmp/multipartBody1198861792906899919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960343084,"filename":"image_17122025_09_25_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85265b0c9efbfd806de3e5827207282f.jpg","text":"TemporaryFile(/tmp/multipartBody8520672837944755259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960343084,"filename":"image_17122025_09_25_55_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ca8c6164bbe96247d8e436367c4523d.jpg","text":"TemporaryFile(/tmp/multipartBody518467259198896438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960343084,"filename":"image_17122025_09_25_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/330eba3d12dde6faaa6f990c5196a443.jpg","text":"TemporaryFile(/tmp/multipartBody1030626500633416036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960343084,"filename":"image_17122025_09_26_05_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399765991","file1":"1399765988","file0":"1399765986","file4":"1399765994","file5":"1399765996","file3":"1399765992"},"map_files_photo_id_array":[{"photo_id":"1399765996","filename":"file5"},{"photo_id":"1399765991","filename":"file2"},{"photo_id":"1399765994","filename":"file4"},{"photo_id":"1399765988","filename":"file1"},{"photo_id":"1399765986","filename":"file0"},{"photo_id":"1399765992","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399765992":["hashtag1","hashtag2"]},{"1399765986":["hashtag1","hashtag2"]},{"1399765991":["hashtag1","hashtag2"]},{"1399765994":["hashtag1","hashtag2"]},{"1399765988":["hashtag1","hashtag2"]},{"1399765996":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399765992, 1399765986, 1399765991, 1399765994, 1399765988, 1399765996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.54545187950134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:32:03.201459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_15_10562.jpg', '/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_25_9726.jpg', '/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_35_9778.jpg', '/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_45_9903.jpg', '/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_55_10830.jpg', '/home/pi/Desktop/images/17122025/09/26/image_17122025_09_27_05_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_15_10562.jpg
/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_25_9726.jpg
/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_35_9778.jpg
/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_45_9903.jpg
/home/pi/Desktop/images/17122025/09/26/image_17122025_09_26_55_10830.jpg
/home/pi/Desktop/images/17122025/09/26/image_17122025_09_27_05_9560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399766010","1399766012","1399766006","1399766000","1399766003","1399766008"],"photo_ids_order":["1399766000","1399766003","1399766006","1399766008","1399766010","1399766012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9784b4a69e784d01b03ebbd1662dd634.jpg","text":"TemporaryFile(/tmp/multipartBody58040077758311858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960383889,"filename":"image_17122025_09_26_55_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0e6115fa48ad2d8e7c11559bedac1af.jpg","text":"TemporaryFile(/tmp/multipartBody8546675272829066302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960383889,"filename":"image_17122025_09_27_05_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3abf3f2483664ac40ec678d999e2f7c.jpg","text":"TemporaryFile(/tmp/multipartBody6835888094809090296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960383889,"filename":"image_17122025_09_26_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e371869f4e5fa82823bf1780fd7bee59.jpg","text":"TemporaryFile(/tmp/multipartBody6243511042647561984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960383889,"filename":"image_17122025_09_26_15_10562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f00e8493474a62d5b4a124c863c609e.jpg","text":"TemporaryFile(/tmp/multipartBody4696068585592277930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960383889,"filename":"image_17122025_09_26_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a433d1ff97750a129760db7ffb2652a.jpg","text":"TemporaryFile(/tmp/multipartBody61431639667033193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960383889,"filename":"image_17122025_09_26_45_9903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766006","file1":"1399766003","file0":"1399766000","file4":"1399766010","file5":"1399766012","file3":"1399766008"},"map_files_photo_id_array":[{"photo_id":"1399766012","filename":"file5"},{"photo_id":"1399766006","filename":"file2"},{"photo_id":"1399766010","filename":"file4"},{"photo_id":"1399766003","filename":"file1"},{"photo_id":"1399766000","filename":"file0"},{"photo_id":"1399766008","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766010":["hashtag1","hashtag2"]},{"1399766012":["hashtag1","hashtag2"]},{"1399766006":["hashtag1","hashtag2"]},{"1399766000":["hashtag1","hashtag2"]},{"1399766003":["hashtag1","hashtag2"]},{"1399766008":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766010, 1399766012, 1399766006, 1399766000, 1399766003, 1399766008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.503183126449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:33:03.012548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_15_9724.jpg', '/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_25_10643.jpg', '/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_35_9669.jpg', '/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_45_9712.jpg', '/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_55_9819.jpg', '/home/pi/Desktop/images/17122025/09/27/image_17122025_09_28_05_9966.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_15_9724.jpg
/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_25_10643.jpg
/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_35_9669.jpg
/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_45_9712.jpg
/home/pi/Desktop/images/17122025/09/27/image_17122025_09_27_55_9819.jpg
/home/pi/Desktop/images/17122025/09/27/image_17122025_09_28_05_9966.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766037","1399766042","1399766039","1399766041","1399766035","1399766044"],"photo_ids_order":["1399766035","1399766037","1399766039","1399766041","1399766042","1399766044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b887981285ec8a6e8a475b2258be99c7.jpg","text":"TemporaryFile(/tmp/multipartBody4195026397825612913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960443744,"filename":"image_17122025_09_27_25_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8363502f43f52c661acef818a54440f6.jpg","text":"TemporaryFile(/tmp/multipartBody5874176248690933445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960443744,"filename":"image_17122025_09_27_55_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0181b750087b0a7be884049b25b9a0d7.jpg","text":"TemporaryFile(/tmp/multipartBody6404555169590784528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960443744,"filename":"image_17122025_09_27_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1661b79e9607ff85f9dee3585d6ef51.jpg","text":"TemporaryFile(/tmp/multipartBody374503968210306407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960443744,"filename":"image_17122025_09_27_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8da114674175f9901b6c22736283a3f3.jpg","text":"TemporaryFile(/tmp/multipartBody5515820499281580959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960443744,"filename":"image_17122025_09_27_15_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38523fed8bbcfb47ae0e0e51c5cf098f.jpg","text":"TemporaryFile(/tmp/multipartBody639950506520916079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960443744,"filename":"image_17122025_09_28_05_9966.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766039","file1":"1399766037","file0":"1399766035","file4":"1399766042","file5":"1399766044","file3":"1399766041"},"map_files_photo_id_array":[{"photo_id":"1399766044","filename":"file5"},{"photo_id":"1399766039","filename":"file2"},{"photo_id":"1399766042","filename":"file4"},{"photo_id":"1399766037","filename":"file1"},{"photo_id":"1399766035","filename":"file0"},{"photo_id":"1399766041","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766037":["hashtag1","hashtag2"]},{"1399766042":["hashtag1","hashtag2"]},{"1399766039":["hashtag1","hashtag2"]},{"1399766041":["hashtag1","hashtag2"]},{"1399766035":["hashtag1","hashtag2"]},{"1399766044":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766037, 1399766042, 1399766039, 1399766041, 1399766035, 1399766044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47731113433838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:33:42.381209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_01_1752.jpg', '/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_04_1662.jpg', '/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_09_1780.jpg', '/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_15_3693.jpg', '/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_24_3627.jpg', '/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_26_2781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_01_1752.jpg
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_04_1662.jpg
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_09_1780.jpg
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_15_3693.jpg
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_24_3627.jpg
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_26_2781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766168","1399766096","1399766060","1399766051","1399766048","1399766131"],"photo_ids_order":["1399766048","1399766051","1399766060","1399766096","1399766131","1399766168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de380a4c9f90f0fd92c40a9d3c030b33.jpg","text":"TemporaryFile(/tmp/multipartBody5759301808296500843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960483137,"filename":"image_07112025_18_24_26_2781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e18a2780f0db1282a205191223d5f05.jpg","text":"TemporaryFile(/tmp/multipartBody6636224075069114283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960483137,"filename":"image_07112025_18_24_15_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bfb7fd0233d8ba6b22f8860d180d1e5c.jpg","text":"TemporaryFile(/tmp/multipartBody8032826446049142556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960483137,"filename":"image_07112025_18_24_09_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/091747e9340dc440d71001a910164455.jpg","text":"TemporaryFile(/tmp/multipartBody5450167571552510460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960483137,"filename":"image_07112025_18_24_04_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7373f49a07dbd1f9a936e819b8f62f7d.jpg","text":"TemporaryFile(/tmp/multipartBody6846590125838823392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960483137,"filename":"image_07112025_18_24_01_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09948e908d0ac49775139983333a3813.jpg","text":"TemporaryFile(/tmp/multipartBody1862122046437647383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960483137,"filename":"image_07112025_18_24_24_3627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766060","file1":"1399766051","file0":"1399766048","file4":"1399766131","file5":"1399766168","file3":"1399766096"},"map_files_photo_id_array":[{"photo_id":"1399766168","filename":"file5"},{"photo_id":"1399766060","filename":"file2"},{"photo_id":"1399766131","filename":"file4"},{"photo_id":"1399766051","filename":"file1"},{"photo_id":"1399766048","filename":"file0"},{"photo_id":"1399766096","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399766168":["hashtag1","hashtag2"]},{"1399766096":["hashtag1","hashtag2"]},{"1399766060":["hashtag1","hashtag2"]},{"1399766051":["hashtag1","hashtag2"]},{"1399766048":["hashtag1","hashtag2"]},{"1399766131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399766168, 1399766096, 1399766060, 1399766051, 1399766048, 1399766131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0476655960083 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:34:22.624347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_15_10681.jpg', '/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_25_9417.jpg', '/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_35_10678.jpg', '/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_45_9711.jpg', '/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_55_9561.jpg', '/home/pi/Desktop/images/17122025/09/28/image_17122025_09_29_05_10746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_15_10681.jpg
/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_25_9417.jpg
/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_35_10678.jpg
/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_45_9711.jpg
/home/pi/Desktop/images/17122025/09/28/image_17122025_09_28_55_9561.jpg
/home/pi/Desktop/images/17122025/09/28/image_17122025_09_29_05_10746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766310","1399766321","1399766324","1399766318","1399766306","1399766314"],"photo_ids_order":["1399766306","1399766310","1399766314","1399766318","1399766321","1399766324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d69ba8a1529a2fd2639c7615d89d7f2e.jpg","text":"TemporaryFile(/tmp/multipartBody9167301619497224562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960523243,"filename":"image_17122025_09_28_25_9417.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/420ec3be202d408206cb162fa1c320a6.jpg","text":"TemporaryFile(/tmp/multipartBody699313013974385955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960523243,"filename":"image_17122025_09_28_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/380a76e49a26ff43977a5ab3ae91584a.jpg","text":"TemporaryFile(/tmp/multipartBody4380106411900352891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960523243,"filename":"image_17122025_09_29_05_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79280fc49b9bb41de19c7192cfa90bde.jpg","text":"TemporaryFile(/tmp/multipartBody7447096308250670847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960523243,"filename":"image_17122025_09_28_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b27963fa05d95f9aaf2855bd2ee9e9c2.jpg","text":"TemporaryFile(/tmp/multipartBody5557551341659044031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960523243,"filename":"image_17122025_09_28_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89313c764b6e863562a8a139f427ec26.jpg","text":"TemporaryFile(/tmp/multipartBody4590110874713633821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960523243,"filename":"image_17122025_09_28_35_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766314","file1":"1399766310","file0":"1399766306","file4":"1399766321","file5":"1399766324","file3":"1399766318"},"map_files_photo_id_array":[{"photo_id":"1399766324","filename":"file5"},{"photo_id":"1399766314","filename":"file2"},{"photo_id":"1399766321","filename":"file4"},{"photo_id":"1399766310","filename":"file1"},{"photo_id":"1399766306","filename":"file0"},{"photo_id":"1399766318","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766310":["hashtag1","hashtag2"]},{"1399766321":["hashtag1","hashtag2"]},{"1399766324":["hashtag1","hashtag2"]},{"1399766318":["hashtag1","hashtag2"]},{"1399766306":["hashtag1","hashtag2"]},{"1399766314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766310, 1399766321, 1399766324, 1399766318, 1399766306, 1399766314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76590371131897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:35:02.714310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_15_9683.jpg', '/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_25_9761.jpg', '/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_35_9721.jpg', '/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_45_10651.jpg', '/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_55_9763.jpg', '/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_15_10939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_15_9683.jpg
/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_25_9761.jpg
/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_35_9721.jpg
/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_45_10651.jpg
/home/pi/Desktop/images/17122025/09/29/image_17122025_09_29_55_9763.jpg
/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_15_10939.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766333","1399766336","1399766339","1399766338","1399766332","1399766341"],"photo_ids_order":["1399766332","1399766333","1399766336","1399766338","1399766339","1399766341"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14831470fdb16b3861722b4ed663eff5.jpg","text":"TemporaryFile(/tmp/multipartBody8603433180788828053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960563367,"filename":"image_17122025_09_29_25_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14da108ebc2ee5dfc4b19c299c01e436.jpg","text":"TemporaryFile(/tmp/multipartBody6445135197612616968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960563367,"filename":"image_17122025_09_29_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cd94ba7019aa0e7fab1dc1a88f82bac.jpg","text":"TemporaryFile(/tmp/multipartBody7801448535998450890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960563367,"filename":"image_17122025_09_29_55_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f2a3cf6afe3280cdae1e5b9462360e3.jpg","text":"TemporaryFile(/tmp/multipartBody6331077483952213001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960563367,"filename":"image_17122025_09_29_45_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac161db80487f81735319b13787bf93d.jpg","text":"TemporaryFile(/tmp/multipartBody8456702821254972029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960563367,"filename":"image_17122025_09_29_15_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/582ed2eb0573d241b3c5f8d138a8d1be.jpg","text":"TemporaryFile(/tmp/multipartBody5125078684588814055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960563367,"filename":"image_17122025_09_31_15_10939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766336","file1":"1399766333","file0":"1399766332","file4":"1399766339","file5":"1399766341","file3":"1399766338"},"map_files_photo_id_array":[{"photo_id":"1399766341","filename":"file5"},{"photo_id":"1399766336","filename":"file2"},{"photo_id":"1399766339","filename":"file4"},{"photo_id":"1399766333","filename":"file1"},{"photo_id":"1399766332","filename":"file0"},{"photo_id":"1399766338","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766333":["hashtag1","hashtag2"]},{"1399766336":["hashtag1","hashtag2"]},{"1399766339":["hashtag1","hashtag2"]},{"1399766338":["hashtag1","hashtag2"]},{"1399766332":["hashtag1","hashtag2"]},{"1399766341":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766333, 1399766336, 1399766339, 1399766338, 1399766332, 1399766341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.684309005737305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:35:41.885726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_29_2641.jpg', '/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_33_3749.jpg', '/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_47_2743.jpg', '/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_51_3622.jpg', '/home/pi/Desktop/images/07112025/18/25/image_07112025_18_25_08_2672.jpg', '/home/pi/Desktop/images/07112025/18/25/image_07112025_18_25_51_2812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_29_2641.jpg
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_33_3749.jpg
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_47_2743.jpg
/home/pi/Desktop/images/07112025/18/24/image_07112025_18_24_51_3622.jpg
/home/pi/Desktop/images/07112025/18/25/image_07112025_18_25_08_2672.jpg
/home/pi/Desktop/images/07112025/18/25/image_07112025_18_25_51_2812.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766378","1399766381","1399766377","1399766350","1399766347","1399766376"],"photo_ids_order":["1399766347","1399766350","1399766376","1399766377","1399766378","1399766381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26478ecb25667ab4a20322bcad601a3f.jpg","text":"TemporaryFile(/tmp/multipartBody2776650340014683513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960602671,"filename":"image_07112025_18_25_08_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/829ab52b548a670e9b59a3d7d0a8abf6.jpg","text":"TemporaryFile(/tmp/multipartBody2686669210042088585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960602671,"filename":"image_07112025_18_25_51_2812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/578a378a832e62c5fa20a994a16ed1b8.jpg","text":"TemporaryFile(/tmp/multipartBody6375656874810583132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960602671,"filename":"image_07112025_18_24_51_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18786e22feafe65b600273f1ab3b21c2.jpg","text":"TemporaryFile(/tmp/multipartBody1729069375983303757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960602671,"filename":"image_07112025_18_24_33_3749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cb783d6551205afc52b00619aabae25.jpg","text":"TemporaryFile(/tmp/multipartBody2628167881957620225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960602671,"filename":"image_07112025_18_24_29_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88964f87d29be3ca4eac5b648cfae406.jpg","text":"TemporaryFile(/tmp/multipartBody2652687408209442637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960602671,"filename":"image_07112025_18_24_47_2743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766376","file1":"1399766350","file0":"1399766347","file4":"1399766378","file5":"1399766381","file3":"1399766377"},"map_files_photo_id_array":[{"photo_id":"1399766381","filename":"file5"},{"photo_id":"1399766376","filename":"file2"},{"photo_id":"1399766378","filename":"file4"},{"photo_id":"1399766350","filename":"file1"},{"photo_id":"1399766347","filename":"file0"},{"photo_id":"1399766377","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399766378":["hashtag1","hashtag2"]},{"1399766381":["hashtag1","hashtag2"]},{"1399766377":["hashtag1","hashtag2"]},{"1399766350":["hashtag1","hashtag2"]},{"1399766347":["hashtag1","hashtag2"]},{"1399766376":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399766378, 1399766381, 1399766377, 1399766350, 1399766347, 1399766376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.643630266189575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:36:22.150310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_24_9718.jpg', '/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_34_9934.jpg', '/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_44_9597.jpg', '/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_54_10436.jpg', '/home/pi/Desktop/images/17122025/09/31/image_17122025_09_32_04_9757.jpg', '/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_14_10119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_24_9718.jpg
/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_34_9934.jpg
/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_44_9597.jpg
/home/pi/Desktop/images/17122025/09/31/image_17122025_09_31_54_10436.jpg
/home/pi/Desktop/images/17122025/09/31/image_17122025_09_32_04_9757.jpg
/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_14_10119.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766396","1399766399","1399766390","1399766384","1399766387","1399766401"],"photo_ids_order":["1399766384","1399766387","1399766390","1399766396","1399766399","1399766401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d758ab74c19d378d569d5810b7370ce1.jpg","text":"TemporaryFile(/tmp/multipartBody1587178195073395902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960642766,"filename":"image_17122025_09_31_54_10436.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7917025ad7e42c9433183af86e097543.jpg","text":"TemporaryFile(/tmp/multipartBody6254821645896375852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960642766,"filename":"image_17122025_09_32_04_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8ff63b174225b98d3b6aebc96c31524.jpg","text":"TemporaryFile(/tmp/multipartBody4055169153233704792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960642766,"filename":"image_17122025_09_31_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9eec7afcbc8b2caf9d806e7105cef0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3265852741744021323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960642766,"filename":"image_17122025_09_31_24_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2e6f8d76967a56c7199750551271025.jpg","text":"TemporaryFile(/tmp/multipartBody3248714445269566671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960642766,"filename":"image_17122025_09_31_34_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be65a4637fe8a62308b15aeed7c3a57c.jpg","text":"TemporaryFile(/tmp/multipartBody4548489890466956475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960642766,"filename":"image_17122025_09_32_14_10119.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766390","file1":"1399766387","file0":"1399766384","file4":"1399766399","file5":"1399766401","file3":"1399766396"},"map_files_photo_id_array":[{"photo_id":"1399766401","filename":"file5"},{"photo_id":"1399766390","filename":"file2"},{"photo_id":"1399766399","filename":"file4"},{"photo_id":"1399766387","filename":"file1"},{"photo_id":"1399766384","filename":"file0"},{"photo_id":"1399766396","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766396":["hashtag1","hashtag2"]},{"1399766399":["hashtag1","hashtag2"]},{"1399766390":["hashtag1","hashtag2"]},{"1399766384":["hashtag1","hashtag2"]},{"1399766387":["hashtag1","hashtag2"]},{"1399766401":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766396, 1399766399, 1399766390, 1399766384, 1399766387, 1399766401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35950565338135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:37:03.187002
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_24_9627.jpg', '/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_34_10730.jpg', '/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_44_9585.jpg', '/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_54_9663.jpg', '/home/pi/Desktop/images/17122025/09/32/image_17122025_09_33_04_10723.jpg', '/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_14_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_24_9627.jpg
/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_34_10730.jpg
/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_44_9585.jpg
/home/pi/Desktop/images/17122025/09/32/image_17122025_09_32_54_9663.jpg
/home/pi/Desktop/images/17122025/09/32/image_17122025_09_33_04_10723.jpg
/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_14_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":["1399766406","1399766409","1399766408","1399766413","1399766407","1399766410"],"photo_ids_order":["1399766406","1399766407","1399766408","1399766409","1399766410","1399766413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d4af5c4d4928897266f26e54ec845ad.jpg","text":"TemporaryFile(/tmp/multipartBody6789015569748914136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960683852,"filename":"image_17122025_09_32_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0c3702578b66a258eb71b7ab4ad221e.jpg","text":"TemporaryFile(/tmp/multipartBody1923416692520938352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960683852,"filename":"image_17122025_09_32_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5064f44b2fecc8107510f986247088c7.jpg","text":"TemporaryFile(/tmp/multipartBody8568675732587276069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960683852,"filename":"image_17122025_09_32_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/899b9ffb13c6732745fcac58e91e8f20.jpg","text":"TemporaryFile(/tmp/multipartBody4765967136406528988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960683852,"filename":"image_17122025_09_33_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ed8e4d6a2350963ca9a1f199f22de62.jpg","text":"TemporaryFile(/tmp/multipartBody4619555339335316418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960683852,"filename":"image_17122025_09_32_34_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a706403b16eed484018e21c279980e28.jpg","text":"TemporaryFile(/tmp/multipartBody802070298659107865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960683852,"filename":"image_17122025_09_33_04_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766408","file1":"1399766407","file0":"1399766406","file4":"1399766410","file5":"1399766413","file3":"1399766409"},"map_files_photo_id_array":[{"photo_id":"1399766413","filename":"file5"},{"photo_id":"1399766408","filename":"file2"},{"photo_id":"1399766410","filename":"file4"},{"photo_id":"1399766407","filename":"file1"},{"photo_id":"1399766406","filename":"file0"},{"photo_id":"1399766409","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766406":["hashtag1","hashtag2"]},{"1399766409":["hashtag1","hashtag2"]},{"1399766408":["hashtag1","hashtag2"]},{"1399766413":["hashtag1","hashtag2"]},{"1399766407":["hashtag1","hashtag2"]},{"1399766410":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766406, 1399766409, 1399766408, 1399766413, 1399766407, 1399766410)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.158313035964966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:37:42.370034
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/25/image_07112025_18_25_54_3003.jpg', '/home/pi/Desktop/images/07112025/18/25/image_07112025_18_25_56_2646.jpg', '/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_23_2686.jpg', '/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_26_2573.jpg', '/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_32_2762.jpg', '/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_35_2592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/25/image_07112025_18_25_54_3003.jpg
/home/pi/Desktop/images/07112025/18/25/image_07112025_18_25_56_2646.jpg
/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_23_2686.jpg
/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_26_2573.jpg
/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_32_2762.jpg
/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_35_2592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766433","1399766427","1399766429","1399766423","1399766431","1399766436"],"photo_ids_order":["1399766423","1399766427","1399766429","1399766431","1399766433","1399766436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7344bddce4cd84d3dedcefd7e0a957d.jpg","text":"TemporaryFile(/tmp/multipartBody2536895223553633463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960723143,"filename":"image_07112025_18_26_32_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ab86cc45c4b26bd91c5ae3ae4355ab2.jpg","text":"TemporaryFile(/tmp/multipartBody3269031756991716082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960723143,"filename":"image_07112025_18_25_56_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19caef4d7c82ca14d16fc69554fa160a.jpg","text":"TemporaryFile(/tmp/multipartBody2551338756099482923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960723143,"filename":"image_07112025_18_26_23_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77939aa4b96599e7ef1d17a2f5298229.jpg","text":"TemporaryFile(/tmp/multipartBody2998623694561099127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960723143,"filename":"image_07112025_18_25_54_3003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afdbf32f58a9107ba8e0f545b0070793.jpg","text":"TemporaryFile(/tmp/multipartBody4103823017377383218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960723143,"filename":"image_07112025_18_26_26_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/721729a0a5bc9902dbb76f331b3960a0.jpg","text":"TemporaryFile(/tmp/multipartBody8634029101546692035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960723143,"filename":"image_07112025_18_26_35_2592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766429","file1":"1399766427","file0":"1399766423","file4":"1399766433","file5":"1399766436","file3":"1399766431"},"map_files_photo_id_array":[{"photo_id":"1399766436","filename":"file5"},{"photo_id":"1399766429","filename":"file2"},{"photo_id":"1399766433","filename":"file4"},{"photo_id":"1399766427","filename":"file1"},{"photo_id":"1399766423","filename":"file0"},{"photo_id":"1399766431","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399766433":["hashtag1","hashtag2"]},{"1399766427":["hashtag1","hashtag2"]},{"1399766429":["hashtag1","hashtag2"]},{"1399766423":["hashtag1","hashtag2"]},{"1399766431":["hashtag1","hashtag2"]},{"1399766436":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399766433, 1399766427, 1399766429, 1399766423, 1399766431, 1399766436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.802488565444946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:38:22.647225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_25_10512.jpg', '/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_34_9858.jpg', '/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_48_13735.jpg', '/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_54_5769.jpg', '/home/pi/Desktop/images/17122025/09/33/image_17122025_09_34_04_9891.jpg', '/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_15_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_25_10512.jpg
/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_34_9858.jpg
/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_48_13735.jpg
/home/pi/Desktop/images/17122025/09/33/image_17122025_09_33_54_5769.jpg
/home/pi/Desktop/images/17122025/09/33/image_17122025_09_34_04_9891.jpg
/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_15_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":["1399766447","1399766443","1399766452","1399766472","1399766460","1399766442"],"photo_ids_order":["1399766442","1399766443","1399766447","1399766452","1399766460","1399766472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03955f56f9843b562aeb2524c638ff77.jpg","text":"TemporaryFile(/tmp/multipartBody3565051332199200307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960763297,"filename":"image_17122025_09_33_48_13735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd635c1d7f656f099f99fb7f827c9f23.jpg","text":"TemporaryFile(/tmp/multipartBody1216753274192931604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960763297,"filename":"image_17122025_09_33_34_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e2dbb84e761eb825c42f5cd89d1d033.jpg","text":"TemporaryFile(/tmp/multipartBody4145639633480609246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960763297,"filename":"image_17122025_09_33_54_5769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c80e0a86d6a0fbe2ad72f66794bbcb98.jpg","text":"TemporaryFile(/tmp/multipartBody6670774114257640313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960763297,"filename":"image_17122025_09_34_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbe41f335c77345a72dcd7e4a95ffd26.jpg","text":"TemporaryFile(/tmp/multipartBody2862616281684688054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960763297,"filename":"image_17122025_09_34_04_9891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b05b482dba71b61f9cbbf3395f6e7aa1.jpg","text":"TemporaryFile(/tmp/multipartBody4315538889433277091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960763297,"filename":"image_17122025_09_33_25_10512.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766447","file1":"1399766443","file0":"1399766442","file4":"1399766460","file5":"1399766472","file3":"1399766452"},"map_files_photo_id_array":[{"photo_id":"1399766472","filename":"file5"},{"photo_id":"1399766447","filename":"file2"},{"photo_id":"1399766460","filename":"file4"},{"photo_id":"1399766443","filename":"file1"},{"photo_id":"1399766442","filename":"file0"},{"photo_id":"1399766452","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766447":["hashtag1","hashtag2"]},{"1399766443":["hashtag1","hashtag2"]},{"1399766452":["hashtag1","hashtag2"]},{"1399766472":["hashtag1","hashtag2"]},{"1399766460":["hashtag1","hashtag2"]},{"1399766442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766447, 1399766443, 1399766452, 1399766472, 1399766460, 1399766442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07847857475281 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:39:02.770805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_24_9592.jpg', '/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_34_9675.jpg', '/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_45_10771.jpg', '/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_54_9613.jpg', '/home/pi/Desktop/images/17122025/09/34/image_17122025_09_35_04_9700.jpg', '/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_14_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_24_9592.jpg
/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_34_9675.jpg
/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_45_10771.jpg
/home/pi/Desktop/images/17122025/09/34/image_17122025_09_34_54_9613.jpg
/home/pi/Desktop/images/17122025/09/34/image_17122025_09_35_04_9700.jpg
/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_14_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":["1399766508","1399766513","1399766491","1399766510","1399766506","1399766500"],"photo_ids_order":["1399766491","1399766500","1399766506","1399766508","1399766510","1399766513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/450f66ef24ab5022651344a7daf6995a.jpg","text":"TemporaryFile(/tmp/multipartBody7843015822755799811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960803585,"filename":"image_17122025_09_34_54_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e3117b6907040c9ca0174485a580e70.jpg","text":"TemporaryFile(/tmp/multipartBody4578006772615876520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960803585,"filename":"image_17122025_09_35_14_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/194c72efb28a394e30a9a7e26ce20c23.jpg","text":"TemporaryFile(/tmp/multipartBody3878782699430879966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960803585,"filename":"image_17122025_09_34_24_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/def14a3a8f883cb770f07728909f62e3.jpg","text":"TemporaryFile(/tmp/multipartBody2351580877938843686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960803585,"filename":"image_17122025_09_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/2025/12/17/9b790007e5efdf867ad3ac836ac50171.jpg","text":"TemporaryFile(/tmp/multipartBody5975749117681496987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960803585,"filename":"image_17122025_09_34_45_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/160baa00b5353c86427bca1ccda78b23.jpg","text":"TemporaryFile(/tmp/multipartBody6685896635256789926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960803585,"filename":"image_17122025_09_34_34_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766506","file1":"1399766500","file0":"1399766491","file4":"1399766510","file5":"1399766513","file3":"1399766508"},"map_files_photo_id_array":[{"photo_id":"1399766513","filename":"file5"},{"photo_id":"1399766506","filename":"file2"},{"photo_id":"1399766510","filename":"file4"},{"photo_id":"1399766500","filename":"file1"},{"photo_id":"1399766491","filename":"file0"},{"photo_id":"1399766508","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766508":["hashtag1","hashtag2"]},{"1399766513":["hashtag1","hashtag2"]},{"1399766491":["hashtag1","hashtag2"]},{"1399766510":["hashtag1","hashtag2"]},{"1399766506":["hashtag1","hashtag2"]},{"1399766500":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766508, 1399766513, 1399766491, 1399766510, 1399766506, 1399766500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6838800907135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:39:41.848587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_39_3789.jpg', '/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_47_3697.jpg', '/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_50_2729.jpg', '/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_59_3584.jpg', '/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_02_2696.jpg', '/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_06_3555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_39_3789.jpg
/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_47_3697.jpg
/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_50_2729.jpg
/home/pi/Desktop/images/07112025/18/26/image_07112025_18_26_59_3584.jpg
/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_02_2696.jpg
/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_06_3555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766523","1399766526","1399766525","1399766522","1399766519","1399766524"],"photo_ids_order":["1399766519","1399766522","1399766523","1399766524","1399766525","1399766526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16b17400bd3defaf22aff76e9bc4edf2.jpg","text":"TemporaryFile(/tmp/multipartBody3930817077078550360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960842621,"filename":"image_07112025_18_26_50_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e2730be260a54216432bf8a2aeeb5f1.jpg","text":"TemporaryFile(/tmp/multipartBody931618888625431004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960842621,"filename":"image_07112025_18_27_06_3555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bacec97d8dc0d12d2850ba3bf960ddfd.jpg","text":"TemporaryFile(/tmp/multipartBody8892605656839184669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960842621,"filename":"image_07112025_18_27_02_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78f6c63d861209193dd985ffc6c19ce0.jpg","text":"TemporaryFile(/tmp/multipartBody1964009231121680506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960842621,"filename":"image_07112025_18_26_47_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49a89dc9385c6f9d180bc0a1e61c8c4c.jpg","text":"TemporaryFile(/tmp/multipartBody379990560993520766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960842621,"filename":"image_07112025_18_26_39_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/629b9a91bd77db43c41b782ab4975a47.jpg","text":"TemporaryFile(/tmp/multipartBody8482261940588485068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960842621,"filename":"image_07112025_18_26_59_3584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766523","file1":"1399766522","file0":"1399766519","file4":"1399766525","file5":"1399766526","file3":"1399766524"},"map_files_photo_id_array":[{"photo_id":"1399766526","filename":"file5"},{"photo_id":"1399766523","filename":"file2"},{"photo_id":"1399766525","filename":"file4"},{"photo_id":"1399766522","filename":"file1"},{"photo_id":"1399766519","filename":"file0"},{"photo_id":"1399766524","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399766523":["hashtag1","hashtag2"]},{"1399766526":["hashtag1","hashtag2"]},{"1399766525":["hashtag1","hashtag2"]},{"1399766522":["hashtag1","hashtag2"]},{"1399766519":["hashtag1","hashtag2"]},{"1399766524":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399766523, 1399766526, 1399766525, 1399766522, 1399766519, 1399766524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.143094301223755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:40:22.119291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_24_10615.jpg', '/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_34_9672.jpg', '/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_44_9689.jpg', '/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_54_10860.jpg', '/home/pi/Desktop/images/17122025/09/35/image_17122025_09_36_04_9588.jpg', '/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_14_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_24_10615.jpg
/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_34_9672.jpg
/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_44_9689.jpg
/home/pi/Desktop/images/17122025/09/35/image_17122025_09_35_54_10860.jpg
/home/pi/Desktop/images/17122025/09/35/image_17122025_09_36_04_9588.jpg
/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_14_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766531","1399766537","1399766542","1399766539","1399766533","1399766535"],"photo_ids_order":["1399766531","1399766533","1399766535","1399766537","1399766539","1399766542"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c068841f4deb4a485b7134ac840eb7fd.jpg","text":"TemporaryFile(/tmp/multipartBody7786627637078255814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960882768,"filename":"image_17122025_09_35_24_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/efb54638691535608581ebcadc870674.jpg","text":"TemporaryFile(/tmp/multipartBody4976032874872352756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960882768,"filename":"image_17122025_09_35_54_10860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/064e3a64a0a0f38cf91f97ea0b569b0e.jpg","text":"TemporaryFile(/tmp/multipartBody8175236954237226047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960882768,"filename":"image_17122025_09_36_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38e9474812068ee517647debec118ebc.jpg","text":"TemporaryFile(/tmp/multipartBody5589425042065016854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960882768,"filename":"image_17122025_09_36_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62dbd8dfdd1f31f369622696167628b5.jpg","text":"TemporaryFile(/tmp/multipartBody3164013174483428529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960882768,"filename":"image_17122025_09_35_34_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82d0a3750756897b3aeed7875637d38e.jpg","text":"TemporaryFile(/tmp/multipartBody8030725078520903799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960882768,"filename":"image_17122025_09_35_44_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766535","file1":"1399766533","file0":"1399766531","file4":"1399766539","file5":"1399766542","file3":"1399766537"},"map_files_photo_id_array":[{"photo_id":"1399766542","filename":"file5"},{"photo_id":"1399766535","filename":"file2"},{"photo_id":"1399766539","filename":"file4"},{"photo_id":"1399766533","filename":"file1"},{"photo_id":"1399766531","filename":"file0"},{"photo_id":"1399766537","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766531":["hashtag1","hashtag2"]},{"1399766537":["hashtag1","hashtag2"]},{"1399766542":["hashtag1","hashtag2"]},{"1399766539":["hashtag1","hashtag2"]},{"1399766533":["hashtag1","hashtag2"]},{"1399766535":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766531, 1399766537, 1399766542, 1399766539, 1399766533, 1399766535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94411301612854 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:41:03.120806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_24_10701.jpg', '/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_34_9638.jpg', '/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_44_9695.jpg', '/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_54_10641.jpg', '/home/pi/Desktop/images/17122025/09/36/image_17122025_09_37_04_9701.jpg', '/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_14_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_24_10701.jpg
/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_34_9638.jpg
/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_44_9695.jpg
/home/pi/Desktop/images/17122025/09/36/image_17122025_09_36_54_10641.jpg
/home/pi/Desktop/images/17122025/09/36/image_17122025_09_37_04_9701.jpg
/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_14_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766559","1399766561","1399766554","1399766563","1399766557","1399766565"],"photo_ids_order":["1399766554","1399766557","1399766559","1399766561","1399766563","1399766565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f880848e9a6dc36178581b5683ae6a37.jpg","text":"TemporaryFile(/tmp/multipartBody3994239752034303534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960923799,"filename":"image_17122025_09_36_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ef887d6868a5062d7e5e6ba4183d65c.jpg","text":"TemporaryFile(/tmp/multipartBody5027146792909625809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960923799,"filename":"image_17122025_09_36_54_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1df0c13155930dd8f754a3c6e1d8c792.jpg","text":"TemporaryFile(/tmp/multipartBody1696780737035881781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960923799,"filename":"image_17122025_09_36_24_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/545ff0b5094acfc8210b072136fe970e.jpg","text":"TemporaryFile(/tmp/multipartBody5051152091019017656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960923799,"filename":"image_17122025_09_37_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10f7788d3bdd3b40f09af5c19f6098c0.jpg","text":"TemporaryFile(/tmp/multipartBody327732329039161717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960923799,"filename":"image_17122025_09_36_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/099ec71781ca46e90cda374a9c20a28d.jpg","text":"TemporaryFile(/tmp/multipartBody5481339123921103032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960923799,"filename":"image_17122025_09_37_14_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766559","file1":"1399766557","file0":"1399766554","file4":"1399766563","file5":"1399766565","file3":"1399766561"},"map_files_photo_id_array":[{"photo_id":"1399766565","filename":"file5"},{"photo_id":"1399766559","filename":"file2"},{"photo_id":"1399766563","filename":"file4"},{"photo_id":"1399766557","filename":"file1"},{"photo_id":"1399766554","filename":"file0"},{"photo_id":"1399766561","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766559":["hashtag1","hashtag2"]},{"1399766561":["hashtag1","hashtag2"]},{"1399766554":["hashtag1","hashtag2"]},{"1399766563":["hashtag1","hashtag2"]},{"1399766557":["hashtag1","hashtag2"]},{"1399766565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766559, 1399766561, 1399766554, 1399766563, 1399766557, 1399766565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.028218030929565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:41:42.429997
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_08_2741.jpg', '/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_20_2554.jpg', '/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_24_3635.jpg', '/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_26_2515.jpg', '/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_53_2770.jpg', '/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_02_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_08_2741.jpg
/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_20_2554.jpg
/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_24_3635.jpg
/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_26_2515.jpg
/home/pi/Desktop/images/07112025/18/27/image_07112025_18_27_53_2770.jpg
/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_02_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766607","1399766606","1399766590","1399766608","1399766571","1399766574"],"photo_ids_order":["1399766571","1399766574","1399766590","1399766606","1399766607","1399766608"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b30e47c4d8a622d4a9cfb91d67020bb.jpg","text":"TemporaryFile(/tmp/multipartBody8965901721856834483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960963190,"filename":"image_07112025_18_27_53_2770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a264ecf68308925568791797be7782a.jpg","text":"TemporaryFile(/tmp/multipartBody6201531027752186744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960963190,"filename":"image_07112025_18_27_26_2515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d05213550385dea86e51e9b23d692c9.jpg","text":"TemporaryFile(/tmp/multipartBody6779002877523565006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960963190,"filename":"image_07112025_18_27_24_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9b38d61b3db028e2e657008b4c838dd.jpg","text":"TemporaryFile(/tmp/multipartBody5600344136067054153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960963190,"filename":"image_07112025_18_28_02_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ee4f08cc6219879da8d6c801b6ee152.jpg","text":"TemporaryFile(/tmp/multipartBody5732533717431706624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960963190,"filename":"image_07112025_18_27_08_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af57ca9366b48e386cd2b64f2153a95d.jpg","text":"TemporaryFile(/tmp/multipartBody8008375879973482242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765960963190,"filename":"image_07112025_18_27_20_2554.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766590","file1":"1399766574","file0":"1399766571","file4":"1399766607","file5":"1399766608","file3":"1399766606"},"map_files_photo_id_array":[{"photo_id":"1399766608","filename":"file5"},{"photo_id":"1399766590","filename":"file2"},{"photo_id":"1399766607","filename":"file4"},{"photo_id":"1399766574","filename":"file1"},{"photo_id":"1399766571","filename":"file0"},{"photo_id":"1399766606","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399766607":["hashtag1","hashtag2"]},{"1399766606":["hashtag1","hashtag2"]},{"1399766590":["hashtag1","hashtag2"]},{"1399766608":["hashtag1","hashtag2"]},{"1399766571":["hashtag1","hashtag2"]},{"1399766574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399766607, 1399766606, 1399766590, 1399766608, 1399766571, 1399766574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35136389732361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:42:22.670052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_24_9876.jpg', '/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_34_10675.jpg', '/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_44_9685.jpg', '/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_54_9758.jpg', '/home/pi/Desktop/images/17122025/09/37/image_17122025_09_38_05_10744.jpg', '/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_14_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_24_9876.jpg
/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_34_10675.jpg
/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_44_9685.jpg
/home/pi/Desktop/images/17122025/09/37/image_17122025_09_37_54_9758.jpg
/home/pi/Desktop/images/17122025/09/37/image_17122025_09_38_05_10744.jpg
/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_14_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766622","1399766619","1399766627","1399766617","1399766629","1399766614"],"photo_ids_order":["1399766614","1399766617","1399766619","1399766622","1399766627","1399766629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f71fc0f5b53c5b71ab7182ee35b4c651.jpg","text":"TemporaryFile(/tmp/multipartBody1385122959417727488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961003320,"filename":"image_17122025_09_37_54_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4230347cb97610ec6bc5e510ccbf7bae.jpg","text":"TemporaryFile(/tmp/multipartBody1595608923562035712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961003320,"filename":"image_17122025_09_37_44_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/258651ba0ba04f25c8706940d9b52706.jpg","text":"TemporaryFile(/tmp/multipartBody4569116776804268994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961003320,"filename":"image_17122025_09_38_05_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/576b02c3aabdd54168e250704faf3e86.jpg","text":"TemporaryFile(/tmp/multipartBody1346044453507816907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961003320,"filename":"image_17122025_09_37_34_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad4cc4e45acf4bb3618140ef9c182e67.jpg","text":"TemporaryFile(/tmp/multipartBody699590366988635525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961003320,"filename":"image_17122025_09_38_14_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad2492dd2be356f41856d32ae75c1349.jpg","text":"TemporaryFile(/tmp/multipartBody7723495340461057736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961003320,"filename":"image_17122025_09_37_24_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766619","file1":"1399766617","file0":"1399766614","file4":"1399766627","file5":"1399766629","file3":"1399766622"},"map_files_photo_id_array":[{"photo_id":"1399766629","filename":"file5"},{"photo_id":"1399766619","filename":"file2"},{"photo_id":"1399766627","filename":"file4"},{"photo_id":"1399766617","filename":"file1"},{"photo_id":"1399766614","filename":"file0"},{"photo_id":"1399766622","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766622":["hashtag1","hashtag2"]},{"1399766619":["hashtag1","hashtag2"]},{"1399766627":["hashtag1","hashtag2"]},{"1399766617":["hashtag1","hashtag2"]},{"1399766629":["hashtag1","hashtag2"]},{"1399766614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766622, 1399766619, 1399766627, 1399766617, 1399766629, 1399766614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33539581298828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:43:02.587116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_24_9814.jpg', '/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_34_9859.jpg', '/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_45_10721.jpg', '/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_54_9696.jpg', '/home/pi/Desktop/images/17122025/09/38/image_17122025_09_39_04_9752.jpg', '/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_14_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_24_9814.jpg
/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_34_9859.jpg
/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_45_10721.jpg
/home/pi/Desktop/images/17122025/09/38/image_17122025_09_38_54_9696.jpg
/home/pi/Desktop/images/17122025/09/38/image_17122025_09_39_04_9752.jpg
/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_14_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":["1399766651","1399766648","1399766641","1399766644","1399766646","1399766640"],"photo_ids_order":["1399766640","1399766641","1399766644","1399766646","1399766648","1399766651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25896fb0124f0d5c5130ccb198d98583.jpg","text":"TemporaryFile(/tmp/multipartBody627938983835725311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961043255,"filename":"image_17122025_09_39_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c936d20dd55c310fcf26ea9c8ec7fcd.jpg","text":"TemporaryFile(/tmp/multipartBody8348375432206998611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961043255,"filename":"image_17122025_09_39_04_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a6c9c79d888046f4c646d3755c981a7.jpg","text":"TemporaryFile(/tmp/multipartBody3116596274611934699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961043255,"filename":"image_17122025_09_38_34_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08634904d7acd8855f0ba510e59aa013.jpg","text":"TemporaryFile(/tmp/multipartBody2293302421211074126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961043255,"filename":"image_17122025_09_38_45_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d3017247556385d5cf5e2d3660ac6d7.jpg","text":"TemporaryFile(/tmp/multipartBody4991882035132423240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961043255,"filename":"image_17122025_09_38_54_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bab68d313a9d9c8b5208589c07e221a.jpg","text":"TemporaryFile(/tmp/multipartBody7196187282719017340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961043255,"filename":"image_17122025_09_38_24_9814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766644","file1":"1399766641","file0":"1399766640","file4":"1399766648","file5":"1399766651","file3":"1399766646"},"map_files_photo_id_array":[{"photo_id":"1399766651","filename":"file5"},{"photo_id":"1399766644","filename":"file2"},{"photo_id":"1399766648","filename":"file4"},{"photo_id":"1399766641","filename":"file1"},{"photo_id":"1399766640","filename":"file0"},{"photo_id":"1399766646","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766651":["hashtag1","hashtag2"]},{"1399766648":["hashtag1","hashtag2"]},{"1399766641":["hashtag1","hashtag2"]},{"1399766644":["hashtag1","hashtag2"]},{"1399766646":["hashtag1","hashtag2"]},{"1399766640":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766651, 1399766648, 1399766641, 1399766644, 1399766646, 1399766640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38149428367615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:43:42.077036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_08_2647.jpg', '/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_18_10630.jpg', '/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_55_1671.jpg', '/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_57_1503.jpg', '/home/pi/Desktop/images/07112025/18/29/image_07112025_18_29_31_1631.jpg', '/home/pi/Desktop/images/07112025/18/29/image_07112025_18_29_57_25873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_08_2647.jpg
/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_18_10630.jpg
/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_55_1671.jpg
/home/pi/Desktop/images/07112025/18/28/image_07112025_18_28_57_1503.jpg
/home/pi/Desktop/images/07112025/18/29/image_07112025_18_29_31_1631.jpg
/home/pi/Desktop/images/07112025/18/29/image_07112025_18_29_57_25873.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766663","1399766662","1399766664","1399766658","1399766661","1399766655"],"photo_ids_order":["1399766655","1399766658","1399766661","1399766662","1399766663","1399766664"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/083dd4416311a7c5be08b2a44572a15a.jpg","text":"TemporaryFile(/tmp/multipartBody8572726454730502801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961082831,"filename":"image_07112025_18_29_31_1631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eabb04785189203d1a7428c8fdb22e33.jpg","text":"TemporaryFile(/tmp/multipartBody2462864028878710870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961082831,"filename":"image_07112025_18_28_57_1503.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2ec5f5142de5af80cc180293fb9c88a.jpg","text":"TemporaryFile(/tmp/multipartBody3023777532390594542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961082831,"filename":"image_07112025_18_29_57_25873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c8d06c642a79793122c6da341bf869b.jpg","text":"TemporaryFile(/tmp/multipartBody4738392463826524527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961082831,"filename":"image_07112025_18_28_18_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f378478a1514503a722a05d1ddd216a7.jpg","text":"TemporaryFile(/tmp/multipartBody5231510366112081332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961082831,"filename":"image_07112025_18_28_55_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec1b5e19da7b9d4b6cfb6eebe31e2ba3.jpg","text":"TemporaryFile(/tmp/multipartBody2335002503291784817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961082831,"filename":"image_07112025_18_28_08_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766661","file1":"1399766658","file0":"1399766655","file4":"1399766663","file5":"1399766664","file3":"1399766662"},"map_files_photo_id_array":[{"photo_id":"1399766664","filename":"file5"},{"photo_id":"1399766661","filename":"file2"},{"photo_id":"1399766663","filename":"file4"},{"photo_id":"1399766658","filename":"file1"},{"photo_id":"1399766655","filename":"file0"},{"photo_id":"1399766662","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399766663":["hashtag1","hashtag2"]},{"1399766662":["hashtag1","hashtag2"]},{"1399766664":["hashtag1","hashtag2"]},{"1399766658":["hashtag1","hashtag2"]},{"1399766661":["hashtag1","hashtag2"]},{"1399766655":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399766663, 1399766662, 1399766664, 1399766658, 1399766661, 1399766655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55437397956848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:44:22.358492
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_24_9995.jpg', '/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_35_10858.jpg', '/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_44_9690.jpg', '/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_54_9904.jpg', '/home/pi/Desktop/images/17122025/09/39/image_17122025_09_40_04_9695.jpg', '/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_15_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_24_9995.jpg
/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_35_10858.jpg
/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_44_9690.jpg
/home/pi/Desktop/images/17122025/09/39/image_17122025_09_39_54_9904.jpg
/home/pi/Desktop/images/17122025/09/39/image_17122025_09_40_04_9695.jpg
/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_15_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":["1399766687","1399766681","1399766678","1399766671","1399766674","1399766670"],"photo_ids_order":["1399766670","1399766671","1399766674","1399766678","1399766681","1399766687"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9f8944ac98e712025089bf263398505.jpg","text":"TemporaryFile(/tmp/multipartBody4292287416064663006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961122977,"filename":"image_17122025_09_40_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e32078482a72de361c1b35297517fb06.jpg","text":"TemporaryFile(/tmp/multipartBody1090898900819831240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961122977,"filename":"image_17122025_09_40_04_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0cfcc7b2e5df72a43aa4e4e31abdb12.jpg","text":"TemporaryFile(/tmp/multipartBody553000162938189042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961122977,"filename":"image_17122025_09_39_54_9904.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e1ef4d2581fad0f65e1fdcce58faf58.jpg","text":"TemporaryFile(/tmp/multipartBody5424568824726289721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961122977,"filename":"image_17122025_09_39_35_10858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c1144c06dc9d856b04276ec878de981.jpg","text":"TemporaryFile(/tmp/multipartBody7651412391291982896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961122977,"filename":"image_17122025_09_39_44_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0883b327e232efda41d2601305f5544.jpg","text":"TemporaryFile(/tmp/multipartBody1464887960124741664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961122977,"filename":"image_17122025_09_39_24_9995.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766674","file1":"1399766671","file0":"1399766670","file4":"1399766681","file5":"1399766687","file3":"1399766678"},"map_files_photo_id_array":[{"photo_id":"1399766687","filename":"file5"},{"photo_id":"1399766674","filename":"file2"},{"photo_id":"1399766681","filename":"file4"},{"photo_id":"1399766671","filename":"file1"},{"photo_id":"1399766670","filename":"file0"},{"photo_id":"1399766678","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766687":["hashtag1","hashtag2"]},{"1399766681":["hashtag1","hashtag2"]},{"1399766678":["hashtag1","hashtag2"]},{"1399766671":["hashtag1","hashtag2"]},{"1399766674":["hashtag1","hashtag2"]},{"1399766670":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766687, 1399766681, 1399766678, 1399766671, 1399766674, 1399766670)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35257291793823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:45:03.155386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_24_9773.jpg', '/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_34_9727.jpg', '/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_44_9886.jpg', '/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_55_10586.jpg', '/home/pi/Desktop/images/17122025/09/40/image_17122025_09_41_04_9784.jpg', '/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_14_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_24_9773.jpg
/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_34_9727.jpg
/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_44_9886.jpg
/home/pi/Desktop/images/17122025/09/40/image_17122025_09_40_55_10586.jpg
/home/pi/Desktop/images/17122025/09/40/image_17122025_09_41_04_9784.jpg
/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_14_9783.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":["1399766736","1399766741","1399766744","1399766747","1399766734","1399766737"],"photo_ids_order":["1399766734","1399766736","1399766737","1399766741","1399766744","1399766747"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2dd36030154d2b86c94e03e8cdb78b7a.jpg","text":"TemporaryFile(/tmp/multipartBody7615462746329453218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961166372,"filename":"image_17122025_09_40_34_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d037f5d8ac8fd583e471d2c4fb41aa0c.jpg","text":"TemporaryFile(/tmp/multipartBody8544213381463075307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961166372,"filename":"image_17122025_09_40_55_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25e49a173ea0019ece3873f41b2fa080.jpg","text":"TemporaryFile(/tmp/multipartBody5874567990851620145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961166372,"filename":"image_17122025_09_41_04_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a4ca07ee8d7b08b22d1fd503b50d3ad.jpg","text":"TemporaryFile(/tmp/multipartBody4189080177528796738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961166372,"filename":"image_17122025_09_41_14_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3ddc935ca196301566c9bb501b39b74.jpg","text":"TemporaryFile(/tmp/multipartBody3238214200763050879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961166372,"filename":"image_17122025_09_40_24_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e28f81b32b6406e037907f4ba52159ae.jpg","text":"TemporaryFile(/tmp/multipartBody2670125791173036825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961166372,"filename":"image_17122025_09_40_44_9886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766737","file1":"1399766736","file0":"1399766734","file4":"1399766744","file5":"1399766747","file3":"1399766741"},"map_files_photo_id_array":[{"photo_id":"1399766747","filename":"file5"},{"photo_id":"1399766737","filename":"file2"},{"photo_id":"1399766744","filename":"file4"},{"photo_id":"1399766736","filename":"file1"},{"photo_id":"1399766734","filename":"file0"},{"photo_id":"1399766741","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766736":["hashtag1","hashtag2"]},{"1399766741":["hashtag1","hashtag2"]},{"1399766744":["hashtag1","hashtag2"]},{"1399766747":["hashtag1","hashtag2"]},{"1399766734":["hashtag1","hashtag2"]},{"1399766737":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766736, 1399766741, 1399766744, 1399766747, 1399766734, 1399766737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.96965718269348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:46:09.450532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_24_9793.jpg', '/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_35_10630.jpg', '/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_44_9760.jpg', '/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_54_9661.jpg', '/home/pi/Desktop/images/17122025/09/41/image_17122025_09_42_04_9708.jpg', '/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_14_10702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_24_9793.jpg
/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_35_10630.jpg
/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_44_9760.jpg
/home/pi/Desktop/images/17122025/09/41/image_17122025_09_41_54_9661.jpg
/home/pi/Desktop/images/17122025/09/41/image_17122025_09_42_04_9708.jpg
/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_14_10702.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":["1399766762","1399766765","1399766759","1399766767","1399766755","1399766757"],"photo_ids_order":["1399766755","1399766757","1399766759","1399766762","1399766765","1399766767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/545ad4cba9e33228147af0fd8809f93a.jpg","text":"TemporaryFile(/tmp/multipartBody2897220236445966140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961232408,"filename":"image_17122025_09_41_54_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fe6600115806890c96adb7fc2d01882.jpg","text":"TemporaryFile(/tmp/multipartBody4157290686566295603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961232408,"filename":"image_17122025_09_42_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c37b6ff861cf109d07ea30d0540604a.jpg","text":"TemporaryFile(/tmp/multipartBody5403818941612708517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961232408,"filename":"image_17122025_09_41_44_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7309eabd10a9e6dcf631f52c26656f7.jpg","text":"TemporaryFile(/tmp/multipartBody3649522443013728247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961232408,"filename":"image_17122025_09_42_14_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b00480e94c25c986008539d855ea5325.jpg","text":"TemporaryFile(/tmp/multipartBody3633916971771659546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961232408,"filename":"image_17122025_09_41_24_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54db3a6b164747ce2624594d43ea8fe2.jpg","text":"TemporaryFile(/tmp/multipartBody6185390092728148089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961232408,"filename":"image_17122025_09_41_35_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766759","file1":"1399766757","file0":"1399766755","file4":"1399766765","file5":"1399766767","file3":"1399766762"},"map_files_photo_id_array":[{"photo_id":"1399766767","filename":"file5"},{"photo_id":"1399766759","filename":"file2"},{"photo_id":"1399766765","filename":"file4"},{"photo_id":"1399766757","filename":"file1"},{"photo_id":"1399766755","filename":"file0"},{"photo_id":"1399766762","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766762":["hashtag1","hashtag2"]},{"1399766765":["hashtag1","hashtag2"]},{"1399766759":["hashtag1","hashtag2"]},{"1399766767":["hashtag1","hashtag2"]},{"1399766755":["hashtag1","hashtag2"]},{"1399766757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766762, 1399766765, 1399766759, 1399766767, 1399766755, 1399766757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1739547252655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:47:03.084766
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_24_9745.jpg', '/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_34_9763.jpg', '/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_44_9742.jpg', '/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_54_10665.jpg', '/home/pi/Desktop/images/17122025/09/42/image_17122025_09_43_04_9793.jpg', '/home/pi/Desktop/images/17122025/09/43/image_17122025_09_43_14_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_24_9745.jpg
/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_34_9763.jpg
/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_44_9742.jpg
/home/pi/Desktop/images/17122025/09/42/image_17122025_09_42_54_10665.jpg
/home/pi/Desktop/images/17122025/09/42/image_17122025_09_43_04_9793.jpg
/home/pi/Desktop/images/17122025/09/43/image_17122025_09_43_14_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":["1399766786","1399766789","1399766780","1399766782","1399766784","1399766778"],"photo_ids_order":["1399766778","1399766780","1399766782","1399766784","1399766786","1399766789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18ea1b345c45c5ffd3f6e80750842749.jpg","text":"TemporaryFile(/tmp/multipartBody4418808542536616674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961283827,"filename":"image_17122025_09_43_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c4a8e4a911969e7942e095ab2860a91.jpg","text":"TemporaryFile(/tmp/multipartBody8903359095480016918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961283827,"filename":"image_17122025_09_43_14_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68ad9ce9ed8bd4aafa9ae71fe2fae740.jpg","text":"TemporaryFile(/tmp/multipartBody8975196330670336355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961283827,"filename":"image_17122025_09_42_34_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47353f3a4010b2d8645101b86b754b37.jpg","text":"TemporaryFile(/tmp/multipartBody4438927041598121670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961283827,"filename":"image_17122025_09_42_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/541650a3fa2f0a638b9c5e1c97710d1b.jpg","text":"TemporaryFile(/tmp/multipartBody5622710721297729129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961283827,"filename":"image_17122025_09_42_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3cec9818708e243d886518a8fce6bab8.jpg","text":"TemporaryFile(/tmp/multipartBody116575531116316272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961283827,"filename":"image_17122025_09_42_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766782","file1":"1399766780","file0":"1399766778","file4":"1399766786","file5":"1399766789","file3":"1399766784"},"map_files_photo_id_array":[{"photo_id":"1399766789","filename":"file5"},{"photo_id":"1399766782","filename":"file2"},{"photo_id":"1399766786","filename":"file4"},{"photo_id":"1399766780","filename":"file1"},{"photo_id":"1399766778","filename":"file0"},{"photo_id":"1399766784","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766786":["hashtag1","hashtag2"]},{"1399766789":["hashtag1","hashtag2"]},{"1399766780":["hashtag1","hashtag2"]},{"1399766782":["hashtag1","hashtag2"]},{"1399766784":["hashtag1","hashtag2"]},{"1399766778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766786, 1399766789, 1399766780, 1399766782, 1399766784, 1399766778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.437241077423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:47:42.336229
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_07_3284.jpg', '/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_10_3433.jpg', '/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_21_2645.jpg', '/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_38_16124.jpg', '/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_42_1637.jpg', '/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_49_1654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_07_3284.jpg
/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_10_3433.jpg
/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_21_2645.jpg
/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_38_16124.jpg
/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_42_1637.jpg
/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_49_1654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766835","1399766808","1399766834","1399766797","1399766833","1399766800"],"photo_ids_order":["1399766797","1399766800","1399766808","1399766833","1399766834","1399766835"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/901a3665cf9d9144ede078e2ca1bc3ec.jpg","text":"TemporaryFile(/tmp/multipartBody6388278622606377687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961323097,"filename":"image_07112025_18_31_49_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff2ac1d40bf42338e9ec1b4d5dca3292.jpg","text":"TemporaryFile(/tmp/multipartBody6517257081705945066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961323097,"filename":"image_07112025_18_31_21_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a454fe125b970919ef47893e0f2e4d44.jpg","text":"TemporaryFile(/tmp/multipartBody828017221222685298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961323097,"filename":"image_07112025_18_31_42_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74be4a8cd4eb3d0da5650804a5579bfd.jpg","text":"TemporaryFile(/tmp/multipartBody2617371426433978223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961323097,"filename":"image_07112025_18_31_07_3284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87dfd0ac1037a2b028400fc244dbafb7.jpg","text":"TemporaryFile(/tmp/multipartBody8937942794838502064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961323097,"filename":"image_07112025_18_31_38_16124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc9689ff984066f6f93c908749712f8a.jpg","text":"TemporaryFile(/tmp/multipartBody7723041087839746515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961323097,"filename":"image_07112025_18_31_10_3433.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766808","file1":"1399766800","file0":"1399766797","file4":"1399766834","file5":"1399766835","file3":"1399766833"},"map_files_photo_id_array":[{"photo_id":"1399766835","filename":"file5"},{"photo_id":"1399766808","filename":"file2"},{"photo_id":"1399766834","filename":"file4"},{"photo_id":"1399766800","filename":"file1"},{"photo_id":"1399766797","filename":"file0"},{"photo_id":"1399766833","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399766835":["hashtag1","hashtag2"]},{"1399766808":["hashtag1","hashtag2"]},{"1399766834":["hashtag1","hashtag2"]},{"1399766797":["hashtag1","hashtag2"]},{"1399766833":["hashtag1","hashtag2"]},{"1399766800":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399766835, 1399766808, 1399766834, 1399766797, 1399766833, 1399766800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9238920211792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:48:22.596237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/43/image_17122025_09_43_24_10770.jpg', '/home/pi/Desktop/images/17122025/09/43/image_17122025_09_43_44_9802.jpg', '/home/pi/Desktop/images/17122025/09/43/image_17122025_09_43_54_9682.jpg', '/home/pi/Desktop/images/17122025/09/43/image_17122025_09_44_05_10672.jpg', '/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_14_9792.jpg', '/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_24_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/43/image_17122025_09_43_24_10770.jpg
/home/pi/Desktop/images/17122025/09/43/image_17122025_09_43_44_9802.jpg
/home/pi/Desktop/images/17122025/09/43/image_17122025_09_43_54_9682.jpg
/home/pi/Desktop/images/17122025/09/43/image_17122025_09_44_05_10672.jpg
/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_14_9792.jpg
/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_24_9779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766841","1399766863","1399766862","1399766856","1399766844","1399766847"],"photo_ids_order":["1399766841","1399766844","1399766847","1399766856","1399766862","1399766863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1509665c36e73c7466d606f32e1bf9b.jpg","text":"TemporaryFile(/tmp/multipartBody5456824546822803031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961368245,"filename":"image_17122025_09_43_24_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d04a20266bb3db84a17b72cffc04d3e.jpg","text":"TemporaryFile(/tmp/multipartBody8930636447701204966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961368245,"filename":"image_17122025_09_44_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97490165cfc35f480893ab8b71b2599d.jpg","text":"TemporaryFile(/tmp/multipartBody6247381918135579928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961368245,"filename":"image_17122025_09_44_14_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1407c59f0104361f53bc3f1e29fd442a.jpg","text":"TemporaryFile(/tmp/multipartBody5845812279258114115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961368245,"filename":"image_17122025_09_44_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ae0d373e3ae1e4fe59d175f92ff8766.jpg","text":"TemporaryFile(/tmp/multipartBody1055872562855521684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961368245,"filename":"image_17122025_09_43_44_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b33d51cecdb2cee1f9c5dee4862eacb.jpg","text":"TemporaryFile(/tmp/multipartBody2916094541086453542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961368245,"filename":"image_17122025_09_43_54_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766847","file1":"1399766844","file0":"1399766841","file4":"1399766862","file5":"1399766863","file3":"1399766856"},"map_files_photo_id_array":[{"photo_id":"1399766863","filename":"file5"},{"photo_id":"1399766847","filename":"file2"},{"photo_id":"1399766862","filename":"file4"},{"photo_id":"1399766844","filename":"file1"},{"photo_id":"1399766841","filename":"file0"},{"photo_id":"1399766856","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766841":["hashtag1","hashtag2"]},{"1399766863":["hashtag1","hashtag2"]},{"1399766862":["hashtag1","hashtag2"]},{"1399766856":["hashtag1","hashtag2"]},{"1399766844":["hashtag1","hashtag2"]},{"1399766847":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766841, 1399766863, 1399766862, 1399766856, 1399766844, 1399766847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58183526992798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:49:12.783293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:49:22.810077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_34_9804.jpg', '/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_45_10704.jpg', '/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_54_9683.jpg', '/home/pi/Desktop/images/17122025/09/44/image_17122025_09_45_04_9649.jpg', '/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_14_9892.jpg', '/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_24_10563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_34_9804.jpg
/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_45_10704.jpg
/home/pi/Desktop/images/17122025/09/44/image_17122025_09_44_54_9683.jpg
/home/pi/Desktop/images/17122025/09/44/image_17122025_09_45_04_9649.jpg
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_14_9892.jpg
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_24_10563.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766888","1399766884","1399766880","1399766874","1399766877","1399766871"],"photo_ids_order":["1399766871","1399766874","1399766877","1399766880","1399766884","1399766888"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec96ed2c654ccd837da955af510eb5fd.jpg","text":"TemporaryFile(/tmp/multipartBody3051267657405137438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961423458,"filename":"image_17122025_09_45_24_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07323fa768d76b1a08fb5a79af4d8b47.jpg","text":"TemporaryFile(/tmp/multipartBody8945792953431819957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961423458,"filename":"image_17122025_09_45_14_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92aee76f35f46107c6e9196f85adef82.jpg","text":"TemporaryFile(/tmp/multipartBody6416402798075266840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961423458,"filename":"image_17122025_09_45_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fee3e7796703eb04cdb197bba0b916a.jpg","text":"TemporaryFile(/tmp/multipartBody1380255730159001205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961423458,"filename":"image_17122025_09_44_45_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32ebf0e693be9ba9f94f220c8325cf78.jpg","text":"TemporaryFile(/tmp/multipartBody7088915024562040829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961423458,"filename":"image_17122025_09_44_54_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/439ccf04199ea75f72b849724d1ee24e.jpg","text":"TemporaryFile(/tmp/multipartBody244326448878509607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961423458,"filename":"image_17122025_09_44_34_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766877","file1":"1399766874","file0":"1399766871","file4":"1399766884","file5":"1399766888","file3":"1399766880"},"map_files_photo_id_array":[{"photo_id":"1399766888","filename":"file5"},{"photo_id":"1399766877","filename":"file2"},{"photo_id":"1399766884","filename":"file4"},{"photo_id":"1399766874","filename":"file1"},{"photo_id":"1399766871","filename":"file0"},{"photo_id":"1399766880","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766888":["hashtag1","hashtag2"]},{"1399766884":["hashtag1","hashtag2"]},{"1399766880":["hashtag1","hashtag2"]},{"1399766874":["hashtag1","hashtag2"]},{"1399766877":["hashtag1","hashtag2"]},{"1399766871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766888, 1399766884, 1399766880, 1399766874, 1399766877, 1399766871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.38163137435913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:50:02.524352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_34_9905.jpg', '/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_44_9622.jpg', '/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_55_10692.jpg', '/home/pi/Desktop/images/17122025/09/45/image_17122025_09_46_04_9634.jpg', '/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_14_9845.jpg', '/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_24_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_34_9905.jpg
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_44_9622.jpg
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_55_10692.jpg
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_46_04_9634.jpg
/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_14_9845.jpg
/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_24_9596.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5345778465270996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:50:12.045449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:50:22.002097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_34_9905.jpg', '/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_44_9622.jpg', '/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_55_10692.jpg', '/home/pi/Desktop/images/17122025/09/45/image_17122025_09_46_04_9634.jpg', '/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_14_9845.jpg', '/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_24_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_34_9905.jpg
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_44_9622.jpg
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_45_55_10692.jpg
/home/pi/Desktop/images/17122025/09/45/image_17122025_09_46_04_9634.jpg
/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_14_9845.jpg
/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_24_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399766907","1399766927","1399766906","1399766899","1399766914","1399766902"],"photo_ids_order":["1399766899","1399766902","1399766906","1399766907","1399766914","1399766927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3b5614af8a57fc4a8a387ff12988fb1.jpg","text":"TemporaryFile(/tmp/multipartBody6090315177125900927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961482625,"filename":"image_17122025_09_46_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9e69cb4c48289527e2dfac69b4960e3.jpg","text":"TemporaryFile(/tmp/multipartBody5140250381672774032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961482625,"filename":"image_17122025_09_46_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96a44a194b59ebf60b8d5615cd1a64ed.jpg","text":"TemporaryFile(/tmp/multipartBody7047577671743865049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961482625,"filename":"image_17122025_09_45_55_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b34670fd2057bdd8107b5be5b2bf3ce.jpg","text":"TemporaryFile(/tmp/multipartBody4245646987504274505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961482625,"filename":"image_17122025_09_45_34_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90bdd2e531ca2fb0d711041901293ec5.jpg","text":"TemporaryFile(/tmp/multipartBody2471086950945951114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961482625,"filename":"image_17122025_09_46_14_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5dff61cace29e91cc9923024a02d5170.jpg","text":"TemporaryFile(/tmp/multipartBody6060103656406888602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961482625,"filename":"image_17122025_09_45_44_9622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766906","file1":"1399766902","file0":"1399766899","file4":"1399766914","file5":"1399766927","file3":"1399766907"},"map_files_photo_id_array":[{"photo_id":"1399766927","filename":"file5"},{"photo_id":"1399766906","filename":"file2"},{"photo_id":"1399766914","filename":"file4"},{"photo_id":"1399766902","filename":"file1"},{"photo_id":"1399766899","filename":"file0"},{"photo_id":"1399766907","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766907":["hashtag1","hashtag2"]},{"1399766927":["hashtag1","hashtag2"]},{"1399766906":["hashtag1","hashtag2"]},{"1399766899":["hashtag1","hashtag2"]},{"1399766914":["hashtag1","hashtag2"]},{"1399766902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766907, 1399766927, 1399766906, 1399766899, 1399766914, 1399766902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72141790390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:51:02.904219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_34_10741.jpg', '/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_44_9722.jpg', '/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_54_9623.jpg', '/home/pi/Desktop/images/17122025/09/46/image_17122025_09_47_05_10775.jpg', '/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_14_9838.jpg', '/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_24_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_34_10741.jpg
/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_44_9722.jpg
/home/pi/Desktop/images/17122025/09/46/image_17122025_09_46_54_9623.jpg
/home/pi/Desktop/images/17122025/09/46/image_17122025_09_47_05_10775.jpg
/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_14_9838.jpg
/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_24_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399766981","1399766983","1399766988","1399766985","1399766979","1399766970"],"photo_ids_order":["1399766970","1399766979","1399766981","1399766983","1399766985","1399766988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df126b509db2ed00406dce05623e5d30.jpg","text":"TemporaryFile(/tmp/multipartBody4259788513736747216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961523575,"filename":"image_17122025_09_46_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d098a0c17effb5b8756d8fb4f5560143.jpg","text":"TemporaryFile(/tmp/multipartBody3659523944939443837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961523575,"filename":"image_17122025_09_47_05_10775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0089f1f79c2edd8251feda27f4ba9ecd.jpg","text":"TemporaryFile(/tmp/multipartBody4123862580952762315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961523575,"filename":"image_17122025_09_47_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a983915d91a2d8e9bef30cddfee7f6b6.jpg","text":"TemporaryFile(/tmp/multipartBody8480728996184263953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961523575,"filename":"image_17122025_09_47_14_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09b990e232f9b61876e4914d26f5ae0d.jpg","text":"TemporaryFile(/tmp/multipartBody8667744126601473251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961523575,"filename":"image_17122025_09_46_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18a03714b52c763f7e56618a63e33978.jpg","text":"TemporaryFile(/tmp/multipartBody8524248687928299648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961523575,"filename":"image_17122025_09_46_34_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399766981","file1":"1399766979","file0":"1399766970","file4":"1399766985","file5":"1399766988","file3":"1399766983"},"map_files_photo_id_array":[{"photo_id":"1399766988","filename":"file5"},{"photo_id":"1399766981","filename":"file2"},{"photo_id":"1399766985","filename":"file4"},{"photo_id":"1399766979","filename":"file1"},{"photo_id":"1399766970","filename":"file0"},{"photo_id":"1399766983","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399766981":["hashtag1","hashtag2"]},{"1399766983":["hashtag1","hashtag2"]},{"1399766988":["hashtag1","hashtag2"]},{"1399766985":["hashtag1","hashtag2"]},{"1399766979":["hashtag1","hashtag2"]},{"1399766970":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399766981, 1399766983, 1399766988, 1399766985, 1399766979, 1399766970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.8717896938324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:52:03.982364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_34_9650.jpg', '/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_44_10709.jpg', '/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_54_9593.jpg', '/home/pi/Desktop/images/17122025/09/47/image_17122025_09_48_04_9722.jpg', '/home/pi/Desktop/images/17122025/09/48/image_17122025_09_48_24_9699.jpg', '/home/pi/Desktop/images/17122025/09/48/image_17122025_09_48_34_9869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_34_9650.jpg
/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_44_10709.jpg
/home/pi/Desktop/images/17122025/09/47/image_17122025_09_47_54_9593.jpg
/home/pi/Desktop/images/17122025/09/47/image_17122025_09_48_04_9722.jpg
/home/pi/Desktop/images/17122025/09/48/image_17122025_09_48_24_9699.jpg
/home/pi/Desktop/images/17122025/09/48/image_17122025_09_48_34_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":["1399767003","1399767008","1399767007","1399767010","1399767012","1399767000"],"photo_ids_order":["1399767000","1399767003","1399767007","1399767008","1399767010","1399767012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d61e0379a39d4b580f3c626039f6410c.jpg","text":"TemporaryFile(/tmp/multipartBody5369035696249879978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961586632,"filename":"image_17122025_09_47_44_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a58a8e8a30aefd1a171b60f082e560cd.jpg","text":"TemporaryFile(/tmp/multipartBody4652629275493551655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961586632,"filename":"image_17122025_09_48_04_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/137a4079365d5b4003e9fd65497b6502.jpg","text":"TemporaryFile(/tmp/multipartBody39683339640777691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961586632,"filename":"image_17122025_09_47_54_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ef97e007fce4046311961f857b8c858.jpg","text":"TemporaryFile(/tmp/multipartBody6038114356006302395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961586632,"filename":"image_17122025_09_48_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e4ccf97928b9c4592436db184a95971.jpg","text":"TemporaryFile(/tmp/multipartBody6979541417280161568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961586632,"filename":"image_17122025_09_48_34_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2115d1327b5ac622f2b597ab4321d760.jpg","text":"TemporaryFile(/tmp/multipartBody6953898932586527889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961586632,"filename":"image_17122025_09_47_34_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399767007","file1":"1399767003","file0":"1399767000","file4":"1399767010","file5":"1399767012","file3":"1399767008"},"map_files_photo_id_array":[{"photo_id":"1399767012","filename":"file5"},{"photo_id":"1399767007","filename":"file2"},{"photo_id":"1399767010","filename":"file4"},{"photo_id":"1399767003","filename":"file1"},{"photo_id":"1399767000","filename":"file0"},{"photo_id":"1399767008","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399767003":["hashtag1","hashtag2"]},{"1399767008":["hashtag1","hashtag2"]},{"1399767007":["hashtag1","hashtag2"]},{"1399767010":["hashtag1","hashtag2"]},{"1399767012":["hashtag1","hashtag2"]},{"1399767000":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399767003, 1399767008, 1399767007, 1399767010, 1399767012, 1399767000)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.044015645980835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:53:07.246804
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/48/image_17122025_09_48_44_9801.jpg', '/home/pi/Desktop/images/17122025/09/48/image_17122025_09_48_54_9834.jpg', '/home/pi/Desktop/images/17122025/09/48/image_17122025_09_49_04_10635.jpg', '/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_14_9681.jpg', '/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_24_9681.jpg', '/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_34_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/48/image_17122025_09_48_44_9801.jpg
/home/pi/Desktop/images/17122025/09/48/image_17122025_09_48_54_9834.jpg
/home/pi/Desktop/images/17122025/09/48/image_17122025_09_49_04_10635.jpg
/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_14_9681.jpg
/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_24_9681.jpg
/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_34_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399767068","1399767029","1399767038","1399767055","1399767066","1399767027"],"photo_ids_order":["1399767027","1399767029","1399767038","1399767055","1399767066","1399767068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88d251324306f3fdaa129264b9ab3f6a.jpg","text":"TemporaryFile(/tmp/multipartBody1289383832408279563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961650325,"filename":"image_17122025_09_49_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ba43159b661a3f8e992d4726eb79f9f.jpg","text":"TemporaryFile(/tmp/multipartBody4466837715379944166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961650325,"filename":"image_17122025_09_48_54_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/935edf031c559401ed5acf349887ea5c.jpg","text":"TemporaryFile(/tmp/multipartBody4626802706867099734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961650325,"filename":"image_17122025_09_49_04_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e68bde87ff0719517892e3cce8c0a40a.jpg","text":"TemporaryFile(/tmp/multipartBody2831808340047685735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961650325,"filename":"image_17122025_09_49_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45b5bb2cda4fdadd2a0734b58f8e9337.jpg","text":"TemporaryFile(/tmp/multipartBody2267582330183720195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961650325,"filename":"image_17122025_09_49_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1c7b2777dad7497d6e0ea506021162a.jpg","text":"TemporaryFile(/tmp/multipartBody8111847050689437983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961650325,"filename":"image_17122025_09_48_44_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399767038","file1":"1399767029","file0":"1399767027","file4":"1399767066","file5":"1399767068","file3":"1399767055"},"map_files_photo_id_array":[{"photo_id":"1399767068","filename":"file5"},{"photo_id":"1399767038","filename":"file2"},{"photo_id":"1399767066","filename":"file4"},{"photo_id":"1399767029","filename":"file1"},{"photo_id":"1399767027","filename":"file0"},{"photo_id":"1399767055","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399767068":["hashtag1","hashtag2"]},{"1399767029":["hashtag1","hashtag2"]},{"1399767038":["hashtag1","hashtag2"]},{"1399767055":["hashtag1","hashtag2"]},{"1399767066":["hashtag1","hashtag2"]},{"1399767027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399767068, 1399767029, 1399767038, 1399767055, 1399767066, 1399767027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83654475212097 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:54:02.702365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_44_9727.jpg', '/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_55_10463.jpg', '/home/pi/Desktop/images/17122025/09/49/image_17122025_09_50_04_9774.jpg', '/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_14_9661.jpg', '/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_24_9928.jpg', '/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_34_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_44_9727.jpg
/home/pi/Desktop/images/17122025/09/49/image_17122025_09_49_55_10463.jpg
/home/pi/Desktop/images/17122025/09/49/image_17122025_09_50_04_9774.jpg
/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_14_9661.jpg
/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_24_9928.jpg
/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_34_9691.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399767101","1399767097","1399767109","1399767099","1399767105","1399767098"],"photo_ids_order":["1399767097","1399767098","1399767099","1399767101","1399767105","1399767109"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec94c2ccda5c4a66a7321d8fd227ab00.jpg","text":"TemporaryFile(/tmp/multipartBody6119214763948404645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961703377,"filename":"image_17122025_09_50_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56eabcf9e6ee65388792e0bb138dc653.jpg","text":"TemporaryFile(/tmp/multipartBody3539667518030486019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961703377,"filename":"image_17122025_09_49_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02b7bb6fc7899cd1a0e9c0809b65fec1.jpg","text":"TemporaryFile(/tmp/multipartBody5296670653642332880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961703377,"filename":"image_17122025_09_50_34_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18feda1028c93cc88e5b52360a840464.jpg","text":"TemporaryFile(/tmp/multipartBody8105965043743935997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961703377,"filename":"image_17122025_09_50_04_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa831a28544c6833c7d9a308b2ef2b6f.jpg","text":"TemporaryFile(/tmp/multipartBody4944476030879229475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961703377,"filename":"image_17122025_09_50_24_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2793b22c69690ef58ba57334982f360.jpg","text":"TemporaryFile(/tmp/multipartBody5240963839728725779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961703377,"filename":"image_17122025_09_49_55_10463.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399767099","file1":"1399767098","file0":"1399767097","file4":"1399767105","file5":"1399767109","file3":"1399767101"},"map_files_photo_id_array":[{"photo_id":"1399767109","filename":"file5"},{"photo_id":"1399767099","filename":"file2"},{"photo_id":"1399767105","filename":"file4"},{"photo_id":"1399767098","filename":"file1"},{"photo_id":"1399767097","filename":"file0"},{"photo_id":"1399767101","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399767101":["hashtag1","hashtag2"]},{"1399767097":["hashtag1","hashtag2"]},{"1399767109":["hashtag1","hashtag2"]},{"1399767099":["hashtag1","hashtag2"]},{"1399767105":["hashtag1","hashtag2"]},{"1399767098":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399767101, 1399767097, 1399767109, 1399767099, 1399767105, 1399767098)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30408072471619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:54:41.996061
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_50_1586.jpg', '/home/pi/Desktop/images/07112025/18/32/image_07112025_18_32_43_2735.jpg', '/home/pi/Desktop/images/07112025/18/33/image_07112025_18_33_07_3567.jpg', '/home/pi/Desktop/images/07112025/18/33/image_07112025_18_33_29_22352.jpg', '/home/pi/Desktop/images/07112025/18/33/image_07112025_18_33_49_1749.jpg', '/home/pi/Desktop/images/07112025/18/33/image_07112025_18_33_51_1704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/31/image_07112025_18_31_50_1586.jpg
/home/pi/Desktop/images/07112025/18/32/image_07112025_18_32_43_2735.jpg
/home/pi/Desktop/images/07112025/18/33/image_07112025_18_33_07_3567.jpg
/home/pi/Desktop/images/07112025/18/33/image_07112025_18_33_29_22352.jpg
/home/pi/Desktop/images/07112025/18/33/image_07112025_18_33_49_1749.jpg
/home/pi/Desktop/images/07112025/18/33/image_07112025_18_33_51_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":["1399767125","1399767124","1399767127","1399767123","1399767126","1399767120"],"photo_ids_order":["1399767120","1399767123","1399767124","1399767125","1399767126","1399767127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2025575e711a49fac0864e0554ee456.jpg","text":"TemporaryFile(/tmp/multipartBody1898106012632946717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961742747,"filename":"image_07112025_18_33_29_22352.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ec93039e90f661ba9608d53eda48446.jpg","text":"TemporaryFile(/tmp/multipartBody6622569346822396284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961742747,"filename":"image_07112025_18_33_07_3567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f117e58137fc3f7b84240c414a88950f.jpg","text":"TemporaryFile(/tmp/multipartBody2862193916198855306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961742747,"filename":"image_07112025_18_33_51_1704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/092e847ee5168883c044797075fd12e7.jpg","text":"TemporaryFile(/tmp/multipartBody8283858590419733224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961742747,"filename":"image_07112025_18_32_43_2735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c4d1bc0899e7286e0e0b2e62a517327.jpg","text":"TemporaryFile(/tmp/multipartBody8469494953616872809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961742747,"filename":"image_07112025_18_33_49_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2e95312e481c7727202c88986b3767f.jpg","text":"TemporaryFile(/tmp/multipartBody602629835596522827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961742747,"filename":"image_07112025_18_31_50_1586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399767124","file1":"1399767123","file0":"1399767120","file4":"1399767126","file5":"1399767127","file3":"1399767125"},"map_files_photo_id_array":[{"photo_id":"1399767127","filename":"file5"},{"photo_id":"1399767124","filename":"file2"},{"photo_id":"1399767126","filename":"file4"},{"photo_id":"1399767123","filename":"file1"},{"photo_id":"1399767120","filename":"file0"},{"photo_id":"1399767125","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399767125":["hashtag1","hashtag2"]},{"1399767124":["hashtag1","hashtag2"]},{"1399767127":["hashtag1","hashtag2"]},{"1399767123":["hashtag1","hashtag2"]},{"1399767126":["hashtag1","hashtag2"]},{"1399767120":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399767125, 1399767124, 1399767127, 1399767123, 1399767126, 1399767120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42042398452759 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:55:22.186316
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_44_10702.jpg', '/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_54_10080.jpg', '/home/pi/Desktop/images/17122025/09/50/image_17122025_09_51_04_9736.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_14_9831.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_24_9778.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_34_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_44_10702.jpg
/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_54_10080.jpg
/home/pi/Desktop/images/17122025/09/50/image_17122025_09_51_04_9736.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_14_9831.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_24_9778.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_34_10635.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.48050713539123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:55:32.236899
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:55:42.140077
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/34/image_07112025_18_34_53_1751.jpg', '/home/pi/Desktop/images/07112025/18/34/image_07112025_18_35_00_1746.jpg', '/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_02_1705.jpg', '/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_04_1929.jpg', '/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_09_4542.jpg', '/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_16_1634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/34/image_07112025_18_34_53_1751.jpg
/home/pi/Desktop/images/07112025/18/34/image_07112025_18_35_00_1746.jpg
/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_02_1705.jpg
/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_04_1929.jpg
/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_09_4542.jpg
/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_16_1634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399767146","1399767140","1399767143","1399767145","1399767148","1399767147"],"photo_ids_order":["1399767140","1399767143","1399767145","1399767146","1399767147","1399767148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/450d43fafbacd59bfe6dc47c7cd5882b.jpg","text":"TemporaryFile(/tmp/multipartBody262917844762353068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961802889,"filename":"image_07112025_18_35_04_1929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1918884459d13acefbda081747b25b74.jpg","text":"TemporaryFile(/tmp/multipartBody677312727667714150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961802889,"filename":"image_07112025_18_34_53_1751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91ca5478a043994537de7ea55ad9d0ae.jpg","text":"TemporaryFile(/tmp/multipartBody5509802612396752263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961802889,"filename":"image_07112025_18_35_00_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ddb2a2db521ee97be5a3ec8d7a05a46.jpg","text":"TemporaryFile(/tmp/multipartBody1208225254449335213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961802889,"filename":"image_07112025_18_35_02_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15bbcf777bc5d58cd7a46cc630afaa0c.jpg","text":"TemporaryFile(/tmp/multipartBody5733796616050821862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961802889,"filename":"image_07112025_18_35_16_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f654cf6ea93db89d6caf23edf39e163.jpg","text":"TemporaryFile(/tmp/multipartBody3167999955635737798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961802889,"filename":"image_07112025_18_35_09_4542.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399767145","file1":"1399767143","file0":"1399767140","file4":"1399767147","file5":"1399767148","file3":"1399767146"},"map_files_photo_id_array":[{"photo_id":"1399767148","filename":"file5"},{"photo_id":"1399767145","filename":"file2"},{"photo_id":"1399767147","filename":"file4"},{"photo_id":"1399767143","filename":"file1"},{"photo_id":"1399767140","filename":"file0"},{"photo_id":"1399767146","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399767146":["hashtag1","hashtag2"]},{"1399767140":["hashtag1","hashtag2"]},{"1399767143":["hashtag1","hashtag2"]},{"1399767145":["hashtag1","hashtag2"]},{"1399767148":["hashtag1","hashtag2"]},{"1399767147":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399767146, 1399767140, 1399767143, 1399767145, 1399767148, 1399767147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.858293533325195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:56:22.441320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_44_10702.jpg', '/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_54_10080.jpg', '/home/pi/Desktop/images/17122025/09/50/image_17122025_09_51_04_9736.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_14_9831.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_24_9778.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_34_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_44_10702.jpg
/home/pi/Desktop/images/17122025/09/50/image_17122025_09_50_54_10080.jpg
/home/pi/Desktop/images/17122025/09/50/image_17122025_09_51_04_9736.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_14_9831.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_24_9778.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_34_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399767164","1399767158","1399767160","1399767154","1399767153","1399767156"],"photo_ids_order":["1399767153","1399767154","1399767156","1399767158","1399767160","1399767164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8777aefd1365e1826a8f28e5cdb5c3ff.jpg","text":"TemporaryFile(/tmp/multipartBody1147880860444950984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961843103,"filename":"image_17122025_09_51_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23a6daec4f649b1ddfa15c9b5bf29931.jpg","text":"TemporaryFile(/tmp/multipartBody8717024538896878632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961843103,"filename":"image_17122025_09_51_14_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/908762c372a90786536cd79ac97fc080.jpg","text":"TemporaryFile(/tmp/multipartBody8282351980448250774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961843103,"filename":"image_17122025_09_51_24_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f50fbccd1ff5cc58972ee4ae10da35f.jpg","text":"TemporaryFile(/tmp/multipartBody2727325782275398344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961843103,"filename":"image_17122025_09_50_54_10080.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72092c2c197ab0cc866bb0eb49b4416f.jpg","text":"TemporaryFile(/tmp/multipartBody6572348604173989288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961843103,"filename":"image_17122025_09_50_44_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe0063f9e80bde38811317c38f0d6e10.jpg","text":"TemporaryFile(/tmp/multipartBody642631992211728399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961843103,"filename":"image_17122025_09_51_04_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399767156","file1":"1399767154","file0":"1399767153","file4":"1399767160","file5":"1399767164","file3":"1399767158"},"map_files_photo_id_array":[{"photo_id":"1399767164","filename":"file5"},{"photo_id":"1399767156","filename":"file2"},{"photo_id":"1399767160","filename":"file4"},{"photo_id":"1399767154","filename":"file1"},{"photo_id":"1399767153","filename":"file0"},{"photo_id":"1399767158","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399767164":["hashtag1","hashtag2"]},{"1399767158":["hashtag1","hashtag2"]},{"1399767160":["hashtag1","hashtag2"]},{"1399767154":["hashtag1","hashtag2"]},{"1399767153":["hashtag1","hashtag2"]},{"1399767156":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399767164, 1399767158, 1399767160, 1399767154, 1399767153, 1399767156)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.5386278629303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:57:15.869818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 09:57:32.667361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_44_9681.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_54_9664.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_52_04_10596.jpg', '/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_14_9733.jpg', '/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_24_9969.jpg', '/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_34_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_44_9681.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_54_9664.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_52_04_10596.jpg
/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_14_9733.jpg
/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_24_9969.jpg
/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_34_9701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4847862720489502 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 09:57:35.736269
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 09:57:46.027153
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_18_1581.jpg', '/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_34_1660.jpg', '/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_36_1692.jpg', '/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_43_1876.jpg', '/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_58_1595.jpg', '/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_11_13173.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_18_1581.jpg
/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_34_1660.jpg
/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_36_1692.jpg
/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_43_1876.jpg
/home/pi/Desktop/images/07112025/18/35/image_07112025_18_35_58_1595.jpg
/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_11_13173.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399767340","1399767430","1399767304","1399767429","1399767417","1399767380"],"photo_ids_order":["1399767304","1399767340","1399767380","1399767417","1399767429","1399767430"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1d95fc4340d2dfa8c1bb044eb96509b.jpg","text":"TemporaryFile(/tmp/multipartBody8603453812334195178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961929102,"filename":"image_07112025_18_35_34_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcb09605d7bce5d022a5fa9e80368c8a.jpg","text":"TemporaryFile(/tmp/multipartBody4918302933205670447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961929102,"filename":"image_07112025_18_36_11_13173.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc09117520fa2d6c9d7dbbb9c9b3760a.jpg","text":"TemporaryFile(/tmp/multipartBody3207705464507608689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961929102,"filename":"image_07112025_18_35_18_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f3be9c3cb7a5e217899ec678846efd7.jpg","text":"TemporaryFile(/tmp/multipartBody7008083310358321384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961929102,"filename":"image_07112025_18_35_58_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b534a07419641c0c5a06b99943ad7c23.jpg","text":"TemporaryFile(/tmp/multipartBody4424680845207852139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961929102,"filename":"image_07112025_18_35_43_1876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4622c5b723f9fe71a07434596755833.jpg","text":"TemporaryFile(/tmp/multipartBody7216887263855748413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765961929102,"filename":"image_07112025_18_35_36_1692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399767380","file1":"1399767340","file0":"1399767304","file4":"1399767429","file5":"1399767430","file3":"1399767417"},"map_files_photo_id_array":[{"photo_id":"1399767430","filename":"file5"},{"photo_id":"1399767380","filename":"file2"},{"photo_id":"1399767429","filename":"file4"},{"photo_id":"1399767340","filename":"file1"},{"photo_id":"1399767304","filename":"file0"},{"photo_id":"1399767417","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399767340":["hashtag1","hashtag2"]},{"1399767430":["hashtag1","hashtag2"]},{"1399767304":["hashtag1","hashtag2"]},{"1399767429":["hashtag1","hashtag2"]},{"1399767417":["hashtag1","hashtag2"]},{"1399767380":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399767340, 1399767430, 1399767304, 1399767429, 1399767417, 1399767380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.50408172607422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 09:59:04.221209
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_44_9681.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_54_9664.jpg', '/home/pi/Desktop/images/17122025/09/51/image_17122025_09_52_04_10596.jpg', '/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_14_9733.jpg', '/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_24_9969.jpg', '/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_34_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_44_9681.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_51_54_9664.jpg
/home/pi/Desktop/images/17122025/09/51/image_17122025_09_52_04_10596.jpg
/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_14_9733.jpg
/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_24_9969.jpg
/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_34_9701.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":["1399767569","1399767563","1399767566","1399767571","1399767559","1399767556"],"photo_ids_order":["1399767556","1399767559","1399767563","1399767566","1399767569","1399767571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/456f0fd44b778ac8c7b28fb7d3bc7500.jpg","text":"TemporaryFile(/tmp/multipartBody2458125437644478410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962009358,"filename":"image_17122025_09_52_24_9969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc07a372994e5fa10d2a9c6ace8ed79a.jpg","text":"TemporaryFile(/tmp/multipartBody3458332244367178466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962009358,"filename":"image_17122025_09_52_04_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/890c7e9f473c9a18d9e79c72cb6696ce.jpg","text":"TemporaryFile(/tmp/multipartBody5475838866271181925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962009358,"filename":"image_17122025_09_52_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e463338d9e8b5bac1ed7ddae8e4b4af.jpg","text":"TemporaryFile(/tmp/multipartBody6866980481419899850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962009358,"filename":"image_17122025_09_52_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d84420796a7ff990a61b16ccb71b04da.jpg","text":"TemporaryFile(/tmp/multipartBody8400396715408120031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962009358,"filename":"image_17122025_09_51_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ea519733391cdaac297aafa0640c383.jpg","text":"TemporaryFile(/tmp/multipartBody7230395209773560233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962009358,"filename":"image_17122025_09_51_44_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399767563","file1":"1399767559","file0":"1399767556","file4":"1399767569","file5":"1399767571","file3":"1399767566"},"map_files_photo_id_array":[{"photo_id":"1399767571","filename":"file5"},{"photo_id":"1399767563","filename":"file2"},{"photo_id":"1399767569","filename":"file4"},{"photo_id":"1399767559","filename":"file1"},{"photo_id":"1399767556","filename":"file0"},{"photo_id":"1399767566","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399767569":["hashtag1","hashtag2"]},{"1399767563":["hashtag1","hashtag2"]},{"1399767566":["hashtag1","hashtag2"]},{"1399767571":["hashtag1","hashtag2"]},{"1399767559":["hashtag1","hashtag2"]},{"1399767556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399767569, 1399767563, 1399767566, 1399767571, 1399767559, 1399767556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.179176807403564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:00:13.300147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_45_11595.jpg', '/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_54_8610.jpg', '/home/pi/Desktop/images/17122025/09/52/image_17122025_09_53_04_9772.jpg', '/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_14_10628.jpg', '/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_24_9740.jpg', '/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_34_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_45_11595.jpg
/home/pi/Desktop/images/17122025/09/52/image_17122025_09_52_54_8610.jpg
/home/pi/Desktop/images/17122025/09/52/image_17122025_09_53_04_9772.jpg
/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_14_10628.jpg
/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_24_9740.jpg
/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_34_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":["1399767875","1399768096","1399767839","1399767790","1399768008","1399767927"],"photo_ids_order":["1399767790","1399767839","1399767875","1399767927","1399768008","1399768096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed19df8cf1901723979435bfcdc1c832.jpg","text":"TemporaryFile(/tmp/multipartBody3004326229043716090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962073916,"filename":"image_17122025_09_53_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1e4098ed3f216e3cf9e39b7e899d703.jpg","text":"TemporaryFile(/tmp/multipartBody2445642025811671237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962073916,"filename":"image_17122025_09_53_34_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36578b8d002da8c422eba61aac2615d7.jpg","text":"TemporaryFile(/tmp/multipartBody9136193358740660983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962073916,"filename":"image_17122025_09_52_54_8610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fee2f9d2facf8055af649e76328c9386.jpg","text":"TemporaryFile(/tmp/multipartBody4291139235671673844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962073916,"filename":"image_17122025_09_52_45_11595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0040b0dfe015ef896a855993ee5db409.jpg","text":"TemporaryFile(/tmp/multipartBody8117470436803322302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962073916,"filename":"image_17122025_09_53_24_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d430b47e15cb1c5c3056e873e55852a.jpg","text":"TemporaryFile(/tmp/multipartBody2309095785487151564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962073916,"filename":"image_17122025_09_53_14_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399767875","file1":"1399767839","file0":"1399767790","file4":"1399768008","file5":"1399768096","file3":"1399767927"},"map_files_photo_id_array":[{"photo_id":"1399768096","filename":"file5"},{"photo_id":"1399767875","filename":"file2"},{"photo_id":"1399768008","filename":"file4"},{"photo_id":"1399767839","filename":"file1"},{"photo_id":"1399767790","filename":"file0"},{"photo_id":"1399767927","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399767875":["hashtag1","hashtag2"]},{"1399768096":["hashtag1","hashtag2"]},{"1399767839":["hashtag1","hashtag2"]},{"1399767790":["hashtag1","hashtag2"]},{"1399768008":["hashtag1","hashtag2"]},{"1399767927":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399767875, 1399768096, 1399767839, 1399767790, 1399768008, 1399767927)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.035754442214966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:01:02.859666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_45_10688.jpg', '/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_54_9777.jpg', '/home/pi/Desktop/images/17122025/09/53/image_17122025_09_54_04_9802.jpg', '/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_14_10030.jpg', '/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_24_9664.jpg', '/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_34_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_45_10688.jpg
/home/pi/Desktop/images/17122025/09/53/image_17122025_09_53_54_9777.jpg
/home/pi/Desktop/images/17122025/09/53/image_17122025_09_54_04_9802.jpg
/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_14_10030.jpg
/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_24_9664.jpg
/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_34_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":["1399768681","1399768607","1399768534","1399768828","1399768752","1399768464"],"photo_ids_order":["1399768464","1399768534","1399768607","1399768681","1399768752","1399768828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c61ce4b6e69df58833376b4816abd16.jpg","text":"TemporaryFile(/tmp/multipartBody1963019067604882856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962123528,"filename":"image_17122025_09_54_14_10030.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c1e6c4361ecde92dd2a4aea142a40b0.jpg","text":"TemporaryFile(/tmp/multipartBody8177181532435401476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962123528,"filename":"image_17122025_09_54_04_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13f53cb6a611a7629d8a242bb7e1d7e7.jpg","text":"TemporaryFile(/tmp/multipartBody8631355935729613184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962123528,"filename":"image_17122025_09_53_54_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6e5091eb25a6db932e070b72ba38936.jpg","text":"TemporaryFile(/tmp/multipartBody1303719030153274848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962123528,"filename":"image_17122025_09_54_34_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bbfb0228c12b2280a7b1523bd1b1beec.jpg","text":"TemporaryFile(/tmp/multipartBody2873091536788748360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962123528,"filename":"image_17122025_09_54_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a5b9b5762b7cc7c3d997238d69b4acb.jpg","text":"TemporaryFile(/tmp/multipartBody7969805200267269549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962123528,"filename":"image_17122025_09_53_45_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399768607","file1":"1399768534","file0":"1399768464","file4":"1399768752","file5":"1399768828","file3":"1399768681"},"map_files_photo_id_array":[{"photo_id":"1399768828","filename":"file5"},{"photo_id":"1399768607","filename":"file2"},{"photo_id":"1399768752","filename":"file4"},{"photo_id":"1399768534","filename":"file1"},{"photo_id":"1399768464","filename":"file0"},{"photo_id":"1399768681","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399768681":["hashtag1","hashtag2"]},{"1399768607":["hashtag1","hashtag2"]},{"1399768534":["hashtag1","hashtag2"]},{"1399768828":["hashtag1","hashtag2"]},{"1399768752":["hashtag1","hashtag2"]},{"1399768464":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399768681, 1399768607, 1399768534, 1399768828, 1399768752, 1399768464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67592239379883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:01:42.105505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_12_1596.jpg', '/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_36_1763.jpg', '/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_38_1707.jpg', '/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_40_1836.jpg', '/home/pi/Desktop/images/07112025/18/38/image_07112025_18_38_15_2971.jpg', '/home/pi/Desktop/images/07112025/18/38/image_07112025_18_38_17_2638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_12_1596.jpg
/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_36_1763.jpg
/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_38_1707.jpg
/home/pi/Desktop/images/07112025/18/36/image_07112025_18_36_40_1836.jpg
/home/pi/Desktop/images/07112025/18/38/image_07112025_18_38_15_2971.jpg
/home/pi/Desktop/images/07112025/18/38/image_07112025_18_38_17_2638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399769074","1399769175","1399769145","1399769174","1399769111","1399769176"],"photo_ids_order":["1399769074","1399769111","1399769145","1399769174","1399769175","1399769176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54348190739018d5f4172782a757fbb9.jpg","text":"TemporaryFile(/tmp/multipartBody795175570645380784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962162864,"filename":"image_07112025_18_36_12_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/563e95afcf0b1919ce84f45029ad9aaa.jpg","text":"TemporaryFile(/tmp/multipartBody98373813914368043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962162864,"filename":"image_07112025_18_38_15_2971.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10730d54e45d3e2d5479b2af8de64ad8.jpg","text":"TemporaryFile(/tmp/multipartBody8698150870780425496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962162864,"filename":"image_07112025_18_36_38_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0aa6ed9d6139f0e14af06367b81fd98e.jpg","text":"TemporaryFile(/tmp/multipartBody6399825420109215892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962162864,"filename":"image_07112025_18_36_40_1836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c566971176e6350a16b5a256fdc55dfe.jpg","text":"TemporaryFile(/tmp/multipartBody755760934442845703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962162864,"filename":"image_07112025_18_36_36_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ce95fbd86c83c825ebc3ec1e152a0b4.jpg","text":"TemporaryFile(/tmp/multipartBody6210197478814172001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962162864,"filename":"image_07112025_18_38_17_2638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399769145","file1":"1399769111","file0":"1399769074","file4":"1399769175","file5":"1399769176","file3":"1399769174"},"map_files_photo_id_array":[{"photo_id":"1399769176","filename":"file5"},{"photo_id":"1399769145","filename":"file2"},{"photo_id":"1399769175","filename":"file4"},{"photo_id":"1399769111","filename":"file1"},{"photo_id":"1399769074","filename":"file0"},{"photo_id":"1399769174","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399769074":["hashtag1","hashtag2"]},{"1399769175":["hashtag1","hashtag2"]},{"1399769145":["hashtag1","hashtag2"]},{"1399769174":["hashtag1","hashtag2"]},{"1399769111":["hashtag1","hashtag2"]},{"1399769176":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399769074, 1399769175, 1399769145, 1399769174, 1399769111, 1399769176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0918984413147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:02:22.472960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_44_10796.jpg', '/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_54_9720.jpg', '/home/pi/Desktop/images/17122025/09/54/image_17122025_09_55_04_9793.jpg', '/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_15_10655.jpg', '/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_24_9764.jpg', '/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_34_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_44_10796.jpg
/home/pi/Desktop/images/17122025/09/54/image_17122025_09_54_54_9720.jpg
/home/pi/Desktop/images/17122025/09/54/image_17122025_09_55_04_9793.jpg
/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_15_10655.jpg
/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_24_9764.jpg
/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_34_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399769335","1399769181","1399769256","1399769297","1399769220","1399769183"],"photo_ids_order":["1399769181","1399769183","1399769220","1399769256","1399769297","1399769335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/608eabbd27ee4694e06b79211c3f102b.jpg","text":"TemporaryFile(/tmp/multipartBody687576009389714521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962203083,"filename":"image_17122025_09_55_34_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/add7fb200baf867181df6a483a82a3d6.jpg","text":"TemporaryFile(/tmp/multipartBody3701280939642476078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962203083,"filename":"image_17122025_09_54_44_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57e58cf43d01d61df91cf2b1af4791b0.jpg","text":"TemporaryFile(/tmp/multipartBody730846282011447155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962203083,"filename":"image_17122025_09_55_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4415e135363d12242ad3dbe29faa2ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6261609030851027891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962203083,"filename":"image_17122025_09_55_24_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/105b00d5a996bac85ffaefd2db0af0f5.jpg","text":"TemporaryFile(/tmp/multipartBody6415150025692272117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962203083,"filename":"image_17122025_09_55_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d86000c76beb9998c2aa1e589fcac2d.jpg","text":"TemporaryFile(/tmp/multipartBody6382860650641395935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962203083,"filename":"image_17122025_09_54_54_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399769220","file1":"1399769183","file0":"1399769181","file4":"1399769297","file5":"1399769335","file3":"1399769256"},"map_files_photo_id_array":[{"photo_id":"1399769335","filename":"file5"},{"photo_id":"1399769220","filename":"file2"},{"photo_id":"1399769297","filename":"file4"},{"photo_id":"1399769183","filename":"file1"},{"photo_id":"1399769181","filename":"file0"},{"photo_id":"1399769256","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399769335":["hashtag1","hashtag2"]},{"1399769181":["hashtag1","hashtag2"]},{"1399769256":["hashtag1","hashtag2"]},{"1399769297":["hashtag1","hashtag2"]},{"1399769220":["hashtag1","hashtag2"]},{"1399769183":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399769335, 1399769181, 1399769256, 1399769297, 1399769220, 1399769183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65660238265991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:03:03.219430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_44_9515.jpg', '/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_54_10662.jpg', '/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_04_9322.jpg', '/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_14_10653.jpg', '/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_24_9591.jpg', '/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_35_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_44_9515.jpg
/home/pi/Desktop/images/17122025/09/55/image_17122025_09_55_54_10662.jpg
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_04_9322.jpg
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_14_10653.jpg
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_24_9591.jpg
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_35_10640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399769728","1399769626","1399769496","1399769757","1399769685","1399769570"],"photo_ids_order":["1399769496","1399769570","1399769626","1399769685","1399769728","1399769757"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8adcf40c7a858cd6419d4f80d72cc920.jpg","text":"TemporaryFile(/tmp/multipartBody162215800608499510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962243898,"filename":"image_17122025_09_56_24_9591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da417d580228ea393bfdf24195348673.jpg","text":"TemporaryFile(/tmp/multipartBody1015041235188237288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962243898,"filename":"image_17122025_09_56_04_9322.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1dbc4a2e148a47fe20baa647d5851fa9.jpg","text":"TemporaryFile(/tmp/multipartBody3408695943798072702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962243898,"filename":"image_17122025_09_55_44_9515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a5d841c9e5d8a575717d7c3587d9625.jpg","text":"TemporaryFile(/tmp/multipartBody6269834509790974391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962243898,"filename":"image_17122025_09_56_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df2dc2dc9f4423c16e567778e8977560.jpg","text":"TemporaryFile(/tmp/multipartBody2471022497529910017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962243898,"filename":"image_17122025_09_56_14_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68b6fe29a3c0a23d8eda24c1d69af7a9.jpg","text":"TemporaryFile(/tmp/multipartBody3349141201965660271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962243898,"filename":"image_17122025_09_55_54_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399769626","file1":"1399769570","file0":"1399769496","file4":"1399769728","file5":"1399769757","file3":"1399769685"},"map_files_photo_id_array":[{"photo_id":"1399769757","filename":"file5"},{"photo_id":"1399769626","filename":"file2"},{"photo_id":"1399769728","filename":"file4"},{"photo_id":"1399769570","filename":"file1"},{"photo_id":"1399769496","filename":"file0"},{"photo_id":"1399769685","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399769728":["hashtag1","hashtag2"]},{"1399769626":["hashtag1","hashtag2"]},{"1399769496":["hashtag1","hashtag2"]},{"1399769757":["hashtag1","hashtag2"]},{"1399769685":["hashtag1","hashtag2"]},{"1399769570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399769728, 1399769626, 1399769496, 1399769757, 1399769685, 1399769570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8835334777832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:03:42.577674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/38/image_07112025_18_38_52_1654.jpg', '/home/pi/Desktop/images/07112025/18/38/image_07112025_18_38_56_2840.jpg', '/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_15_2706.jpg', '/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_20_2368.jpg', '/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_26_2710.jpg', '/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_35_2713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/38/image_07112025_18_38_52_1654.jpg
/home/pi/Desktop/images/07112025/18/38/image_07112025_18_38_56_2840.jpg
/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_15_2706.jpg
/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_20_2368.jpg
/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_26_2710.jpg
/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_35_2713.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399769875","1399769879","1399769823","1399769855","1399769816","1399769810"],"photo_ids_order":["1399769810","1399769816","1399769823","1399769855","1399769875","1399769879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47cef8c18d8df7bb3b62ac584dd354b4.jpg","text":"TemporaryFile(/tmp/multipartBody3423724896514499551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962283362,"filename":"image_07112025_18_39_26_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ef4d7d8836d5b5d903bb19bdb9b7591.jpg","text":"TemporaryFile(/tmp/multipartBody1754998996798719252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962283362,"filename":"image_07112025_18_39_35_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/787677593299b966e3dcfbe0c7307908.jpg","text":"TemporaryFile(/tmp/multipartBody2527155009304720095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962283362,"filename":"image_07112025_18_39_15_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3dbceace1607da2edf2798c6b58f0ff.jpg","text":"TemporaryFile(/tmp/multipartBody1826540855059117963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962283362,"filename":"image_07112025_18_39_20_2368.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92173fb48c6ccaa3e4b7d70784a83b27.jpg","text":"TemporaryFile(/tmp/multipartBody7255424149110063733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962283362,"filename":"image_07112025_18_38_56_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5a4dacff923542d0e1ea36119b37d81.jpg","text":"TemporaryFile(/tmp/multipartBody4272939225391443351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962283362,"filename":"image_07112025_18_38_52_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399769823","file1":"1399769816","file0":"1399769810","file4":"1399769875","file5":"1399769879","file3":"1399769855"},"map_files_photo_id_array":[{"photo_id":"1399769879","filename":"file5"},{"photo_id":"1399769823","filename":"file2"},{"photo_id":"1399769875","filename":"file4"},{"photo_id":"1399769816","filename":"file1"},{"photo_id":"1399769810","filename":"file0"},{"photo_id":"1399769855","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399769875":["hashtag1","hashtag2"]},{"1399769879":["hashtag1","hashtag2"]},{"1399769823":["hashtag1","hashtag2"]},{"1399769855":["hashtag1","hashtag2"]},{"1399769816":["hashtag1","hashtag2"]},{"1399769810":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399769875, 1399769879, 1399769823, 1399769855, 1399769816, 1399769810)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61344385147095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:04:21.839347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_44_9752.jpg', '/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_54_9745.jpg', '/home/pi/Desktop/images/17122025/09/56/image_17122025_09_57_04_9707.jpg', '/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_14_10692.jpg', '/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_24_10044.jpg', '/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_34_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_44_9752.jpg
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_54_9745.jpg
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_57_04_9707.jpg
/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_14_10692.jpg
/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_24_10044.jpg
/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_34_9838.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.47945404052734375 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 10:04:31.838873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:04:41.816190
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_44_2748.jpg', '/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_56_2580.jpg', '/home/pi/Desktop/images/07112025/18/39/image_07112025_18_40_00_3617.jpg', '/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_06_3087.jpg', '/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_08_2547.jpg', '/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_23_2730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_44_2748.jpg
/home/pi/Desktop/images/07112025/18/39/image_07112025_18_39_56_2580.jpg
/home/pi/Desktop/images/07112025/18/39/image_07112025_18_40_00_3617.jpg
/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_06_3087.jpg
/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_08_2547.jpg
/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_23_2730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399769932","1399769898","1399769919","1399769904","1399769901","1399769912"],"photo_ids_order":["1399769898","1399769901","1399769904","1399769912","1399769919","1399769932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e70af281faa3434faf7ef3f640a9f0bd.jpg","text":"TemporaryFile(/tmp/multipartBody6462227539152257648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962342572,"filename":"image_07112025_18_40_23_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5266e6e109139a3929c17a4f9a3fea6.jpg","text":"TemporaryFile(/tmp/multipartBody4749392979142478535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962342572,"filename":"image_07112025_18_39_44_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa9da6453ee9241e78577986128ee208.jpg","text":"TemporaryFile(/tmp/multipartBody986359138659814639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962342572,"filename":"image_07112025_18_40_08_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42528e2c3efbec0df86407aedb5c55bc.jpg","text":"TemporaryFile(/tmp/multipartBody4989038463744609126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962342572,"filename":"image_07112025_18_40_00_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae4d5fbfffbab48d9e782b4cea1ee876.jpg","text":"TemporaryFile(/tmp/multipartBody2422496466210447579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962342572,"filename":"image_07112025_18_39_56_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31fb8a4c4bfadc1f73925021cfd938d4.jpg","text":"TemporaryFile(/tmp/multipartBody4459882203459583592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962342572,"filename":"image_07112025_18_40_06_3087.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399769904","file1":"1399769901","file0":"1399769898","file4":"1399769919","file5":"1399769932","file3":"1399769912"},"map_files_photo_id_array":[{"photo_id":"1399769932","filename":"file5"},{"photo_id":"1399769904","filename":"file2"},{"photo_id":"1399769919","filename":"file4"},{"photo_id":"1399769901","filename":"file1"},{"photo_id":"1399769898","filename":"file0"},{"photo_id":"1399769912","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399769932":["hashtag1","hashtag2"]},{"1399769898":["hashtag1","hashtag2"]},{"1399769919":["hashtag1","hashtag2"]},{"1399769904":["hashtag1","hashtag2"]},{"1399769901":["hashtag1","hashtag2"]},{"1399769912":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399769932, 1399769898, 1399769919, 1399769904, 1399769901, 1399769912)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42342281341553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:05:22.064639
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_44_9752.jpg', '/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_54_9745.jpg', '/home/pi/Desktop/images/17122025/09/56/image_17122025_09_57_04_9707.jpg', '/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_14_10692.jpg', '/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_24_10044.jpg', '/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_34_9838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_44_9752.jpg
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_56_54_9745.jpg
/home/pi/Desktop/images/17122025/09/56/image_17122025_09_57_04_9707.jpg
/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_14_10692.jpg
/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_24_10044.jpg
/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_34_9838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399769968","1399769964","1399769952","1399769972","1399769966","1399769954"],"photo_ids_order":["1399769952","1399769954","1399769964","1399769966","1399769968","1399769972"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c11f6496103f8e7cdbcb5306d682527d.jpg","text":"TemporaryFile(/tmp/multipartBody1264394409582671128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962382643,"filename":"image_17122025_09_57_24_10044.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ab7b7ed01338bb731702a459b8c2d55.jpg","text":"TemporaryFile(/tmp/multipartBody5353687053201936939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962382643,"filename":"image_17122025_09_57_04_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc734c7a0afe85ec5cfaf842149c7e7a.jpg","text":"TemporaryFile(/tmp/multipartBody5800722407633110400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962382643,"filename":"image_17122025_09_56_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f5c267d696be99486275063bae652de.jpg","text":"TemporaryFile(/tmp/multipartBody693758965806728420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962382643,"filename":"image_17122025_09_57_34_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f10b835ee0b7436897ceb4f9b1573c4.jpg","text":"TemporaryFile(/tmp/multipartBody1422331999407059897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962382643,"filename":"image_17122025_09_57_14_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2f9f5ea9f8f2045f1c2bc9d459baf45.jpg","text":"TemporaryFile(/tmp/multipartBody7346595859922267025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962382643,"filename":"image_17122025_09_56_54_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399769964","file1":"1399769954","file0":"1399769952","file4":"1399769968","file5":"1399769972","file3":"1399769966"},"map_files_photo_id_array":[{"photo_id":"1399769972","filename":"file5"},{"photo_id":"1399769964","filename":"file2"},{"photo_id":"1399769968","filename":"file4"},{"photo_id":"1399769954","filename":"file1"},{"photo_id":"1399769952","filename":"file0"},{"photo_id":"1399769966","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399769968":["hashtag1","hashtag2"]},{"1399769964":["hashtag1","hashtag2"]},{"1399769952":["hashtag1","hashtag2"]},{"1399769972":["hashtag1","hashtag2"]},{"1399769966":["hashtag1","hashtag2"]},{"1399769954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399769968, 1399769964, 1399769952, 1399769972, 1399769966, 1399769954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53735566139221 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:06:02.718722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_44_9705.jpg', '/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_54_9664.jpg', '/home/pi/Desktop/images/17122025/09/57/image_17122025_09_58_04_10570.jpg', '/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_14_9638.jpg', '/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_25_10603.jpg', '/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_34_9171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_44_9705.jpg
/home/pi/Desktop/images/17122025/09/57/image_17122025_09_57_54_9664.jpg
/home/pi/Desktop/images/17122025/09/57/image_17122025_09_58_04_10570.jpg
/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_14_9638.jpg
/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_25_10603.jpg
/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_34_9171.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399769991","1399769985","1399769988","1399769979","1399769981","1399769983"],"photo_ids_order":["1399769979","1399769981","1399769983","1399769985","1399769988","1399769991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be3a20ee6b4cfec5652beb9a35dcffa8.jpg","text":"TemporaryFile(/tmp/multipartBody7293573313124443773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962423341,"filename":"image_17122025_09_58_34_9171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28ba34a45020915577d152b1ec8cac96.jpg","text":"TemporaryFile(/tmp/multipartBody4038660815680276339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962423341,"filename":"image_17122025_09_58_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45d93456658f62a6417b2d621a71715d.jpg","text":"TemporaryFile(/tmp/multipartBody928669537323336411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962423341,"filename":"image_17122025_09_58_25_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce5b3c11b1bbbeed2a3feb76e1d0f3c1.jpg","text":"TemporaryFile(/tmp/multipartBody4756844464513799000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962423341,"filename":"image_17122025_09_57_44_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7c93724b3778d1584952cdd839650f0.jpg","text":"TemporaryFile(/tmp/multipartBody6250959517246296890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962423341,"filename":"image_17122025_09_57_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f10933e89b688c189dad84e9846a9679.jpg","text":"TemporaryFile(/tmp/multipartBody4755476463383399322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962423341,"filename":"image_17122025_09_58_04_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399769983","file1":"1399769981","file0":"1399769979","file4":"1399769988","file5":"1399769991","file3":"1399769985"},"map_files_photo_id_array":[{"photo_id":"1399769991","filename":"file5"},{"photo_id":"1399769983","filename":"file2"},{"photo_id":"1399769988","filename":"file4"},{"photo_id":"1399769981","filename":"file1"},{"photo_id":"1399769979","filename":"file0"},{"photo_id":"1399769985","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399769991":["hashtag1","hashtag2"]},{"1399769985":["hashtag1","hashtag2"]},{"1399769988":["hashtag1","hashtag2"]},{"1399769979":["hashtag1","hashtag2"]},{"1399769981":["hashtag1","hashtag2"]},{"1399769983":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399769991, 1399769985, 1399769988, 1399769979, 1399769981, 1399769983)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.66783618927002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:07:03.154568
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_44_10595.jpg', '/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_54_9665.jpg', '/home/pi/Desktop/images/17122025/09/58/image_17122025_09_59_04_9790.jpg', '/home/pi/Desktop/images/17122025/09/59/image_17122025_09_59_14_10072.jpg', '/home/pi/Desktop/images/17122025/09/59/image_17122025_09_59_34_9621.jpg', '/home/pi/Desktop/images/17122025/09/59/image_17122025_09_59_44_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_44_10595.jpg
/home/pi/Desktop/images/17122025/09/58/image_17122025_09_58_54_9665.jpg
/home/pi/Desktop/images/17122025/09/58/image_17122025_09_59_04_9790.jpg
/home/pi/Desktop/images/17122025/09/59/image_17122025_09_59_14_10072.jpg
/home/pi/Desktop/images/17122025/09/59/image_17122025_09_59_34_9621.jpg
/home/pi/Desktop/images/17122025/09/59/image_17122025_09_59_44_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399770011","1399770013","1399770010","1399770018","1399770021","1399770015"],"photo_ids_order":["1399770010","1399770011","1399770013","1399770015","1399770018","1399770021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f98ba467125919631225453f20a4c68f.jpg","text":"TemporaryFile(/tmp/multipartBody1669977480410813545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962486331,"filename":"image_17122025_09_58_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60440f143073a46cf14f737608e32d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2620576279047057737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962486331,"filename":"image_17122025_09_59_04_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b0835c28e54cb0fb5a85a8312b894ae.jpg","text":"TemporaryFile(/tmp/multipartBody698889257645391335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962486331,"filename":"image_17122025_09_58_44_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07ccb4e498037a4c59cad69524f82a8f.jpg","text":"TemporaryFile(/tmp/multipartBody1051316417993231804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962486331,"filename":"image_17122025_09_59_34_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6712e39484c9d3edc0b60ca378aab093.jpg","text":"TemporaryFile(/tmp/multipartBody2450400522943020903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962486331,"filename":"image_17122025_09_59_44_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/911738cb5ae7a241df1606690aaa9f3e.jpg","text":"TemporaryFile(/tmp/multipartBody6299892650188943282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962486331,"filename":"image_17122025_09_59_14_10072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770013","file1":"1399770011","file0":"1399770010","file4":"1399770018","file5":"1399770021","file3":"1399770015"},"map_files_photo_id_array":[{"photo_id":"1399770021","filename":"file5"},{"photo_id":"1399770013","filename":"file2"},{"photo_id":"1399770018","filename":"file4"},{"photo_id":"1399770011","filename":"file1"},{"photo_id":"1399770010","filename":"file0"},{"photo_id":"1399770015","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770011":["hashtag1","hashtag2"]},{"1399770013":["hashtag1","hashtag2"]},{"1399770010":["hashtag1","hashtag2"]},{"1399770018":["hashtag1","hashtag2"]},{"1399770021":["hashtag1","hashtag2"]},{"1399770015":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770011, 1399770013, 1399770010, 1399770018, 1399770021, 1399770015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.4850869178772 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:08:02.933477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/09/59/image_17122025_09_59_54_9923.jpg', '/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_15_10051.jpg', '/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_26_10848.jpg', '/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_36_9902.jpg', '/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_46_9683.jpg', '/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_55_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/09/59/image_17122025_09_59_54_9923.jpg
/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_15_10051.jpg
/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_26_10848.jpg
/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_36_9902.jpg
/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_46_9683.jpg
/home/pi/Desktop/images/17122025/10/00/image_17122025_10_00_55_9678.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":["1399770044","1399770038","1399770040","1399770039","1399770047","1399770041"],"photo_ids_order":["1399770038","1399770039","1399770040","1399770041","1399770044","1399770047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96cbfa58abf780f60fd123565382cbb3.jpg","text":"TemporaryFile(/tmp/multipartBody4218777829811255570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962546093,"filename":"image_17122025_10_00_46_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce82657cd83aea6c0028a71adafaee1f.jpg","text":"TemporaryFile(/tmp/multipartBody5567642993526236000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962546093,"filename":"image_17122025_09_59_54_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04f4fd3e6b60b4713e66279c05d35508.jpg","text":"TemporaryFile(/tmp/multipartBody4960436635428640984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962546093,"filename":"image_17122025_10_00_26_10848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc4c5b76c337226f4b76cdd761ddff86.jpg","text":"TemporaryFile(/tmp/multipartBody5933316181280314142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962546093,"filename":"image_17122025_10_00_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ede3104ef015153baff57a95f702eff.jpg","text":"TemporaryFile(/tmp/multipartBody1623336563345356587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962546093,"filename":"image_17122025_10_00_55_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/579ef3ec8919f640c77ee85feae6a6ec.jpg","text":"TemporaryFile(/tmp/multipartBody1008069542911731455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962546093,"filename":"image_17122025_10_00_36_9902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770040","file1":"1399770039","file0":"1399770038","file4":"1399770044","file5":"1399770047","file3":"1399770041"},"map_files_photo_id_array":[{"photo_id":"1399770047","filename":"file5"},{"photo_id":"1399770040","filename":"file2"},{"photo_id":"1399770044","filename":"file4"},{"photo_id":"1399770039","filename":"file1"},{"photo_id":"1399770038","filename":"file0"},{"photo_id":"1399770041","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770044":["hashtag1","hashtag2"]},{"1399770038":["hashtag1","hashtag2"]},{"1399770040":["hashtag1","hashtag2"]},{"1399770039":["hashtag1","hashtag2"]},{"1399770047":["hashtag1","hashtag2"]},{"1399770041":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770044, 1399770038, 1399770040, 1399770039, 1399770047, 1399770041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.58122420310974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:09:04.041914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 10:09:13.614181
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:09:23.411183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/00/image_17122025_10_01_06_10672.jpg', '/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_16_9775.jpg', '/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_26_10005.jpg', '/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_35_9576.jpg', '/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_46_10633.jpg', '/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_56_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/00/image_17122025_10_01_06_10672.jpg
/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_16_9775.jpg
/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_26_10005.jpg
/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_35_9576.jpg
/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_46_10633.jpg
/home/pi/Desktop/images/17122025/10/01/image_17122025_10_01_56_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":["1399770110","1399770104","1399770175","1399770144","1399770108","1399770149"],"photo_ids_order":["1399770104","1399770108","1399770110","1399770144","1399770149","1399770175"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1778ce421d6269a04a4bff8204093a96.jpg","text":"TemporaryFile(/tmp/multipartBody5991687840562594075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962623969,"filename":"image_17122025_10_01_26_10005.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5245b4b7e3c8949cec96343e50981472.jpg","text":"TemporaryFile(/tmp/multipartBody7196209907572836754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962623969,"filename":"image_17122025_10_01_06_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b319157963ddd4570f7899f46c21b18c.jpg","text":"TemporaryFile(/tmp/multipartBody7188710228055759110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962623969,"filename":"image_17122025_10_01_56_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58e2836b0b895bccf422376a87f435c8.jpg","text":"TemporaryFile(/tmp/multipartBody4040811488305323522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962623969,"filename":"image_17122025_10_01_35_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d361d66d19ab82b23698f124783f2f87.jpg","text":"TemporaryFile(/tmp/multipartBody8896540713457791378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962623969,"filename":"image_17122025_10_01_16_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f0fcef2aed58c25a920fd7c31cea8e8.jpg","text":"TemporaryFile(/tmp/multipartBody3607866601372813582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962623969,"filename":"image_17122025_10_01_46_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770110","file1":"1399770108","file0":"1399770104","file4":"1399770149","file5":"1399770175","file3":"1399770144"},"map_files_photo_id_array":[{"photo_id":"1399770175","filename":"file5"},{"photo_id":"1399770110","filename":"file2"},{"photo_id":"1399770149","filename":"file4"},{"photo_id":"1399770108","filename":"file1"},{"photo_id":"1399770104","filename":"file0"},{"photo_id":"1399770144","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770110":["hashtag1","hashtag2"]},{"1399770104":["hashtag1","hashtag2"]},{"1399770175":["hashtag1","hashtag2"]},{"1399770144":["hashtag1","hashtag2"]},{"1399770108":["hashtag1","hashtag2"]},{"1399770149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770110, 1399770104, 1399770175, 1399770144, 1399770108, 1399770149)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.7119779586792 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 10:10:12.326103
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:10:22.242227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/01/image_17122025_10_02_05_9794.jpg', '/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_15_9777.jpg', '/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_26_10687.jpg', '/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_36_9845.jpg', '/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_45_9720.jpg', '/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_55_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/01/image_17122025_10_02_05_9794.jpg
/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_15_9777.jpg
/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_26_10687.jpg
/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_36_9845.jpg
/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_45_9720.jpg
/home/pi/Desktop/images/17122025/10/02/image_17122025_10_02_55_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":["1399770280","1399770297","1399770285","1399770282","1399770284","1399770278"],"photo_ids_order":["1399770278","1399770280","1399770282","1399770284","1399770285","1399770297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cceb16d303866b7a03a88b7c065b3fc.jpg","text":"TemporaryFile(/tmp/multipartBody1259268298120584709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962682858,"filename":"image_17122025_10_02_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f46a186719d2a07de89fd4b28bd40a7.jpg","text":"TemporaryFile(/tmp/multipartBody172642015234067046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962682858,"filename":"image_17122025_10_02_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30588d04d7f19ed6caa0426f3e8776e1.jpg","text":"TemporaryFile(/tmp/multipartBody1750499415507244895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962682858,"filename":"image_17122025_10_02_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88ed242d5e0706acdc8ef12456a9202d.jpg","text":"TemporaryFile(/tmp/multipartBody6243375422580897790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962682858,"filename":"image_17122025_10_02_26_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/563e00197394cbda4bc5433a6f159db5.jpg","text":"TemporaryFile(/tmp/multipartBody8427329621637915505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962682858,"filename":"image_17122025_10_02_36_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f64aef7433f8b49295eb45adda5b7a7d.jpg","text":"TemporaryFile(/tmp/multipartBody6094554474700448362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962682858,"filename":"image_17122025_10_02_05_9794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770282","file1":"1399770280","file0":"1399770278","file4":"1399770285","file5":"1399770297","file3":"1399770284"},"map_files_photo_id_array":[{"photo_id":"1399770297","filename":"file5"},{"photo_id":"1399770282","filename":"file2"},{"photo_id":"1399770285","filename":"file4"},{"photo_id":"1399770280","filename":"file1"},{"photo_id":"1399770278","filename":"file0"},{"photo_id":"1399770284","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770280":["hashtag1","hashtag2"]},{"1399770297":["hashtag1","hashtag2"]},{"1399770285":["hashtag1","hashtag2"]},{"1399770282":["hashtag1","hashtag2"]},{"1399770284":["hashtag1","hashtag2"]},{"1399770278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770280, 1399770297, 1399770285, 1399770282, 1399770284, 1399770278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73142695426941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:11:03.054845
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/02/image_17122025_10_03_06_10880.jpg', '/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_16_9637.jpg', '/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_25_9627.jpg', '/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_36_10800.jpg', '/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_46_9586.jpg', '/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_56_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/02/image_17122025_10_03_06_10880.jpg
/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_16_9637.jpg
/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_25_9627.jpg
/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_36_10800.jpg
/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_46_9586.jpg
/home/pi/Desktop/images/17122025/10/03/image_17122025_10_03_56_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770302","1399770305","1399770307","1399770303","1399770312","1399770309"],"photo_ids_order":["1399770302","1399770303","1399770305","1399770307","1399770309","1399770312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fcd2e481fa08b28a4b057e990c31cf5.jpg","text":"TemporaryFile(/tmp/multipartBody3559510756859523411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962723688,"filename":"image_17122025_10_03_06_10880.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d4139d9f24b24ff99159437d9a30f97.jpg","text":"TemporaryFile(/tmp/multipartBody2763017241351714010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962723688,"filename":"image_17122025_10_03_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/828706f8510ccaf6bcc1cdcb54338e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8818446299854856554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962723688,"filename":"image_17122025_10_03_36_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b043db197fdff8d3e56ce9b3ea904675.jpg","text":"TemporaryFile(/tmp/multipartBody6207678788761115810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962723688,"filename":"image_17122025_10_03_16_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae454112b2f7d4848b3c254555e0c2a0.jpg","text":"TemporaryFile(/tmp/multipartBody4888304683718379715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962723688,"filename":"image_17122025_10_03_56_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66613832987937aa73a60b4d16027883.jpg","text":"TemporaryFile(/tmp/multipartBody7438563939205093899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962723688,"filename":"image_17122025_10_03_46_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770305","file1":"1399770303","file0":"1399770302","file4":"1399770309","file5":"1399770312","file3":"1399770307"},"map_files_photo_id_array":[{"photo_id":"1399770312","filename":"file5"},{"photo_id":"1399770305","filename":"file2"},{"photo_id":"1399770309","filename":"file4"},{"photo_id":"1399770303","filename":"file1"},{"photo_id":"1399770302","filename":"file0"},{"photo_id":"1399770307","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770302":["hashtag1","hashtag2"]},{"1399770305":["hashtag1","hashtag2"]},{"1399770307":["hashtag1","hashtag2"]},{"1399770303":["hashtag1","hashtag2"]},{"1399770312":["hashtag1","hashtag2"]},{"1399770309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770302, 1399770305, 1399770307, 1399770303, 1399770312, 1399770309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81366014480591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:11:42.489548
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_29_2509.jpg', '/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_35_2694.jpg', '/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_38_2897.jpg', '/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_41_2521.jpg', '/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_44_3479.jpg', '/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_47_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_29_2509.jpg
/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_35_2694.jpg
/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_38_2897.jpg
/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_41_2521.jpg
/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_44_3479.jpg
/home/pi/Desktop/images/07112025/18/40/image_07112025_18_40_47_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770335","1399770333","1399770336","1399770324","1399770318","1399770326"],"photo_ids_order":["1399770318","1399770324","1399770326","1399770333","1399770335","1399770336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6149e12c1d9c5423bf8246d1c0db6fd.jpg","text":"TemporaryFile(/tmp/multipartBody5059899189105384479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962763270,"filename":"image_07112025_18_40_44_3479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bb209622d9deaf27112c96c2e8532bd.jpg","text":"TemporaryFile(/tmp/multipartBody3349197332398954913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962763270,"filename":"image_07112025_18_40_41_2521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/815ec9e3bed059fe6b35fa5cc158580d.jpg","text":"TemporaryFile(/tmp/multipartBody2488527841700372375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962763270,"filename":"image_07112025_18_40_47_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/556107383f766a459bbdbfbbd264b070.jpg","text":"TemporaryFile(/tmp/multipartBody2171883665716174354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962763270,"filename":"image_07112025_18_40_35_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ba76e3eacad6ce2d1f29de24574ae9f.jpg","text":"TemporaryFile(/tmp/multipartBody895351924770415013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962763270,"filename":"image_07112025_18_40_29_2509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8afefa1ace924b05fed5740bffae0ed0.jpg","text":"TemporaryFile(/tmp/multipartBody322114348865547855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962763270,"filename":"image_07112025_18_40_38_2897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770326","file1":"1399770324","file0":"1399770318","file4":"1399770335","file5":"1399770336","file3":"1399770333"},"map_files_photo_id_array":[{"photo_id":"1399770336","filename":"file5"},{"photo_id":"1399770326","filename":"file2"},{"photo_id":"1399770335","filename":"file4"},{"photo_id":"1399770324","filename":"file1"},{"photo_id":"1399770318","filename":"file0"},{"photo_id":"1399770333","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399770335":["hashtag1","hashtag2"]},{"1399770333":["hashtag1","hashtag2"]},{"1399770336":["hashtag1","hashtag2"]},{"1399770324":["hashtag1","hashtag2"]},{"1399770318":["hashtag1","hashtag2"]},{"1399770326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399770335, 1399770333, 1399770336, 1399770324, 1399770318, 1399770326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69372534751892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:12:22.811995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/03/image_17122025_10_04_05_9675.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_16_10814.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_26_9668.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_35_9647.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_46_10406.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_56_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/03/image_17122025_10_04_05_9675.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_16_10814.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_26_9668.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_35_9647.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_46_10406.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_56_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.586829662322998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 10:12:32.759871
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:12:42.759341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_30_20926.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_34_1786.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_35_1733.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_37_1611.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_44_1509.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_46_1840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_30_20926.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_34_1786.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_35_1733.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_37_1611.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_44_1509.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_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":["1399770367","1399770364","1399770358","1399770366","1399770363","1399770365"],"photo_ids_order":["1399770358","1399770363","1399770364","1399770365","1399770366","1399770367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b469069a9fd1fd3095f196fb80e7a88.jpg","text":"TemporaryFile(/tmp/multipartBody5864341007390749114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962823602,"filename":"image_07112025_18_41_46_1840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7afcdb752d1155ed0b086af8bf738e45.jpg","text":"TemporaryFile(/tmp/multipartBody3190466901511994431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962823602,"filename":"image_07112025_18_41_35_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a211c17585eb37a0f7917b9d473445c.jpg","text":"TemporaryFile(/tmp/multipartBody3426152510892174268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962823602,"filename":"image_07112025_18_41_30_20926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/caf7d4cd4907d44a3137e0cd2809c3bc.jpg","text":"TemporaryFile(/tmp/multipartBody3684539331151269198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962823602,"filename":"image_07112025_18_41_44_1509.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e6d99e3c966cc4f4b97a2288ca798bb.jpg","text":"TemporaryFile(/tmp/multipartBody4498954677316060619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962823602,"filename":"image_07112025_18_41_34_1786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62f15e006b738a39e9a67a2410248796.jpg","text":"TemporaryFile(/tmp/multipartBody1593107111972967211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962823602,"filename":"image_07112025_18_41_37_1611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770364","file1":"1399770363","file0":"1399770358","file4":"1399770366","file5":"1399770367","file3":"1399770365"},"map_files_photo_id_array":[{"photo_id":"1399770367","filename":"file5"},{"photo_id":"1399770364","filename":"file2"},{"photo_id":"1399770366","filename":"file4"},{"photo_id":"1399770363","filename":"file1"},{"photo_id":"1399770358","filename":"file0"},{"photo_id":"1399770365","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399770367":["hashtag1","hashtag2"]},{"1399770364":["hashtag1","hashtag2"]},{"1399770358":["hashtag1","hashtag2"]},{"1399770366":["hashtag1","hashtag2"]},{"1399770363":["hashtag1","hashtag2"]},{"1399770365":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399770367, 1399770364, 1399770358, 1399770366, 1399770363, 1399770365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.8687207698822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:13:22.029449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/03/image_17122025_10_04_05_9675.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_16_10814.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_26_9668.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_35_9647.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_46_10406.jpg', '/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_56_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/03/image_17122025_10_04_05_9675.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_16_10814.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_26_9668.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_35_9647.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_46_10406.jpg
/home/pi/Desktop/images/17122025/10/04/image_17122025_10_04_56_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":["1399770391","1399770394","1399770389","1399770398","1399770383","1399770386"],"photo_ids_order":["1399770383","1399770386","1399770389","1399770391","1399770394","1399770398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac773c05e3bfeedc25e655564ffea04e.jpg","text":"TemporaryFile(/tmp/multipartBody1462559483035329632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962862614,"filename":"image_17122025_10_04_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e72a67fd80d2259f0727950c2cdc1e8.jpg","text":"TemporaryFile(/tmp/multipartBody5817349973887283083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962862614,"filename":"image_17122025_10_04_46_10406.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48e21f1e18140f8952cd594c357287b7.jpg","text":"TemporaryFile(/tmp/multipartBody2971088151288860125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962862614,"filename":"image_17122025_10_04_26_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79de51c54c5bd1f72473b8703256edd6.jpg","text":"TemporaryFile(/tmp/multipartBody8271185680097013885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962862614,"filename":"image_17122025_10_04_56_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e40aba63371831594cb601842c7d3653.jpg","text":"TemporaryFile(/tmp/multipartBody5144547850768933015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962862614,"filename":"image_17122025_10_04_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2efac92393fa8b9d1a59981ff5670bc0.jpg","text":"TemporaryFile(/tmp/multipartBody8334458751861211453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962862614,"filename":"image_17122025_10_04_16_10814.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770389","file1":"1399770386","file0":"1399770383","file4":"1399770394","file5":"1399770398","file3":"1399770391"},"map_files_photo_id_array":[{"photo_id":"1399770398","filename":"file5"},{"photo_id":"1399770389","filename":"file2"},{"photo_id":"1399770394","filename":"file4"},{"photo_id":"1399770386","filename":"file1"},{"photo_id":"1399770383","filename":"file0"},{"photo_id":"1399770391","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770391":["hashtag1","hashtag2"]},{"1399770394":["hashtag1","hashtag2"]},{"1399770389":["hashtag1","hashtag2"]},{"1399770398":["hashtag1","hashtag2"]},{"1399770383":["hashtag1","hashtag2"]},{"1399770386":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770391, 1399770394, 1399770389, 1399770398, 1399770383, 1399770386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.85683298110962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:14:02.858101
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_14_10037.jpg', '/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_24_10781.jpg', '/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_34_9733.jpg', '/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_44_9800.jpg', '/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_55_10636.jpg', '/home/pi/Desktop/images/17122025/10/06/image_17122025_10_07_04_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_14_10037.jpg
/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_24_10781.jpg
/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_34_9733.jpg
/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_44_9800.jpg
/home/pi/Desktop/images/17122025/10/06/image_17122025_10_06_55_10636.jpg
/home/pi/Desktop/images/17122025/10/06/image_17122025_10_07_04_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":["1399770512","1399770509","1399770503","1399770505","1399770492","1399770491"],"photo_ids_order":["1399770491","1399770492","1399770503","1399770505","1399770509","1399770512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7a90aa88a5d1503e3b2ec683e5841d7.jpg","text":"TemporaryFile(/tmp/multipartBody4595808790767082953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962903505,"filename":"image_17122025_10_07_04_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8367ed9654ba865b0af1b07ab970454d.jpg","text":"TemporaryFile(/tmp/multipartBody5929134491980222130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962903505,"filename":"image_17122025_10_06_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9b16e55c68a0dfb470dc05e1ba6e3be.jpg","text":"TemporaryFile(/tmp/multipartBody6118114607724534107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962903505,"filename":"image_17122025_10_06_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d56786068114af75ebd96eaa5d30482c.jpg","text":"TemporaryFile(/tmp/multipartBody809463224252410424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962903505,"filename":"image_17122025_10_06_44_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e3adf373bd8180778efc50509a7a04c.jpg","text":"TemporaryFile(/tmp/multipartBody557787888391851067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962903505,"filename":"image_17122025_10_06_24_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb66d7bfc036c98e3628150f49f7352d.jpg","text":"TemporaryFile(/tmp/multipartBody7933091125318301960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962903505,"filename":"image_17122025_10_06_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770503","file1":"1399770492","file0":"1399770491","file4":"1399770509","file5":"1399770512","file3":"1399770505"},"map_files_photo_id_array":[{"photo_id":"1399770512","filename":"file5"},{"photo_id":"1399770503","filename":"file2"},{"photo_id":"1399770509","filename":"file4"},{"photo_id":"1399770492","filename":"file1"},{"photo_id":"1399770491","filename":"file0"},{"photo_id":"1399770505","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770512":["hashtag1","hashtag2"]},{"1399770509":["hashtag1","hashtag2"]},{"1399770503":["hashtag1","hashtag2"]},{"1399770505":["hashtag1","hashtag2"]},{"1399770492":["hashtag1","hashtag2"]},{"1399770491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770512, 1399770509, 1399770503, 1399770505, 1399770492, 1399770491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.45984172821045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:14:42.124246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_47_1590.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_49_1920.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_51_1583.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_56_1691.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_58_1856.jpg', '/home/pi/Desktop/images/07112025/18/42/image_07112025_18_42_01_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_47_1590.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_49_1920.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_51_1583.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_56_1691.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_58_1856.jpg
/home/pi/Desktop/images/07112025/18/42/image_07112025_18_42_01_1749.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6459753513336182 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:15:02.965218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_14_9660.jpg', '/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_24_9793.jpg', '/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_34_10601.jpg', '/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_44_9639.jpg', '/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_54_9768.jpg', '/home/pi/Desktop/images/17122025/10/07/image_17122025_10_08_04_10433.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_14_9660.jpg
/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_24_9793.jpg
/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_34_10601.jpg
/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_44_9639.jpg
/home/pi/Desktop/images/17122025/10/07/image_17122025_10_07_54_9768.jpg
/home/pi/Desktop/images/17122025/10/07/image_17122025_10_08_04_10433.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770670","1399770673","1399770672","1399770671","1399770677","1399770665"],"photo_ids_order":["1399770665","1399770670","1399770671","1399770672","1399770673","1399770677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34cbeabc2d406c1a793298097deed4fe.jpg","text":"TemporaryFile(/tmp/multipartBody6609182443389441525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962963597,"filename":"image_17122025_10_07_24_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac13e75f8b9aaa5bdb58fb96b4cfd4c6.jpg","text":"TemporaryFile(/tmp/multipartBody683198013512526151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962963597,"filename":"image_17122025_10_07_54_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36e6309adc33976d9889fcbd913610fb.jpg","text":"TemporaryFile(/tmp/multipartBody7778609632639527511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962963597,"filename":"image_17122025_10_07_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebf441fc4047dcc512eae0ae75f3ec88.jpg","text":"TemporaryFile(/tmp/multipartBody6997565572501507920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962963597,"filename":"image_17122025_10_07_34_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/665f5b22d00b0c757afbe3b1291a13e2.jpg","text":"TemporaryFile(/tmp/multipartBody5188789441963126533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962963597,"filename":"image_17122025_10_08_04_10433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89c92d239ce3ddacbe8fa858a7fadb3e.jpg","text":"TemporaryFile(/tmp/multipartBody8580131023706345409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765962963597,"filename":"image_17122025_10_07_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770671","file1":"1399770670","file0":"1399770665","file4":"1399770673","file5":"1399770677","file3":"1399770672"},"map_files_photo_id_array":[{"photo_id":"1399770677","filename":"file5"},{"photo_id":"1399770671","filename":"file2"},{"photo_id":"1399770673","filename":"file4"},{"photo_id":"1399770670","filename":"file1"},{"photo_id":"1399770665","filename":"file0"},{"photo_id":"1399770672","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770670":["hashtag1","hashtag2"]},{"1399770673":["hashtag1","hashtag2"]},{"1399770672":["hashtag1","hashtag2"]},{"1399770671":["hashtag1","hashtag2"]},{"1399770677":["hashtag1","hashtag2"]},{"1399770665":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770670, 1399770673, 1399770672, 1399770671, 1399770677, 1399770665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67484998703003 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:15:42.365810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_47_1590.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_49_1920.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_51_1583.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_56_1691.jpg', '/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_58_1856.jpg', '/home/pi/Desktop/images/07112025/18/42/image_07112025_18_42_01_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_47_1590.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_49_1920.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_51_1583.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_56_1691.jpg
/home/pi/Desktop/images/07112025/18/41/image_07112025_18_41_58_1856.jpg
/home/pi/Desktop/images/07112025/18/42/image_07112025_18_42_01_1749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770682","1399770688","1399770690","1399770684","1399770692","1399770689"],"photo_ids_order":["1399770682","1399770684","1399770688","1399770689","1399770690","1399770692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18867eee7091d2e3979d0e12998ea560.jpg","text":"TemporaryFile(/tmp/multipartBody2735003536169295634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963003025,"filename":"image_07112025_18_41_47_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba8218470ac3c473192a7aa596273650.jpg","text":"TemporaryFile(/tmp/multipartBody2504436210341629850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963003025,"filename":"image_07112025_18_41_51_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e67b87a46aa1038f76e167ed1135061.jpg","text":"TemporaryFile(/tmp/multipartBody1615725483329067953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963003025,"filename":"image_07112025_18_41_58_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8608570a983a406a822fd62db6936a23.jpg","text":"TemporaryFile(/tmp/multipartBody6731238209017069966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963003025,"filename":"image_07112025_18_41_49_1920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7281b224a1819e99482f6e7ef06dfec8.jpg","text":"TemporaryFile(/tmp/multipartBody1386947150872945272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963003025,"filename":"image_07112025_18_42_01_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6aa5837fc26695a4db5e8e9ca6679ac.jpg","text":"TemporaryFile(/tmp/multipartBody5118276663207541232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963003025,"filename":"image_07112025_18_41_56_1691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770688","file1":"1399770684","file0":"1399770682","file4":"1399770690","file5":"1399770692","file3":"1399770689"},"map_files_photo_id_array":[{"photo_id":"1399770692","filename":"file5"},{"photo_id":"1399770688","filename":"file2"},{"photo_id":"1399770690","filename":"file4"},{"photo_id":"1399770684","filename":"file1"},{"photo_id":"1399770682","filename":"file0"},{"photo_id":"1399770689","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399770682":["hashtag1","hashtag2"]},{"1399770688":["hashtag1","hashtag2"]},{"1399770690":["hashtag1","hashtag2"]},{"1399770684":["hashtag1","hashtag2"]},{"1399770692":["hashtag1","hashtag2"]},{"1399770689":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399770682, 1399770688, 1399770690, 1399770684, 1399770692, 1399770689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36651158332825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:16:22.702347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_14_9915.jpg', '/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_24_9719.jpg', '/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_34_9748.jpg', '/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_44_10785.jpg', '/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_54_9640.jpg', '/home/pi/Desktop/images/17122025/10/08/image_17122025_10_09_04_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_14_9915.jpg
/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_24_9719.jpg
/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_34_9748.jpg
/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_44_10785.jpg
/home/pi/Desktop/images/17122025/10/08/image_17122025_10_08_54_9640.jpg
/home/pi/Desktop/images/17122025/10/08/image_17122025_10_09_04_9619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770704","1399770727","1399770705","1399770729","1399770698","1399770702"],"photo_ids_order":["1399770698","1399770702","1399770704","1399770705","1399770727","1399770729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a47bc6b45b011c47cba52ed21be07ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3724272216272517946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963043272,"filename":"image_17122025_10_08_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e8454cf0e4792e918a6d003c70dde89.jpg","text":"TemporaryFile(/tmp/multipartBody4811933496764552984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963043272,"filename":"image_17122025_10_08_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0acbd33c28320200f616b5fd0ef3f5c.jpg","text":"TemporaryFile(/tmp/multipartBody5488679793039032406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963043272,"filename":"image_17122025_10_08_44_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4d3f841632fd9642e900eec89f12537.jpg","text":"TemporaryFile(/tmp/multipartBody759912980860416348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963043272,"filename":"image_17122025_10_09_04_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6d5c6ddc16089f07e53e6da2706f701.jpg","text":"TemporaryFile(/tmp/multipartBody6944366207155005547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963043272,"filename":"image_17122025_10_08_14_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fec7043e277d4757b38f08f3947fca2f.jpg","text":"TemporaryFile(/tmp/multipartBody4867820224240814420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963043272,"filename":"image_17122025_10_08_24_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770704","file1":"1399770702","file0":"1399770698","file4":"1399770727","file5":"1399770729","file3":"1399770705"},"map_files_photo_id_array":[{"photo_id":"1399770729","filename":"file5"},{"photo_id":"1399770704","filename":"file2"},{"photo_id":"1399770727","filename":"file4"},{"photo_id":"1399770702","filename":"file1"},{"photo_id":"1399770698","filename":"file0"},{"photo_id":"1399770705","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770704":["hashtag1","hashtag2"]},{"1399770727":["hashtag1","hashtag2"]},{"1399770705":["hashtag1","hashtag2"]},{"1399770729":["hashtag1","hashtag2"]},{"1399770698":["hashtag1","hashtag2"]},{"1399770702":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770704, 1399770727, 1399770705, 1399770729, 1399770698, 1399770702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96188259124756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:17:02.606202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_14_10782.jpg', '/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_24_9761.jpg', '/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_34_10193.jpg', '/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_44_9801.jpg', '/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_54_9731.jpg', '/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_14_10782.jpg
/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_24_9761.jpg
/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_34_10193.jpg
/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_44_9801.jpg
/home/pi/Desktop/images/17122025/10/09/image_17122025_10_09_54_9731.jpg
/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_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":["1399770733","1399770774","1399770741","1399770740","1399770815","1399770743"],"photo_ids_order":["1399770733","1399770740","1399770741","1399770743","1399770774","1399770815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc76002752e7183425b1f6edb6d7a6fa.jpg","text":"TemporaryFile(/tmp/multipartBody3585009679586902013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963083291,"filename":"image_17122025_10_09_14_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3611eccf0d1cb27c6c9385cdba2e4aab.jpg","text":"TemporaryFile(/tmp/multipartBody3601529099509509426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963083291,"filename":"image_17122025_10_09_54_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/303b162a6184196d82e0d510624edae9.jpg","text":"TemporaryFile(/tmp/multipartBody3449067326515868878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963083291,"filename":"image_17122025_10_09_34_10193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f939cbec95aa0ef0b571979ea122b275.jpg","text":"TemporaryFile(/tmp/multipartBody7767527253538764095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963083291,"filename":"image_17122025_10_09_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85982787ffaf304d729cf6f228720c8c.jpg","text":"TemporaryFile(/tmp/multipartBody5566542125759829666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963083291,"filename":"image_17122025_10_11_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/118c787dfc0dd8c2b02dc6622a19ba66.jpg","text":"TemporaryFile(/tmp/multipartBody2105371980350910718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963083291,"filename":"image_17122025_10_09_44_9801.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770741","file1":"1399770740","file0":"1399770733","file4":"1399770774","file5":"1399770815","file3":"1399770743"},"map_files_photo_id_array":[{"photo_id":"1399770815","filename":"file5"},{"photo_id":"1399770741","filename":"file2"},{"photo_id":"1399770774","filename":"file4"},{"photo_id":"1399770740","filename":"file1"},{"photo_id":"1399770733","filename":"file0"},{"photo_id":"1399770743","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770733":["hashtag1","hashtag2"]},{"1399770774":["hashtag1","hashtag2"]},{"1399770741":["hashtag1","hashtag2"]},{"1399770740":["hashtag1","hashtag2"]},{"1399770815":["hashtag1","hashtag2"]},{"1399770743":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770733, 1399770774, 1399770741, 1399770740, 1399770815, 1399770743)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.531763553619385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:17:41.796139
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/42/image_07112025_18_42_05_1708.jpg', '/home/pi/Desktop/images/07112025/18/42/image_07112025_18_42_08_3564.jpg', '/home/pi/Desktop/images/07112025/18/43/image_07112025_18_43_21_1637.jpg', '/home/pi/Desktop/images/07112025/18/43/image_07112025_18_43_44_2936.jpg', '/home/pi/Desktop/images/07112025/18/43/image_07112025_18_43_47_1693.jpg', '/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_10_3838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/42/image_07112025_18_42_05_1708.jpg
/home/pi/Desktop/images/07112025/18/42/image_07112025_18_42_08_3564.jpg
/home/pi/Desktop/images/07112025/18/43/image_07112025_18_43_21_1637.jpg
/home/pi/Desktop/images/07112025/18/43/image_07112025_18_43_44_2936.jpg
/home/pi/Desktop/images/07112025/18/43/image_07112025_18_43_47_1693.jpg
/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_10_3838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770862","1399770871","1399770868","1399770867","1399770870","1399770869"],"photo_ids_order":["1399770862","1399770867","1399770868","1399770869","1399770870","1399770871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f983b1b6c259b6990bdccef5f1e1104c.jpg","text":"TemporaryFile(/tmp/multipartBody5084954977576428085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963122578,"filename":"image_07112025_18_42_05_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/210c54553e59c0691f409be8d376a27e.jpg","text":"TemporaryFile(/tmp/multipartBody807403357289268807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963122578,"filename":"image_07112025_18_45_10_3838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87121e9d9919447590eb716e627e9fd6.jpg","text":"TemporaryFile(/tmp/multipartBody1504649833044702776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963122578,"filename":"image_07112025_18_43_21_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/229d76f28b4aa30029f954b189ff01c6.jpg","text":"TemporaryFile(/tmp/multipartBody4588466145163436171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963122578,"filename":"image_07112025_18_42_08_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47107a962afe1560b376d0a8276a3b5a.jpg","text":"TemporaryFile(/tmp/multipartBody5813102381097580468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963122578,"filename":"image_07112025_18_43_47_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1413cc74fa746a0904e2741fb5e084c.jpg","text":"TemporaryFile(/tmp/multipartBody668899314033368884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963122578,"filename":"image_07112025_18_43_44_2936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770868","file1":"1399770867","file0":"1399770862","file4":"1399770870","file5":"1399770871","file3":"1399770869"},"map_files_photo_id_array":[{"photo_id":"1399770871","filename":"file5"},{"photo_id":"1399770868","filename":"file2"},{"photo_id":"1399770870","filename":"file4"},{"photo_id":"1399770867","filename":"file1"},{"photo_id":"1399770862","filename":"file0"},{"photo_id":"1399770869","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399770862":["hashtag1","hashtag2"]},{"1399770871":["hashtag1","hashtag2"]},{"1399770868":["hashtag1","hashtag2"]},{"1399770867":["hashtag1","hashtag2"]},{"1399770870":["hashtag1","hashtag2"]},{"1399770869":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399770862, 1399770871, 1399770868, 1399770867, 1399770870, 1399770869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.698503255844116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:18:22.045631
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_24_10752.jpg', '/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_34_9685.jpg', '/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_44_9816.jpg', '/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_54_9707.jpg', '/home/pi/Desktop/images/17122025/10/11/image_17122025_10_12_04_9995.jpg', '/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_14_10861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_24_10752.jpg
/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_34_9685.jpg
/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_44_9816.jpg
/home/pi/Desktop/images/17122025/10/11/image_17122025_10_11_54_9707.jpg
/home/pi/Desktop/images/17122025/10/11/image_17122025_10_12_04_9995.jpg
/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_14_10861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770892","1399770895","1399770883","1399770879","1399770888","1399770875"],"photo_ids_order":["1399770875","1399770879","1399770883","1399770888","1399770892","1399770895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51756cd74ba4252464a94837658549ca.jpg","text":"TemporaryFile(/tmp/multipartBody2750263726311682631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963162667,"filename":"image_17122025_10_12_04_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f410b8d35e841a8a0f54c29145a4f756.jpg","text":"TemporaryFile(/tmp/multipartBody4316096610464333796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963162667,"filename":"image_17122025_10_12_14_10861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6308c32e1114a8ba4f0b66e7ad4f9aec.jpg","text":"TemporaryFile(/tmp/multipartBody860288812573565298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963162667,"filename":"image_17122025_10_11_44_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41c8402aa4e84ae730a3267454f30071.jpg","text":"TemporaryFile(/tmp/multipartBody8945511702704628223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963162667,"filename":"image_17122025_10_11_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8041cee44075d30e985cba2b4600144.jpg","text":"TemporaryFile(/tmp/multipartBody5899882455465454522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963162667,"filename":"image_17122025_10_11_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6559d8c32a6d27558a50eb592366240.jpg","text":"TemporaryFile(/tmp/multipartBody8038183910179628369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963162667,"filename":"image_17122025_10_11_24_10752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770883","file1":"1399770879","file0":"1399770875","file4":"1399770892","file5":"1399770895","file3":"1399770888"},"map_files_photo_id_array":[{"photo_id":"1399770895","filename":"file5"},{"photo_id":"1399770883","filename":"file2"},{"photo_id":"1399770892","filename":"file4"},{"photo_id":"1399770879","filename":"file1"},{"photo_id":"1399770875","filename":"file0"},{"photo_id":"1399770888","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770892":["hashtag1","hashtag2"]},{"1399770895":["hashtag1","hashtag2"]},{"1399770883":["hashtag1","hashtag2"]},{"1399770879":["hashtag1","hashtag2"]},{"1399770888":["hashtag1","hashtag2"]},{"1399770875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770892, 1399770895, 1399770883, 1399770879, 1399770888, 1399770875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.7248260974884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 10:19:12.293576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:19:22.371058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_24_9640.jpg', '/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_34_9631.jpg', '/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_44_10706.jpg', '/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_54_9688.jpg', '/home/pi/Desktop/images/17122025/10/12/image_17122025_10_13_04_9584.jpg', '/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_14_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_24_9640.jpg
/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_34_9631.jpg
/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_44_10706.jpg
/home/pi/Desktop/images/17122025/10/12/image_17122025_10_12_54_9688.jpg
/home/pi/Desktop/images/17122025/10/12/image_17122025_10_13_04_9584.jpg
/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_14_10753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770923","1399770917","1399770928","1399770912","1399770920","1399770914"],"photo_ids_order":["1399770912","1399770914","1399770917","1399770920","1399770923","1399770928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37660e6add1d80e4ca49d37c289c607a.jpg","text":"TemporaryFile(/tmp/multipartBody62413717379422041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963222989,"filename":"image_17122025_10_13_04_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0baf60ee992b9c7bb6aac94f3cdd85f5.jpg","text":"TemporaryFile(/tmp/multipartBody278071145047590939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963222989,"filename":"image_17122025_10_12_44_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/062277cc5ad35a2df90ca13cc6905245.jpg","text":"TemporaryFile(/tmp/multipartBody8665102164101838552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963222989,"filename":"image_17122025_10_13_14_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63d2c5ce35405c061053e9625d56a7ba.jpg","text":"TemporaryFile(/tmp/multipartBody4303100899841582069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963222989,"filename":"image_17122025_10_12_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a222ca8f451967296152af9deee5949c.jpg","text":"TemporaryFile(/tmp/multipartBody3152183481812894347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963222989,"filename":"image_17122025_10_12_54_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9a3a8d59a3d2c084c162e7b7db79cc0.jpg","text":"TemporaryFile(/tmp/multipartBody2644730508675426424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963222989,"filename":"image_17122025_10_12_34_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770917","file1":"1399770914","file0":"1399770912","file4":"1399770923","file5":"1399770928","file3":"1399770920"},"map_files_photo_id_array":[{"photo_id":"1399770928","filename":"file5"},{"photo_id":"1399770917","filename":"file2"},{"photo_id":"1399770923","filename":"file4"},{"photo_id":"1399770914","filename":"file1"},{"photo_id":"1399770912","filename":"file0"},{"photo_id":"1399770920","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770923":["hashtag1","hashtag2"]},{"1399770917":["hashtag1","hashtag2"]},{"1399770928":["hashtag1","hashtag2"]},{"1399770912":["hashtag1","hashtag2"]},{"1399770920":["hashtag1","hashtag2"]},{"1399770914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770923, 1399770917, 1399770928, 1399770912, 1399770920, 1399770914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.903672218322754 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:20:02.903418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_24_9826.jpg', '/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_34_9616.jpg', '/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_44_9697.jpg', '/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_54_10687.jpg', '/home/pi/Desktop/images/17122025/10/13/image_17122025_10_14_04_9664.jpg', '/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_14_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_24_9826.jpg
/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_34_9616.jpg
/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_44_9697.jpg
/home/pi/Desktop/images/17122025/10/13/image_17122025_10_13_54_10687.jpg
/home/pi/Desktop/images/17122025/10/13/image_17122025_10_14_04_9664.jpg
/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_14_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":["1399770938","1399770943","1399770952","1399770945","1399770947","1399770941"],"photo_ids_order":["1399770938","1399770941","1399770943","1399770945","1399770947","1399770952"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03f664ac6a6a16453830f2807cf282be.jpg","text":"TemporaryFile(/tmp/multipartBody5392690815296800934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963263614,"filename":"image_17122025_10_13_24_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a296f4eeedc16495f84af68b0c3bc98.jpg","text":"TemporaryFile(/tmp/multipartBody2316557914286301949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963263614,"filename":"image_17122025_10_13_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98906a250ae58f86ddf8c61c53b3f321.jpg","text":"TemporaryFile(/tmp/multipartBody7344813095030152860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963263614,"filename":"image_17122025_10_14_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20f7940959dfde6860913e2dabd49822.jpg","text":"TemporaryFile(/tmp/multipartBody2868551339112646268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963263614,"filename":"image_17122025_10_13_54_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63ce20b2611441f55b86e416c7a5bf94.jpg","text":"TemporaryFile(/tmp/multipartBody2114923329075974418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963263614,"filename":"image_17122025_10_14_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73a81cdbcbc1c4c5dd0d0e8279252795.jpg","text":"TemporaryFile(/tmp/multipartBody2611197351071875071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963263614,"filename":"image_17122025_10_13_34_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770943","file1":"1399770941","file0":"1399770938","file4":"1399770947","file5":"1399770952","file3":"1399770945"},"map_files_photo_id_array":[{"photo_id":"1399770952","filename":"file5"},{"photo_id":"1399770943","filename":"file2"},{"photo_id":"1399770947","filename":"file4"},{"photo_id":"1399770941","filename":"file1"},{"photo_id":"1399770938","filename":"file0"},{"photo_id":"1399770945","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770938":["hashtag1","hashtag2"]},{"1399770943":["hashtag1","hashtag2"]},{"1399770952":["hashtag1","hashtag2"]},{"1399770945":["hashtag1","hashtag2"]},{"1399770947":["hashtag1","hashtag2"]},{"1399770941":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770938, 1399770943, 1399770952, 1399770945, 1399770947, 1399770941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44707250595093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:20:42.433733
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_16_2667.jpg', '/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_19_3625.jpg', '/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_22_2598.jpg', '/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_31_2677.jpg', '/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_40_2750.jpg', '/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_43_2533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_16_2667.jpg
/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_19_3625.jpg
/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_22_2598.jpg
/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_31_2677.jpg
/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_40_2750.jpg
/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_43_2533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770961","1399770960","1399770963","1399770957","1399770962","1399770959"],"photo_ids_order":["1399770957","1399770959","1399770960","1399770961","1399770962","1399770963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e86825ea74f8d7c2ec2acb03b12cdf7c.jpg","text":"TemporaryFile(/tmp/multipartBody8178084254645175737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963303180,"filename":"image_07112025_18_45_31_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f1a0be9d6812c534478660b0469aa5f.jpg","text":"TemporaryFile(/tmp/multipartBody8126088318899677012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963303180,"filename":"image_07112025_18_45_22_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/450fee48936f2330ed4e7615656f357e.jpg","text":"TemporaryFile(/tmp/multipartBody8351979744092390971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963303180,"filename":"image_07112025_18_45_43_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d76d8de82d069d11f5f2068b9bf039a.jpg","text":"TemporaryFile(/tmp/multipartBody8165150043478017455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963303180,"filename":"image_07112025_18_45_16_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23164fa3effc84d5683108218fcfffc8.jpg","text":"TemporaryFile(/tmp/multipartBody2253456792840315343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963303180,"filename":"image_07112025_18_45_40_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb217a33d9b9e6fe574c1e873eac6456.jpg","text":"TemporaryFile(/tmp/multipartBody5841953849697926445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963303180,"filename":"image_07112025_18_45_19_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770960","file1":"1399770959","file0":"1399770957","file4":"1399770962","file5":"1399770963","file3":"1399770961"},"map_files_photo_id_array":[{"photo_id":"1399770963","filename":"file5"},{"photo_id":"1399770960","filename":"file2"},{"photo_id":"1399770962","filename":"file4"},{"photo_id":"1399770959","filename":"file1"},{"photo_id":"1399770957","filename":"file0"},{"photo_id":"1399770961","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399770961":["hashtag1","hashtag2"]},{"1399770960":["hashtag1","hashtag2"]},{"1399770963":["hashtag1","hashtag2"]},{"1399770957":["hashtag1","hashtag2"]},{"1399770962":["hashtag1","hashtag2"]},{"1399770959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399770961, 1399770960, 1399770963, 1399770957, 1399770962, 1399770959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07884335517883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:21:22.710702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_24_10707.jpg', '/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_34_9694.jpg', '/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_44_9752.jpg', '/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_54_10597.jpg', '/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_14_10057.jpg', '/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_25_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_24_10707.jpg
/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_34_9694.jpg
/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_44_9752.jpg
/home/pi/Desktop/images/17122025/10/14/image_17122025_10_14_54_10597.jpg
/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_14_10057.jpg
/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_25_10725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399770972","1399770975","1399770969","1399770980","1399770983","1399770977"],"photo_ids_order":["1399770969","1399770972","1399770975","1399770977","1399770980","1399770983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41c9f2c7bf8e0536214106ded016a3f7.jpg","text":"TemporaryFile(/tmp/multipartBody4168420377778810254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963343341,"filename":"image_17122025_10_14_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1a002407273fc31caa75e41c40113fe.jpg","text":"TemporaryFile(/tmp/multipartBody1605906778612843044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963343341,"filename":"image_17122025_10_14_44_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1a5ef220a2b6f998ecdb54b03a47da2.jpg","text":"TemporaryFile(/tmp/multipartBody325154067729688778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963343341,"filename":"image_17122025_10_14_24_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d384014e36ccf0ba407664d9086ab018.jpg","text":"TemporaryFile(/tmp/multipartBody1903253081696039684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963343341,"filename":"image_17122025_10_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/2025/12/17/27367269de76a7172d9ba253c769119d.jpg","text":"TemporaryFile(/tmp/multipartBody2407458411006138939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963343341,"filename":"image_17122025_10_15_25_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb1fc07544adb592db6af12a79d2fc94.jpg","text":"TemporaryFile(/tmp/multipartBody8689577484141826563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963343341,"filename":"image_17122025_10_14_54_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399770975","file1":"1399770972","file0":"1399770969","file4":"1399770980","file5":"1399770983","file3":"1399770977"},"map_files_photo_id_array":[{"photo_id":"1399770983","filename":"file5"},{"photo_id":"1399770975","filename":"file2"},{"photo_id":"1399770980","filename":"file4"},{"photo_id":"1399770972","filename":"file1"},{"photo_id":"1399770969","filename":"file0"},{"photo_id":"1399770977","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399770972":["hashtag1","hashtag2"]},{"1399770975":["hashtag1","hashtag2"]},{"1399770969":["hashtag1","hashtag2"]},{"1399770980":["hashtag1","hashtag2"]},{"1399770983":["hashtag1","hashtag2"]},{"1399770977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399770972, 1399770975, 1399770969, 1399770980, 1399770983, 1399770977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.09277534484863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 10:22:11.932130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:22:21.913628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_35_9706.jpg', '/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_44_9634.jpg', '/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_55_10697.jpg', '/home/pi/Desktop/images/17122025/10/15/image_17122025_10_16_04_9609.jpg', '/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_14_9878.jpg', '/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_25_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_35_9706.jpg
/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_44_9634.jpg
/home/pi/Desktop/images/17122025/10/15/image_17122025_10_15_55_10697.jpg
/home/pi/Desktop/images/17122025/10/15/image_17122025_10_16_04_9609.jpg
/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_14_9878.jpg
/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_25_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771012","1399771009","1399771002","1399771005","1399770998","1399771007"],"photo_ids_order":["1399770998","1399771002","1399771005","1399771007","1399771009","1399771012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d080e3ccad0023972211c5fe7e6eb8d8.jpg","text":"TemporaryFile(/tmp/multipartBody773764138430005402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963402537,"filename":"image_17122025_10_16_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/875d084108e0971020e0ab36a604d67d.jpg","text":"TemporaryFile(/tmp/multipartBody8646071683638625593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963402537,"filename":"image_17122025_10_16_14_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/510a79360ea6425f8e063c56359bfb58.jpg","text":"TemporaryFile(/tmp/multipartBody9205233341483287243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963402537,"filename":"image_17122025_10_15_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7fac55ee45cce6a39c2b929aedee83b.jpg","text":"TemporaryFile(/tmp/multipartBody2206280276177994555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963402537,"filename":"image_17122025_10_15_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d20c50c17458566d96aa124466f6e71a.jpg","text":"TemporaryFile(/tmp/multipartBody7057494409053686137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963402537,"filename":"image_17122025_10_15_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f8adbf775eea20f29813b6fa88e63e6.jpg","text":"TemporaryFile(/tmp/multipartBody3530885425832001015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963402537,"filename":"image_17122025_10_16_04_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771005","file1":"1399771002","file0":"1399770998","file4":"1399771009","file5":"1399771012","file3":"1399771007"},"map_files_photo_id_array":[{"photo_id":"1399771012","filename":"file5"},{"photo_id":"1399771005","filename":"file2"},{"photo_id":"1399771009","filename":"file4"},{"photo_id":"1399771002","filename":"file1"},{"photo_id":"1399770998","filename":"file0"},{"photo_id":"1399771007","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771012":["hashtag1","hashtag2"]},{"1399771009":["hashtag1","hashtag2"]},{"1399771002":["hashtag1","hashtag2"]},{"1399771005":["hashtag1","hashtag2"]},{"1399770998":["hashtag1","hashtag2"]},{"1399771007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771012, 1399771009, 1399771002, 1399771005, 1399770998, 1399771007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.212223529815674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:23:02.853691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_35_9558.jpg', '/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_44_9712.jpg', '/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_54_9836.jpg', '/home/pi/Desktop/images/17122025/10/16/image_17122025_10_17_05_10677.jpg', '/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_14_9615.jpg', '/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_24_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_35_9558.jpg
/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_44_9712.jpg
/home/pi/Desktop/images/17122025/10/16/image_17122025_10_16_54_9836.jpg
/home/pi/Desktop/images/17122025/10/16/image_17122025_10_17_05_10677.jpg
/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_14_9615.jpg
/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_24_9636.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771068","1399771056","1399771035","1399771014","1399771046","1399771028"],"photo_ids_order":["1399771014","1399771028","1399771035","1399771046","1399771056","1399771068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12e2b36085500c3a3d22b9ab6808ee63.jpg","text":"TemporaryFile(/tmp/multipartBody2634607616059226344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963443559,"filename":"image_17122025_10_17_24_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2293510645012121ef128eb82cea9ac6.jpg","text":"TemporaryFile(/tmp/multipartBody2114829162471208621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963443559,"filename":"image_17122025_10_17_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3331de626b4165f0ad0c1c0f7a175fd.jpg","text":"TemporaryFile(/tmp/multipartBody7982298650999076848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963443559,"filename":"image_17122025_10_16_54_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4fc50b304525c015925330bdae3fa0e6.jpg","text":"TemporaryFile(/tmp/multipartBody6452730627088588043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963443559,"filename":"image_17122025_10_16_35_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4faf54e277e4e8bde4b6fcdb2b957344.jpg","text":"TemporaryFile(/tmp/multipartBody7909387945584701838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963443559,"filename":"image_17122025_10_17_05_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/337e0ac7858f0dd249e065622889a3de.jpg","text":"TemporaryFile(/tmp/multipartBody7921982918163885561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963443559,"filename":"image_17122025_10_16_44_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771035","file1":"1399771028","file0":"1399771014","file4":"1399771056","file5":"1399771068","file3":"1399771046"},"map_files_photo_id_array":[{"photo_id":"1399771068","filename":"file5"},{"photo_id":"1399771035","filename":"file2"},{"photo_id":"1399771056","filename":"file4"},{"photo_id":"1399771028","filename":"file1"},{"photo_id":"1399771014","filename":"file0"},{"photo_id":"1399771046","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771068":["hashtag1","hashtag2"]},{"1399771056":["hashtag1","hashtag2"]},{"1399771035":["hashtag1","hashtag2"]},{"1399771014":["hashtag1","hashtag2"]},{"1399771046":["hashtag1","hashtag2"]},{"1399771028":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771068, 1399771056, 1399771035, 1399771014, 1399771046, 1399771028)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27356314659119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:23:42.178425
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_46_3642.jpg', '/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_49_3046.jpg', '/home/pi/Desktop/images/07112025/18/46/image_07112025_18_46_05_3561.jpg', '/home/pi/Desktop/images/07112025/18/46/image_07112025_18_46_14_4177.jpg', '/home/pi/Desktop/images/07112025/18/46/image_07112025_18_46_16_1610.jpg', '/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_21_1583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_46_3642.jpg
/home/pi/Desktop/images/07112025/18/45/image_07112025_18_45_49_3046.jpg
/home/pi/Desktop/images/07112025/18/46/image_07112025_18_46_05_3561.jpg
/home/pi/Desktop/images/07112025/18/46/image_07112025_18_46_14_4177.jpg
/home/pi/Desktop/images/07112025/18/46/image_07112025_18_46_16_1610.jpg
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_21_1583.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771084","1399771165","1399771089","1399771119","1399771088","1399771090"],"photo_ids_order":["1399771084","1399771088","1399771089","1399771090","1399771119","1399771165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33a3c9ebbd317a1334d75ede98548db3.jpg","text":"TemporaryFile(/tmp/multipartBody8945298655960891538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963482934,"filename":"image_07112025_18_45_46_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a757c90e67848049281ae68f4dc8fd7a.jpg","text":"TemporaryFile(/tmp/multipartBody5111848690350557821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963482934,"filename":"image_07112025_18_47_21_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2baf66dbe1be29ecd725996aa69918dd.jpg","text":"TemporaryFile(/tmp/multipartBody6032359849502414118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963482934,"filename":"image_07112025_18_46_05_3561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72d0f7417a50f197ea4916c501fd1462.jpg","text":"TemporaryFile(/tmp/multipartBody4513533108618405857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963482934,"filename":"image_07112025_18_46_16_1610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5594546ee2ef311d0311ab19d088faf0.jpg","text":"TemporaryFile(/tmp/multipartBody4457198050180855884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963482934,"filename":"image_07112025_18_45_49_3046.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab58327768c5ab07adf479bdb2bb8e74.jpg","text":"TemporaryFile(/tmp/multipartBody2847964421428418425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963482934,"filename":"image_07112025_18_46_14_4177.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771089","file1":"1399771088","file0":"1399771084","file4":"1399771119","file5":"1399771165","file3":"1399771090"},"map_files_photo_id_array":[{"photo_id":"1399771165","filename":"file5"},{"photo_id":"1399771089","filename":"file2"},{"photo_id":"1399771119","filename":"file4"},{"photo_id":"1399771088","filename":"file1"},{"photo_id":"1399771084","filename":"file0"},{"photo_id":"1399771090","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399771084":["hashtag1","hashtag2"]},{"1399771165":["hashtag1","hashtag2"]},{"1399771089":["hashtag1","hashtag2"]},{"1399771119":["hashtag1","hashtag2"]},{"1399771088":["hashtag1","hashtag2"]},{"1399771090":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399771084, 1399771165, 1399771089, 1399771119, 1399771088, 1399771090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.93241333961487 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:24:22.530984
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_35_10592.jpg', '/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_44_9676.jpg', '/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_54_9742.jpg', '/home/pi/Desktop/images/17122025/10/17/image_17122025_10_18_05_10809.jpg', '/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_15_9795.jpg', '/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_24_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_35_10592.jpg
/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_44_9676.jpg
/home/pi/Desktop/images/17122025/10/17/image_17122025_10_17_54_9742.jpg
/home/pi/Desktop/images/17122025/10/17/image_17122025_10_18_05_10809.jpg
/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_15_9795.jpg
/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_24_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":["1399771261","1399771300","1399771233","1399771286","1399771283","1399771235"],"photo_ids_order":["1399771233","1399771235","1399771261","1399771283","1399771286","1399771300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f10ac40c27b77f2eea7ec8de509ecaae.jpg","text":"TemporaryFile(/tmp/multipartBody6365973684549274293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963523161,"filename":"image_17122025_10_17_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e18250ddfeecc7396280170b3059db4.jpg","text":"TemporaryFile(/tmp/multipartBody3396229735771967537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963523161,"filename":"image_17122025_10_18_24_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d937a2a5540d426b28d0c2921617e50.jpg","text":"TemporaryFile(/tmp/multipartBody1212592671650960179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963523161,"filename":"image_17122025_10_17_35_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db5c32a20b2970f6917b0935640010e5.jpg","text":"TemporaryFile(/tmp/multipartBody7981078772344368087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963523161,"filename":"image_17122025_10_18_15_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90c3f857af2b40a3b9366380bcf56beb.jpg","text":"TemporaryFile(/tmp/multipartBody4944929556198959129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963523161,"filename":"image_17122025_10_18_05_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5f6e7969b00f9e40f632a88182225d8.jpg","text":"TemporaryFile(/tmp/multipartBody4419495972826879513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963523161,"filename":"image_17122025_10_17_44_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771261","file1":"1399771235","file0":"1399771233","file4":"1399771286","file5":"1399771300","file3":"1399771283"},"map_files_photo_id_array":[{"photo_id":"1399771300","filename":"file5"},{"photo_id":"1399771261","filename":"file2"},{"photo_id":"1399771286","filename":"file4"},{"photo_id":"1399771235","filename":"file1"},{"photo_id":"1399771233","filename":"file0"},{"photo_id":"1399771283","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771261":["hashtag1","hashtag2"]},{"1399771300":["hashtag1","hashtag2"]},{"1399771233":["hashtag1","hashtag2"]},{"1399771286":["hashtag1","hashtag2"]},{"1399771283":["hashtag1","hashtag2"]},{"1399771235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771261, 1399771300, 1399771233, 1399771286, 1399771283, 1399771235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16273856163025 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:25:03.342636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_35_10575.jpg', '/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_45_9654.jpg', '/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_54_9759.jpg', '/home/pi/Desktop/images/17122025/10/18/image_17122025_10_19_05_10672.jpg', '/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_15_10031.jpg', '/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_25_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_35_10575.jpg
/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_45_9654.jpg
/home/pi/Desktop/images/17122025/10/18/image_17122025_10_18_54_9759.jpg
/home/pi/Desktop/images/17122025/10/18/image_17122025_10_19_05_10672.jpg
/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_15_10031.jpg
/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_25_9696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771387","1399771360","1399771336","1399771362","1399771371","1399771358"],"photo_ids_order":["1399771336","1399771358","1399771360","1399771362","1399771371","1399771387"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcb3e0b002d0f9b6d888ba33e7040001.jpg","text":"TemporaryFile(/tmp/multipartBody6427388891283078778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963564033,"filename":"image_17122025_10_19_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdf9beed32164ef98c98eacbbacd13f7.jpg","text":"TemporaryFile(/tmp/multipartBody4088738322502690248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963564033,"filename":"image_17122025_10_18_54_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e166f8728bb5c2ea695f372f0dea7cef.jpg","text":"TemporaryFile(/tmp/multipartBody5862602742929028376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963564033,"filename":"image_17122025_10_18_35_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b7ac3b3a19f1771f3e903b6376af9a9.jpg","text":"TemporaryFile(/tmp/multipartBody5947937491023252745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963564033,"filename":"image_17122025_10_19_05_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70b5d22618723f146f59d60c55c9bb2b.jpg","text":"TemporaryFile(/tmp/multipartBody3756624640174123543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963564033,"filename":"image_17122025_10_19_15_10031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3963a05e279fc00f9c32238eb1f2d758.jpg","text":"TemporaryFile(/tmp/multipartBody8530925548024174852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963564033,"filename":"image_17122025_10_18_45_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771360","file1":"1399771358","file0":"1399771336","file4":"1399771371","file5":"1399771387","file3":"1399771362"},"map_files_photo_id_array":[{"photo_id":"1399771387","filename":"file5"},{"photo_id":"1399771360","filename":"file2"},{"photo_id":"1399771371","filename":"file4"},{"photo_id":"1399771358","filename":"file1"},{"photo_id":"1399771336","filename":"file0"},{"photo_id":"1399771362","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771387":["hashtag1","hashtag2"]},{"1399771360":["hashtag1","hashtag2"]},{"1399771336":["hashtag1","hashtag2"]},{"1399771362":["hashtag1","hashtag2"]},{"1399771371":["hashtag1","hashtag2"]},{"1399771358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771387, 1399771360, 1399771336, 1399771362, 1399771371, 1399771358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8462975025177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:25:42.590707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_23_1771.jpg', '/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_25_1538.jpg', '/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_26_1543.jpg', '/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_29_1560.jpg', '/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_31_1708.jpg', '/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_33_1805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_23_1771.jpg
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_25_1538.jpg
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_26_1543.jpg
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_29_1560.jpg
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_31_1708.jpg
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_33_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":["1399771408","1399771405","1399771410","1399771403","1399771406","1399771400"],"photo_ids_order":["1399771400","1399771403","1399771405","1399771406","1399771408","1399771410"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f82050101afae432a4e3ab8ac9168246.jpg","text":"TemporaryFile(/tmp/multipartBody3886663200860363726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963603383,"filename":"image_07112025_18_47_31_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/610c466aa31aee474ead542276ced27f.jpg","text":"TemporaryFile(/tmp/multipartBody3836563321173441365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963603383,"filename":"image_07112025_18_47_26_1543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d12a56a969d4a92b187c61de6d5e4b6d.jpg","text":"TemporaryFile(/tmp/multipartBody471190385155097913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963603383,"filename":"image_07112025_18_47_33_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e80ac7560819e09e9f6fadc791ae262f.jpg","text":"TemporaryFile(/tmp/multipartBody7523398144621841554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963603383,"filename":"image_07112025_18_47_25_1538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64f067df51fee2ed3babe0083a606de2.jpg","text":"TemporaryFile(/tmp/multipartBody6737106006256629954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963603383,"filename":"image_07112025_18_47_29_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb965240f431b0eaadccf3b82e187c31.jpg","text":"TemporaryFile(/tmp/multipartBody436693701379145672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963603383,"filename":"image_07112025_18_47_23_1771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771405","file1":"1399771403","file0":"1399771400","file4":"1399771408","file5":"1399771410","file3":"1399771406"},"map_files_photo_id_array":[{"photo_id":"1399771410","filename":"file5"},{"photo_id":"1399771405","filename":"file2"},{"photo_id":"1399771408","filename":"file4"},{"photo_id":"1399771403","filename":"file1"},{"photo_id":"1399771400","filename":"file0"},{"photo_id":"1399771406","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399771408":["hashtag1","hashtag2"]},{"1399771405":["hashtag1","hashtag2"]},{"1399771410":["hashtag1","hashtag2"]},{"1399771403":["hashtag1","hashtag2"]},{"1399771406":["hashtag1","hashtag2"]},{"1399771400":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399771408, 1399771405, 1399771410, 1399771403, 1399771406, 1399771400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.512742042541504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:26:21.886646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_34_9657.jpg', '/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_44_9708.jpg', '/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_55_10727.jpg', '/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_14_10052.jpg', '/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_25_10779.jpg', '/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_35_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_34_9657.jpg
/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_44_9708.jpg
/home/pi/Desktop/images/17122025/10/19/image_17122025_10_19_55_10727.jpg
/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_14_10052.jpg
/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_25_10779.jpg
/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_35_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":["1399771420","1399771428","1399771422","1399771424","1399771418","1399771415"],"photo_ids_order":["1399771415","1399771418","1399771420","1399771422","1399771424","1399771428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6b74e83cadef6af07af255faee42142.jpg","text":"TemporaryFile(/tmp/multipartBody8356962688961622846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963642512,"filename":"image_17122025_10_19_55_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c6be967403d5473d8e98ad8f63024e6.jpg","text":"TemporaryFile(/tmp/multipartBody4760583821721939767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963642512,"filename":"image_17122025_10_20_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78c23af9c10de85ddf6677f90ddf9e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8842604965277522476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963642512,"filename":"image_17122025_10_20_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f5dba5e4e543cc598242f3a04a9909c.jpg","text":"TemporaryFile(/tmp/multipartBody4628711112719165364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963642512,"filename":"image_17122025_10_20_25_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e189d6e5830f0671757077bd2e512df6.jpg","text":"TemporaryFile(/tmp/multipartBody9147120466708498046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963642512,"filename":"image_17122025_10_19_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5eff10736482d9a344d585b662a8bf3b.jpg","text":"TemporaryFile(/tmp/multipartBody5453164176296006583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963642512,"filename":"image_17122025_10_19_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771420","file1":"1399771418","file0":"1399771415","file4":"1399771424","file5":"1399771428","file3":"1399771422"},"map_files_photo_id_array":[{"photo_id":"1399771428","filename":"file5"},{"photo_id":"1399771420","filename":"file2"},{"photo_id":"1399771424","filename":"file4"},{"photo_id":"1399771418","filename":"file1"},{"photo_id":"1399771415","filename":"file0"},{"photo_id":"1399771422","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771420":["hashtag1","hashtag2"]},{"1399771428":["hashtag1","hashtag2"]},{"1399771422":["hashtag1","hashtag2"]},{"1399771424":["hashtag1","hashtag2"]},{"1399771418":["hashtag1","hashtag2"]},{"1399771415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771420, 1399771428, 1399771422, 1399771424, 1399771418, 1399771415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10837411880493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:27:02.799372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_44_9779.jpg', '/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_54_9730.jpg', '/home/pi/Desktop/images/17122025/10/20/image_17122025_10_21_05_10575.jpg', '/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_14_9734.jpg', '/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_25_10671.jpg', '/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_35_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_44_9779.jpg
/home/pi/Desktop/images/17122025/10/20/image_17122025_10_20_54_9730.jpg
/home/pi/Desktop/images/17122025/10/20/image_17122025_10_21_05_10575.jpg
/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_14_9734.jpg
/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_25_10671.jpg
/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_35_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771450","1399771447","1399771441","1399771442","1399771445","1399771433"],"photo_ids_order":["1399771433","1399771441","1399771442","1399771445","1399771447","1399771450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/214daab999d99544d1d90b314509103b.jpg","text":"TemporaryFile(/tmp/multipartBody8129848144272202425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963683481,"filename":"image_17122025_10_21_35_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3052d2c4f7e7ff5b5fc4c3768f8ec328.jpg","text":"TemporaryFile(/tmp/multipartBody3899481941898527104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963683481,"filename":"image_17122025_10_21_25_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93af8ac211db13ee840cbb7b324d0129.jpg","text":"TemporaryFile(/tmp/multipartBody7882861982085316828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963683481,"filename":"image_17122025_10_20_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8eb071f1500cd8716903576ce5265ba.jpg","text":"TemporaryFile(/tmp/multipartBody4003682591149066624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963683481,"filename":"image_17122025_10_21_05_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b33b7de57aa9f69a0b9c04cecbeefa79.jpg","text":"TemporaryFile(/tmp/multipartBody6887783422578494395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963683481,"filename":"image_17122025_10_21_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbe952a17eb513b04be03fbc40cfefb4.jpg","text":"TemporaryFile(/tmp/multipartBody8717861640652792923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963683481,"filename":"image_17122025_10_20_44_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771442","file1":"1399771441","file0":"1399771433","file4":"1399771447","file5":"1399771450","file3":"1399771445"},"map_files_photo_id_array":[{"photo_id":"1399771450","filename":"file5"},{"photo_id":"1399771442","filename":"file2"},{"photo_id":"1399771447","filename":"file4"},{"photo_id":"1399771441","filename":"file1"},{"photo_id":"1399771433","filename":"file0"},{"photo_id":"1399771445","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771450":["hashtag1","hashtag2"]},{"1399771447":["hashtag1","hashtag2"]},{"1399771441":["hashtag1","hashtag2"]},{"1399771442":["hashtag1","hashtag2"]},{"1399771445":["hashtag1","hashtag2"]},{"1399771433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771450, 1399771447, 1399771441, 1399771442, 1399771445, 1399771433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99620032310486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:27:42.040449
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_35_1802.jpg', '/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_37_1935.jpg', '/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_46_3704.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_07_3021.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_10_3229.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_13_2798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_35_1802.jpg
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_37_1935.jpg
/home/pi/Desktop/images/07112025/18/47/image_07112025_18_47_46_3704.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_07_3021.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_10_3229.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_13_2798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771470","1399771464","1399771467","1399771460","1399771457","1399771462"],"photo_ids_order":["1399771457","1399771460","1399771462","1399771464","1399771467","1399771470"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7a0661b2529cd74a45ec4a44f88fa7e.jpg","text":"TemporaryFile(/tmp/multipartBody5885962590658069455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963722815,"filename":"image_07112025_18_50_13_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f1c54088c48efb49c4d28fca4bff39f.jpg","text":"TemporaryFile(/tmp/multipartBody8476916288076781831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963722815,"filename":"image_07112025_18_50_07_3021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0333ce94c86d311c7d9e6f3d649ecd63.jpg","text":"TemporaryFile(/tmp/multipartBody5558652935004150868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963722815,"filename":"image_07112025_18_50_10_3229.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c6154273a8b1404b742e71db6ee6796.jpg","text":"TemporaryFile(/tmp/multipartBody4151989828070867690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963722815,"filename":"image_07112025_18_47_37_1935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc0ec7815e0f025c465075536975fc66.jpg","text":"TemporaryFile(/tmp/multipartBody4775275940237073328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963722815,"filename":"image_07112025_18_47_35_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b8ded4eebd275e2eb8b75377de1bb57.jpg","text":"TemporaryFile(/tmp/multipartBody7642406981982837723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963722815,"filename":"image_07112025_18_47_46_3704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771462","file1":"1399771460","file0":"1399771457","file4":"1399771467","file5":"1399771470","file3":"1399771464"},"map_files_photo_id_array":[{"photo_id":"1399771470","filename":"file5"},{"photo_id":"1399771462","filename":"file2"},{"photo_id":"1399771467","filename":"file4"},{"photo_id":"1399771460","filename":"file1"},{"photo_id":"1399771457","filename":"file0"},{"photo_id":"1399771464","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399771470":["hashtag1","hashtag2"]},{"1399771464":["hashtag1","hashtag2"]},{"1399771467":["hashtag1","hashtag2"]},{"1399771460":["hashtag1","hashtag2"]},{"1399771457":["hashtag1","hashtag2"]},{"1399771462":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399771470, 1399771464, 1399771467, 1399771460, 1399771457, 1399771462)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.483633518218994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:28:22.296893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_45_9795.jpg', '/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_54_9834.jpg', '/home/pi/Desktop/images/17122025/10/21/image_17122025_10_22_05_10621.jpg', '/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_15_9615.jpg', '/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_24_9618.jpg', '/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_35_10725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_45_9795.jpg
/home/pi/Desktop/images/17122025/10/21/image_17122025_10_21_54_9834.jpg
/home/pi/Desktop/images/17122025/10/21/image_17122025_10_22_05_10621.jpg
/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_15_9615.jpg
/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_24_9618.jpg
/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_35_10725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771474","1399771484","1399771502","1399771495","1399771480","1399771477"],"photo_ids_order":["1399771474","1399771477","1399771480","1399771484","1399771495","1399771502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9581a1e9835422a52e438c1ac1884061.jpg","text":"TemporaryFile(/tmp/multipartBody2021959048489216464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963762944,"filename":"image_17122025_10_21_45_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea60de69a9c3d01e00321de20d569085.jpg","text":"TemporaryFile(/tmp/multipartBody728071115421928292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963762944,"filename":"image_17122025_10_22_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/254c84a46985308af527cbc0bd7b5d16.jpg","text":"TemporaryFile(/tmp/multipartBody5154186547135648487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963762944,"filename":"image_17122025_10_22_35_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b04ce23d1318aba00273a8dd5c9380ca.jpg","text":"TemporaryFile(/tmp/multipartBody8258985529376843218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963762944,"filename":"image_17122025_10_22_24_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22d42ac38c3f1a35193c09b0d1b98bb2.jpg","text":"TemporaryFile(/tmp/multipartBody341500613501985567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963762944,"filename":"image_17122025_10_22_05_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb2fb573bcfd944066415ef6257887a4.jpg","text":"TemporaryFile(/tmp/multipartBody513398807829555025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963762944,"filename":"image_17122025_10_21_54_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771480","file1":"1399771477","file0":"1399771474","file4":"1399771495","file5":"1399771502","file3":"1399771484"},"map_files_photo_id_array":[{"photo_id":"1399771502","filename":"file5"},{"photo_id":"1399771480","filename":"file2"},{"photo_id":"1399771495","filename":"file4"},{"photo_id":"1399771477","filename":"file1"},{"photo_id":"1399771474","filename":"file0"},{"photo_id":"1399771484","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771474":["hashtag1","hashtag2"]},{"1399771484":["hashtag1","hashtag2"]},{"1399771502":["hashtag1","hashtag2"]},{"1399771495":["hashtag1","hashtag2"]},{"1399771480":["hashtag1","hashtag2"]},{"1399771477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771474, 1399771484, 1399771502, 1399771495, 1399771480, 1399771477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.649261713027954 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:29:03.402105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_45_9846.jpg', '/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_55_9851.jpg', '/home/pi/Desktop/images/17122025/10/22/image_17122025_10_23_04_9763.jpg', '/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_14_9740.jpg', '/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_25_10854.jpg', '/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_35_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_45_9846.jpg
/home/pi/Desktop/images/17122025/10/22/image_17122025_10_22_55_9851.jpg
/home/pi/Desktop/images/17122025/10/22/image_17122025_10_23_04_9763.jpg
/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_14_9740.jpg
/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_25_10854.jpg
/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_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":["1399771507","1399771510","1399771518","1399771512","1399771515","1399771505"],"photo_ids_order":["1399771505","1399771507","1399771510","1399771512","1399771515","1399771518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/216942bd85d8bcebb4fa21dfc04b3d87.jpg","text":"TemporaryFile(/tmp/multipartBody4096493988468650706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963804265,"filename":"image_17122025_10_22_55_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb5d35fc0014be5af2f63814eeb40d60.jpg","text":"TemporaryFile(/tmp/multipartBody2050903130688972926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963804265,"filename":"image_17122025_10_23_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5dd2d17232059318a931049b921bdf1.jpg","text":"TemporaryFile(/tmp/multipartBody744195523901963213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963804265,"filename":"image_17122025_10_23_35_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/307d5a994bae77a88107e4c61319067c.jpg","text":"TemporaryFile(/tmp/multipartBody2336584025773335002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963804265,"filename":"image_17122025_10_23_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb1fbf32ba3353e360f8c99a4d0a5c83.jpg","text":"TemporaryFile(/tmp/multipartBody783828992761359301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963804265,"filename":"image_17122025_10_23_25_10854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84f6638ba30679149fb614ab856ca6b7.jpg","text":"TemporaryFile(/tmp/multipartBody2520961306246850926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963804265,"filename":"image_17122025_10_22_45_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771510","file1":"1399771507","file0":"1399771505","file4":"1399771515","file5":"1399771518","file3":"1399771512"},"map_files_photo_id_array":[{"photo_id":"1399771518","filename":"file5"},{"photo_id":"1399771510","filename":"file2"},{"photo_id":"1399771515","filename":"file4"},{"photo_id":"1399771507","filename":"file1"},{"photo_id":"1399771505","filename":"file0"},{"photo_id":"1399771512","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771507":["hashtag1","hashtag2"]},{"1399771510":["hashtag1","hashtag2"]},{"1399771518":["hashtag1","hashtag2"]},{"1399771512":["hashtag1","hashtag2"]},{"1399771515":["hashtag1","hashtag2"]},{"1399771505":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771507, 1399771510, 1399771518, 1399771512, 1399771515, 1399771505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16695022583008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:29:42.388635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_16_3577.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_19_2635.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_22_2847.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_27_5293.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_33_6120.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_35_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_16_3577.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_19_2635.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_22_2847.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_27_5293.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_33_6120.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_35_1568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771531","1399771534","1399771524","1399771533","1399771535","1399771532"],"photo_ids_order":["1399771524","1399771531","1399771532","1399771533","1399771534","1399771535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a08b4c2a358f3c6a83fca39a11b5460.jpg","text":"TemporaryFile(/tmp/multipartBody8820315147136996835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963843159,"filename":"image_07112025_18_50_19_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9c5f30505d00e1a533614f7f86aa646.jpg","text":"TemporaryFile(/tmp/multipartBody142795911641212017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963843159,"filename":"image_07112025_18_50_33_6120.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f56d364a9db3cf384c2271fbbf4220e.jpg","text":"TemporaryFile(/tmp/multipartBody5390280023322907224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963843159,"filename":"image_07112025_18_50_16_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/506348d933987734c2891ed5eb4f4384.jpg","text":"TemporaryFile(/tmp/multipartBody4586746046337318134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963843159,"filename":"image_07112025_18_50_27_5293.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c0e3091333c55c60ba4e1a6dbb1a51d.jpg","text":"TemporaryFile(/tmp/multipartBody1414551697721709476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963843159,"filename":"image_07112025_18_50_35_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f0e526fc237d1b568aa98913fbcf857.jpg","text":"TemporaryFile(/tmp/multipartBody7587965558066705326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963843159,"filename":"image_07112025_18_50_22_2847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771532","file1":"1399771531","file0":"1399771524","file4":"1399771534","file5":"1399771535","file3":"1399771533"},"map_files_photo_id_array":[{"photo_id":"1399771535","filename":"file5"},{"photo_id":"1399771532","filename":"file2"},{"photo_id":"1399771534","filename":"file4"},{"photo_id":"1399771531","filename":"file1"},{"photo_id":"1399771524","filename":"file0"},{"photo_id":"1399771533","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399771531":["hashtag1","hashtag2"]},{"1399771534":["hashtag1","hashtag2"]},{"1399771524":["hashtag1","hashtag2"]},{"1399771533":["hashtag1","hashtag2"]},{"1399771535":["hashtag1","hashtag2"]},{"1399771532":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399771531, 1399771534, 1399771524, 1399771533, 1399771535, 1399771532)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.571664571762085 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:30:22.647939
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_45_10008.jpg', '/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_55_9829.jpg', '/home/pi/Desktop/images/17122025/10/23/image_17122025_10_24_04_9665.jpg', '/home/pi/Desktop/images/17122025/10/24/image_17122025_10_24_15_10627.jpg', '/home/pi/Desktop/images/17122025/10/24/image_17122025_10_24_34_9636.jpg', '/home/pi/Desktop/images/17122025/10/24/image_17122025_10_24_44_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_45_10008.jpg
/home/pi/Desktop/images/17122025/10/23/image_17122025_10_23_55_9829.jpg
/home/pi/Desktop/images/17122025/10/23/image_17122025_10_24_04_9665.jpg
/home/pi/Desktop/images/17122025/10/24/image_17122025_10_24_15_10627.jpg
/home/pi/Desktop/images/17122025/10/24/image_17122025_10_24_34_9636.jpg
/home/pi/Desktop/images/17122025/10/24/image_17122025_10_24_44_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771549","1399771554","1399771551","1399771547","1399771541","1399771544"],"photo_ids_order":["1399771541","1399771544","1399771547","1399771549","1399771551","1399771554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f18fcbde01120f229163cdbcd144ad1.jpg","text":"TemporaryFile(/tmp/multipartBody7375897915469533481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963883319,"filename":"image_17122025_10_24_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb45fe40208cd5040a20543a7280c698.jpg","text":"TemporaryFile(/tmp/multipartBody3363306814737279366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963883319,"filename":"image_17122025_10_24_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea57bcf4a171be1937d7deda3f6d43e0.jpg","text":"TemporaryFile(/tmp/multipartBody448388939883411911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963883319,"filename":"image_17122025_10_24_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca9b63465bfb11bf61c22c559c039f2a.jpg","text":"TemporaryFile(/tmp/multipartBody6295430134380535646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963883319,"filename":"image_17122025_10_24_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad902e5c0d3d40ac774e16fdf2df250c.jpg","text":"TemporaryFile(/tmp/multipartBody8755130909624167551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963883319,"filename":"image_17122025_10_23_45_10008.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b658222764504fcd2e345a71e8ebd19c.jpg","text":"TemporaryFile(/tmp/multipartBody7585097444678060649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963883319,"filename":"image_17122025_10_23_55_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771547","file1":"1399771544","file0":"1399771541","file4":"1399771551","file5":"1399771554","file3":"1399771549"},"map_files_photo_id_array":[{"photo_id":"1399771554","filename":"file5"},{"photo_id":"1399771547","filename":"file2"},{"photo_id":"1399771551","filename":"file4"},{"photo_id":"1399771544","filename":"file1"},{"photo_id":"1399771541","filename":"file0"},{"photo_id":"1399771549","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771549":["hashtag1","hashtag2"]},{"1399771554":["hashtag1","hashtag2"]},{"1399771551":["hashtag1","hashtag2"]},{"1399771547":["hashtag1","hashtag2"]},{"1399771541":["hashtag1","hashtag2"]},{"1399771544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771549, 1399771554, 1399771551, 1399771547, 1399771541, 1399771544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47506237030029 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:31:02.555762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/24/image_17122025_10_24_55_10698.jpg', '/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_14_10054.jpg', '/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_25_10650.jpg', '/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_34_9671.jpg', '/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_44_9844.jpg', '/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_55_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/24/image_17122025_10_24_55_10698.jpg
/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_14_10054.jpg
/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_25_10650.jpg
/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_34_9671.jpg
/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_44_9844.jpg
/home/pi/Desktop/images/17122025/10/25/image_17122025_10_25_55_10648.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771584","1399771578","1399771580","1399771574","1399771582","1399771576"],"photo_ids_order":["1399771574","1399771576","1399771578","1399771580","1399771582","1399771584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc89e1599124abad2bbf1af82ca9db5c.jpg","text":"TemporaryFile(/tmp/multipartBody3994174190655512465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963923259,"filename":"image_17122025_10_25_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc01e5aef75c5e6e5280e42e4792b5f8.jpg","text":"TemporaryFile(/tmp/multipartBody6615004758559330765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963923259,"filename":"image_17122025_10_25_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0830f6f64ce339cf4057169bc559db2b.jpg","text":"TemporaryFile(/tmp/multipartBody9127473110920118436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963923259,"filename":"image_17122025_10_25_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3dff4954d55da68afc4042eeae6b7288.jpg","text":"TemporaryFile(/tmp/multipartBody6935616796444090264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963923259,"filename":"image_17122025_10_24_55_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/676e37bd12e63839f4d2c16587bbc281.jpg","text":"TemporaryFile(/tmp/multipartBody7754320326016991948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963923259,"filename":"image_17122025_10_25_44_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4eb35f784938d42d5bbbf9fd8815273.jpg","text":"TemporaryFile(/tmp/multipartBody3336429914740538432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963923259,"filename":"image_17122025_10_25_14_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771578","file1":"1399771576","file0":"1399771574","file4":"1399771582","file5":"1399771584","file3":"1399771580"},"map_files_photo_id_array":[{"photo_id":"1399771584","filename":"file5"},{"photo_id":"1399771578","filename":"file2"},{"photo_id":"1399771582","filename":"file4"},{"photo_id":"1399771576","filename":"file1"},{"photo_id":"1399771574","filename":"file0"},{"photo_id":"1399771580","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771584":["hashtag1","hashtag2"]},{"1399771578":["hashtag1","hashtag2"]},{"1399771580":["hashtag1","hashtag2"]},{"1399771574":["hashtag1","hashtag2"]},{"1399771582":["hashtag1","hashtag2"]},{"1399771576":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771584, 1399771578, 1399771580, 1399771574, 1399771582, 1399771576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1960334777832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:31:41.884089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_37_1629.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_40_1811.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_43_2776.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_49_2699.jpg', '/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_52_2667.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_04_12285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_37_1629.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_40_1811.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_43_2776.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_49_2699.jpg
/home/pi/Desktop/images/07112025/18/50/image_07112025_18_50_52_2667.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_04_12285.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771606","1399771590","1399771596","1399771598","1399771604","1399771594"],"photo_ids_order":["1399771590","1399771594","1399771596","1399771598","1399771604","1399771606"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2533b140eefa21247df52107043e8c82.jpg","text":"TemporaryFile(/tmp/multipartBody2685128298330384172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963962659,"filename":"image_07112025_18_51_04_12285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d73e056d70c4b90faf36fda0b54085e.jpg","text":"TemporaryFile(/tmp/multipartBody9144302672592717898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963962659,"filename":"image_07112025_18_50_37_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/739d4a448610f10f717679491ee7ef78.jpg","text":"TemporaryFile(/tmp/multipartBody8280663200086588342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963962659,"filename":"image_07112025_18_50_43_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b87c63497c4f33bb56057af2548f5a57.jpg","text":"TemporaryFile(/tmp/multipartBody1125385168950830043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963962659,"filename":"image_07112025_18_50_49_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e903497bc5875ea37ec4d0d89be116c3.jpg","text":"TemporaryFile(/tmp/multipartBody2932104485096748050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963962659,"filename":"image_07112025_18_50_52_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe27c15474187e3576378ab4e5d16f12.jpg","text":"TemporaryFile(/tmp/multipartBody7934950241860411637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765963962659,"filename":"image_07112025_18_50_40_1811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771596","file1":"1399771594","file0":"1399771590","file4":"1399771604","file5":"1399771606","file3":"1399771598"},"map_files_photo_id_array":[{"photo_id":"1399771606","filename":"file5"},{"photo_id":"1399771596","filename":"file2"},{"photo_id":"1399771604","filename":"file4"},{"photo_id":"1399771594","filename":"file1"},{"photo_id":"1399771590","filename":"file0"},{"photo_id":"1399771598","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399771606":["hashtag1","hashtag2"]},{"1399771590":["hashtag1","hashtag2"]},{"1399771596":["hashtag1","hashtag2"]},{"1399771598":["hashtag1","hashtag2"]},{"1399771604":["hashtag1","hashtag2"]},{"1399771594":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399771606, 1399771590, 1399771596, 1399771598, 1399771604, 1399771594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.939470529556274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:32:22.143228
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/25/image_17122025_10_26_05_9747.jpg', '/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_14_9581.jpg', '/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_25_10646.jpg', '/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_34_9655.jpg', '/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_44_9700.jpg', '/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_54_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/25/image_17122025_10_26_05_9747.jpg
/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_14_9581.jpg
/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_25_10646.jpg
/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_34_9655.jpg
/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_44_9700.jpg
/home/pi/Desktop/images/17122025/10/26/image_17122025_10_26_54_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":["1399771621","1399771617","1399771632","1399771640","1399771613","1399771625"],"photo_ids_order":["1399771613","1399771617","1399771621","1399771625","1399771632","1399771640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df4cebed668accae1fc03d3bfabac91d.jpg","text":"TemporaryFile(/tmp/multipartBody6192024572961212542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964002778,"filename":"image_17122025_10_26_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/015f4028c2f48214bb92fa27f97ce29a.jpg","text":"TemporaryFile(/tmp/multipartBody608808167263543167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964002778,"filename":"image_17122025_10_26_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c4426ca8547eb005ff93c69683bfe97.jpg","text":"TemporaryFile(/tmp/multipartBody8574664126150863744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964002778,"filename":"image_17122025_10_26_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2dcd997f9b1a965d34861ee62a1cd60e.jpg","text":"TemporaryFile(/tmp/multipartBody4962354604370851834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964002778,"filename":"image_17122025_10_26_54_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de1d516f738647e97b323a5e621aa3c7.jpg","text":"TemporaryFile(/tmp/multipartBody3648498919057425288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964002778,"filename":"image_17122025_10_26_05_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bbd048075d3952d61980dfdc8e77ae69.jpg","text":"TemporaryFile(/tmp/multipartBody3764944940888152030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964002778,"filename":"image_17122025_10_26_34_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771621","file1":"1399771617","file0":"1399771613","file4":"1399771632","file5":"1399771640","file3":"1399771625"},"map_files_photo_id_array":[{"photo_id":"1399771640","filename":"file5"},{"photo_id":"1399771621","filename":"file2"},{"photo_id":"1399771632","filename":"file4"},{"photo_id":"1399771617","filename":"file1"},{"photo_id":"1399771613","filename":"file0"},{"photo_id":"1399771625","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771621":["hashtag1","hashtag2"]},{"1399771617":["hashtag1","hashtag2"]},{"1399771632":["hashtag1","hashtag2"]},{"1399771640":["hashtag1","hashtag2"]},{"1399771613":["hashtag1","hashtag2"]},{"1399771625":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771621, 1399771617, 1399771632, 1399771640, 1399771613, 1399771625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16869616508484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:33:03.123029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/26/image_17122025_10_27_05_10560.jpg', '/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_14_9685.jpg', '/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_24_9683.jpg', '/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_34_10561.jpg', '/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_44_9664.jpg', '/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_54_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/26/image_17122025_10_27_05_10560.jpg
/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_14_9685.jpg
/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_24_9683.jpg
/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_34_10561.jpg
/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_44_9664.jpg
/home/pi/Desktop/images/17122025/10/27/image_17122025_10_27_54_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":["1399771663","1399771654","1399771656","1399771658","1399771652","1399771660"],"photo_ids_order":["1399771652","1399771654","1399771656","1399771658","1399771660","1399771663"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6719f5a08905b1c25df46bb634ec16b.jpg","text":"TemporaryFile(/tmp/multipartBody1872974424639116798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964043824,"filename":"image_17122025_10_27_54_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98c30d4b9935d10260188d006089d582.jpg","text":"TemporaryFile(/tmp/multipartBody2246504597032112965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964043824,"filename":"image_17122025_10_27_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf1289e794a4619db8aeb9dddda6842c.jpg","text":"TemporaryFile(/tmp/multipartBody61535029261641668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964043824,"filename":"image_17122025_10_27_24_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/caf521e3c32132302016b7ff7e8169c1.jpg","text":"TemporaryFile(/tmp/multipartBody7881558924488430815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964043824,"filename":"image_17122025_10_27_34_10561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f473cfee6239abb2b7e66029d9249be.jpg","text":"TemporaryFile(/tmp/multipartBody5050344154712599772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964043824,"filename":"image_17122025_10_27_05_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04aa307274ddd05f9a43877924bb1c80.jpg","text":"TemporaryFile(/tmp/multipartBody4884614268250134035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964043824,"filename":"image_17122025_10_27_44_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771656","file1":"1399771654","file0":"1399771652","file4":"1399771660","file5":"1399771663","file3":"1399771658"},"map_files_photo_id_array":[{"photo_id":"1399771663","filename":"file5"},{"photo_id":"1399771656","filename":"file2"},{"photo_id":"1399771660","filename":"file4"},{"photo_id":"1399771654","filename":"file1"},{"photo_id":"1399771652","filename":"file0"},{"photo_id":"1399771658","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771663":["hashtag1","hashtag2"]},{"1399771654":["hashtag1","hashtag2"]},{"1399771656":["hashtag1","hashtag2"]},{"1399771658":["hashtag1","hashtag2"]},{"1399771652":["hashtag1","hashtag2"]},{"1399771660":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771663, 1399771654, 1399771656, 1399771658, 1399771652, 1399771660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89495038986206 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:33:42.423933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_10_6039.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_13_3308.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_15_1858.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_17_1817.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_19_1710.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_21_1727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_10_6039.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_13_3308.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_15_1858.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_17_1817.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_19_1710.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_21_1727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771674","1399771677","1399771676","1399771673","1399771675","1399771669"],"photo_ids_order":["1399771669","1399771673","1399771674","1399771675","1399771676","1399771677"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2646c71920db3d643aa550e7a991ee93.jpg","text":"TemporaryFile(/tmp/multipartBody4035612657677214512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964083207,"filename":"image_07112025_18_51_15_1858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d092460dd0752c74e10b38462e0c72e7.jpg","text":"TemporaryFile(/tmp/multipartBody7527367813390319354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964083207,"filename":"image_07112025_18_51_21_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b50020cb88c64e9097b58f04d1a395cf.jpg","text":"TemporaryFile(/tmp/multipartBody335892821528690148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964083207,"filename":"image_07112025_18_51_19_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0f80369592896a843dc459df60cb8a6.jpg","text":"TemporaryFile(/tmp/multipartBody7700069840623109471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964083207,"filename":"image_07112025_18_51_13_3308.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86ec4890fb1d44053d4458b20853173c.jpg","text":"TemporaryFile(/tmp/multipartBody1415544906749126595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964083207,"filename":"image_07112025_18_51_17_1817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61cfe18362b0a36838a39d985f0d716d.jpg","text":"TemporaryFile(/tmp/multipartBody3197298513469079796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964083207,"filename":"image_07112025_18_51_10_6039.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771674","file1":"1399771673","file0":"1399771669","file4":"1399771676","file5":"1399771677","file3":"1399771675"},"map_files_photo_id_array":[{"photo_id":"1399771677","filename":"file5"},{"photo_id":"1399771674","filename":"file2"},{"photo_id":"1399771676","filename":"file4"},{"photo_id":"1399771673","filename":"file1"},{"photo_id":"1399771669","filename":"file0"},{"photo_id":"1399771675","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399771674":["hashtag1","hashtag2"]},{"1399771677":["hashtag1","hashtag2"]},{"1399771676":["hashtag1","hashtag2"]},{"1399771673":["hashtag1","hashtag2"]},{"1399771675":["hashtag1","hashtag2"]},{"1399771669":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399771674, 1399771677, 1399771676, 1399771673, 1399771675, 1399771669)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50263810157776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:34:22.676931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/27/image_17122025_10_28_05_10584.jpg', '/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_14_9736.jpg', '/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_24_9632.jpg', '/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_35_10739.jpg', '/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_44_9657.jpg', '/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/27/image_17122025_10_28_05_10584.jpg
/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_14_9736.jpg
/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_24_9632.jpg
/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_35_10739.jpg
/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_44_9657.jpg
/home/pi/Desktop/images/17122025/10/28/image_17122025_10_28_54_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":["1399771777","1399771732","1399771729","1399771713","1399771772","1399771754"],"photo_ids_order":["1399771713","1399771729","1399771732","1399771754","1399771772","1399771777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61624e8bfa8f0d67dcd7ecc805e616d2.jpg","text":"TemporaryFile(/tmp/multipartBody3085813745795912041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964123314,"filename":"image_17122025_10_28_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a54dce8789bb28d8e0a1d9a73076d73c.jpg","text":"TemporaryFile(/tmp/multipartBody3768816544347474980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964123314,"filename":"image_17122025_10_28_24_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6feee2c91f78716e35af67ea8f220c94.jpg","text":"TemporaryFile(/tmp/multipartBody7615712896515687761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964123314,"filename":"image_17122025_10_28_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81fb19c6a284e255773365683bec0d5e.jpg","text":"TemporaryFile(/tmp/multipartBody8070831708804850604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964123314,"filename":"image_17122025_10_28_05_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ee93dfbfd2ce0e632dd04ae50067b14.jpg","text":"TemporaryFile(/tmp/multipartBody7765229130355951349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964123314,"filename":"image_17122025_10_28_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8348083dc84e0f9aea9553beefff38b8.jpg","text":"TemporaryFile(/tmp/multipartBody6963970131948501532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964123314,"filename":"image_17122025_10_28_35_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771732","file1":"1399771729","file0":"1399771713","file4":"1399771772","file5":"1399771777","file3":"1399771754"},"map_files_photo_id_array":[{"photo_id":"1399771777","filename":"file5"},{"photo_id":"1399771732","filename":"file2"},{"photo_id":"1399771772","filename":"file4"},{"photo_id":"1399771729","filename":"file1"},{"photo_id":"1399771713","filename":"file0"},{"photo_id":"1399771754","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771777":["hashtag1","hashtag2"]},{"1399771732":["hashtag1","hashtag2"]},{"1399771729":["hashtag1","hashtag2"]},{"1399771713":["hashtag1","hashtag2"]},{"1399771772":["hashtag1","hashtag2"]},{"1399771754":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771777, 1399771732, 1399771729, 1399771713, 1399771772, 1399771754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42408347129822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:35:02.640430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/28/image_17122025_10_29_05_10735.jpg', '/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_15_9846.jpg', '/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_24_9715.jpg', '/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_34_9736.jpg', '/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_45_10666.jpg', '/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_54_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/28/image_17122025_10_29_05_10735.jpg
/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_15_9846.jpg
/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_24_9715.jpg
/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_34_9736.jpg
/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_45_10666.jpg
/home/pi/Desktop/images/17122025/10/29/image_17122025_10_29_54_9828.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771797","1399771815","1399771781","1399771850","1399771885","1399771789"],"photo_ids_order":["1399771781","1399771789","1399771797","1399771815","1399771850","1399771885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f31003272dea34de0d31c74a9a5ec51d.jpg","text":"TemporaryFile(/tmp/multipartBody2787113485368159766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964163317,"filename":"image_17122025_10_29_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e3c99c203e552b7b288a6ea448a42dc.jpg","text":"TemporaryFile(/tmp/multipartBody634757554184280233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964163317,"filename":"image_17122025_10_29_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d588acda85c358bb850f005a572ca72d.jpg","text":"TemporaryFile(/tmp/multipartBody6960246088802067124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964163317,"filename":"image_17122025_10_29_05_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab78e13827d3e7bfeb2a5f0a752aabfc.jpg","text":"TemporaryFile(/tmp/multipartBody1794655873157382122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964163317,"filename":"image_17122025_10_29_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c6887f63e4d5c11194041482b0739ac.jpg","text":"TemporaryFile(/tmp/multipartBody8450917095207458743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964163317,"filename":"image_17122025_10_29_54_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc4abd16100bdb79a28910965ad73c1b.jpg","text":"TemporaryFile(/tmp/multipartBody5937620956952755540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964163317,"filename":"image_17122025_10_29_15_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771797","file1":"1399771789","file0":"1399771781","file4":"1399771850","file5":"1399771885","file3":"1399771815"},"map_files_photo_id_array":[{"photo_id":"1399771885","filename":"file5"},{"photo_id":"1399771797","filename":"file2"},{"photo_id":"1399771850","filename":"file4"},{"photo_id":"1399771789","filename":"file1"},{"photo_id":"1399771781","filename":"file0"},{"photo_id":"1399771815","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771797":["hashtag1","hashtag2"]},{"1399771815":["hashtag1","hashtag2"]},{"1399771781":["hashtag1","hashtag2"]},{"1399771850":["hashtag1","hashtag2"]},{"1399771885":["hashtag1","hashtag2"]},{"1399771789":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771797, 1399771815, 1399771781, 1399771850, 1399771885, 1399771789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3718466758728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:35:41.913784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_22_1705.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_24_1772.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_26_1611.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_27_1639.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_29_1848.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_31_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_22_1705.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_24_1772.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_26_1611.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_27_1639.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_29_1848.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_31_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771924","1399771903","1399771927","1399771926","1399771923","1399771925"],"photo_ids_order":["1399771903","1399771923","1399771924","1399771925","1399771926","1399771927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/595616b9a7db5a26fe3dacc1a2eecbcd.jpg","text":"TemporaryFile(/tmp/multipartBody1981119610510036372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964202726,"filename":"image_07112025_18_51_26_1611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0d75d1d103ee060d6f3b647a0ca5fa9.jpg","text":"TemporaryFile(/tmp/multipartBody1102182428937849784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964202726,"filename":"image_07112025_18_51_22_1705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca93a88a9ac2960b1617f498b23d6b13.jpg","text":"TemporaryFile(/tmp/multipartBody4040552591336300616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964202726,"filename":"image_07112025_18_51_31_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f67118fe8e72311d8291dcf830bd422b.jpg","text":"TemporaryFile(/tmp/multipartBody2562491422411098437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964202726,"filename":"image_07112025_18_51_29_1848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2df75d29017f5f0f6a1254019ac7fbc.jpg","text":"TemporaryFile(/tmp/multipartBody5016952577662612578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964202726,"filename":"image_07112025_18_51_24_1772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f578448dc607b168903e6e700fddc8a0.jpg","text":"TemporaryFile(/tmp/multipartBody1126160591762534535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964202726,"filename":"image_07112025_18_51_27_1639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771924","file1":"1399771923","file0":"1399771903","file4":"1399771926","file5":"1399771927","file3":"1399771925"},"map_files_photo_id_array":[{"photo_id":"1399771927","filename":"file5"},{"photo_id":"1399771924","filename":"file2"},{"photo_id":"1399771926","filename":"file4"},{"photo_id":"1399771923","filename":"file1"},{"photo_id":"1399771903","filename":"file0"},{"photo_id":"1399771925","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399771924":["hashtag1","hashtag2"]},{"1399771903":["hashtag1","hashtag2"]},{"1399771927":["hashtag1","hashtag2"]},{"1399771926":["hashtag1","hashtag2"]},{"1399771923":["hashtag1","hashtag2"]},{"1399771925":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399771924, 1399771903, 1399771927, 1399771926, 1399771923, 1399771925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79439568519592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:36:22.184004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/30/image_17122025_10_30_25_10740.jpg', '/home/pi/Desktop/images/17122025/10/30/image_17122025_10_30_35_9871.jpg', '/home/pi/Desktop/images/17122025/10/30/image_17122025_10_30_45_9586.jpg', '/home/pi/Desktop/images/17122025/10/30/image_17122025_10_30_55_10632.jpg', '/home/pi/Desktop/images/17122025/10/30/image_17122025_10_31_05_9685.jpg', '/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_15_9925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/30/image_17122025_10_30_25_10740.jpg
/home/pi/Desktop/images/17122025/10/30/image_17122025_10_30_35_9871.jpg
/home/pi/Desktop/images/17122025/10/30/image_17122025_10_30_45_9586.jpg
/home/pi/Desktop/images/17122025/10/30/image_17122025_10_30_55_10632.jpg
/home/pi/Desktop/images/17122025/10/30/image_17122025_10_31_05_9685.jpg
/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_15_9925.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771948","1399771939","1399771953","1399771941","1399771943","1399771937"],"photo_ids_order":["1399771937","1399771939","1399771941","1399771943","1399771948","1399771953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83086c11817a4a76116a5f9afc5e9244.jpg","text":"TemporaryFile(/tmp/multipartBody8429562943893451374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964242855,"filename":"image_17122025_10_31_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c53a2063576aadcae15b042c318d8a74.jpg","text":"TemporaryFile(/tmp/multipartBody8199978472158767087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964242855,"filename":"image_17122025_10_30_35_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdef0bc6e5773d38d488acaa44e79af0.jpg","text":"TemporaryFile(/tmp/multipartBody7932514001951213126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964242855,"filename":"image_17122025_10_31_15_9925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b75e9f4bba394dcef6d78a823d49e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1443079037089206920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964242855,"filename":"image_17122025_10_30_45_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45f687e7634de84e280f98e76292054c.jpg","text":"TemporaryFile(/tmp/multipartBody8577434194555871142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964242855,"filename":"image_17122025_10_30_55_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc11de94ba7bb8b908eaf2641cb7b5d4.jpg","text":"TemporaryFile(/tmp/multipartBody7611735515990396054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964242855,"filename":"image_17122025_10_30_25_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771941","file1":"1399771939","file0":"1399771937","file4":"1399771948","file5":"1399771953","file3":"1399771943"},"map_files_photo_id_array":[{"photo_id":"1399771953","filename":"file5"},{"photo_id":"1399771941","filename":"file2"},{"photo_id":"1399771948","filename":"file4"},{"photo_id":"1399771939","filename":"file1"},{"photo_id":"1399771937","filename":"file0"},{"photo_id":"1399771943","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771948":["hashtag1","hashtag2"]},{"1399771939":["hashtag1","hashtag2"]},{"1399771953":["hashtag1","hashtag2"]},{"1399771941":["hashtag1","hashtag2"]},{"1399771943":["hashtag1","hashtag2"]},{"1399771937":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771948, 1399771939, 1399771953, 1399771941, 1399771943, 1399771937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53601360321045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:37:02.964895
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_25_9603.jpg', '/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_35_10633.jpg', '/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_45_9760.jpg', '/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_55_9963.jpg', '/home/pi/Desktop/images/17122025/10/31/image_17122025_10_32_05_9730.jpg', '/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_15_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_25_9603.jpg
/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_35_10633.jpg
/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_45_9760.jpg
/home/pi/Desktop/images/17122025/10/31/image_17122025_10_31_55_9963.jpg
/home/pi/Desktop/images/17122025/10/31/image_17122025_10_32_05_9730.jpg
/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_15_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399771954","1399771963","1399771989","1399771973","1399771997","1399771982"],"photo_ids_order":["1399771954","1399771963","1399771973","1399771982","1399771989","1399771997"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bc87f11b66db2d23b36edf0d91b325e.jpg","text":"TemporaryFile(/tmp/multipartBody935836806025815575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964283655,"filename":"image_17122025_10_31_25_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84da5120dd1a4ac8d81056cda5beb022.jpg","text":"TemporaryFile(/tmp/multipartBody8835289631492092577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964283655,"filename":"image_17122025_10_31_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75cc5ca18a344a88a741fdd78713de0b.jpg","text":"TemporaryFile(/tmp/multipartBody8942118543028882637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964283655,"filename":"image_17122025_10_32_05_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ec9914759549e0a6edf2eaa196e40d6.jpg","text":"TemporaryFile(/tmp/multipartBody4425557903192556708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964283655,"filename":"image_17122025_10_31_45_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36e90ef6a09fc9337f26ee4a8a9f3d5f.jpg","text":"TemporaryFile(/tmp/multipartBody3040423421421858564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964283655,"filename":"image_17122025_10_32_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b63dc27803a8b928a64e1c73f2b8816.jpg","text":"TemporaryFile(/tmp/multipartBody7664691718553313015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964283655,"filename":"image_17122025_10_31_55_9963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399771973","file1":"1399771963","file0":"1399771954","file4":"1399771989","file5":"1399771997","file3":"1399771982"},"map_files_photo_id_array":[{"photo_id":"1399771997","filename":"file5"},{"photo_id":"1399771973","filename":"file2"},{"photo_id":"1399771989","filename":"file4"},{"photo_id":"1399771963","filename":"file1"},{"photo_id":"1399771954","filename":"file0"},{"photo_id":"1399771982","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399771954":["hashtag1","hashtag2"]},{"1399771963":["hashtag1","hashtag2"]},{"1399771989":["hashtag1","hashtag2"]},{"1399771973":["hashtag1","hashtag2"]},{"1399771997":["hashtag1","hashtag2"]},{"1399771982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399771954, 1399771963, 1399771989, 1399771973, 1399771997, 1399771982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10955047607422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:37:42.396006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_35_3758.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_37_2565.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_42_4366.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_43_1701.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_47_3980.jpg', '/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_49_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_35_3758.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_37_2565.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_42_4366.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_43_1701.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_47_3980.jpg
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_49_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399772005","1399772008","1399772007","1399772006","1399772009","1399772003"],"photo_ids_order":["1399772003","1399772005","1399772006","1399772007","1399772008","1399772009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/414a52244a2a7b09011ba6eb81d8c197.jpg","text":"TemporaryFile(/tmp/multipartBody4235836013619434503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964323176,"filename":"image_07112025_18_51_37_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f79e2198eeb3f6e3bd936ae47de4aeb.jpg","text":"TemporaryFile(/tmp/multipartBody1766671331467366816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964323176,"filename":"image_07112025_18_51_47_3980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff77d1fbb9659d220ccddc13cafa7d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1621624944722099882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964323176,"filename":"image_07112025_18_51_43_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95eff1d09a1e3865f9db2390fe130b23.jpg","text":"TemporaryFile(/tmp/multipartBody3571783925709229182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964323176,"filename":"image_07112025_18_51_42_4366.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7fe6321d2c584cd06a550e96a08fed8.jpg","text":"TemporaryFile(/tmp/multipartBody2260016956831350281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964323176,"filename":"image_07112025_18_51_49_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0da52fd0461329f61ec3c623d2114dd2.jpg","text":"TemporaryFile(/tmp/multipartBody8336630805247929452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964323176,"filename":"image_07112025_18_51_35_3758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772006","file1":"1399772005","file0":"1399772003","file4":"1399772008","file5":"1399772009","file3":"1399772007"},"map_files_photo_id_array":[{"photo_id":"1399772009","filename":"file5"},{"photo_id":"1399772006","filename":"file2"},{"photo_id":"1399772008","filename":"file4"},{"photo_id":"1399772005","filename":"file1"},{"photo_id":"1399772003","filename":"file0"},{"photo_id":"1399772007","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399772005":["hashtag1","hashtag2"]},{"1399772008":["hashtag1","hashtag2"]},{"1399772007":["hashtag1","hashtag2"]},{"1399772006":["hashtag1","hashtag2"]},{"1399772009":["hashtag1","hashtag2"]},{"1399772003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399772005, 1399772008, 1399772007, 1399772006, 1399772009, 1399772003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34916806221008 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:38:22.814872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_25_9689.jpg', '/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_35_9780.jpg', '/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_45_9835.jpg', '/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_55_10629.jpg', '/home/pi/Desktop/images/17122025/10/32/image_17122025_10_33_05_9705.jpg', '/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_15_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_25_9689.jpg
/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_35_9780.jpg
/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_45_9835.jpg
/home/pi/Desktop/images/17122025/10/32/image_17122025_10_32_55_10629.jpg
/home/pi/Desktop/images/17122025/10/32/image_17122025_10_33_05_9705.jpg
/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_15_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":["1399772017","1399772025","1399772022","1399772019","1399772015","1399772029"],"photo_ids_order":["1399772015","1399772017","1399772019","1399772022","1399772025","1399772029"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7239033913cc725e0b1f3d4cd602c2e1.jpg","text":"TemporaryFile(/tmp/multipartBody8519903143096802435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964363440,"filename":"image_17122025_10_32_35_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16277d4e455e431d3e51d6e136a0bbd9.jpg","text":"TemporaryFile(/tmp/multipartBody6629726731184137225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964363440,"filename":"image_17122025_10_33_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c08e4f40eae9d6841bdf7d3cc92c045a.jpg","text":"TemporaryFile(/tmp/multipartBody6314182475065616456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964363440,"filename":"image_17122025_10_32_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d62114c7321a0e20055647d4a4c24bf8.jpg","text":"TemporaryFile(/tmp/multipartBody8895900039795452657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964363440,"filename":"image_17122025_10_32_45_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94a7a5111fe4cc1abf6d0643c0e7bc5c.jpg","text":"TemporaryFile(/tmp/multipartBody8031278765884967187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964363440,"filename":"image_17122025_10_32_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ea738f594c752de4c0c04a74249eb69.jpg","text":"TemporaryFile(/tmp/multipartBody6905244178092754116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964363440,"filename":"image_17122025_10_33_15_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772019","file1":"1399772017","file0":"1399772015","file4":"1399772025","file5":"1399772029","file3":"1399772022"},"map_files_photo_id_array":[{"photo_id":"1399772029","filename":"file5"},{"photo_id":"1399772019","filename":"file2"},{"photo_id":"1399772025","filename":"file4"},{"photo_id":"1399772017","filename":"file1"},{"photo_id":"1399772015","filename":"file0"},{"photo_id":"1399772022","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399772017":["hashtag1","hashtag2"]},{"1399772025":["hashtag1","hashtag2"]},{"1399772022":["hashtag1","hashtag2"]},{"1399772019":["hashtag1","hashtag2"]},{"1399772015":["hashtag1","hashtag2"]},{"1399772029":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399772017, 1399772025, 1399772022, 1399772019, 1399772015, 1399772029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67004680633545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:39:02.838683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_25_10683.jpg', '/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_35_9710.jpg', '/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_45_9874.jpg', '/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_55_9738.jpg', '/home/pi/Desktop/images/17122025/10/33/image_17122025_10_34_05_9820.jpg', '/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_15_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_25_10683.jpg
/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_35_9710.jpg
/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_45_9874.jpg
/home/pi/Desktop/images/17122025/10/33/image_17122025_10_33_55_9738.jpg
/home/pi/Desktop/images/17122025/10/33/image_17122025_10_34_05_9820.jpg
/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_15_10716.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399772052","1399772055","1399772049","1399772051","1399772050","1399772053"],"photo_ids_order":["1399772049","1399772050","1399772051","1399772052","1399772053","1399772055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/952040dda4891c94dff01088850d859e.jpg","text":"TemporaryFile(/tmp/multipartBody6477086730698066502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964403652,"filename":"image_17122025_10_33_55_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a66e27836d8857a066d02c7fda63baf1.jpg","text":"TemporaryFile(/tmp/multipartBody335573151495364726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964403652,"filename":"image_17122025_10_34_15_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eeb78129684c60b62e8b54d600e1fff4.jpg","text":"TemporaryFile(/tmp/multipartBody2827170564712770205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964403652,"filename":"image_17122025_10_33_25_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ae7cb3b35b78bbed9fca919c0ed0f5f.jpg","text":"TemporaryFile(/tmp/multipartBody8868603202835039675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964403652,"filename":"image_17122025_10_33_45_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b81407534108ae389daf5059d0451023.jpg","text":"TemporaryFile(/tmp/multipartBody1314695276146699766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964403652,"filename":"image_17122025_10_33_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22025024b24d45140789357d0a09eacc.jpg","text":"TemporaryFile(/tmp/multipartBody8314815179289041859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964403652,"filename":"image_17122025_10_34_05_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772051","file1":"1399772050","file0":"1399772049","file4":"1399772053","file5":"1399772055","file3":"1399772052"},"map_files_photo_id_array":[{"photo_id":"1399772055","filename":"file5"},{"photo_id":"1399772051","filename":"file2"},{"photo_id":"1399772053","filename":"file4"},{"photo_id":"1399772050","filename":"file1"},{"photo_id":"1399772049","filename":"file0"},{"photo_id":"1399772052","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399772052":["hashtag1","hashtag2"]},{"1399772055":["hashtag1","hashtag2"]},{"1399772049":["hashtag1","hashtag2"]},{"1399772051":["hashtag1","hashtag2"]},{"1399772050":["hashtag1","hashtag2"]},{"1399772053":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399772052, 1399772055, 1399772049, 1399772051, 1399772050, 1399772053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.329580307006836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:39:42.050003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_58_2810.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_01_2824.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_04_2879.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_07_3741.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_10_2621.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_13_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/51/image_07112025_18_51_58_2810.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_01_2824.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_04_2879.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_07_3741.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_10_2621.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_13_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399772088","1399772085","1399772087","1399772084","1399772086","1399772080"],"photo_ids_order":["1399772080","1399772084","1399772085","1399772086","1399772087","1399772088"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30bf1ca309a33f0a978262913d6f74e5.jpg","text":"TemporaryFile(/tmp/multipartBody8814121832102372690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964442864,"filename":"image_07112025_18_52_13_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca9a62af415c9425b3be04d074be2e4e.jpg","text":"TemporaryFile(/tmp/multipartBody4632466224268756782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964442864,"filename":"image_07112025_18_52_04_2879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08473887e4a8d53f1d3ad2bc4b0f65d0.jpg","text":"TemporaryFile(/tmp/multipartBody1977544745372539813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964442864,"filename":"image_07112025_18_52_10_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f689e96130a2fb7b9299cadb598a28b9.jpg","text":"TemporaryFile(/tmp/multipartBody5736495406746278180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964442864,"filename":"image_07112025_18_52_01_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1ce9e26ef3b294be02cffaea18aa5a3.jpg","text":"TemporaryFile(/tmp/multipartBody4260940248435290015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964442864,"filename":"image_07112025_18_52_07_3741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b0af4dfdd38426869e63486f99d4915.jpg","text":"TemporaryFile(/tmp/multipartBody7260580422392750648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964442864,"filename":"image_07112025_18_51_58_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772085","file1":"1399772084","file0":"1399772080","file4":"1399772087","file5":"1399772088","file3":"1399772086"},"map_files_photo_id_array":[{"photo_id":"1399772088","filename":"file5"},{"photo_id":"1399772085","filename":"file2"},{"photo_id":"1399772087","filename":"file4"},{"photo_id":"1399772084","filename":"file1"},{"photo_id":"1399772080","filename":"file0"},{"photo_id":"1399772086","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399772088":["hashtag1","hashtag2"]},{"1399772085":["hashtag1","hashtag2"]},{"1399772087":["hashtag1","hashtag2"]},{"1399772084":["hashtag1","hashtag2"]},{"1399772086":["hashtag1","hashtag2"]},{"1399772080":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399772088, 1399772085, 1399772087, 1399772084, 1399772086, 1399772080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.27486443519592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:40:22.337156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_25_9735.jpg', '/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_35_9731.jpg', '/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_46_10811.jpg', '/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_55_9846.jpg', '/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_14_10036.jpg', '/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_24_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_25_9735.jpg
/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_35_9731.jpg
/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_46_10811.jpg
/home/pi/Desktop/images/17122025/10/34/image_17122025_10_34_55_9846.jpg
/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_14_10036.jpg
/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_24_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":["1399772215","1399772200","1399772220","1399772217","1399772126","1399772164"],"photo_ids_order":["1399772126","1399772164","1399772200","1399772215","1399772217","1399772220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f8c1aed8b91f3c2e2fb1d73c308ce7b.jpg","text":"TemporaryFile(/tmp/multipartBody6249011014848801878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964482969,"filename":"image_17122025_10_34_55_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec726a3db509e80bab5a6e9465dabb01.jpg","text":"TemporaryFile(/tmp/multipartBody7583373527806549331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964482969,"filename":"image_17122025_10_34_46_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f90ee90c389dcc1656f0411bab447b69.jpg","text":"TemporaryFile(/tmp/multipartBody9010429650366319050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964482969,"filename":"image_17122025_10_36_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/436d7077af37056498402ba5f8bf5479.jpg","text":"TemporaryFile(/tmp/multipartBody3703173446942855556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964482969,"filename":"image_17122025_10_36_14_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eaaaa0bcf9e5c3658b43eee8e058a3e8.jpg","text":"TemporaryFile(/tmp/multipartBody5470046257241885745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964482969,"filename":"image_17122025_10_34_25_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0dd3446da48b4b574057018790f0d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3063773510227864560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964482969,"filename":"image_17122025_10_34_35_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772200","file1":"1399772164","file0":"1399772126","file4":"1399772217","file5":"1399772220","file3":"1399772215"},"map_files_photo_id_array":[{"photo_id":"1399772220","filename":"file5"},{"photo_id":"1399772200","filename":"file2"},{"photo_id":"1399772217","filename":"file4"},{"photo_id":"1399772164","filename":"file1"},{"photo_id":"1399772126","filename":"file0"},{"photo_id":"1399772215","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399772215":["hashtag1","hashtag2"]},{"1399772200":["hashtag1","hashtag2"]},{"1399772220":["hashtag1","hashtag2"]},{"1399772217":["hashtag1","hashtag2"]},{"1399772126":["hashtag1","hashtag2"]},{"1399772164":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399772215, 1399772200, 1399772220, 1399772217, 1399772126, 1399772164)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.971264362335205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:41:03.256725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_34_9755.jpg', '/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_44_9786.jpg', '/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_54_10701.jpg', '/home/pi/Desktop/images/17122025/10/36/image_17122025_10_37_04_9668.jpg', '/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_14_9682.jpg', '/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_24_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_34_9755.jpg
/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_44_9786.jpg
/home/pi/Desktop/images/17122025/10/36/image_17122025_10_36_54_10701.jpg
/home/pi/Desktop/images/17122025/10/36/image_17122025_10_37_04_9668.jpg
/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_14_9682.jpg
/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_24_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":["1399772226","1399772229","1399772228","1399772231","1399772225","1399772227"],"photo_ids_order":["1399772225","1399772226","1399772227","1399772228","1399772229","1399772231"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c39d8e1b9fc41e618050183e18e2000f.jpg","text":"TemporaryFile(/tmp/multipartBody3900652367531142709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964523957,"filename":"image_17122025_10_36_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78127273e99f2cc2a38224f56daaf886.jpg","text":"TemporaryFile(/tmp/multipartBody7350120719911193186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964523957,"filename":"image_17122025_10_37_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7db30b2110b71308f946e8b513bd066f.jpg","text":"TemporaryFile(/tmp/multipartBody8092598344843262899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964523957,"filename":"image_17122025_10_37_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6dd1cb248b15603e4cdc6da3e4a1b981.jpg","text":"TemporaryFile(/tmp/multipartBody3863764287493750637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964523957,"filename":"image_17122025_10_37_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9461e62b54de87acf56592747766872c.jpg","text":"TemporaryFile(/tmp/multipartBody4987659683597695489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964523957,"filename":"image_17122025_10_36_34_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c5e827227658dfa3a3deaa3bc848074.jpg","text":"TemporaryFile(/tmp/multipartBody1112368292627113957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964523957,"filename":"image_17122025_10_36_54_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772227","file1":"1399772226","file0":"1399772225","file4":"1399772229","file5":"1399772231","file3":"1399772228"},"map_files_photo_id_array":[{"photo_id":"1399772231","filename":"file5"},{"photo_id":"1399772227","filename":"file2"},{"photo_id":"1399772229","filename":"file4"},{"photo_id":"1399772226","filename":"file1"},{"photo_id":"1399772225","filename":"file0"},{"photo_id":"1399772228","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399772226":["hashtag1","hashtag2"]},{"1399772229":["hashtag1","hashtag2"]},{"1399772228":["hashtag1","hashtag2"]},{"1399772231":["hashtag1","hashtag2"]},{"1399772225":["hashtag1","hashtag2"]},{"1399772227":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399772226, 1399772229, 1399772228, 1399772231, 1399772225, 1399772227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10025238990784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:41:42.588381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_16_3750.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_19_2614.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_22_2716.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_25_3692.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_28_2792.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_31_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_16_3750.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_19_2614.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_22_2716.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_25_3692.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_28_2792.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_31_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399772236","1399772253","1399772291","1399772294","1399772240","1399772296"],"photo_ids_order":["1399772236","1399772240","1399772253","1399772291","1399772294","1399772296"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7d3cc01f9eeb8739811d6d7327e50d8.jpg","text":"TemporaryFile(/tmp/multipartBody5479356916953414944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964563358,"filename":"image_07112025_18_52_16_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8060cab99b71ac56f76347542ba3c681.jpg","text":"TemporaryFile(/tmp/multipartBody3456219444621043366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964563358,"filename":"image_07112025_18_52_22_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a82bdca3d61ba4b39ce16a3bce5e7ad.jpg","text":"TemporaryFile(/tmp/multipartBody3602132843818123359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964563358,"filename":"image_07112025_18_52_25_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f574a7c47d721cb6f8ee3fea538b93d.jpg","text":"TemporaryFile(/tmp/multipartBody8852946536454882294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964563358,"filename":"image_07112025_18_52_28_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b16086bbbe84e202cf0574094a5dc4be.jpg","text":"TemporaryFile(/tmp/multipartBody2303201412103979535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964563358,"filename":"image_07112025_18_52_19_2614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ce75f76c5df75b8f76240c3561b4e5c.jpg","text":"TemporaryFile(/tmp/multipartBody4573026779716745195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964563358,"filename":"image_07112025_18_52_31_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772253","file1":"1399772240","file0":"1399772236","file4":"1399772294","file5":"1399772296","file3":"1399772291"},"map_files_photo_id_array":[{"photo_id":"1399772296","filename":"file5"},{"photo_id":"1399772253","filename":"file2"},{"photo_id":"1399772294","filename":"file4"},{"photo_id":"1399772240","filename":"file1"},{"photo_id":"1399772236","filename":"file0"},{"photo_id":"1399772291","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399772236":["hashtag1","hashtag2"]},{"1399772253":["hashtag1","hashtag2"]},{"1399772291":["hashtag1","hashtag2"]},{"1399772294":["hashtag1","hashtag2"]},{"1399772240":["hashtag1","hashtag2"]},{"1399772296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399772236, 1399772253, 1399772291, 1399772294, 1399772240, 1399772296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81397843360901 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:42:21.924282
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_34_9743.jpg', '/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_44_9896.jpg', '/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_54_9727.jpg', '/home/pi/Desktop/images/17122025/10/37/image_17122025_10_38_04_9732.jpg', '/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_14_10899.jpg', '/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_24_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_34_9743.jpg
/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_44_9896.jpg
/home/pi/Desktop/images/17122025/10/37/image_17122025_10_37_54_9727.jpg
/home/pi/Desktop/images/17122025/10/37/image_17122025_10_38_04_9732.jpg
/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_14_10899.jpg
/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_24_9656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399772308","1399772317","1399772319","1399772313","1399772321","1399772315"],"photo_ids_order":["1399772308","1399772313","1399772315","1399772317","1399772319","1399772321"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61212368934f679a1cbb362ce8a68344.jpg","text":"TemporaryFile(/tmp/multipartBody4409707156002675696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964602569,"filename":"image_17122025_10_37_34_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/060166e95d27b8e773d831b3ab67932f.jpg","text":"TemporaryFile(/tmp/multipartBody1511871021572247044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964602569,"filename":"image_17122025_10_38_04_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61ffeb09d0cdc7ab6919422305ec0bb3.jpg","text":"TemporaryFile(/tmp/multipartBody2021799361581460381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964602569,"filename":"image_17122025_10_38_14_10899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8d16bbf5901e5e117d8ecbc117dc206.jpg","text":"TemporaryFile(/tmp/multipartBody1237138569284912981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964602569,"filename":"image_17122025_10_37_44_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e6260323c81f5528d632e5036122bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8676586087045200014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964602569,"filename":"image_17122025_10_38_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c77ae224cb192a48c088b65aed7ec296.jpg","text":"TemporaryFile(/tmp/multipartBody4789684814544003373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964602569,"filename":"image_17122025_10_37_54_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772315","file1":"1399772313","file0":"1399772308","file4":"1399772319","file5":"1399772321","file3":"1399772317"},"map_files_photo_id_array":[{"photo_id":"1399772321","filename":"file5"},{"photo_id":"1399772315","filename":"file2"},{"photo_id":"1399772319","filename":"file4"},{"photo_id":"1399772313","filename":"file1"},{"photo_id":"1399772308","filename":"file0"},{"photo_id":"1399772317","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399772308":["hashtag1","hashtag2"]},{"1399772317":["hashtag1","hashtag2"]},{"1399772319":["hashtag1","hashtag2"]},{"1399772313":["hashtag1","hashtag2"]},{"1399772321":["hashtag1","hashtag2"]},{"1399772315":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399772308, 1399772317, 1399772319, 1399772313, 1399772321, 1399772315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.187244176864624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:43:02.737609
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_34_9667.jpg', '/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_45_10716.jpg', '/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_54_9806.jpg', '/home/pi/Desktop/images/17122025/10/38/image_17122025_10_39_04_9855.jpg', '/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_14_9750.jpg', '/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_24_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_34_9667.jpg
/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_45_10716.jpg
/home/pi/Desktop/images/17122025/10/38/image_17122025_10_38_54_9806.jpg
/home/pi/Desktop/images/17122025/10/38/image_17122025_10_39_04_9855.jpg
/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_14_9750.jpg
/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_24_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399772361","1399772381","1399772375","1399772369","1399772377","1399772353"],"photo_ids_order":["1399772353","1399772361","1399772369","1399772375","1399772377","1399772381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c48c3374425b1f5501711ce39805d13.jpg","text":"TemporaryFile(/tmp/multipartBody8753566486623781957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964643423,"filename":"image_17122025_10_38_45_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78e0143e54ce826aa188f80e69207ce6.jpg","text":"TemporaryFile(/tmp/multipartBody6550233745696695638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964643423,"filename":"image_17122025_10_39_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e01104a1ab921151228a82d3e1b1c69.jpg","text":"TemporaryFile(/tmp/multipartBody8636674268173836338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964643423,"filename":"image_17122025_10_39_04_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fd647083a88265055545dbc5050f099.jpg","text":"TemporaryFile(/tmp/multipartBody8076102687686258393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964643423,"filename":"image_17122025_10_38_54_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/692544f575940b7020e8550bce322a9d.jpg","text":"TemporaryFile(/tmp/multipartBody7325326674963216457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964643423,"filename":"image_17122025_10_39_14_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d54335c469c216daeb18a6a8cb00cb4.jpg","text":"TemporaryFile(/tmp/multipartBody9195954387916551815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964643423,"filename":"image_17122025_10_38_34_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772369","file1":"1399772361","file0":"1399772353","file4":"1399772377","file5":"1399772381","file3":"1399772375"},"map_files_photo_id_array":[{"photo_id":"1399772381","filename":"file5"},{"photo_id":"1399772369","filename":"file2"},{"photo_id":"1399772377","filename":"file4"},{"photo_id":"1399772361","filename":"file1"},{"photo_id":"1399772353","filename":"file0"},{"photo_id":"1399772375","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399772361":["hashtag1","hashtag2"]},{"1399772381":["hashtag1","hashtag2"]},{"1399772375":["hashtag1","hashtag2"]},{"1399772369":["hashtag1","hashtag2"]},{"1399772377":["hashtag1","hashtag2"]},{"1399772353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399772361, 1399772381, 1399772375, 1399772369, 1399772377, 1399772353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3464081287384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:43:42.040264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_38_3730.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_40_2607.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_43_2812.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_49_2701.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_52_2626.jpg', '/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_55_2791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_38_3730.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_40_2607.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_43_2812.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_49_2701.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_52_2626.jpg
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_55_2791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399772428","1399772422","1399772424","1399772427","1399772426","1399772425"],"photo_ids_order":["1399772422","1399772424","1399772425","1399772426","1399772427","1399772428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16f12df8987dba455d978d61cc0df7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2983287818370848603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964682816,"filename":"image_07112025_18_52_55_2791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/033ca3a82237a1c48c47369e7d1c8451.jpg","text":"TemporaryFile(/tmp/multipartBody6232634255172467890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964682816,"filename":"image_07112025_18_52_38_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95435192357307a46aa2c1383505bbdd.jpg","text":"TemporaryFile(/tmp/multipartBody7484993811038900812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964682816,"filename":"image_07112025_18_52_40_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26593774cafc0855d022fdfbd4bdb490.jpg","text":"TemporaryFile(/tmp/multipartBody1113819085552102570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964682816,"filename":"image_07112025_18_52_52_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e15506c15c4863ad613177e24ecb445.jpg","text":"TemporaryFile(/tmp/multipartBody7459393754131844271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964682816,"filename":"image_07112025_18_52_49_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33a71e6efd15810ccbf98f64421a3dce.jpg","text":"TemporaryFile(/tmp/multipartBody4999564740792952463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964682816,"filename":"image_07112025_18_52_43_2812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772425","file1":"1399772424","file0":"1399772422","file4":"1399772427","file5":"1399772428","file3":"1399772426"},"map_files_photo_id_array":[{"photo_id":"1399772428","filename":"file5"},{"photo_id":"1399772425","filename":"file2"},{"photo_id":"1399772427","filename":"file4"},{"photo_id":"1399772424","filename":"file1"},{"photo_id":"1399772422","filename":"file0"},{"photo_id":"1399772426","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399772428":["hashtag1","hashtag2"]},{"1399772422":["hashtag1","hashtag2"]},{"1399772424":["hashtag1","hashtag2"]},{"1399772427":["hashtag1","hashtag2"]},{"1399772426":["hashtag1","hashtag2"]},{"1399772425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399772428, 1399772422, 1399772424, 1399772427, 1399772426, 1399772425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18037986755371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:44:22.473312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_34_10831.jpg', '/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_44_9610.jpg', '/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_54_9678.jpg', '/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_14_10055.jpg', '/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_25_10759.jpg', '/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_35_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_34_10831.jpg
/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_44_9610.jpg
/home/pi/Desktop/images/17122025/10/39/image_17122025_10_39_54_9678.jpg
/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_14_10055.jpg
/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_25_10759.jpg
/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_35_9670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399772440","1399772434","1399772460","1399772502","1399772438","1399772545"],"photo_ids_order":["1399772434","1399772438","1399772440","1399772460","1399772502","1399772545"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b255c69535728db9fcb56e0ac5786ed5.jpg","text":"TemporaryFile(/tmp/multipartBody8954962128677307537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964723093,"filename":"image_17122025_10_39_54_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3fa5ccca8693b0755acff026f8d77ef.jpg","text":"TemporaryFile(/tmp/multipartBody4330821843078480538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964723093,"filename":"image_17122025_10_39_34_10831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/378d8fdb1ce2ac16dfb43fca55106b24.jpg","text":"TemporaryFile(/tmp/multipartBody6377503404368752118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964723093,"filename":"image_17122025_10_40_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c91e9c9a4dc481c1ef03152b4ae09aa4.jpg","text":"TemporaryFile(/tmp/multipartBody8130357841706364991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964723093,"filename":"image_17122025_10_40_25_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5150b95ed437398e1c5f8ca4e7fe0aa.jpg","text":"TemporaryFile(/tmp/multipartBody8647251304903759792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964723093,"filename":"image_17122025_10_39_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca85decc9fa22428b894646dd4d8bc57.jpg","text":"TemporaryFile(/tmp/multipartBody316788252708895271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964723093,"filename":"image_17122025_10_40_35_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772440","file1":"1399772438","file0":"1399772434","file4":"1399772502","file5":"1399772545","file3":"1399772460"},"map_files_photo_id_array":[{"photo_id":"1399772545","filename":"file5"},{"photo_id":"1399772440","filename":"file2"},{"photo_id":"1399772502","filename":"file4"},{"photo_id":"1399772438","filename":"file1"},{"photo_id":"1399772434","filename":"file0"},{"photo_id":"1399772460","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399772440":["hashtag1","hashtag2"]},{"1399772434":["hashtag1","hashtag2"]},{"1399772460":["hashtag1","hashtag2"]},{"1399772502":["hashtag1","hashtag2"]},{"1399772438":["hashtag1","hashtag2"]},{"1399772545":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399772440, 1399772434, 1399772460, 1399772502, 1399772438, 1399772545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51007580757141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:45:03.278394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_44_9600.jpg', '/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_55_10682.jpg', '/home/pi/Desktop/images/17122025/10/40/image_17122025_10_41_05_9833.jpg', '/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_14_9639.jpg', '/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_25_10606.jpg', '/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_35_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_44_9600.jpg
/home/pi/Desktop/images/17122025/10/40/image_17122025_10_40_55_10682.jpg
/home/pi/Desktop/images/17122025/10/40/image_17122025_10_41_05_9833.jpg
/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_14_9639.jpg
/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_25_10606.jpg
/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_35_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399772784","1399772859","1399772987","1399772822","1399772906","1399772953"],"photo_ids_order":["1399772784","1399772822","1399772859","1399772906","1399772953","1399772987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4eb5154b7f35093fab4dfcf830457989.jpg","text":"TemporaryFile(/tmp/multipartBody50828888674368940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964763970,"filename":"image_17122025_10_40_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aad6acddac88c98686cdb1e6b7f5668b.jpg","text":"TemporaryFile(/tmp/multipartBody7984005365129207582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964763970,"filename":"image_17122025_10_41_05_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c06be27336a415a3ae872f40019be10.jpg","text":"TemporaryFile(/tmp/multipartBody7550144390296959558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964763970,"filename":"image_17122025_10_41_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecb65ee2f608cbe5666c67ef341b7098.jpg","text":"TemporaryFile(/tmp/multipartBody2835255710320120481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964763970,"filename":"image_17122025_10_40_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75d3efce5a4c339225d9713a326dbcae.jpg","text":"TemporaryFile(/tmp/multipartBody1585134815137847223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964763970,"filename":"image_17122025_10_41_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f18c59726ba94c05ed055eb65937802e.jpg","text":"TemporaryFile(/tmp/multipartBody8144246707189112057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964763970,"filename":"image_17122025_10_41_25_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399772859","file1":"1399772822","file0":"1399772784","file4":"1399772953","file5":"1399772987","file3":"1399772906"},"map_files_photo_id_array":[{"photo_id":"1399772987","filename":"file5"},{"photo_id":"1399772859","filename":"file2"},{"photo_id":"1399772953","filename":"file4"},{"photo_id":"1399772822","filename":"file1"},{"photo_id":"1399772784","filename":"file0"},{"photo_id":"1399772906","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399772784":["hashtag1","hashtag2"]},{"1399772859":["hashtag1","hashtag2"]},{"1399772987":["hashtag1","hashtag2"]},{"1399772822":["hashtag1","hashtag2"]},{"1399772906":["hashtag1","hashtag2"]},{"1399772953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399772784, 1399772859, 1399772987, 1399772822, 1399772906, 1399772953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26708149909973 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:45:42.562910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_58_3795.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_01_2640.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_04_2727.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_07_3629.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_10_2624.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_13_2615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/52/image_07112025_18_52_58_3795.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_01_2640.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_04_2727.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_07_3629.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_10_2624.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_13_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":["1399773024","1399773027","1399773021","1399773023","1399773026","1399773025"],"photo_ids_order":["1399773021","1399773023","1399773024","1399773025","1399773026","1399773027"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7703679b2e65dad1c5fd66e9baccf42f.jpg","text":"TemporaryFile(/tmp/multipartBody465527511700420303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964803336,"filename":"image_07112025_18_53_04_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1906662b1f8a74811fdec0dd8d18870f.jpg","text":"TemporaryFile(/tmp/multipartBody6609040564480681449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964803336,"filename":"image_07112025_18_53_13_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb5ac1dca89823e35f1e412e6adbf9e3.jpg","text":"TemporaryFile(/tmp/multipartBody1424133435342169078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964803336,"filename":"image_07112025_18_52_58_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5088aa780ee0cd3282b14807a8ddc56d.jpg","text":"TemporaryFile(/tmp/multipartBody4861684785205757692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964803336,"filename":"image_07112025_18_53_01_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77148b5647c85c21d01367f6d77a5790.jpg","text":"TemporaryFile(/tmp/multipartBody5575443614086732939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964803336,"filename":"image_07112025_18_53_10_2624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4efca10a7b4dc2ebebb743a146ee018.jpg","text":"TemporaryFile(/tmp/multipartBody6099479522646154555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964803336,"filename":"image_07112025_18_53_07_3629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773024","file1":"1399773023","file0":"1399773021","file4":"1399773026","file5":"1399773027","file3":"1399773025"},"map_files_photo_id_array":[{"photo_id":"1399773027","filename":"file5"},{"photo_id":"1399773024","filename":"file2"},{"photo_id":"1399773026","filename":"file4"},{"photo_id":"1399773023","filename":"file1"},{"photo_id":"1399773021","filename":"file0"},{"photo_id":"1399773025","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399773024":["hashtag1","hashtag2"]},{"1399773027":["hashtag1","hashtag2"]},{"1399773021":["hashtag1","hashtag2"]},{"1399773023":["hashtag1","hashtag2"]},{"1399773026":["hashtag1","hashtag2"]},{"1399773025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399773024, 1399773027, 1399773021, 1399773023, 1399773026, 1399773025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.891573667526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:46:21.954174
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_45_9940.jpg', '/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_54_9871.jpg', '/home/pi/Desktop/images/17122025/10/41/image_17122025_10_42_05_10633.jpg', '/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_15_9714.jpg', '/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_24_9690.jpg', '/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_34_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_45_9940.jpg
/home/pi/Desktop/images/17122025/10/41/image_17122025_10_41_54_9871.jpg
/home/pi/Desktop/images/17122025/10/41/image_17122025_10_42_05_10633.jpg
/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_15_9714.jpg
/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_24_9690.jpg
/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_34_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399773111","1399773105","1399773108","1399773094","1399773097","1399773099"],"photo_ids_order":["1399773094","1399773097","1399773099","1399773105","1399773108","1399773111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d5e15e301d6e9acf4e80729bf844f4e.jpg","text":"TemporaryFile(/tmp/multipartBody3555569483308392069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964842630,"filename":"image_17122025_10_42_34_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89f760e289380c0a97a279adc962513f.jpg","text":"TemporaryFile(/tmp/multipartBody7749177019022311124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964842630,"filename":"image_17122025_10_42_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c50c5abe77870a822b6efac310a5029f.jpg","text":"TemporaryFile(/tmp/multipartBody1230587592681375579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964842630,"filename":"image_17122025_10_42_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/253e4ff21bc258da1bb2497cff7b3db6.jpg","text":"TemporaryFile(/tmp/multipartBody6495428133786704253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964842630,"filename":"image_17122025_10_41_45_9940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebdd23f8a9fa40f3d4b7b1ead1b53bf3.jpg","text":"TemporaryFile(/tmp/multipartBody7745404126516947812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964842630,"filename":"image_17122025_10_41_54_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2caf4e4af8135fb0d0ef87b372d9e2d6.jpg","text":"TemporaryFile(/tmp/multipartBody8721569552521799059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964842630,"filename":"image_17122025_10_42_05_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773099","file1":"1399773097","file0":"1399773094","file4":"1399773108","file5":"1399773111","file3":"1399773105"},"map_files_photo_id_array":[{"photo_id":"1399773111","filename":"file5"},{"photo_id":"1399773099","filename":"file2"},{"photo_id":"1399773108","filename":"file4"},{"photo_id":"1399773097","filename":"file1"},{"photo_id":"1399773094","filename":"file0"},{"photo_id":"1399773105","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399773111":["hashtag1","hashtag2"]},{"1399773105":["hashtag1","hashtag2"]},{"1399773108":["hashtag1","hashtag2"]},{"1399773094":["hashtag1","hashtag2"]},{"1399773097":["hashtag1","hashtag2"]},{"1399773099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399773111, 1399773105, 1399773108, 1399773094, 1399773097, 1399773099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44503855705261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:47:02.721146
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_44_9953.jpg', '/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_55_10700.jpg', '/home/pi/Desktop/images/17122025/10/42/image_17122025_10_43_05_9702.jpg', '/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_14_9621.jpg', '/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_25_10553.jpg', '/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_44_9571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_44_9953.jpg
/home/pi/Desktop/images/17122025/10/42/image_17122025_10_42_55_10700.jpg
/home/pi/Desktop/images/17122025/10/42/image_17122025_10_43_05_9702.jpg
/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_14_9621.jpg
/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_25_10553.jpg
/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_44_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":["1399773123","1399773117","1399773120","1399773114","1399773113","1399773115"],"photo_ids_order":["1399773113","1399773114","1399773115","1399773117","1399773120","1399773123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ed2c07feeb67490a0f06701043933da.jpg","text":"TemporaryFile(/tmp/multipartBody2591752828762344882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964883407,"filename":"image_17122025_10_43_44_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb99d7e4f4b9d6e0a62349b65cd7eb19.jpg","text":"TemporaryFile(/tmp/multipartBody7082112974623917602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964883407,"filename":"image_17122025_10_43_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60164b64e331ae9009ee5b97075d1129.jpg","text":"TemporaryFile(/tmp/multipartBody4680564376783588828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964883407,"filename":"image_17122025_10_43_25_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5aa73e562d01c3f3a50a05d6f0d1624d.jpg","text":"TemporaryFile(/tmp/multipartBody1950944466360492685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964883407,"filename":"image_17122025_10_42_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4be0331e514e48216db1bd8c3b134e1.jpg","text":"TemporaryFile(/tmp/multipartBody1834708814413708212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964883407,"filename":"image_17122025_10_42_44_9953.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04ff8dccae851127d2e3119c59175f76.jpg","text":"TemporaryFile(/tmp/multipartBody7734566082194055502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964883407,"filename":"image_17122025_10_43_05_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773115","file1":"1399773114","file0":"1399773113","file4":"1399773120","file5":"1399773123","file3":"1399773117"},"map_files_photo_id_array":[{"photo_id":"1399773123","filename":"file5"},{"photo_id":"1399773115","filename":"file2"},{"photo_id":"1399773120","filename":"file4"},{"photo_id":"1399773114","filename":"file1"},{"photo_id":"1399773113","filename":"file0"},{"photo_id":"1399773117","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399773123":["hashtag1","hashtag2"]},{"1399773117":["hashtag1","hashtag2"]},{"1399773120":["hashtag1","hashtag2"]},{"1399773114":["hashtag1","hashtag2"]},{"1399773113":["hashtag1","hashtag2"]},{"1399773115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399773123, 1399773117, 1399773120, 1399773114, 1399773113, 1399773115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.25917363166809 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:47:42.122234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_16_3607.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_19_2743.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_22_2815.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_25_2936.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_28_2889.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_31_3663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_16_3607.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_19_2743.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_22_2815.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_25_2936.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_28_2889.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_31_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":["1399773162","1399773131","1399773161","1399773134","1399773160","1399773163"],"photo_ids_order":["1399773131","1399773134","1399773160","1399773161","1399773162","1399773163"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd02e6a495e32299e29d612488a7fff8.jpg","text":"TemporaryFile(/tmp/multipartBody9039194792460245985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964922970,"filename":"image_07112025_18_53_28_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b86ea86c76385f14653a3a47495c030.jpg","text":"TemporaryFile(/tmp/multipartBody7564351355222100712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964922970,"filename":"image_07112025_18_53_16_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4286a23e3ec8ebc3ec2235a15b2d444.jpg","text":"TemporaryFile(/tmp/multipartBody7235006187688300067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964922970,"filename":"image_07112025_18_53_25_2936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40fbb0cf948ea00b2843292ec5b5d7d3.jpg","text":"TemporaryFile(/tmp/multipartBody1207123725953847045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964922970,"filename":"image_07112025_18_53_19_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71a2a73e27116979ad3114a6dfbce489.jpg","text":"TemporaryFile(/tmp/multipartBody7762803155309725812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964922970,"filename":"image_07112025_18_53_22_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d3abadca8229cfae1b90578b2e8d339.jpg","text":"TemporaryFile(/tmp/multipartBody2233311312868415195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964922970,"filename":"image_07112025_18_53_31_3663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773160","file1":"1399773134","file0":"1399773131","file4":"1399773162","file5":"1399773163","file3":"1399773161"},"map_files_photo_id_array":[{"photo_id":"1399773163","filename":"file5"},{"photo_id":"1399773160","filename":"file2"},{"photo_id":"1399773162","filename":"file4"},{"photo_id":"1399773134","filename":"file1"},{"photo_id":"1399773131","filename":"file0"},{"photo_id":"1399773161","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399773162":["hashtag1","hashtag2"]},{"1399773131":["hashtag1","hashtag2"]},{"1399773161":["hashtag1","hashtag2"]},{"1399773134":["hashtag1","hashtag2"]},{"1399773160":["hashtag1","hashtag2"]},{"1399773163":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399773162, 1399773131, 1399773161, 1399773134, 1399773160, 1399773163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.367695331573486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:48:22.413207
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_55_10769.jpg', '/home/pi/Desktop/images/17122025/10/43/image_17122025_10_44_05_9769.jpg', '/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_14_9778.jpg', '/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_24_9673.jpg', '/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_35_10968.jpg', '/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_45_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_55_10769.jpg
/home/pi/Desktop/images/17122025/10/43/image_17122025_10_44_05_9769.jpg
/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_14_9778.jpg
/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_24_9673.jpg
/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_35_10968.jpg
/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_45_9700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5258383750915527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 10:48:32.373230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:48:42.333401
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_34_2689.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_37_2683.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_40_3795.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_43_2804.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_46_2742.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_49_2629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_34_2689.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_37_2683.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_40_3795.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_43_2804.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_46_2742.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_49_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":["1399773204","1399773207","1399773200","1399773203","1399773205","1399773202"],"photo_ids_order":["1399773200","1399773202","1399773203","1399773204","1399773205","1399773207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab42230227ac0130bb9f74fa537b12af.jpg","text":"TemporaryFile(/tmp/multipartBody216537228648673617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964983173,"filename":"image_07112025_18_53_43_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f04648e9ce10d488805be320c11bf26.jpg","text":"TemporaryFile(/tmp/multipartBody8127157925248898246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964983173,"filename":"image_07112025_18_53_49_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2eeed24a3f0535fa810f97c16076421.jpg","text":"TemporaryFile(/tmp/multipartBody1853344501694256025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964983173,"filename":"image_07112025_18_53_34_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ab7a96cfbcc0c4668494c8fd26279f8.jpg","text":"TemporaryFile(/tmp/multipartBody1504797237709887456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964983173,"filename":"image_07112025_18_53_40_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2051f2ec3bfa3681ee287ef6e4181b96.jpg","text":"TemporaryFile(/tmp/multipartBody2738944896788910945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964983173,"filename":"image_07112025_18_53_46_2742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36c5f3167669efc0c84e75526325a3cf.jpg","text":"TemporaryFile(/tmp/multipartBody1806105006984074473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765964983173,"filename":"image_07112025_18_53_37_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773203","file1":"1399773202","file0":"1399773200","file4":"1399773205","file5":"1399773207","file3":"1399773204"},"map_files_photo_id_array":[{"photo_id":"1399773207","filename":"file5"},{"photo_id":"1399773203","filename":"file2"},{"photo_id":"1399773205","filename":"file4"},{"photo_id":"1399773202","filename":"file1"},{"photo_id":"1399773200","filename":"file0"},{"photo_id":"1399773204","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399773204":["hashtag1","hashtag2"]},{"1399773207":["hashtag1","hashtag2"]},{"1399773200":["hashtag1","hashtag2"]},{"1399773203":["hashtag1","hashtag2"]},{"1399773205":["hashtag1","hashtag2"]},{"1399773202":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399773204, 1399773207, 1399773200, 1399773203, 1399773205, 1399773202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.42452096939087 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:49:22.593753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_55_10769.jpg', '/home/pi/Desktop/images/17122025/10/43/image_17122025_10_44_05_9769.jpg', '/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_14_9778.jpg', '/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_24_9673.jpg', '/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_35_10968.jpg', '/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_45_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/43/image_17122025_10_43_55_10769.jpg
/home/pi/Desktop/images/17122025/10/43/image_17122025_10_44_05_9769.jpg
/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_14_9778.jpg
/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_24_9673.jpg
/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_35_10968.jpg
/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_45_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":["1399773222","1399773225","1399773212","1399773215","1399773218","1399773220"],"photo_ids_order":["1399773212","1399773215","1399773218","1399773220","1399773222","1399773225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64a0cd56f7b881d9bb453f3a5b20ef33.jpg","text":"TemporaryFile(/tmp/multipartBody1838494690391198975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965023219,"filename":"image_17122025_10_44_35_10968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a704a3c5bb4e58323bc271e5033ff34.jpg","text":"TemporaryFile(/tmp/multipartBody2471115806395192153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965023219,"filename":"image_17122025_10_44_45_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73e34e7e390ce254d24a24c504940aaa.jpg","text":"TemporaryFile(/tmp/multipartBody8498386193202076286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965023219,"filename":"image_17122025_10_43_55_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4aa6282d5bf4f0ddf89d4faedb7566b0.jpg","text":"TemporaryFile(/tmp/multipartBody3847492847149154708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965023219,"filename":"image_17122025_10_44_05_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af0119abfe00c2f3e5c1ea13925f16b1.jpg","text":"TemporaryFile(/tmp/multipartBody2212716737577660051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965023219,"filename":"image_17122025_10_44_14_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8139af2a93dc1cd646405f0f8903e5de.jpg","text":"TemporaryFile(/tmp/multipartBody1103288611646895707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965023219,"filename":"image_17122025_10_44_24_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773218","file1":"1399773215","file0":"1399773212","file4":"1399773222","file5":"1399773225","file3":"1399773220"},"map_files_photo_id_array":[{"photo_id":"1399773225","filename":"file5"},{"photo_id":"1399773218","filename":"file2"},{"photo_id":"1399773222","filename":"file4"},{"photo_id":"1399773215","filename":"file1"},{"photo_id":"1399773212","filename":"file0"},{"photo_id":"1399773220","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399773222":["hashtag1","hashtag2"]},{"1399773225":["hashtag1","hashtag2"]},{"1399773212":["hashtag1","hashtag2"]},{"1399773215":["hashtag1","hashtag2"]},{"1399773218":["hashtag1","hashtag2"]},{"1399773220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399773222, 1399773225, 1399773212, 1399773215, 1399773218, 1399773220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.892844915390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:50:02.241021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_55_9779.jpg', '/home/pi/Desktop/images/17122025/10/46/image_17122025_10_46_14_10037.jpg', '/home/pi/Desktop/images/17122025/10/46/image_17122025_10_46_25_10611.jpg', '/home/pi/Desktop/images/17122025/10/46/image_17122025_10_46_35_9637.jpg', '/home/pi/Desktop/images/17122025/10/46/image_17122025_10_47_05_9704.jpg', '/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_15_9903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/44/image_17122025_10_44_55_9779.jpg
/home/pi/Desktop/images/17122025/10/46/image_17122025_10_46_14_10037.jpg
/home/pi/Desktop/images/17122025/10/46/image_17122025_10_46_25_10611.jpg
/home/pi/Desktop/images/17122025/10/46/image_17122025_10_46_35_9637.jpg
/home/pi/Desktop/images/17122025/10/46/image_17122025_10_47_05_9704.jpg
/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_15_9903.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399773234","1399773228","1399773231","1399773239","1399773236","1399773229"],"photo_ids_order":["1399773228","1399773229","1399773231","1399773234","1399773236","1399773239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7edf431e701dda20c35b4b76d34af849.jpg","text":"TemporaryFile(/tmp/multipartBody8957698482742038102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965062861,"filename":"image_17122025_10_46_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a34b7d1f79ed0ab04614db0dd65e2b3b.jpg","text":"TemporaryFile(/tmp/multipartBody1986631330285679979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965062861,"filename":"image_17122025_10_44_55_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b37e7705208a2bb1a8b029cb9a22bdd.jpg","text":"TemporaryFile(/tmp/multipartBody4535040281301025891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965062861,"filename":"image_17122025_10_46_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec93478ef9c2309253345834bce87d49.jpg","text":"TemporaryFile(/tmp/multipartBody452639076934053536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965062861,"filename":"image_17122025_10_47_15_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6b0a73b95487bbac3186aed03095292.jpg","text":"TemporaryFile(/tmp/multipartBody2304651436168831228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965062861,"filename":"image_17122025_10_47_05_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4069014c43da095651fd05e2a92f40d0.jpg","text":"TemporaryFile(/tmp/multipartBody1292212426765009575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965062861,"filename":"image_17122025_10_46_14_10037.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773231","file1":"1399773229","file0":"1399773228","file4":"1399773236","file5":"1399773239","file3":"1399773234"},"map_files_photo_id_array":[{"photo_id":"1399773239","filename":"file5"},{"photo_id":"1399773231","filename":"file2"},{"photo_id":"1399773236","filename":"file4"},{"photo_id":"1399773229","filename":"file1"},{"photo_id":"1399773228","filename":"file0"},{"photo_id":"1399773234","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399773234":["hashtag1","hashtag2"]},{"1399773228":["hashtag1","hashtag2"]},{"1399773231":["hashtag1","hashtag2"]},{"1399773239":["hashtag1","hashtag2"]},{"1399773236":["hashtag1","hashtag2"]},{"1399773229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399773234, 1399773228, 1399773231, 1399773239, 1399773236, 1399773229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88973045349121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:50:41.932288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_52_3756.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_58_2566.jpg', '/home/pi/Desktop/images/07112025/18/53/image_07112025_18_54_01_2751.jpg', '/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_04_3545.jpg', '/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_10_1759.jpg', '/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_16_2708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_52_3756.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_53_58_2566.jpg
/home/pi/Desktop/images/07112025/18/53/image_07112025_18_54_01_2751.jpg
/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_04_3545.jpg
/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_10_1759.jpg
/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_16_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":["1399773252","1399773246","1399773251","1399773254","1399773253","1399773256"],"photo_ids_order":["1399773246","1399773251","1399773252","1399773253","1399773254","1399773256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/560c3c2b5179d09d22c0ed4daf89513f.jpg","text":"TemporaryFile(/tmp/multipartBody3140657623977812132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965102702,"filename":"image_07112025_18_54_01_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e3149af4e8887102613bb2f3126c585.jpg","text":"TemporaryFile(/tmp/multipartBody8654915738197919966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965102702,"filename":"image_07112025_18_53_52_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57649b291f562ca97fff7260391d870e.jpg","text":"TemporaryFile(/tmp/multipartBody605300983098043386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965102702,"filename":"image_07112025_18_53_58_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e93e539c0f13be39decbb691a84c3438.jpg","text":"TemporaryFile(/tmp/multipartBody2502791923122382909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965102702,"filename":"image_07112025_18_54_10_1759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8efe178459db6eebac8e36fefd88fcb9.jpg","text":"TemporaryFile(/tmp/multipartBody1912621431442012781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965102702,"filename":"image_07112025_18_54_04_3545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/718eaedfa75d9983aa165b6dea34c426.jpg","text":"TemporaryFile(/tmp/multipartBody7064319527439395258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965102702,"filename":"image_07112025_18_54_16_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773252","file1":"1399773251","file0":"1399773246","file4":"1399773254","file5":"1399773256","file3":"1399773253"},"map_files_photo_id_array":[{"photo_id":"1399773256","filename":"file5"},{"photo_id":"1399773252","filename":"file2"},{"photo_id":"1399773254","filename":"file4"},{"photo_id":"1399773251","filename":"file1"},{"photo_id":"1399773246","filename":"file0"},{"photo_id":"1399773253","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399773252":["hashtag1","hashtag2"]},{"1399773246":["hashtag1","hashtag2"]},{"1399773251":["hashtag1","hashtag2"]},{"1399773254":["hashtag1","hashtag2"]},{"1399773253":["hashtag1","hashtag2"]},{"1399773256":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399773252, 1399773246, 1399773251, 1399773254, 1399773253, 1399773256)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68843698501587 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:51:22.179757
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_25_10689.jpg', '/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_35_9728.jpg', '/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_45_9712.jpg', '/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_54_9762.jpg', '/home/pi/Desktop/images/17122025/10/47/image_17122025_10_48_05_10679.jpg', '/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_15_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_25_10689.jpg
/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_35_9728.jpg
/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_45_9712.jpg
/home/pi/Desktop/images/17122025/10/47/image_17122025_10_47_54_9762.jpg
/home/pi/Desktop/images/17122025/10/47/image_17122025_10_48_05_10679.jpg
/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_15_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399773360","1399773437","1399773518","1399773323","1399773475","1399773400"],"photo_ids_order":["1399773323","1399773360","1399773400","1399773437","1399773475","1399773518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1e7f8440bdd214270d2a64f1c52fed6.jpg","text":"TemporaryFile(/tmp/multipartBody1069067899097881152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965142847,"filename":"image_17122025_10_47_35_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6e841584e197fd82c2aa012e84644ee.jpg","text":"TemporaryFile(/tmp/multipartBody413735686913682604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965142847,"filename":"image_17122025_10_47_54_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/120caa9fd9424a1bfde1650713a90515.jpg","text":"TemporaryFile(/tmp/multipartBody6757671985349759926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965142847,"filename":"image_17122025_10_48_15_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dad527008257664183a948db1b0feea3.jpg","text":"TemporaryFile(/tmp/multipartBody6162642609367264745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965142847,"filename":"image_17122025_10_47_25_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8dea05c2c18cae185802f9ba17f33a7.jpg","text":"TemporaryFile(/tmp/multipartBody8103939849306528365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965142847,"filename":"image_17122025_10_48_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ada43c19e17673848bb0ca5833e6c30.jpg","text":"TemporaryFile(/tmp/multipartBody5360093221296752150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965142847,"filename":"image_17122025_10_47_45_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773400","file1":"1399773360","file0":"1399773323","file4":"1399773475","file5":"1399773518","file3":"1399773437"},"map_files_photo_id_array":[{"photo_id":"1399773518","filename":"file5"},{"photo_id":"1399773400","filename":"file2"},{"photo_id":"1399773475","filename":"file4"},{"photo_id":"1399773360","filename":"file1"},{"photo_id":"1399773323","filename":"file0"},{"photo_id":"1399773437","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399773360":["hashtag1","hashtag2"]},{"1399773437":["hashtag1","hashtag2"]},{"1399773518":["hashtag1","hashtag2"]},{"1399773323":["hashtag1","hashtag2"]},{"1399773475":["hashtag1","hashtag2"]},{"1399773400":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399773360, 1399773437, 1399773518, 1399773323, 1399773475, 1399773400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51885271072388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:52:02.961235
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_25_9645.jpg', '/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_34_9771.jpg', '/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_45_10625.jpg', '/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_55_9639.jpg', '/home/pi/Desktop/images/17122025/10/48/image_17122025_10_49_04_9852.jpg', '/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_15_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_25_9645.jpg
/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_34_9771.jpg
/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_45_10625.jpg
/home/pi/Desktop/images/17122025/10/48/image_17122025_10_48_55_9639.jpg
/home/pi/Desktop/images/17122025/10/48/image_17122025_10_49_04_9852.jpg
/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_15_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":["1399773840","1399773791","1399773872","1399773875","1399773739","1399773873"],"photo_ids_order":["1399773739","1399773791","1399773840","1399773872","1399773873","1399773875"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61e886a889bf0da6a695622db6308085.jpg","text":"TemporaryFile(/tmp/multipartBody8937202398887429272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965183613,"filename":"image_17122025_10_48_45_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b5a1dc9ac1aefef8d1a5b58d8c946ca.jpg","text":"TemporaryFile(/tmp/multipartBody3422506184207887194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965183613,"filename":"image_17122025_10_48_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83713816556873c870f7c4df1000172f.jpg","text":"TemporaryFile(/tmp/multipartBody6973060038647913391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965183613,"filename":"image_17122025_10_48_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11ca1b3098537583ab4a8048968bd607.jpg","text":"TemporaryFile(/tmp/multipartBody5425591738908843528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965183613,"filename":"image_17122025_10_49_15_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52aac34b6560d8395b06d035568cadf6.jpg","text":"TemporaryFile(/tmp/multipartBody1799428908936078043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965183613,"filename":"image_17122025_10_48_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1de125324f9833b43974eb96f3d9c0ec.jpg","text":"TemporaryFile(/tmp/multipartBody2474110577232642665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965183613,"filename":"image_17122025_10_49_04_9852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773840","file1":"1399773791","file0":"1399773739","file4":"1399773873","file5":"1399773875","file3":"1399773872"},"map_files_photo_id_array":[{"photo_id":"1399773875","filename":"file5"},{"photo_id":"1399773840","filename":"file2"},{"photo_id":"1399773873","filename":"file4"},{"photo_id":"1399773791","filename":"file1"},{"photo_id":"1399773739","filename":"file0"},{"photo_id":"1399773872","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399773840":["hashtag1","hashtag2"]},{"1399773791":["hashtag1","hashtag2"]},{"1399773872":["hashtag1","hashtag2"]},{"1399773875":["hashtag1","hashtag2"]},{"1399773739":["hashtag1","hashtag2"]},{"1399773873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399773840, 1399773791, 1399773872, 1399773875, 1399773739, 1399773873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78914260864258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:52:42.446099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_19_3670.jpg', '/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_25_2559.jpg', '/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_56_6076.jpg', '/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_58_1666.jpg', '/home/pi/Desktop/images/07112025/18/54/image_07112025_18_55_00_1575.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_01_1599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_19_3670.jpg
/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_25_2559.jpg
/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_56_6076.jpg
/home/pi/Desktop/images/07112025/18/54/image_07112025_18_54_58_1666.jpg
/home/pi/Desktop/images/07112025/18/54/image_07112025_18_55_00_1575.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_01_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":["1399774023","1399774025","1399773983","1399773900","1399773941","1399774015"],"photo_ids_order":["1399773900","1399773941","1399773983","1399774015","1399774023","1399774025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0feb7a8157f757edceaee666c4efae47.jpg","text":"TemporaryFile(/tmp/multipartBody5614475688804917931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965223222,"filename":"image_07112025_18_55_00_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6edae185c0b75c0390fc30fbc6711b1.jpg","text":"TemporaryFile(/tmp/multipartBody1882436345894202905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965223222,"filename":"image_07112025_18_55_01_1599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e39a118a75d6f85ac6c6aaf9cc9fae28.jpg","text":"TemporaryFile(/tmp/multipartBody969309610247484554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965223222,"filename":"image_07112025_18_54_56_6076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75a71792ac02cab79512ab02658ae287.jpg","text":"TemporaryFile(/tmp/multipartBody4468590412391405842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965223222,"filename":"image_07112025_18_54_19_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92d5aa90f47cd1f2352a134a0eb781fd.jpg","text":"TemporaryFile(/tmp/multipartBody4518689162429526223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965223222,"filename":"image_07112025_18_54_25_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/282438655beb82484eb6d1b397b728d9.jpg","text":"TemporaryFile(/tmp/multipartBody5433745571703527682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965223222,"filename":"image_07112025_18_54_58_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399773983","file1":"1399773941","file0":"1399773900","file4":"1399774023","file5":"1399774025","file3":"1399774015"},"map_files_photo_id_array":[{"photo_id":"1399774025","filename":"file5"},{"photo_id":"1399773983","filename":"file2"},{"photo_id":"1399774023","filename":"file4"},{"photo_id":"1399773941","filename":"file1"},{"photo_id":"1399773900","filename":"file0"},{"photo_id":"1399774015","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399774023":["hashtag1","hashtag2"]},{"1399774025":["hashtag1","hashtag2"]},{"1399773983":["hashtag1","hashtag2"]},{"1399773900":["hashtag1","hashtag2"]},{"1399773941":["hashtag1","hashtag2"]},{"1399774015":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399774023, 1399774025, 1399773983, 1399773900, 1399773941, 1399774015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.95068120956421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 10:53:32.703527
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:53:42.669148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_18_1901.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_21_3947.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_23_1738.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_29_4341.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_31_1683.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_34_3358.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_18_1901.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_21_3947.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_23_1738.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_29_4341.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_31_1683.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_34_3358.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399774160","1399774163","1399774157","1399774162","1399774164","1399774161"],"photo_ids_order":["1399774157","1399774160","1399774161","1399774162","1399774163","1399774164"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8566f26e8c5a727f9f9ed49abf459230.jpg","text":"TemporaryFile(/tmp/multipartBody8451527454340994458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965283469,"filename":"image_07112025_18_55_21_3947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18e8ae0c6970d630f24f078fe4f4220f.jpg","text":"TemporaryFile(/tmp/multipartBody7163589814124214533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965283469,"filename":"image_07112025_18_55_31_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3861de5b307738a8ba05d3a448dbbde.jpg","text":"TemporaryFile(/tmp/multipartBody2672281758475943285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965283469,"filename":"image_07112025_18_55_18_1901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd92c31411719853f83cc574f2d79c25.jpg","text":"TemporaryFile(/tmp/multipartBody6132036059057685886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965283469,"filename":"image_07112025_18_55_29_4341.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24312e1a468e577c34b7ea6d9ccd8b17.jpg","text":"TemporaryFile(/tmp/multipartBody2115770454276172312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965283469,"filename":"image_07112025_18_55_34_3358.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1e5e87df90b268bb24ecbe6ca8b34ee.jpg","text":"TemporaryFile(/tmp/multipartBody6474869610323974662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965283469,"filename":"image_07112025_18_55_23_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399774161","file1":"1399774160","file0":"1399774157","file4":"1399774163","file5":"1399774164","file3":"1399774162"},"map_files_photo_id_array":[{"photo_id":"1399774164","filename":"file5"},{"photo_id":"1399774161","filename":"file2"},{"photo_id":"1399774163","filename":"file4"},{"photo_id":"1399774160","filename":"file1"},{"photo_id":"1399774157","filename":"file0"},{"photo_id":"1399774162","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399774160":["hashtag1","hashtag2"]},{"1399774163":["hashtag1","hashtag2"]},{"1399774157":["hashtag1","hashtag2"]},{"1399774162":["hashtag1","hashtag2"]},{"1399774164":["hashtag1","hashtag2"]},{"1399774161":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399774160, 1399774163, 1399774157, 1399774162, 1399774164, 1399774161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18791699409485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:54:21.968372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_25_10001.jpg', '/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_35_9642.jpg', '/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_44_9608.jpg', '/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_55_10598.jpg', '/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_15_10057.jpg', '/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_25_10793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_25_10001.jpg
/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_35_9642.jpg
/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_44_9608.jpg
/home/pi/Desktop/images/17122025/10/49/image_17122025_10_49_55_10598.jpg
/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_15_10057.jpg
/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_25_10793.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399774349","1399774313","1399774273","1399774429","1399774318","1399774389"],"photo_ids_order":["1399774273","1399774313","1399774318","1399774349","1399774389","1399774429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/842b221184ed732a506b828b6c15b5cb.jpg","text":"TemporaryFile(/tmp/multipartBody7355617099925109033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965322591,"filename":"image_17122025_10_49_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8300550a94d59b0a89eb841d70eadb90.jpg","text":"TemporaryFile(/tmp/multipartBody9154240944090581901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965322591,"filename":"image_17122025_10_49_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6be0b35799b61e1ac8b0f76399608cb.jpg","text":"TemporaryFile(/tmp/multipartBody3323019240690839846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965322591,"filename":"image_17122025_10_49_25_10001.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08ec3377969970cceb8aa3504d375511.jpg","text":"TemporaryFile(/tmp/multipartBody4192050212962377537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965322591,"filename":"image_17122025_10_50_25_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30651da0aac033a699fdbe8c9ea2b053.jpg","text":"TemporaryFile(/tmp/multipartBody191834850422686982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965322591,"filename":"image_17122025_10_49_44_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddf7417ce1b4fc89623d1bc6b6abb2fa.jpg","text":"TemporaryFile(/tmp/multipartBody1481161654647653969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965322591,"filename":"image_17122025_10_50_15_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399774318","file1":"1399774313","file0":"1399774273","file4":"1399774389","file5":"1399774429","file3":"1399774349"},"map_files_photo_id_array":[{"photo_id":"1399774429","filename":"file5"},{"photo_id":"1399774318","filename":"file2"},{"photo_id":"1399774389","filename":"file4"},{"photo_id":"1399774313","filename":"file1"},{"photo_id":"1399774273","filename":"file0"},{"photo_id":"1399774349","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399774349":["hashtag1","hashtag2"]},{"1399774313":["hashtag1","hashtag2"]},{"1399774273":["hashtag1","hashtag2"]},{"1399774429":["hashtag1","hashtag2"]},{"1399774318":["hashtag1","hashtag2"]},{"1399774389":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399774349, 1399774313, 1399774273, 1399774429, 1399774318, 1399774389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29447150230408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:55:02.830219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_35_9668.jpg', '/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_45_9897.jpg', '/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_54_9612.jpg', '/home/pi/Desktop/images/17122025/10/50/image_17122025_10_51_05_10700.jpg', '/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_15_9790.jpg', '/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_25_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_35_9668.jpg
/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_45_9897.jpg
/home/pi/Desktop/images/17122025/10/50/image_17122025_10_50_54_9612.jpg
/home/pi/Desktop/images/17122025/10/50/image_17122025_10_51_05_10700.jpg
/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_15_9790.jpg
/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_25_9566.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":["1399774805","1399774909","1399774587","1399774848","1399774749","1399774659"],"photo_ids_order":["1399774587","1399774659","1399774749","1399774805","1399774848","1399774909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27ead6f17e0aba3e729954387ea6e89b.jpg","text":"TemporaryFile(/tmp/multipartBody336545679995505190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965363505,"filename":"image_17122025_10_51_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c90ff1a97592af379cf6f4130a32449b.jpg","text":"TemporaryFile(/tmp/multipartBody8968853385569543793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965363505,"filename":"image_17122025_10_51_25_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d9ccda660908628f49c10c5ef8c3346.jpg","text":"TemporaryFile(/tmp/multipartBody8262861877126492594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965363505,"filename":"image_17122025_10_50_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f122aa1d5df0e4e2054ee7888146b9b2.jpg","text":"TemporaryFile(/tmp/multipartBody4352153279174521873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965363505,"filename":"image_17122025_10_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/2025/12/17/b2543fd26bf473c2251290ad0dbf0e41.jpg","text":"TemporaryFile(/tmp/multipartBody5531234927850522095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965363505,"filename":"image_17122025_10_50_54_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ef704e29d8fa451b7c4882a19d59186.jpg","text":"TemporaryFile(/tmp/multipartBody341274990317260603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965363505,"filename":"image_17122025_10_50_45_9897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399774749","file1":"1399774659","file0":"1399774587","file4":"1399774848","file5":"1399774909","file3":"1399774805"},"map_files_photo_id_array":[{"photo_id":"1399774909","filename":"file5"},{"photo_id":"1399774749","filename":"file2"},{"photo_id":"1399774848","filename":"file4"},{"photo_id":"1399774659","filename":"file1"},{"photo_id":"1399774587","filename":"file0"},{"photo_id":"1399774805","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399774805":["hashtag1","hashtag2"]},{"1399774909":["hashtag1","hashtag2"]},{"1399774587":["hashtag1","hashtag2"]},{"1399774848":["hashtag1","hashtag2"]},{"1399774749":["hashtag1","hashtag2"]},{"1399774659":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399774805, 1399774909, 1399774587, 1399774848, 1399774749, 1399774659)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.271058320999146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:56:02.840623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_35_10649.jpg', '/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_45_9641.jpg', '/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_55_9719.jpg', '/home/pi/Desktop/images/17122025/10/51/image_17122025_10_52_05_10647.jpg', '/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_15_9716.jpg', '/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_25_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_35_10649.jpg
/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_45_9641.jpg
/home/pi/Desktop/images/17122025/10/51/image_17122025_10_51_55_9719.jpg
/home/pi/Desktop/images/17122025/10/51/image_17122025_10_52_05_10647.jpg
/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_15_9716.jpg
/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_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":["1399775219","1399775194","1399775221","1399775218","1399775217","1399775220"],"photo_ids_order":["1399775194","1399775217","1399775218","1399775219","1399775220","1399775221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26f9da53f2482f7a54bb863c19d9bf0c.jpg","text":"TemporaryFile(/tmp/multipartBody6800047003961191081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965423498,"filename":"image_17122025_10_52_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b96f28207c09055c2225e17400ec75e0.jpg","text":"TemporaryFile(/tmp/multipartBody6324031495753696072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965423498,"filename":"image_17122025_10_51_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bff272f489e0c53db370d2d9a8ca8959.jpg","text":"TemporaryFile(/tmp/multipartBody8652126634012853596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965423498,"filename":"image_17122025_10_52_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d56686628ff3ac37b4b540ee4a0d4186.jpg","text":"TemporaryFile(/tmp/multipartBody2697973730051876192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965423498,"filename":"image_17122025_10_51_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4fdfb44dab197741e5cd3d719b1015a.jpg","text":"TemporaryFile(/tmp/multipartBody4008729035034453325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965423498,"filename":"image_17122025_10_51_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdc35ac783f8a97b828aa5015b62e32c.jpg","text":"TemporaryFile(/tmp/multipartBody4577701148460285588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965423498,"filename":"image_17122025_10_52_15_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399775218","file1":"1399775217","file0":"1399775194","file4":"1399775220","file5":"1399775221","file3":"1399775219"},"map_files_photo_id_array":[{"photo_id":"1399775221","filename":"file5"},{"photo_id":"1399775218","filename":"file2"},{"photo_id":"1399775220","filename":"file4"},{"photo_id":"1399775217","filename":"file1"},{"photo_id":"1399775194","filename":"file0"},{"photo_id":"1399775219","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399775219":["hashtag1","hashtag2"]},{"1399775194":["hashtag1","hashtag2"]},{"1399775221":["hashtag1","hashtag2"]},{"1399775218":["hashtag1","hashtag2"]},{"1399775217":["hashtag1","hashtag2"]},{"1399775220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399775219, 1399775194, 1399775221, 1399775218, 1399775217, 1399775220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24447703361511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:56:42.385773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_36_1785.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_42_6174.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_47_4284.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_51_2160.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_52_1645.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_54_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_36_1785.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_42_6174.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_47_4284.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_51_2160.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_52_1645.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_54_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399775246","1399775287","1399775413","1399775358","1399775322","1399775396"],"photo_ids_order":["1399775246","1399775287","1399775322","1399775358","1399775396","1399775413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f91922c4a30c847d968a1a638bb54eb5.jpg","text":"TemporaryFile(/tmp/multipartBody8496297464350981990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965463247,"filename":"image_07112025_18_55_36_1785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b83aaa3cc52024c38bcfb57959ba22c.jpg","text":"TemporaryFile(/tmp/multipartBody2717569389093548995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965463247,"filename":"image_07112025_18_55_42_6174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31c3b1f104cd790381e1523e9b144adc.jpg","text":"TemporaryFile(/tmp/multipartBody5091271420747158186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965463247,"filename":"image_07112025_18_55_54_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b4b9611e70693fde0012534b01583dd.jpg","text":"TemporaryFile(/tmp/multipartBody953442847697030001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965463247,"filename":"image_07112025_18_55_51_2160.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc786f3fb974b8c090404328b6a39ccf.jpg","text":"TemporaryFile(/tmp/multipartBody3794624795401589980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965463247,"filename":"image_07112025_18_55_47_4284.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1effd67a66870e0937627dc6e1f70ef1.jpg","text":"TemporaryFile(/tmp/multipartBody4634495030145402718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965463247,"filename":"image_07112025_18_55_52_1645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399775322","file1":"1399775287","file0":"1399775246","file4":"1399775396","file5":"1399775413","file3":"1399775358"},"map_files_photo_id_array":[{"photo_id":"1399775413","filename":"file5"},{"photo_id":"1399775322","filename":"file2"},{"photo_id":"1399775396","filename":"file4"},{"photo_id":"1399775287","filename":"file1"},{"photo_id":"1399775246","filename":"file0"},{"photo_id":"1399775358","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399775246":["hashtag1","hashtag2"]},{"1399775287":["hashtag1","hashtag2"]},{"1399775413":["hashtag1","hashtag2"]},{"1399775358":["hashtag1","hashtag2"]},{"1399775322":["hashtag1","hashtag2"]},{"1399775396":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399775246, 1399775287, 1399775413, 1399775358, 1399775322, 1399775396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37068963050842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 10:57:22.633596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_35_10819.jpg', '/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_45_9944.jpg', '/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_55_9665.jpg', '/home/pi/Desktop/images/17122025/10/52/image_17122025_10_53_05_9748.jpg', '/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_15_10709.jpg', '/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_25_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_35_10819.jpg
/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_45_9944.jpg
/home/pi/Desktop/images/17122025/10/52/image_17122025_10_52_55_9665.jpg
/home/pi/Desktop/images/17122025/10/52/image_17122025_10_53_05_9748.jpg
/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_15_10709.jpg
/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_25_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399775537","1399775419","1399775506","1399775434","1399775469","1399775418"],"photo_ids_order":["1399775418","1399775419","1399775434","1399775469","1399775506","1399775537"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9350bc1af30257c241a65303ad5e204f.jpg","text":"TemporaryFile(/tmp/multipartBody6472098855348194952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965503270,"filename":"image_17122025_10_53_25_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e34d5faa763b9dca1193d70bef15f18d.jpg","text":"TemporaryFile(/tmp/multipartBody2565908946925871978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965503270,"filename":"image_17122025_10_52_45_9944.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a16ac85f8a958c4f86c126d0bd933900.jpg","text":"TemporaryFile(/tmp/multipartBody3719530907165855240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965503270,"filename":"image_17122025_10_53_15_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6694127b996b4b36760fd0b8b78f3252.jpg","text":"TemporaryFile(/tmp/multipartBody2178149207828455469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965503270,"filename":"image_17122025_10_52_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af6df1683b1a4a340fe6283a57c7b396.jpg","text":"TemporaryFile(/tmp/multipartBody1069290685209345465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965503270,"filename":"image_17122025_10_53_05_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/553c786034f0cb5376d3f6995e628997.jpg","text":"TemporaryFile(/tmp/multipartBody8594954723133485927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965503270,"filename":"image_17122025_10_52_35_10819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399775434","file1":"1399775419","file0":"1399775418","file4":"1399775506","file5":"1399775537","file3":"1399775469"},"map_files_photo_id_array":[{"photo_id":"1399775537","filename":"file5"},{"photo_id":"1399775434","filename":"file2"},{"photo_id":"1399775506","filename":"file4"},{"photo_id":"1399775419","filename":"file1"},{"photo_id":"1399775418","filename":"file0"},{"photo_id":"1399775469","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399775537":["hashtag1","hashtag2"]},{"1399775419":["hashtag1","hashtag2"]},{"1399775506":["hashtag1","hashtag2"]},{"1399775434":["hashtag1","hashtag2"]},{"1399775469":["hashtag1","hashtag2"]},{"1399775418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399775537, 1399775419, 1399775506, 1399775434, 1399775469, 1399775418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77862191200256 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 10:59:02.846947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_35_9798.jpg', '/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_45_9667.jpg', '/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_55_10624.jpg', '/home/pi/Desktop/images/17122025/10/53/image_17122025_10_54_05_9943.jpg', '/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_15_9688.jpg', '/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_25_9546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_35_9798.jpg
/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_45_9667.jpg
/home/pi/Desktop/images/17122025/10/53/image_17122025_10_53_55_10624.jpg
/home/pi/Desktop/images/17122025/10/53/image_17122025_10_54_05_9943.jpg
/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_15_9688.jpg
/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_25_9546.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399775957","1399775942","1399775939","1399775961","1399775928","1399775901"],"photo_ids_order":["1399775901","1399775928","1399775939","1399775942","1399775957","1399775961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c4d9f964f9df3eab6a057e9cced1d6f.jpg","text":"TemporaryFile(/tmp/multipartBody5816299478509391478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965603740,"filename":"image_17122025_10_54_15_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1535494f70ac4a4a7a1f2133692695dc.jpg","text":"TemporaryFile(/tmp/multipartBody2596632641098634390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965603740,"filename":"image_17122025_10_54_05_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44dfbe6e3500f2f55f3b333ae23e02d3.jpg","text":"TemporaryFile(/tmp/multipartBody6187295468344064858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965603740,"filename":"image_17122025_10_53_55_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/163e5614e9080d66f611cc90226a5407.jpg","text":"TemporaryFile(/tmp/multipartBody5912829129979357014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965603740,"filename":"image_17122025_10_54_25_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f411dc993e4f61a290163e869a80fc3b.jpg","text":"TemporaryFile(/tmp/multipartBody8335576521748909173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965603740,"filename":"image_17122025_10_53_45_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/503544dd40675e086a5c4b24ea3fb385.jpg","text":"TemporaryFile(/tmp/multipartBody2267783178354370517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965603740,"filename":"image_17122025_10_53_35_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399775939","file1":"1399775928","file0":"1399775901","file4":"1399775957","file5":"1399775961","file3":"1399775942"},"map_files_photo_id_array":[{"photo_id":"1399775961","filename":"file5"},{"photo_id":"1399775939","filename":"file2"},{"photo_id":"1399775957","filename":"file4"},{"photo_id":"1399775928","filename":"file1"},{"photo_id":"1399775901","filename":"file0"},{"photo_id":"1399775942","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399775957":["hashtag1","hashtag2"]},{"1399775942":["hashtag1","hashtag2"]},{"1399775939":["hashtag1","hashtag2"]},{"1399775961":["hashtag1","hashtag2"]},{"1399775928":["hashtag1","hashtag2"]},{"1399775901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399775957, 1399775942, 1399775939, 1399775961, 1399775928, 1399775901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.144949197769165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 10:59:41.892156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_55_1602.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_57_1726.jpg', '/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_59_1749.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_04_2678.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_07_2456.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_10_3677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_55_1602.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_57_1726.jpg
/home/pi/Desktop/images/07112025/18/55/image_07112025_18_55_59_1749.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_04_2678.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_07_2456.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_10_3677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399775974","1399775962","1399775965","1399775968","1399775970","1399775972"],"photo_ids_order":["1399775962","1399775965","1399775968","1399775970","1399775972","1399775974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bfd52fe778c773757f40f542bf83c9e9.jpg","text":"TemporaryFile(/tmp/multipartBody3048872215039531696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965642668,"filename":"image_07112025_18_56_10_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d584beb8be78bd3807f909ce8135c02f.jpg","text":"TemporaryFile(/tmp/multipartBody7840046737012603994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965642668,"filename":"image_07112025_18_55_55_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/670c1cc8346c95d5c8580ec8c79c88c6.jpg","text":"TemporaryFile(/tmp/multipartBody7413743513365121010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965642668,"filename":"image_07112025_18_55_57_1726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9835f408a05b3b66861ea429f8536c5.jpg","text":"TemporaryFile(/tmp/multipartBody8676516568432641271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965642668,"filename":"image_07112025_18_55_59_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a359518fd380e08a98d37ac80d7de9e.jpg","text":"TemporaryFile(/tmp/multipartBody5851426042893383112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965642668,"filename":"image_07112025_18_56_04_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18290053ad0bc18cd84c4988ff8f35e5.jpg","text":"TemporaryFile(/tmp/multipartBody6104585962228023478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965642668,"filename":"image_07112025_18_56_07_2456.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399775968","file1":"1399775965","file0":"1399775962","file4":"1399775972","file5":"1399775974","file3":"1399775970"},"map_files_photo_id_array":[{"photo_id":"1399775974","filename":"file5"},{"photo_id":"1399775968","filename":"file2"},{"photo_id":"1399775972","filename":"file4"},{"photo_id":"1399775965","filename":"file1"},{"photo_id":"1399775962","filename":"file0"},{"photo_id":"1399775970","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399775974":["hashtag1","hashtag2"]},{"1399775962":["hashtag1","hashtag2"]},{"1399775965":["hashtag1","hashtag2"]},{"1399775968":["hashtag1","hashtag2"]},{"1399775970":["hashtag1","hashtag2"]},{"1399775972":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399775974, 1399775962, 1399775965, 1399775968, 1399775970, 1399775972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77902388572693 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:00:22.242478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_35_10663.jpg', '/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_45_9764.jpg', '/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_55_9631.jpg', '/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_13_10054.jpg', '/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_24_10572.jpg', '/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_34_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_35_10663.jpg
/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_45_9764.jpg
/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_55_9631.jpg
/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_13_10054.jpg
/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_24_10572.jpg
/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_34_9666.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5553934574127197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 11:00:32.161955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:00:42.126431
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_15_2651.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_19_3597.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_22_2661.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_24_2618.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_30_1606.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_34_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_15_2651.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_19_3597.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_22_2661.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_24_2618.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_30_1606.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_34_3670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776175","1399776256","1399776217","1399776294","1399776148","1399776279"],"photo_ids_order":["1399776148","1399776175","1399776217","1399776256","1399776279","1399776294"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41c2c3c983559926f714fc4f07fb9140.jpg","text":"TemporaryFile(/tmp/multipartBody1501660240065549575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965702897,"filename":"image_07112025_18_56_19_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97f4e8a2f7f6142aec3585b61f36522e.jpg","text":"TemporaryFile(/tmp/multipartBody7979553697950508646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965702897,"filename":"image_07112025_18_56_24_2618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8812856eb979344e3ebbd6e63a6cee6b.jpg","text":"TemporaryFile(/tmp/multipartBody5086185610235554637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965702897,"filename":"image_07112025_18_56_22_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7e3210246704bea3dfdc142b3a0fe54.jpg","text":"TemporaryFile(/tmp/multipartBody8624058940498355804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965702897,"filename":"image_07112025_18_56_34_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6369e874cfd48cf9879d96e53bad42fd.jpg","text":"TemporaryFile(/tmp/multipartBody3569660115607991706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965702897,"filename":"image_07112025_18_56_15_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32cf10d98f770dd6c46ba7b4271d332d.jpg","text":"TemporaryFile(/tmp/multipartBody1023351214180100664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965702897,"filename":"image_07112025_18_56_30_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776217","file1":"1399776175","file0":"1399776148","file4":"1399776279","file5":"1399776294","file3":"1399776256"},"map_files_photo_id_array":[{"photo_id":"1399776294","filename":"file5"},{"photo_id":"1399776217","filename":"file2"},{"photo_id":"1399776279","filename":"file4"},{"photo_id":"1399776175","filename":"file1"},{"photo_id":"1399776148","filename":"file0"},{"photo_id":"1399776256","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776175":["hashtag1","hashtag2"]},{"1399776256":["hashtag1","hashtag2"]},{"1399776217":["hashtag1","hashtag2"]},{"1399776294":["hashtag1","hashtag2"]},{"1399776148":["hashtag1","hashtag2"]},{"1399776279":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776175, 1399776256, 1399776217, 1399776294, 1399776148, 1399776279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.546714305877686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:01:22.377581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_35_10663.jpg', '/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_45_9764.jpg', '/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_55_9631.jpg', '/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_13_10054.jpg', '/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_24_10572.jpg', '/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_34_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_35_10663.jpg
/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_45_9764.jpg
/home/pi/Desktop/images/17122025/10/54/image_17122025_10_54_55_9631.jpg
/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_13_10054.jpg
/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_24_10572.jpg
/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_34_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":["1399776367","1399776363","1399776357","1399776360","1399776356","1399776359"],"photo_ids_order":["1399776356","1399776357","1399776359","1399776360","1399776363","1399776367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c54faad15ef24ad45da5c9f1ee82b277.jpg","text":"TemporaryFile(/tmp/multipartBody6667872301689101264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965743001,"filename":"image_17122025_10_55_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa499f86fa07b31b7ab6432bb9839c41.jpg","text":"TemporaryFile(/tmp/multipartBody9212182717336529505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965743001,"filename":"image_17122025_10_55_24_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/241397bf58489d40a6af4b1dafa88389.jpg","text":"TemporaryFile(/tmp/multipartBody1121023726638251080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965743001,"filename":"image_17122025_10_54_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22aacc449264a16c627ec01e189c8d6c.jpg","text":"TemporaryFile(/tmp/multipartBody6961758612566073830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965743001,"filename":"image_17122025_10_55_13_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/938b07ec4a6bee70178517947cdebb2d.jpg","text":"TemporaryFile(/tmp/multipartBody3458804096016032584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965743001,"filename":"image_17122025_10_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/2025/12/17/f94e587c0d7ea70bccdd3629bf2d7642.jpg","text":"TemporaryFile(/tmp/multipartBody1086097905792552892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965743001,"filename":"image_17122025_10_54_55_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776359","file1":"1399776357","file0":"1399776356","file4":"1399776363","file5":"1399776367","file3":"1399776360"},"map_files_photo_id_array":[{"photo_id":"1399776367","filename":"file5"},{"photo_id":"1399776359","filename":"file2"},{"photo_id":"1399776363","filename":"file4"},{"photo_id":"1399776357","filename":"file1"},{"photo_id":"1399776356","filename":"file0"},{"photo_id":"1399776360","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776367":["hashtag1","hashtag2"]},{"1399776363":["hashtag1","hashtag2"]},{"1399776357":["hashtag1","hashtag2"]},{"1399776360":["hashtag1","hashtag2"]},{"1399776356":["hashtag1","hashtag2"]},{"1399776359":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776367, 1399776363, 1399776357, 1399776360, 1399776356, 1399776359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.745551347732544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:02:03.018411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_44_10558.jpg', '/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_54_9737.jpg', '/home/pi/Desktop/images/17122025/10/55/image_17122025_10_56_04_9879.jpg', '/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_13_9664.jpg', '/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_24_10635.jpg', '/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_34_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_44_10558.jpg
/home/pi/Desktop/images/17122025/10/55/image_17122025_10_55_54_9737.jpg
/home/pi/Desktop/images/17122025/10/55/image_17122025_10_56_04_9879.jpg
/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_13_9664.jpg
/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_24_10635.jpg
/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_34_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":["1399776373","1399776376","1399776375","1399776378","1399776380","1399776377"],"photo_ids_order":["1399776373","1399776375","1399776376","1399776377","1399776378","1399776380"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b3a56f065e530bd100895877b3c12e9.jpg","text":"TemporaryFile(/tmp/multipartBody1600075119859531031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965783705,"filename":"image_17122025_10_55_44_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6e90e7d1212621690cf9e600aa8cec9.jpg","text":"TemporaryFile(/tmp/multipartBody2651115022938082080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965783705,"filename":"image_17122025_10_56_04_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/169514e65c6e85abe62ec8c1cf004728.jpg","text":"TemporaryFile(/tmp/multipartBody7745053096292304257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965783705,"filename":"image_17122025_10_55_54_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/180752bf3416233d11a74e3774295419.jpg","text":"TemporaryFile(/tmp/multipartBody4244046079818459495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965783705,"filename":"image_17122025_10_56_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd9844695e19256772aacf245179480f.jpg","text":"TemporaryFile(/tmp/multipartBody1845801133864577189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965783705,"filename":"image_17122025_10_56_34_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24977b755aaf15cd65c5bb0b51c89fe3.jpg","text":"TemporaryFile(/tmp/multipartBody7575550265163974455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965783705,"filename":"image_17122025_10_56_13_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776376","file1":"1399776375","file0":"1399776373","file4":"1399776378","file5":"1399776380","file3":"1399776377"},"map_files_photo_id_array":[{"photo_id":"1399776380","filename":"file5"},{"photo_id":"1399776376","filename":"file2"},{"photo_id":"1399776378","filename":"file4"},{"photo_id":"1399776375","filename":"file1"},{"photo_id":"1399776373","filename":"file0"},{"photo_id":"1399776377","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776373":["hashtag1","hashtag2"]},{"1399776376":["hashtag1","hashtag2"]},{"1399776375":["hashtag1","hashtag2"]},{"1399776378":["hashtag1","hashtag2"]},{"1399776380":["hashtag1","hashtag2"]},{"1399776377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776373, 1399776376, 1399776375, 1399776378, 1399776380, 1399776377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98004698753357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:02:42.563930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_39_5422.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_44_1572.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_46_1667.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_49_2769.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_55_3656.jpg', '/home/pi/Desktop/images/07112025/18/56/image_07112025_18_57_00_2745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_39_5422.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_44_1572.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_46_1667.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_49_2769.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_56_55_3656.jpg
/home/pi/Desktop/images/07112025/18/56/image_07112025_18_57_00_2745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776401","1399776385","1399776415","1399776409","1399776393","1399776404"],"photo_ids_order":["1399776385","1399776393","1399776401","1399776404","1399776409","1399776415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e95257c4204e05a957e46aba0b0d50a6.jpg","text":"TemporaryFile(/tmp/multipartBody5428732671244724619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965823329,"filename":"image_07112025_18_56_46_1667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/636a15d9430bc5e016b9d5bf665a7432.jpg","text":"TemporaryFile(/tmp/multipartBody1416631479643108894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965823329,"filename":"image_07112025_18_56_39_5422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0fa5b0df9cb7447b72ad73945b1e793.jpg","text":"TemporaryFile(/tmp/multipartBody820130362559751995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965823329,"filename":"image_07112025_18_57_00_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee60e2e82d0babb0a55b21ba075fa6cc.jpg","text":"TemporaryFile(/tmp/multipartBody6834159385706532331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965823329,"filename":"image_07112025_18_56_55_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1cd81f9e6bd8ca3f4f6fb4a85c63da8.jpg","text":"TemporaryFile(/tmp/multipartBody4090256778692298922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965823329,"filename":"image_07112025_18_56_44_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0fa07f0ef6fa4a66c167505e9440f4ff.jpg","text":"TemporaryFile(/tmp/multipartBody8854166462292836538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965823329,"filename":"image_07112025_18_56_49_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776401","file1":"1399776393","file0":"1399776385","file4":"1399776409","file5":"1399776415","file3":"1399776404"},"map_files_photo_id_array":[{"photo_id":"1399776415","filename":"file5"},{"photo_id":"1399776401","filename":"file2"},{"photo_id":"1399776409","filename":"file4"},{"photo_id":"1399776393","filename":"file1"},{"photo_id":"1399776385","filename":"file0"},{"photo_id":"1399776404","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776401":["hashtag1","hashtag2"]},{"1399776385":["hashtag1","hashtag2"]},{"1399776415":["hashtag1","hashtag2"]},{"1399776409":["hashtag1","hashtag2"]},{"1399776393":["hashtag1","hashtag2"]},{"1399776404":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776401, 1399776385, 1399776415, 1399776409, 1399776393, 1399776404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.31332087516785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:03:21.881752
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_44_9712.jpg', '/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_54_10674.jpg', '/home/pi/Desktop/images/17122025/10/56/image_17122025_10_57_04_9576.jpg', '/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_14_9602.jpg', '/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_24_10745.jpg', '/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_34_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_44_9712.jpg
/home/pi/Desktop/images/17122025/10/56/image_17122025_10_56_54_10674.jpg
/home/pi/Desktop/images/17122025/10/56/image_17122025_10_57_04_9576.jpg
/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_14_9602.jpg
/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_24_10745.jpg
/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_34_9564.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776428","1399776421","1399776423","1399776417","1399776425","1399776419"],"photo_ids_order":["1399776417","1399776419","1399776421","1399776423","1399776425","1399776428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c90588f50ee02b6599bd404d630e2d0d.jpg","text":"TemporaryFile(/tmp/multipartBody1037377814750005734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965862538,"filename":"image_17122025_10_57_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60a1abb30afdc380fedab37442388f28.jpg","text":"TemporaryFile(/tmp/multipartBody2464200008447585979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965862538,"filename":"image_17122025_10_57_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0c821854c5704d212d3076ad9408da6.jpg","text":"TemporaryFile(/tmp/multipartBody618745551021497797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965862538,"filename":"image_17122025_10_57_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/025f680262f1c0f95f68a0b91858f29a.jpg","text":"TemporaryFile(/tmp/multipartBody6200549893185223249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965862538,"filename":"image_17122025_10_56_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c06feeeef3933946464fb5d930c54ec5.jpg","text":"TemporaryFile(/tmp/multipartBody2102668058817685533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965862538,"filename":"image_17122025_10_57_24_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62ed7b2fcc2a859f3d64582796beff3b.jpg","text":"TemporaryFile(/tmp/multipartBody3919261414221660184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965862538,"filename":"image_17122025_10_56_54_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776421","file1":"1399776419","file0":"1399776417","file4":"1399776425","file5":"1399776428","file3":"1399776423"},"map_files_photo_id_array":[{"photo_id":"1399776428","filename":"file5"},{"photo_id":"1399776421","filename":"file2"},{"photo_id":"1399776425","filename":"file4"},{"photo_id":"1399776419","filename":"file1"},{"photo_id":"1399776417","filename":"file0"},{"photo_id":"1399776423","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776428":["hashtag1","hashtag2"]},{"1399776421":["hashtag1","hashtag2"]},{"1399776423":["hashtag1","hashtag2"]},{"1399776417":["hashtag1","hashtag2"]},{"1399776425":["hashtag1","hashtag2"]},{"1399776419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776428, 1399776421, 1399776423, 1399776417, 1399776425, 1399776419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6571786403656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:04:02.723753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_44_9689.jpg', '/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_54_10769.jpg', '/home/pi/Desktop/images/17122025/10/57/image_17122025_10_58_04_9820.jpg', '/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_14_9861.jpg', '/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_24_9607.jpg', '/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_34_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_44_9689.jpg
/home/pi/Desktop/images/17122025/10/57/image_17122025_10_57_54_10769.jpg
/home/pi/Desktop/images/17122025/10/57/image_17122025_10_58_04_9820.jpg
/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_14_9861.jpg
/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_24_9607.jpg
/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_34_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":["1399776434","1399776433","1399776436","1399776430","1399776432","1399776431"],"photo_ids_order":["1399776430","1399776431","1399776432","1399776433","1399776434","1399776436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fc22a1c40d87f2e8ea063bc3907a4fa.jpg","text":"TemporaryFile(/tmp/multipartBody3282737209578651590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965903451,"filename":"image_17122025_10_58_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3172a0d6b4bd8853ccfe9e94c202ed0b.jpg","text":"TemporaryFile(/tmp/multipartBody6427195697625311306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965903451,"filename":"image_17122025_10_58_14_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/433dc179150970fd2e9cef826f72027c.jpg","text":"TemporaryFile(/tmp/multipartBody8859580854209972314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965903451,"filename":"image_17122025_10_58_34_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b526ab973416700b5c7eae3ccbac027.jpg","text":"TemporaryFile(/tmp/multipartBody6778618893018940582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965903451,"filename":"image_17122025_10_57_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc16272e68d4ec625b5710c355f6763b.jpg","text":"TemporaryFile(/tmp/multipartBody8911784888156101243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965903451,"filename":"image_17122025_10_58_04_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e3584e1bacdf357b343c6495635c818.jpg","text":"TemporaryFile(/tmp/multipartBody2524499331072083722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965903451,"filename":"image_17122025_10_57_54_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776432","file1":"1399776431","file0":"1399776430","file4":"1399776434","file5":"1399776436","file3":"1399776433"},"map_files_photo_id_array":[{"photo_id":"1399776436","filename":"file5"},{"photo_id":"1399776432","filename":"file2"},{"photo_id":"1399776434","filename":"file4"},{"photo_id":"1399776431","filename":"file1"},{"photo_id":"1399776430","filename":"file0"},{"photo_id":"1399776433","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776434":["hashtag1","hashtag2"]},{"1399776433":["hashtag1","hashtag2"]},{"1399776436":["hashtag1","hashtag2"]},{"1399776430":["hashtag1","hashtag2"]},{"1399776432":["hashtag1","hashtag2"]},{"1399776431":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776434, 1399776433, 1399776436, 1399776430, 1399776432, 1399776431)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52849626541138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:04:42.043291
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_03_2690.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_08_5069.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_10_1677.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_14_4351.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_16_1660.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_19_2621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_03_2690.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_08_5069.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_10_1677.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_14_4351.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_16_1660.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_19_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":["1399776463","1399776457","1399776462","1399776453","1399776455","1399776446"],"photo_ids_order":["1399776446","1399776453","1399776455","1399776457","1399776462","1399776463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ab3ef23915eefc716c795e4b2c77c89.jpg","text":"TemporaryFile(/tmp/multipartBody1806412755872538027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965942811,"filename":"image_07112025_18_57_19_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/216faa22d41b7e11959d76bcbabbb01a.jpg","text":"TemporaryFile(/tmp/multipartBody4737024244602840509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965942811,"filename":"image_07112025_18_57_14_4351.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/812bc7c4c93e85b591010fb8d8aae258.jpg","text":"TemporaryFile(/tmp/multipartBody7474039796398945049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965942811,"filename":"image_07112025_18_57_16_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f710e003b790b84f6d30bfca57f72d8f.jpg","text":"TemporaryFile(/tmp/multipartBody8689873443249468551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965942811,"filename":"image_07112025_18_57_08_5069.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed5361152d3c0181acd66e1621efb9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1323051661568568483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965942811,"filename":"image_07112025_18_57_10_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c2c38059265711452b80c382ebc1a13.jpg","text":"TemporaryFile(/tmp/multipartBody312584033626891382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965942811,"filename":"image_07112025_18_57_03_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776455","file1":"1399776453","file0":"1399776446","file4":"1399776462","file5":"1399776463","file3":"1399776457"},"map_files_photo_id_array":[{"photo_id":"1399776463","filename":"file5"},{"photo_id":"1399776455","filename":"file2"},{"photo_id":"1399776462","filename":"file4"},{"photo_id":"1399776453","filename":"file1"},{"photo_id":"1399776446","filename":"file0"},{"photo_id":"1399776457","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776463":["hashtag1","hashtag2"]},{"1399776457":["hashtag1","hashtag2"]},{"1399776462":["hashtag1","hashtag2"]},{"1399776453":["hashtag1","hashtag2"]},{"1399776455":["hashtag1","hashtag2"]},{"1399776446":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776463, 1399776457, 1399776462, 1399776453, 1399776455, 1399776446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.536593198776245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:05:22.317485
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_44_10021.jpg', '/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_54_9765.jpg', '/home/pi/Desktop/images/17122025/10/58/image_17122025_10_59_04_9660.jpg', '/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_14_10593.jpg', '/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_24_9668.jpg', '/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_34_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_44_10021.jpg
/home/pi/Desktop/images/17122025/10/58/image_17122025_10_58_54_9765.jpg
/home/pi/Desktop/images/17122025/10/58/image_17122025_10_59_04_9660.jpg
/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_14_10593.jpg
/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_24_9668.jpg
/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_34_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776478","1399776475","1399776471","1399776468","1399776473","1399776476"],"photo_ids_order":["1399776468","1399776471","1399776473","1399776475","1399776476","1399776478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f091b8d5aefa0a4d6a09e1487d8f65ec.jpg","text":"TemporaryFile(/tmp/multipartBody1301249229792684906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965982944,"filename":"image_17122025_10_59_34_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fb44b063af20649aabd9384a01e97dc.jpg","text":"TemporaryFile(/tmp/multipartBody5846796779793349572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965982944,"filename":"image_17122025_10_59_14_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ede2663d4f7308fe4b79d4f69f8b7c17.jpg","text":"TemporaryFile(/tmp/multipartBody2282271564472674015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965982944,"filename":"image_17122025_10_58_54_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1474ffada2c7cd6fb2edbb0c0a62bb7f.jpg","text":"TemporaryFile(/tmp/multipartBody7758608395817925299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965982944,"filename":"image_17122025_10_58_44_10021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be40f1e6303acaf950be98c65323059f.jpg","text":"TemporaryFile(/tmp/multipartBody3399690847686928780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965982944,"filename":"image_17122025_10_59_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16e070dd9487d58ead5b419ba82b6c59.jpg","text":"TemporaryFile(/tmp/multipartBody3573281203584706564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765965982944,"filename":"image_17122025_10_59_24_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776473","file1":"1399776471","file0":"1399776468","file4":"1399776476","file5":"1399776478","file3":"1399776475"},"map_files_photo_id_array":[{"photo_id":"1399776478","filename":"file5"},{"photo_id":"1399776473","filename":"file2"},{"photo_id":"1399776476","filename":"file4"},{"photo_id":"1399776471","filename":"file1"},{"photo_id":"1399776468","filename":"file0"},{"photo_id":"1399776475","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776478":["hashtag1","hashtag2"]},{"1399776475":["hashtag1","hashtag2"]},{"1399776471":["hashtag1","hashtag2"]},{"1399776468":["hashtag1","hashtag2"]},{"1399776473":["hashtag1","hashtag2"]},{"1399776476":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776478, 1399776475, 1399776471, 1399776468, 1399776473, 1399776476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26474356651306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:06:02.927976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_43_9675.jpg', '/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_54_10589.jpg', '/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_14_10054.jpg', '/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_25_10712.jpg', '/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_35_9805.jpg', '/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_43_9675.jpg
/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_54_10589.jpg
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_14_10054.jpg
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_25_10712.jpg
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_35_9805.jpg
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_44_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.5881047248840332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 11:06:12.448952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:06:22.547134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_43_9675.jpg', '/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_54_10589.jpg', '/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_14_10054.jpg', '/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_25_10712.jpg', '/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_35_9805.jpg', '/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_44_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_43_9675.jpg
/home/pi/Desktop/images/17122025/10/59/image_17122025_10_59_54_10589.jpg
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_14_10054.jpg
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_25_10712.jpg
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_35_9805.jpg
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_44_9611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776496","1399776490","1399776487","1399776492","1399776485","1399776488"],"photo_ids_order":["1399776485","1399776487","1399776488","1399776490","1399776492","1399776496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7d293d95accc10c730207026e1c8172.jpg","text":"TemporaryFile(/tmp/multipartBody3635475849745523046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966043174,"filename":"image_17122025_11_00_44_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1a6989324f5b2529861e330f58dc2fe.jpg","text":"TemporaryFile(/tmp/multipartBody1461274493264568803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966043174,"filename":"image_17122025_11_00_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3bd822349c18339609804dd9b83e5c19.jpg","text":"TemporaryFile(/tmp/multipartBody527674782029642572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966043174,"filename":"image_17122025_10_59_54_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/053735953c5ad93f47b8babdd340ac51.jpg","text":"TemporaryFile(/tmp/multipartBody9139653715164698759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966043174,"filename":"image_17122025_11_00_35_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa66c5d375fc544692ca4093312b4ed5.jpg","text":"TemporaryFile(/tmp/multipartBody6057079536183849900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966043174,"filename":"image_17122025_10_59_43_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ae61c42e1680c9fe998a136839dbf0a.jpg","text":"TemporaryFile(/tmp/multipartBody6065029014289088185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966043174,"filename":"image_17122025_11_00_14_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776488","file1":"1399776487","file0":"1399776485","file4":"1399776492","file5":"1399776496","file3":"1399776490"},"map_files_photo_id_array":[{"photo_id":"1399776496","filename":"file5"},{"photo_id":"1399776488","filename":"file2"},{"photo_id":"1399776492","filename":"file4"},{"photo_id":"1399776487","filename":"file1"},{"photo_id":"1399776485","filename":"file0"},{"photo_id":"1399776490","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776496":["hashtag1","hashtag2"]},{"1399776490":["hashtag1","hashtag2"]},{"1399776487":["hashtag1","hashtag2"]},{"1399776492":["hashtag1","hashtag2"]},{"1399776485":["hashtag1","hashtag2"]},{"1399776488":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776496, 1399776490, 1399776487, 1399776492, 1399776485, 1399776488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01789927482605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:07:03.365298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_55_10651.jpg', '/home/pi/Desktop/images/17122025/11/00/image_17122025_11_01_05_9854.jpg', '/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_14_9635.jpg', '/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_25_10647.jpg', '/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_35_9970.jpg', '/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_45_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_00_55_10651.jpg
/home/pi/Desktop/images/17122025/11/00/image_17122025_11_01_05_9854.jpg
/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_14_9635.jpg
/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_25_10647.jpg
/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_35_9970.jpg
/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_45_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":["1399776515","1399776553","1399776556","1399776552","1399776554","1399776530"],"photo_ids_order":["1399776515","1399776530","1399776552","1399776553","1399776554","1399776556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d04c91a066b0eeaf3230fc771707c52.jpg","text":"TemporaryFile(/tmp/multipartBody2718456363344089181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966084030,"filename":"image_17122025_11_00_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/640ab34237db62593e38971959d641ec.jpg","text":"TemporaryFile(/tmp/multipartBody4589579368555659610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966084030,"filename":"image_17122025_11_01_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bd652c1249a410bdda6cd6963e9f7f8.jpg","text":"TemporaryFile(/tmp/multipartBody6150012106231743089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966084030,"filename":"image_17122025_11_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/2025/12/17/ed9dc39c7df6ffa88db224003e36ecd6.jpg","text":"TemporaryFile(/tmp/multipartBody5954721361160882987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966084030,"filename":"image_17122025_11_01_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec6deabea96ac22809271ae65afa36a3.jpg","text":"TemporaryFile(/tmp/multipartBody6370709663587267977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966084030,"filename":"image_17122025_11_01_35_9970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d98ad35a963a27550d9fbe04a6c1881f.jpg","text":"TemporaryFile(/tmp/multipartBody948352141839130310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966084030,"filename":"image_17122025_11_01_05_9854.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776552","file1":"1399776530","file0":"1399776515","file4":"1399776554","file5":"1399776556","file3":"1399776553"},"map_files_photo_id_array":[{"photo_id":"1399776556","filename":"file5"},{"photo_id":"1399776552","filename":"file2"},{"photo_id":"1399776554","filename":"file4"},{"photo_id":"1399776530","filename":"file1"},{"photo_id":"1399776515","filename":"file0"},{"photo_id":"1399776553","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776515":["hashtag1","hashtag2"]},{"1399776553":["hashtag1","hashtag2"]},{"1399776556":["hashtag1","hashtag2"]},{"1399776552":["hashtag1","hashtag2"]},{"1399776554":["hashtag1","hashtag2"]},{"1399776530":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776515, 1399776553, 1399776556, 1399776552, 1399776554, 1399776530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9940402507782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:07:42.726681
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_24_2889.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_28_3616.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_30_2667.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_37_3835.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_40_2786.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_43_2790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_24_2889.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_28_3616.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_30_2667.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_37_3835.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_40_2786.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_43_2790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776562","1399776565","1399776564","1399776567","1399776566","1399776563"],"photo_ids_order":["1399776562","1399776563","1399776564","1399776565","1399776566","1399776567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7c1bc3b2a516b77214d769c398749ec.jpg","text":"TemporaryFile(/tmp/multipartBody6777645353547723028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966123498,"filename":"image_07112025_18_57_24_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/728e36c9e6258fe9bee2277ee23b253a.jpg","text":"TemporaryFile(/tmp/multipartBody9088091143449575540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966123498,"filename":"image_07112025_18_57_37_3835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0110efebc4f4bfaf2fb087e109a63c78.jpg","text":"TemporaryFile(/tmp/multipartBody7753989537759840881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966123498,"filename":"image_07112025_18_57_30_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16d0136e0d28da8f87e8f9424d5c7353.jpg","text":"TemporaryFile(/tmp/multipartBody8972253691074838435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966123498,"filename":"image_07112025_18_57_43_2790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/586c1db6acffefe6b111240bec7956f7.jpg","text":"TemporaryFile(/tmp/multipartBody879599994245662694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966123498,"filename":"image_07112025_18_57_40_2786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7aba75c5088b37b264b1596b8c969698.jpg","text":"TemporaryFile(/tmp/multipartBody128159637897773966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966123498,"filename":"image_07112025_18_57_28_3616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776564","file1":"1399776563","file0":"1399776562","file4":"1399776566","file5":"1399776567","file3":"1399776565"},"map_files_photo_id_array":[{"photo_id":"1399776567","filename":"file5"},{"photo_id":"1399776564","filename":"file2"},{"photo_id":"1399776566","filename":"file4"},{"photo_id":"1399776563","filename":"file1"},{"photo_id":"1399776562","filename":"file0"},{"photo_id":"1399776565","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776562":["hashtag1","hashtag2"]},{"1399776565":["hashtag1","hashtag2"]},{"1399776564":["hashtag1","hashtag2"]},{"1399776567":["hashtag1","hashtag2"]},{"1399776566":["hashtag1","hashtag2"]},{"1399776563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776562, 1399776565, 1399776564, 1399776567, 1399776566, 1399776563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99232339859009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:08:21.999354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_54_9791.jpg', '/home/pi/Desktop/images/17122025/11/01/image_17122025_11_02_04_9629.jpg', '/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_15_10726.jpg', '/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_25_9763.jpg', '/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_34_9556.jpg', '/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_45_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/01/image_17122025_11_01_54_9791.jpg
/home/pi/Desktop/images/17122025/11/01/image_17122025_11_02_04_9629.jpg
/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_15_10726.jpg
/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_25_9763.jpg
/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_34_9556.jpg
/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_45_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776580","1399776571","1399776574","1399776568","1399776573","1399776569"],"photo_ids_order":["1399776568","1399776569","1399776571","1399776573","1399776574","1399776580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c688bd7c1bf14f7b125340eb8afe693.jpg","text":"TemporaryFile(/tmp/multipartBody7569669103644362969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966162648,"filename":"image_17122025_11_02_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b832707f1d58761518af0d1b51ce1fe.jpg","text":"TemporaryFile(/tmp/multipartBody5510962046990348107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966162648,"filename":"image_17122025_11_02_15_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f79936645e979a47e468a999f22cb016.jpg","text":"TemporaryFile(/tmp/multipartBody246188783886404887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966162648,"filename":"image_17122025_11_02_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d875a434d4d3e3dc3a0c58bbfeb81f93.jpg","text":"TemporaryFile(/tmp/multipartBody6750849768103299646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966162648,"filename":"image_17122025_11_01_54_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3baaf40a6541eb49139dff2db66bcef6.jpg","text":"TemporaryFile(/tmp/multipartBody8040762794491880557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966162648,"filename":"image_17122025_11_02_25_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ccb5d53685394ae3f437c92933edafc.jpg","text":"TemporaryFile(/tmp/multipartBody721548384408933162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966162648,"filename":"image_17122025_11_02_04_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776571","file1":"1399776569","file0":"1399776568","file4":"1399776574","file5":"1399776580","file3":"1399776573"},"map_files_photo_id_array":[{"photo_id":"1399776580","filename":"file5"},{"photo_id":"1399776571","filename":"file2"},{"photo_id":"1399776574","filename":"file4"},{"photo_id":"1399776569","filename":"file1"},{"photo_id":"1399776568","filename":"file0"},{"photo_id":"1399776573","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776580":["hashtag1","hashtag2"]},{"1399776571":["hashtag1","hashtag2"]},{"1399776574":["hashtag1","hashtag2"]},{"1399776568":["hashtag1","hashtag2"]},{"1399776573":["hashtag1","hashtag2"]},{"1399776569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776580, 1399776571, 1399776574, 1399776568, 1399776573, 1399776569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81379961967468 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:09:03.139484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_54_9585.jpg', '/home/pi/Desktop/images/17122025/11/02/image_17122025_11_03_04_9842.jpg', '/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_15_10729.jpg', '/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_25_9648.jpg', '/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_34_9556.jpg', '/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_45_10764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/02/image_17122025_11_02_54_9585.jpg
/home/pi/Desktop/images/17122025/11/02/image_17122025_11_03_04_9842.jpg
/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_15_10729.jpg
/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_25_9648.jpg
/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_34_9556.jpg
/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_45_10764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776595","1399776592","1399776594","1399776597","1399776590","1399776593"],"photo_ids_order":["1399776590","1399776592","1399776593","1399776594","1399776595","1399776597"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6990427165dbfd98f6955a269697d17f.jpg","text":"TemporaryFile(/tmp/multipartBody8192954765134574962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966203948,"filename":"image_17122025_11_03_34_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3862285d5893840ec730708234c5676.jpg","text":"TemporaryFile(/tmp/multipartBody5781637137536595073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966203948,"filename":"image_17122025_11_03_04_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cd2d56cc64ed457274bab4d318e052f.jpg","text":"TemporaryFile(/tmp/multipartBody4499724290738224532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966203948,"filename":"image_17122025_11_03_25_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c248f2bd45d83a70278429908dd1c7bd.jpg","text":"TemporaryFile(/tmp/multipartBody4732880841484953814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966203948,"filename":"image_17122025_11_03_45_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5587fee8926dcbb349eb44d57b29d8ef.jpg","text":"TemporaryFile(/tmp/multipartBody2527313760024232210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966203948,"filename":"image_17122025_11_02_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6511cc4f4df3c1f891c6ad41272c0767.jpg","text":"TemporaryFile(/tmp/multipartBody4906295413068635911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966203948,"filename":"image_17122025_11_03_15_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776593","file1":"1399776592","file0":"1399776590","file4":"1399776595","file5":"1399776597","file3":"1399776594"},"map_files_photo_id_array":[{"photo_id":"1399776597","filename":"file5"},{"photo_id":"1399776593","filename":"file2"},{"photo_id":"1399776595","filename":"file4"},{"photo_id":"1399776592","filename":"file1"},{"photo_id":"1399776590","filename":"file0"},{"photo_id":"1399776594","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776595":["hashtag1","hashtag2"]},{"1399776592":["hashtag1","hashtag2"]},{"1399776594":["hashtag1","hashtag2"]},{"1399776597":["hashtag1","hashtag2"]},{"1399776590":["hashtag1","hashtag2"]},{"1399776593":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776595, 1399776592, 1399776594, 1399776597, 1399776590, 1399776593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46522378921509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:09:42.147982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_58_1650.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_59_1660.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_03_1739.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_05_2413.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_09_3646.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_12_1676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_58_1650.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_59_1660.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_03_1739.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_05_2413.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_09_3646.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_12_1676.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6579957008361816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:10:05.026975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_55_9627.jpg', '/home/pi/Desktop/images/17122025/11/03/image_17122025_11_04_04_9636.jpg', '/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_15_10827.jpg', '/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_25_9665.jpg', '/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_35_9834.jpg', '/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_44_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/03/image_17122025_11_03_55_9627.jpg
/home/pi/Desktop/images/17122025/11/03/image_17122025_11_04_04_9636.jpg
/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_15_10827.jpg
/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_25_9665.jpg
/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_35_9834.jpg
/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_44_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776611","1399776619","1399776610","1399776612","1399776609","1399776614"],"photo_ids_order":["1399776609","1399776610","1399776611","1399776612","1399776614","1399776619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12815f4411de696ed2489093013625cd.jpg","text":"TemporaryFile(/tmp/multipartBody158998313064566619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966265747,"filename":"image_17122025_11_04_15_10827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0345de1946ce8390f27e507c34342eb.jpg","text":"TemporaryFile(/tmp/multipartBody5757213535601847066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966265747,"filename":"image_17122025_11_04_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8022d93326cd797cef88b30db9a1d42d.jpg","text":"TemporaryFile(/tmp/multipartBody2688602646595999172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966265747,"filename":"image_17122025_11_04_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b296f18e820181aa01ad5a9fbdbffa5.jpg","text":"TemporaryFile(/tmp/multipartBody5722969486145199760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966265747,"filename":"image_17122025_11_04_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/926a8ebd9447f3fc8f69a76449b89b60.jpg","text":"TemporaryFile(/tmp/multipartBody9190682371242724587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966265747,"filename":"image_17122025_11_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/2025/12/17/1ca933f8bce8f58d48b5ec640c091149.jpg","text":"TemporaryFile(/tmp/multipartBody3294893327739585981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966265747,"filename":"image_17122025_11_04_35_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776611","file1":"1399776610","file0":"1399776609","file4":"1399776614","file5":"1399776619","file3":"1399776612"},"map_files_photo_id_array":[{"photo_id":"1399776619","filename":"file5"},{"photo_id":"1399776611","filename":"file2"},{"photo_id":"1399776614","filename":"file4"},{"photo_id":"1399776610","filename":"file1"},{"photo_id":"1399776609","filename":"file0"},{"photo_id":"1399776612","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776611":["hashtag1","hashtag2"]},{"1399776619":["hashtag1","hashtag2"]},{"1399776610":["hashtag1","hashtag2"]},{"1399776612":["hashtag1","hashtag2"]},{"1399776609":["hashtag1","hashtag2"]},{"1399776614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776611, 1399776619, 1399776610, 1399776612, 1399776609, 1399776614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.504502058029175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:10:44.603115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_58_1650.jpg', '/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_59_1660.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_03_1739.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_05_2413.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_09_3646.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_12_1676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_58_1650.jpg
/home/pi/Desktop/images/07112025/18/57/image_07112025_18_57_59_1660.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_03_1739.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_05_2413.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_09_3646.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_12_1676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776626","1399776631","1399776630","1399776624","1399776633","1399776629"],"photo_ids_order":["1399776624","1399776626","1399776629","1399776630","1399776631","1399776633"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1e01ecceabf127cd493e3d9466fe16a.jpg","text":"TemporaryFile(/tmp/multipartBody602748256192710570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966305241,"filename":"image_07112025_18_57_59_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e58bfdbd4b6ac448722781c8b8ff034.jpg","text":"TemporaryFile(/tmp/multipartBody3871924338719168795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966305241,"filename":"image_07112025_18_58_09_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ebef87db8d94bc36721aa1ba5a643d5.jpg","text":"TemporaryFile(/tmp/multipartBody74023725818567556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966305241,"filename":"image_07112025_18_58_05_2413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b650bde3da3a42881f06206e74f97c2b.jpg","text":"TemporaryFile(/tmp/multipartBody1064970285537251737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966305241,"filename":"image_07112025_18_57_58_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a205edb348b94f1187d2aa9e048e81d4.jpg","text":"TemporaryFile(/tmp/multipartBody2501252150095532362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966305241,"filename":"image_07112025_18_58_12_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58e5228338f318ce816cdb4a05250d95.jpg","text":"TemporaryFile(/tmp/multipartBody8860054673890933487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966305241,"filename":"image_07112025_18_58_03_1739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776629","file1":"1399776626","file0":"1399776624","file4":"1399776631","file5":"1399776633","file3":"1399776630"},"map_files_photo_id_array":[{"photo_id":"1399776633","filename":"file5"},{"photo_id":"1399776629","filename":"file2"},{"photo_id":"1399776631","filename":"file4"},{"photo_id":"1399776626","filename":"file1"},{"photo_id":"1399776624","filename":"file0"},{"photo_id":"1399776630","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776626":["hashtag1","hashtag2"]},{"1399776631":["hashtag1","hashtag2"]},{"1399776630":["hashtag1","hashtag2"]},{"1399776624":["hashtag1","hashtag2"]},{"1399776633":["hashtag1","hashtag2"]},{"1399776629":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776626, 1399776631, 1399776630, 1399776624, 1399776633, 1399776629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64041876792908 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 10 --only_old 1
2025-12-17 11:11:31.856536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:11:41.731399
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_18_5344.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_22_2562.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_25_3718.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_31_3633.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_44_1592.jpg', '/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_49_1865.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_18_5344.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_22_2562.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_25_3718.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_31_3633.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_44_1592.jpg
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_49_1865.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776682","1399776679","1399776649","1399776681","1399776684","1399776645"],"photo_ids_order":["1399776645","1399776649","1399776679","1399776681","1399776682","1399776684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14d90525c2b76871d0f6eef50489e13c.jpg","text":"TemporaryFile(/tmp/multipartBody2560930378295655504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966362544,"filename":"image_07112025_18_58_44_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc10592d7e192ea51ca29b13d5a10983.jpg","text":"TemporaryFile(/tmp/multipartBody1670372755563171483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966362544,"filename":"image_07112025_18_58_25_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f35bdfd1fa2340c3fcdb33ed2b18eed.jpg","text":"TemporaryFile(/tmp/multipartBody5309675528363186861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966362544,"filename":"image_07112025_18_58_22_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0182877ec710bf411c725cbde3f9855.jpg","text":"TemporaryFile(/tmp/multipartBody3634897046621919710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966362544,"filename":"image_07112025_18_58_31_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4723c0e7c0460f149e1452ef3a3b50c9.jpg","text":"TemporaryFile(/tmp/multipartBody8739798560805293706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966362544,"filename":"image_07112025_18_58_49_1865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2a93115c23079197cdac5d3d1ff2b71.jpg","text":"TemporaryFile(/tmp/multipartBody5811548237898529076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966362544,"filename":"image_07112025_18_58_18_5344.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776679","file1":"1399776649","file0":"1399776645","file4":"1399776682","file5":"1399776684","file3":"1399776681"},"map_files_photo_id_array":[{"photo_id":"1399776684","filename":"file5"},{"photo_id":"1399776679","filename":"file2"},{"photo_id":"1399776682","filename":"file4"},{"photo_id":"1399776649","filename":"file1"},{"photo_id":"1399776645","filename":"file0"},{"photo_id":"1399776681","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776682":["hashtag1","hashtag2"]},{"1399776679":["hashtag1","hashtag2"]},{"1399776649":["hashtag1","hashtag2"]},{"1399776681":["hashtag1","hashtag2"]},{"1399776684":["hashtag1","hashtag2"]},{"1399776645":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776682, 1399776679, 1399776649, 1399776681, 1399776684, 1399776645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81128287315369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:12:21.972183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_55_10709.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_14_10058.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_25_10749.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_34_9601.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_44_9629.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_54_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_55_10709.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_14_10058.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_25_10749.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_34_9601.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_44_9629.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_54_10723.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5804555416107178 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 11:12:32.057646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:12:42.045932
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_56_1626.jpg', '/home/pi/Desktop/images/07112025/18/59/image_07112025_18_59_12_1842.jpg', '/home/pi/Desktop/images/07112025/18/59/image_07112025_18_59_16_1754.jpg', '/home/pi/Desktop/images/07112025/18/59/image_07112025_18_59_37_1696.jpg', '/home/pi/Desktop/images/07112025/18/59/image_07112025_18_59_39_1937.jpg', '/home/pi/Desktop/images/07112025/19/00/image_07112025_19_00_31_19593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/18/58/image_07112025_18_58_56_1626.jpg
/home/pi/Desktop/images/07112025/18/59/image_07112025_18_59_12_1842.jpg
/home/pi/Desktop/images/07112025/18/59/image_07112025_18_59_16_1754.jpg
/home/pi/Desktop/images/07112025/18/59/image_07112025_18_59_37_1696.jpg
/home/pi/Desktop/images/07112025/18/59/image_07112025_18_59_39_1937.jpg
/home/pi/Desktop/images/07112025/19/00/image_07112025_19_00_31_19593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776704","1399776700","1399776703","1399776696","1399776702","1399776701"],"photo_ids_order":["1399776696","1399776700","1399776701","1399776702","1399776703","1399776704"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2148b5459fca89224a05f67eb17168e5.jpg","text":"TemporaryFile(/tmp/multipartBody9222436967942307564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966422831,"filename":"image_07112025_19_00_31_19593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10de675ba9e14518943c2342fb78f56d.jpg","text":"TemporaryFile(/tmp/multipartBody176061553479882876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966422831,"filename":"image_07112025_18_59_12_1842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0045eb9ad1d062c561778924976a459.jpg","text":"TemporaryFile(/tmp/multipartBody3919963750516714794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966422831,"filename":"image_07112025_18_59_39_1937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8095c214240c6dafebc2dd938f16cd21.jpg","text":"TemporaryFile(/tmp/multipartBody5868299112688991678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966422831,"filename":"image_07112025_18_58_56_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef1b7cbecaf6297826aadfda186b45a1.jpg","text":"TemporaryFile(/tmp/multipartBody6894356877852072370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966422831,"filename":"image_07112025_18_59_37_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/882627a02eadce3f0f0c6d3dc1fa355c.jpg","text":"TemporaryFile(/tmp/multipartBody2323357333527540225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966422831,"filename":"image_07112025_18_59_16_1754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776701","file1":"1399776700","file0":"1399776696","file4":"1399776703","file5":"1399776704","file3":"1399776702"},"map_files_photo_id_array":[{"photo_id":"1399776704","filename":"file5"},{"photo_id":"1399776701","filename":"file2"},{"photo_id":"1399776703","filename":"file4"},{"photo_id":"1399776700","filename":"file1"},{"photo_id":"1399776696","filename":"file0"},{"photo_id":"1399776702","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776704":["hashtag1","hashtag2"]},{"1399776700":["hashtag1","hashtag2"]},{"1399776703":["hashtag1","hashtag2"]},{"1399776696":["hashtag1","hashtag2"]},{"1399776702":["hashtag1","hashtag2"]},{"1399776701":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776704, 1399776700, 1399776703, 1399776696, 1399776702, 1399776701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5156364440918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:13:22.295976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_55_10709.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_14_10058.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_25_10749.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_34_9601.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_44_9629.jpg', '/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_54_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/04/image_17122025_11_04_55_10709.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_14_10058.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_25_10749.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_34_9601.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_44_9629.jpg
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_05_54_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776706","1399776709","1399776711","1399776708","1399776713","1399776716"],"photo_ids_order":["1399776706","1399776708","1399776709","1399776711","1399776713","1399776716"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/991d2bfbb7c5aa4738856ef0ec519d84.jpg","text":"TemporaryFile(/tmp/multipartBody6441700010471805021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966462951,"filename":"image_17122025_11_04_55_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa5c197cc385140701391c60000f927a.jpg","text":"TemporaryFile(/tmp/multipartBody6784960948439657465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966462951,"filename":"image_17122025_11_05_25_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44c9ff9b4bd9f2e95c511bbbf2b32107.jpg","text":"TemporaryFile(/tmp/multipartBody7748365793872741119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966462951,"filename":"image_17122025_11_05_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e3495ff2e462bfc37c745b2aecee244.jpg","text":"TemporaryFile(/tmp/multipartBody4719677430982751550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966462951,"filename":"image_17122025_11_05_14_10058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75312c1333bdb22ee0068a0b93561052.jpg","text":"TemporaryFile(/tmp/multipartBody326716419542678837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966462951,"filename":"image_17122025_11_05_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d59ef9cd74b9b08c338b139bd13100ee.jpg","text":"TemporaryFile(/tmp/multipartBody7142607834752103043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966462951,"filename":"image_17122025_11_05_54_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776709","file1":"1399776708","file0":"1399776706","file4":"1399776713","file5":"1399776716","file3":"1399776711"},"map_files_photo_id_array":[{"photo_id":"1399776716","filename":"file5"},{"photo_id":"1399776709","filename":"file2"},{"photo_id":"1399776713","filename":"file4"},{"photo_id":"1399776708","filename":"file1"},{"photo_id":"1399776706","filename":"file0"},{"photo_id":"1399776711","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776706":["hashtag1","hashtag2"]},{"1399776709":["hashtag1","hashtag2"]},{"1399776711":["hashtag1","hashtag2"]},{"1399776708":["hashtag1","hashtag2"]},{"1399776713":["hashtag1","hashtag2"]},{"1399776716":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776706, 1399776709, 1399776711, 1399776708, 1399776713, 1399776716)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.417959213256836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:14:03.251110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/05/image_17122025_11_06_04_9644.jpg', '/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_14_9863.jpg', '/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_24_9760.jpg', '/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_34_10646.jpg', '/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_44_9843.jpg', '/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_54_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/05/image_17122025_11_06_04_9644.jpg
/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_14_9863.jpg
/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_24_9760.jpg
/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_34_10646.jpg
/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_44_9843.jpg
/home/pi/Desktop/images/17122025/11/06/image_17122025_11_06_54_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":["1399776719","1399776721","1399776718","1399776723","1399776726","1399776722"],"photo_ids_order":["1399776718","1399776719","1399776721","1399776722","1399776723","1399776726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f3159670242a3a80704ad30539c6cd8.jpg","text":"TemporaryFile(/tmp/multipartBody72980517362517696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966503993,"filename":"image_17122025_11_06_14_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16ef1ad830c32e48b01fccb7ebd40ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7564913495647368072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966503993,"filename":"image_17122025_11_06_24_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7cd1512262f2dd2a492fa15a4d9cdf4.jpg","text":"TemporaryFile(/tmp/multipartBody3388658631859686257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966503993,"filename":"image_17122025_11_06_04_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90cdd3812c7ed08a516165dd23c8d3de.jpg","text":"TemporaryFile(/tmp/multipartBody2794023035984871384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966503993,"filename":"image_17122025_11_06_44_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8a5ca8f885ad4b12c07f63134dac566.jpg","text":"TemporaryFile(/tmp/multipartBody8699327128546318480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966503993,"filename":"image_17122025_11_06_54_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdbdf05b6ea0cd5b673cd6d9aec8de59.jpg","text":"TemporaryFile(/tmp/multipartBody2423641672834493575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966503993,"filename":"image_17122025_11_06_34_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776721","file1":"1399776719","file0":"1399776718","file4":"1399776723","file5":"1399776726","file3":"1399776722"},"map_files_photo_id_array":[{"photo_id":"1399776726","filename":"file5"},{"photo_id":"1399776721","filename":"file2"},{"photo_id":"1399776723","filename":"file4"},{"photo_id":"1399776719","filename":"file1"},{"photo_id":"1399776718","filename":"file0"},{"photo_id":"1399776722","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776719":["hashtag1","hashtag2"]},{"1399776721":["hashtag1","hashtag2"]},{"1399776718":["hashtag1","hashtag2"]},{"1399776723":["hashtag1","hashtag2"]},{"1399776726":["hashtag1","hashtag2"]},{"1399776722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776719, 1399776721, 1399776718, 1399776723, 1399776726, 1399776722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26403284072876 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:14:42.518837
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/00/image_07112025_19_00_33_1640.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_12_1687.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_14_1955.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_15_1666.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_17_1572.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_19_1556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/00/image_07112025_19_00_33_1640.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_12_1687.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_14_1955.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_15_1666.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_17_1572.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_19_1556.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776775","1399776736","1399776768","1399776770","1399776773","1399776731"],"photo_ids_order":["1399776731","1399776736","1399776768","1399776770","1399776773","1399776775"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcd5c110b442e36b0a1cf310dfedf6e1.jpg","text":"TemporaryFile(/tmp/multipartBody5428613643133596260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966543299,"filename":"image_07112025_19_01_19_1556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb9580a8fa1279172ce47612a04e044a.jpg","text":"TemporaryFile(/tmp/multipartBody8985711185410051360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966543299,"filename":"image_07112025_19_01_12_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b1d3920f4c5ecc9a69ac2c3b40111c3.jpg","text":"TemporaryFile(/tmp/multipartBody6435638182695766175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966543299,"filename":"image_07112025_19_01_14_1955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16cdfc464855b9f1859b55789d820d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8752175611187992601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966543299,"filename":"image_07112025_19_01_15_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef1a6a499abd6ea33cc96474fa4d8b63.jpg","text":"TemporaryFile(/tmp/multipartBody4269321166354773083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966543299,"filename":"image_07112025_19_01_17_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/274933fedd331a2756a7b471f28b4d62.jpg","text":"TemporaryFile(/tmp/multipartBody6734613209448765794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966543299,"filename":"image_07112025_19_00_33_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776768","file1":"1399776736","file0":"1399776731","file4":"1399776773","file5":"1399776775","file3":"1399776770"},"map_files_photo_id_array":[{"photo_id":"1399776775","filename":"file5"},{"photo_id":"1399776768","filename":"file2"},{"photo_id":"1399776773","filename":"file4"},{"photo_id":"1399776736","filename":"file1"},{"photo_id":"1399776731","filename":"file0"},{"photo_id":"1399776770","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776775":["hashtag1","hashtag2"]},{"1399776736":["hashtag1","hashtag2"]},{"1399776768":["hashtag1","hashtag2"]},{"1399776770":["hashtag1","hashtag2"]},{"1399776773":["hashtag1","hashtag2"]},{"1399776731":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776775, 1399776736, 1399776768, 1399776770, 1399776773, 1399776731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90860438346863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:15:22.782646
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/06/image_17122025_11_07_04_9881.jpg', '/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_15_10589.jpg', '/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_24_9603.jpg', '/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_34_9838.jpg', '/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_45_10704.jpg', '/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_55_9986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/06/image_17122025_11_07_04_9881.jpg
/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_15_10589.jpg
/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_24_9603.jpg
/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_34_9838.jpg
/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_45_10704.jpg
/home/pi/Desktop/images/17122025/11/07/image_17122025_11_07_55_9986.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776787","1399776784","1399776778","1399776789","1399776780","1399776782"],"photo_ids_order":["1399776778","1399776780","1399776782","1399776784","1399776787","1399776789"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/099b9c5d43705f345661f11513eafbe0.jpg","text":"TemporaryFile(/tmp/multipartBody5728539024550883173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966583422,"filename":"image_17122025_11_07_45_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/edf57f5c7b4ccff6bffa889d5ef51445.jpg","text":"TemporaryFile(/tmp/multipartBody286337641500590391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966583422,"filename":"image_17122025_11_07_34_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6cdd589d29b085b8cd27d3a7faf9dcc7.jpg","text":"TemporaryFile(/tmp/multipartBody1617818156493858953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966583422,"filename":"image_17122025_11_07_04_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9136e72ce096e58b72db607ae0cbebe9.jpg","text":"TemporaryFile(/tmp/multipartBody4738402444308238159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966583422,"filename":"image_17122025_11_07_55_9986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/687d5630e7a439958c722c7491b1196b.jpg","text":"TemporaryFile(/tmp/multipartBody4584418234841339076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966583422,"filename":"image_17122025_11_07_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/375a939ac19fadb5261869c15d12ac85.jpg","text":"TemporaryFile(/tmp/multipartBody8900675378630628869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966583422,"filename":"image_17122025_11_07_24_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776782","file1":"1399776780","file0":"1399776778","file4":"1399776787","file5":"1399776789","file3":"1399776784"},"map_files_photo_id_array":[{"photo_id":"1399776789","filename":"file5"},{"photo_id":"1399776782","filename":"file2"},{"photo_id":"1399776787","filename":"file4"},{"photo_id":"1399776780","filename":"file1"},{"photo_id":"1399776778","filename":"file0"},{"photo_id":"1399776784","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776787":["hashtag1","hashtag2"]},{"1399776784":["hashtag1","hashtag2"]},{"1399776778":["hashtag1","hashtag2"]},{"1399776789":["hashtag1","hashtag2"]},{"1399776780":["hashtag1","hashtag2"]},{"1399776782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776787, 1399776784, 1399776778, 1399776789, 1399776780, 1399776782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30199861526489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:16:02.601082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/07/image_17122025_11_08_04_9682.jpg', '/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_14_9605.jpg', '/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_24_9779.jpg', '/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_34_10740.jpg', '/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_44_9597.jpg', '/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_54_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/07/image_17122025_11_08_04_9682.jpg
/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_14_9605.jpg
/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_24_9779.jpg
/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_34_10740.jpg
/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_44_9597.jpg
/home/pi/Desktop/images/17122025/11/08/image_17122025_11_08_54_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":["1399776793","1399776796","1399776790","1399776792","1399776794","1399776791"],"photo_ids_order":["1399776790","1399776791","1399776792","1399776793","1399776794","1399776796"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d75a673518712017a1a45de5daec5686.jpg","text":"TemporaryFile(/tmp/multipartBody279097894140937928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966623266,"filename":"image_17122025_11_08_34_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/165cbb0ebade15f3b9c432d5cb34463c.jpg","text":"TemporaryFile(/tmp/multipartBody1998354080121032352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966623266,"filename":"image_17122025_11_08_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cac58de67dae09b5a6337295ae1a78f.jpg","text":"TemporaryFile(/tmp/multipartBody5109093364093348573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966623266,"filename":"image_17122025_11_08_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed4b1395ed8273f56336be8ea3037a5f.jpg","text":"TemporaryFile(/tmp/multipartBody9210422445258329819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966623266,"filename":"image_17122025_11_08_24_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/960042a5965ffddb9f0d01c286e797cd.jpg","text":"TemporaryFile(/tmp/multipartBody6146641091876339948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966623266,"filename":"image_17122025_11_08_44_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/751d6d3e7312035d143f538ded846dfb.jpg","text":"TemporaryFile(/tmp/multipartBody6400934685514845952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966623266,"filename":"image_17122025_11_08_14_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776792","file1":"1399776791","file0":"1399776790","file4":"1399776794","file5":"1399776796","file3":"1399776793"},"map_files_photo_id_array":[{"photo_id":"1399776796","filename":"file5"},{"photo_id":"1399776792","filename":"file2"},{"photo_id":"1399776794","filename":"file4"},{"photo_id":"1399776791","filename":"file1"},{"photo_id":"1399776790","filename":"file0"},{"photo_id":"1399776793","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776793":["hashtag1","hashtag2"]},{"1399776796":["hashtag1","hashtag2"]},{"1399776790":["hashtag1","hashtag2"]},{"1399776792":["hashtag1","hashtag2"]},{"1399776794":["hashtag1","hashtag2"]},{"1399776791":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776793, 1399776796, 1399776790, 1399776792, 1399776794, 1399776791)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20210409164429 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:16:42.140517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_20_1690.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_22_1676.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_25_1643.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_27_1561.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_28_1581.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_30_1626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_20_1690.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_22_1676.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_25_1643.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_27_1561.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_28_1581.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_30_1626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776803","1399776806","1399776805","1399776804","1399776807","1399776801"],"photo_ids_order":["1399776801","1399776803","1399776804","1399776805","1399776806","1399776807"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8740ef1ef37eb9460bfeea310026b06.jpg","text":"TemporaryFile(/tmp/multipartBody1800674089385792588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966662975,"filename":"image_07112025_19_01_22_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3b35eb84a5a7851fe681740c4191f95.jpg","text":"TemporaryFile(/tmp/multipartBody1581769888309514297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966662975,"filename":"image_07112025_19_01_28_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/079abdbbb7e0e87ee493f412eeaa5675.jpg","text":"TemporaryFile(/tmp/multipartBody8480077413211217360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966662975,"filename":"image_07112025_19_01_27_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fff7058191832d31a64510400edc0768.jpg","text":"TemporaryFile(/tmp/multipartBody8578402259263732314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966662975,"filename":"image_07112025_19_01_25_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25cb930198c24ba5e91f9b2ed06982d1.jpg","text":"TemporaryFile(/tmp/multipartBody3382637541542805286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966662975,"filename":"image_07112025_19_01_30_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7ee39e2cae3a837d6ed58a8deb1203e.jpg","text":"TemporaryFile(/tmp/multipartBody1782765573584654334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966662975,"filename":"image_07112025_19_01_20_1690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776804","file1":"1399776803","file0":"1399776801","file4":"1399776806","file5":"1399776807","file3":"1399776805"},"map_files_photo_id_array":[{"photo_id":"1399776807","filename":"file5"},{"photo_id":"1399776804","filename":"file2"},{"photo_id":"1399776806","filename":"file4"},{"photo_id":"1399776803","filename":"file1"},{"photo_id":"1399776801","filename":"file0"},{"photo_id":"1399776805","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776803":["hashtag1","hashtag2"]},{"1399776806":["hashtag1","hashtag2"]},{"1399776805":["hashtag1","hashtag2"]},{"1399776804":["hashtag1","hashtag2"]},{"1399776807":["hashtag1","hashtag2"]},{"1399776801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776803, 1399776806, 1399776805, 1399776804, 1399776807, 1399776801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75390982627869 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:17:22.526439
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/08/image_17122025_11_09_05_10766.jpg', '/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_14_9577.jpg', '/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_24_9890.jpg', '/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_35_10667.jpg', '/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_44_9680.jpg', '/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_54_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/08/image_17122025_11_09_05_10766.jpg
/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_14_9577.jpg
/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_24_9890.jpg
/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_35_10667.jpg
/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_44_9680.jpg
/home/pi/Desktop/images/17122025/11/09/image_17122025_11_09_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":["1399776818","1399776811","1399776814","1399776816","1399776812","1399776821"],"photo_ids_order":["1399776811","1399776812","1399776814","1399776816","1399776818","1399776821"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b34628bffc8331382deee6f8dc072074.jpg","text":"TemporaryFile(/tmp/multipartBody984479418594441849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966703170,"filename":"image_17122025_11_09_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12b368654f25d514ff3c2b5a5e199057.jpg","text":"TemporaryFile(/tmp/multipartBody5107294277801573816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966703170,"filename":"image_17122025_11_09_05_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d37b66a9b02e6c38cf931ef12761af23.jpg","text":"TemporaryFile(/tmp/multipartBody6176037786768036518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966703170,"filename":"image_17122025_11_09_24_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11e803f478ad83eb5df30cc6b6de9162.jpg","text":"TemporaryFile(/tmp/multipartBody3561424656122434572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966703170,"filename":"image_17122025_11_09_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/616f7e9a78bb38af6bb00dd662e5de72.jpg","text":"TemporaryFile(/tmp/multipartBody7441297277514932896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966703170,"filename":"image_17122025_11_09_14_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40e94a67539733a9d33ace9da752f170.jpg","text":"TemporaryFile(/tmp/multipartBody7019285223910559460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966703170,"filename":"image_17122025_11_09_54_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776814","file1":"1399776812","file0":"1399776811","file4":"1399776818","file5":"1399776821","file3":"1399776816"},"map_files_photo_id_array":[{"photo_id":"1399776821","filename":"file5"},{"photo_id":"1399776814","filename":"file2"},{"photo_id":"1399776818","filename":"file4"},{"photo_id":"1399776812","filename":"file1"},{"photo_id":"1399776811","filename":"file0"},{"photo_id":"1399776816","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776818":["hashtag1","hashtag2"]},{"1399776811":["hashtag1","hashtag2"]},{"1399776814":["hashtag1","hashtag2"]},{"1399776816":["hashtag1","hashtag2"]},{"1399776812":["hashtag1","hashtag2"]},{"1399776821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776818, 1399776811, 1399776814, 1399776816, 1399776812, 1399776821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.091307401657104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:18:03.127569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_14_10057.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_25_10824.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_35_9822.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_45_9621.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_54_9852.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_11_05_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_14_10057.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_25_10824.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_35_9822.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_45_9621.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_54_9852.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_11_05_10719.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5616695880889893 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 11:18:12.628900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:18:22.674032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_14_10057.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_25_10824.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_35_9822.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_45_9621.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_54_9852.jpg', '/home/pi/Desktop/images/17122025/11/10/image_17122025_11_11_05_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_14_10057.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_25_10824.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_35_9822.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_45_9621.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_10_54_9852.jpg
/home/pi/Desktop/images/17122025/11/10/image_17122025_11_11_05_10719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776868","1399776865","1399776873","1399776852","1399776855","1399776858"],"photo_ids_order":["1399776852","1399776855","1399776858","1399776865","1399776868","1399776873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/006077938315aa49e926c5c086196883.jpg","text":"TemporaryFile(/tmp/multipartBody125641676292131143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966763322,"filename":"image_17122025_11_10_54_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4486a379244287cd8483e19e1a5f0f5b.jpg","text":"TemporaryFile(/tmp/multipartBody1034499057052923997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966763322,"filename":"image_17122025_11_10_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d1f35e488b23d0dcdc10d1fd0a7f186.jpg","text":"TemporaryFile(/tmp/multipartBody74596205142690777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966763322,"filename":"image_17122025_11_11_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a03e14e92619fa7b9296ff66ac1a0a9a.jpg","text":"TemporaryFile(/tmp/multipartBody3708284485013670039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966763322,"filename":"image_17122025_11_10_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c12727431f76a3b6d2decef8ed6ae3a5.jpg","text":"TemporaryFile(/tmp/multipartBody3581113284133125212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966763322,"filename":"image_17122025_11_10_25_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a8f7ebc2f2f830bd48c4f96aa3a2336.jpg","text":"TemporaryFile(/tmp/multipartBody7144677330513579242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966763322,"filename":"image_17122025_11_10_35_9822.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776858","file1":"1399776855","file0":"1399776852","file4":"1399776868","file5":"1399776873","file3":"1399776865"},"map_files_photo_id_array":[{"photo_id":"1399776873","filename":"file5"},{"photo_id":"1399776858","filename":"file2"},{"photo_id":"1399776868","filename":"file4"},{"photo_id":"1399776855","filename":"file1"},{"photo_id":"1399776852","filename":"file0"},{"photo_id":"1399776865","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776868":["hashtag1","hashtag2"]},{"1399776865":["hashtag1","hashtag2"]},{"1399776873":["hashtag1","hashtag2"]},{"1399776852":["hashtag1","hashtag2"]},{"1399776855":["hashtag1","hashtag2"]},{"1399776858":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776868, 1399776865, 1399776873, 1399776852, 1399776855, 1399776858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.89901685714722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:19:02.484910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_15_9699.jpg', '/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_25_9874.jpg', '/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_35_9918.jpg', '/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_44_9783.jpg', '/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_55_10748.jpg', '/home/pi/Desktop/images/17122025/11/11/image_17122025_11_12_05_9763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_15_9699.jpg
/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_25_9874.jpg
/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_35_9918.jpg
/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_44_9783.jpg
/home/pi/Desktop/images/17122025/11/11/image_17122025_11_11_55_10748.jpg
/home/pi/Desktop/images/17122025/11/11/image_17122025_11_12_05_9763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776877","1399776879","1399776876","1399776881","1399776875","1399776878"],"photo_ids_order":["1399776875","1399776876","1399776877","1399776878","1399776879","1399776881"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ed34a8a950b750a6de61f263e10cd1f.jpg","text":"TemporaryFile(/tmp/multipartBody9034365072465235986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966803200,"filename":"image_17122025_11_11_35_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0da8cbbd6bcb97d291c503eca0d48da7.jpg","text":"TemporaryFile(/tmp/multipartBody4763881464444069544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966803200,"filename":"image_17122025_11_11_55_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/265692ff6d756429e07bf9d0e2cbd005.jpg","text":"TemporaryFile(/tmp/multipartBody8474804302823244732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966803200,"filename":"image_17122025_11_11_25_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2b6a7b213eed3faadb732ead589dae1.jpg","text":"TemporaryFile(/tmp/multipartBody8067700252930067214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966803200,"filename":"image_17122025_11_12_05_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6adbfc3efdb6acc3218e7f35b165dbb.jpg","text":"TemporaryFile(/tmp/multipartBody901312299482829247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966803200,"filename":"image_17122025_11_11_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/846b6e2e3706621e9521f9e9d7b50f8a.jpg","text":"TemporaryFile(/tmp/multipartBody5740171449510324507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966803200,"filename":"image_17122025_11_11_44_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776877","file1":"1399776876","file0":"1399776875","file4":"1399776879","file5":"1399776881","file3":"1399776878"},"map_files_photo_id_array":[{"photo_id":"1399776881","filename":"file5"},{"photo_id":"1399776877","filename":"file2"},{"photo_id":"1399776879","filename":"file4"},{"photo_id":"1399776876","filename":"file1"},{"photo_id":"1399776875","filename":"file0"},{"photo_id":"1399776878","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776877":["hashtag1","hashtag2"]},{"1399776879":["hashtag1","hashtag2"]},{"1399776876":["hashtag1","hashtag2"]},{"1399776881":["hashtag1","hashtag2"]},{"1399776875":["hashtag1","hashtag2"]},{"1399776878":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776877, 1399776879, 1399776876, 1399776881, 1399776875, 1399776878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.338783264160156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:19:41.983850
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_32_1707.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_39_1812.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_40_1553.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_42_1841.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_45_1640.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_47_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_32_1707.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_39_1812.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_40_1553.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_42_1841.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_45_1640.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_47_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776892","1399776889","1399776891","1399776893","1399776890","1399776887"],"photo_ids_order":["1399776887","1399776889","1399776890","1399776891","1399776892","1399776893"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4376728312c043db2c2d8efbcd398e6.jpg","text":"TemporaryFile(/tmp/multipartBody1733530304991761150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966842805,"filename":"image_07112025_19_01_45_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28bdd60754e032ae512ee1bf8e6c94af.jpg","text":"TemporaryFile(/tmp/multipartBody7753791422302401453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966842805,"filename":"image_07112025_19_01_39_1812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58f1ae4c3b55aef504b3545a2058a84a.jpg","text":"TemporaryFile(/tmp/multipartBody7087464002117915699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966842805,"filename":"image_07112025_19_01_42_1841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da970d8e3a762b5f352a98e0e698ecea.jpg","text":"TemporaryFile(/tmp/multipartBody5092232444588801437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966842805,"filename":"image_07112025_19_01_47_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa6d04bf360fa78cec930f920150828d.jpg","text":"TemporaryFile(/tmp/multipartBody3272370938075488117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966842805,"filename":"image_07112025_19_01_40_1553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d1a68e367d187ac1fef6b4b603dda05.jpg","text":"TemporaryFile(/tmp/multipartBody412126704864880250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966842805,"filename":"image_07112025_19_01_32_1707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776890","file1":"1399776889","file0":"1399776887","file4":"1399776892","file5":"1399776893","file3":"1399776891"},"map_files_photo_id_array":[{"photo_id":"1399776893","filename":"file5"},{"photo_id":"1399776890","filename":"file2"},{"photo_id":"1399776892","filename":"file4"},{"photo_id":"1399776889","filename":"file1"},{"photo_id":"1399776887","filename":"file0"},{"photo_id":"1399776891","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776892":["hashtag1","hashtag2"]},{"1399776889":["hashtag1","hashtag2"]},{"1399776891":["hashtag1","hashtag2"]},{"1399776893":["hashtag1","hashtag2"]},{"1399776890":["hashtag1","hashtag2"]},{"1399776887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776892, 1399776889, 1399776891, 1399776893, 1399776890, 1399776887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.47757577896118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:20:22.217876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_15_9673.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_25_10625.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_35_9643.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_45_9711.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_54_9752.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_13_05_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_15_9673.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_25_10625.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_35_9643.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_45_9711.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_54_9752.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_13_05_10731.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4935758113861084 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 11:20:32.253495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:20:42.278828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_49_1639.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_50_1703.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_54_1676.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_57_1621.jpg', '/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_59_1657.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_07_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_49_1639.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_50_1703.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_54_1676.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_57_1621.jpg
/home/pi/Desktop/images/07112025/19/01/image_07112025_19_01_59_1657.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_07_1655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776940","1399776946","1399776945","1399776915","1399776912","1399776941"],"photo_ids_order":["1399776912","1399776915","1399776940","1399776941","1399776945","1399776946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22602b7727adff31f09f251016236e71.jpg","text":"TemporaryFile(/tmp/multipartBody2812162386708796676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966903098,"filename":"image_07112025_19_01_54_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4fa71f6c288a66af286726ec5bee15b.jpg","text":"TemporaryFile(/tmp/multipartBody1274910309116727360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966903098,"filename":"image_07112025_19_02_07_1655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4c1589b302f2000bb58b54ccb0bff22.jpg","text":"TemporaryFile(/tmp/multipartBody6078788517882519563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966903098,"filename":"image_07112025_19_01_59_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cce3c394f0fd0107b32d6a0a7411b34d.jpg","text":"TemporaryFile(/tmp/multipartBody1546306950187395331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966903098,"filename":"image_07112025_19_01_50_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e8ada3dc8d329b64fa905d13acba084.jpg","text":"TemporaryFile(/tmp/multipartBody5268779804612038663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966903098,"filename":"image_07112025_19_01_49_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecb6dc93dfd1ef40d6e16ea521e773aa.jpg","text":"TemporaryFile(/tmp/multipartBody746226250218488454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966903098,"filename":"image_07112025_19_01_57_1621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776940","file1":"1399776915","file0":"1399776912","file4":"1399776945","file5":"1399776946","file3":"1399776941"},"map_files_photo_id_array":[{"photo_id":"1399776946","filename":"file5"},{"photo_id":"1399776940","filename":"file2"},{"photo_id":"1399776945","filename":"file4"},{"photo_id":"1399776915","filename":"file1"},{"photo_id":"1399776912","filename":"file0"},{"photo_id":"1399776941","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399776940":["hashtag1","hashtag2"]},{"1399776946":["hashtag1","hashtag2"]},{"1399776945":["hashtag1","hashtag2"]},{"1399776915":["hashtag1","hashtag2"]},{"1399776912":["hashtag1","hashtag2"]},{"1399776941":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399776940, 1399776946, 1399776945, 1399776915, 1399776912, 1399776941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.301623582839966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:21:22.561092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_15_9673.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_25_10625.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_35_9643.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_45_9711.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_54_9752.jpg', '/home/pi/Desktop/images/17122025/11/12/image_17122025_11_13_05_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_15_9673.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_25_10625.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_35_9643.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_45_9711.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_12_54_9752.jpg
/home/pi/Desktop/images/17122025/11/12/image_17122025_11_13_05_10731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776964","1399776951","1399776960","1399776957","1399776956","1399776953"],"photo_ids_order":["1399776951","1399776953","1399776956","1399776957","1399776960","1399776964"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2864b7830ae39af2d5ce293b96dfb34.jpg","text":"TemporaryFile(/tmp/multipartBody8442684074735549933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966943241,"filename":"image_17122025_11_13_05_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b67f6e5ed48152b618b7c3b31c4d725.jpg","text":"TemporaryFile(/tmp/multipartBody1270004034849332172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966943241,"filename":"image_17122025_11_12_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbee0e46cc11aaf28b5a482dca3292f1.jpg","text":"TemporaryFile(/tmp/multipartBody368603258860938644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966943241,"filename":"image_17122025_11_12_54_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d40e4b2596b757c3f993625d6cc54b03.jpg","text":"TemporaryFile(/tmp/multipartBody1198346405153376870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966943241,"filename":"image_17122025_11_12_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc04b8eaa2353cc7c9c2fc1589dbe536.jpg","text":"TemporaryFile(/tmp/multipartBody1604851552967958415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966943241,"filename":"image_17122025_11_12_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/611726dcfb1fbc5c1fc58dd16c5d6fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1780476487603700126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966943241,"filename":"image_17122025_11_12_25_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776956","file1":"1399776953","file0":"1399776951","file4":"1399776960","file5":"1399776964","file3":"1399776957"},"map_files_photo_id_array":[{"photo_id":"1399776964","filename":"file5"},{"photo_id":"1399776956","filename":"file2"},{"photo_id":"1399776960","filename":"file4"},{"photo_id":"1399776953","filename":"file1"},{"photo_id":"1399776951","filename":"file0"},{"photo_id":"1399776957","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776964":["hashtag1","hashtag2"]},{"1399776951":["hashtag1","hashtag2"]},{"1399776960":["hashtag1","hashtag2"]},{"1399776957":["hashtag1","hashtag2"]},{"1399776956":["hashtag1","hashtag2"]},{"1399776953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776964, 1399776951, 1399776960, 1399776957, 1399776956, 1399776953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06080174446106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:22:03.114620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_15_9638.jpg', '/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_24_9603.jpg', '/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_35_10804.jpg', '/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_45_9770.jpg', '/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_55_9783.jpg', '/home/pi/Desktop/images/17122025/11/13/image_17122025_11_14_05_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_15_9638.jpg
/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_24_9603.jpg
/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_35_10804.jpg
/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_45_9770.jpg
/home/pi/Desktop/images/17122025/11/13/image_17122025_11_13_55_9783.jpg
/home/pi/Desktop/images/17122025/11/13/image_17122025_11_14_05_9920.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":["1399776970","1399776972","1399776980","1399776974","1399776983","1399776977"],"photo_ids_order":["1399776970","1399776972","1399776974","1399776977","1399776980","1399776983"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95860801f7d7d75cb1cfa735aeadc45b.jpg","text":"TemporaryFile(/tmp/multipartBody1259645532253128223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966986372,"filename":"image_17122025_11_13_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bc7c922542f493c1ae6c5b2fcab0720.jpg","text":"TemporaryFile(/tmp/multipartBody4123774478166400675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966986372,"filename":"image_17122025_11_13_24_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2150e4b1d1942801042feabd9f1e5fd.jpg","text":"TemporaryFile(/tmp/multipartBody4590494541129909003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966986372,"filename":"image_17122025_11_13_55_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca07dc0bc588ed3bac7bc28454da0f32.jpg","text":"TemporaryFile(/tmp/multipartBody5857702430443368676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966986372,"filename":"image_17122025_11_13_35_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37a94ed79688fcaf19b34449dc4903cb.jpg","text":"TemporaryFile(/tmp/multipartBody1481632392360821586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966986372,"filename":"image_17122025_11_14_05_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2dfbf28d689d0ca78d3e485886d2ecd0.jpg","text":"TemporaryFile(/tmp/multipartBody8494757485907846486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765966986372,"filename":"image_17122025_11_13_45_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776974","file1":"1399776972","file0":"1399776970","file4":"1399776980","file5":"1399776983","file3":"1399776977"},"map_files_photo_id_array":[{"photo_id":"1399776983","filename":"file5"},{"photo_id":"1399776974","filename":"file2"},{"photo_id":"1399776980","filename":"file4"},{"photo_id":"1399776972","filename":"file1"},{"photo_id":"1399776970","filename":"file0"},{"photo_id":"1399776977","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776970":["hashtag1","hashtag2"]},{"1399776972":["hashtag1","hashtag2"]},{"1399776980":["hashtag1","hashtag2"]},{"1399776974":["hashtag1","hashtag2"]},{"1399776983":["hashtag1","hashtag2"]},{"1399776977":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776970, 1399776972, 1399776980, 1399776974, 1399776983, 1399776977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.692049980163574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:23:02.714455
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_15_9879.jpg', '/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_25_10684.jpg', '/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_35_9744.jpg', '/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_45_9758.jpg', '/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_54_9742.jpg', '/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_14_10058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_15_9879.jpg
/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_25_10684.jpg
/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_35_9744.jpg
/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_45_9758.jpg
/home/pi/Desktop/images/17122025/11/14/image_17122025_11_14_54_9742.jpg
/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_14_10058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399776994","1399776996","1399776999","1399777002","1399777001","1399777004"],"photo_ids_order":["1399776994","1399776996","1399776999","1399777001","1399777002","1399777004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52178f533d4918f0c5018915ce7eec5c.jpg","text":"TemporaryFile(/tmp/multipartBody6790656214902279077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967043408,"filename":"image_17122025_11_14_15_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d56636b5e06c0e22557ebd70a180386.jpg","text":"TemporaryFile(/tmp/multipartBody4292413604349739723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967043408,"filename":"image_17122025_11_14_25_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb14d39e0d76d698fbc4e781c15ce248.jpg","text":"TemporaryFile(/tmp/multipartBody4437112896698430722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967043408,"filename":"image_17122025_11_14_35_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a649ff415e8eba7803d9204be943d5bf.jpg","text":"TemporaryFile(/tmp/multipartBody605785432579332438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967043408,"filename":"image_17122025_11_14_54_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/270c7aef9b79ccf0b58e8a2c529c7d5a.jpg","text":"TemporaryFile(/tmp/multipartBody568849978549674387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967043408,"filename":"image_17122025_11_14_45_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16cf8c9f17d33cb28161488cd154b583.jpg","text":"TemporaryFile(/tmp/multipartBody4034546487521399359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967043408,"filename":"image_17122025_11_15_14_10058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399776999","file1":"1399776996","file0":"1399776994","file4":"1399777002","file5":"1399777004","file3":"1399777001"},"map_files_photo_id_array":[{"photo_id":"1399777004","filename":"file5"},{"photo_id":"1399776999","filename":"file2"},{"photo_id":"1399777002","filename":"file4"},{"photo_id":"1399776996","filename":"file1"},{"photo_id":"1399776994","filename":"file0"},{"photo_id":"1399777001","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399776994":["hashtag1","hashtag2"]},{"1399776996":["hashtag1","hashtag2"]},{"1399776999":["hashtag1","hashtag2"]},{"1399777002":["hashtag1","hashtag2"]},{"1399777001":["hashtag1","hashtag2"]},{"1399777004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399776994, 1399776996, 1399776999, 1399777002, 1399777001, 1399777004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.855533599853516 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:23:41.921087
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_09_1763.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_11_1723.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_12_1682.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_14_1568.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_18_3746.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_20_2722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_09_1763.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_11_1723.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_12_1682.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_14_1568.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_18_3746.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_20_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":["1399777042","1399777044","1399777026","1399777008","1399777043","1399777010"],"photo_ids_order":["1399777008","1399777010","1399777026","1399777042","1399777043","1399777044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ccaae992d1949e7619298fe327a909c8.jpg","text":"TemporaryFile(/tmp/multipartBody5106741670448590101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967082703,"filename":"image_07112025_19_02_14_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07f8588616751320e7eb958bbcab6e08.jpg","text":"TemporaryFile(/tmp/multipartBody1845145935727522050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967082703,"filename":"image_07112025_19_02_20_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02aaa1865ddaec6905eec300e153e323.jpg","text":"TemporaryFile(/tmp/multipartBody4676778251068760635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967082703,"filename":"image_07112025_19_02_12_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3955329365175259f72ac7c6abd98d2.jpg","text":"TemporaryFile(/tmp/multipartBody3290946694045886289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967082703,"filename":"image_07112025_19_02_09_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c66fdd4a7ec7c52351de5f1ab918fe9.jpg","text":"TemporaryFile(/tmp/multipartBody5793302000389912646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967082703,"filename":"image_07112025_19_02_18_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3cbb345e815abd0447d8b3235dd2b854.jpg","text":"TemporaryFile(/tmp/multipartBody7793882578953488242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967082703,"filename":"image_07112025_19_02_11_1723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777026","file1":"1399777010","file0":"1399777008","file4":"1399777043","file5":"1399777044","file3":"1399777042"},"map_files_photo_id_array":[{"photo_id":"1399777044","filename":"file5"},{"photo_id":"1399777026","filename":"file2"},{"photo_id":"1399777043","filename":"file4"},{"photo_id":"1399777010","filename":"file1"},{"photo_id":"1399777008","filename":"file0"},{"photo_id":"1399777042","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777042":["hashtag1","hashtag2"]},{"1399777044":["hashtag1","hashtag2"]},{"1399777026":["hashtag1","hashtag2"]},{"1399777008":["hashtag1","hashtag2"]},{"1399777043":["hashtag1","hashtag2"]},{"1399777010":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777042, 1399777044, 1399777026, 1399777008, 1399777043, 1399777010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65437316894531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:24:22.212063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_25_10732.jpg', '/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_35_9706.jpg', '/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_44_9585.jpg', '/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_55_10726.jpg', '/home/pi/Desktop/images/17122025/11/15/image_17122025_11_16_05_9671.jpg', '/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_15_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_25_10732.jpg
/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_35_9706.jpg
/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_44_9585.jpg
/home/pi/Desktop/images/17122025/11/15/image_17122025_11_15_55_10726.jpg
/home/pi/Desktop/images/17122025/11/15/image_17122025_11_16_05_9671.jpg
/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_15_9837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777054","1399777057","1399777061","1399777064","1399777049","1399777066"],"photo_ids_order":["1399777049","1399777054","1399777057","1399777061","1399777064","1399777066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b57c0daf5f29468d80581f1aaa7284ee.jpg","text":"TemporaryFile(/tmp/multipartBody8310598946385369995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967122862,"filename":"image_17122025_11_15_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74eee199846db7aad3efa699682a1155.jpg","text":"TemporaryFile(/tmp/multipartBody3142040293769202607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967122862,"filename":"image_17122025_11_15_44_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2117e3182c18b5c54974ec75ddff255f.jpg","text":"TemporaryFile(/tmp/multipartBody4923714201589558521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967122862,"filename":"image_17122025_11_15_55_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2efe7831ae12046c4b0a2660bdd2cad7.jpg","text":"TemporaryFile(/tmp/multipartBody5394340383494587657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967122862,"filename":"image_17122025_11_16_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab58a807dc224b74e348dba991857a8c.jpg","text":"TemporaryFile(/tmp/multipartBody7482358570773907231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967122862,"filename":"image_17122025_11_15_25_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/545e27c5d4c5e74885b057da09c8fffb.jpg","text":"TemporaryFile(/tmp/multipartBody8971726707302322533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967122862,"filename":"image_17122025_11_16_15_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777057","file1":"1399777054","file0":"1399777049","file4":"1399777064","file5":"1399777066","file3":"1399777061"},"map_files_photo_id_array":[{"photo_id":"1399777066","filename":"file5"},{"photo_id":"1399777057","filename":"file2"},{"photo_id":"1399777064","filename":"file4"},{"photo_id":"1399777054","filename":"file1"},{"photo_id":"1399777049","filename":"file0"},{"photo_id":"1399777061","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777054":["hashtag1","hashtag2"]},{"1399777057":["hashtag1","hashtag2"]},{"1399777061":["hashtag1","hashtag2"]},{"1399777064":["hashtag1","hashtag2"]},{"1399777049":["hashtag1","hashtag2"]},{"1399777066":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777054, 1399777057, 1399777061, 1399777064, 1399777049, 1399777066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.643954277038574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:25:03.086789
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_25_10608.jpg', '/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_35_9677.jpg', '/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_45_9665.jpg', '/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_55_10648.jpg', '/home/pi/Desktop/images/17122025/11/16/image_17122025_11_17_05_9813.jpg', '/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_15_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_25_10608.jpg
/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_35_9677.jpg
/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_45_9665.jpg
/home/pi/Desktop/images/17122025/11/16/image_17122025_11_16_55_10648.jpg
/home/pi/Desktop/images/17122025/11/16/image_17122025_11_17_05_9813.jpg
/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_15_9893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777081","1399777074","1399777076","1399777079","1399777087","1399777072"],"photo_ids_order":["1399777072","1399777074","1399777076","1399777079","1399777081","1399777087"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2144d6f229cb2ae78bcde64af832eeb1.jpg","text":"TemporaryFile(/tmp/multipartBody1727216916298263326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967163778,"filename":"image_17122025_11_17_05_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bf8219fa24db853a411d21b1de28f77.jpg","text":"TemporaryFile(/tmp/multipartBody2292760137005194763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967163778,"filename":"image_17122025_11_16_35_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/537551d4f99dc77e147f640b0e48bfd2.jpg","text":"TemporaryFile(/tmp/multipartBody907941152325939912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967163778,"filename":"image_17122025_11_16_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ff4ecb76950058682e32ff2de756352.jpg","text":"TemporaryFile(/tmp/multipartBody1516368396739543849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967163778,"filename":"image_17122025_11_16_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b70ffdfa4c10e4e1c536beb42e20f370.jpg","text":"TemporaryFile(/tmp/multipartBody9392388610327806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967163778,"filename":"image_17122025_11_17_15_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9577415618f4ae8603aaa0111cccafde.jpg","text":"TemporaryFile(/tmp/multipartBody5308682180254667873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967163778,"filename":"image_17122025_11_16_25_10608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777076","file1":"1399777074","file0":"1399777072","file4":"1399777081","file5":"1399777087","file3":"1399777079"},"map_files_photo_id_array":[{"photo_id":"1399777087","filename":"file5"},{"photo_id":"1399777076","filename":"file2"},{"photo_id":"1399777081","filename":"file4"},{"photo_id":"1399777074","filename":"file1"},{"photo_id":"1399777072","filename":"file0"},{"photo_id":"1399777079","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777081":["hashtag1","hashtag2"]},{"1399777074":["hashtag1","hashtag2"]},{"1399777076":["hashtag1","hashtag2"]},{"1399777079":["hashtag1","hashtag2"]},{"1399777087":["hashtag1","hashtag2"]},{"1399777072":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777081, 1399777074, 1399777076, 1399777079, 1399777087, 1399777072)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14804220199585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:26:03.086811
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_25_9863.jpg', '/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_35_9846.jpg', '/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_44_9716.jpg', '/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_55_10908.jpg', '/home/pi/Desktop/images/17122025/11/17/image_17122025_11_18_05_9680.jpg', '/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_15_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_25_9863.jpg
/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_35_9846.jpg
/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_44_9716.jpg
/home/pi/Desktop/images/17122025/11/17/image_17122025_11_17_55_10908.jpg
/home/pi/Desktop/images/17122025/11/17/image_17122025_11_18_05_9680.jpg
/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_15_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777108","1399777110","1399777104","1399777112","1399777106","1399777115"],"photo_ids_order":["1399777104","1399777106","1399777108","1399777110","1399777112","1399777115"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b69a19d9731b9cf041a11890bb71ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3567689148701183144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967223793,"filename":"image_17122025_11_17_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18746cb85abb288d8b8b7a1e6f839ebd.jpg","text":"TemporaryFile(/tmp/multipartBody4146635669328573752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967223793,"filename":"image_17122025_11_17_55_10908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59e6674ffa1fa2616467914017771d4c.jpg","text":"TemporaryFile(/tmp/multipartBody134398614221406937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967223793,"filename":"image_17122025_11_17_25_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2599541eeeb457dcfa687505961455e0.jpg","text":"TemporaryFile(/tmp/multipartBody5422619419232170126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967223793,"filename":"image_17122025_11_18_05_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/810994b0ba09a6a0bcf5511b247a11ae.jpg","text":"TemporaryFile(/tmp/multipartBody3656606626824979349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967223793,"filename":"image_17122025_11_17_35_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06fcdb88a45aba982c3696a71183a970.jpg","text":"TemporaryFile(/tmp/multipartBody3597923074000847805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967223793,"filename":"image_17122025_11_18_15_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777108","file1":"1399777106","file0":"1399777104","file4":"1399777112","file5":"1399777115","file3":"1399777110"},"map_files_photo_id_array":[{"photo_id":"1399777115","filename":"file5"},{"photo_id":"1399777108","filename":"file2"},{"photo_id":"1399777112","filename":"file4"},{"photo_id":"1399777106","filename":"file1"},{"photo_id":"1399777104","filename":"file0"},{"photo_id":"1399777110","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777108":["hashtag1","hashtag2"]},{"1399777110":["hashtag1","hashtag2"]},{"1399777104":["hashtag1","hashtag2"]},{"1399777112":["hashtag1","hashtag2"]},{"1399777106":["hashtag1","hashtag2"]},{"1399777115":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777108, 1399777110, 1399777104, 1399777112, 1399777106, 1399777115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.840418100357056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:26:42.570777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_32_2656.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_35_2661.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_47_2754.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_50_3737.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_57_6319.jpg', '/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_58_1725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_32_2656.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_35_2661.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_47_2754.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_50_3737.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_57_6319.jpg
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_02_58_1725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777162","1399777152","1399777125","1399777155","1399777160","1399777136"],"photo_ids_order":["1399777125","1399777136","1399777152","1399777155","1399777160","1399777162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ab8643af739b93f45a910588e314206.jpg","text":"TemporaryFile(/tmp/multipartBody3911358375798660335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967263376,"filename":"image_07112025_19_02_58_1725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92ed2923936196b45027b891dbd1fc58.jpg","text":"TemporaryFile(/tmp/multipartBody1598104811200720779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967263376,"filename":"image_07112025_19_02_47_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8960687c8030e728c6d139a108af6bd0.jpg","text":"TemporaryFile(/tmp/multipartBody1144352395029571864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967263376,"filename":"image_07112025_19_02_32_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89f00cc8118cf5297e24c149f7e5f134.jpg","text":"TemporaryFile(/tmp/multipartBody5761839165166689310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967263376,"filename":"image_07112025_19_02_50_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/051d30b7cca3713af3807de788f0924e.jpg","text":"TemporaryFile(/tmp/multipartBody2273860365016508700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967263376,"filename":"image_07112025_19_02_57_6319.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/881113b5771583be0983188e07b807d1.jpg","text":"TemporaryFile(/tmp/multipartBody6180844750423328922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967263376,"filename":"image_07112025_19_02_35_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777152","file1":"1399777136","file0":"1399777125","file4":"1399777160","file5":"1399777162","file3":"1399777155"},"map_files_photo_id_array":[{"photo_id":"1399777162","filename":"file5"},{"photo_id":"1399777152","filename":"file2"},{"photo_id":"1399777160","filename":"file4"},{"photo_id":"1399777136","filename":"file1"},{"photo_id":"1399777125","filename":"file0"},{"photo_id":"1399777155","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777162":["hashtag1","hashtag2"]},{"1399777152":["hashtag1","hashtag2"]},{"1399777125":["hashtag1","hashtag2"]},{"1399777155":["hashtag1","hashtag2"]},{"1399777160":["hashtag1","hashtag2"]},{"1399777136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777162, 1399777152, 1399777125, 1399777155, 1399777160, 1399777136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9145290851593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:27:21.860100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_25_9828.jpg', '/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_34_9800.jpg', '/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_45_10738.jpg', '/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_55_9836.jpg', '/home/pi/Desktop/images/17122025/11/18/image_17122025_11_19_05_9734.jpg', '/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_15_10240.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_25_9828.jpg
/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_34_9800.jpg
/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_45_10738.jpg
/home/pi/Desktop/images/17122025/11/18/image_17122025_11_18_55_9836.jpg
/home/pi/Desktop/images/17122025/11/18/image_17122025_11_19_05_9734.jpg
/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_15_10240.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777176","1399777170","1399777173","1399777167","1399777181","1399777178"],"photo_ids_order":["1399777167","1399777170","1399777173","1399777176","1399777178","1399777181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e9c22d303443ac1e39f0661a48a6a31.jpg","text":"TemporaryFile(/tmp/multipartBody6992575801828636822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967302502,"filename":"image_17122025_11_18_55_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9db4b0037f42bebac48a75fbd823c912.jpg","text":"TemporaryFile(/tmp/multipartBody7377229132392109840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967302502,"filename":"image_17122025_11_18_34_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ac8101adec635311dd12e3ed2392de6.jpg","text":"TemporaryFile(/tmp/multipartBody1142147335691183565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967302502,"filename":"image_17122025_11_18_45_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c0986844481f180c94bb302acac3b0e.jpg","text":"TemporaryFile(/tmp/multipartBody9067970834190477437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967302502,"filename":"image_17122025_11_18_25_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e61fc03ce0094c2daf87ff5cbb88b930.jpg","text":"TemporaryFile(/tmp/multipartBody4157625050765870640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967302502,"filename":"image_17122025_11_19_15_10240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fda835703c460d043e01802e6e567f61.jpg","text":"TemporaryFile(/tmp/multipartBody7129522077600194942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967302502,"filename":"image_17122025_11_19_05_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777173","file1":"1399777170","file0":"1399777167","file4":"1399777178","file5":"1399777181","file3":"1399777176"},"map_files_photo_id_array":[{"photo_id":"1399777181","filename":"file5"},{"photo_id":"1399777173","filename":"file2"},{"photo_id":"1399777178","filename":"file4"},{"photo_id":"1399777170","filename":"file1"},{"photo_id":"1399777167","filename":"file0"},{"photo_id":"1399777176","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777176":["hashtag1","hashtag2"]},{"1399777170":["hashtag1","hashtag2"]},{"1399777173":["hashtag1","hashtag2"]},{"1399777167":["hashtag1","hashtag2"]},{"1399777181":["hashtag1","hashtag2"]},{"1399777178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777176, 1399777170, 1399777173, 1399777167, 1399777181, 1399777178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19012689590454 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:28:02.441784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_25_9715.jpg', '/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_34_9736.jpg', '/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_45_10702.jpg', '/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_55_9676.jpg', '/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_13_10041.jpg', '/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_24_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_25_9715.jpg
/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_34_9736.jpg
/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_45_10702.jpg
/home/pi/Desktop/images/17122025/11/19/image_17122025_11_19_55_9676.jpg
/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_13_10041.jpg
/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_24_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":["1399777189","1399777194","1399777188","1399777197","1399777187","1399777192"],"photo_ids_order":["1399777187","1399777188","1399777189","1399777192","1399777194","1399777197"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e02ef55c6aa45a6189af1e65f573a35.jpg","text":"TemporaryFile(/tmp/multipartBody717481260754248956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967343116,"filename":"image_17122025_11_19_45_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3ef35fc08050e55354d9d9c1bc0efea.jpg","text":"TemporaryFile(/tmp/multipartBody5783830811433930164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967343116,"filename":"image_17122025_11_21_13_10041.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40ee533eff2c03d8dde9eba03b0a9cb3.jpg","text":"TemporaryFile(/tmp/multipartBody7985571793697820464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967343116,"filename":"image_17122025_11_19_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98a8ad82d29dae9ef54c332e636b24e1.jpg","text":"TemporaryFile(/tmp/multipartBody2921698712733268967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967343116,"filename":"image_17122025_11_21_24_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e043b63d5048c023e27550661a9cd9f.jpg","text":"TemporaryFile(/tmp/multipartBody3782462493302953210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967343116,"filename":"image_17122025_11_19_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f85fb908a0e67fb2024876ef6313c3bd.jpg","text":"TemporaryFile(/tmp/multipartBody3101602510398144110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967343116,"filename":"image_17122025_11_19_55_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777189","file1":"1399777188","file0":"1399777187","file4":"1399777194","file5":"1399777197","file3":"1399777192"},"map_files_photo_id_array":[{"photo_id":"1399777197","filename":"file5"},{"photo_id":"1399777189","filename":"file2"},{"photo_id":"1399777194","filename":"file4"},{"photo_id":"1399777188","filename":"file1"},{"photo_id":"1399777187","filename":"file0"},{"photo_id":"1399777192","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777189":["hashtag1","hashtag2"]},{"1399777194":["hashtag1","hashtag2"]},{"1399777188":["hashtag1","hashtag2"]},{"1399777197":["hashtag1","hashtag2"]},{"1399777187":["hashtag1","hashtag2"]},{"1399777192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777189, 1399777194, 1399777188, 1399777197, 1399777187, 1399777192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42590117454529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:28:42.085456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/02/image_07112025_19_03_00_1733.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_02_1557.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_08_2641.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_11_2576.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_14_3670.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_29_2843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/02/image_07112025_19_03_00_1733.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_02_1557.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_08_2641.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_11_2576.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_14_3670.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_29_2843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777219","1399777210","1399777209","1399777211","1399777205","1399777208"],"photo_ids_order":["1399777205","1399777208","1399777209","1399777210","1399777211","1399777219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ec1232fc11369721c32d9e891e26cab.jpg","text":"TemporaryFile(/tmp/multipartBody4455847571165253818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967382892,"filename":"image_07112025_19_03_29_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8105df02d8f4cb687143136618ad172d.jpg","text":"TemporaryFile(/tmp/multipartBody5952529060848476462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967382892,"filename":"image_07112025_19_03_11_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c88937b1ca2fff94f863b89e2b30851f.jpg","text":"TemporaryFile(/tmp/multipartBody6328781842951790424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967382892,"filename":"image_07112025_19_03_08_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8decb6db9310ee1fcfa4133cfdae32be.jpg","text":"TemporaryFile(/tmp/multipartBody6138942857643747620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967382892,"filename":"image_07112025_19_03_14_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27a1502170c82410bb7f61034c7c2056.jpg","text":"TemporaryFile(/tmp/multipartBody2707768494898466077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967382892,"filename":"image_07112025_19_03_00_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0878290d3db3b05d0db91a12d6575de.jpg","text":"TemporaryFile(/tmp/multipartBody5506321684400563375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967382892,"filename":"image_07112025_19_03_02_1557.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777209","file1":"1399777208","file0":"1399777205","file4":"1399777211","file5":"1399777219","file3":"1399777210"},"map_files_photo_id_array":[{"photo_id":"1399777219","filename":"file5"},{"photo_id":"1399777209","filename":"file2"},{"photo_id":"1399777211","filename":"file4"},{"photo_id":"1399777208","filename":"file1"},{"photo_id":"1399777205","filename":"file0"},{"photo_id":"1399777210","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777219":["hashtag1","hashtag2"]},{"1399777210":["hashtag1","hashtag2"]},{"1399777209":["hashtag1","hashtag2"]},{"1399777211":["hashtag1","hashtag2"]},{"1399777205":["hashtag1","hashtag2"]},{"1399777208":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777219, 1399777210, 1399777209, 1399777211, 1399777205, 1399777208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.741206645965576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:29:22.429362
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_34_9636.jpg', '/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_44_10627.jpg', '/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_54_9725.jpg', '/home/pi/Desktop/images/17122025/11/21/image_17122025_11_22_04_9811.jpg', '/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_14_9710.jpg', '/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_24_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_34_9636.jpg
/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_44_10627.jpg
/home/pi/Desktop/images/17122025/11/21/image_17122025_11_21_54_9725.jpg
/home/pi/Desktop/images/17122025/11/21/image_17122025_11_22_04_9811.jpg
/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_14_9710.jpg
/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_24_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":["1399777234","1399777227","1399777236","1399777229","1399777238","1399777232"],"photo_ids_order":["1399777227","1399777229","1399777232","1399777234","1399777236","1399777238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea7e391133c49b077ce202ef7d89ab86.jpg","text":"TemporaryFile(/tmp/multipartBody4459771144326372495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967423074,"filename":"image_17122025_11_22_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb8042a5402285bbc8d2c9e71ae5401c.jpg","text":"TemporaryFile(/tmp/multipartBody4914174358312445467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967423074,"filename":"image_17122025_11_21_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30788573cc1a27cbc24163a3f53ae1d4.jpg","text":"TemporaryFile(/tmp/multipartBody513601333926951929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967423074,"filename":"image_17122025_11_22_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5038c0b6613c9ff55dc015d9704dcdeb.jpg","text":"TemporaryFile(/tmp/multipartBody6601008776535323698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967423074,"filename":"image_17122025_11_21_44_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72752846cf702b320ae7298398cf74b6.jpg","text":"TemporaryFile(/tmp/multipartBody7589799971345199576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967423074,"filename":"image_17122025_11_22_24_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/123f9ff60db4165968d0e259c8f7b413.jpg","text":"TemporaryFile(/tmp/multipartBody4046415788409690160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967423074,"filename":"image_17122025_11_21_54_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777232","file1":"1399777229","file0":"1399777227","file4":"1399777236","file5":"1399777238","file3":"1399777234"},"map_files_photo_id_array":[{"photo_id":"1399777238","filename":"file5"},{"photo_id":"1399777232","filename":"file2"},{"photo_id":"1399777236","filename":"file4"},{"photo_id":"1399777229","filename":"file1"},{"photo_id":"1399777227","filename":"file0"},{"photo_id":"1399777234","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777234":["hashtag1","hashtag2"]},{"1399777227":["hashtag1","hashtag2"]},{"1399777236":["hashtag1","hashtag2"]},{"1399777229":["hashtag1","hashtag2"]},{"1399777238":["hashtag1","hashtag2"]},{"1399777232":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777234, 1399777227, 1399777236, 1399777229, 1399777238, 1399777232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6741988658905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:30:03.078846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_34_9687.jpg', '/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_44_9670.jpg', '/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_54_9960.jpg', '/home/pi/Desktop/images/17122025/11/22/image_17122025_11_23_04_10663.jpg', '/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_14_9998.jpg', '/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_24_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_34_9687.jpg
/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_44_9670.jpg
/home/pi/Desktop/images/17122025/11/22/image_17122025_11_22_54_9960.jpg
/home/pi/Desktop/images/17122025/11/22/image_17122025_11_23_04_10663.jpg
/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_14_9998.jpg
/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_24_9883.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777260","1399777266","1399777271","1399777268","1399777262","1399777264"],"photo_ids_order":["1399777260","1399777262","1399777264","1399777266","1399777268","1399777271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76d8e1343f5b8a2fb2b339e75e84c4d3.jpg","text":"TemporaryFile(/tmp/multipartBody8280346763439789183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967463783,"filename":"image_17122025_11_22_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53d59f9622b751cc7757e7cd6a8d0a29.jpg","text":"TemporaryFile(/tmp/multipartBody55212328271836631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967463783,"filename":"image_17122025_11_23_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a19ebf66c07b1951bcf1e462b849aa3.jpg","text":"TemporaryFile(/tmp/multipartBody988507644244607762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967463783,"filename":"image_17122025_11_23_24_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fd803f76620d6642a028e6b1ef14176.jpg","text":"TemporaryFile(/tmp/multipartBody7366138763853129693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967463783,"filename":"image_17122025_11_23_14_9998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8e82272e3d18f1c1376f3ea623a46cf.jpg","text":"TemporaryFile(/tmp/multipartBody8114689122317829088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967463783,"filename":"image_17122025_11_22_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89412254ef74998db48c66e62160171b.jpg","text":"TemporaryFile(/tmp/multipartBody2752535948361588317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967463783,"filename":"image_17122025_11_22_54_9960.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777264","file1":"1399777262","file0":"1399777260","file4":"1399777268","file5":"1399777271","file3":"1399777266"},"map_files_photo_id_array":[{"photo_id":"1399777271","filename":"file5"},{"photo_id":"1399777264","filename":"file2"},{"photo_id":"1399777268","filename":"file4"},{"photo_id":"1399777262","filename":"file1"},{"photo_id":"1399777260","filename":"file0"},{"photo_id":"1399777266","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777260":["hashtag1","hashtag2"]},{"1399777266":["hashtag1","hashtag2"]},{"1399777271":["hashtag1","hashtag2"]},{"1399777268":["hashtag1","hashtag2"]},{"1399777262":["hashtag1","hashtag2"]},{"1399777264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777260, 1399777266, 1399777271, 1399777268, 1399777262, 1399777264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85180974006653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:30:42.643833
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_32_2563.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_35_2871.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_38_3711.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_45_1701.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_47_1609.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_50_2830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_32_2563.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_35_2871.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_38_3711.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_45_1701.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_47_1609.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_50_2830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777281","1399777284","1399777278","1399777283","1399777286","1399777285"],"photo_ids_order":["1399777278","1399777281","1399777283","1399777284","1399777285","1399777286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1343ba4653de58325567e1e4f0f94058.jpg","text":"TemporaryFile(/tmp/multipartBody499248152745715748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967503424,"filename":"image_07112025_19_03_35_2871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2097d93a3696005f8d7097fefb7d8eed.jpg","text":"TemporaryFile(/tmp/multipartBody3250722984923426802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967503424,"filename":"image_07112025_19_03_45_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf4cad858694f266398771d1c4b3f8a8.jpg","text":"TemporaryFile(/tmp/multipartBody4560462042326914448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967503424,"filename":"image_07112025_19_03_32_2563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d3f9a400456e21eacf4b1bbf6202418.jpg","text":"TemporaryFile(/tmp/multipartBody7055865605242868972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967503424,"filename":"image_07112025_19_03_38_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3a93443f9629bb5837e33109a741f4f.jpg","text":"TemporaryFile(/tmp/multipartBody3154441332455623345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967503424,"filename":"image_07112025_19_03_50_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3121f7a847f9a6b6c87eb782c9c29ea8.jpg","text":"TemporaryFile(/tmp/multipartBody1473312295266112676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967503424,"filename":"image_07112025_19_03_47_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777283","file1":"1399777281","file0":"1399777278","file4":"1399777285","file5":"1399777286","file3":"1399777284"},"map_files_photo_id_array":[{"photo_id":"1399777286","filename":"file5"},{"photo_id":"1399777283","filename":"file2"},{"photo_id":"1399777285","filename":"file4"},{"photo_id":"1399777281","filename":"file1"},{"photo_id":"1399777278","filename":"file0"},{"photo_id":"1399777284","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777281":["hashtag1","hashtag2"]},{"1399777284":["hashtag1","hashtag2"]},{"1399777278":["hashtag1","hashtag2"]},{"1399777283":["hashtag1","hashtag2"]},{"1399777286":["hashtag1","hashtag2"]},{"1399777285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777281, 1399777284, 1399777278, 1399777283, 1399777286, 1399777285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90521168708801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:31:22.022116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_34_9847.jpg', '/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_44_9935.jpg', '/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_54_9666.jpg', '/home/pi/Desktop/images/17122025/11/23/image_17122025_11_24_04_10719.jpg', '/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_14_9688.jpg', '/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_24_9881.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_34_9847.jpg
/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_44_9935.jpg
/home/pi/Desktop/images/17122025/11/23/image_17122025_11_23_54_9666.jpg
/home/pi/Desktop/images/17122025/11/23/image_17122025_11_24_04_10719.jpg
/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_14_9688.jpg
/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_24_9881.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777299","1399777295","1399777304","1399777297","1399777301","1399777291"],"photo_ids_order":["1399777291","1399777295","1399777297","1399777299","1399777301","1399777304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aca593f7ba145b47e1cd889874986ef4.jpg","text":"TemporaryFile(/tmp/multipartBody4959262268350894006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967542667,"filename":"image_17122025_11_24_04_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1176dc5d6951165a88cb3fc079c3b85d.jpg","text":"TemporaryFile(/tmp/multipartBody6979468855119914045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967542667,"filename":"image_17122025_11_23_44_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34e3164c1fd88c10ea6ae3386280786c.jpg","text":"TemporaryFile(/tmp/multipartBody3234577208877250450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967542667,"filename":"image_17122025_11_24_24_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/547b23a610b7512338634245f6117d19.jpg","text":"TemporaryFile(/tmp/multipartBody2905997981726260561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967542667,"filename":"image_17122025_11_23_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ae089baaeaf0608db326867109d63f0.jpg","text":"TemporaryFile(/tmp/multipartBody2969049065705923882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967542667,"filename":"image_17122025_11_24_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02113a2dbdfa2ac16e7626eb8a14c203.jpg","text":"TemporaryFile(/tmp/multipartBody7987615131275818590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967542667,"filename":"image_17122025_11_23_34_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777297","file1":"1399777295","file0":"1399777291","file4":"1399777301","file5":"1399777304","file3":"1399777299"},"map_files_photo_id_array":[{"photo_id":"1399777304","filename":"file5"},{"photo_id":"1399777297","filename":"file2"},{"photo_id":"1399777301","filename":"file4"},{"photo_id":"1399777295","filename":"file1"},{"photo_id":"1399777291","filename":"file0"},{"photo_id":"1399777299","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777299":["hashtag1","hashtag2"]},{"1399777295":["hashtag1","hashtag2"]},{"1399777304":["hashtag1","hashtag2"]},{"1399777297":["hashtag1","hashtag2"]},{"1399777301":["hashtag1","hashtag2"]},{"1399777291":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777299, 1399777295, 1399777304, 1399777297, 1399777301, 1399777291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.204471826553345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:32:02.582185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_34_9639.jpg', '/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_44_10838.jpg', '/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_54_9608.jpg', '/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_14_10057.jpg', '/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_24_10760.jpg', '/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_34_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_34_9639.jpg
/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_44_10838.jpg
/home/pi/Desktop/images/17122025/11/24/image_17122025_11_24_54_9608.jpg
/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_14_10057.jpg
/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_24_10760.jpg
/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_34_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":["1399777312","1399777315","1399777309","1399777318","1399777320","1399777322"],"photo_ids_order":["1399777309","1399777312","1399777315","1399777318","1399777320","1399777322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e694e1d1ca0012eedfe73fd7a747a57.jpg","text":"TemporaryFile(/tmp/multipartBody6244958069185209953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967583304,"filename":"image_17122025_11_24_44_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4121f49dfb5ab69418c9a1970c43ae03.jpg","text":"TemporaryFile(/tmp/multipartBody8980988073065350918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967583304,"filename":"image_17122025_11_24_54_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70a3d18352de9a1a2a99e138f915ea39.jpg","text":"TemporaryFile(/tmp/multipartBody1815510464211611203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967583304,"filename":"image_17122025_11_24_34_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd1ed7ad0f8743fc33b2d31ee06e09e6.jpg","text":"TemporaryFile(/tmp/multipartBody5341349024334317794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967583304,"filename":"image_17122025_11_25_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c1265fda810cd5e94fd299df45088de.jpg","text":"TemporaryFile(/tmp/multipartBody549790542331002899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967583304,"filename":"image_17122025_11_25_24_10760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0629d5691172020f77d8e94f190da9d6.jpg","text":"TemporaryFile(/tmp/multipartBody7426611869695751437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967583304,"filename":"image_17122025_11_25_34_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777315","file1":"1399777312","file0":"1399777309","file4":"1399777320","file5":"1399777322","file3":"1399777318"},"map_files_photo_id_array":[{"photo_id":"1399777322","filename":"file5"},{"photo_id":"1399777315","filename":"file2"},{"photo_id":"1399777320","filename":"file4"},{"photo_id":"1399777312","filename":"file1"},{"photo_id":"1399777309","filename":"file0"},{"photo_id":"1399777318","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777312":["hashtag1","hashtag2"]},{"1399777315":["hashtag1","hashtag2"]},{"1399777309":["hashtag1","hashtag2"]},{"1399777318":["hashtag1","hashtag2"]},{"1399777320":["hashtag1","hashtag2"]},{"1399777322":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777312, 1399777315, 1399777309, 1399777318, 1399777320, 1399777322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72307991981506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:32:42.171864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_56_3754.jpg', '/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_59_2657.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_02_2775.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_05_3649.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_08_2638.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_11_2878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_56_3754.jpg
/home/pi/Desktop/images/07112025/19/03/image_07112025_19_03_59_2657.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_02_2775.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_05_3649.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_08_2638.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_11_2878.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777336","1399777362","1399777371","1399777367","1399777361","1399777355"],"photo_ids_order":["1399777336","1399777355","1399777361","1399777362","1399777367","1399777371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c13817a683bf2e220535d8eeaccf627a.jpg","text":"TemporaryFile(/tmp/multipartBody2041214785915207479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967622944,"filename":"image_07112025_19_03_56_3754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a827bdc9c30a7325f66614b35d3054cf.jpg","text":"TemporaryFile(/tmp/multipartBody7048688194248160986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967622944,"filename":"image_07112025_19_04_05_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdf699fb4b6a794751e90b3331987f77.jpg","text":"TemporaryFile(/tmp/multipartBody9178458123604722002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967622944,"filename":"image_07112025_19_04_11_2878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45351e44a5fb7b2b67db6facecb8d151.jpg","text":"TemporaryFile(/tmp/multipartBody1642292535875295027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967622944,"filename":"image_07112025_19_04_08_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddfa71eb75bb6a5f91b7d5f7b16d1b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7550877461462460126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967622944,"filename":"image_07112025_19_04_02_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79618e4b18b7d8222e383d607222ab36.jpg","text":"TemporaryFile(/tmp/multipartBody9216695691582712279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967622944,"filename":"image_07112025_19_03_59_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777361","file1":"1399777355","file0":"1399777336","file4":"1399777367","file5":"1399777371","file3":"1399777362"},"map_files_photo_id_array":[{"photo_id":"1399777371","filename":"file5"},{"photo_id":"1399777361","filename":"file2"},{"photo_id":"1399777367","filename":"file4"},{"photo_id":"1399777355","filename":"file1"},{"photo_id":"1399777336","filename":"file0"},{"photo_id":"1399777362","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777336":["hashtag1","hashtag2"]},{"1399777362":["hashtag1","hashtag2"]},{"1399777371":["hashtag1","hashtag2"]},{"1399777367":["hashtag1","hashtag2"]},{"1399777361":["hashtag1","hashtag2"]},{"1399777355":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777336, 1399777362, 1399777371, 1399777367, 1399777361, 1399777355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55769991874695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:33:22.429738
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_44_9781.jpg', '/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_55_10680.jpg', '/home/pi/Desktop/images/17122025/11/25/image_17122025_11_26_04_9783.jpg', '/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_14_9686.jpg', '/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_24_9833.jpg', '/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_35_10749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_44_9781.jpg
/home/pi/Desktop/images/17122025/11/25/image_17122025_11_25_55_10680.jpg
/home/pi/Desktop/images/17122025/11/25/image_17122025_11_26_04_9783.jpg
/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_14_9686.jpg
/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_24_9833.jpg
/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_35_10749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777386","1399777389","1399777377","1399777382","1399777381","1399777384"],"photo_ids_order":["1399777377","1399777381","1399777382","1399777384","1399777386","1399777389"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf5939c35677afe0f06f7a5e8419c49a.jpg","text":"TemporaryFile(/tmp/multipartBody8336331106991819706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967663075,"filename":"image_17122025_11_26_24_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31a39e753bc2ea843a09567a61506b1c.jpg","text":"TemporaryFile(/tmp/multipartBody3170203375939135216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967663075,"filename":"image_17122025_11_26_35_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18ef9bee4376f7bbf16d92742cbb8f15.jpg","text":"TemporaryFile(/tmp/multipartBody3648700860740996410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967663075,"filename":"image_17122025_11_25_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/977ebbb830927b63bd96506158b4319f.jpg","text":"TemporaryFile(/tmp/multipartBody6029033870951340799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967663075,"filename":"image_17122025_11_26_04_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/daef26ea61239286b4f18d4b34faedde.jpg","text":"TemporaryFile(/tmp/multipartBody6425984111077781746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967663075,"filename":"image_17122025_11_25_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fcaccb37e0d2b4d953fa9a27175647f3.jpg","text":"TemporaryFile(/tmp/multipartBody1857247174173700605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967663075,"filename":"image_17122025_11_26_14_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777382","file1":"1399777381","file0":"1399777377","file4":"1399777386","file5":"1399777389","file3":"1399777384"},"map_files_photo_id_array":[{"photo_id":"1399777389","filename":"file5"},{"photo_id":"1399777382","filename":"file2"},{"photo_id":"1399777386","filename":"file4"},{"photo_id":"1399777381","filename":"file1"},{"photo_id":"1399777377","filename":"file0"},{"photo_id":"1399777384","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777386":["hashtag1","hashtag2"]},{"1399777389":["hashtag1","hashtag2"]},{"1399777377":["hashtag1","hashtag2"]},{"1399777382":["hashtag1","hashtag2"]},{"1399777381":["hashtag1","hashtag2"]},{"1399777384":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777386, 1399777389, 1399777377, 1399777382, 1399777381, 1399777384)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.775203227996826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:34:03.415177
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_44_9566.jpg', '/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_54_9858.jpg', '/home/pi/Desktop/images/17122025/11/26/image_17122025_11_27_04_9697.jpg', '/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_14_10018.jpg', '/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_24_10692.jpg', '/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_34_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_44_9566.jpg
/home/pi/Desktop/images/17122025/11/26/image_17122025_11_26_54_9858.jpg
/home/pi/Desktop/images/17122025/11/26/image_17122025_11_27_04_9697.jpg
/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_14_10018.jpg
/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_24_10692.jpg
/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_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":["1399777408","1399777392","1399777405","1399777391","1399777394","1399777399"],"photo_ids_order":["1399777391","1399777392","1399777394","1399777399","1399777405","1399777408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2945e49b8406426e462aa463fc81c794.jpg","text":"TemporaryFile(/tmp/multipartBody2224012473253463780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967704099,"filename":"image_17122025_11_27_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75021a654a1c068c144acf31de42f1da.jpg","text":"TemporaryFile(/tmp/multipartBody7291204666926240221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967704099,"filename":"image_17122025_11_26_54_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b9ef0a150e7190efea36e5f41ac335c.jpg","text":"TemporaryFile(/tmp/multipartBody4341583665598488397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967704099,"filename":"image_17122025_11_27_24_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6c8131763d67fb8d02819b9cfaca7de.jpg","text":"TemporaryFile(/tmp/multipartBody3205344455489720875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967704099,"filename":"image_17122025_11_26_44_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22d74b65ad698374b52dce420b4e0cef.jpg","text":"TemporaryFile(/tmp/multipartBody703272596530137285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967704099,"filename":"image_17122025_11_27_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd501e0c829dbd378b1c1f4659333177.jpg","text":"TemporaryFile(/tmp/multipartBody6171055424635764833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967704099,"filename":"image_17122025_11_27_14_10018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777394","file1":"1399777392","file0":"1399777391","file4":"1399777405","file5":"1399777408","file3":"1399777399"},"map_files_photo_id_array":[{"photo_id":"1399777408","filename":"file5"},{"photo_id":"1399777394","filename":"file2"},{"photo_id":"1399777405","filename":"file4"},{"photo_id":"1399777392","filename":"file1"},{"photo_id":"1399777391","filename":"file0"},{"photo_id":"1399777399","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777408":["hashtag1","hashtag2"]},{"1399777392":["hashtag1","hashtag2"]},{"1399777405":["hashtag1","hashtag2"]},{"1399777391":["hashtag1","hashtag2"]},{"1399777394":["hashtag1","hashtag2"]},{"1399777399":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777408, 1399777392, 1399777405, 1399777391, 1399777394, 1399777399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98449087142944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:34:42.715467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_14_2724.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_22_2687.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_26_3812.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_29_2670.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_35_2849.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_38_3575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_14_2724.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_22_2687.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_26_3812.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_29_2670.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_35_2849.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_38_3575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777497","1399777434","1399777431","1399777428","1399777472","1399777424"],"photo_ids_order":["1399777424","1399777428","1399777431","1399777434","1399777472","1399777497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c9040b75543a91bb7f187f5823cb34d.jpg","text":"TemporaryFile(/tmp/multipartBody8012265269752331425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967743493,"filename":"image_07112025_19_04_38_3575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95f917ba03738687f996fbfb274d05a8.jpg","text":"TemporaryFile(/tmp/multipartBody8598865787784049447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967743493,"filename":"image_07112025_19_04_29_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ae6f428b43e855572f068164e44c65c.jpg","text":"TemporaryFile(/tmp/multipartBody4811512708352680056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967743493,"filename":"image_07112025_19_04_26_3812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a792bd16ee6288c93de2f89a674fb48.jpg","text":"TemporaryFile(/tmp/multipartBody7458046328744390628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967743493,"filename":"image_07112025_19_04_22_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e906a199f70bb812c4ead1f11133c06b.jpg","text":"TemporaryFile(/tmp/multipartBody4194010443054795515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967743493,"filename":"image_07112025_19_04_35_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cabc53a702328ecc77422608973bc5d7.jpg","text":"TemporaryFile(/tmp/multipartBody7065245286157413550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967743493,"filename":"image_07112025_19_04_14_2724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777431","file1":"1399777428","file0":"1399777424","file4":"1399777472","file5":"1399777497","file3":"1399777434"},"map_files_photo_id_array":[{"photo_id":"1399777497","filename":"file5"},{"photo_id":"1399777431","filename":"file2"},{"photo_id":"1399777472","filename":"file4"},{"photo_id":"1399777428","filename":"file1"},{"photo_id":"1399777424","filename":"file0"},{"photo_id":"1399777434","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777497":["hashtag1","hashtag2"]},{"1399777434":["hashtag1","hashtag2"]},{"1399777431":["hashtag1","hashtag2"]},{"1399777428":["hashtag1","hashtag2"]},{"1399777472":["hashtag1","hashtag2"]},{"1399777424":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777497, 1399777434, 1399777431, 1399777428, 1399777472, 1399777424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.527870893478394 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:35:21.976094
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_44_9715.jpg', '/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_54_10609.jpg', '/home/pi/Desktop/images/17122025/11/27/image_17122025_11_28_04_9693.jpg', '/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_14_9878.jpg', '/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_24_9718.jpg', '/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_34_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_44_9715.jpg
/home/pi/Desktop/images/17122025/11/27/image_17122025_11_27_54_10609.jpg
/home/pi/Desktop/images/17122025/11/27/image_17122025_11_28_04_9693.jpg
/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_14_9878.jpg
/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_24_9718.jpg
/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_34_10630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777510","1399777507","1399777501","1399777504","1399777526","1399777520"],"photo_ids_order":["1399777501","1399777504","1399777507","1399777510","1399777520","1399777526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85c6884e8fc590cbc5176dd3a07069ad.jpg","text":"TemporaryFile(/tmp/multipartBody200251506436204840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967782617,"filename":"image_17122025_11_28_14_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c8ef2de0cca50301182c277af0c8393.jpg","text":"TemporaryFile(/tmp/multipartBody1660993435423102536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967782617,"filename":"image_17122025_11_28_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61d4744c05bcf7fc4fe5cd898dc6650b.jpg","text":"TemporaryFile(/tmp/multipartBody1082695253282965644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967782617,"filename":"image_17122025_11_27_44_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9836cc8e1f3f64c7d037a0ae9cefae9e.jpg","text":"TemporaryFile(/tmp/multipartBody5314979337016585130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967782617,"filename":"image_17122025_11_27_54_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad3ae8397e17257a2cf861b4ab1d6efe.jpg","text":"TemporaryFile(/tmp/multipartBody8171517552580924567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967782617,"filename":"image_17122025_11_28_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e63a05d48d32c8370f9f689269e44d29.jpg","text":"TemporaryFile(/tmp/multipartBody8026041443864087888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967782617,"filename":"image_17122025_11_28_24_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777507","file1":"1399777504","file0":"1399777501","file4":"1399777520","file5":"1399777526","file3":"1399777510"},"map_files_photo_id_array":[{"photo_id":"1399777526","filename":"file5"},{"photo_id":"1399777507","filename":"file2"},{"photo_id":"1399777520","filename":"file4"},{"photo_id":"1399777504","filename":"file1"},{"photo_id":"1399777501","filename":"file0"},{"photo_id":"1399777510","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777510":["hashtag1","hashtag2"]},{"1399777507":["hashtag1","hashtag2"]},{"1399777501":["hashtag1","hashtag2"]},{"1399777504":["hashtag1","hashtag2"]},{"1399777526":["hashtag1","hashtag2"]},{"1399777520":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777510, 1399777507, 1399777501, 1399777504, 1399777526, 1399777520)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58611583709717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:36:02.772078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_44_9778.jpg', '/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_54_9706.jpg', '/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_14_9720.jpg', '/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_24_9650.jpg', '/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_34_10659.jpg', '/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_44_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_44_9778.jpg
/home/pi/Desktop/images/17122025/11/28/image_17122025_11_28_54_9706.jpg
/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_14_9720.jpg
/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_24_9650.jpg
/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_34_10659.jpg
/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_44_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":["1399777564","1399777566","1399777560","1399777557","1399777562","1399777556"],"photo_ids_order":["1399777556","1399777557","1399777560","1399777562","1399777564","1399777566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a75b3e6082d9e5bed8571386a65e921a.jpg","text":"TemporaryFile(/tmp/multipartBody8850966902029791156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967823438,"filename":"image_17122025_11_29_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af73765b9674335ca46467825dbe4d5f.jpg","text":"TemporaryFile(/tmp/multipartBody7928361604806786216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967823438,"filename":"image_17122025_11_29_44_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d42e8bb2102708ce8dbf780ca505f648.jpg","text":"TemporaryFile(/tmp/multipartBody4601217553404867402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967823438,"filename":"image_17122025_11_29_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27f6e8090ff442e52f1f64a2598effeb.jpg","text":"TemporaryFile(/tmp/multipartBody1072664646645465682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967823438,"filename":"image_17122025_11_28_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c57fb9fa06d3eff65e626cfa92c1e719.jpg","text":"TemporaryFile(/tmp/multipartBody2291238299986527323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967823438,"filename":"image_17122025_11_29_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c80e1ba31c47855dea83a175ef418688.jpg","text":"TemporaryFile(/tmp/multipartBody3135512980900726198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967823438,"filename":"image_17122025_11_28_44_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777560","file1":"1399777557","file0":"1399777556","file4":"1399777564","file5":"1399777566","file3":"1399777562"},"map_files_photo_id_array":[{"photo_id":"1399777566","filename":"file5"},{"photo_id":"1399777560","filename":"file2"},{"photo_id":"1399777564","filename":"file4"},{"photo_id":"1399777557","filename":"file1"},{"photo_id":"1399777556","filename":"file0"},{"photo_id":"1399777562","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777564":["hashtag1","hashtag2"]},{"1399777566":["hashtag1","hashtag2"]},{"1399777560":["hashtag1","hashtag2"]},{"1399777557":["hashtag1","hashtag2"]},{"1399777562":["hashtag1","hashtag2"]},{"1399777556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777564, 1399777566, 1399777560, 1399777557, 1399777562, 1399777556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.597968339920044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:36:42.389713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_41_2640.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_44_2930.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_50_3711.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_55_2717.jpg', '/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_59_3864.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_02_2717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_41_2640.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_44_2930.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_50_3711.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_55_2717.jpg
/home/pi/Desktop/images/07112025/19/04/image_07112025_19_04_59_3864.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_02_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":["1399777579","1399777589","1399777574","1399777607","1399777591","1399777610"],"photo_ids_order":["1399777574","1399777579","1399777589","1399777591","1399777607","1399777610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69a8f4f78d1cde8e5615ae7b27c42e53.jpg","text":"TemporaryFile(/tmp/multipartBody1910311245194440220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967863170,"filename":"image_07112025_19_04_44_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33e7b034775166bc33c7fa8be64ba874.jpg","text":"TemporaryFile(/tmp/multipartBody1942355024441740355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967863170,"filename":"image_07112025_19_04_50_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b802f1208dc368efa17ef00b6aa6f8e3.jpg","text":"TemporaryFile(/tmp/multipartBody4688523241729125657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967863170,"filename":"image_07112025_19_04_41_2640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f2feccffae0733720fcf24d43f238e0.jpg","text":"TemporaryFile(/tmp/multipartBody7238015851389056528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967863170,"filename":"image_07112025_19_04_59_3864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8fc400f8fdd4f241ddcb52c6af766f3.jpg","text":"TemporaryFile(/tmp/multipartBody855893684534718632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967863170,"filename":"image_07112025_19_04_55_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9c4c1248f86689a17a80168acd2ef4e.jpg","text":"TemporaryFile(/tmp/multipartBody8092061042991877620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967863170,"filename":"image_07112025_19_05_02_2717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777589","file1":"1399777579","file0":"1399777574","file4":"1399777607","file5":"1399777610","file3":"1399777591"},"map_files_photo_id_array":[{"photo_id":"1399777610","filename":"file5"},{"photo_id":"1399777589","filename":"file2"},{"photo_id":"1399777607","filename":"file4"},{"photo_id":"1399777579","filename":"file1"},{"photo_id":"1399777574","filename":"file0"},{"photo_id":"1399777591","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777579":["hashtag1","hashtag2"]},{"1399777589":["hashtag1","hashtag2"]},{"1399777574":["hashtag1","hashtag2"]},{"1399777607":["hashtag1","hashtag2"]},{"1399777591":["hashtag1","hashtag2"]},{"1399777610":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777579, 1399777589, 1399777574, 1399777607, 1399777591, 1399777610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75555944442749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:37:22.647620
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_54_9684.jpg', '/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_14_10054.jpg', '/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_25_10661.jpg', '/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_35_9679.jpg', '/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_45_10588.jpg', '/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_55_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/29/image_17122025_11_29_54_9684.jpg
/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_14_10054.jpg
/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_25_10661.jpg
/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_35_9679.jpg
/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_45_10588.jpg
/home/pi/Desktop/images/17122025/11/30/image_17122025_11_30_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":["1399777651","1399777647","1399777632","1399777620","1399777617","1399777622"],"photo_ids_order":["1399777617","1399777620","1399777622","1399777632","1399777647","1399777651"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1808435bb771283c651aca2860b74285.jpg","text":"TemporaryFile(/tmp/multipartBody3500140889504253488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967903290,"filename":"image_17122025_11_30_55_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d57cf097d23c471f7ad1da6beff04b7e.jpg","text":"TemporaryFile(/tmp/multipartBody714025518841833284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967903290,"filename":"image_17122025_11_30_45_10588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb794dae6a88cb7e523c605b7eeadcce.jpg","text":"TemporaryFile(/tmp/multipartBody1395093494827397874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967903290,"filename":"image_17122025_11_30_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d19c38ac5ac11b6e619da2226981090f.jpg","text":"TemporaryFile(/tmp/multipartBody3212614883381994113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967903290,"filename":"image_17122025_11_30_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1821d76344e9403910452bd00df826a7.jpg","text":"TemporaryFile(/tmp/multipartBody5113770136962276573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967903290,"filename":"image_17122025_11_29_54_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aacac009097221ed70b4eddd129ca7f8.jpg","text":"TemporaryFile(/tmp/multipartBody3802883373021098173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967903290,"filename":"image_17122025_11_30_25_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777622","file1":"1399777620","file0":"1399777617","file4":"1399777647","file5":"1399777651","file3":"1399777632"},"map_files_photo_id_array":[{"photo_id":"1399777651","filename":"file5"},{"photo_id":"1399777622","filename":"file2"},{"photo_id":"1399777647","filename":"file4"},{"photo_id":"1399777620","filename":"file1"},{"photo_id":"1399777617","filename":"file0"},{"photo_id":"1399777632","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777651":["hashtag1","hashtag2"]},{"1399777647":["hashtag1","hashtag2"]},{"1399777632":["hashtag1","hashtag2"]},{"1399777620":["hashtag1","hashtag2"]},{"1399777617":["hashtag1","hashtag2"]},{"1399777622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777651, 1399777647, 1399777632, 1399777620, 1399777617, 1399777622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.262534379959106 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:38:02.308317
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/30/image_17122025_11_31_05_9691.jpg', '/home/pi/Desktop/images/17122025/11/31/image_17122025_11_31_15_10621.jpg', '/home/pi/Desktop/images/17122025/11/31/image_17122025_11_31_25_9711.jpg', '/home/pi/Desktop/images/17122025/11/31/image_17122025_11_31_35_9726.jpg', '/home/pi/Desktop/images/17122025/11/31/image_17122025_11_31_55_10764.jpg', '/home/pi/Desktop/images/17122025/11/31/image_17122025_11_32_05_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/30/image_17122025_11_31_05_9691.jpg
/home/pi/Desktop/images/17122025/11/31/image_17122025_11_31_15_10621.jpg
/home/pi/Desktop/images/17122025/11/31/image_17122025_11_31_25_9711.jpg
/home/pi/Desktop/images/17122025/11/31/image_17122025_11_31_35_9726.jpg
/home/pi/Desktop/images/17122025/11/31/image_17122025_11_31_55_10764.jpg
/home/pi/Desktop/images/17122025/11/31/image_17122025_11_32_05_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":["1399777741","1399777752","1399777755","1399777701","1399777736","1399777700"],"photo_ids_order":["1399777700","1399777701","1399777736","1399777741","1399777752","1399777755"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f26c7c4092fcf763796ce11707430fad.jpg","text":"TemporaryFile(/tmp/multipartBody7905733023989921739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967942967,"filename":"image_17122025_11_31_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc15e2db496aec254252d493b1bb4e20.jpg","text":"TemporaryFile(/tmp/multipartBody1702951340424854798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967942967,"filename":"image_17122025_11_31_55_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eee2970a26c32a9cc856d6f4ac211c4f.jpg","text":"TemporaryFile(/tmp/multipartBody7380674684241749894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967942967,"filename":"image_17122025_11_32_05_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9321d585b6a762e67ee3e11adb44c95.jpg","text":"TemporaryFile(/tmp/multipartBody1881825523019461306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967942967,"filename":"image_17122025_11_31_15_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c733f8828c7739ba74d044820a10b0c3.jpg","text":"TemporaryFile(/tmp/multipartBody7091187672017020991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967942967,"filename":"image_17122025_11_31_25_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eae72a4b04eb7c0f354fe497fbdb221b.jpg","text":"TemporaryFile(/tmp/multipartBody8170091071939567582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967942967,"filename":"image_17122025_11_31_05_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777736","file1":"1399777701","file0":"1399777700","file4":"1399777752","file5":"1399777755","file3":"1399777741"},"map_files_photo_id_array":[{"photo_id":"1399777755","filename":"file5"},{"photo_id":"1399777736","filename":"file2"},{"photo_id":"1399777752","filename":"file4"},{"photo_id":"1399777701","filename":"file1"},{"photo_id":"1399777700","filename":"file0"},{"photo_id":"1399777741","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777741":["hashtag1","hashtag2"]},{"1399777752":["hashtag1","hashtag2"]},{"1399777755":["hashtag1","hashtag2"]},{"1399777701":["hashtag1","hashtag2"]},{"1399777736":["hashtag1","hashtag2"]},{"1399777700":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777741, 1399777752, 1399777755, 1399777701, 1399777736, 1399777700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07695913314819 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:38:41.881900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_05_2962.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_08_2701.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_14_2829.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_17_2743.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_20_2855.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_22_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_05_2962.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_08_2701.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_14_2829.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_17_2743.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_20_2855.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_22_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777797","1399777764","1399777788","1399777796","1399777784","1399777786"],"photo_ids_order":["1399777764","1399777784","1399777786","1399777788","1399777796","1399777797"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6dfced51e8890a8d21a6bc687b8033f.jpg","text":"TemporaryFile(/tmp/multipartBody22820025715450683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967982671,"filename":"image_07112025_19_05_22_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2e2fdc0fe1573837723b1067ad5a8e9.jpg","text":"TemporaryFile(/tmp/multipartBody1936168131913504501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967982671,"filename":"image_07112025_19_05_05_2962.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a26133b2f7a910fb84b51427cb2bbc9.jpg","text":"TemporaryFile(/tmp/multipartBody6367258514750680699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967982671,"filename":"image_07112025_19_05_17_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dcd4f364fd9db987b24b1a94e67ed26b.jpg","text":"TemporaryFile(/tmp/multipartBody8609532487410735740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967982671,"filename":"image_07112025_19_05_20_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0d4726cf8c0f310f8fdf74a25a336fe.jpg","text":"TemporaryFile(/tmp/multipartBody9040701022044404717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967982671,"filename":"image_07112025_19_05_08_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db523efc06a57527001368d62bfb7746.jpg","text":"TemporaryFile(/tmp/multipartBody5268936881462708543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765967982671,"filename":"image_07112025_19_05_14_2829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777786","file1":"1399777784","file0":"1399777764","file4":"1399777796","file5":"1399777797","file3":"1399777788"},"map_files_photo_id_array":[{"photo_id":"1399777797","filename":"file5"},{"photo_id":"1399777786","filename":"file2"},{"photo_id":"1399777796","filename":"file4"},{"photo_id":"1399777784","filename":"file1"},{"photo_id":"1399777764","filename":"file0"},{"photo_id":"1399777788","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777797":["hashtag1","hashtag2"]},{"1399777764":["hashtag1","hashtag2"]},{"1399777788":["hashtag1","hashtag2"]},{"1399777796":["hashtag1","hashtag2"]},{"1399777784":["hashtag1","hashtag2"]},{"1399777786":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777797, 1399777764, 1399777788, 1399777796, 1399777784, 1399777786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.830761194229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:39:22.110500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_14_9768.jpg', '/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_25_10700.jpg', '/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_35_9662.jpg', '/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_45_10064.jpg', '/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_54_9655.jpg', '/home/pi/Desktop/images/17122025/11/32/image_17122025_11_33_04_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_14_9768.jpg
/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_25_10700.jpg
/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_35_9662.jpg
/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_45_10064.jpg
/home/pi/Desktop/images/17122025/11/32/image_17122025_11_32_54_9655.jpg
/home/pi/Desktop/images/17122025/11/32/image_17122025_11_33_04_9752.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777801","1399777804","1399777812","1399777806","1399777808","1399777802"],"photo_ids_order":["1399777801","1399777802","1399777804","1399777806","1399777808","1399777812"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3201f091a2ac0087592b3221bf98a8c6.jpg","text":"TemporaryFile(/tmp/multipartBody7207112540995380660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968022773,"filename":"image_17122025_11_32_14_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af8f4675c6f8c4ff0115caf04a7eb82f.jpg","text":"TemporaryFile(/tmp/multipartBody2485029710203761100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968022773,"filename":"image_17122025_11_32_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1efd69094688cb9be24aac57b618732.jpg","text":"TemporaryFile(/tmp/multipartBody6126532228305094621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968022773,"filename":"image_17122025_11_33_04_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/588ac53bf94ebbeebaf6477d1865df43.jpg","text":"TemporaryFile(/tmp/multipartBody5667150677613913587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968022773,"filename":"image_17122025_11_32_45_10064.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fad2925b33edec8415513da9ee4a1c64.jpg","text":"TemporaryFile(/tmp/multipartBody5603817427287456343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968022773,"filename":"image_17122025_11_32_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ad516427c0058c26521a99b9cf2387f.jpg","text":"TemporaryFile(/tmp/multipartBody6060887175604119813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968022773,"filename":"image_17122025_11_32_25_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777804","file1":"1399777802","file0":"1399777801","file4":"1399777808","file5":"1399777812","file3":"1399777806"},"map_files_photo_id_array":[{"photo_id":"1399777812","filename":"file5"},{"photo_id":"1399777804","filename":"file2"},{"photo_id":"1399777808","filename":"file4"},{"photo_id":"1399777802","filename":"file1"},{"photo_id":"1399777801","filename":"file0"},{"photo_id":"1399777806","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777801":["hashtag1","hashtag2"]},{"1399777804":["hashtag1","hashtag2"]},{"1399777812":["hashtag1","hashtag2"]},{"1399777806":["hashtag1","hashtag2"]},{"1399777808":["hashtag1","hashtag2"]},{"1399777802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777801, 1399777804, 1399777812, 1399777806, 1399777808, 1399777802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.62828779220581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:40:02.789267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_15_10687.jpg', '/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_25_9748.jpg', '/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_34_9575.jpg', '/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_45_10678.jpg', '/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_55_9677.jpg', '/home/pi/Desktop/images/17122025/11/33/image_17122025_11_34_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_15_10687.jpg
/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_25_9748.jpg
/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_34_9575.jpg
/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_45_10678.jpg
/home/pi/Desktop/images/17122025/11/33/image_17122025_11_33_55_9677.jpg
/home/pi/Desktop/images/17122025/11/33/image_17122025_11_34_04_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":["1399777822","1399777825","1399777830","1399777827","1399777821","1399777818"],"photo_ids_order":["1399777818","1399777821","1399777822","1399777825","1399777827","1399777830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cb4114d992148a0f03f5fbb7ecc69fa.jpg","text":"TemporaryFile(/tmp/multipartBody1657339810937369347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968063442,"filename":"image_17122025_11_33_34_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ccb2f16b1b96464d4daa493a2aae6d2e.jpg","text":"TemporaryFile(/tmp/multipartBody6873823024068568232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968063442,"filename":"image_17122025_11_33_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f645b37ad17f7a3f34de3d7dd16a2fc3.jpg","text":"TemporaryFile(/tmp/multipartBody8184490075821607499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968063442,"filename":"image_17122025_11_34_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfd83d9e2061c24a3a41b41c68e9fa99.jpg","text":"TemporaryFile(/tmp/multipartBody5681617844604016466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968063442,"filename":"image_17122025_11_33_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7564e7254e32016a0565a3ff06786ab0.jpg","text":"TemporaryFile(/tmp/multipartBody3663708154007474418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968063442,"filename":"image_17122025_11_33_25_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e65c50903e85bf2640492dee550298b6.jpg","text":"TemporaryFile(/tmp/multipartBody8184481789429596982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968063442,"filename":"image_17122025_11_33_15_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777822","file1":"1399777821","file0":"1399777818","file4":"1399777827","file5":"1399777830","file3":"1399777825"},"map_files_photo_id_array":[{"photo_id":"1399777830","filename":"file5"},{"photo_id":"1399777822","filename":"file2"},{"photo_id":"1399777827","filename":"file4"},{"photo_id":"1399777821","filename":"file1"},{"photo_id":"1399777818","filename":"file0"},{"photo_id":"1399777825","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777822":["hashtag1","hashtag2"]},{"1399777825":["hashtag1","hashtag2"]},{"1399777830":["hashtag1","hashtag2"]},{"1399777827":["hashtag1","hashtag2"]},{"1399777821":["hashtag1","hashtag2"]},{"1399777818":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777822, 1399777825, 1399777830, 1399777827, 1399777821, 1399777818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94789981842041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:40:42.258640
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_26_3666.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_31_2646.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_35_3713.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_44_3635.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_47_2549.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_49_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_26_3666.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_31_2646.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_35_3713.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_44_3635.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_47_2549.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_49_2682.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.663764238357544 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:41:03.080457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_15_10733.jpg', '/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_25_9689.jpg', '/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_34_9702.jpg', '/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_45_10707.jpg', '/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_55_9664.jpg', '/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_14_10067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_15_10733.jpg
/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_25_9689.jpg
/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_34_9702.jpg
/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_45_10707.jpg
/home/pi/Desktop/images/17122025/11/34/image_17122025_11_34_55_9664.jpg
/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_14_10067.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777890","1399777892","1399777886","1399777864","1399777894","1399777888"],"photo_ids_order":["1399777864","1399777886","1399777888","1399777890","1399777892","1399777894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe308d48fe72d2a421ebbca0b61173bc.jpg","text":"TemporaryFile(/tmp/multipartBody757336122930196580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968123793,"filename":"image_17122025_11_34_45_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb05deb14e31805aac9173b990aaeb60.jpg","text":"TemporaryFile(/tmp/multipartBody7758546294980076725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968123793,"filename":"image_17122025_11_34_55_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef46fbe34a0d0a69a018186f2061c5a6.jpg","text":"TemporaryFile(/tmp/multipartBody4139274761118247634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968123793,"filename":"image_17122025_11_34_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0dba93fff5dacf57ae0785591056846.jpg","text":"TemporaryFile(/tmp/multipartBody6626261331604556641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968123793,"filename":"image_17122025_11_34_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b441d3832175331b7bcff270ab9584f8.jpg","text":"TemporaryFile(/tmp/multipartBody8831101129885121710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968123793,"filename":"image_17122025_11_35_14_10067.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8a9eb989212e69544baa92e043c2dff.jpg","text":"TemporaryFile(/tmp/multipartBody6296802214108920968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968123793,"filename":"image_17122025_11_34_34_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777888","file1":"1399777886","file0":"1399777864","file4":"1399777892","file5":"1399777894","file3":"1399777890"},"map_files_photo_id_array":[{"photo_id":"1399777894","filename":"file5"},{"photo_id":"1399777888","filename":"file2"},{"photo_id":"1399777892","filename":"file4"},{"photo_id":"1399777886","filename":"file1"},{"photo_id":"1399777864","filename":"file0"},{"photo_id":"1399777890","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777890":["hashtag1","hashtag2"]},{"1399777892":["hashtag1","hashtag2"]},{"1399777886":["hashtag1","hashtag2"]},{"1399777864":["hashtag1","hashtag2"]},{"1399777894":["hashtag1","hashtag2"]},{"1399777888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777890, 1399777892, 1399777886, 1399777864, 1399777894, 1399777888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3626275062561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:41:42.524825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_26_3666.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_31_2646.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_35_3713.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_44_3635.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_47_2549.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_49_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_26_3666.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_31_2646.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_35_3713.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_44_3635.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_47_2549.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_49_2682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777912","1399777906","1399777911","1399777914","1399777898","1399777913"],"photo_ids_order":["1399777898","1399777906","1399777911","1399777912","1399777913","1399777914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21c2b2a6b98748aa178f7676e3685601.jpg","text":"TemporaryFile(/tmp/multipartBody9110577488793892050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968163158,"filename":"image_07112025_19_05_44_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/850927c229095cee269ea531c770bba1.jpg","text":"TemporaryFile(/tmp/multipartBody1387622728542922576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968163158,"filename":"image_07112025_19_05_31_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c1a609c9248d4b983272aecd155a0ca.jpg","text":"TemporaryFile(/tmp/multipartBody3040402299330600772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968163158,"filename":"image_07112025_19_05_35_3713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/445bc9bf5f0bf78e59aaa6f4d666badf.jpg","text":"TemporaryFile(/tmp/multipartBody1112349252051288501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968163158,"filename":"image_07112025_19_05_49_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c40b956eee16816bbc8d39059be6093.jpg","text":"TemporaryFile(/tmp/multipartBody7882504206762717514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968163158,"filename":"image_07112025_19_05_26_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/150925c73acfa8abbcbc46f22c3775b3.jpg","text":"TemporaryFile(/tmp/multipartBody7168872588332444156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968163158,"filename":"image_07112025_19_05_47_2549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777911","file1":"1399777906","file0":"1399777898","file4":"1399777913","file5":"1399777914","file3":"1399777912"},"map_files_photo_id_array":[{"photo_id":"1399777914","filename":"file5"},{"photo_id":"1399777911","filename":"file2"},{"photo_id":"1399777913","filename":"file4"},{"photo_id":"1399777906","filename":"file1"},{"photo_id":"1399777898","filename":"file0"},{"photo_id":"1399777912","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777912":["hashtag1","hashtag2"]},{"1399777906":["hashtag1","hashtag2"]},{"1399777911":["hashtag1","hashtag2"]},{"1399777914":["hashtag1","hashtag2"]},{"1399777898":["hashtag1","hashtag2"]},{"1399777913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777912, 1399777906, 1399777911, 1399777914, 1399777898, 1399777913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.183181047439575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:42:22.758616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_25_10763.jpg', '/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_35_9659.jpg', '/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_45_9635.jpg', '/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_55_10843.jpg', '/home/pi/Desktop/images/17122025/11/35/image_17122025_11_36_05_9691.jpg', '/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_15_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_25_10763.jpg
/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_35_9659.jpg
/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_45_9635.jpg
/home/pi/Desktop/images/17122025/11/35/image_17122025_11_35_55_10843.jpg
/home/pi/Desktop/images/17122025/11/35/image_17122025_11_36_05_9691.jpg
/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_15_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":["1399777933","1399777930","1399777926","1399777920","1399777922","1399777928"],"photo_ids_order":["1399777920","1399777922","1399777926","1399777928","1399777930","1399777933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1a96183dde43b6cecd9e2b9ef263749.jpg","text":"TemporaryFile(/tmp/multipartBody2577797859340099034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968203392,"filename":"image_17122025_11_36_15_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ecb5ebff1cd30d3792700b4a4311202.jpg","text":"TemporaryFile(/tmp/multipartBody5016271299142402010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968203392,"filename":"image_17122025_11_36_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45d1894565346ff780c5446dd46ff12b.jpg","text":"TemporaryFile(/tmp/multipartBody1693411084712215989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968203392,"filename":"image_17122025_11_35_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31c487f9c0e2f344dfb1418f383c8535.jpg","text":"TemporaryFile(/tmp/multipartBody4097104923415351545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968203392,"filename":"image_17122025_11_35_25_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae33e3787d64ad2e0ef385e5e119b1ce.jpg","text":"TemporaryFile(/tmp/multipartBody3717316955018603995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968203392,"filename":"image_17122025_11_35_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a532c7fe930f5f8623087cd72162f0c8.jpg","text":"TemporaryFile(/tmp/multipartBody6629476481369409889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968203392,"filename":"image_17122025_11_35_55_10843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777926","file1":"1399777922","file0":"1399777920","file4":"1399777930","file5":"1399777933","file3":"1399777928"},"map_files_photo_id_array":[{"photo_id":"1399777933","filename":"file5"},{"photo_id":"1399777926","filename":"file2"},{"photo_id":"1399777930","filename":"file4"},{"photo_id":"1399777922","filename":"file1"},{"photo_id":"1399777920","filename":"file0"},{"photo_id":"1399777928","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777933":["hashtag1","hashtag2"]},{"1399777930":["hashtag1","hashtag2"]},{"1399777926":["hashtag1","hashtag2"]},{"1399777920":["hashtag1","hashtag2"]},{"1399777922":["hashtag1","hashtag2"]},{"1399777928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777933, 1399777930, 1399777926, 1399777920, 1399777922, 1399777928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22040796279907 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:43:02.709608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_24_9654.jpg', '/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_35_10730.jpg', '/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_45_9873.jpg', '/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_55_9615.jpg', '/home/pi/Desktop/images/17122025/11/36/image_17122025_11_37_05_10755.jpg', '/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_15_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_24_9654.jpg
/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_35_10730.jpg
/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_45_9873.jpg
/home/pi/Desktop/images/17122025/11/36/image_17122025_11_36_55_9615.jpg
/home/pi/Desktop/images/17122025/11/36/image_17122025_11_37_05_10755.jpg
/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_15_9715.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399777948","1399777939","1399777950","1399777953","1399777943","1399777946"],"photo_ids_order":["1399777939","1399777943","1399777946","1399777948","1399777950","1399777953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42ea83d60cfadb4db75e3b019f122681.jpg","text":"TemporaryFile(/tmp/multipartBody7943237932623508250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968243413,"filename":"image_17122025_11_36_55_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d1bc092abc5d578ef8304d50458cc02.jpg","text":"TemporaryFile(/tmp/multipartBody514196746056517306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968243413,"filename":"image_17122025_11_36_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3888854a46b26dda93168317010e0c9c.jpg","text":"TemporaryFile(/tmp/multipartBody8638510534501130673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968243413,"filename":"image_17122025_11_37_05_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f2f859506c409b5071495ecc2fac58b.jpg","text":"TemporaryFile(/tmp/multipartBody6754803503114469588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968243413,"filename":"image_17122025_11_37_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/240de77250d5e6b36c9d2306acde202d.jpg","text":"TemporaryFile(/tmp/multipartBody8080153405527961360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968243413,"filename":"image_17122025_11_36_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d1d8c1cd57d65ad578c38a71433bef8.jpg","text":"TemporaryFile(/tmp/multipartBody3657444204017872340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968243413,"filename":"image_17122025_11_36_45_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777946","file1":"1399777943","file0":"1399777939","file4":"1399777950","file5":"1399777953","file3":"1399777948"},"map_files_photo_id_array":[{"photo_id":"1399777953","filename":"file5"},{"photo_id":"1399777946","filename":"file2"},{"photo_id":"1399777950","filename":"file4"},{"photo_id":"1399777943","filename":"file1"},{"photo_id":"1399777939","filename":"file0"},{"photo_id":"1399777948","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777948":["hashtag1","hashtag2"]},{"1399777939":["hashtag1","hashtag2"]},{"1399777950":["hashtag1","hashtag2"]},{"1399777953":["hashtag1","hashtag2"]},{"1399777943":["hashtag1","hashtag2"]},{"1399777946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777948, 1399777939, 1399777950, 1399777953, 1399777943, 1399777946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89758515357971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:43:42.037650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_56_2685.jpg', '/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_59_2753.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_02_3685.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_08_2671.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_14_2616.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_16_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_56_2685.jpg
/home/pi/Desktop/images/07112025/19/05/image_07112025_19_05_59_2753.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_02_3685.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_08_2671.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_14_2616.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_16_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":["1399777960","1399777968","1399777959","1399777967","1399777958","1399777966"],"photo_ids_order":["1399777958","1399777959","1399777960","1399777966","1399777967","1399777968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/127bb0dff0091e79681418c69e61fd78.jpg","text":"TemporaryFile(/tmp/multipartBody990625247116896983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968282815,"filename":"image_07112025_19_06_02_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/066775947a262e8855d8d84e6ffe04dc.jpg","text":"TemporaryFile(/tmp/multipartBody7000741408802037221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968282815,"filename":"image_07112025_19_06_16_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b694267aa076156969c379a9ed53b7e2.jpg","text":"TemporaryFile(/tmp/multipartBody1462372715075449366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968282815,"filename":"image_07112025_19_05_59_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82b69db15b39113607bafe32621a4585.jpg","text":"TemporaryFile(/tmp/multipartBody4820438681250306569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968282815,"filename":"image_07112025_19_06_14_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77a9926c61b26c61731ad9e618defa6a.jpg","text":"TemporaryFile(/tmp/multipartBody4504061739953000367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968282815,"filename":"image_07112025_19_05_56_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93c2c91cf08617b4e9ef37343fe6a5d6.jpg","text":"TemporaryFile(/tmp/multipartBody5457115801551715861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968282815,"filename":"image_07112025_19_06_08_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777960","file1":"1399777959","file0":"1399777958","file4":"1399777967","file5":"1399777968","file3":"1399777966"},"map_files_photo_id_array":[{"photo_id":"1399777968","filename":"file5"},{"photo_id":"1399777960","filename":"file2"},{"photo_id":"1399777967","filename":"file4"},{"photo_id":"1399777959","filename":"file1"},{"photo_id":"1399777958","filename":"file0"},{"photo_id":"1399777966","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399777960":["hashtag1","hashtag2"]},{"1399777968":["hashtag1","hashtag2"]},{"1399777959":["hashtag1","hashtag2"]},{"1399777967":["hashtag1","hashtag2"]},{"1399777958":["hashtag1","hashtag2"]},{"1399777966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399777960, 1399777968, 1399777959, 1399777967, 1399777958, 1399777966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6485652923584 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:44:22.379972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_25_9792.jpg', '/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_35_9646.jpg', '/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_45_10800.jpg', '/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_55_9701.jpg', '/home/pi/Desktop/images/17122025/11/37/image_17122025_11_38_05_9626.jpg', '/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_15_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_25_9792.jpg
/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_35_9646.jpg
/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_45_10800.jpg
/home/pi/Desktop/images/17122025/11/37/image_17122025_11_37_55_9701.jpg
/home/pi/Desktop/images/17122025/11/37/image_17122025_11_38_05_9626.jpg
/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_15_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":["1399777992","1399777974","1399777983","1399777979","1399777996","1399777987"],"photo_ids_order":["1399777974","1399777979","1399777983","1399777987","1399777992","1399777996"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/971b9a65fd5ca2c03236715370074ed2.jpg","text":"TemporaryFile(/tmp/multipartBody6298506395605641622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968323012,"filename":"image_17122025_11_38_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17b8ce652657b456141eae62a481258c.jpg","text":"TemporaryFile(/tmp/multipartBody4152701437867216164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968323012,"filename":"image_17122025_11_37_25_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2ac1d0139cc99f4623bd16afdf87965.jpg","text":"TemporaryFile(/tmp/multipartBody6621709139576693628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968323012,"filename":"image_17122025_11_37_45_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddbd9d4b985b9d4789360e6db8de7660.jpg","text":"TemporaryFile(/tmp/multipartBody6333574450246904254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968323012,"filename":"image_17122025_11_37_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3b116d8c0b2587db099a194ddb219fa.jpg","text":"TemporaryFile(/tmp/multipartBody2991840923840130745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968323012,"filename":"image_17122025_11_38_15_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fa6f3b2d14be87e930290ba72165350.jpg","text":"TemporaryFile(/tmp/multipartBody4837596042603949282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968323012,"filename":"image_17122025_11_37_55_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399777983","file1":"1399777979","file0":"1399777974","file4":"1399777992","file5":"1399777996","file3":"1399777987"},"map_files_photo_id_array":[{"photo_id":"1399777996","filename":"file5"},{"photo_id":"1399777983","filename":"file2"},{"photo_id":"1399777992","filename":"file4"},{"photo_id":"1399777979","filename":"file1"},{"photo_id":"1399777974","filename":"file0"},{"photo_id":"1399777987","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399777992":["hashtag1","hashtag2"]},{"1399777974":["hashtag1","hashtag2"]},{"1399777983":["hashtag1","hashtag2"]},{"1399777979":["hashtag1","hashtag2"]},{"1399777996":["hashtag1","hashtag2"]},{"1399777987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399777992, 1399777974, 1399777983, 1399777979, 1399777996, 1399777987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.32012176513672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:45:03.154052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_25_9601.jpg', '/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_35_9727.jpg', '/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_45_10710.jpg', '/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_55_9642.jpg', '/home/pi/Desktop/images/17122025/11/38/image_17122025_11_39_05_9716.jpg', '/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_15_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_25_9601.jpg
/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_35_9727.jpg
/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_45_10710.jpg
/home/pi/Desktop/images/17122025/11/38/image_17122025_11_38_55_9642.jpg
/home/pi/Desktop/images/17122025/11/38/image_17122025_11_39_05_9716.jpg
/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_15_10682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778017","1399778025","1399778019","1399778022","1399778015","1399778012"],"photo_ids_order":["1399778012","1399778015","1399778017","1399778019","1399778022","1399778025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb67d9abc9e2abffee3ba37af3887277.jpg","text":"TemporaryFile(/tmp/multipartBody5939698396128853792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968363847,"filename":"image_17122025_11_38_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f85d26a761c21f9cbe34e951d64c6f74.jpg","text":"TemporaryFile(/tmp/multipartBody1645120254630986121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968363847,"filename":"image_17122025_11_39_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d45a8aee88bb2b117d7744ac00407b9a.jpg","text":"TemporaryFile(/tmp/multipartBody4887312556817321531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968363847,"filename":"image_17122025_11_38_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f72076bc1d08f9a1902c1cd61b8e0ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2266576681817615383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968363847,"filename":"image_17122025_11_39_05_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7da1e54286fd88022807facca30d15ca.jpg","text":"TemporaryFile(/tmp/multipartBody581942352032514447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968363847,"filename":"image_17122025_11_38_35_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0dc3b1b14cb63f7143cf7928a4402f86.jpg","text":"TemporaryFile(/tmp/multipartBody2896383931937026439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968363847,"filename":"image_17122025_11_38_25_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778017","file1":"1399778015","file0":"1399778012","file4":"1399778022","file5":"1399778025","file3":"1399778019"},"map_files_photo_id_array":[{"photo_id":"1399778025","filename":"file5"},{"photo_id":"1399778017","filename":"file2"},{"photo_id":"1399778022","filename":"file4"},{"photo_id":"1399778015","filename":"file1"},{"photo_id":"1399778012","filename":"file0"},{"photo_id":"1399778019","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778017":["hashtag1","hashtag2"]},{"1399778025":["hashtag1","hashtag2"]},{"1399778019":["hashtag1","hashtag2"]},{"1399778022":["hashtag1","hashtag2"]},{"1399778015":["hashtag1","hashtag2"]},{"1399778012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778017, 1399778025, 1399778019, 1399778022, 1399778015, 1399778012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60424184799194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:45:42.527328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_20_3690.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_23_2622.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_25_2720.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_29_3702.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_32_2843.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_35_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_20_3690.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_23_2622.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_25_2720.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_29_3702.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_32_2843.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_35_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778043","1399778036","1399778045","1399778039","1399778047","1399778041"],"photo_ids_order":["1399778036","1399778039","1399778041","1399778043","1399778045","1399778047"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9933ce44c8318a1efd084a1f160f26a.jpg","text":"TemporaryFile(/tmp/multipartBody5134013698412710358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968403293,"filename":"image_07112025_19_06_29_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3acd92a92fb62419a491755640a20a3d.jpg","text":"TemporaryFile(/tmp/multipartBody9091880389947074877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968403293,"filename":"image_07112025_19_06_20_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84003fe7de823ab92fccce1c73778e22.jpg","text":"TemporaryFile(/tmp/multipartBody5730726259939875351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968403293,"filename":"image_07112025_19_06_32_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa5a117b3bff250988a049086f8d0cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4768715201222827753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968403293,"filename":"image_07112025_19_06_23_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb6da5a52a0b3cad6a54daa77cf20cc6.jpg","text":"TemporaryFile(/tmp/multipartBody586466888822342542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968403293,"filename":"image_07112025_19_06_35_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/793acdce240c0dbe1a1e86d797b45882.jpg","text":"TemporaryFile(/tmp/multipartBody7613526235133788370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968403293,"filename":"image_07112025_19_06_25_2720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778041","file1":"1399778039","file0":"1399778036","file4":"1399778045","file5":"1399778047","file3":"1399778043"},"map_files_photo_id_array":[{"photo_id":"1399778047","filename":"file5"},{"photo_id":"1399778041","filename":"file2"},{"photo_id":"1399778045","filename":"file4"},{"photo_id":"1399778039","filename":"file1"},{"photo_id":"1399778036","filename":"file0"},{"photo_id":"1399778043","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778043":["hashtag1","hashtag2"]},{"1399778036":["hashtag1","hashtag2"]},{"1399778045":["hashtag1","hashtag2"]},{"1399778039":["hashtag1","hashtag2"]},{"1399778047":["hashtag1","hashtag2"]},{"1399778041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778043, 1399778036, 1399778045, 1399778039, 1399778047, 1399778041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66224765777588 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:46:22.826518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_25_9655.jpg', '/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_35_9710.jpg', '/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_45_9721.jpg', '/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_55_10839.jpg', '/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_14_10054.jpg', '/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_25_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_25_9655.jpg
/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_35_9710.jpg
/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_45_9721.jpg
/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_55_10839.jpg
/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_14_10054.jpg
/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_25_10601.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5647192001342773 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 11:46:32.780415
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:46:42.764299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_37_2824.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_44_3613.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_46_2657.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_50_3671.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_53_2544.jpg', '/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_55_2611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_37_2824.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_44_3613.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_46_2657.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_50_3671.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_53_2544.jpg
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_55_2611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778073","1399778070","1399778072","1399778066","1399778069","1399778071"],"photo_ids_order":["1399778066","1399778069","1399778070","1399778071","1399778072","1399778073"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/406385c8efa087270b4e8be010ae43ee.jpg","text":"TemporaryFile(/tmp/multipartBody5377879653994663514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968463659,"filename":"image_07112025_19_06_55_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c8c073bb3069a6072a19f1659d2f165.jpg","text":"TemporaryFile(/tmp/multipartBody6138862327295317532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968463659,"filename":"image_07112025_19_06_46_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd99427b7cc83f13920d947cd94b1bd6.jpg","text":"TemporaryFile(/tmp/multipartBody6441814472564000585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968463659,"filename":"image_07112025_19_06_53_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47162de11d4a37b621391525f7bda76c.jpg","text":"TemporaryFile(/tmp/multipartBody1971077576317107106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968463659,"filename":"image_07112025_19_06_37_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd880f2c45b96f16575d6f3e6d58a4df.jpg","text":"TemporaryFile(/tmp/multipartBody3777172881881520968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968463659,"filename":"image_07112025_19_06_44_3613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/660488b03303182f197c1d0f88ab5d61.jpg","text":"TemporaryFile(/tmp/multipartBody1183845960925404440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968463659,"filename":"image_07112025_19_06_50_3671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778070","file1":"1399778069","file0":"1399778066","file4":"1399778072","file5":"1399778073","file3":"1399778071"},"map_files_photo_id_array":[{"photo_id":"1399778073","filename":"file5"},{"photo_id":"1399778070","filename":"file2"},{"photo_id":"1399778072","filename":"file4"},{"photo_id":"1399778069","filename":"file1"},{"photo_id":"1399778066","filename":"file0"},{"photo_id":"1399778071","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778073":["hashtag1","hashtag2"]},{"1399778070":["hashtag1","hashtag2"]},{"1399778072":["hashtag1","hashtag2"]},{"1399778066":["hashtag1","hashtag2"]},{"1399778069":["hashtag1","hashtag2"]},{"1399778071":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778073, 1399778070, 1399778072, 1399778066, 1399778069, 1399778071)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.0732843875885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 11:47:31.995557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:47:42.138818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_59_3777.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_02_2803.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_07_2681.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_11_3660.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_13_2595.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_16_2749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/06/image_07112025_19_06_59_3777.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_02_2803.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_07_2681.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_11_3660.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_13_2595.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_16_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":["1399778215","1399778289","1399778253","1399778165","1399778360","1399778326"],"photo_ids_order":["1399778165","1399778215","1399778253","1399778289","1399778326","1399778360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a251894bbe2fda8afca6fa589bf02fd2.jpg","text":"TemporaryFile(/tmp/multipartBody3358288926141610583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968522913,"filename":"image_07112025_19_07_02_2803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/430bb7b5b207e96c1e8239f7b00b498e.jpg","text":"TemporaryFile(/tmp/multipartBody2910468568892553245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968522913,"filename":"image_07112025_19_07_11_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82f7853702ac8bc68128539283fc4ae4.jpg","text":"TemporaryFile(/tmp/multipartBody976119125727072496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968522913,"filename":"image_07112025_19_07_07_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59827094a5a4d39243797de1a4a2923b.jpg","text":"TemporaryFile(/tmp/multipartBody7900715130734216305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968522913,"filename":"image_07112025_19_06_59_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c438d9073aadf85af20bb474d9c26815.jpg","text":"TemporaryFile(/tmp/multipartBody2425873534567222599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968522913,"filename":"image_07112025_19_07_16_2749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d610e540036c43defee53391c32dab9a.jpg","text":"TemporaryFile(/tmp/multipartBody4739692248401131731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968522913,"filename":"image_07112025_19_07_13_2595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778253","file1":"1399778215","file0":"1399778165","file4":"1399778326","file5":"1399778360","file3":"1399778289"},"map_files_photo_id_array":[{"photo_id":"1399778360","filename":"file5"},{"photo_id":"1399778253","filename":"file2"},{"photo_id":"1399778326","filename":"file4"},{"photo_id":"1399778215","filename":"file1"},{"photo_id":"1399778165","filename":"file0"},{"photo_id":"1399778289","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778215":["hashtag1","hashtag2"]},{"1399778289":["hashtag1","hashtag2"]},{"1399778253":["hashtag1","hashtag2"]},{"1399778165":["hashtag1","hashtag2"]},{"1399778360":["hashtag1","hashtag2"]},{"1399778326":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778215, 1399778289, 1399778253, 1399778165, 1399778360, 1399778326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3485221862793 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:48:22.351024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_25_9655.jpg', '/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_35_9710.jpg', '/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_45_9721.jpg', '/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_55_10839.jpg', '/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_14_10054.jpg', '/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_25_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_25_9655.jpg
/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_35_9710.jpg
/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_45_9721.jpg
/home/pi/Desktop/images/17122025/11/39/image_17122025_11_39_55_10839.jpg
/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_14_10054.jpg
/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_25_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778421","1399778424","1399778414","1399778417","1399778416","1399778419"],"photo_ids_order":["1399778414","1399778416","1399778417","1399778419","1399778421","1399778424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/594d53bd908eafbcef267ef76f76eda7.jpg","text":"TemporaryFile(/tmp/multipartBody2470364952335280959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968562984,"filename":"image_17122025_11_40_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a1885222e9dd313a57a6bbdd7f8b008.jpg","text":"TemporaryFile(/tmp/multipartBody7176905793595684459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968562984,"filename":"image_17122025_11_40_25_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/339a69c749eb5d4a3ce5e4f94c607349.jpg","text":"TemporaryFile(/tmp/multipartBody5895795850481288079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968562984,"filename":"image_17122025_11_39_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a82d80cc7b413a020e9fcf354e50536b.jpg","text":"TemporaryFile(/tmp/multipartBody2859449607371495533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968562984,"filename":"image_17122025_11_39_45_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18a78475079fc4953f11ed800f19c9dd.jpg","text":"TemporaryFile(/tmp/multipartBody1131028026775376433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968562984,"filename":"image_17122025_11_39_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b2d85d955953eabc00d8eb93c0bc8aa.jpg","text":"TemporaryFile(/tmp/multipartBody8231001551368744745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968562984,"filename":"image_17122025_11_39_55_10839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778417","file1":"1399778416","file0":"1399778414","file4":"1399778421","file5":"1399778424","file3":"1399778419"},"map_files_photo_id_array":[{"photo_id":"1399778424","filename":"file5"},{"photo_id":"1399778417","filename":"file2"},{"photo_id":"1399778421","filename":"file4"},{"photo_id":"1399778416","filename":"file1"},{"photo_id":"1399778414","filename":"file0"},{"photo_id":"1399778419","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778421":["hashtag1","hashtag2"]},{"1399778424":["hashtag1","hashtag2"]},{"1399778414":["hashtag1","hashtag2"]},{"1399778417":["hashtag1","hashtag2"]},{"1399778416":["hashtag1","hashtag2"]},{"1399778419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778421, 1399778424, 1399778414, 1399778417, 1399778416, 1399778419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.272345781326294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:49:03.637798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_34_9805.jpg', '/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_44_9745.jpg', '/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_54_9941.jpg', '/home/pi/Desktop/images/17122025/11/40/image_17122025_11_41_05_10718.jpg', '/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_14_9619.jpg', '/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_24_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_34_9805.jpg
/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_44_9745.jpg
/home/pi/Desktop/images/17122025/11/40/image_17122025_11_40_54_9941.jpg
/home/pi/Desktop/images/17122025/11/40/image_17122025_11_41_05_10718.jpg
/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_14_9619.jpg
/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_24_9836.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778445","1399778439","1399778438","1399778441","1399778440","1399778443"],"photo_ids_order":["1399778438","1399778439","1399778440","1399778441","1399778443","1399778445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/651ec50ddf81ca5f477bf15e392a04a7.jpg","text":"TemporaryFile(/tmp/multipartBody8110951996441830407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968604488,"filename":"image_17122025_11_41_24_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf01e5063d3e42b6d8e84011ff4695d6.jpg","text":"TemporaryFile(/tmp/multipartBody186394169249158711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968604488,"filename":"image_17122025_11_40_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec1b527b7e316e03555ce276abd26c00.jpg","text":"TemporaryFile(/tmp/multipartBody1466717302343306666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968604488,"filename":"image_17122025_11_40_34_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/658ac8cc4d711706c1e7b654d69f01ef.jpg","text":"TemporaryFile(/tmp/multipartBody6838384643136122513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968604488,"filename":"image_17122025_11_41_05_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50861b96ea5c68bb00f2e94cedb6e808.jpg","text":"TemporaryFile(/tmp/multipartBody8791808338897008860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968604488,"filename":"image_17122025_11_40_54_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de55538cad48cb91c51e57bfcfbfa796.jpg","text":"TemporaryFile(/tmp/multipartBody7463996659213624401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968604488,"filename":"image_17122025_11_41_14_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778440","file1":"1399778439","file0":"1399778438","file4":"1399778443","file5":"1399778445","file3":"1399778441"},"map_files_photo_id_array":[{"photo_id":"1399778445","filename":"file5"},{"photo_id":"1399778440","filename":"file2"},{"photo_id":"1399778443","filename":"file4"},{"photo_id":"1399778439","filename":"file1"},{"photo_id":"1399778438","filename":"file0"},{"photo_id":"1399778441","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778445":["hashtag1","hashtag2"]},{"1399778439":["hashtag1","hashtag2"]},{"1399778438":["hashtag1","hashtag2"]},{"1399778441":["hashtag1","hashtag2"]},{"1399778440":["hashtag1","hashtag2"]},{"1399778443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778445, 1399778439, 1399778438, 1399778441, 1399778440, 1399778443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48093819618225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:49:42.802666
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_20_3635.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_23_2714.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_25_2769.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_29_3598.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_32_2612.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_34_2759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_20_3635.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_23_2714.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_25_2769.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_29_3598.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_32_2612.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_34_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":["1399778451","1399778454","1399778450","1399778453","1399778452","1399778449"],"photo_ids_order":["1399778449","1399778450","1399778451","1399778452","1399778453","1399778454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b1ffa044ae6ee23ab3fd0c70f5e05a6.jpg","text":"TemporaryFile(/tmp/multipartBody7491673093394401615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968643621,"filename":"image_07112025_19_07_25_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/feed3fcba9284a16900c33883e87768c.jpg","text":"TemporaryFile(/tmp/multipartBody4019944532132097732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968643621,"filename":"image_07112025_19_07_34_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/731df393c53b37fdecc952ea00339b86.jpg","text":"TemporaryFile(/tmp/multipartBody9017056160617953432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968643621,"filename":"image_07112025_19_07_23_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d0ff8930194139f97910c4fd455f430.jpg","text":"TemporaryFile(/tmp/multipartBody5888718740863269600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968643621,"filename":"image_07112025_19_07_32_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5eeef2037dc16b97bcc3d3363cea221a.jpg","text":"TemporaryFile(/tmp/multipartBody5585317216328975920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968643621,"filename":"image_07112025_19_07_29_3598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78174282509c9b6b8ab869609e58fba5.jpg","text":"TemporaryFile(/tmp/multipartBody7459045708517591148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968643621,"filename":"image_07112025_19_07_20_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778451","file1":"1399778450","file0":"1399778449","file4":"1399778453","file5":"1399778454","file3":"1399778452"},"map_files_photo_id_array":[{"photo_id":"1399778454","filename":"file5"},{"photo_id":"1399778451","filename":"file2"},{"photo_id":"1399778453","filename":"file4"},{"photo_id":"1399778450","filename":"file1"},{"photo_id":"1399778449","filename":"file0"},{"photo_id":"1399778452","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778451":["hashtag1","hashtag2"]},{"1399778454":["hashtag1","hashtag2"]},{"1399778450":["hashtag1","hashtag2"]},{"1399778453":["hashtag1","hashtag2"]},{"1399778452":["hashtag1","hashtag2"]},{"1399778449":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778451, 1399778454, 1399778450, 1399778453, 1399778452, 1399778449)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.53838610649109 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:50:22.045781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_34_9797.jpg', '/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_45_10636.jpg', '/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_54_9648.jpg', '/home/pi/Desktop/images/17122025/11/41/image_17122025_11_42_04_9783.jpg', '/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_15_10569.jpg', '/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_25_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_34_9797.jpg
/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_45_10636.jpg
/home/pi/Desktop/images/17122025/11/41/image_17122025_11_41_54_9648.jpg
/home/pi/Desktop/images/17122025/11/41/image_17122025_11_42_04_9783.jpg
/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_15_10569.jpg
/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_25_9852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778472","1399778457","1399778459","1399778467","1399778461","1399778455"],"photo_ids_order":["1399778455","1399778457","1399778459","1399778461","1399778467","1399778472"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c4170d39e72e073b5816ae31123bbb6.jpg","text":"TemporaryFile(/tmp/multipartBody7283576238732935135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968682668,"filename":"image_17122025_11_42_25_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1dd87fd55a367a56a050a61e1a0ddd82.jpg","text":"TemporaryFile(/tmp/multipartBody6993275139720690716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968682668,"filename":"image_17122025_11_41_45_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c197a9f9f3bf63b7c87422eabe63b6c.jpg","text":"TemporaryFile(/tmp/multipartBody910741272325650200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968682668,"filename":"image_17122025_11_41_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51688ae2db45f682f6b4dc658630d5bd.jpg","text":"TemporaryFile(/tmp/multipartBody2070969197631268675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968682668,"filename":"image_17122025_11_42_15_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f9b1e3ad0aa44eaaaa9f1f91c52ec34.jpg","text":"TemporaryFile(/tmp/multipartBody5590585197458017574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968682668,"filename":"image_17122025_11_42_04_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d423eaf6d313ba00bb65c7680f098afd.jpg","text":"TemporaryFile(/tmp/multipartBody3865280140644986786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968682668,"filename":"image_17122025_11_41_34_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778459","file1":"1399778457","file0":"1399778455","file4":"1399778467","file5":"1399778472","file3":"1399778461"},"map_files_photo_id_array":[{"photo_id":"1399778472","filename":"file5"},{"photo_id":"1399778459","filename":"file2"},{"photo_id":"1399778467","filename":"file4"},{"photo_id":"1399778457","filename":"file1"},{"photo_id":"1399778455","filename":"file0"},{"photo_id":"1399778461","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778472":["hashtag1","hashtag2"]},{"1399778457":["hashtag1","hashtag2"]},{"1399778459":["hashtag1","hashtag2"]},{"1399778467":["hashtag1","hashtag2"]},{"1399778461":["hashtag1","hashtag2"]},{"1399778455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778472, 1399778457, 1399778459, 1399778467, 1399778461, 1399778455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.491039514541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:51:03.033260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_34_9611.jpg', '/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_45_10736.jpg', '/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_55_9806.jpg', '/home/pi/Desktop/images/17122025/11/42/image_17122025_11_43_04_9687.jpg', '/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_14_9627.jpg', '/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_25_10564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_34_9611.jpg
/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_45_10736.jpg
/home/pi/Desktop/images/17122025/11/42/image_17122025_11_42_55_9806.jpg
/home/pi/Desktop/images/17122025/11/42/image_17122025_11_43_04_9687.jpg
/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_14_9627.jpg
/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_25_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":["1399778500","1399778493","1399778495","1399778498","1399778497","1399778491"],"photo_ids_order":["1399778491","1399778493","1399778495","1399778497","1399778498","1399778500"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef0e709f2bb73544639bc464f9c528ab.jpg","text":"TemporaryFile(/tmp/multipartBody778290689244563239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968723736,"filename":"image_17122025_11_43_25_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d7e15958ac5c8274848185bb386e677.jpg","text":"TemporaryFile(/tmp/multipartBody862205398327914861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968723736,"filename":"image_17122025_11_42_45_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb710445227904e2f1bbaa1f5fbeb6c3.jpg","text":"TemporaryFile(/tmp/multipartBody8530780283574663923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968723736,"filename":"image_17122025_11_42_55_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffa2efedbc1a25c3449e65a9efaadcd7.jpg","text":"TemporaryFile(/tmp/multipartBody8263733347475012636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968723736,"filename":"image_17122025_11_43_14_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8d79d19a01b39f41f7e2af4cc776577.jpg","text":"TemporaryFile(/tmp/multipartBody7946748869682950918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968723736,"filename":"image_17122025_11_43_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf7182d0b414ca94a6c40035b6988744.jpg","text":"TemporaryFile(/tmp/multipartBody7359302813922691623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968723736,"filename":"image_17122025_11_42_34_9611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778495","file1":"1399778493","file0":"1399778491","file4":"1399778498","file5":"1399778500","file3":"1399778497"},"map_files_photo_id_array":[{"photo_id":"1399778500","filename":"file5"},{"photo_id":"1399778495","filename":"file2"},{"photo_id":"1399778498","filename":"file4"},{"photo_id":"1399778493","filename":"file1"},{"photo_id":"1399778491","filename":"file0"},{"photo_id":"1399778497","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778500":["hashtag1","hashtag2"]},{"1399778493":["hashtag1","hashtag2"]},{"1399778495":["hashtag1","hashtag2"]},{"1399778498":["hashtag1","hashtag2"]},{"1399778497":["hashtag1","hashtag2"]},{"1399778491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778500, 1399778493, 1399778495, 1399778498, 1399778497, 1399778491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00189185142517 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:51:42.277905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_38_3649.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_41_2817.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_44_2754.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_46_2736.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_50_3738.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_53_2685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_38_3649.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_41_2817.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_44_2754.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_46_2736.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_50_3738.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_53_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":["1399778512","1399778508","1399778517","1399778513","1399778515","1399778518"],"photo_ids_order":["1399778508","1399778512","1399778513","1399778515","1399778517","1399778518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4f70ce744fee398ea6bf0d239959c48.jpg","text":"TemporaryFile(/tmp/multipartBody6510307434117325370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968763115,"filename":"image_07112025_19_07_41_2817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b9bfa334b3501711d8b4c2256c3a160.jpg","text":"TemporaryFile(/tmp/multipartBody945270136957544339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968763115,"filename":"image_07112025_19_07_38_3649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d07416626ba8f32a3619ccb0a5c8578.jpg","text":"TemporaryFile(/tmp/multipartBody1083915069789141310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968763115,"filename":"image_07112025_19_07_50_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbdedef20899f9bc9ce3a8e5820e948f.jpg","text":"TemporaryFile(/tmp/multipartBody4116142643613045633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968763115,"filename":"image_07112025_19_07_44_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f8a9041ba176d2fd6493c53af00916b.jpg","text":"TemporaryFile(/tmp/multipartBody4949828247664719540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968763115,"filename":"image_07112025_19_07_46_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e264bdae89b6c741f6659fea78449324.jpg","text":"TemporaryFile(/tmp/multipartBody1911257742806221853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968763115,"filename":"image_07112025_19_07_53_2685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778513","file1":"1399778512","file0":"1399778508","file4":"1399778517","file5":"1399778518","file3":"1399778515"},"map_files_photo_id_array":[{"photo_id":"1399778518","filename":"file5"},{"photo_id":"1399778513","filename":"file2"},{"photo_id":"1399778517","filename":"file4"},{"photo_id":"1399778512","filename":"file1"},{"photo_id":"1399778508","filename":"file0"},{"photo_id":"1399778515","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778512":["hashtag1","hashtag2"]},{"1399778508":["hashtag1","hashtag2"]},{"1399778517":["hashtag1","hashtag2"]},{"1399778513":["hashtag1","hashtag2"]},{"1399778515":["hashtag1","hashtag2"]},{"1399778518":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778512, 1399778508, 1399778517, 1399778513, 1399778515, 1399778518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27195501327515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:52:22.553111
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_34_9647.jpg', '/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_45_10637.jpg', '/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_55_9949.jpg', '/home/pi/Desktop/images/17122025/11/43/image_17122025_11_44_05_9693.jpg', '/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_14_9660.jpg', '/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_25_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_34_9647.jpg
/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_45_10637.jpg
/home/pi/Desktop/images/17122025/11/43/image_17122025_11_43_55_9949.jpg
/home/pi/Desktop/images/17122025/11/43/image_17122025_11_44_05_9693.jpg
/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_14_9660.jpg
/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_25_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778527","1399778520","1399778525","1399778521","1399778530","1399778524"],"photo_ids_order":["1399778520","1399778521","1399778524","1399778525","1399778527","1399778530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f880ba6d8cf39091685cbe6461b6fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2745549002240510611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968803186,"filename":"image_17122025_11_44_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ac9a65aaf6f13d22c2f5d92fd84e3e5.jpg","text":"TemporaryFile(/tmp/multipartBody1091593605776877423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968803186,"filename":"image_17122025_11_43_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f926633755c4aac3808ca10ee91fffcd.jpg","text":"TemporaryFile(/tmp/multipartBody1410650378967103768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968803186,"filename":"image_17122025_11_44_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18f4637cac31fa1f9c0af59ceca62953.jpg","text":"TemporaryFile(/tmp/multipartBody6956435625032137415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968803186,"filename":"image_17122025_11_43_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4762cf7a458559f4010f867a33621b81.jpg","text":"TemporaryFile(/tmp/multipartBody7113398243118598734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968803186,"filename":"image_17122025_11_44_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96b0964779a1d69d8d313c0f5394d36c.jpg","text":"TemporaryFile(/tmp/multipartBody619091331886790172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968803186,"filename":"image_17122025_11_43_55_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778524","file1":"1399778521","file0":"1399778520","file4":"1399778527","file5":"1399778530","file3":"1399778525"},"map_files_photo_id_array":[{"photo_id":"1399778530","filename":"file5"},{"photo_id":"1399778524","filename":"file2"},{"photo_id":"1399778527","filename":"file4"},{"photo_id":"1399778521","filename":"file1"},{"photo_id":"1399778520","filename":"file0"},{"photo_id":"1399778525","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778527":["hashtag1","hashtag2"]},{"1399778520":["hashtag1","hashtag2"]},{"1399778525":["hashtag1","hashtag2"]},{"1399778521":["hashtag1","hashtag2"]},{"1399778530":["hashtag1","hashtag2"]},{"1399778524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778527, 1399778520, 1399778525, 1399778521, 1399778530, 1399778524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83049440383911 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:53:03.385841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_35_9750.jpg', '/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_44_9862.jpg', '/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_54_9605.jpg', '/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_14_10056.jpg', '/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_24_10705.jpg', '/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_34_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_35_9750.jpg
/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_44_9862.jpg
/home/pi/Desktop/images/17122025/11/44/image_17122025_11_44_54_9605.jpg
/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_14_10056.jpg
/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_24_10705.jpg
/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_34_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":["1399778544","1399778541","1399778538","1399778546","1399778540","1399778542"],"photo_ids_order":["1399778538","1399778540","1399778541","1399778542","1399778544","1399778546"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c9dc9511c2bab0b4853f79af7410ac0.jpg","text":"TemporaryFile(/tmp/multipartBody7035863114326595888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968844068,"filename":"image_17122025_11_45_24_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/953377aeea6c8b6e2d044a5695f5fd5a.jpg","text":"TemporaryFile(/tmp/multipartBody1399504930966929144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968844068,"filename":"image_17122025_11_44_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9eb80d4a74b7b614a3c76bb9d339873e.jpg","text":"TemporaryFile(/tmp/multipartBody3839535060910024431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968844068,"filename":"image_17122025_11_44_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a742a21b8a90eb673156e74fb02a2837.jpg","text":"TemporaryFile(/tmp/multipartBody6431757152431712781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968844068,"filename":"image_17122025_11_45_34_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9e3d7ed66ddccf88cada002de6e8153.jpg","text":"TemporaryFile(/tmp/multipartBody8601885438334308756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968844068,"filename":"image_17122025_11_44_44_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b5ee132325b16a527f9b204d77441c0.jpg","text":"TemporaryFile(/tmp/multipartBody3608117750203697101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968844068,"filename":"image_17122025_11_45_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778541","file1":"1399778540","file0":"1399778538","file4":"1399778544","file5":"1399778546","file3":"1399778542"},"map_files_photo_id_array":[{"photo_id":"1399778546","filename":"file5"},{"photo_id":"1399778541","filename":"file2"},{"photo_id":"1399778544","filename":"file4"},{"photo_id":"1399778540","filename":"file1"},{"photo_id":"1399778538","filename":"file0"},{"photo_id":"1399778542","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778544":["hashtag1","hashtag2"]},{"1399778541":["hashtag1","hashtag2"]},{"1399778538":["hashtag1","hashtag2"]},{"1399778546":["hashtag1","hashtag2"]},{"1399778540":["hashtag1","hashtag2"]},{"1399778542":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778544, 1399778541, 1399778538, 1399778546, 1399778540, 1399778542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.712427377700806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:53:42.752715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_55_2762.jpg', '/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_58_2703.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_02_3685.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_05_2675.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_07_2642.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_11_3668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_55_2762.jpg
/home/pi/Desktop/images/07112025/19/07/image_07112025_19_07_58_2703.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_02_3685.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_05_2675.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_07_2642.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_11_3668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778562","1399778565","1399778561","1399778564","1399778551","1399778563"],"photo_ids_order":["1399778551","1399778561","1399778562","1399778563","1399778564","1399778565"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11f759651714695e9270287c02907974.jpg","text":"TemporaryFile(/tmp/multipartBody3052199111343437263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968883567,"filename":"image_07112025_19_08_02_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61bdab6cc1b079074fa17e08e01c3d30.jpg","text":"TemporaryFile(/tmp/multipartBody8025536793267407120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968883567,"filename":"image_07112025_19_08_11_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e526e295a8aa6f94a2c87675b1d83ca.jpg","text":"TemporaryFile(/tmp/multipartBody7790934335617449190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968883567,"filename":"image_07112025_19_07_58_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc0f8e128b5502a1cfe9fc2baf657c26.jpg","text":"TemporaryFile(/tmp/multipartBody4922498134418853317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968883567,"filename":"image_07112025_19_08_07_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f66ae5faaf5064c7c0fd0f87e9dbac96.jpg","text":"TemporaryFile(/tmp/multipartBody4084522439303695914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968883567,"filename":"image_07112025_19_07_55_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3031fa6dc333fcfbc44e26b0b9a9cbe0.jpg","text":"TemporaryFile(/tmp/multipartBody7609115231408496920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968883567,"filename":"image_07112025_19_08_05_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778562","file1":"1399778561","file0":"1399778551","file4":"1399778564","file5":"1399778565","file3":"1399778563"},"map_files_photo_id_array":[{"photo_id":"1399778565","filename":"file5"},{"photo_id":"1399778562","filename":"file2"},{"photo_id":"1399778564","filename":"file4"},{"photo_id":"1399778561","filename":"file1"},{"photo_id":"1399778551","filename":"file0"},{"photo_id":"1399778563","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778562":["hashtag1","hashtag2"]},{"1399778565":["hashtag1","hashtag2"]},{"1399778561":["hashtag1","hashtag2"]},{"1399778564":["hashtag1","hashtag2"]},{"1399778551":["hashtag1","hashtag2"]},{"1399778563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778562, 1399778565, 1399778561, 1399778564, 1399778551, 1399778563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73388624191284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:54:22.053458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_44_9802.jpg', '/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_55_10576.jpg', '/home/pi/Desktop/images/17122025/11/45/image_17122025_11_46_04_9703.jpg', '/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_14_9821.jpg', '/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_24_9648.jpg', '/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_35_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_44_9802.jpg
/home/pi/Desktop/images/17122025/11/45/image_17122025_11_45_55_10576.jpg
/home/pi/Desktop/images/17122025/11/45/image_17122025_11_46_04_9703.jpg
/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_14_9821.jpg
/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_24_9648.jpg
/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_35_10733.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778568","1399778576","1399778578","1399778572","1399778566","1399778581"],"photo_ids_order":["1399778566","1399778568","1399778572","1399778576","1399778578","1399778581"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37f4471c708a5d9102fed4c3c53601da.jpg","text":"TemporaryFile(/tmp/multipartBody4492096214266703789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968922689,"filename":"image_17122025_11_45_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56b91cf102dc517abbb8193887506fbf.jpg","text":"TemporaryFile(/tmp/multipartBody2971657194825672715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968922689,"filename":"image_17122025_11_46_14_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0af8d82a90889027a846694ddff6d70.jpg","text":"TemporaryFile(/tmp/multipartBody2888669284012464666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968922689,"filename":"image_17122025_11_46_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a40a7359fe88c8ae8ec52eac07516d3.jpg","text":"TemporaryFile(/tmp/multipartBody6701372023479494089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968922689,"filename":"image_17122025_11_46_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e898d17951e91c0bc0180035507ec6b.jpg","text":"TemporaryFile(/tmp/multipartBody6456983132323324574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968922689,"filename":"image_17122025_11_45_44_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a30c37604d6e19382b9c9de5b7243f8.jpg","text":"TemporaryFile(/tmp/multipartBody3406676814751421205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968922689,"filename":"image_17122025_11_46_35_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778572","file1":"1399778568","file0":"1399778566","file4":"1399778578","file5":"1399778581","file3":"1399778576"},"map_files_photo_id_array":[{"photo_id":"1399778581","filename":"file5"},{"photo_id":"1399778572","filename":"file2"},{"photo_id":"1399778578","filename":"file4"},{"photo_id":"1399778568","filename":"file1"},{"photo_id":"1399778566","filename":"file0"},{"photo_id":"1399778576","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778568":["hashtag1","hashtag2"]},{"1399778576":["hashtag1","hashtag2"]},{"1399778578":["hashtag1","hashtag2"]},{"1399778572":["hashtag1","hashtag2"]},{"1399778566":["hashtag1","hashtag2"]},{"1399778581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778568, 1399778576, 1399778578, 1399778572, 1399778566, 1399778581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.870076417922974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:55:03.165328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_44_9767.jpg', '/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_54_9724.jpg', '/home/pi/Desktop/images/17122025/11/46/image_17122025_11_47_05_10619.jpg', '/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_14_9737.jpg', '/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_24_9650.jpg', '/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_34_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_44_9767.jpg
/home/pi/Desktop/images/17122025/11/46/image_17122025_11_46_54_9724.jpg
/home/pi/Desktop/images/17122025/11/46/image_17122025_11_47_05_10619.jpg
/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_14_9737.jpg
/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_24_9650.jpg
/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_34_9769.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778589","1399778592","1399778586","1399778588","1399778590","1399778587"],"photo_ids_order":["1399778586","1399778587","1399778588","1399778589","1399778590","1399778592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c215d157ce829dce17f6b7166f4c909.jpg","text":"TemporaryFile(/tmp/multipartBody4405065645254266076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968963889,"filename":"image_17122025_11_47_14_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e85f711c4003ac1d91f062e1ef1061ef.jpg","text":"TemporaryFile(/tmp/multipartBody2591153449582740892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968963889,"filename":"image_17122025_11_47_34_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e58e9833ba31ac2b3e7012b6c10071c.jpg","text":"TemporaryFile(/tmp/multipartBody7191150565742570080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968963889,"filename":"image_17122025_11_46_44_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/191629164960431ef6c7bf0ff85f6cac.jpg","text":"TemporaryFile(/tmp/multipartBody2329242291454738863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968963889,"filename":"image_17122025_11_47_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2490db867f81245fb96b630bb059bdbd.jpg","text":"TemporaryFile(/tmp/multipartBody1265663148085670966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968963889,"filename":"image_17122025_11_47_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1595851b9e5fd0e0c7265c683ddfb65.jpg","text":"TemporaryFile(/tmp/multipartBody6988834093318466441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765968963889,"filename":"image_17122025_11_46_54_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778588","file1":"1399778587","file0":"1399778586","file4":"1399778590","file5":"1399778592","file3":"1399778589"},"map_files_photo_id_array":[{"photo_id":"1399778592","filename":"file5"},{"photo_id":"1399778588","filename":"file2"},{"photo_id":"1399778590","filename":"file4"},{"photo_id":"1399778587","filename":"file1"},{"photo_id":"1399778586","filename":"file0"},{"photo_id":"1399778589","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778589":["hashtag1","hashtag2"]},{"1399778592":["hashtag1","hashtag2"]},{"1399778586":["hashtag1","hashtag2"]},{"1399778588":["hashtag1","hashtag2"]},{"1399778590":["hashtag1","hashtag2"]},{"1399778587":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778589, 1399778592, 1399778586, 1399778588, 1399778590, 1399778587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.17639660835266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:55:42.429994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_14_2935.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_16_2720.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_19_2719.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_23_3770.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_26_2629.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_28_2626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_14_2935.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_16_2720.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_19_2719.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_23_3770.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_26_2629.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_28_2626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778598","1399778601","1399778604","1399778603","1399778600","1399778602"],"photo_ids_order":["1399778598","1399778600","1399778601","1399778602","1399778603","1399778604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd50695d487f6519039dd58b66d38697.jpg","text":"TemporaryFile(/tmp/multipartBody2339978957293233178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969003197,"filename":"image_07112025_19_08_14_2935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdf58b08b7fabdac97f6253760d14a4d.jpg","text":"TemporaryFile(/tmp/multipartBody7145735805038666663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969003197,"filename":"image_07112025_19_08_19_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e302bc6571a129afbcc85106c3fec665.jpg","text":"TemporaryFile(/tmp/multipartBody5737513338574887561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969003197,"filename":"image_07112025_19_08_28_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bb6d90a27a1b1ae80e5ed679e6cc5d2.jpg","text":"TemporaryFile(/tmp/multipartBody1668285357432244325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969003197,"filename":"image_07112025_19_08_26_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e911681f81df774b0f90b5c0dfd63197.jpg","text":"TemporaryFile(/tmp/multipartBody1558125005170746019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969003197,"filename":"image_07112025_19_08_16_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a43eef6b9df9462e3b632952291e268.jpg","text":"TemporaryFile(/tmp/multipartBody694785835925571583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969003197,"filename":"image_07112025_19_08_23_3770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778601","file1":"1399778600","file0":"1399778598","file4":"1399778603","file5":"1399778604","file3":"1399778602"},"map_files_photo_id_array":[{"photo_id":"1399778604","filename":"file5"},{"photo_id":"1399778601","filename":"file2"},{"photo_id":"1399778603","filename":"file4"},{"photo_id":"1399778600","filename":"file1"},{"photo_id":"1399778598","filename":"file0"},{"photo_id":"1399778602","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778598":["hashtag1","hashtag2"]},{"1399778601":["hashtag1","hashtag2"]},{"1399778604":["hashtag1","hashtag2"]},{"1399778603":["hashtag1","hashtag2"]},{"1399778600":["hashtag1","hashtag2"]},{"1399778602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778598, 1399778601, 1399778604, 1399778603, 1399778600, 1399778602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.3187837600708 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 11:56:22.733290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_44_10624.jpg', '/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_54_9713.jpg', '/home/pi/Desktop/images/17122025/11/47/image_17122025_11_48_04_9826.jpg', '/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_14_9743.jpg', '/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_24_10652.jpg', '/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_34_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_44_10624.jpg
/home/pi/Desktop/images/17122025/11/47/image_17122025_11_47_54_9713.jpg
/home/pi/Desktop/images/17122025/11/47/image_17122025_11_48_04_9826.jpg
/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_14_9743.jpg
/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_24_10652.jpg
/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_34_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":["1399778626","1399778611","1399778605","1399778607","1399778609","1399778614"],"photo_ids_order":["1399778605","1399778607","1399778609","1399778611","1399778614","1399778626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/109030ced6c6431da7c069df9d2da0d6.jpg","text":"TemporaryFile(/tmp/multipartBody2840573454444936622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969043373,"filename":"image_17122025_11_48_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f945df1ddd216b15f38ef82d0fefac2.jpg","text":"TemporaryFile(/tmp/multipartBody3954727158735623130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969043373,"filename":"image_17122025_11_48_14_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cf0783b9fd8ebca37b5996cc72a506e.jpg","text":"TemporaryFile(/tmp/multipartBody7089996204162247583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969043373,"filename":"image_17122025_11_47_44_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14ca9c2f525b36236c4235e42eb79d13.jpg","text":"TemporaryFile(/tmp/multipartBody3023264645712506199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969043373,"filename":"image_17122025_11_47_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/770ac40c06c9cf0c5881ccaeb0ae6379.jpg","text":"TemporaryFile(/tmp/multipartBody1319342105932906952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969043373,"filename":"image_17122025_11_48_04_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4fdbd736e452051da8cf074999914bcb.jpg","text":"TemporaryFile(/tmp/multipartBody1571892179965693017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969043373,"filename":"image_17122025_11_48_24_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778609","file1":"1399778607","file0":"1399778605","file4":"1399778614","file5":"1399778626","file3":"1399778611"},"map_files_photo_id_array":[{"photo_id":"1399778626","filename":"file5"},{"photo_id":"1399778609","filename":"file2"},{"photo_id":"1399778614","filename":"file4"},{"photo_id":"1399778607","filename":"file1"},{"photo_id":"1399778605","filename":"file0"},{"photo_id":"1399778611","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778626":["hashtag1","hashtag2"]},{"1399778611":["hashtag1","hashtag2"]},{"1399778605":["hashtag1","hashtag2"]},{"1399778607":["hashtag1","hashtag2"]},{"1399778609":["hashtag1","hashtag2"]},{"1399778614":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778626, 1399778611, 1399778605, 1399778607, 1399778609, 1399778614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83921575546265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:57:02.556424
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_45_10639.jpg', '/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_54_9736.jpg', '/home/pi/Desktop/images/17122025/11/48/image_17122025_11_49_04_9565.jpg', '/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_15_10747.jpg', '/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_25_9825.jpg', '/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_34_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_45_10639.jpg
/home/pi/Desktop/images/17122025/11/48/image_17122025_11_48_54_9736.jpg
/home/pi/Desktop/images/17122025/11/48/image_17122025_11_49_04_9565.jpg
/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_15_10747.jpg
/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_25_9825.jpg
/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_34_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":["1399778655","1399778637","1399778652","1399778628","1399778645","1399778653"],"photo_ids_order":["1399778628","1399778637","1399778645","1399778652","1399778653","1399778655"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5c02c3b5407f12ee5d9f012d1cd1e39.jpg","text":"TemporaryFile(/tmp/multipartBody6038460290447665403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969083248,"filename":"image_17122025_11_49_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/faa8f6711ae2b9ee7fe360c4ca140511.jpg","text":"TemporaryFile(/tmp/multipartBody7380621912594942182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969083248,"filename":"image_17122025_11_48_54_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/082f2c871b83156501412dba7fe7f8d5.jpg","text":"TemporaryFile(/tmp/multipartBody7094764152110226033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969083248,"filename":"image_17122025_11_49_15_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8db7c52baa10f51099dccd9265c0e5f.jpg","text":"TemporaryFile(/tmp/multipartBody858612090031719690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969083248,"filename":"image_17122025_11_48_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28879dfe075e92d6eb9013f0672f6d70.jpg","text":"TemporaryFile(/tmp/multipartBody8939260371344803100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969083248,"filename":"image_17122025_11_49_04_9565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9998770f2d2303d97a150f6920d3015.jpg","text":"TemporaryFile(/tmp/multipartBody8621171626315824505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969083248,"filename":"image_17122025_11_49_25_9825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778645","file1":"1399778637","file0":"1399778628","file4":"1399778653","file5":"1399778655","file3":"1399778652"},"map_files_photo_id_array":[{"photo_id":"1399778655","filename":"file5"},{"photo_id":"1399778645","filename":"file2"},{"photo_id":"1399778653","filename":"file4"},{"photo_id":"1399778637","filename":"file1"},{"photo_id":"1399778628","filename":"file0"},{"photo_id":"1399778652","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778655":["hashtag1","hashtag2"]},{"1399778637":["hashtag1","hashtag2"]},{"1399778652":["hashtag1","hashtag2"]},{"1399778628":["hashtag1","hashtag2"]},{"1399778645":["hashtag1","hashtag2"]},{"1399778653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778655, 1399778637, 1399778652, 1399778628, 1399778645, 1399778653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38315463066101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 11:57:41.951066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_32_3707.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_35_2621.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_37_2751.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_40_2699.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_48_7625.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_50_1871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_32_3707.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_35_2621.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_37_2751.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_40_2699.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_48_7625.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_50_1871.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778667","1399778660","1399778663","1399778665","1399778668","1399778662"],"photo_ids_order":["1399778660","1399778662","1399778663","1399778665","1399778667","1399778668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f03ee82827cab7871a2b4da11cbc678f.jpg","text":"TemporaryFile(/tmp/multipartBody8166307440154408272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969122713,"filename":"image_07112025_19_08_48_7625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77854cf7c5225ab290762565f5dfbd52.jpg","text":"TemporaryFile(/tmp/multipartBody490699833836050349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969122713,"filename":"image_07112025_19_08_32_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4245ad4ccd42c838f25db7ca06e02d59.jpg","text":"TemporaryFile(/tmp/multipartBody8194092976927695616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969122713,"filename":"image_07112025_19_08_37_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3dcdc155641fbe1138e3e7faaebb5600.jpg","text":"TemporaryFile(/tmp/multipartBody9102226695981470939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969122713,"filename":"image_07112025_19_08_40_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ae7e4aa17564abb70a3cfd67ccc8ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6195565922317497223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969122713,"filename":"image_07112025_19_08_50_1871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/082f913201a2f4ccc6f0faf2ddf7f9e1.jpg","text":"TemporaryFile(/tmp/multipartBody211495915342541942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969122713,"filename":"image_07112025_19_08_35_2621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778663","file1":"1399778662","file0":"1399778660","file4":"1399778667","file5":"1399778668","file3":"1399778665"},"map_files_photo_id_array":[{"photo_id":"1399778668","filename":"file5"},{"photo_id":"1399778663","filename":"file2"},{"photo_id":"1399778667","filename":"file4"},{"photo_id":"1399778662","filename":"file1"},{"photo_id":"1399778660","filename":"file0"},{"photo_id":"1399778665","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778667":["hashtag1","hashtag2"]},{"1399778660":["hashtag1","hashtag2"]},{"1399778663":["hashtag1","hashtag2"]},{"1399778665":["hashtag1","hashtag2"]},{"1399778668":["hashtag1","hashtag2"]},{"1399778662":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778667, 1399778660, 1399778663, 1399778665, 1399778668, 1399778662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09474515914917 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 11:59:03.456226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_44_9713.jpg', '/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_54_9848.jpg', '/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_15_10051.jpg', '/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_26_10947.jpg', '/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_35_9722.jpg', '/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_45_9860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_44_9713.jpg
/home/pi/Desktop/images/17122025/11/49/image_17122025_11_49_54_9848.jpg
/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_15_10051.jpg
/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_26_10947.jpg
/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_35_9722.jpg
/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_45_9860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778682","1399778676","1399778685","1399778687","1399778692","1399778689"],"photo_ids_order":["1399778676","1399778682","1399778685","1399778687","1399778689","1399778692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9537e464d5f49cb2bf5bd39d63213ded.jpg","text":"TemporaryFile(/tmp/multipartBody6396951625775519529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969204262,"filename":"image_17122025_11_49_54_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48d44002a0f5b11eb302333c3d0ca074.jpg","text":"TemporaryFile(/tmp/multipartBody4645102048058347795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969204262,"filename":"image_17122025_11_49_44_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22e9ba13919e6eee5fdd1125cb3d9e83.jpg","text":"TemporaryFile(/tmp/multipartBody4801108316521587019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969204262,"filename":"image_17122025_11_50_15_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8e4b1f8993bd2b83c5cb5c2282df9b8.jpg","text":"TemporaryFile(/tmp/multipartBody3279420420512142056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969204262,"filename":"image_17122025_11_50_26_10947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbd12736f18be23947ad4800c04ab3e0.jpg","text":"TemporaryFile(/tmp/multipartBody8797054883087934795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969204262,"filename":"image_17122025_11_50_45_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f546259acecf93c7b2a98d341714753c.jpg","text":"TemporaryFile(/tmp/multipartBody4051921216926451946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969204262,"filename":"image_17122025_11_50_35_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778685","file1":"1399778682","file0":"1399778676","file4":"1399778689","file5":"1399778692","file3":"1399778687"},"map_files_photo_id_array":[{"photo_id":"1399778692","filename":"file5"},{"photo_id":"1399778685","filename":"file2"},{"photo_id":"1399778689","filename":"file4"},{"photo_id":"1399778682","filename":"file1"},{"photo_id":"1399778676","filename":"file0"},{"photo_id":"1399778687","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778682":["hashtag1","hashtag2"]},{"1399778676":["hashtag1","hashtag2"]},{"1399778685":["hashtag1","hashtag2"]},{"1399778687":["hashtag1","hashtag2"]},{"1399778692":["hashtag1","hashtag2"]},{"1399778689":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778682, 1399778676, 1399778685, 1399778687, 1399778692, 1399778689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.83586812019348 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:00:03.074164
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_55_9808.jpg', '/home/pi/Desktop/images/17122025/11/50/image_17122025_11_51_05_9771.jpg', '/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_16_10820.jpg', '/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_25_9728.jpg', '/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_35_9721.jpg', '/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_45_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/50/image_17122025_11_50_55_9808.jpg
/home/pi/Desktop/images/17122025/11/50/image_17122025_11_51_05_9771.jpg
/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_16_10820.jpg
/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_25_9728.jpg
/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_35_9721.jpg
/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_45_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":["1399778712","1399778706","1399778709","1399778700","1399778703","1399778698"],"photo_ids_order":["1399778698","1399778700","1399778703","1399778706","1399778709","1399778712"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/942c5d2c72a1904a876b903f22c820fc.jpg","text":"TemporaryFile(/tmp/multipartBody6567654998567681925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969263741,"filename":"image_17122025_11_51_45_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d400be076aa8a4ba22bef5318395e73.jpg","text":"TemporaryFile(/tmp/multipartBody8640003466406391015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969263741,"filename":"image_17122025_11_51_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ad31f6e9b22f23a43627e38e47dddb9.jpg","text":"TemporaryFile(/tmp/multipartBody1948408667051494041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969263741,"filename":"image_17122025_11_51_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66adbea2f6cb6ed7357b0f178f211c70.jpg","text":"TemporaryFile(/tmp/multipartBody329184242556168414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969263741,"filename":"image_17122025_11_51_05_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cb02e294819e6ef396b45a08047778b.jpg","text":"TemporaryFile(/tmp/multipartBody8855960861586324117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969263741,"filename":"image_17122025_11_51_16_10820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a671c5770b4baae44511bd7ae475f90e.jpg","text":"TemporaryFile(/tmp/multipartBody662252963920490899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969263741,"filename":"image_17122025_11_50_55_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778703","file1":"1399778700","file0":"1399778698","file4":"1399778709","file5":"1399778712","file3":"1399778706"},"map_files_photo_id_array":[{"photo_id":"1399778712","filename":"file5"},{"photo_id":"1399778703","filename":"file2"},{"photo_id":"1399778709","filename":"file4"},{"photo_id":"1399778700","filename":"file1"},{"photo_id":"1399778698","filename":"file0"},{"photo_id":"1399778706","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778712":["hashtag1","hashtag2"]},{"1399778706":["hashtag1","hashtag2"]},{"1399778709":["hashtag1","hashtag2"]},{"1399778700":["hashtag1","hashtag2"]},{"1399778703":["hashtag1","hashtag2"]},{"1399778698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778712, 1399778706, 1399778709, 1399778700, 1399778703, 1399778698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22157073020935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:00:42.636526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_51_1703.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_53_1629.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_56_2820.jpg', '/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_58_2700.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_01_2615.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_05_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_51_1703.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_53_1629.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_56_2820.jpg
/home/pi/Desktop/images/07112025/19/08/image_07112025_19_08_58_2700.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_01_2615.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_05_3629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778718","1399778721","1399778720","1399778734","1399778743","1399778722"],"photo_ids_order":["1399778718","1399778720","1399778721","1399778722","1399778734","1399778743"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c5890b41fb5ce9d585820b96d6e60ca.jpg","text":"TemporaryFile(/tmp/multipartBody2411003976658073629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969303425,"filename":"image_07112025_19_08_51_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9672e880416dec63bacdc8cbe314ba0.jpg","text":"TemporaryFile(/tmp/multipartBody1151552629213004470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969303425,"filename":"image_07112025_19_08_56_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be7e6af78e335435484b642d9808d035.jpg","text":"TemporaryFile(/tmp/multipartBody6970274982809104597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969303425,"filename":"image_07112025_19_08_53_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce8a17ad90e63be6990544a06141e60c.jpg","text":"TemporaryFile(/tmp/multipartBody2463855071545211758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969303425,"filename":"image_07112025_19_09_01_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ecf8c797c3584d1ee1765afdad4554d.jpg","text":"TemporaryFile(/tmp/multipartBody3175130554229263961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969303425,"filename":"image_07112025_19_09_05_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6ddb0afdc61ce87e0ca9b3bf68c1c62.jpg","text":"TemporaryFile(/tmp/multipartBody5942569151565697926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969303425,"filename":"image_07112025_19_08_58_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778721","file1":"1399778720","file0":"1399778718","file4":"1399778734","file5":"1399778743","file3":"1399778722"},"map_files_photo_id_array":[{"photo_id":"1399778743","filename":"file5"},{"photo_id":"1399778721","filename":"file2"},{"photo_id":"1399778734","filename":"file4"},{"photo_id":"1399778720","filename":"file1"},{"photo_id":"1399778718","filename":"file0"},{"photo_id":"1399778722","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778718":["hashtag1","hashtag2"]},{"1399778721":["hashtag1","hashtag2"]},{"1399778720":["hashtag1","hashtag2"]},{"1399778734":["hashtag1","hashtag2"]},{"1399778743":["hashtag1","hashtag2"]},{"1399778722":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778718, 1399778721, 1399778720, 1399778734, 1399778743, 1399778722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.570958614349365 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:01:21.889693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_56_10672.jpg', '/home/pi/Desktop/images/17122025/11/51/image_17122025_11_52_05_9633.jpg', '/home/pi/Desktop/images/17122025/11/52/image_17122025_11_52_25_9771.jpg', '/home/pi/Desktop/images/17122025/11/52/image_17122025_11_52_35_9730.jpg', '/home/pi/Desktop/images/17122025/11/52/image_17122025_11_52_46_10889.jpg', '/home/pi/Desktop/images/17122025/11/52/image_17122025_11_52_55_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/51/image_17122025_11_51_56_10672.jpg
/home/pi/Desktop/images/17122025/11/51/image_17122025_11_52_05_9633.jpg
/home/pi/Desktop/images/17122025/11/52/image_17122025_11_52_25_9771.jpg
/home/pi/Desktop/images/17122025/11/52/image_17122025_11_52_35_9730.jpg
/home/pi/Desktop/images/17122025/11/52/image_17122025_11_52_46_10889.jpg
/home/pi/Desktop/images/17122025/11/52/image_17122025_11_52_55_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":["1399778772","1399778769","1399778771","1399778768","1399778776","1399778773"],"photo_ids_order":["1399778768","1399778769","1399778771","1399778772","1399778773","1399778776"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb31027ed358d7f0a4d777ada2978635.jpg","text":"TemporaryFile(/tmp/multipartBody3745083900609375548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969342577,"filename":"image_17122025_11_52_35_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27a8d4f0c2ead4acf7f86a661aac5c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3653345657766044366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969342577,"filename":"image_17122025_11_52_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a609dd8b8ea09f331ac991ae0f495db.jpg","text":"TemporaryFile(/tmp/multipartBody8593633533749465936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969342577,"filename":"image_17122025_11_52_25_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4986bf6eb097103543d4755341e09132.jpg","text":"TemporaryFile(/tmp/multipartBody42241293651916686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969342577,"filename":"image_17122025_11_51_56_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b919b2d567c4ec85edd1a830f1c6960e.jpg","text":"TemporaryFile(/tmp/multipartBody6652677298909509199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969342577,"filename":"image_17122025_11_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/2025/12/17/cedaf11e7c66dd02a5f9f05a9beb965a.jpg","text":"TemporaryFile(/tmp/multipartBody1542981202771871651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969342577,"filename":"image_17122025_11_52_46_10889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778771","file1":"1399778769","file0":"1399778768","file4":"1399778773","file5":"1399778776","file3":"1399778772"},"map_files_photo_id_array":[{"photo_id":"1399778776","filename":"file5"},{"photo_id":"1399778771","filename":"file2"},{"photo_id":"1399778773","filename":"file4"},{"photo_id":"1399778769","filename":"file1"},{"photo_id":"1399778768","filename":"file0"},{"photo_id":"1399778772","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778772":["hashtag1","hashtag2"]},{"1399778769":["hashtag1","hashtag2"]},{"1399778771":["hashtag1","hashtag2"]},{"1399778768":["hashtag1","hashtag2"]},{"1399778776":["hashtag1","hashtag2"]},{"1399778773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778772, 1399778769, 1399778771, 1399778768, 1399778776, 1399778773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51809811592102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:02:02.473515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/52/image_17122025_11_53_05_9715.jpg', '/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_15_9759.jpg', '/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_26_10829.jpg', '/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_35_9722.jpg', '/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_45_9696.jpg', '/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_55_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/52/image_17122025_11_53_05_9715.jpg
/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_15_9759.jpg
/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_26_10829.jpg
/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_35_9722.jpg
/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_45_9696.jpg
/home/pi/Desktop/images/17122025/11/53/image_17122025_11_53_55_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":["1399778784","1399778786","1399778780","1399778788","1399778782","1399778790"],"photo_ids_order":["1399778780","1399778782","1399778784","1399778786","1399778788","1399778790"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9732208e8a4c3b4e61354852ada1d15.jpg","text":"TemporaryFile(/tmp/multipartBody835328496761509144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969383133,"filename":"image_17122025_11_53_26_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fea4d0fd204914f668d33200c705fd57.jpg","text":"TemporaryFile(/tmp/multipartBody6088605008847204488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969383133,"filename":"image_17122025_11_53_35_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b1b433a365b9e920f846cf75b033112.jpg","text":"TemporaryFile(/tmp/multipartBody7580386019873661323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969383133,"filename":"image_17122025_11_53_05_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12bf9d6d8b81c3a4f0391b3e33a37ea7.jpg","text":"TemporaryFile(/tmp/multipartBody341268177854719646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969383133,"filename":"image_17122025_11_53_45_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32101e7101ffb2f54cad282254c9d39f.jpg","text":"TemporaryFile(/tmp/multipartBody4342252675865110059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969383133,"filename":"image_17122025_11_53_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a26bd53b680ee789d181505f7aee394b.jpg","text":"TemporaryFile(/tmp/multipartBody1051254331239019162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969383133,"filename":"image_17122025_11_53_55_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778784","file1":"1399778782","file0":"1399778780","file4":"1399778788","file5":"1399778790","file3":"1399778786"},"map_files_photo_id_array":[{"photo_id":"1399778790","filename":"file5"},{"photo_id":"1399778784","filename":"file2"},{"photo_id":"1399778788","filename":"file4"},{"photo_id":"1399778782","filename":"file1"},{"photo_id":"1399778780","filename":"file0"},{"photo_id":"1399778786","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778784":["hashtag1","hashtag2"]},{"1399778786":["hashtag1","hashtag2"]},{"1399778780":["hashtag1","hashtag2"]},{"1399778788":["hashtag1","hashtag2"]},{"1399778782":["hashtag1","hashtag2"]},{"1399778790":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778784, 1399778786, 1399778780, 1399778788, 1399778782, 1399778790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.601009368896484 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:02:42.079888
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_07_2706.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_10_2713.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_14_3792.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_17_2707.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_19_2599.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_23_3723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_07_2706.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_10_2713.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_14_3792.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_17_2707.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_19_2599.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_23_3723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778824","1399778832","1399778834","1399778797","1399778833","1399778799"],"photo_ids_order":["1399778797","1399778799","1399778824","1399778832","1399778833","1399778834"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68aac69511d6d767fccdc4522e12a1f5.jpg","text":"TemporaryFile(/tmp/multipartBody2699908835455373427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969422887,"filename":"image_07112025_19_09_14_3792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8baf6ce76094cc1415948ae4dc32b5d8.jpg","text":"TemporaryFile(/tmp/multipartBody478882012895300154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969422887,"filename":"image_07112025_19_09_17_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd1bebb0a61993421363b8127de567e9.jpg","text":"TemporaryFile(/tmp/multipartBody1527054005424988277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969422887,"filename":"image_07112025_19_09_23_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38ff26f49c1d4c35488ee21f994bfe14.jpg","text":"TemporaryFile(/tmp/multipartBody1152310472187640905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969422887,"filename":"image_07112025_19_09_07_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dbd38283e1c16fa8c55a9a433d2c684.jpg","text":"TemporaryFile(/tmp/multipartBody7193508271143429941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969422887,"filename":"image_07112025_19_09_19_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcf433a2a0fcab57786f7c4f164ea49c.jpg","text":"TemporaryFile(/tmp/multipartBody8590682309421208991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969422887,"filename":"image_07112025_19_09_10_2713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778824","file1":"1399778799","file0":"1399778797","file4":"1399778833","file5":"1399778834","file3":"1399778832"},"map_files_photo_id_array":[{"photo_id":"1399778834","filename":"file5"},{"photo_id":"1399778824","filename":"file2"},{"photo_id":"1399778833","filename":"file4"},{"photo_id":"1399778799","filename":"file1"},{"photo_id":"1399778797","filename":"file0"},{"photo_id":"1399778832","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778824":["hashtag1","hashtag2"]},{"1399778832":["hashtag1","hashtag2"]},{"1399778834":["hashtag1","hashtag2"]},{"1399778797":["hashtag1","hashtag2"]},{"1399778833":["hashtag1","hashtag2"]},{"1399778799":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778824, 1399778832, 1399778834, 1399778797, 1399778833, 1399778799)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.649601459503174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:03:22.360095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/53/image_17122025_11_54_06_10786.jpg', '/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_15_9745.jpg', '/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_25_9742.jpg', '/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_35_9634.jpg', '/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_46_10758.jpg', '/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_55_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/53/image_17122025_11_54_06_10786.jpg
/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_15_9745.jpg
/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_25_9742.jpg
/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_35_9634.jpg
/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_46_10758.jpg
/home/pi/Desktop/images/17122025/11/54/image_17122025_11_54_55_9649.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778847","1399778852","1399778849","1399778840","1399778843","1399778845"],"photo_ids_order":["1399778840","1399778843","1399778845","1399778847","1399778849","1399778852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a44af0f710890fb7d0a74edbdbed649.jpg","text":"TemporaryFile(/tmp/multipartBody2592695197309058527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969463008,"filename":"image_17122025_11_54_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6eb380c3841bc773e2eaf513573f0919.jpg","text":"TemporaryFile(/tmp/multipartBody8371217349287896639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969463008,"filename":"image_17122025_11_54_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb57f5347c0d24e3ddb016295e5ffd11.jpg","text":"TemporaryFile(/tmp/multipartBody5733546392549387058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969463008,"filename":"image_17122025_11_54_46_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44cf407e470294063262edf67911997f.jpg","text":"TemporaryFile(/tmp/multipartBody7792529655909324792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969463008,"filename":"image_17122025_11_54_06_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db9c322f603f486d143f7a5898f4cf7a.jpg","text":"TemporaryFile(/tmp/multipartBody3372072340841073589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969463008,"filename":"image_17122025_11_54_15_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfa9507d6e3a6e5fb63d04334c48c47c.jpg","text":"TemporaryFile(/tmp/multipartBody815861350574990606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969463008,"filename":"image_17122025_11_54_25_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778845","file1":"1399778843","file0":"1399778840","file4":"1399778849","file5":"1399778852","file3":"1399778847"},"map_files_photo_id_array":[{"photo_id":"1399778852","filename":"file5"},{"photo_id":"1399778845","filename":"file2"},{"photo_id":"1399778849","filename":"file4"},{"photo_id":"1399778843","filename":"file1"},{"photo_id":"1399778840","filename":"file0"},{"photo_id":"1399778847","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778847":["hashtag1","hashtag2"]},{"1399778852":["hashtag1","hashtag2"]},{"1399778849":["hashtag1","hashtag2"]},{"1399778840":["hashtag1","hashtag2"]},{"1399778843":["hashtag1","hashtag2"]},{"1399778845":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778847, 1399778852, 1399778849, 1399778840, 1399778843, 1399778845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29119396209717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:04:03.224081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/56/image_17122025_11_56_25_10672.jpg', '/home/pi/Desktop/images/17122025/11/56/image_17122025_11_56_34_9777.jpg', '/home/pi/Desktop/images/17122025/11/56/image_17122025_11_56_44_9721.jpg', '/home/pi/Desktop/images/17122025/11/56/image_17122025_11_56_55_10659.jpg', '/home/pi/Desktop/images/17122025/11/56/image_17122025_11_57_04_9628.jpg', '/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_14_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/56/image_17122025_11_56_25_10672.jpg
/home/pi/Desktop/images/17122025/11/56/image_17122025_11_56_34_9777.jpg
/home/pi/Desktop/images/17122025/11/56/image_17122025_11_56_44_9721.jpg
/home/pi/Desktop/images/17122025/11/56/image_17122025_11_56_55_10659.jpg
/home/pi/Desktop/images/17122025/11/56/image_17122025_11_57_04_9628.jpg
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_14_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778870","1399778867","1399778861","1399778855","1399778857","1399778854"],"photo_ids_order":["1399778854","1399778855","1399778857","1399778861","1399778867","1399778870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1508b48ed14f94fec176d7ce37056f79.jpg","text":"TemporaryFile(/tmp/multipartBody5730472254663600586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969503917,"filename":"image_17122025_11_57_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f60a6ae71bc64857eee3ffa68f13047.jpg","text":"TemporaryFile(/tmp/multipartBody5579185919131386947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969503917,"filename":"image_17122025_11_57_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d10a13c5f05d28466ad6b87a9e0226d1.jpg","text":"TemporaryFile(/tmp/multipartBody4965441663079016737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969503917,"filename":"image_17122025_11_56_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0867b4b1b3e0d4073a9e9c1d73938eba.jpg","text":"TemporaryFile(/tmp/multipartBody342802332365171560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969503917,"filename":"image_17122025_11_56_34_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc2f2d9d9426852a4c39c2e5818cbfaf.jpg","text":"TemporaryFile(/tmp/multipartBody1214915156451478541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969503917,"filename":"image_17122025_11_56_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5033df34446b0c101476ea5d6c8ca656.jpg","text":"TemporaryFile(/tmp/multipartBody5945406572092803313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969503917,"filename":"image_17122025_11_56_25_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778857","file1":"1399778855","file0":"1399778854","file4":"1399778867","file5":"1399778870","file3":"1399778861"},"map_files_photo_id_array":[{"photo_id":"1399778870","filename":"file5"},{"photo_id":"1399778857","filename":"file2"},{"photo_id":"1399778867","filename":"file4"},{"photo_id":"1399778855","filename":"file1"},{"photo_id":"1399778854","filename":"file0"},{"photo_id":"1399778861","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399778870":["hashtag1","hashtag2"]},{"1399778867":["hashtag1","hashtag2"]},{"1399778861":["hashtag1","hashtag2"]},{"1399778855":["hashtag1","hashtag2"]},{"1399778857":["hashtag1","hashtag2"]},{"1399778854":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399778870, 1399778867, 1399778861, 1399778855, 1399778857, 1399778854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.471975326538086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:04:42.569250
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_26_2857.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_28_2552.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_52_23817.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_59_6695.jpg', '/home/pi/Desktop/images/07112025/19/09/image_07112025_19_10_00_1674.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_02_1687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_26_2857.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_28_2552.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_52_23817.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_09_59_6695.jpg
/home/pi/Desktop/images/07112025/19/09/image_07112025_19_10_00_1674.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_02_1687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399778895","1399778883","1399778910","1399778904","1399778891","1399778899"],"photo_ids_order":["1399778883","1399778891","1399778895","1399778899","1399778904","1399778910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/427acdbfd5b1f5951f35779986dbe925.jpg","text":"TemporaryFile(/tmp/multipartBody5945994925630717409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969543339,"filename":"image_07112025_19_09_52_23817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44e711e7746298da1561d9e90b9cdc79.jpg","text":"TemporaryFile(/tmp/multipartBody2711340330544427834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969543339,"filename":"image_07112025_19_09_26_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99704b4f1a7fbbed6967e3d7229e72c4.jpg","text":"TemporaryFile(/tmp/multipartBody3768245261303165708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969543339,"filename":"image_07112025_19_10_02_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90f329ea14bb500349758a30a6ec9240.jpg","text":"TemporaryFile(/tmp/multipartBody5814211743590273157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969543339,"filename":"image_07112025_19_10_00_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e9bc70dc73b5577cb76589510783270.jpg","text":"TemporaryFile(/tmp/multipartBody2080398701684455415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969543339,"filename":"image_07112025_19_09_28_2552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5c48bb90e0b1ed2f848a8701d5e463b.jpg","text":"TemporaryFile(/tmp/multipartBody7369586428200299055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969543339,"filename":"image_07112025_19_09_59_6695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399778895","file1":"1399778891","file0":"1399778883","file4":"1399778904","file5":"1399778910","file3":"1399778899"},"map_files_photo_id_array":[{"photo_id":"1399778910","filename":"file5"},{"photo_id":"1399778895","filename":"file2"},{"photo_id":"1399778904","filename":"file4"},{"photo_id":"1399778891","filename":"file1"},{"photo_id":"1399778883","filename":"file0"},{"photo_id":"1399778899","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399778895":["hashtag1","hashtag2"]},{"1399778883":["hashtag1","hashtag2"]},{"1399778910":["hashtag1","hashtag2"]},{"1399778904":["hashtag1","hashtag2"]},{"1399778891":["hashtag1","hashtag2"]},{"1399778899":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399778895, 1399778883, 1399778910, 1399778904, 1399778891, 1399778899)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27305293083191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:05:22.928201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_25_10622.jpg', '/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_34_9693.jpg', '/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_44_9665.jpg', '/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_55_10845.jpg', '/home/pi/Desktop/images/17122025/11/57/image_17122025_11_58_05_9568.jpg', '/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_14_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_25_10622.jpg
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_34_9693.jpg
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_44_9665.jpg
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_55_10845.jpg
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_58_05_9568.jpg
/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_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.5348024368286133 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:05:32.785136
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:05:42.860875
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_04_2070.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_06_1622.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_08_1727.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_09_1732.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_11_1549.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_12_1616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_04_2070.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_06_1622.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_08_1727.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_09_1732.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_11_1549.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_12_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":["1399779033","1399778976","1399779006","1399779032","1399778974","1399779034"],"photo_ids_order":["1399778974","1399778976","1399779006","1399779032","1399779033","1399779034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6aad86bdc3cb84bd6e7defda886bd78.jpg","text":"TemporaryFile(/tmp/multipartBody4152873367141011353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969603648,"filename":"image_07112025_19_10_11_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef5e165be1d9183318db1c801608c56f.jpg","text":"TemporaryFile(/tmp/multipartBody1513378814160499783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969603648,"filename":"image_07112025_19_10_06_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e057e55e28d4f0b049cf8b3240e9aed.jpg","text":"TemporaryFile(/tmp/multipartBody8294715362520081082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969603648,"filename":"image_07112025_19_10_08_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1b021e29cf15e8556eb4f344c81d47d.jpg","text":"TemporaryFile(/tmp/multipartBody1880747659909637960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969603648,"filename":"image_07112025_19_10_09_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e6eb22ebb1089ea3eb4345aa4c273df.jpg","text":"TemporaryFile(/tmp/multipartBody8711940146754631672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969603648,"filename":"image_07112025_19_10_04_2070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf22c3212f9f5a993a3dc2829def980c.jpg","text":"TemporaryFile(/tmp/multipartBody8833747766529074133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969603648,"filename":"image_07112025_19_10_12_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779006","file1":"1399778976","file0":"1399778974","file4":"1399779033","file5":"1399779034","file3":"1399779032"},"map_files_photo_id_array":[{"photo_id":"1399779034","filename":"file5"},{"photo_id":"1399779006","filename":"file2"},{"photo_id":"1399779033","filename":"file4"},{"photo_id":"1399778976","filename":"file1"},{"photo_id":"1399778974","filename":"file0"},{"photo_id":"1399779032","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399779033":["hashtag1","hashtag2"]},{"1399778976":["hashtag1","hashtag2"]},{"1399779006":["hashtag1","hashtag2"]},{"1399779032":["hashtag1","hashtag2"]},{"1399778974":["hashtag1","hashtag2"]},{"1399779034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399779033, 1399778976, 1399779006, 1399779032, 1399778974, 1399779034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.5917706489563 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:06:22.160060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_25_10622.jpg', '/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_34_9693.jpg', '/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_44_9665.jpg', '/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_55_10845.jpg', '/home/pi/Desktop/images/17122025/11/57/image_17122025_11_58_05_9568.jpg', '/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_14_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_25_10622.jpg
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_34_9693.jpg
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_44_9665.jpg
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_57_55_10845.jpg
/home/pi/Desktop/images/17122025/11/57/image_17122025_11_58_05_9568.jpg
/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_14_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":["1399779036","1399779039","1399779044","1399779041","1399779049","1399779052"],"photo_ids_order":["1399779036","1399779039","1399779041","1399779044","1399779049","1399779052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29164f0bcd59f86992eb405ffa070cfc.jpg","text":"TemporaryFile(/tmp/multipartBody2657562279058363213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969642803,"filename":"image_17122025_11_57_25_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60d64ec296442c9fdecc2377dbdeec73.jpg","text":"TemporaryFile(/tmp/multipartBody8017164608443116538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969642803,"filename":"image_17122025_11_57_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3bb4646246beeab965a134dddc9e9422.jpg","text":"TemporaryFile(/tmp/multipartBody2356873786747727957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969642803,"filename":"image_17122025_11_57_55_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5bfe1b808b9dbafb1ff94483e1318ac.jpg","text":"TemporaryFile(/tmp/multipartBody6251525589649474201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969642803,"filename":"image_17122025_11_57_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2357e27c16156c1f766386bea70ca311.jpg","text":"TemporaryFile(/tmp/multipartBody5953576402505853774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969642803,"filename":"image_17122025_11_58_05_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de21bdfca74730e8c4450ea8c461b688.jpg","text":"TemporaryFile(/tmp/multipartBody1902906088472223302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969642803,"filename":"image_17122025_11_58_14_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779041","file1":"1399779039","file0":"1399779036","file4":"1399779049","file5":"1399779052","file3":"1399779044"},"map_files_photo_id_array":[{"photo_id":"1399779052","filename":"file5"},{"photo_id":"1399779041","filename":"file2"},{"photo_id":"1399779049","filename":"file4"},{"photo_id":"1399779039","filename":"file1"},{"photo_id":"1399779036","filename":"file0"},{"photo_id":"1399779044","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779036":["hashtag1","hashtag2"]},{"1399779039":["hashtag1","hashtag2"]},{"1399779044":["hashtag1","hashtag2"]},{"1399779041":["hashtag1","hashtag2"]},{"1399779049":["hashtag1","hashtag2"]},{"1399779052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779036, 1399779039, 1399779044, 1399779041, 1399779049, 1399779052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58752942085266 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:07:03.137325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_25_10617.jpg', '/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_35_9714.jpg', '/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_44_9688.jpg', '/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_54_9810.jpg', '/home/pi/Desktop/images/17122025/11/58/image_17122025_11_59_05_10720.jpg', '/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_15_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_25_10617.jpg
/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_35_9714.jpg
/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_44_9688.jpg
/home/pi/Desktop/images/17122025/11/58/image_17122025_11_58_54_9810.jpg
/home/pi/Desktop/images/17122025/11/58/image_17122025_11_59_05_10720.jpg
/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_15_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":["1399779162","1399779123","1399779083","1399779236","1399779274","1399779198"],"photo_ids_order":["1399779083","1399779123","1399779162","1399779198","1399779236","1399779274"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f0b0c77f5a06c098bbe266245fa5445.jpg","text":"TemporaryFile(/tmp/multipartBody1427924012316845927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969683852,"filename":"image_17122025_11_58_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f073712ea11634845907a8c8f439887c.jpg","text":"TemporaryFile(/tmp/multipartBody2498735945138431845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969683852,"filename":"image_17122025_11_58_35_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0906045f28230bbf1159a4905ed0c460.jpg","text":"TemporaryFile(/tmp/multipartBody9152547116996590158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969683852,"filename":"image_17122025_11_58_25_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc7316461cae14146b30f8f61f40686a.jpg","text":"TemporaryFile(/tmp/multipartBody4072677030883740385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969683852,"filename":"image_17122025_11_59_05_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9afc92d3913b4894b650bb1dc6a7ba65.jpg","text":"TemporaryFile(/tmp/multipartBody1757247832629108009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969683852,"filename":"image_17122025_11_59_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ae5237e8a0cc700183219441176b5b7.jpg","text":"TemporaryFile(/tmp/multipartBody299472183019778404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969683852,"filename":"image_17122025_11_58_54_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779162","file1":"1399779123","file0":"1399779083","file4":"1399779236","file5":"1399779274","file3":"1399779198"},"map_files_photo_id_array":[{"photo_id":"1399779274","filename":"file5"},{"photo_id":"1399779162","filename":"file2"},{"photo_id":"1399779236","filename":"file4"},{"photo_id":"1399779123","filename":"file1"},{"photo_id":"1399779083","filename":"file0"},{"photo_id":"1399779198","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779162":["hashtag1","hashtag2"]},{"1399779123":["hashtag1","hashtag2"]},{"1399779083":["hashtag1","hashtag2"]},{"1399779236":["hashtag1","hashtag2"]},{"1399779274":["hashtag1","hashtag2"]},{"1399779198":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779162, 1399779123, 1399779083, 1399779236, 1399779274, 1399779198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.00474309921265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:07:42.450754
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_14_1641.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_16_1550.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_17_1562.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_19_1607.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_21_1922.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_22_1611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_14_1641.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_16_1550.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_17_1562.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_19_1607.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_21_1922.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_22_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":["1399779372","1399779366","1399779398","1399779391","1399779370","1399779399"],"photo_ids_order":["1399779366","1399779370","1399779372","1399779391","1399779398","1399779399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2a0e4257d483e9f42401aa6647ceb18.jpg","text":"TemporaryFile(/tmp/multipartBody6275321697587153995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969723217,"filename":"image_07112025_19_10_17_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3799f9d8a91bca6f118cd0eff578f58c.jpg","text":"TemporaryFile(/tmp/multipartBody610132004843894324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969723217,"filename":"image_07112025_19_10_14_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c1739b810f2d4eb640c800df8b44edd.jpg","text":"TemporaryFile(/tmp/multipartBody8745319142686404442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969723217,"filename":"image_07112025_19_10_21_1922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3176d1f95736449003fb89a6d7dced44.jpg","text":"TemporaryFile(/tmp/multipartBody7956047123838707562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969723217,"filename":"image_07112025_19_10_19_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3b28d07544518681b985773da0c8738.jpg","text":"TemporaryFile(/tmp/multipartBody6202016134310150200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969723217,"filename":"image_07112025_19_10_16_1550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2da1eb01f82201dc38ef672ebb3a7cb0.jpg","text":"TemporaryFile(/tmp/multipartBody5293167642590988600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969723217,"filename":"image_07112025_19_10_22_1611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779372","file1":"1399779370","file0":"1399779366","file4":"1399779398","file5":"1399779399","file3":"1399779391"},"map_files_photo_id_array":[{"photo_id":"1399779399","filename":"file5"},{"photo_id":"1399779372","filename":"file2"},{"photo_id":"1399779398","filename":"file4"},{"photo_id":"1399779370","filename":"file1"},{"photo_id":"1399779366","filename":"file0"},{"photo_id":"1399779391","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399779372":["hashtag1","hashtag2"]},{"1399779366":["hashtag1","hashtag2"]},{"1399779398":["hashtag1","hashtag2"]},{"1399779391":["hashtag1","hashtag2"]},{"1399779370":["hashtag1","hashtag2"]},{"1399779399":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399779372, 1399779366, 1399779398, 1399779391, 1399779370, 1399779399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12509894371033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:08:22.807191
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_24_9651.jpg', '/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_34_9926.jpg', '/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_45_10653.jpg', '/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_55_9874.jpg', '/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_15_10054.jpg', '/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_25_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_24_9651.jpg
/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_34_9926.jpg
/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_45_10653.jpg
/home/pi/Desktop/images/17122025/11/59/image_17122025_11_59_55_9874.jpg
/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_15_10054.jpg
/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_25_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399779423","1399779417","1399779443","1399779419","1399779448","1399779421"],"photo_ids_order":["1399779417","1399779419","1399779421","1399779423","1399779443","1399779448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04502789681c23222df7ea0781b7cbdb.jpg","text":"TemporaryFile(/tmp/multipartBody808994141600731376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969763460,"filename":"image_17122025_11_59_55_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/659871d666b4c522713114e4dfade8ac.jpg","text":"TemporaryFile(/tmp/multipartBody1474243293112116749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969763460,"filename":"image_17122025_11_59_24_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/552660eaad4b6772af627bb55fd28ad1.jpg","text":"TemporaryFile(/tmp/multipartBody7183834694310061967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969763460,"filename":"image_17122025_12_00_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d74cb165a03c5dcd3538b95f9440d507.jpg","text":"TemporaryFile(/tmp/multipartBody3722293530580643821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969763460,"filename":"image_17122025_11_59_34_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ad02242a019fd3cb3dd00ca5e36acc7.jpg","text":"TemporaryFile(/tmp/multipartBody1225700310506493346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969763460,"filename":"image_17122025_12_00_25_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/467edcd4959a9858595a827ee0f46c11.jpg","text":"TemporaryFile(/tmp/multipartBody5469418701112321133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969763460,"filename":"image_17122025_11_59_45_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779421","file1":"1399779419","file0":"1399779417","file4":"1399779443","file5":"1399779448","file3":"1399779423"},"map_files_photo_id_array":[{"photo_id":"1399779448","filename":"file5"},{"photo_id":"1399779421","filename":"file2"},{"photo_id":"1399779443","filename":"file4"},{"photo_id":"1399779419","filename":"file1"},{"photo_id":"1399779417","filename":"file0"},{"photo_id":"1399779423","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779423":["hashtag1","hashtag2"]},{"1399779417":["hashtag1","hashtag2"]},{"1399779443":["hashtag1","hashtag2"]},{"1399779419":["hashtag1","hashtag2"]},{"1399779448":["hashtag1","hashtag2"]},{"1399779421":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779423, 1399779417, 1399779443, 1399779419, 1399779448, 1399779421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.64519667625427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:09:02.819426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_35_9601.jpg', '/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_45_9731.jpg', '/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_55_9826.jpg', '/home/pi/Desktop/images/17122025/12/00/image_17122025_12_01_05_10726.jpg', '/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_15_9571.jpg', '/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_25_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_35_9601.jpg
/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_45_9731.jpg
/home/pi/Desktop/images/17122025/12/00/image_17122025_12_00_55_9826.jpg
/home/pi/Desktop/images/17122025/12/00/image_17122025_12_01_05_10726.jpg
/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_15_9571.jpg
/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_25_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399779471","1399779459","1399779485","1399779470","1399779467","1399779495"],"photo_ids_order":["1399779459","1399779467","1399779470","1399779471","1399779485","1399779495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69ad5d392910e01016f45a03c2276e06.jpg","text":"TemporaryFile(/tmp/multipartBody2132093346962754637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969803651,"filename":"image_17122025_12_01_05_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf1b97fd86aeb6272376d1d82e34c6b2.jpg","text":"TemporaryFile(/tmp/multipartBody1797108973452360228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969803651,"filename":"image_17122025_12_00_35_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d806c79821977c9309d60a0085da7a12.jpg","text":"TemporaryFile(/tmp/multipartBody9174465297586277773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969803651,"filename":"image_17122025_12_01_15_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d29156885ab7eea8956b6676e56b73d1.jpg","text":"TemporaryFile(/tmp/multipartBody5096471839039805345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969803651,"filename":"image_17122025_12_00_55_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/835581a1b197a0b3c117bd77a775cc2e.jpg","text":"TemporaryFile(/tmp/multipartBody7100259273832441493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969803651,"filename":"image_17122025_12_00_45_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42f558d4e596fedfc951a0882a3540f3.jpg","text":"TemporaryFile(/tmp/multipartBody412889668978671010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969803651,"filename":"image_17122025_12_01_25_10551.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779470","file1":"1399779467","file0":"1399779459","file4":"1399779485","file5":"1399779495","file3":"1399779471"},"map_files_photo_id_array":[{"photo_id":"1399779495","filename":"file5"},{"photo_id":"1399779470","filename":"file2"},{"photo_id":"1399779485","filename":"file4"},{"photo_id":"1399779467","filename":"file1"},{"photo_id":"1399779459","filename":"file0"},{"photo_id":"1399779471","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779471":["hashtag1","hashtag2"]},{"1399779459":["hashtag1","hashtag2"]},{"1399779485":["hashtag1","hashtag2"]},{"1399779470":["hashtag1","hashtag2"]},{"1399779467":["hashtag1","hashtag2"]},{"1399779495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779471, 1399779459, 1399779485, 1399779470, 1399779467, 1399779495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.899497985839844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:09:41.867509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_24_1632.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_26_1694.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_27_1560.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_29_1730.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_32_2672.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_34_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_24_1632.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_26_1694.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_27_1560.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_29_1730.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_32_2672.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_34_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399779531","1399779504","1399779501","1399779503","1399779499","1399779505"],"photo_ids_order":["1399779499","1399779501","1399779503","1399779504","1399779505","1399779531"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48fe47926bb59c3ecc64597537208e79.jpg","text":"TemporaryFile(/tmp/multipartBody7765684788162269370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969842640,"filename":"image_07112025_19_10_34_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/862636fcd215b54d16085ff43d18bb06.jpg","text":"TemporaryFile(/tmp/multipartBody863701552145867674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969842640,"filename":"image_07112025_19_10_29_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b27cfe82836a138549266a8a595809d.jpg","text":"TemporaryFile(/tmp/multipartBody5470584996450722302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969842640,"filename":"image_07112025_19_10_26_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c970bb661638e536c0f425cb1e98e6b.jpg","text":"TemporaryFile(/tmp/multipartBody8880723095841709494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969842640,"filename":"image_07112025_19_10_27_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fde021199b889e29f8551afec5d0b003.jpg","text":"TemporaryFile(/tmp/multipartBody4281656741650517567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969842640,"filename":"image_07112025_19_10_24_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d39ff7a6fb129530516984d9f8c50977.jpg","text":"TemporaryFile(/tmp/multipartBody8403448695383192814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969842640,"filename":"image_07112025_19_10_32_2672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779503","file1":"1399779501","file0":"1399779499","file4":"1399779505","file5":"1399779531","file3":"1399779504"},"map_files_photo_id_array":[{"photo_id":"1399779531","filename":"file5"},{"photo_id":"1399779503","filename":"file2"},{"photo_id":"1399779505","filename":"file4"},{"photo_id":"1399779501","filename":"file1"},{"photo_id":"1399779499","filename":"file0"},{"photo_id":"1399779504","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399779531":["hashtag1","hashtag2"]},{"1399779504":["hashtag1","hashtag2"]},{"1399779501":["hashtag1","hashtag2"]},{"1399779503":["hashtag1","hashtag2"]},{"1399779499":["hashtag1","hashtag2"]},{"1399779505":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399779531, 1399779504, 1399779501, 1399779503, 1399779499, 1399779505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.342992067337036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:10:22.152672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_35_9642.jpg', '/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_45_9531.jpg', '/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_55_10659.jpg', '/home/pi/Desktop/images/17122025/12/01/image_17122025_12_02_05_9819.jpg', '/home/pi/Desktop/images/17122025/12/02/image_17122025_12_02_15_9856.jpg', '/home/pi/Desktop/images/17122025/12/02/image_17122025_12_02_26_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_35_9642.jpg
/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_45_9531.jpg
/home/pi/Desktop/images/17122025/12/01/image_17122025_12_01_55_10659.jpg
/home/pi/Desktop/images/17122025/12/01/image_17122025_12_02_05_9819.jpg
/home/pi/Desktop/images/17122025/12/02/image_17122025_12_02_15_9856.jpg
/home/pi/Desktop/images/17122025/12/02/image_17122025_12_02_26_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":["1399779630","1399779632","1399779629","1399779679","1399779670","1399779675"],"photo_ids_order":["1399779629","1399779630","1399779632","1399779670","1399779675","1399779679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d54443afca764b13095e45babbcd8bf.jpg","text":"TemporaryFile(/tmp/multipartBody2706631799603100495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969882836,"filename":"image_17122025_12_01_45_9531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c23b758967275c97bc52eb0f96f167a8.jpg","text":"TemporaryFile(/tmp/multipartBody5863284345931456318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969882836,"filename":"image_17122025_12_01_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/759947f26e5b24e0d78db3b88b7c6d74.jpg","text":"TemporaryFile(/tmp/multipartBody5747612090626874584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969882836,"filename":"image_17122025_12_01_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8805be8ab807d2861487f572b014e64d.jpg","text":"TemporaryFile(/tmp/multipartBody5959636066234131222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969882836,"filename":"image_17122025_12_02_26_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/feb47c2bf09eb963e549fe930c708cab.jpg","text":"TemporaryFile(/tmp/multipartBody7161770181627511494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969882836,"filename":"image_17122025_12_02_05_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb9c13189c7436a4baf38c39e10c96cf.jpg","text":"TemporaryFile(/tmp/multipartBody8188131990582705924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969882836,"filename":"image_17122025_12_02_15_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779632","file1":"1399779630","file0":"1399779629","file4":"1399779675","file5":"1399779679","file3":"1399779670"},"map_files_photo_id_array":[{"photo_id":"1399779679","filename":"file5"},{"photo_id":"1399779632","filename":"file2"},{"photo_id":"1399779675","filename":"file4"},{"photo_id":"1399779630","filename":"file1"},{"photo_id":"1399779629","filename":"file0"},{"photo_id":"1399779670","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779630":["hashtag1","hashtag2"]},{"1399779632":["hashtag1","hashtag2"]},{"1399779629":["hashtag1","hashtag2"]},{"1399779679":["hashtag1","hashtag2"]},{"1399779670":["hashtag1","hashtag2"]},{"1399779675":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779630, 1399779632, 1399779629, 1399779679, 1399779670, 1399779675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09708380699158 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:11:03.009270
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/02/image_17122025_12_02_35_9599.jpg', '/home/pi/Desktop/images/17122025/12/02/image_17122025_12_03_05_10682.jpg', '/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_15_9753.jpg', '/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_25_9734.jpg', '/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_35_10672.jpg', '/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_45_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/02/image_17122025_12_02_35_9599.jpg
/home/pi/Desktop/images/17122025/12/02/image_17122025_12_03_05_10682.jpg
/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_15_9753.jpg
/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_25_9734.jpg
/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_35_10672.jpg
/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_45_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399779744","1399779725","1399779749","1399779742","1399779745","1399779733"],"photo_ids_order":["1399779725","1399779733","1399779742","1399779744","1399779745","1399779749"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d827d2a97216abaf6f1bc3d27a1dda78.jpg","text":"TemporaryFile(/tmp/multipartBody3439918207838275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969923743,"filename":"image_17122025_12_03_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b1f863cdc599f114ac3aacacab33e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2799662816738482660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969923743,"filename":"image_17122025_12_02_35_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3e0942570783da37c03e37cebd71407.jpg","text":"TemporaryFile(/tmp/multipartBody1680777880230941845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969923743,"filename":"image_17122025_12_03_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78a044bdecd676f9401b570d9615ef87.jpg","text":"TemporaryFile(/tmp/multipartBody7604679959032497992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969923743,"filename":"image_17122025_12_03_15_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3aaa9a8be8b2e28012b7610c711ecd8.jpg","text":"TemporaryFile(/tmp/multipartBody7386903121044193718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969923743,"filename":"image_17122025_12_03_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02164f413de8b51d537dce1b333348b7.jpg","text":"TemporaryFile(/tmp/multipartBody5787308408831799589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969923743,"filename":"image_17122025_12_03_05_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779742","file1":"1399779733","file0":"1399779725","file4":"1399779745","file5":"1399779749","file3":"1399779744"},"map_files_photo_id_array":[{"photo_id":"1399779749","filename":"file5"},{"photo_id":"1399779742","filename":"file2"},{"photo_id":"1399779745","filename":"file4"},{"photo_id":"1399779733","filename":"file1"},{"photo_id":"1399779725","filename":"file0"},{"photo_id":"1399779744","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779744":["hashtag1","hashtag2"]},{"1399779725":["hashtag1","hashtag2"]},{"1399779749":["hashtag1","hashtag2"]},{"1399779742":["hashtag1","hashtag2"]},{"1399779745":["hashtag1","hashtag2"]},{"1399779733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779744, 1399779725, 1399779749, 1399779742, 1399779745, 1399779733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.749687910079956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:11:42.327293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_37_2855.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_40_2728.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_43_3709.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_49_5107.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_51_1908.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_52_1802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_37_2855.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_40_2728.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_43_3709.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_49_5107.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_51_1908.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_52_1802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399779756","1399779767","1399779769","1399779763","1399779766","1399779765"],"photo_ids_order":["1399779756","1399779763","1399779765","1399779766","1399779767","1399779769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f8fa6b0962588b7bce8f84e7adde98d.jpg","text":"TemporaryFile(/tmp/multipartBody7751460900582370839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969963097,"filename":"image_07112025_19_10_37_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c6235cb53164d10c3819db54215737b.jpg","text":"TemporaryFile(/tmp/multipartBody7670914965971258236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969963097,"filename":"image_07112025_19_10_51_1908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4885338795f20c4bbf26beb10fb5817f.jpg","text":"TemporaryFile(/tmp/multipartBody8974782645916074884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969963097,"filename":"image_07112025_19_10_52_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45aec37626752fe9268cc440868654f6.jpg","text":"TemporaryFile(/tmp/multipartBody1988736145503298644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969963097,"filename":"image_07112025_19_10_40_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef734794c3584c6bfbca605a43c3a5e2.jpg","text":"TemporaryFile(/tmp/multipartBody2922919275811561749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969963097,"filename":"image_07112025_19_10_49_5107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd5cb8f1fe4a2b31242c279a3fd416e7.jpg","text":"TemporaryFile(/tmp/multipartBody1391640039905015277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765969963097,"filename":"image_07112025_19_10_43_3709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779765","file1":"1399779763","file0":"1399779756","file4":"1399779767","file5":"1399779769","file3":"1399779766"},"map_files_photo_id_array":[{"photo_id":"1399779769","filename":"file5"},{"photo_id":"1399779765","filename":"file2"},{"photo_id":"1399779767","filename":"file4"},{"photo_id":"1399779763","filename":"file1"},{"photo_id":"1399779756","filename":"file0"},{"photo_id":"1399779766","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399779756":["hashtag1","hashtag2"]},{"1399779767":["hashtag1","hashtag2"]},{"1399779769":["hashtag1","hashtag2"]},{"1399779763":["hashtag1","hashtag2"]},{"1399779766":["hashtag1","hashtag2"]},{"1399779765":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399779756, 1399779767, 1399779769, 1399779763, 1399779766, 1399779765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14067625999451 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:12:22.643787
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_55_9827.jpg', '/home/pi/Desktop/images/17122025/12/03/image_17122025_12_04_06_10583.jpg', '/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_15_9735.jpg', '/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_25_9685.jpg', '/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_35_9650.jpg', '/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_45_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/03/image_17122025_12_03_55_9827.jpg
/home/pi/Desktop/images/17122025/12/03/image_17122025_12_04_06_10583.jpg
/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_15_9735.jpg
/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_25_9685.jpg
/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_35_9650.jpg
/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_45_10589.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399779797","1399779791","1399779800","1399779805","1399779802","1399779792"],"photo_ids_order":["1399779791","1399779792","1399779797","1399779800","1399779802","1399779805"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f009d805a5e5f136529030e94bb81e14.jpg","text":"TemporaryFile(/tmp/multipartBody495505458296509964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970003294,"filename":"image_17122025_12_04_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f63ef1087037656783e7752733b5ec66.jpg","text":"TemporaryFile(/tmp/multipartBody2562997846431477774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970003294,"filename":"image_17122025_12_03_55_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70b9e92f14ca843a0c84af0d72086697.jpg","text":"TemporaryFile(/tmp/multipartBody5849818367533347877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970003294,"filename":"image_17122025_12_04_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29265d4a4fc47eb52e4f227e5457b89e.jpg","text":"TemporaryFile(/tmp/multipartBody5619689433889291792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970003294,"filename":"image_17122025_12_04_45_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ab6b374f013a7d7f2537ec2117b62ec.jpg","text":"TemporaryFile(/tmp/multipartBody286156395575758081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970003294,"filename":"image_17122025_12_04_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb46ad698459f959ebaba6d394f518b5.jpg","text":"TemporaryFile(/tmp/multipartBody2088709264946124544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970003294,"filename":"image_17122025_12_04_06_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779797","file1":"1399779792","file0":"1399779791","file4":"1399779802","file5":"1399779805","file3":"1399779800"},"map_files_photo_id_array":[{"photo_id":"1399779805","filename":"file5"},{"photo_id":"1399779797","filename":"file2"},{"photo_id":"1399779802","filename":"file4"},{"photo_id":"1399779792","filename":"file1"},{"photo_id":"1399779791","filename":"file0"},{"photo_id":"1399779800","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779797":["hashtag1","hashtag2"]},{"1399779791":["hashtag1","hashtag2"]},{"1399779800":["hashtag1","hashtag2"]},{"1399779805":["hashtag1","hashtag2"]},{"1399779802":["hashtag1","hashtag2"]},{"1399779792":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779797, 1399779791, 1399779800, 1399779805, 1399779802, 1399779792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.176119327545166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:13:03.448382
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_55_9733.jpg', '/home/pi/Desktop/images/17122025/12/04/image_17122025_12_05_05_9769.jpg', '/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_15_10714.jpg', '/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_25_9563.jpg', '/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_35_9712.jpg', '/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_45_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/04/image_17122025_12_04_55_9733.jpg
/home/pi/Desktop/images/17122025/12/04/image_17122025_12_05_05_9769.jpg
/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_15_10714.jpg
/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_25_9563.jpg
/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_35_9712.jpg
/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_45_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":["1399779933","1399779831","1399779906","1399779869","1399779929","1399779931"],"photo_ids_order":["1399779831","1399779869","1399779906","1399779929","1399779931","1399779933"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/688c343d5a0607298614302611a76144.jpg","text":"TemporaryFile(/tmp/multipartBody960452172190546926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970044146,"filename":"image_17122025_12_05_45_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79d4b470319b35bf8ef6ad7989deb3ac.jpg","text":"TemporaryFile(/tmp/multipartBody5411979427266619977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970044146,"filename":"image_17122025_12_04_55_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7b58bf93ab9d4c64766724e854263ce.jpg","text":"TemporaryFile(/tmp/multipartBody7884649399317333075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970044146,"filename":"image_17122025_12_05_15_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ae4f0492cc35a0686c109a010f04d03.jpg","text":"TemporaryFile(/tmp/multipartBody4222875897008703400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970044146,"filename":"image_17122025_12_05_05_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9612efd821e69ae5f207e22f9c290860.jpg","text":"TemporaryFile(/tmp/multipartBody3215845359269538659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970044146,"filename":"image_17122025_12_05_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29bbe3111fcc05369ccc16ff055efd79.jpg","text":"TemporaryFile(/tmp/multipartBody6182314381104863179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970044146,"filename":"image_17122025_12_05_35_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779906","file1":"1399779869","file0":"1399779831","file4":"1399779931","file5":"1399779933","file3":"1399779929"},"map_files_photo_id_array":[{"photo_id":"1399779933","filename":"file5"},{"photo_id":"1399779906","filename":"file2"},{"photo_id":"1399779931","filename":"file4"},{"photo_id":"1399779869","filename":"file1"},{"photo_id":"1399779831","filename":"file0"},{"photo_id":"1399779929","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779933":["hashtag1","hashtag2"]},{"1399779831":["hashtag1","hashtag2"]},{"1399779906":["hashtag1","hashtag2"]},{"1399779869":["hashtag1","hashtag2"]},{"1399779929":["hashtag1","hashtag2"]},{"1399779931":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779933, 1399779831, 1399779906, 1399779869, 1399779929, 1399779931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17166543006897 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:13:42.735369
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_55_2615.jpg', '/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_59_3619.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_01_2769.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_04_2649.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_24_1724.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_33_8285.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_55_2615.jpg
/home/pi/Desktop/images/07112025/19/10/image_07112025_19_10_59_3619.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_01_2769.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_04_2649.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_24_1724.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_33_8285.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399779948","1399779942","1399779947","1399779949","1399779946","1399779945"],"photo_ids_order":["1399779942","1399779945","1399779946","1399779947","1399779948","1399779949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c298c23dbde5e9db36630d06c47090bd.jpg","text":"TemporaryFile(/tmp/multipartBody5521399526404668246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970083545,"filename":"image_07112025_19_11_24_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/788423d07b4f4ae9d269f8424b354914.jpg","text":"TemporaryFile(/tmp/multipartBody2006546932155045346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970083545,"filename":"image_07112025_19_10_55_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/091bad078c644cb3ea268d6b36bd62d0.jpg","text":"TemporaryFile(/tmp/multipartBody9183496895083898414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970083545,"filename":"image_07112025_19_11_04_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ece26bb675e86dad55d062ff385377d5.jpg","text":"TemporaryFile(/tmp/multipartBody3762721384715051714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970083545,"filename":"image_07112025_19_11_33_8285.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f70d213dfe89cc65db1ae640e5f6179.jpg","text":"TemporaryFile(/tmp/multipartBody4183449978425027599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970083545,"filename":"image_07112025_19_11_01_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92d09d60e45ff50e70da82532ecf6712.jpg","text":"TemporaryFile(/tmp/multipartBody385304179268884819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970083545,"filename":"image_07112025_19_10_59_3619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779946","file1":"1399779945","file0":"1399779942","file4":"1399779948","file5":"1399779949","file3":"1399779947"},"map_files_photo_id_array":[{"photo_id":"1399779949","filename":"file5"},{"photo_id":"1399779946","filename":"file2"},{"photo_id":"1399779948","filename":"file4"},{"photo_id":"1399779945","filename":"file1"},{"photo_id":"1399779942","filename":"file0"},{"photo_id":"1399779947","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399779948":["hashtag1","hashtag2"]},{"1399779942":["hashtag1","hashtag2"]},{"1399779947":["hashtag1","hashtag2"]},{"1399779949":["hashtag1","hashtag2"]},{"1399779946":["hashtag1","hashtag2"]},{"1399779945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399779948, 1399779942, 1399779947, 1399779949, 1399779946, 1399779945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0941526889801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:14:22.073647
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_55_9791.jpg', '/home/pi/Desktop/images/17122025/12/05/image_17122025_12_06_05_9680.jpg', '/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_15_9813.jpg', '/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_25_10779.jpg', '/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_35_9675.jpg', '/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_45_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/05/image_17122025_12_05_55_9791.jpg
/home/pi/Desktop/images/17122025/12/05/image_17122025_12_06_05_9680.jpg
/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_15_9813.jpg
/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_25_10779.jpg
/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_35_9675.jpg
/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_45_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":["1399779960","1399779954","1399779956","1399779967","1399779952","1399779951"],"photo_ids_order":["1399779951","1399779952","1399779954","1399779956","1399779960","1399779967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b67f9d268ffa2d8fbfe2ffc99d4c57c2.jpg","text":"TemporaryFile(/tmp/multipartBody1081718066749673366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970122762,"filename":"image_17122025_12_06_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e833b16d12253c71b5e354c9293c9155.jpg","text":"TemporaryFile(/tmp/multipartBody6243496551522806054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970122762,"filename":"image_17122025_12_06_15_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f7d6a81ad46a15392eb36cb77258551.jpg","text":"TemporaryFile(/tmp/multipartBody2219005665488503349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970122762,"filename":"image_17122025_12_06_25_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27fb40854de012405d42b5d20db5d105.jpg","text":"TemporaryFile(/tmp/multipartBody7771962574101448418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970122762,"filename":"image_17122025_12_06_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3106007be7e7a18bc673c2a2c0f93bca.jpg","text":"TemporaryFile(/tmp/multipartBody103835910390606392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970122762,"filename":"image_17122025_12_06_05_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4da557704c491ff0e0dc2434206339c9.jpg","text":"TemporaryFile(/tmp/multipartBody8392065986427722191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970122762,"filename":"image_17122025_12_05_55_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779954","file1":"1399779952","file0":"1399779951","file4":"1399779960","file5":"1399779967","file3":"1399779956"},"map_files_photo_id_array":[{"photo_id":"1399779967","filename":"file5"},{"photo_id":"1399779954","filename":"file2"},{"photo_id":"1399779960","filename":"file4"},{"photo_id":"1399779952","filename":"file1"},{"photo_id":"1399779951","filename":"file0"},{"photo_id":"1399779956","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779960":["hashtag1","hashtag2"]},{"1399779954":["hashtag1","hashtag2"]},{"1399779956":["hashtag1","hashtag2"]},{"1399779967":["hashtag1","hashtag2"]},{"1399779952":["hashtag1","hashtag2"]},{"1399779951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779960, 1399779954, 1399779956, 1399779967, 1399779952, 1399779951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73078727722168 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:15:02.848284
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_55_10647.jpg', '/home/pi/Desktop/images/17122025/12/06/image_17122025_12_07_05_9651.jpg', '/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_15_9877.jpg', '/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_25_9701.jpg', '/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_35_10614.jpg', '/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_45_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/06/image_17122025_12_06_55_10647.jpg
/home/pi/Desktop/images/17122025/12/06/image_17122025_12_07_05_9651.jpg
/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_15_9877.jpg
/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_25_9701.jpg
/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_35_10614.jpg
/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_45_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":["1399779974","1399779977","1399779979","1399779976","1399779975","1399779972"],"photo_ids_order":["1399779972","1399779974","1399779975","1399779976","1399779977","1399779979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d89a7f95ad09b97c9b6bf5dd0dde35f.jpg","text":"TemporaryFile(/tmp/multipartBody1488476082469060142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970163614,"filename":"image_17122025_12_07_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e273ba380288b39cb0ab891818a443ca.jpg","text":"TemporaryFile(/tmp/multipartBody2102782447987040144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970163614,"filename":"image_17122025_12_07_35_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03b63063fa470d89734e1d1bcba8abf5.jpg","text":"TemporaryFile(/tmp/multipartBody2210481721339433616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970163614,"filename":"image_17122025_12_07_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d85b1c9a46ab3187414eac67ec4fb01a.jpg","text":"TemporaryFile(/tmp/multipartBody2294371134531183105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970163614,"filename":"image_17122025_12_07_25_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d187f60b9490bf972dbadb1ae2a8c48.jpg","text":"TemporaryFile(/tmp/multipartBody6228607747499080393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970163614,"filename":"image_17122025_12_07_15_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b5fb9d8fd353874fb307886bddc31b5.jpg","text":"TemporaryFile(/tmp/multipartBody7220697731839835347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970163614,"filename":"image_17122025_12_06_55_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399779975","file1":"1399779974","file0":"1399779972","file4":"1399779977","file5":"1399779979","file3":"1399779976"},"map_files_photo_id_array":[{"photo_id":"1399779979","filename":"file5"},{"photo_id":"1399779975","filename":"file2"},{"photo_id":"1399779977","filename":"file4"},{"photo_id":"1399779974","filename":"file1"},{"photo_id":"1399779972","filename":"file0"},{"photo_id":"1399779976","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399779974":["hashtag1","hashtag2"]},{"1399779977":["hashtag1","hashtag2"]},{"1399779979":["hashtag1","hashtag2"]},{"1399779976":["hashtag1","hashtag2"]},{"1399779975":["hashtag1","hashtag2"]},{"1399779972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399779974, 1399779977, 1399779979, 1399779976, 1399779975, 1399779972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88204336166382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:15:42.325532
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_35_1818.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_36_1687.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_38_1767.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_40_1910.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_42_1686.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_43_1676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_35_1818.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_36_1687.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_38_1767.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_40_1910.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_42_1686.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_43_1676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399779995","1399780038","1399780002","1399780004","1399779999","1399780003"],"photo_ids_order":["1399779995","1399779999","1399780002","1399780003","1399780004","1399780038"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d447c2659bbcf28771549351a2f04269.jpg","text":"TemporaryFile(/tmp/multipartBody2758578274215916405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970203127,"filename":"image_07112025_19_11_35_1818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c43c47e0eb46f55244a4ecbb48c0752.jpg","text":"TemporaryFile(/tmp/multipartBody7415712143859938211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970203127,"filename":"image_07112025_19_11_43_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0f5bb6523ac4c057747396ba60551b4.jpg","text":"TemporaryFile(/tmp/multipartBody8943429751540810232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970203127,"filename":"image_07112025_19_11_38_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c0b8cf3abe51722b64e247c9254320a.jpg","text":"TemporaryFile(/tmp/multipartBody7852811166620431561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970203127,"filename":"image_07112025_19_11_42_1686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cf63be12f2b141c3bf98f46509281db.jpg","text":"TemporaryFile(/tmp/multipartBody6937060730448624608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970203127,"filename":"image_07112025_19_11_36_1687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cca3d25390de29136023abeb453796b6.jpg","text":"TemporaryFile(/tmp/multipartBody5280326291423095077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970203127,"filename":"image_07112025_19_11_40_1910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780002","file1":"1399779999","file0":"1399779995","file4":"1399780004","file5":"1399780038","file3":"1399780003"},"map_files_photo_id_array":[{"photo_id":"1399780038","filename":"file5"},{"photo_id":"1399780002","filename":"file2"},{"photo_id":"1399780004","filename":"file4"},{"photo_id":"1399779999","filename":"file1"},{"photo_id":"1399779995","filename":"file0"},{"photo_id":"1399780003","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399779995":["hashtag1","hashtag2"]},{"1399780038":["hashtag1","hashtag2"]},{"1399780002":["hashtag1","hashtag2"]},{"1399780004":["hashtag1","hashtag2"]},{"1399779999":["hashtag1","hashtag2"]},{"1399780003":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399779995, 1399780038, 1399780002, 1399780004, 1399779999, 1399780003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.822946548461914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:16:22.578287
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_55_9661.jpg', '/home/pi/Desktop/images/17122025/12/07/image_17122025_12_08_05_10791.jpg', '/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_15_9829.jpg', '/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_25_9876.jpg', '/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_35_9835.jpg', '/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_45_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/07/image_17122025_12_07_55_9661.jpg
/home/pi/Desktop/images/17122025/12/07/image_17122025_12_08_05_10791.jpg
/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_15_9829.jpg
/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_25_9876.jpg
/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_35_9835.jpg
/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_45_9893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780077","1399780071","1399780073","1399780082","1399780079","1399780075"],"photo_ids_order":["1399780071","1399780073","1399780075","1399780077","1399780079","1399780082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/068f023d441bd6774e2df6a966e3c567.jpg","text":"TemporaryFile(/tmp/multipartBody5075713311862974212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970243230,"filename":"image_17122025_12_08_25_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b54ba2d440b446f3ab0708d394a2077.jpg","text":"TemporaryFile(/tmp/multipartBody3771503477812700740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970243230,"filename":"image_17122025_12_07_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffceadcc4e6b88c1bc456abd14112849.jpg","text":"TemporaryFile(/tmp/multipartBody289951800391685062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970243230,"filename":"image_17122025_12_08_05_10791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/148ccad4f4f92d367f34a39ee50feaf4.jpg","text":"TemporaryFile(/tmp/multipartBody5290131024566972741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970243230,"filename":"image_17122025_12_08_45_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d5e4a48348355f85fc97214d876ad28.jpg","text":"TemporaryFile(/tmp/multipartBody7259382671574517631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970243230,"filename":"image_17122025_12_08_35_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76e6fd9850f6a015e1c56267094c7136.jpg","text":"TemporaryFile(/tmp/multipartBody1770727847549365214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970243230,"filename":"image_17122025_12_08_15_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780075","file1":"1399780073","file0":"1399780071","file4":"1399780079","file5":"1399780082","file3":"1399780077"},"map_files_photo_id_array":[{"photo_id":"1399780082","filename":"file5"},{"photo_id":"1399780075","filename":"file2"},{"photo_id":"1399780079","filename":"file4"},{"photo_id":"1399780073","filename":"file1"},{"photo_id":"1399780071","filename":"file0"},{"photo_id":"1399780077","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780077":["hashtag1","hashtag2"]},{"1399780071":["hashtag1","hashtag2"]},{"1399780073":["hashtag1","hashtag2"]},{"1399780082":["hashtag1","hashtag2"]},{"1399780079":["hashtag1","hashtag2"]},{"1399780075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780077, 1399780071, 1399780073, 1399780082, 1399780079, 1399780075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10371708869934 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:17:02.623033
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_55_9759.jpg', '/home/pi/Desktop/images/17122025/12/08/image_17122025_12_09_05_10800.jpg', '/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_15_9635.jpg', '/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_25_9928.jpg', '/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_35_9973.jpg', '/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_45_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/08/image_17122025_12_08_55_9759.jpg
/home/pi/Desktop/images/17122025/12/08/image_17122025_12_09_05_10800.jpg
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_15_9635.jpg
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_25_9928.jpg
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_35_9973.jpg
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_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":["1399780143","1399780140","1399780139","1399780133","1399780141","1399780138"],"photo_ids_order":["1399780133","1399780138","1399780139","1399780140","1399780141","1399780143"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dba8d3c17c6178f4028bcc0650991c1e.jpg","text":"TemporaryFile(/tmp/multipartBody3469338831946432234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970283399,"filename":"image_17122025_12_09_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ae7a119c611da43680ec046885e2f69.jpg","text":"TemporaryFile(/tmp/multipartBody620836045060396262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970283399,"filename":"image_17122025_12_09_25_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b2bea1f3799876dd94a3d5a4bf52cf0.jpg","text":"TemporaryFile(/tmp/multipartBody3547431058623807823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970283399,"filename":"image_17122025_12_09_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be52f1092379f274bfe4e1d3361e34d9.jpg","text":"TemporaryFile(/tmp/multipartBody4926954658901058113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970283399,"filename":"image_17122025_12_08_55_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76520a2edf19ab283a577ee92ae165e7.jpg","text":"TemporaryFile(/tmp/multipartBody138249046759338035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970283399,"filename":"image_17122025_12_09_35_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8b80b5937a80bfcd12bcabec34f3411.jpg","text":"TemporaryFile(/tmp/multipartBody838688484302620065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970283399,"filename":"image_17122025_12_09_05_10800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780139","file1":"1399780138","file0":"1399780133","file4":"1399780141","file5":"1399780143","file3":"1399780140"},"map_files_photo_id_array":[{"photo_id":"1399780143","filename":"file5"},{"photo_id":"1399780139","filename":"file2"},{"photo_id":"1399780141","filename":"file4"},{"photo_id":"1399780138","filename":"file1"},{"photo_id":"1399780133","filename":"file0"},{"photo_id":"1399780140","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780143":["hashtag1","hashtag2"]},{"1399780140":["hashtag1","hashtag2"]},{"1399780139":["hashtag1","hashtag2"]},{"1399780133":["hashtag1","hashtag2"]},{"1399780141":["hashtag1","hashtag2"]},{"1399780138":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780143, 1399780140, 1399780139, 1399780133, 1399780141, 1399780138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9741153717041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:17:41.999478
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_45_1780.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_47_1696.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_48_1650.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_50_1612.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_52_1729.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_53_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_45_1780.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_47_1696.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_48_1650.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_50_1612.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_52_1729.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_53_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":["1399780152","1399780149","1399780154","1399780157","1399780153","1399780156"],"photo_ids_order":["1399780149","1399780152","1399780153","1399780154","1399780156","1399780157"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ac1be3a417bd2739d88594d70e81168.jpg","text":"TemporaryFile(/tmp/multipartBody4155219172598732918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970322775,"filename":"image_07112025_19_11_47_1696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de3b770df0e2fb1cb092d0a70a5a4e3f.jpg","text":"TemporaryFile(/tmp/multipartBody31595139584056801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970322775,"filename":"image_07112025_19_11_45_1780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c8c6d67bf20a04319bdeb3643a02c3b.jpg","text":"TemporaryFile(/tmp/multipartBody5586177580268776335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970322775,"filename":"image_07112025_19_11_50_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/378d06a38207ff8f6df39e7ad8844511.jpg","text":"TemporaryFile(/tmp/multipartBody7234796282104529413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970322775,"filename":"image_07112025_19_11_53_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d385731fdfa7e18e14b66c4fd0b1513.jpg","text":"TemporaryFile(/tmp/multipartBody7936268942446009012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970322775,"filename":"image_07112025_19_11_48_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebf64ffea67e4fe80e4eedd8ba4ed5a4.jpg","text":"TemporaryFile(/tmp/multipartBody3015813714527172680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970322775,"filename":"image_07112025_19_11_52_1729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780153","file1":"1399780152","file0":"1399780149","file4":"1399780156","file5":"1399780157","file3":"1399780154"},"map_files_photo_id_array":[{"photo_id":"1399780157","filename":"file5"},{"photo_id":"1399780153","filename":"file2"},{"photo_id":"1399780156","filename":"file4"},{"photo_id":"1399780152","filename":"file1"},{"photo_id":"1399780149","filename":"file0"},{"photo_id":"1399780154","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780152":["hashtag1","hashtag2"]},{"1399780149":["hashtag1","hashtag2"]},{"1399780154":["hashtag1","hashtag2"]},{"1399780157":["hashtag1","hashtag2"]},{"1399780153":["hashtag1","hashtag2"]},{"1399780156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780152, 1399780149, 1399780154, 1399780157, 1399780153, 1399780156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.006203413009644 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:18:22.229135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_55_10666.jpg', '/home/pi/Desktop/images/17122025/12/09/image_17122025_12_10_05_9742.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_15_9799.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_26_10612.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_35_9884.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_45_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_55_10666.jpg
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_10_05_9742.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_15_9799.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_26_10612.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_35_9884.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_45_9762.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5433371067047119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:18:32.398952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:18:42.241197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_55_1821.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_57_1624.jpg', '/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_58_1567.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_01_2745.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_09_1810.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_13_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_55_1821.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_57_1624.jpg
/home/pi/Desktop/images/07112025/19/11/image_07112025_19_11_58_1567.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_01_2745.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_09_1810.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_13_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780188","1399780176","1399780187","1399780183","1399780186","1399780174"],"photo_ids_order":["1399780174","1399780176","1399780183","1399780186","1399780187","1399780188"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79ccd3d11def18ced1dea2fdabaa1c61.jpg","text":"TemporaryFile(/tmp/multipartBody5832326862593576435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970383052,"filename":"image_07112025_19_12_13_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24342bb62d4da276e362a48c347c56cf.jpg","text":"TemporaryFile(/tmp/multipartBody7202435535893942385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970383052,"filename":"image_07112025_19_11_57_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc82e6874dc7e361d042c787370843da.jpg","text":"TemporaryFile(/tmp/multipartBody6827779067079235173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970383052,"filename":"image_07112025_19_12_09_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc3bc1e914baf9e797136ef2d0d17fb2.jpg","text":"TemporaryFile(/tmp/multipartBody670592846429172963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970383052,"filename":"image_07112025_19_11_58_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6714f40736be733309c2ee6d49e7e723.jpg","text":"TemporaryFile(/tmp/multipartBody3386994125363559043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970383052,"filename":"image_07112025_19_12_01_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab15030d8feacb9fd0fc13157035ef0f.jpg","text":"TemporaryFile(/tmp/multipartBody269154942754514177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970383052,"filename":"image_07112025_19_11_55_1821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780183","file1":"1399780176","file0":"1399780174","file4":"1399780187","file5":"1399780188","file3":"1399780186"},"map_files_photo_id_array":[{"photo_id":"1399780188","filename":"file5"},{"photo_id":"1399780183","filename":"file2"},{"photo_id":"1399780187","filename":"file4"},{"photo_id":"1399780176","filename":"file1"},{"photo_id":"1399780174","filename":"file0"},{"photo_id":"1399780186","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780188":["hashtag1","hashtag2"]},{"1399780176":["hashtag1","hashtag2"]},{"1399780187":["hashtag1","hashtag2"]},{"1399780183":["hashtag1","hashtag2"]},{"1399780186":["hashtag1","hashtag2"]},{"1399780174":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780188, 1399780176, 1399780187, 1399780183, 1399780186, 1399780174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9742693901062 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:19:24.338767
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_55_10666.jpg', '/home/pi/Desktop/images/17122025/12/09/image_17122025_12_10_05_9742.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_15_9799.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_26_10612.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_35_9884.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_45_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_55_10666.jpg
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_10_05_9742.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_15_9799.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_26_10612.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_35_9884.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_45_9762.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.552365779876709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:19:34.171099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:19:44.026745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_16_2590.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_19_3626.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_22_2685.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_25_2615.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_29_3860.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_31_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_16_2590.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_19_3626.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_22_2685.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_25_2615.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_29_3860.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_31_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":["1399780206","1399780199","1399780203","1399780205","1399780202","1399780201"],"photo_ids_order":["1399780199","1399780201","1399780202","1399780203","1399780205","1399780206"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2d48e9420601e7b5e3e5c5b0603cc80.jpg","text":"TemporaryFile(/tmp/multipartBody7644631797654370094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970444801,"filename":"image_07112025_19_12_31_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6cdf814f7b47bd39f7c2fedcfc5fa1b.jpg","text":"TemporaryFile(/tmp/multipartBody8214933392131758740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970444801,"filename":"image_07112025_19_12_16_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b3a704ddd8dce7506ae80e5bbaf2eec.jpg","text":"TemporaryFile(/tmp/multipartBody3074858280457865116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970444801,"filename":"image_07112025_19_12_25_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85783149da21b09374b903e08ec118e6.jpg","text":"TemporaryFile(/tmp/multipartBody1139819824810224808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970444801,"filename":"image_07112025_19_12_29_3860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c080b4db253e67f4f1d0aeeda1a539a2.jpg","text":"TemporaryFile(/tmp/multipartBody265902774265913030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970444801,"filename":"image_07112025_19_12_22_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a59434fa3358ad6aad75a39abe3b2383.jpg","text":"TemporaryFile(/tmp/multipartBody6436472279921058316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970444801,"filename":"image_07112025_19_12_19_3626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780202","file1":"1399780201","file0":"1399780199","file4":"1399780205","file5":"1399780206","file3":"1399780203"},"map_files_photo_id_array":[{"photo_id":"1399780206","filename":"file5"},{"photo_id":"1399780202","filename":"file2"},{"photo_id":"1399780205","filename":"file4"},{"photo_id":"1399780201","filename":"file1"},{"photo_id":"1399780199","filename":"file0"},{"photo_id":"1399780203","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780206":["hashtag1","hashtag2"]},{"1399780199":["hashtag1","hashtag2"]},{"1399780203":["hashtag1","hashtag2"]},{"1399780205":["hashtag1","hashtag2"]},{"1399780202":["hashtag1","hashtag2"]},{"1399780201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780206, 1399780199, 1399780203, 1399780205, 1399780202, 1399780201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.440593242645264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:20:22.317561
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_55_10666.jpg', '/home/pi/Desktop/images/17122025/12/09/image_17122025_12_10_05_9742.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_15_9799.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_26_10612.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_35_9884.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_45_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_09_55_10666.jpg
/home/pi/Desktop/images/17122025/12/09/image_17122025_12_10_05_9742.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_15_9799.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_26_10612.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_35_9884.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_45_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":["1399780219","1399780210","1399780224","1399780212","1399780208","1399780222"],"photo_ids_order":["1399780208","1399780210","1399780212","1399780219","1399780222","1399780224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d8454124dc1249d94c72df28eca12a5.jpg","text":"TemporaryFile(/tmp/multipartBody825205950862537138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970482973,"filename":"image_17122025_12_10_26_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/051a37ae3abd294749f4d9814dd74a44.jpg","text":"TemporaryFile(/tmp/multipartBody4903308426434904997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970482973,"filename":"image_17122025_12_10_05_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/880a3bd9fa60fc3ea24b8f264d9edf34.jpg","text":"TemporaryFile(/tmp/multipartBody1126616737810915647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970482973,"filename":"image_17122025_12_10_45_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/909352c002ce73dbd617a6c729e11c58.jpg","text":"TemporaryFile(/tmp/multipartBody2804599111665653094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970482973,"filename":"image_17122025_12_10_15_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63ef8220e091a9bf8b7a6581fa364775.jpg","text":"TemporaryFile(/tmp/multipartBody647183921602205248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970482973,"filename":"image_17122025_12_09_55_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b439100cbdfe739b591fa3cbc3e978e0.jpg","text":"TemporaryFile(/tmp/multipartBody7013633904221435756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970482973,"filename":"image_17122025_12_10_35_9884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780212","file1":"1399780210","file0":"1399780208","file4":"1399780222","file5":"1399780224","file3":"1399780219"},"map_files_photo_id_array":[{"photo_id":"1399780224","filename":"file5"},{"photo_id":"1399780212","filename":"file2"},{"photo_id":"1399780222","filename":"file4"},{"photo_id":"1399780210","filename":"file1"},{"photo_id":"1399780208","filename":"file0"},{"photo_id":"1399780219","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780219":["hashtag1","hashtag2"]},{"1399780210":["hashtag1","hashtag2"]},{"1399780224":["hashtag1","hashtag2"]},{"1399780212":["hashtag1","hashtag2"]},{"1399780208":["hashtag1","hashtag2"]},{"1399780222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780219, 1399780210, 1399780224, 1399780212, 1399780208, 1399780222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.910194396972656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:21:03.258535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_55_9740.jpg', '/home/pi/Desktop/images/17122025/12/10/image_17122025_12_11_05_9928.jpg', '/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_15_10034.jpg', '/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_25_10626.jpg', '/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_35_9722.jpg', '/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_45_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_10_55_9740.jpg
/home/pi/Desktop/images/17122025/12/10/image_17122025_12_11_05_9928.jpg
/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_15_10034.jpg
/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_25_10626.jpg
/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_35_9722.jpg
/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_45_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":["1399780230","1399780233","1399780236","1399780232","1399780229","1399780231"],"photo_ids_order":["1399780229","1399780230","1399780231","1399780232","1399780233","1399780236"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8ce23c4b1ada4168ec6c0235d96a9a6.jpg","text":"TemporaryFile(/tmp/multipartBody2000705672231934852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970523994,"filename":"image_17122025_12_11_05_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20e481e4d019cddfe8e89e4137accca7.jpg","text":"TemporaryFile(/tmp/multipartBody5158255136497948585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970523994,"filename":"image_17122025_12_11_35_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e7fee3c5cbae667779119b9e92df5b1.jpg","text":"TemporaryFile(/tmp/multipartBody8148870043308416791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970523994,"filename":"image_17122025_12_11_45_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e41d5013c1def92a0404b829bee5c67.jpg","text":"TemporaryFile(/tmp/multipartBody5967299978147291319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970523994,"filename":"image_17122025_12_11_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/796f27aef58bb441383a05f48ae9aed0.jpg","text":"TemporaryFile(/tmp/multipartBody7442908604642565991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970523994,"filename":"image_17122025_12_10_55_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50111e99e3d3436ffd0fca0182c8c777.jpg","text":"TemporaryFile(/tmp/multipartBody8419409659118523135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970523994,"filename":"image_17122025_12_11_15_10034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780231","file1":"1399780230","file0":"1399780229","file4":"1399780233","file5":"1399780236","file3":"1399780232"},"map_files_photo_id_array":[{"photo_id":"1399780236","filename":"file5"},{"photo_id":"1399780231","filename":"file2"},{"photo_id":"1399780233","filename":"file4"},{"photo_id":"1399780230","filename":"file1"},{"photo_id":"1399780229","filename":"file0"},{"photo_id":"1399780232","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780230":["hashtag1","hashtag2"]},{"1399780233":["hashtag1","hashtag2"]},{"1399780236":["hashtag1","hashtag2"]},{"1399780232":["hashtag1","hashtag2"]},{"1399780229":["hashtag1","hashtag2"]},{"1399780231":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780230, 1399780233, 1399780236, 1399780232, 1399780229, 1399780231)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06150817871094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:21:42.558032
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_40_9036.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_46_6058.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_48_1601.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_50_1679.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_55_5500.jpg', '/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_58_3058.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_40_9036.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_46_6058.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_48_1601.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_50_1679.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_55_5500.jpg
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_12_58_3058.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780245","1399780248","1399780247","1399780246","1399780240","1399780243"],"photo_ids_order":["1399780240","1399780243","1399780245","1399780246","1399780247","1399780248"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc28d379ed21e764a71735c1a079eb3b.jpg","text":"TemporaryFile(/tmp/multipartBody3184828186335663189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970563333,"filename":"image_07112025_19_12_48_1601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/413ef3546a734da16d863fbca684c5bd.jpg","text":"TemporaryFile(/tmp/multipartBody1533440566318265317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970563333,"filename":"image_07112025_19_12_58_3058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c06a62188966c9c17ac172f48768e23d.jpg","text":"TemporaryFile(/tmp/multipartBody7966594821906380410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970563333,"filename":"image_07112025_19_12_55_5500.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/751022cd798f0a3a5faf068a59379719.jpg","text":"TemporaryFile(/tmp/multipartBody5845677122408983556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970563333,"filename":"image_07112025_19_12_50_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e081d8949e4451810ccdae5abc38dcbe.jpg","text":"TemporaryFile(/tmp/multipartBody2118815883484930181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970563333,"filename":"image_07112025_19_12_40_9036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f7dab88be5ea470b09c632bb171af74.jpg","text":"TemporaryFile(/tmp/multipartBody7845190020361503880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970563333,"filename":"image_07112025_19_12_46_6058.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780245","file1":"1399780243","file0":"1399780240","file4":"1399780247","file5":"1399780248","file3":"1399780246"},"map_files_photo_id_array":[{"photo_id":"1399780248","filename":"file5"},{"photo_id":"1399780245","filename":"file2"},{"photo_id":"1399780247","filename":"file4"},{"photo_id":"1399780243","filename":"file1"},{"photo_id":"1399780240","filename":"file0"},{"photo_id":"1399780246","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780245":["hashtag1","hashtag2"]},{"1399780248":["hashtag1","hashtag2"]},{"1399780247":["hashtag1","hashtag2"]},{"1399780246":["hashtag1","hashtag2"]},{"1399780240":["hashtag1","hashtag2"]},{"1399780243":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780245, 1399780248, 1399780247, 1399780246, 1399780240, 1399780243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14223265647888 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:22:22.851043
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_55_9739.jpg', '/home/pi/Desktop/images/17122025/12/11/image_17122025_12_12_05_10715.jpg', '/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_15_9713.jpg', '/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_25_9797.jpg', '/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_35_9778.jpg', '/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_45_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_55_9739.jpg
/home/pi/Desktop/images/17122025/12/11/image_17122025_12_12_05_10715.jpg
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_15_9713.jpg
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_25_9797.jpg
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_35_9778.jpg
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_45_10551.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5498530864715576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:22:32.837357
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:22:42.740456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/12/image_07112025_19_13_00_1684.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_02_1761.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_05_3647.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_07_1664.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_09_1821.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_11_2525.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/12/image_07112025_19_13_00_1684.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_02_1761.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_05_3647.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_07_1664.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_09_1821.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_11_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":["1399780260","1399780263","1399780266","1399780265","1399780264","1399780267"],"photo_ids_order":["1399780260","1399780263","1399780264","1399780265","1399780266","1399780267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a21e29fdddddb24ebb45c3f5189e06f3.jpg","text":"TemporaryFile(/tmp/multipartBody4600657744713270872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970623384,"filename":"image_07112025_19_13_00_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fe5acdc7b62ecb116b625d67356edfe.jpg","text":"TemporaryFile(/tmp/multipartBody4295874766732438197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970623384,"filename":"image_07112025_19_13_02_1761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b1dc4c445893a917bffbe5a56ec5f79.jpg","text":"TemporaryFile(/tmp/multipartBody686999582573102738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970623384,"filename":"image_07112025_19_13_09_1821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91bbb3ba01ed51ce3195aaf2b3829164.jpg","text":"TemporaryFile(/tmp/multipartBody3997856830750874078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970623384,"filename":"image_07112025_19_13_07_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c1f8a3df358fb394293cc265775a811.jpg","text":"TemporaryFile(/tmp/multipartBody1164064090799839181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970623384,"filename":"image_07112025_19_13_05_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/341d337a04eb16274f748c9de41a6091.jpg","text":"TemporaryFile(/tmp/multipartBody2635000521490253979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970623384,"filename":"image_07112025_19_13_11_2525.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780264","file1":"1399780263","file0":"1399780260","file4":"1399780266","file5":"1399780267","file3":"1399780265"},"map_files_photo_id_array":[{"photo_id":"1399780267","filename":"file5"},{"photo_id":"1399780264","filename":"file2"},{"photo_id":"1399780266","filename":"file4"},{"photo_id":"1399780263","filename":"file1"},{"photo_id":"1399780260","filename":"file0"},{"photo_id":"1399780265","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780260":["hashtag1","hashtag2"]},{"1399780263":["hashtag1","hashtag2"]},{"1399780266":["hashtag1","hashtag2"]},{"1399780265":["hashtag1","hashtag2"]},{"1399780264":["hashtag1","hashtag2"]},{"1399780267":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780260, 1399780263, 1399780266, 1399780265, 1399780264, 1399780267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68837094306946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:23:22.020535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_55_9739.jpg', '/home/pi/Desktop/images/17122025/12/11/image_17122025_12_12_05_10715.jpg', '/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_15_9713.jpg', '/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_25_9797.jpg', '/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_35_9778.jpg', '/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_45_10551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/11/image_17122025_12_11_55_9739.jpg
/home/pi/Desktop/images/17122025/12/11/image_17122025_12_12_05_10715.jpg
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_15_9713.jpg
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_25_9797.jpg
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_35_9778.jpg
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_45_10551.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780272","1399780274","1399780268","1399780276","1399780279","1399780270"],"photo_ids_order":["1399780268","1399780270","1399780272","1399780274","1399780276","1399780279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a5b0747031ad9d6248f3a869310bb70.jpg","text":"TemporaryFile(/tmp/multipartBody292748468369415053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970662720,"filename":"image_17122025_12_12_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/277312b8df26e6002a03a49d0a89b325.jpg","text":"TemporaryFile(/tmp/multipartBody4308465620902810315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970662720,"filename":"image_17122025_12_12_25_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec9d12d079b47deb10147569dc94ef00.jpg","text":"TemporaryFile(/tmp/multipartBody5680669328235477266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970662720,"filename":"image_17122025_12_11_55_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1215f39b25fa120e4eede3ef9c7cf27d.jpg","text":"TemporaryFile(/tmp/multipartBody5718877068463261027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970662720,"filename":"image_17122025_12_12_35_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdae85835e3bb83245c6ba8e636bc1dd.jpg","text":"TemporaryFile(/tmp/multipartBody9008171667066132720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970662720,"filename":"image_17122025_12_12_45_10551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89596db6a8429f5db9f5ad65ff7f5419.jpg","text":"TemporaryFile(/tmp/multipartBody6051223719180966564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970662720,"filename":"image_17122025_12_12_05_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780272","file1":"1399780270","file0":"1399780268","file4":"1399780276","file5":"1399780279","file3":"1399780274"},"map_files_photo_id_array":[{"photo_id":"1399780279","filename":"file5"},{"photo_id":"1399780272","filename":"file2"},{"photo_id":"1399780276","filename":"file4"},{"photo_id":"1399780270","filename":"file1"},{"photo_id":"1399780268","filename":"file0"},{"photo_id":"1399780274","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780272":["hashtag1","hashtag2"]},{"1399780274":["hashtag1","hashtag2"]},{"1399780268":["hashtag1","hashtag2"]},{"1399780276":["hashtag1","hashtag2"]},{"1399780279":["hashtag1","hashtag2"]},{"1399780270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780272, 1399780274, 1399780268, 1399780276, 1399780279, 1399780270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96852993965149 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:24:03.063616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_55_9719.jpg', '/home/pi/Desktop/images/17122025/12/12/image_17122025_12_13_05_9624.jpg', '/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_15_10662.jpg', '/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_25_9724.jpg', '/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_35_9679.jpg', '/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_45_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_12_55_9719.jpg
/home/pi/Desktop/images/17122025/12/12/image_17122025_12_13_05_9624.jpg
/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_15_10662.jpg
/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_25_9724.jpg
/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_35_9679.jpg
/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_45_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780296","1399780284","1399780286","1399780283","1399780310","1399780282"],"photo_ids_order":["1399780282","1399780283","1399780284","1399780286","1399780296","1399780310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/371bbfce54588e5b35fc6c529d86c6f8.jpg","text":"TemporaryFile(/tmp/multipartBody4229592198528140492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970703867,"filename":"image_17122025_12_13_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b63d9c5b15d4dc197552d7f26e82fec9.jpg","text":"TemporaryFile(/tmp/multipartBody3369277729518955334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970703867,"filename":"image_17122025_12_13_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/945c6b9fbaaad31e07a3fcea75a3a993.jpg","text":"TemporaryFile(/tmp/multipartBody2717333496351098219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970703867,"filename":"image_17122025_12_13_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42c860f86ca5e5666c470347fb49674e.jpg","text":"TemporaryFile(/tmp/multipartBody4816850847077624952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970703867,"filename":"image_17122025_12_13_05_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9770ebea8f90bbc3285a11e4c2a07078.jpg","text":"TemporaryFile(/tmp/multipartBody3697924723379401721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970703867,"filename":"image_17122025_12_13_45_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1765aa2e95cc0c7cc012f14b8b44e01e.jpg","text":"TemporaryFile(/tmp/multipartBody8078315551159985135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970703867,"filename":"image_17122025_12_12_55_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780284","file1":"1399780283","file0":"1399780282","file4":"1399780296","file5":"1399780310","file3":"1399780286"},"map_files_photo_id_array":[{"photo_id":"1399780310","filename":"file5"},{"photo_id":"1399780284","filename":"file2"},{"photo_id":"1399780296","filename":"file4"},{"photo_id":"1399780283","filename":"file1"},{"photo_id":"1399780282","filename":"file0"},{"photo_id":"1399780286","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780296":["hashtag1","hashtag2"]},{"1399780284":["hashtag1","hashtag2"]},{"1399780286":["hashtag1","hashtag2"]},{"1399780283":["hashtag1","hashtag2"]},{"1399780310":["hashtag1","hashtag2"]},{"1399780282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780296, 1399780284, 1399780286, 1399780283, 1399780310, 1399780282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.96173977851868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:24:42.257345
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_13_1618.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_15_1718.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_16_1703.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_21_4965.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_25_2616.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_31_3086.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_13_1618.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_15_1718.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_16_1703.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_21_4965.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_25_2616.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_31_3086.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780323","1399780328","1399780337","1399780331","1399780339","1399780327"],"photo_ids_order":["1399780323","1399780327","1399780328","1399780331","1399780337","1399780339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b139b7e0f7860309e2182f1a9c5539f9.jpg","text":"TemporaryFile(/tmp/multipartBody3449536664901903671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970742973,"filename":"image_07112025_19_13_13_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf8b43c818cee0c62b343ae0812db8e3.jpg","text":"TemporaryFile(/tmp/multipartBody617631082368270610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970742973,"filename":"image_07112025_19_13_16_1703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54f08b5287f34d7c15a4e6e4fa0f6497.jpg","text":"TemporaryFile(/tmp/multipartBody4116909816909783243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970742973,"filename":"image_07112025_19_13_25_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b26ea8deeded5299496f03279983045.jpg","text":"TemporaryFile(/tmp/multipartBody2989604098608967860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970742973,"filename":"image_07112025_19_13_21_4965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a82873573bb51ea41fb61f259701ca89.jpg","text":"TemporaryFile(/tmp/multipartBody3865746411398155482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970742973,"filename":"image_07112025_19_13_31_3086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/704cde6b25bbb79546e1e7847e52fe8e.jpg","text":"TemporaryFile(/tmp/multipartBody7086802567765154864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970742973,"filename":"image_07112025_19_13_15_1718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780328","file1":"1399780327","file0":"1399780323","file4":"1399780337","file5":"1399780339","file3":"1399780331"},"map_files_photo_id_array":[{"photo_id":"1399780339","filename":"file5"},{"photo_id":"1399780328","filename":"file2"},{"photo_id":"1399780337","filename":"file4"},{"photo_id":"1399780327","filename":"file1"},{"photo_id":"1399780323","filename":"file0"},{"photo_id":"1399780331","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780323":["hashtag1","hashtag2"]},{"1399780328":["hashtag1","hashtag2"]},{"1399780337":["hashtag1","hashtag2"]},{"1399780331":["hashtag1","hashtag2"]},{"1399780339":["hashtag1","hashtag2"]},{"1399780327":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780323, 1399780328, 1399780337, 1399780331, 1399780339, 1399780327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.64571952819824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:25:22.503902
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_55_9833.jpg', '/home/pi/Desktop/images/17122025/12/13/image_17122025_12_14_05_9848.jpg', '/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_15_9871.jpg', '/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_25_9628.jpg', '/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_35_10620.jpg', '/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_45_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/13/image_17122025_12_13_55_9833.jpg
/home/pi/Desktop/images/17122025/12/13/image_17122025_12_14_05_9848.jpg
/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_15_9871.jpg
/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_25_9628.jpg
/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_35_10620.jpg
/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_45_9637.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780389","1399780350","1399780530","1399780425","1399780499","1399780463"],"photo_ids_order":["1399780350","1399780389","1399780425","1399780463","1399780499","1399780530"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1af78c25fdf0182018fbebaa5242af89.jpg","text":"TemporaryFile(/tmp/multipartBody3722071104231052941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970783157,"filename":"image_17122025_12_14_05_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e79b4c0aaec781b7e839fcd0f0234a79.jpg","text":"TemporaryFile(/tmp/multipartBody3889726286034741079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970783157,"filename":"image_17122025_12_13_55_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8617da712c73c3d1b8a79f6adadeac6c.jpg","text":"TemporaryFile(/tmp/multipartBody5669680743845960503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970783157,"filename":"image_17122025_12_14_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc086dcfba16ab1fc4df802ea5355a60.jpg","text":"TemporaryFile(/tmp/multipartBody3845228304796198578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970783157,"filename":"image_17122025_12_14_15_9871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3fb9ff55674937592e6baca4a4fe19a.jpg","text":"TemporaryFile(/tmp/multipartBody3990290109897221881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970783157,"filename":"image_17122025_12_14_35_10620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/754eb09b748ea5ce6a6fe5812c87a234.jpg","text":"TemporaryFile(/tmp/multipartBody1187881979675915862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970783157,"filename":"image_17122025_12_14_25_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780425","file1":"1399780389","file0":"1399780350","file4":"1399780499","file5":"1399780530","file3":"1399780463"},"map_files_photo_id_array":[{"photo_id":"1399780530","filename":"file5"},{"photo_id":"1399780425","filename":"file2"},{"photo_id":"1399780499","filename":"file4"},{"photo_id":"1399780389","filename":"file1"},{"photo_id":"1399780350","filename":"file0"},{"photo_id":"1399780463","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780389":["hashtag1","hashtag2"]},{"1399780350":["hashtag1","hashtag2"]},{"1399780530":["hashtag1","hashtag2"]},{"1399780425":["hashtag1","hashtag2"]},{"1399780499":["hashtag1","hashtag2"]},{"1399780463":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780389, 1399780350, 1399780530, 1399780425, 1399780499, 1399780463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.312071084976196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:26:03.248221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_56_10695.jpg', '/home/pi/Desktop/images/17122025/12/14/image_17122025_12_15_05_9766.jpg', '/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_15_9650.jpg', '/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_25_9636.jpg', '/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_35_10029.jpg', '/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_45_10807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/14/image_17122025_12_14_56_10695.jpg
/home/pi/Desktop/images/17122025/12/14/image_17122025_12_15_05_9766.jpg
/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_15_9650.jpg
/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_25_9636.jpg
/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_35_10029.jpg
/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_45_10807.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780578","1399780575","1399780611","1399780577","1399780547","1399780585"],"photo_ids_order":["1399780547","1399780575","1399780577","1399780578","1399780585","1399780611"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a931c8390a077289a309cd607319d67.jpg","text":"TemporaryFile(/tmp/multipartBody2417577127508500958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970823934,"filename":"image_17122025_12_15_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f89c23cdfff5f86c3d6a90257ee1443.jpg","text":"TemporaryFile(/tmp/multipartBody3379704493459912937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970823934,"filename":"image_17122025_12_15_05_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1631e707c655078cdf6e5e9e6e3d0c99.jpg","text":"TemporaryFile(/tmp/multipartBody5383309406601170667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970823934,"filename":"image_17122025_12_15_45_10807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/353f10d8dc91a1c0a0a4d558a6402030.jpg","text":"TemporaryFile(/tmp/multipartBody8227248564057031497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970823934,"filename":"image_17122025_12_15_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a22cc3811158c87842a6a4f95fb09b9.jpg","text":"TemporaryFile(/tmp/multipartBody5247783926169326092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970823934,"filename":"image_17122025_12_14_56_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e776f767e0745732fcf419bec981f2bd.jpg","text":"TemporaryFile(/tmp/multipartBody1525734207346648197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970823934,"filename":"image_17122025_12_15_35_10029.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780577","file1":"1399780575","file0":"1399780547","file4":"1399780585","file5":"1399780611","file3":"1399780578"},"map_files_photo_id_array":[{"photo_id":"1399780611","filename":"file5"},{"photo_id":"1399780577","filename":"file2"},{"photo_id":"1399780585","filename":"file4"},{"photo_id":"1399780575","filename":"file1"},{"photo_id":"1399780547","filename":"file0"},{"photo_id":"1399780578","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780578":["hashtag1","hashtag2"]},{"1399780575":["hashtag1","hashtag2"]},{"1399780611":["hashtag1","hashtag2"]},{"1399780577":["hashtag1","hashtag2"]},{"1399780547":["hashtag1","hashtag2"]},{"1399780585":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780578, 1399780575, 1399780611, 1399780577, 1399780547, 1399780585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91904425621033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:26:42.687151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_34_2668.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_37_3619.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_40_2771.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_43_2571.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_46_2748.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_49_3647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_34_2668.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_37_3619.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_40_2771.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_43_2571.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_46_2748.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_49_3647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780683","1399780643","1399780706","1399780699","1399780622","1399780705"],"photo_ids_order":["1399780622","1399780643","1399780683","1399780699","1399780705","1399780706"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c684eba7ca0452febcb5c79b31c4824.jpg","text":"TemporaryFile(/tmp/multipartBody2729643918399120888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970863539,"filename":"image_07112025_19_13_40_2771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6836df33dfea5462a369800cd622f0f6.jpg","text":"TemporaryFile(/tmp/multipartBody7025232854093608597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970863539,"filename":"image_07112025_19_13_37_3619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2052b806c0bdd4a447b1823270bc90b4.jpg","text":"TemporaryFile(/tmp/multipartBody1041324515979033507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970863539,"filename":"image_07112025_19_13_49_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c41dd2cbac298c2bd179161faf14f69.jpg","text":"TemporaryFile(/tmp/multipartBody4638897099726788444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970863539,"filename":"image_07112025_19_13_43_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/657ebb6374e699c5f41d62e3db7d5fc9.jpg","text":"TemporaryFile(/tmp/multipartBody7367675281005013388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970863539,"filename":"image_07112025_19_13_34_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28fdb8d2a28294875e525f67d9a3a1fd.jpg","text":"TemporaryFile(/tmp/multipartBody1259385997048750555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970863539,"filename":"image_07112025_19_13_46_2748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780683","file1":"1399780643","file0":"1399780622","file4":"1399780705","file5":"1399780706","file3":"1399780699"},"map_files_photo_id_array":[{"photo_id":"1399780706","filename":"file5"},{"photo_id":"1399780683","filename":"file2"},{"photo_id":"1399780705","filename":"file4"},{"photo_id":"1399780643","filename":"file1"},{"photo_id":"1399780622","filename":"file0"},{"photo_id":"1399780699","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780683":["hashtag1","hashtag2"]},{"1399780643":["hashtag1","hashtag2"]},{"1399780706":["hashtag1","hashtag2"]},{"1399780699":["hashtag1","hashtag2"]},{"1399780622":["hashtag1","hashtag2"]},{"1399780705":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780683, 1399780643, 1399780706, 1399780699, 1399780622, 1399780705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70944809913635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:27:21.906110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_55_9766.jpg', '/home/pi/Desktop/images/17122025/12/15/image_17122025_12_16_05_9886.jpg', '/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_15_9991.jpg', '/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_25_9928.jpg', '/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_35_9749.jpg', '/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_45_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/15/image_17122025_12_15_55_9766.jpg
/home/pi/Desktop/images/17122025/12/15/image_17122025_12_16_05_9886.jpg
/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_15_9991.jpg
/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_25_9928.jpg
/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_35_9749.jpg
/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_45_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":["1399780713","1399780707","1399780715","1399780709","1399780717","1399780711"],"photo_ids_order":["1399780707","1399780709","1399780711","1399780713","1399780715","1399780717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cc2a51d417fe56d24868b999955b201.jpg","text":"TemporaryFile(/tmp/multipartBody3975627820013224175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970902563,"filename":"image_17122025_12_16_25_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c42b43407b08c059630fac9980fff4c7.jpg","text":"TemporaryFile(/tmp/multipartBody1711158303663219951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970902563,"filename":"image_17122025_12_15_55_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0fe8cda6a0796bc631c23115f291e3c6.jpg","text":"TemporaryFile(/tmp/multipartBody6464192255604363801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970902563,"filename":"image_17122025_12_16_35_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77830f09cd3559fbe7450ea8b560874c.jpg","text":"TemporaryFile(/tmp/multipartBody3955965700706928522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970902563,"filename":"image_17122025_12_16_05_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/958d9daec8a99049c173fb832be3caee.jpg","text":"TemporaryFile(/tmp/multipartBody6806666836819511755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970902563,"filename":"image_17122025_12_16_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec88cab9e01fd29119018716ed4dbe31.jpg","text":"TemporaryFile(/tmp/multipartBody7141615027204974932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970902563,"filename":"image_17122025_12_16_15_9991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780711","file1":"1399780709","file0":"1399780707","file4":"1399780715","file5":"1399780717","file3":"1399780713"},"map_files_photo_id_array":[{"photo_id":"1399780717","filename":"file5"},{"photo_id":"1399780711","filename":"file2"},{"photo_id":"1399780715","filename":"file4"},{"photo_id":"1399780709","filename":"file1"},{"photo_id":"1399780707","filename":"file0"},{"photo_id":"1399780713","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780713":["hashtag1","hashtag2"]},{"1399780707":["hashtag1","hashtag2"]},{"1399780715":["hashtag1","hashtag2"]},{"1399780709":["hashtag1","hashtag2"]},{"1399780717":["hashtag1","hashtag2"]},{"1399780711":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780713, 1399780707, 1399780715, 1399780709, 1399780717, 1399780711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18827819824219 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:28:02.541279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_55_9801.jpg', '/home/pi/Desktop/images/17122025/12/16/image_17122025_12_17_05_9888.jpg', '/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_15_9756.jpg', '/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_25_9813.jpg', '/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_35_10733.jpg', '/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_45_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/16/image_17122025_12_16_55_9801.jpg
/home/pi/Desktop/images/17122025/12/16/image_17122025_12_17_05_9888.jpg
/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_15_9756.jpg
/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_25_9813.jpg
/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_35_10733.jpg
/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_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":["1399780720","1399780728","1399780725","1399780724","1399780723","1399780726"],"photo_ids_order":["1399780720","1399780723","1399780724","1399780725","1399780726","1399780728"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e098ac2e699c97fb454be403f8da1d65.jpg","text":"TemporaryFile(/tmp/multipartBody9204148157178549028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970943268,"filename":"image_17122025_12_16_55_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e02fd94b176be170692df2eb5036e61a.jpg","text":"TemporaryFile(/tmp/multipartBody3693250456740891013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970943268,"filename":"image_17122025_12_17_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cd7a3570920db0e41cc4920770756b0.jpg","text":"TemporaryFile(/tmp/multipartBody2593325962728793089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970943268,"filename":"image_17122025_12_17_25_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e068d4d18f7a56868aa4c53de29be49.jpg","text":"TemporaryFile(/tmp/multipartBody6398205232442999356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970943268,"filename":"image_17122025_12_17_15_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7016b49782a0a4d1f50d9b457239646a.jpg","text":"TemporaryFile(/tmp/multipartBody3540745795336669952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970943268,"filename":"image_17122025_12_17_05_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a073e85e32e46471f1482c1a4f672c17.jpg","text":"TemporaryFile(/tmp/multipartBody4682578197530700943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970943268,"filename":"image_17122025_12_17_35_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780724","file1":"1399780723","file0":"1399780720","file4":"1399780726","file5":"1399780728","file3":"1399780725"},"map_files_photo_id_array":[{"photo_id":"1399780728","filename":"file5"},{"photo_id":"1399780724","filename":"file2"},{"photo_id":"1399780726","filename":"file4"},{"photo_id":"1399780723","filename":"file1"},{"photo_id":"1399780720","filename":"file0"},{"photo_id":"1399780725","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780720":["hashtag1","hashtag2"]},{"1399780728":["hashtag1","hashtag2"]},{"1399780725":["hashtag1","hashtag2"]},{"1399780724":["hashtag1","hashtag2"]},{"1399780723":["hashtag1","hashtag2"]},{"1399780726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780720, 1399780728, 1399780725, 1399780724, 1399780723, 1399780726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70420527458191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:28:42.176653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_52_2785.jpg', '/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_58_3632.jpg', '/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_07_2766.jpg', '/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_16_2970.jpg', '/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_19_3645.jpg', '/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_22_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_52_2785.jpg
/home/pi/Desktop/images/07112025/19/13/image_07112025_19_13_58_3632.jpg
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_07_2766.jpg
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_16_2970.jpg
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_19_3645.jpg
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_22_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":["1399780740","1399780743","1399780742","1399780741","1399780744","1399780738"],"photo_ids_order":["1399780738","1399780740","1399780741","1399780742","1399780743","1399780744"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db554132c4fffc1d8dda5ae7691d3ea9.jpg","text":"TemporaryFile(/tmp/multipartBody7383524276373456766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970982949,"filename":"image_07112025_19_13_58_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6fc75465a428631b9a036c03f2f9a68.jpg","text":"TemporaryFile(/tmp/multipartBody7152451990396417474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970982949,"filename":"image_07112025_19_14_19_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aea000048bd343caf918a503eede1c64.jpg","text":"TemporaryFile(/tmp/multipartBody6885390541710924453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970982949,"filename":"image_07112025_19_14_16_2970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a26217dff38e273e7f03001717de4332.jpg","text":"TemporaryFile(/tmp/multipartBody2213730524461956885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970982949,"filename":"image_07112025_19_14_07_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc613291895877dddfc374673bfe238e.jpg","text":"TemporaryFile(/tmp/multipartBody5689291906232204121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970982949,"filename":"image_07112025_19_14_22_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20723e6aa40603107398fb5709005735.jpg","text":"TemporaryFile(/tmp/multipartBody7827625038990697753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765970982949,"filename":"image_07112025_19_13_52_2785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780741","file1":"1399780740","file0":"1399780738","file4":"1399780743","file5":"1399780744","file3":"1399780742"},"map_files_photo_id_array":[{"photo_id":"1399780744","filename":"file5"},{"photo_id":"1399780741","filename":"file2"},{"photo_id":"1399780743","filename":"file4"},{"photo_id":"1399780740","filename":"file1"},{"photo_id":"1399780738","filename":"file0"},{"photo_id":"1399780742","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780740":["hashtag1","hashtag2"]},{"1399780743":["hashtag1","hashtag2"]},{"1399780742":["hashtag1","hashtag2"]},{"1399780741":["hashtag1","hashtag2"]},{"1399780744":["hashtag1","hashtag2"]},{"1399780738":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780740, 1399780743, 1399780742, 1399780741, 1399780744, 1399780738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67733025550842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:29:22.534097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_55_9798.jpg', '/home/pi/Desktop/images/17122025/12/17/image_17122025_12_18_05_9690.jpg', '/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_15_10653.jpg', '/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_25_9980.jpg', '/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_35_9603.jpg', '/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_45_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/17/image_17122025_12_17_55_9798.jpg
/home/pi/Desktop/images/17122025/12/17/image_17122025_12_18_05_9690.jpg
/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_15_10653.jpg
/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_25_9980.jpg
/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_35_9603.jpg
/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_45_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":["1399780758","1399780755","1399780749","1399780751","1399780753","1399780747"],"photo_ids_order":["1399780747","1399780749","1399780751","1399780753","1399780755","1399780758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/990ac417ded9a17b090dd5cb41217dc6.jpg","text":"TemporaryFile(/tmp/multipartBody4203094452677806280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971023225,"filename":"image_17122025_12_18_45_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61cd9d6d4ff8b260b27f02064503eb41.jpg","text":"TemporaryFile(/tmp/multipartBody1308273681335608575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971023225,"filename":"image_17122025_12_18_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84c9c58cdd572618665fd35d3edd4013.jpg","text":"TemporaryFile(/tmp/multipartBody1667120938881231075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971023225,"filename":"image_17122025_12_18_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b93da8026ce4ceb68c8b32d15e35df24.jpg","text":"TemporaryFile(/tmp/multipartBody1463910558913031557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971023225,"filename":"image_17122025_12_18_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81620de5232c1d85e1b0108b6e30e632.jpg","text":"TemporaryFile(/tmp/multipartBody4214843568286741228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971023225,"filename":"image_17122025_12_18_25_9980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b56e30ba37cd7419a23ba17d3cb02314.jpg","text":"TemporaryFile(/tmp/multipartBody1380452799344695172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971023225,"filename":"image_17122025_12_17_55_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780751","file1":"1399780749","file0":"1399780747","file4":"1399780755","file5":"1399780758","file3":"1399780753"},"map_files_photo_id_array":[{"photo_id":"1399780758","filename":"file5"},{"photo_id":"1399780751","filename":"file2"},{"photo_id":"1399780755","filename":"file4"},{"photo_id":"1399780749","filename":"file1"},{"photo_id":"1399780747","filename":"file0"},{"photo_id":"1399780753","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780758":["hashtag1","hashtag2"]},{"1399780755":["hashtag1","hashtag2"]},{"1399780749":["hashtag1","hashtag2"]},{"1399780751":["hashtag1","hashtag2"]},{"1399780753":["hashtag1","hashtag2"]},{"1399780747":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780758, 1399780755, 1399780749, 1399780751, 1399780753, 1399780747)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01696586608887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:30:03.147846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_55_10782.jpg', '/home/pi/Desktop/images/17122025/12/18/image_17122025_12_19_05_9782.jpg', '/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_15_9774.jpg', '/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_25_9649.jpg', '/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_35_10734.jpg', '/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_45_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_55_10782.jpg
/home/pi/Desktop/images/17122025/12/18/image_17122025_12_19_05_9782.jpg
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_15_9774.jpg
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_25_9649.jpg
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_35_10734.jpg
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_45_9817.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5784976482391357 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:30:12.669221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:30:22.716085
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_55_10782.jpg', '/home/pi/Desktop/images/17122025/12/18/image_17122025_12_19_05_9782.jpg', '/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_15_9774.jpg', '/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_25_9649.jpg', '/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_35_10734.jpg', '/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_45_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/18/image_17122025_12_18_55_10782.jpg
/home/pi/Desktop/images/17122025/12/18/image_17122025_12_19_05_9782.jpg
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_15_9774.jpg
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_25_9649.jpg
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_35_10734.jpg
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_45_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780767","1399780775","1399780769","1399780778","1399780772","1399780771"],"photo_ids_order":["1399780767","1399780769","1399780771","1399780772","1399780775","1399780778"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9007017ce46a9fb425be093e137e893.jpg","text":"TemporaryFile(/tmp/multipartBody7202527231465322158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971083360,"filename":"image_17122025_12_18_55_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3a0155d14554e94785a7c35aac47264.jpg","text":"TemporaryFile(/tmp/multipartBody8516943680723106500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971083360,"filename":"image_17122025_12_19_35_10734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f7dae9162aa4a8d0bf44c52b162778c.jpg","text":"TemporaryFile(/tmp/multipartBody2529593608969225877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971083360,"filename":"image_17122025_12_19_05_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f634fdecfaf26f3499dd494adad200ab.jpg","text":"TemporaryFile(/tmp/multipartBody237158368896693492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971083360,"filename":"image_17122025_12_19_45_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85cbf3b92dcb7c4095d34974f6ef1647.jpg","text":"TemporaryFile(/tmp/multipartBody7874171347472085986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971083360,"filename":"image_17122025_12_19_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c7dbef85f942d72e0cb7b5fb71986c3.jpg","text":"TemporaryFile(/tmp/multipartBody6418384719062370539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971083360,"filename":"image_17122025_12_19_15_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780771","file1":"1399780769","file0":"1399780767","file4":"1399780775","file5":"1399780778","file3":"1399780772"},"map_files_photo_id_array":[{"photo_id":"1399780778","filename":"file5"},{"photo_id":"1399780771","filename":"file2"},{"photo_id":"1399780775","filename":"file4"},{"photo_id":"1399780769","filename":"file1"},{"photo_id":"1399780767","filename":"file0"},{"photo_id":"1399780772","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780767":["hashtag1","hashtag2"]},{"1399780775":["hashtag1","hashtag2"]},{"1399780769":["hashtag1","hashtag2"]},{"1399780778":["hashtag1","hashtag2"]},{"1399780772":["hashtag1","hashtag2"]},{"1399780771":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780767, 1399780775, 1399780769, 1399780778, 1399780772, 1399780771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.71326756477356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:31:02.830679
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_55_9989.jpg', '/home/pi/Desktop/images/17122025/12/19/image_17122025_12_20_05_9914.jpg', '/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_15_10043.jpg', '/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_25_9670.jpg', '/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_35_10643.jpg', '/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_45_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_19_55_9989.jpg
/home/pi/Desktop/images/17122025/12/19/image_17122025_12_20_05_9914.jpg
/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_15_10043.jpg
/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_25_9670.jpg
/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_35_10643.jpg
/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_45_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":["1399780793","1399780796","1399780798","1399780795","1399780789","1399780794"],"photo_ids_order":["1399780789","1399780793","1399780794","1399780795","1399780796","1399780798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/daef00d6cec3c3d5f01cf3d9f97bf57c.jpg","text":"TemporaryFile(/tmp/multipartBody1585399303107027110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971123548,"filename":"image_17122025_12_20_05_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec28b8d3bd4bb1ed0abb8a1e1a0db784.jpg","text":"TemporaryFile(/tmp/multipartBody4719137189027778447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971123548,"filename":"image_17122025_12_20_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/859b0262480bded1f9351579d0a9441f.jpg","text":"TemporaryFile(/tmp/multipartBody8848414723023980083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971123548,"filename":"image_17122025_12_20_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d20905a35078cfdae4dabd45a2ac95e.jpg","text":"TemporaryFile(/tmp/multipartBody1393410189982905932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971123548,"filename":"image_17122025_12_20_25_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52b068c6c2fc1969cf34f58838ae12e3.jpg","text":"TemporaryFile(/tmp/multipartBody2406980738812547605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971123548,"filename":"image_17122025_12_19_55_9989.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/727eb914be470eacd942e6e1e0f18d81.jpg","text":"TemporaryFile(/tmp/multipartBody3929821995428158966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971123548,"filename":"image_17122025_12_20_15_10043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780794","file1":"1399780793","file0":"1399780789","file4":"1399780796","file5":"1399780798","file3":"1399780795"},"map_files_photo_id_array":[{"photo_id":"1399780798","filename":"file5"},{"photo_id":"1399780794","filename":"file2"},{"photo_id":"1399780796","filename":"file4"},{"photo_id":"1399780793","filename":"file1"},{"photo_id":"1399780789","filename":"file0"},{"photo_id":"1399780795","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780793":["hashtag1","hashtag2"]},{"1399780796":["hashtag1","hashtag2"]},{"1399780798":["hashtag1","hashtag2"]},{"1399780795":["hashtag1","hashtag2"]},{"1399780789":["hashtag1","hashtag2"]},{"1399780794":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780793, 1399780796, 1399780798, 1399780795, 1399780789, 1399780794)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.526819944381714 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:31:42.032186
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_25_2637.jpg', '/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_31_3739.jpg', '/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_40_2743.jpg', '/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_49_2616.jpg', '/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_51_2759.jpg', '/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_55_3829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_25_2637.jpg
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_31_3739.jpg
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_40_2743.jpg
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_49_2616.jpg
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_51_2759.jpg
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_55_3829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780807","1399780809","1399780811","1399780808","1399780810","1399780804"],"photo_ids_order":["1399780804","1399780807","1399780808","1399780809","1399780810","1399780811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b8663d1b8c0c1253bbc0ab65551f309.jpg","text":"TemporaryFile(/tmp/multipartBody1249987124013444321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971162853,"filename":"image_07112025_19_14_31_3739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f451181829885746ec74e57e6f8cfae.jpg","text":"TemporaryFile(/tmp/multipartBody2971555537685922986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971162853,"filename":"image_07112025_19_14_49_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd2e081908fd5b3faa4ee93abaec3c9f.jpg","text":"TemporaryFile(/tmp/multipartBody6969419509693937252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971162853,"filename":"image_07112025_19_14_55_3829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e3f6c172a180a65595cb20a30bd44b2.jpg","text":"TemporaryFile(/tmp/multipartBody3439390028721777210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971162853,"filename":"image_07112025_19_14_40_2743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2da96e74db898092e19b789adc4ce90c.jpg","text":"TemporaryFile(/tmp/multipartBody7216441505890814412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971162853,"filename":"image_07112025_19_14_51_2759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f28f264b5a7f16f031d018fe1d56231.jpg","text":"TemporaryFile(/tmp/multipartBody1758589389436665430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971162853,"filename":"image_07112025_19_14_25_2637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780808","file1":"1399780807","file0":"1399780804","file4":"1399780810","file5":"1399780811","file3":"1399780809"},"map_files_photo_id_array":[{"photo_id":"1399780811","filename":"file5"},{"photo_id":"1399780808","filename":"file2"},{"photo_id":"1399780810","filename":"file4"},{"photo_id":"1399780807","filename":"file1"},{"photo_id":"1399780804","filename":"file0"},{"photo_id":"1399780809","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780807":["hashtag1","hashtag2"]},{"1399780809":["hashtag1","hashtag2"]},{"1399780811":["hashtag1","hashtag2"]},{"1399780808":["hashtag1","hashtag2"]},{"1399780810":["hashtag1","hashtag2"]},{"1399780804":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780807, 1399780809, 1399780811, 1399780808, 1399780810, 1399780804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.211867332458496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:32:22.276141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_55_9636.jpg', '/home/pi/Desktop/images/17122025/12/20/image_17122025_12_21_05_10605.jpg', '/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_15_9873.jpg', '/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_25_9722.jpg', '/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_35_9874.jpg', '/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_45_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_55_9636.jpg
/home/pi/Desktop/images/17122025/12/20/image_17122025_12_21_05_10605.jpg
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_15_9873.jpg
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_25_9722.jpg
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_35_9874.jpg
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_45_9801.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5864434242248535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:32:32.323093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:32:42.262166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_58_2593.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_04_3708.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_07_2724.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_16_2584.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_19_2763.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_22_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/14/image_07112025_19_14_58_2593.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_04_3708.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_07_2724.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_16_2584.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_19_2763.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_22_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780827","1399780823","1399780826","1399780829","1399780828","1399780825"],"photo_ids_order":["1399780823","1399780825","1399780826","1399780827","1399780828","1399780829"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/798dfb01c3ee295bd5acb7ea233e6cc1.jpg","text":"TemporaryFile(/tmp/multipartBody3954582230119963729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971223077,"filename":"image_07112025_19_15_16_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9dc411a07595f3ce50ee2db68d88dd8d.jpg","text":"TemporaryFile(/tmp/multipartBody6082936296325220835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971223077,"filename":"image_07112025_19_14_58_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f5760b3ebe782c266bab8809cdaa2c2.jpg","text":"TemporaryFile(/tmp/multipartBody5851998126533566100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971223077,"filename":"image_07112025_19_15_07_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/723beb1b5ca12ead70a45e6dadfe4a3e.jpg","text":"TemporaryFile(/tmp/multipartBody1548282915623226347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971223077,"filename":"image_07112025_19_15_22_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/daf85235862f6e3c0ff09cd5c128ae5f.jpg","text":"TemporaryFile(/tmp/multipartBody6418096948568098898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971223077,"filename":"image_07112025_19_15_19_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd062ced8fa99a50fb46a009aeff87b4.jpg","text":"TemporaryFile(/tmp/multipartBody3744050773721987698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971223077,"filename":"image_07112025_19_15_04_3708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780826","file1":"1399780825","file0":"1399780823","file4":"1399780828","file5":"1399780829","file3":"1399780827"},"map_files_photo_id_array":[{"photo_id":"1399780829","filename":"file5"},{"photo_id":"1399780826","filename":"file2"},{"photo_id":"1399780828","filename":"file4"},{"photo_id":"1399780825","filename":"file1"},{"photo_id":"1399780823","filename":"file0"},{"photo_id":"1399780827","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780827":["hashtag1","hashtag2"]},{"1399780823":["hashtag1","hashtag2"]},{"1399780826":["hashtag1","hashtag2"]},{"1399780829":["hashtag1","hashtag2"]},{"1399780828":["hashtag1","hashtag2"]},{"1399780825":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780827, 1399780823, 1399780826, 1399780829, 1399780828, 1399780825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.427173137664795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:33:22.441484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_55_9636.jpg', '/home/pi/Desktop/images/17122025/12/20/image_17122025_12_21_05_10605.jpg', '/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_15_9873.jpg', '/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_25_9722.jpg', '/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_35_9874.jpg', '/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_45_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/20/image_17122025_12_20_55_9636.jpg
/home/pi/Desktop/images/17122025/12/20/image_17122025_12_21_05_10605.jpg
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_15_9873.jpg
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_25_9722.jpg
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_35_9874.jpg
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_45_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":["1399780838","1399780832","1399780840","1399780834","1399780837","1399780831"],"photo_ids_order":["1399780831","1399780832","1399780834","1399780837","1399780838","1399780840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d289e22ab6aef168da9554184dcdb1b.jpg","text":"TemporaryFile(/tmp/multipartBody1916306446532520593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971263088,"filename":"image_17122025_12_21_35_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/270c7836d727a6e2cf925e37edd654be.jpg","text":"TemporaryFile(/tmp/multipartBody8946794481268505514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971263088,"filename":"image_17122025_12_21_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b668082872a057efae7dddb7f4fe126.jpg","text":"TemporaryFile(/tmp/multipartBody7949685433247488867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971263088,"filename":"image_17122025_12_21_45_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddc67c99e05ce86fdf1c183a6ebb8967.jpg","text":"TemporaryFile(/tmp/multipartBody2852070339404781883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971263088,"filename":"image_17122025_12_21_15_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ad94ebdc0787e6fac5cdf408c9e79e2.jpg","text":"TemporaryFile(/tmp/multipartBody3195513868956953810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971263088,"filename":"image_17122025_12_21_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abfcbc62f53760a3fb3a909acf290531.jpg","text":"TemporaryFile(/tmp/multipartBody2240060803017863573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971263088,"filename":"image_17122025_12_20_55_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780834","file1":"1399780832","file0":"1399780831","file4":"1399780838","file5":"1399780840","file3":"1399780837"},"map_files_photo_id_array":[{"photo_id":"1399780840","filename":"file5"},{"photo_id":"1399780834","filename":"file2"},{"photo_id":"1399780838","filename":"file4"},{"photo_id":"1399780832","filename":"file1"},{"photo_id":"1399780831","filename":"file0"},{"photo_id":"1399780837","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780838":["hashtag1","hashtag2"]},{"1399780832":["hashtag1","hashtag2"]},{"1399780840":["hashtag1","hashtag2"]},{"1399780834":["hashtag1","hashtag2"]},{"1399780837":["hashtag1","hashtag2"]},{"1399780831":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780838, 1399780832, 1399780840, 1399780834, 1399780837, 1399780831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75092172622681 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:34:03.518099
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_55_10813.jpg', '/home/pi/Desktop/images/17122025/12/21/image_17122025_12_22_05_9702.jpg', '/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_15_9908.jpg', '/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_25_9689.jpg', '/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_35_9873.jpg', '/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_45_10746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_21_55_10813.jpg
/home/pi/Desktop/images/17122025/12/21/image_17122025_12_22_05_9702.jpg
/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_15_9908.jpg
/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_25_9689.jpg
/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_35_9873.jpg
/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_45_10746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780851","1399780848","1399780844","1399780847","1399780846","1399780849"],"photo_ids_order":["1399780844","1399780846","1399780847","1399780848","1399780849","1399780851"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06344abad36abe144c77a660bf51f12d.jpg","text":"TemporaryFile(/tmp/multipartBody8330549675402078715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971304261,"filename":"image_17122025_12_22_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c90cf7e12b08598ce44c8e9885a80370.jpg","text":"TemporaryFile(/tmp/multipartBody3603355716351470620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971304261,"filename":"image_17122025_12_22_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14d52e1bc2a6fd2118b8c5d955fd73e7.jpg","text":"TemporaryFile(/tmp/multipartBody563068282000211030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971304261,"filename":"image_17122025_12_21_55_10813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19760d5c94926924ce332a45bed0d1ea.jpg","text":"TemporaryFile(/tmp/multipartBody3919981423275170039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971304261,"filename":"image_17122025_12_22_15_9908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e42d6a0ede5dd811a215da2bb41b87a9.jpg","text":"TemporaryFile(/tmp/multipartBody8455386046710693494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971304261,"filename":"image_17122025_12_22_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20cebb21341bde254fa83a8963e43ede.jpg","text":"TemporaryFile(/tmp/multipartBody5017660210033295473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971304261,"filename":"image_17122025_12_22_35_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780847","file1":"1399780846","file0":"1399780844","file4":"1399780849","file5":"1399780851","file3":"1399780848"},"map_files_photo_id_array":[{"photo_id":"1399780851","filename":"file5"},{"photo_id":"1399780847","filename":"file2"},{"photo_id":"1399780849","filename":"file4"},{"photo_id":"1399780846","filename":"file1"},{"photo_id":"1399780844","filename":"file0"},{"photo_id":"1399780848","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780851":["hashtag1","hashtag2"]},{"1399780848":["hashtag1","hashtag2"]},{"1399780844":["hashtag1","hashtag2"]},{"1399780847":["hashtag1","hashtag2"]},{"1399780846":["hashtag1","hashtag2"]},{"1399780849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780851, 1399780848, 1399780844, 1399780847, 1399780846, 1399780849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37341666221619 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:34:42.815652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_28_2645.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_34_2570.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_37_2896.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_39_2631.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_50_10323.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_51_1648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_28_2645.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_34_2570.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_37_2896.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_39_2631.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_50_10323.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_51_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":["1399780863","1399780860","1399780856","1399780859","1399780861","1399780858"],"photo_ids_order":["1399780856","1399780858","1399780859","1399780860","1399780861","1399780863"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bc00b0f3b2dc4337c801ccdcb884ada.jpg","text":"TemporaryFile(/tmp/multipartBody4362538875139202378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971343594,"filename":"image_07112025_19_15_51_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bb674fa069a7972f4b60e6d149cfebc.jpg","text":"TemporaryFile(/tmp/multipartBody5144038865624553777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971343594,"filename":"image_07112025_19_15_39_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a682e80cfc61b29af7e39d0d458222da.jpg","text":"TemporaryFile(/tmp/multipartBody7589682127056943391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971343594,"filename":"image_07112025_19_15_28_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7169ce3eb945143a5413e79ffd82475.jpg","text":"TemporaryFile(/tmp/multipartBody3536115868562525151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971343594,"filename":"image_07112025_19_15_37_2896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c68b68d24f7d78cb35ff68d9a564b9e5.jpg","text":"TemporaryFile(/tmp/multipartBody4038046354721942475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971343594,"filename":"image_07112025_19_15_50_10323.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe28b61160a16fc46d1093d0c70f2c09.jpg","text":"TemporaryFile(/tmp/multipartBody6918272875609305978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971343594,"filename":"image_07112025_19_15_34_2570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780859","file1":"1399780858","file0":"1399780856","file4":"1399780861","file5":"1399780863","file3":"1399780860"},"map_files_photo_id_array":[{"photo_id":"1399780863","filename":"file5"},{"photo_id":"1399780859","filename":"file2"},{"photo_id":"1399780861","filename":"file4"},{"photo_id":"1399780858","filename":"file1"},{"photo_id":"1399780856","filename":"file0"},{"photo_id":"1399780860","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780863":["hashtag1","hashtag2"]},{"1399780860":["hashtag1","hashtag2"]},{"1399780856":["hashtag1","hashtag2"]},{"1399780859":["hashtag1","hashtag2"]},{"1399780861":["hashtag1","hashtag2"]},{"1399780858":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780863, 1399780860, 1399780856, 1399780859, 1399780861, 1399780858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71354103088379 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:35:22.088257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_55_9727.jpg', '/home/pi/Desktop/images/17122025/12/22/image_17122025_12_23_05_9623.jpg', '/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_16_10869.jpg', '/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_25_9749.jpg', '/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_35_9777.jpg', '/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_45_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/22/image_17122025_12_22_55_9727.jpg
/home/pi/Desktop/images/17122025/12/22/image_17122025_12_23_05_9623.jpg
/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_16_10869.jpg
/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_25_9749.jpg
/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_35_9777.jpg
/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_45_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":["1399780869","1399780871","1399780864","1399780873","1399780867","1399780876"],"photo_ids_order":["1399780864","1399780867","1399780869","1399780871","1399780873","1399780876"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01949b76575caa21ad13b559aeb2a7e1.jpg","text":"TemporaryFile(/tmp/multipartBody3855778494011958797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971382738,"filename":"image_17122025_12_23_16_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/428e398107cf90b705191166d73e3687.jpg","text":"TemporaryFile(/tmp/multipartBody8336567444997181482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971382738,"filename":"image_17122025_12_23_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bbf8ea7ff9a2bac924fbaafa7def13cc.jpg","text":"TemporaryFile(/tmp/multipartBody5065925703289834512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971382738,"filename":"image_17122025_12_22_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/749fd56dcd9e2d70e22ae684e28301d5.jpg","text":"TemporaryFile(/tmp/multipartBody7405481543888474130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971382738,"filename":"image_17122025_12_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/2025/12/17/a20f44f83f5ff375ff808fd897787284.jpg","text":"TemporaryFile(/tmp/multipartBody5380131130139427866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971382738,"filename":"image_17122025_12_23_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91a57c4079a377f1ea68df1f6edb3641.jpg","text":"TemporaryFile(/tmp/multipartBody6314513951012735190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971382738,"filename":"image_17122025_12_23_45_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780869","file1":"1399780867","file0":"1399780864","file4":"1399780873","file5":"1399780876","file3":"1399780871"},"map_files_photo_id_array":[{"photo_id":"1399780876","filename":"file5"},{"photo_id":"1399780869","filename":"file2"},{"photo_id":"1399780873","filename":"file4"},{"photo_id":"1399780867","filename":"file1"},{"photo_id":"1399780864","filename":"file0"},{"photo_id":"1399780871","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780869":["hashtag1","hashtag2"]},{"1399780871":["hashtag1","hashtag2"]},{"1399780864":["hashtag1","hashtag2"]},{"1399780873":["hashtag1","hashtag2"]},{"1399780867":["hashtag1","hashtag2"]},{"1399780876":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780869, 1399780871, 1399780864, 1399780873, 1399780867, 1399780876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76899456977844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:36:02.814010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_56_10798.jpg', '/home/pi/Desktop/images/17122025/12/23/image_17122025_12_24_05_9636.jpg', '/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_15_9727.jpg', '/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_25_9820.jpg', '/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_35_10635.jpg', '/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_45_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_56_10798.jpg
/home/pi/Desktop/images/17122025/12/23/image_17122025_12_24_05_9636.jpg
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_15_9727.jpg
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_25_9820.jpg
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_35_10635.jpg
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_45_9687.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5594809055328369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:36:12.206320
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:36:22.249505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_56_10798.jpg', '/home/pi/Desktop/images/17122025/12/23/image_17122025_12_24_05_9636.jpg', '/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_15_9727.jpg', '/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_25_9820.jpg', '/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_35_10635.jpg', '/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_45_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/23/image_17122025_12_23_56_10798.jpg
/home/pi/Desktop/images/17122025/12/23/image_17122025_12_24_05_9636.jpg
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_15_9727.jpg
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_25_9820.jpg
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_35_10635.jpg
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_45_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780887","1399780889","1399780883","1399780891","1399780885","1399780894"],"photo_ids_order":["1399780883","1399780885","1399780887","1399780889","1399780891","1399780894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65abaa66ed342e2bb02c26f1e563c79b.jpg","text":"TemporaryFile(/tmp/multipartBody7121125842440487713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971442941,"filename":"image_17122025_12_24_15_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/911c9603f84494383d8a28bf490ca851.jpg","text":"TemporaryFile(/tmp/multipartBody8609487776145855180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971442941,"filename":"image_17122025_12_24_25_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de5f91a59891e06a604c806b28433ad8.jpg","text":"TemporaryFile(/tmp/multipartBody781419338185505892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971442941,"filename":"image_17122025_12_23_56_10798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97916a76b80c001dc04794c1c784d4cb.jpg","text":"TemporaryFile(/tmp/multipartBody5976183485991808292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971442941,"filename":"image_17122025_12_24_35_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/565b2ab7af38ccb5c0cde3820b8beca9.jpg","text":"TemporaryFile(/tmp/multipartBody4851239657155028632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971442941,"filename":"image_17122025_12_24_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28eb5c41f3814498ec97689a1889faed.jpg","text":"TemporaryFile(/tmp/multipartBody8895837960909006778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971442941,"filename":"image_17122025_12_24_45_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780887","file1":"1399780885","file0":"1399780883","file4":"1399780891","file5":"1399780894","file3":"1399780889"},"map_files_photo_id_array":[{"photo_id":"1399780894","filename":"file5"},{"photo_id":"1399780887","filename":"file2"},{"photo_id":"1399780891","filename":"file4"},{"photo_id":"1399780885","filename":"file1"},{"photo_id":"1399780883","filename":"file0"},{"photo_id":"1399780889","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780887":["hashtag1","hashtag2"]},{"1399780889":["hashtag1","hashtag2"]},{"1399780883":["hashtag1","hashtag2"]},{"1399780891":["hashtag1","hashtag2"]},{"1399780885":["hashtag1","hashtag2"]},{"1399780894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780887, 1399780889, 1399780883, 1399780891, 1399780885, 1399780894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35931444168091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:37:03.256115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_55_9866.jpg', '/home/pi/Desktop/images/17122025/12/24/image_17122025_12_25_05_9704.jpg', '/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_15_10679.jpg', '/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_25_9655.jpg', '/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_35_9790.jpg', '/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_45_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_24_55_9866.jpg
/home/pi/Desktop/images/17122025/12/24/image_17122025_12_25_05_9704.jpg
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_15_10679.jpg
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_25_9655.jpg
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_35_9790.jpg
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_45_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":["1399780899","1399780898","1399780902","1399780904","1399780907","1399780901"],"photo_ids_order":["1399780898","1399780899","1399780901","1399780902","1399780904","1399780907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ee0eed10d1abb7529595a115d59e335.jpg","text":"TemporaryFile(/tmp/multipartBody2057657301583994050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971484027,"filename":"image_17122025_12_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/2025/12/17/a6cee9e9673c17394a3e4038e7b7eed7.jpg","text":"TemporaryFile(/tmp/multipartBody4578056585813294136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971484027,"filename":"image_17122025_12_24_55_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85e4b81a6b4321d6cde9a6428db0792f.jpg","text":"TemporaryFile(/tmp/multipartBody1444228778181518276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971484027,"filename":"image_17122025_12_25_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c75e9c28bf998f6bc835b1a937aabdb.jpg","text":"TemporaryFile(/tmp/multipartBody3423534538276349584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971484027,"filename":"image_17122025_12_25_35_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b87b04115095394cc9b425be3ab239e.jpg","text":"TemporaryFile(/tmp/multipartBody501161320624091182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971484027,"filename":"image_17122025_12_25_45_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/840f6e4f9d172480240f30a9260c9150.jpg","text":"TemporaryFile(/tmp/multipartBody5665523061169731387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971484027,"filename":"image_17122025_12_25_15_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780901","file1":"1399780899","file0":"1399780898","file4":"1399780904","file5":"1399780907","file3":"1399780902"},"map_files_photo_id_array":[{"photo_id":"1399780907","filename":"file5"},{"photo_id":"1399780901","filename":"file2"},{"photo_id":"1399780904","filename":"file4"},{"photo_id":"1399780899","filename":"file1"},{"photo_id":"1399780898","filename":"file0"},{"photo_id":"1399780902","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399780899":["hashtag1","hashtag2"]},{"1399780898":["hashtag1","hashtag2"]},{"1399780902":["hashtag1","hashtag2"]},{"1399780904":["hashtag1","hashtag2"]},{"1399780907":["hashtag1","hashtag2"]},{"1399780901":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399780899, 1399780898, 1399780902, 1399780904, 1399780907, 1399780901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.270291328430176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:37:42.611028
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_53_1670.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_55_1699.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_57_1787.jpg', '/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_58_1637.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_01_2642.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_07_3773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_53_1670.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_55_1699.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_57_1787.jpg
/home/pi/Desktop/images/07112025/19/15/image_07112025_19_15_58_1637.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_01_2642.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_07_3773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780920","1399780923","1399780922","1399780916","1399780921","1399780918"],"photo_ids_order":["1399780916","1399780918","1399780920","1399780921","1399780922","1399780923"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f92bf29e94ae7ab143e73bda3dd3b7da.jpg","text":"TemporaryFile(/tmp/multipartBody6350239492969549289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971523394,"filename":"image_07112025_19_15_57_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64191faee7acc03d0f6d0c4df49b29d4.jpg","text":"TemporaryFile(/tmp/multipartBody7703496424137820579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971523394,"filename":"image_07112025_19_16_07_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09cd171943296b073d152c44b0ded0f9.jpg","text":"TemporaryFile(/tmp/multipartBody731699952676609989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971523394,"filename":"image_07112025_19_16_01_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b218398401c4362f68b7eee76e7ff422.jpg","text":"TemporaryFile(/tmp/multipartBody584142934514164076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971523394,"filename":"image_07112025_19_15_53_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51de4c55aa3e2cdf6c43e1ba71749c52.jpg","text":"TemporaryFile(/tmp/multipartBody605812800684363250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971523394,"filename":"image_07112025_19_15_58_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fab1b141cbe14ca15a37ff9153b12fe5.jpg","text":"TemporaryFile(/tmp/multipartBody7968658144200962780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971523394,"filename":"image_07112025_19_15_55_1699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780920","file1":"1399780918","file0":"1399780916","file4":"1399780922","file5":"1399780923","file3":"1399780921"},"map_files_photo_id_array":[{"photo_id":"1399780923","filename":"file5"},{"photo_id":"1399780920","filename":"file2"},{"photo_id":"1399780922","filename":"file4"},{"photo_id":"1399780918","filename":"file1"},{"photo_id":"1399780916","filename":"file0"},{"photo_id":"1399780921","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780920":["hashtag1","hashtag2"]},{"1399780923":["hashtag1","hashtag2"]},{"1399780922":["hashtag1","hashtag2"]},{"1399780916":["hashtag1","hashtag2"]},{"1399780921":["hashtag1","hashtag2"]},{"1399780918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780920, 1399780923, 1399780922, 1399780916, 1399780921, 1399780918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.091795682907104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:38:21.861705
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_55_9805.jpg', '/home/pi/Desktop/images/17122025/12/25/image_17122025_12_26_05_9665.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_15_9846.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_25_10690.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_35_9757.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_45_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_55_9805.jpg
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_26_05_9665.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_15_9846.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_25_10690.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_35_9757.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_45_9593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.541250467300415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:38:31.895491
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:38:41.838834
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_10_2615.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_12_2704.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_16_3740.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_25_2861.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_34_2704.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_36_2731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_10_2615.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_12_2704.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_16_3740.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_25_2861.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_34_2704.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_36_2731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780947","1399780940","1399780946","1399780945","1399780948","1399780957"],"photo_ids_order":["1399780940","1399780945","1399780946","1399780947","1399780948","1399780957"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da9897f349b6aafc33d7b152fc42fe76.jpg","text":"TemporaryFile(/tmp/multipartBody3808011055616714493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971582623,"filename":"image_07112025_19_16_25_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c86e4722825106250f664c7cdab82998.jpg","text":"TemporaryFile(/tmp/multipartBody2343734416482725676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971582623,"filename":"image_07112025_19_16_10_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/550a66cf74ceab2968c9825fde026be5.jpg","text":"TemporaryFile(/tmp/multipartBody6890246328341925415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971582623,"filename":"image_07112025_19_16_16_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cd3bba347f01ad0543fed42749edc43.jpg","text":"TemporaryFile(/tmp/multipartBody2277313814912104311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971582623,"filename":"image_07112025_19_16_12_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5163605672a3125124ce180a6c65cb19.jpg","text":"TemporaryFile(/tmp/multipartBody7549510701339510526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971582623,"filename":"image_07112025_19_16_34_2704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38fd1543504defdc62d20073f92a1c8a.jpg","text":"TemporaryFile(/tmp/multipartBody6883894283218353445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971582623,"filename":"image_07112025_19_16_36_2731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780946","file1":"1399780945","file0":"1399780940","file4":"1399780948","file5":"1399780957","file3":"1399780947"},"map_files_photo_id_array":[{"photo_id":"1399780957","filename":"file5"},{"photo_id":"1399780946","filename":"file2"},{"photo_id":"1399780948","filename":"file4"},{"photo_id":"1399780945","filename":"file1"},{"photo_id":"1399780940","filename":"file0"},{"photo_id":"1399780947","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780947":["hashtag1","hashtag2"]},{"1399780940":["hashtag1","hashtag2"]},{"1399780946":["hashtag1","hashtag2"]},{"1399780945":["hashtag1","hashtag2"]},{"1399780948":["hashtag1","hashtag2"]},{"1399780957":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780947, 1399780940, 1399780946, 1399780945, 1399780948, 1399780957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28207087516785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:39:22.125256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_55_9805.jpg', '/home/pi/Desktop/images/17122025/12/25/image_17122025_12_26_05_9665.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_15_9846.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_25_10690.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_35_9757.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_45_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_55_9805.jpg
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_26_05_9665.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_15_9846.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_25_10690.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_35_9757.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_45_9593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5395252704620361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:39:32.043810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:39:42.004409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_40_3665.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_43_2590.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_45_2673.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_55_2690.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_57_2675.jpg', '/home/pi/Desktop/images/07112025/19/16/image_07112025_19_17_01_3640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_40_3665.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_43_2590.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_45_2673.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_55_2690.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_16_57_2675.jpg
/home/pi/Desktop/images/07112025/19/16/image_07112025_19_17_01_3640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399780980","1399780985","1399780979","1399780982","1399780981","1399780984"],"photo_ids_order":["1399780979","1399780980","1399780981","1399780982","1399780984","1399780985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23f0efb9844cc6385e699a70fa3fd099.jpg","text":"TemporaryFile(/tmp/multipartBody703173198533237108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971647815,"filename":"image_07112025_19_16_43_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9f812db8d8ec7e720c322b5443e7a51.jpg","text":"TemporaryFile(/tmp/multipartBody618760640763380793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971647815,"filename":"image_07112025_19_17_01_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc64e3b0a9269e129b20703e3acafa15.jpg","text":"TemporaryFile(/tmp/multipartBody4435873930367589495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971647815,"filename":"image_07112025_19_16_40_3665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06f84aa40c8b7a9e7687c33f29280817.jpg","text":"TemporaryFile(/tmp/multipartBody7191265670717607426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971647815,"filename":"image_07112025_19_16_55_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec44b017cf4523f327af16b1a29b9430.jpg","text":"TemporaryFile(/tmp/multipartBody5917416095495039547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971647815,"filename":"image_07112025_19_16_45_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d460d7e18916f115d91477374a6f7c37.jpg","text":"TemporaryFile(/tmp/multipartBody5925455652774631354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971647815,"filename":"image_07112025_19_16_57_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780981","file1":"1399780980","file0":"1399780979","file4":"1399780984","file5":"1399780985","file3":"1399780982"},"map_files_photo_id_array":[{"photo_id":"1399780985","filename":"file5"},{"photo_id":"1399780981","filename":"file2"},{"photo_id":"1399780984","filename":"file4"},{"photo_id":"1399780980","filename":"file1"},{"photo_id":"1399780979","filename":"file0"},{"photo_id":"1399780982","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780980":["hashtag1","hashtag2"]},{"1399780985":["hashtag1","hashtag2"]},{"1399780979":["hashtag1","hashtag2"]},{"1399780982":["hashtag1","hashtag2"]},{"1399780981":["hashtag1","hashtag2"]},{"1399780984":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780980, 1399780985, 1399780979, 1399780982, 1399780981, 1399780984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.11089730262756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:40:32.390854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:40:42.232508
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_03_2595.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_06_2884.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_10_3693.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_13_2587.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_15_2629.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_19_3654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_03_2595.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_06_2884.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_10_3693.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_13_2587.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_15_2629.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_19_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":["1399780995","1399781004","1399780991","1399780994","1399780999","1399780993"],"photo_ids_order":["1399780991","1399780993","1399780994","1399780995","1399780999","1399781004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67ff6599340eca83683d588a2ca19dce.jpg","text":"TemporaryFile(/tmp/multipartBody5892657675146595835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971703019,"filename":"image_07112025_19_17_13_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7cab2436eced117f6d60ba2d976501d.jpg","text":"TemporaryFile(/tmp/multipartBody1290029725207278697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971703019,"filename":"image_07112025_19_17_19_3654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2d439e8b1cc611018f5aaed7df322ce.jpg","text":"TemporaryFile(/tmp/multipartBody2695856925940858508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971703019,"filename":"image_07112025_19_17_03_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef2ddb63013ef84e2201a3c3549eacf1.jpg","text":"TemporaryFile(/tmp/multipartBody71547073985955296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971703019,"filename":"image_07112025_19_17_10_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ed4c8dd91bee76030217d8589924099.jpg","text":"TemporaryFile(/tmp/multipartBody6107922265334891889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971703019,"filename":"image_07112025_19_17_15_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fdc64da426c8ef9bb720daeefc7d529.jpg","text":"TemporaryFile(/tmp/multipartBody4909746564947325285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971703019,"filename":"image_07112025_19_17_06_2884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399780994","file1":"1399780993","file0":"1399780991","file4":"1399780999","file5":"1399781004","file3":"1399780995"},"map_files_photo_id_array":[{"photo_id":"1399781004","filename":"file5"},{"photo_id":"1399780994","filename":"file2"},{"photo_id":"1399780999","filename":"file4"},{"photo_id":"1399780993","filename":"file1"},{"photo_id":"1399780991","filename":"file0"},{"photo_id":"1399780995","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399780995":["hashtag1","hashtag2"]},{"1399781004":["hashtag1","hashtag2"]},{"1399780991":["hashtag1","hashtag2"]},{"1399780994":["hashtag1","hashtag2"]},{"1399780999":["hashtag1","hashtag2"]},{"1399780993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399780995, 1399781004, 1399780991, 1399780994, 1399780999, 1399780993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47791504859924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:41:22.612079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_55_9805.jpg', '/home/pi/Desktop/images/17122025/12/25/image_17122025_12_26_05_9665.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_15_9846.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_25_10690.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_35_9757.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_45_9593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_25_55_9805.jpg
/home/pi/Desktop/images/17122025/12/25/image_17122025_12_26_05_9665.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_15_9846.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_25_10690.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_35_9757.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_45_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":["1399781013","1399781016","1399781021","1399781018","1399781015","1399781011"],"photo_ids_order":["1399781011","1399781013","1399781015","1399781016","1399781018","1399781021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c946cb80420c7e1b6a9f9be06ddeed0f.jpg","text":"TemporaryFile(/tmp/multipartBody6413937125501282360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971743268,"filename":"image_17122025_12_26_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7b5b627cf316d504d051707819c9d76.jpg","text":"TemporaryFile(/tmp/multipartBody8492001564683198844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971743268,"filename":"image_17122025_12_26_25_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdf70e9f99b5073d40b77bd70d0a25c4.jpg","text":"TemporaryFile(/tmp/multipartBody1247725780647657931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971743268,"filename":"image_17122025_12_26_45_9593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76e51f5112b6d1e5140c248c6f912f41.jpg","text":"TemporaryFile(/tmp/multipartBody6728464854650174534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971743268,"filename":"image_17122025_12_26_35_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffb88ce3f894481f87894e0ab542acaf.jpg","text":"TemporaryFile(/tmp/multipartBody9034547880488019401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971743268,"filename":"image_17122025_12_26_15_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6cf85aa185ccee07d1049da30f97f6a1.jpg","text":"TemporaryFile(/tmp/multipartBody4062284138184653888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971743268,"filename":"image_17122025_12_25_55_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781015","file1":"1399781013","file0":"1399781011","file4":"1399781018","file5":"1399781021","file3":"1399781016"},"map_files_photo_id_array":[{"photo_id":"1399781021","filename":"file5"},{"photo_id":"1399781015","filename":"file2"},{"photo_id":"1399781018","filename":"file4"},{"photo_id":"1399781013","filename":"file1"},{"photo_id":"1399781011","filename":"file0"},{"photo_id":"1399781016","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781013":["hashtag1","hashtag2"]},{"1399781016":["hashtag1","hashtag2"]},{"1399781021":["hashtag1","hashtag2"]},{"1399781018":["hashtag1","hashtag2"]},{"1399781015":["hashtag1","hashtag2"]},{"1399781011":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781013, 1399781016, 1399781021, 1399781018, 1399781015, 1399781011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99052882194519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:42:03.182819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_55_10656.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_27_05_9884.jpg', '/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_15_9677.jpg', '/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_25_9690.jpg', '/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_36_10810.jpg', '/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_45_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_55_10656.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_27_05_9884.jpg
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_15_9677.jpg
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_25_9690.jpg
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_36_10810.jpg
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_45_9921.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.577538013458252 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:42:12.798950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:42:22.802007
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_55_10656.jpg', '/home/pi/Desktop/images/17122025/12/26/image_17122025_12_27_05_9884.jpg', '/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_15_9677.jpg', '/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_25_9690.jpg', '/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_36_10810.jpg', '/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_45_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_26_55_10656.jpg
/home/pi/Desktop/images/17122025/12/26/image_17122025_12_27_05_9884.jpg
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_15_9677.jpg
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_25_9690.jpg
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_36_10810.jpg
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_45_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781034","1399781036","1399781032","1399781041","1399781029","1399781038"],"photo_ids_order":["1399781029","1399781032","1399781034","1399781036","1399781038","1399781041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5ab7bf2016d66bba40a67fdc420a486.jpg","text":"TemporaryFile(/tmp/multipartBody2613302793243417540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971803446,"filename":"image_17122025_12_27_15_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffe5e50ce49facb36e92b25452b2d836.jpg","text":"TemporaryFile(/tmp/multipartBody993846929324922366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971803446,"filename":"image_17122025_12_27_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72f370bd198d410b8b5cd5d92f935135.jpg","text":"TemporaryFile(/tmp/multipartBody6544584967380269825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971803446,"filename":"image_17122025_12_27_05_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60e1632e5f8823b1123fc5143123a23d.jpg","text":"TemporaryFile(/tmp/multipartBody563542771001965507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971803446,"filename":"image_17122025_12_27_45_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1beb29c77da5c18df8c0428a17e4460c.jpg","text":"TemporaryFile(/tmp/multipartBody3329541681657842357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971803446,"filename":"image_17122025_12_26_55_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41a0f9446a2106cd842e80c92faba521.jpg","text":"TemporaryFile(/tmp/multipartBody1934551292467298546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971803446,"filename":"image_17122025_12_27_36_10810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781034","file1":"1399781032","file0":"1399781029","file4":"1399781038","file5":"1399781041","file3":"1399781036"},"map_files_photo_id_array":[{"photo_id":"1399781041","filename":"file5"},{"photo_id":"1399781034","filename":"file2"},{"photo_id":"1399781038","filename":"file4"},{"photo_id":"1399781032","filename":"file1"},{"photo_id":"1399781029","filename":"file0"},{"photo_id":"1399781036","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781034":["hashtag1","hashtag2"]},{"1399781036":["hashtag1","hashtag2"]},{"1399781032":["hashtag1","hashtag2"]},{"1399781041":["hashtag1","hashtag2"]},{"1399781029":["hashtag1","hashtag2"]},{"1399781038":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781034, 1399781036, 1399781032, 1399781041, 1399781029, 1399781038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99255967140198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:43:02.777708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_55_9910.jpg', '/home/pi/Desktop/images/17122025/12/27/image_17122025_12_28_05_9809.jpg', '/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_15_9651.jpg', '/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_26_10682.jpg', '/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_35_9795.jpg', '/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_45_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_27_55_9910.jpg
/home/pi/Desktop/images/17122025/12/27/image_17122025_12_28_05_9809.jpg
/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_15_9651.jpg
/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_26_10682.jpg
/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_35_9795.jpg
/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_45_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":["1399781043","1399781046","1399781049","1399781045","1399781044","1399781047"],"photo_ids_order":["1399781043","1399781044","1399781045","1399781046","1399781047","1399781049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/135183308755e6e751d3554e290d748a.jpg","text":"TemporaryFile(/tmp/multipartBody1408938838663843272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971843551,"filename":"image_17122025_12_27_55_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd37f4dccd13de4319d1ca472170f5d7.jpg","text":"TemporaryFile(/tmp/multipartBody5211508101466146620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971843551,"filename":"image_17122025_12_28_26_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/795413301c8058891dfda9b30b108a56.jpg","text":"TemporaryFile(/tmp/multipartBody4312176205894402240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971843551,"filename":"image_17122025_12_28_45_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff78f41ca37300fb4101beb26f461aef.jpg","text":"TemporaryFile(/tmp/multipartBody2457175033939427141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971843551,"filename":"image_17122025_12_28_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b90f1f3f45e1082cb8ccf23bed7e170.jpg","text":"TemporaryFile(/tmp/multipartBody4607932181632259010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971843551,"filename":"image_17122025_12_28_05_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49948a65f8043667e3aa8aefde626057.jpg","text":"TemporaryFile(/tmp/multipartBody3856121001357031370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971843551,"filename":"image_17122025_12_28_35_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781045","file1":"1399781044","file0":"1399781043","file4":"1399781047","file5":"1399781049","file3":"1399781046"},"map_files_photo_id_array":[{"photo_id":"1399781049","filename":"file5"},{"photo_id":"1399781045","filename":"file2"},{"photo_id":"1399781047","filename":"file4"},{"photo_id":"1399781044","filename":"file1"},{"photo_id":"1399781043","filename":"file0"},{"photo_id":"1399781046","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781043":["hashtag1","hashtag2"]},{"1399781046":["hashtag1","hashtag2"]},{"1399781049":["hashtag1","hashtag2"]},{"1399781045":["hashtag1","hashtag2"]},{"1399781044":["hashtag1","hashtag2"]},{"1399781047":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781043, 1399781046, 1399781049, 1399781045, 1399781044, 1399781047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16355633735657 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:43:42.163573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_22_2810.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_33_2675.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_37_3628.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_45_1558.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_52_2541.jpg', '/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_55_2659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_22_2810.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_33_2675.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_37_3628.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_45_1558.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_52_2541.jpg
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_55_2659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781064","1399781067","1399781066","1399781060","1399781062","1399781056"],"photo_ids_order":["1399781056","1399781060","1399781062","1399781064","1399781066","1399781067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c148342e5b243f261148a64f7b76382c.jpg","text":"TemporaryFile(/tmp/multipartBody4915646271420858417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971882945,"filename":"image_07112025_19_17_45_1558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22f0aa2d5c6164307a3f68f7576305b3.jpg","text":"TemporaryFile(/tmp/multipartBody1767200550182472821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971882945,"filename":"image_07112025_19_17_55_2659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a35d253d0e9dcf84a57a9f01130d044f.jpg","text":"TemporaryFile(/tmp/multipartBody4860569674827136077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971882945,"filename":"image_07112025_19_17_52_2541.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/011225498c6eee2e4a838dde8494a9b8.jpg","text":"TemporaryFile(/tmp/multipartBody6735966596025756003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971882945,"filename":"image_07112025_19_17_33_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cff012bd719dc5d9183a1d19c5efde9.jpg","text":"TemporaryFile(/tmp/multipartBody4554875684472115694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971882945,"filename":"image_07112025_19_17_37_3628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb424dcc97b5b5133f8a3130c62518a1.jpg","text":"TemporaryFile(/tmp/multipartBody5649125080462049422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971882945,"filename":"image_07112025_19_17_22_2810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781062","file1":"1399781060","file0":"1399781056","file4":"1399781066","file5":"1399781067","file3":"1399781064"},"map_files_photo_id_array":[{"photo_id":"1399781067","filename":"file5"},{"photo_id":"1399781062","filename":"file2"},{"photo_id":"1399781066","filename":"file4"},{"photo_id":"1399781060","filename":"file1"},{"photo_id":"1399781056","filename":"file0"},{"photo_id":"1399781064","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781064":["hashtag1","hashtag2"]},{"1399781067":["hashtag1","hashtag2"]},{"1399781066":["hashtag1","hashtag2"]},{"1399781060":["hashtag1","hashtag2"]},{"1399781062":["hashtag1","hashtag2"]},{"1399781056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781064, 1399781067, 1399781066, 1399781060, 1399781062, 1399781056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81989622116089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:44:22.473796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_55_9728.jpg', '/home/pi/Desktop/images/17122025/12/28/image_17122025_12_29_05_9721.jpg', '/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_15_10785.jpg', '/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_25_9751.jpg', '/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_35_9609.jpg', '/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_45_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_55_9728.jpg
/home/pi/Desktop/images/17122025/12/28/image_17122025_12_29_05_9721.jpg
/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_15_10785.jpg
/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_25_9751.jpg
/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_35_9609.jpg
/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_45_10698.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5354735851287842 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:44:32.448540
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:44:42.371678
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_57_2660.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_02_4153.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_03_1739.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_07_3581.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_10_2932.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_15_5625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/17/image_07112025_19_17_57_2660.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_02_4153.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_03_1739.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_07_3581.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_10_2932.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_15_5625.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781085","1399781090","1399781084","1399781081","1399781098","1399781086"],"photo_ids_order":["1399781081","1399781084","1399781085","1399781086","1399781090","1399781098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/584359d7821a812b05b5935254e98f27.jpg","text":"TemporaryFile(/tmp/multipartBody2563390981894904268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971943148,"filename":"image_07112025_19_18_03_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb8a8189f6651a1ec7f03ea416f65407.jpg","text":"TemporaryFile(/tmp/multipartBody2108114216063287620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971943148,"filename":"image_07112025_19_18_10_2932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c12908c15c1ddceab5c8d7f16e3b33b3.jpg","text":"TemporaryFile(/tmp/multipartBody8981880690209076714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971943148,"filename":"image_07112025_19_18_02_4153.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e8598b470c4576621e94af54f1fa125.jpg","text":"TemporaryFile(/tmp/multipartBody7597845860627473376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971943148,"filename":"image_07112025_19_17_57_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be8d02e9f8d9c3035fc9a5308309c0c5.jpg","text":"TemporaryFile(/tmp/multipartBody9190864478008226539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971943148,"filename":"image_07112025_19_18_15_5625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29d0b787d5d2fd61da6b83a377129c17.jpg","text":"TemporaryFile(/tmp/multipartBody5917085706527590881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971943148,"filename":"image_07112025_19_18_07_3581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781085","file1":"1399781084","file0":"1399781081","file4":"1399781090","file5":"1399781098","file3":"1399781086"},"map_files_photo_id_array":[{"photo_id":"1399781098","filename":"file5"},{"photo_id":"1399781085","filename":"file2"},{"photo_id":"1399781090","filename":"file4"},{"photo_id":"1399781084","filename":"file1"},{"photo_id":"1399781081","filename":"file0"},{"photo_id":"1399781086","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781085":["hashtag1","hashtag2"]},{"1399781090":["hashtag1","hashtag2"]},{"1399781084":["hashtag1","hashtag2"]},{"1399781081":["hashtag1","hashtag2"]},{"1399781098":["hashtag1","hashtag2"]},{"1399781086":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781085, 1399781090, 1399781084, 1399781081, 1399781098, 1399781086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.244338035583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:45:22.615201
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_55_9728.jpg', '/home/pi/Desktop/images/17122025/12/28/image_17122025_12_29_05_9721.jpg', '/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_15_10785.jpg', '/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_25_9751.jpg', '/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_35_9609.jpg', '/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_45_10698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/28/image_17122025_12_28_55_9728.jpg
/home/pi/Desktop/images/17122025/12/28/image_17122025_12_29_05_9721.jpg
/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_15_10785.jpg
/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_25_9751.jpg
/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_35_9609.jpg
/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_45_10698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781106","1399781100","1399781099","1399781102","1399781110","1399781104"],"photo_ids_order":["1399781099","1399781100","1399781102","1399781104","1399781106","1399781110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07f8feae1ee5720ea58fffe8876be5c4.jpg","text":"TemporaryFile(/tmp/multipartBody1965929977234995127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971983257,"filename":"image_17122025_12_29_35_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13105efbc69367a6ea43e83b4e946d10.jpg","text":"TemporaryFile(/tmp/multipartBody5589288671097828365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971983257,"filename":"image_17122025_12_29_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cad47f00bf188ee96216384c31c7d8f6.jpg","text":"TemporaryFile(/tmp/multipartBody4233470628814757876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971983257,"filename":"image_17122025_12_28_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00dd3d65fefc36842cdae48c7321cf26.jpg","text":"TemporaryFile(/tmp/multipartBody1739372264735426974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971983257,"filename":"image_17122025_12_29_15_10785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4a584d351e157fce851cc4399c03646.jpg","text":"TemporaryFile(/tmp/multipartBody1025119326801048384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971983257,"filename":"image_17122025_12_29_45_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d007c789da4011ba7884ece9096ba311.jpg","text":"TemporaryFile(/tmp/multipartBody8245442944935604567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765971983257,"filename":"image_17122025_12_29_25_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781102","file1":"1399781100","file0":"1399781099","file4":"1399781106","file5":"1399781110","file3":"1399781104"},"map_files_photo_id_array":[{"photo_id":"1399781110","filename":"file5"},{"photo_id":"1399781102","filename":"file2"},{"photo_id":"1399781106","filename":"file4"},{"photo_id":"1399781100","filename":"file1"},{"photo_id":"1399781099","filename":"file0"},{"photo_id":"1399781104","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781106":["hashtag1","hashtag2"]},{"1399781100":["hashtag1","hashtag2"]},{"1399781099":["hashtag1","hashtag2"]},{"1399781102":["hashtag1","hashtag2"]},{"1399781110":["hashtag1","hashtag2"]},{"1399781104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781106, 1399781100, 1399781099, 1399781102, 1399781110, 1399781104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.08101487159729 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:46:02.350173
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_55_9775.jpg', '/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_14_10057.jpg', '/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_25_10705.jpg', '/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_35_9681.jpg', '/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_45_9858.jpg', '/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_54_9927.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/29/image_17122025_12_29_55_9775.jpg
/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_14_10057.jpg
/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_25_10705.jpg
/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_35_9681.jpg
/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_45_9858.jpg
/home/pi/Desktop/images/17122025/12/30/image_17122025_12_30_54_9927.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781124","1399781121","1399781120","1399781117","1399781122","1399781119"],"photo_ids_order":["1399781117","1399781119","1399781120","1399781121","1399781122","1399781124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f11f93af620e326eadf13b61f976cda0.jpg","text":"TemporaryFile(/tmp/multipartBody8934985437879879103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972023017,"filename":"image_17122025_12_30_54_9927.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac95af9b8683fd819c61564ec0735b1b.jpg","text":"TemporaryFile(/tmp/multipartBody4254672888903505769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972023017,"filename":"image_17122025_12_30_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d99ea939d492f208035118e7c9364cd.jpg","text":"TemporaryFile(/tmp/multipartBody7090990656766035186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972023017,"filename":"image_17122025_12_30_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75127f8cca3c1047728dbcfce3b20d46.jpg","text":"TemporaryFile(/tmp/multipartBody460035426295076849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972023017,"filename":"image_17122025_12_29_55_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9bc68cfe3476b22308a1232663f5f883.jpg","text":"TemporaryFile(/tmp/multipartBody2259996871666038680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972023017,"filename":"image_17122025_12_30_45_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/baa8b6a07d0cee87163cfc9ece56589f.jpg","text":"TemporaryFile(/tmp/multipartBody1141990037813129033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972023017,"filename":"image_17122025_12_30_14_10057.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781120","file1":"1399781119","file0":"1399781117","file4":"1399781122","file5":"1399781124","file3":"1399781121"},"map_files_photo_id_array":[{"photo_id":"1399781124","filename":"file5"},{"photo_id":"1399781120","filename":"file2"},{"photo_id":"1399781122","filename":"file4"},{"photo_id":"1399781119","filename":"file1"},{"photo_id":"1399781117","filename":"file0"},{"photo_id":"1399781121","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781124":["hashtag1","hashtag2"]},{"1399781121":["hashtag1","hashtag2"]},{"1399781120":["hashtag1","hashtag2"]},{"1399781117":["hashtag1","hashtag2"]},{"1399781122":["hashtag1","hashtag2"]},{"1399781119":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781124, 1399781121, 1399781120, 1399781117, 1399781122, 1399781119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.862109422683716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:46:41.890511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_17_1630.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_19_1628.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_28_9630.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_30_1568.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_33_1706.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_35_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_17_1630.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_19_1628.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_28_9630.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_30_1568.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_33_1706.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_35_1660.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781133","1399781153","1399781143","1399781146","1399781154","1399781148"],"photo_ids_order":["1399781133","1399781143","1399781146","1399781148","1399781153","1399781154"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6d2c42da427ee66990d12f1204d3d30.jpg","text":"TemporaryFile(/tmp/multipartBody7007797819791948743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972062663,"filename":"image_07112025_19_18_17_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0de72fcc8b0dc1d1ea6f8be4cf3366c.jpg","text":"TemporaryFile(/tmp/multipartBody186644585265651405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972062663,"filename":"image_07112025_19_18_33_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cc02e1501b4e1d77e43f674b8fb8c57.jpg","text":"TemporaryFile(/tmp/multipartBody3809813092853530039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972062663,"filename":"image_07112025_19_18_19_1628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94e8023b7c998404b5d82975e69bacbd.jpg","text":"TemporaryFile(/tmp/multipartBody5309062741765737871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972062663,"filename":"image_07112025_19_18_28_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e3d32f2a8f80b48fe6d0d35f14babd8.jpg","text":"TemporaryFile(/tmp/multipartBody1435800970164623883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972062663,"filename":"image_07112025_19_18_35_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4824408c8ff75a7bf8f9b1c7eaaefe4.jpg","text":"TemporaryFile(/tmp/multipartBody9217975308967860149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972062663,"filename":"image_07112025_19_18_30_1568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781146","file1":"1399781143","file0":"1399781133","file4":"1399781153","file5":"1399781154","file3":"1399781148"},"map_files_photo_id_array":[{"photo_id":"1399781154","filename":"file5"},{"photo_id":"1399781146","filename":"file2"},{"photo_id":"1399781153","filename":"file4"},{"photo_id":"1399781143","filename":"file1"},{"photo_id":"1399781133","filename":"file0"},{"photo_id":"1399781148","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781133":["hashtag1","hashtag2"]},{"1399781153":["hashtag1","hashtag2"]},{"1399781143":["hashtag1","hashtag2"]},{"1399781146":["hashtag1","hashtag2"]},{"1399781154":["hashtag1","hashtag2"]},{"1399781148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781133, 1399781153, 1399781143, 1399781146, 1399781154, 1399781148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37042999267578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:47:22.152236
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/30/image_17122025_12_31_05_10648.jpg', '/home/pi/Desktop/images/17122025/12/31/image_17122025_12_31_15_9706.jpg', '/home/pi/Desktop/images/17122025/12/31/image_17122025_12_31_34_9720.jpg', '/home/pi/Desktop/images/17122025/12/31/image_17122025_12_31_45_10574.jpg', '/home/pi/Desktop/images/17122025/12/31/image_17122025_12_31_55_9659.jpg', '/home/pi/Desktop/images/17122025/12/31/image_17122025_12_32_05_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/30/image_17122025_12_31_05_10648.jpg
/home/pi/Desktop/images/17122025/12/31/image_17122025_12_31_15_9706.jpg
/home/pi/Desktop/images/17122025/12/31/image_17122025_12_31_34_9720.jpg
/home/pi/Desktop/images/17122025/12/31/image_17122025_12_31_45_10574.jpg
/home/pi/Desktop/images/17122025/12/31/image_17122025_12_31_55_9659.jpg
/home/pi/Desktop/images/17122025/12/31/image_17122025_12_32_05_10574.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781163","1399781157","1399781165","1399781159","1399781168","1399781161"],"photo_ids_order":["1399781157","1399781159","1399781161","1399781163","1399781165","1399781168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21e055614df2602ea5b9e05ccffb84fd.jpg","text":"TemporaryFile(/tmp/multipartBody8024206148374335186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972102799,"filename":"image_17122025_12_31_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6041f81f430625f6455867d8df16621c.jpg","text":"TemporaryFile(/tmp/multipartBody8419688570454975214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972102799,"filename":"image_17122025_12_31_05_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a24646de4bf34216baacf2af476dcc4c.jpg","text":"TemporaryFile(/tmp/multipartBody1732364860476247725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972102799,"filename":"image_17122025_12_31_55_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19c12efcce8a9a11191d6e99529caff5.jpg","text":"TemporaryFile(/tmp/multipartBody3667129482460870811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972102799,"filename":"image_17122025_12_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/2025/12/17/e75b1599270f90e65407c3144ff152fd.jpg","text":"TemporaryFile(/tmp/multipartBody5717032393243408454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972102799,"filename":"image_17122025_12_32_05_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a59ef1dad87b036e6b783ef3ca9486f.jpg","text":"TemporaryFile(/tmp/multipartBody3920621652067080881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972102799,"filename":"image_17122025_12_31_34_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781161","file1":"1399781159","file0":"1399781157","file4":"1399781165","file5":"1399781168","file3":"1399781163"},"map_files_photo_id_array":[{"photo_id":"1399781168","filename":"file5"},{"photo_id":"1399781161","filename":"file2"},{"photo_id":"1399781165","filename":"file4"},{"photo_id":"1399781159","filename":"file1"},{"photo_id":"1399781157","filename":"file0"},{"photo_id":"1399781163","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781163":["hashtag1","hashtag2"]},{"1399781157":["hashtag1","hashtag2"]},{"1399781165":["hashtag1","hashtag2"]},{"1399781159":["hashtag1","hashtag2"]},{"1399781168":["hashtag1","hashtag2"]},{"1399781161":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781163, 1399781157, 1399781165, 1399781159, 1399781168, 1399781161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46940064430237 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:48:02.833674
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_15_9701.jpg', '/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_25_9772.jpg', '/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_35_10585.jpg', '/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_45_9887.jpg', '/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_55_9614.jpg', '/home/pi/Desktop/images/17122025/12/32/image_17122025_12_33_04_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_15_9701.jpg
/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_25_9772.jpg
/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_35_10585.jpg
/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_45_9887.jpg
/home/pi/Desktop/images/17122025/12/32/image_17122025_12_32_55_9614.jpg
/home/pi/Desktop/images/17122025/12/32/image_17122025_12_33_04_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781171","1399781174","1399781176","1399781173","1399781172","1399781169"],"photo_ids_order":["1399781169","1399781171","1399781172","1399781173","1399781174","1399781176"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac0d92a2be88a8991633a140a72d0e34.jpg","text":"TemporaryFile(/tmp/multipartBody2663832842117643458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972143492,"filename":"image_17122025_12_32_25_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d56230f6cd035672eb3aff1f0488363d.jpg","text":"TemporaryFile(/tmp/multipartBody391756529733124296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972143492,"filename":"image_17122025_12_32_55_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1282c9af4b9e71ff1bb34b3e7c2b01d8.jpg","text":"TemporaryFile(/tmp/multipartBody8500356385925312585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972143492,"filename":"image_17122025_12_33_04_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e8d6f81933efccaa7f9ccc0b780e57d.jpg","text":"TemporaryFile(/tmp/multipartBody3960916322778148084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972143492,"filename":"image_17122025_12_32_45_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba22337e000026261ba1c18d54f33af5.jpg","text":"TemporaryFile(/tmp/multipartBody6448288589485177750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972143492,"filename":"image_17122025_12_32_35_10585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e91a5c57c0aff0ac2959d7ce2f2c2f65.jpg","text":"TemporaryFile(/tmp/multipartBody3194905858936325019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972143492,"filename":"image_17122025_12_32_15_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781172","file1":"1399781171","file0":"1399781169","file4":"1399781174","file5":"1399781176","file3":"1399781173"},"map_files_photo_id_array":[{"photo_id":"1399781176","filename":"file5"},{"photo_id":"1399781172","filename":"file2"},{"photo_id":"1399781174","filename":"file4"},{"photo_id":"1399781171","filename":"file1"},{"photo_id":"1399781169","filename":"file0"},{"photo_id":"1399781173","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781171":["hashtag1","hashtag2"]},{"1399781174":["hashtag1","hashtag2"]},{"1399781176":["hashtag1","hashtag2"]},{"1399781173":["hashtag1","hashtag2"]},{"1399781172":["hashtag1","hashtag2"]},{"1399781169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781171, 1399781174, 1399781176, 1399781173, 1399781172, 1399781169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.09290027618408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:48:42.312953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_39_2396.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_42_3314.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_45_2931.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_48_2881.jpg', '/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_57_1602.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_12_1577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_39_2396.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_42_3314.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_45_2931.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_48_2881.jpg
/home/pi/Desktop/images/07112025/19/18/image_07112025_19_18_57_1602.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_12_1577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781186","1399781189","1399781194","1399781188","1399781184","1399781187"],"photo_ids_order":["1399781184","1399781186","1399781187","1399781188","1399781189","1399781194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/050d16b1ea67c1c8ed528a4b196cf488.jpg","text":"TemporaryFile(/tmp/multipartBody2621952355035542549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972183087,"filename":"image_07112025_19_18_42_3314.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3166e539e4e86c1fd116388bf1c9963.jpg","text":"TemporaryFile(/tmp/multipartBody3258888981993755963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972183087,"filename":"image_07112025_19_18_57_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9450e04eeef816d197348ecd07a5c64.jpg","text":"TemporaryFile(/tmp/multipartBody9160922125423367762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972183087,"filename":"image_07112025_19_19_12_1577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c63d3d340fb809d9f91be3b3f7c160ea.jpg","text":"TemporaryFile(/tmp/multipartBody46327078145024376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972183087,"filename":"image_07112025_19_18_48_2881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51bf4be80f42481f9c254732c0cfb516.jpg","text":"TemporaryFile(/tmp/multipartBody4556361140998968108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972183087,"filename":"image_07112025_19_18_39_2396.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a56b3009378364621d89d53d80f5998.jpg","text":"TemporaryFile(/tmp/multipartBody1352927190127387532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972183087,"filename":"image_07112025_19_18_45_2931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781187","file1":"1399781186","file0":"1399781184","file4":"1399781189","file5":"1399781194","file3":"1399781188"},"map_files_photo_id_array":[{"photo_id":"1399781194","filename":"file5"},{"photo_id":"1399781187","filename":"file2"},{"photo_id":"1399781189","filename":"file4"},{"photo_id":"1399781186","filename":"file1"},{"photo_id":"1399781184","filename":"file0"},{"photo_id":"1399781188","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781186":["hashtag1","hashtag2"]},{"1399781189":["hashtag1","hashtag2"]},{"1399781194":["hashtag1","hashtag2"]},{"1399781188":["hashtag1","hashtag2"]},{"1399781184":["hashtag1","hashtag2"]},{"1399781187":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781186, 1399781189, 1399781194, 1399781188, 1399781184, 1399781187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12953066825867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:49:22.668873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_15_10687.jpg', '/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_25_9697.jpg', '/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_34_9600.jpg', '/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_45_10663.jpg', '/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_55_9895.jpg', '/home/pi/Desktop/images/17122025/12/33/image_17122025_12_34_05_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_15_10687.jpg
/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_25_9697.jpg
/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_34_9600.jpg
/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_45_10663.jpg
/home/pi/Desktop/images/17122025/12/33/image_17122025_12_33_55_9895.jpg
/home/pi/Desktop/images/17122025/12/33/image_17122025_12_34_05_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781205","1399781201","1399781197","1399781209","1399781199","1399781203"],"photo_ids_order":["1399781197","1399781199","1399781201","1399781203","1399781205","1399781209"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/115e5857d1c79073b8dba1638c554928.jpg","text":"TemporaryFile(/tmp/multipartBody262662538157834960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972223366,"filename":"image_17122025_12_33_55_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b92537f57272ddf82acefb8fa623ee8.jpg","text":"TemporaryFile(/tmp/multipartBody513633768433626061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972223366,"filename":"image_17122025_12_33_34_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90a72bed8457955032ae77dfecdd72a5.jpg","text":"TemporaryFile(/tmp/multipartBody4963046513890226546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972223366,"filename":"image_17122025_12_33_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea17b0aae264ac32f914aa60fcf34a5e.jpg","text":"TemporaryFile(/tmp/multipartBody7302289563618714607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972223366,"filename":"image_17122025_12_34_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3c587a6310da9fda4c1da0e1997f94a.jpg","text":"TemporaryFile(/tmp/multipartBody4652243475100844664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972223366,"filename":"image_17122025_12_33_25_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d0526c05575748665e828dba08490fc.jpg","text":"TemporaryFile(/tmp/multipartBody2022216295986837347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972223366,"filename":"image_17122025_12_33_45_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781201","file1":"1399781199","file0":"1399781197","file4":"1399781205","file5":"1399781209","file3":"1399781203"},"map_files_photo_id_array":[{"photo_id":"1399781209","filename":"file5"},{"photo_id":"1399781201","filename":"file2"},{"photo_id":"1399781205","filename":"file4"},{"photo_id":"1399781199","filename":"file1"},{"photo_id":"1399781197","filename":"file0"},{"photo_id":"1399781203","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781205":["hashtag1","hashtag2"]},{"1399781201":["hashtag1","hashtag2"]},{"1399781197":["hashtag1","hashtag2"]},{"1399781209":["hashtag1","hashtag2"]},{"1399781199":["hashtag1","hashtag2"]},{"1399781203":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781205, 1399781201, 1399781197, 1399781209, 1399781199, 1399781203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.457300424575806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:50:03.159127
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_14_9738.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_25_10731.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_35_9991.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_45_9827.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_55_9861.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_35_05_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_14_9738.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_25_10731.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_35_9991.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_45_9827.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_55_9861.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_35_05_9673.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5756847858428955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 12:50:12.717428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:50:22.789332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_14_9738.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_25_10731.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_35_9991.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_45_9827.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_55_9861.jpg', '/home/pi/Desktop/images/17122025/12/34/image_17122025_12_35_05_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_14_9738.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_25_10731.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_35_9991.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_45_9827.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_34_55_9861.jpg
/home/pi/Desktop/images/17122025/12/34/image_17122025_12_35_05_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781235","1399781238","1399781223","1399781226","1399781220","1399781233"],"photo_ids_order":["1399781220","1399781223","1399781226","1399781233","1399781235","1399781238"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25526e904807e9a188d9b3dfc2221921.jpg","text":"TemporaryFile(/tmp/multipartBody5586976507807751911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972283434,"filename":"image_17122025_12_34_55_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2884bbef4798873c2384e71f41171ec.jpg","text":"TemporaryFile(/tmp/multipartBody4385485789286232836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972283434,"filename":"image_17122025_12_35_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7c45e53ab7ee8b7a1cbeaa0fbdf9330.jpg","text":"TemporaryFile(/tmp/multipartBody8130985846401029905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972283434,"filename":"image_17122025_12_34_25_10731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8a7391040ac0ae3a874c1bc147d3edb.jpg","text":"TemporaryFile(/tmp/multipartBody5696506957392866006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972283434,"filename":"image_17122025_12_34_35_9991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41ae86aa8a00b0d3fd5d637bcb8bd6a8.jpg","text":"TemporaryFile(/tmp/multipartBody4256640194725135679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972283434,"filename":"image_17122025_12_34_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88fdde4b9e2bdda51951e484735274d7.jpg","text":"TemporaryFile(/tmp/multipartBody5348415030040071641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972283434,"filename":"image_17122025_12_34_45_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781226","file1":"1399781223","file0":"1399781220","file4":"1399781235","file5":"1399781238","file3":"1399781233"},"map_files_photo_id_array":[{"photo_id":"1399781238","filename":"file5"},{"photo_id":"1399781226","filename":"file2"},{"photo_id":"1399781235","filename":"file4"},{"photo_id":"1399781223","filename":"file1"},{"photo_id":"1399781220","filename":"file0"},{"photo_id":"1399781233","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781235":["hashtag1","hashtag2"]},{"1399781238":["hashtag1","hashtag2"]},{"1399781223":["hashtag1","hashtag2"]},{"1399781226":["hashtag1","hashtag2"]},{"1399781220":["hashtag1","hashtag2"]},{"1399781233":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781235, 1399781238, 1399781223, 1399781226, 1399781220, 1399781233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73086166381836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:51:02.700356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_15_10548.jpg', '/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_25_9578.jpg', '/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_34_9792.jpg', '/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_45_10591.jpg', '/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_55_9654.jpg', '/home/pi/Desktop/images/17122025/12/35/image_17122025_12_36_05_9874.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_15_10548.jpg
/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_25_9578.jpg
/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_34_9792.jpg
/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_45_10591.jpg
/home/pi/Desktop/images/17122025/12/35/image_17122025_12_35_55_9654.jpg
/home/pi/Desktop/images/17122025/12/35/image_17122025_12_36_05_9874.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781256","1399781241","1399781252","1399781251","1399781254","1399781253"],"photo_ids_order":["1399781241","1399781251","1399781252","1399781253","1399781254","1399781256"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6f70db497573b09e9b8597da1a1960b.jpg","text":"TemporaryFile(/tmp/multipartBody5284254776916879613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972323419,"filename":"image_17122025_12_36_05_9874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b6ba034ca8ff4b5edfbe94551c02c4b.jpg","text":"TemporaryFile(/tmp/multipartBody8908377821495142968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972323419,"filename":"image_17122025_12_35_15_10548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd9f3ba71e56fed6881dab40d7d873b5.jpg","text":"TemporaryFile(/tmp/multipartBody6260777782397627060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972323419,"filename":"image_17122025_12_35_34_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/900c1a28bfef4919d53362e22c133365.jpg","text":"TemporaryFile(/tmp/multipartBody6797631193307873055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972323419,"filename":"image_17122025_12_35_25_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46f38a9637659ad9993c7e5abba15712.jpg","text":"TemporaryFile(/tmp/multipartBody5101358722943618585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972323419,"filename":"image_17122025_12_35_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e0a4cc08f635fc52f66fa8e0f68f36a.jpg","text":"TemporaryFile(/tmp/multipartBody4773959225107229538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972323419,"filename":"image_17122025_12_35_45_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781252","file1":"1399781251","file0":"1399781241","file4":"1399781254","file5":"1399781256","file3":"1399781253"},"map_files_photo_id_array":[{"photo_id":"1399781256","filename":"file5"},{"photo_id":"1399781252","filename":"file2"},{"photo_id":"1399781254","filename":"file4"},{"photo_id":"1399781251","filename":"file1"},{"photo_id":"1399781241","filename":"file0"},{"photo_id":"1399781253","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781256":["hashtag1","hashtag2"]},{"1399781241":["hashtag1","hashtag2"]},{"1399781252":["hashtag1","hashtag2"]},{"1399781251":["hashtag1","hashtag2"]},{"1399781254":["hashtag1","hashtag2"]},{"1399781253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781256, 1399781241, 1399781252, 1399781251, 1399781254, 1399781253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99756979942322 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:51:42.048775
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_13_1618.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_15_1559.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_18_1588.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_20_1767.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_21_1574.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_24_1623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_13_1618.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_15_1559.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_18_1588.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_20_1767.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_21_1574.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_24_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":["1399781267","1399781261","1399781269","1399781266","1399781265","1399781268"],"photo_ids_order":["1399781261","1399781265","1399781266","1399781267","1399781268","1399781269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00917a4252108395382efdde21690693.jpg","text":"TemporaryFile(/tmp/multipartBody3001996317745875719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972362817,"filename":"image_07112025_19_19_20_1767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad28037b5f72cb0086fe6c19623f0bd2.jpg","text":"TemporaryFile(/tmp/multipartBody2146873939136403160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972362817,"filename":"image_07112025_19_19_13_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c3fb98b88ae6077d5a4f8bd5177d38b.jpg","text":"TemporaryFile(/tmp/multipartBody4717973024802116428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972362817,"filename":"image_07112025_19_19_24_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/414004e14426d5758b8bf9ca7f848984.jpg","text":"TemporaryFile(/tmp/multipartBody7311831122467971763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972362817,"filename":"image_07112025_19_19_18_1588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec827490c45f7a73e2c5e879b7b7e15e.jpg","text":"TemporaryFile(/tmp/multipartBody1279390457409492337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972362817,"filename":"image_07112025_19_19_15_1559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de109c58643611681f15e2ef288fe3fb.jpg","text":"TemporaryFile(/tmp/multipartBody4514013009231675548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972362817,"filename":"image_07112025_19_19_21_1574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781266","file1":"1399781265","file0":"1399781261","file4":"1399781268","file5":"1399781269","file3":"1399781267"},"map_files_photo_id_array":[{"photo_id":"1399781269","filename":"file5"},{"photo_id":"1399781266","filename":"file2"},{"photo_id":"1399781268","filename":"file4"},{"photo_id":"1399781265","filename":"file1"},{"photo_id":"1399781261","filename":"file0"},{"photo_id":"1399781267","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781267":["hashtag1","hashtag2"]},{"1399781261":["hashtag1","hashtag2"]},{"1399781269":["hashtag1","hashtag2"]},{"1399781266":["hashtag1","hashtag2"]},{"1399781265":["hashtag1","hashtag2"]},{"1399781268":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781267, 1399781261, 1399781269, 1399781266, 1399781265, 1399781268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.82805633544922 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:52:22.335918
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_15_10672.jpg', '/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_25_9897.jpg', '/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_35_9544.jpg', '/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_44_9718.jpg', '/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_54_9895.jpg', '/home/pi/Desktop/images/17122025/12/36/image_17122025_12_37_05_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_15_10672.jpg
/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_25_9897.jpg
/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_35_9544.jpg
/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_44_9718.jpg
/home/pi/Desktop/images/17122025/12/36/image_17122025_12_36_54_9895.jpg
/home/pi/Desktop/images/17122025/12/36/image_17122025_12_37_05_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781270","1399781290","1399781286","1399781271","1399781280","1399781274"],"photo_ids_order":["1399781270","1399781271","1399781274","1399781280","1399781286","1399781290"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d4bf59487e34b3f534f66022d1a4133.jpg","text":"TemporaryFile(/tmp/multipartBody2964524233754480982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972402972,"filename":"image_17122025_12_36_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1277e10064f62b9e5da7e06ca2bb5ca.jpg","text":"TemporaryFile(/tmp/multipartBody6375398572024491208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972402972,"filename":"image_17122025_12_37_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27dff23890171a9f771d6419e9b544c2.jpg","text":"TemporaryFile(/tmp/multipartBody156232833519350420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972402972,"filename":"image_17122025_12_36_54_9895.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d45354f273b36e72e81a5935e14cf49.jpg","text":"TemporaryFile(/tmp/multipartBody6953798704543102582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972402972,"filename":"image_17122025_12_36_25_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f04007b57bed02a1fdd153cb88b7e71.jpg","text":"TemporaryFile(/tmp/multipartBody6498214290979293044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972402972,"filename":"image_17122025_12_36_44_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/694e14f75ad26623e290b0833039d8ac.jpg","text":"TemporaryFile(/tmp/multipartBody830921787799843153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972402972,"filename":"image_17122025_12_36_35_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781274","file1":"1399781271","file0":"1399781270","file4":"1399781286","file5":"1399781290","file3":"1399781280"},"map_files_photo_id_array":[{"photo_id":"1399781290","filename":"file5"},{"photo_id":"1399781274","filename":"file2"},{"photo_id":"1399781286","filename":"file4"},{"photo_id":"1399781271","filename":"file1"},{"photo_id":"1399781270","filename":"file0"},{"photo_id":"1399781280","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781270":["hashtag1","hashtag2"]},{"1399781290":["hashtag1","hashtag2"]},{"1399781286":["hashtag1","hashtag2"]},{"1399781271":["hashtag1","hashtag2"]},{"1399781280":["hashtag1","hashtag2"]},{"1399781274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781270, 1399781290, 1399781286, 1399781271, 1399781280, 1399781274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.521069049835205 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:53:03.172637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_15_9562.jpg', '/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_25_10595.jpg', '/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_35_9658.jpg', '/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_44_9646.jpg', '/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_55_10646.jpg', '/home/pi/Desktop/images/17122025/12/37/image_17122025_12_38_05_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_15_9562.jpg
/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_25_10595.jpg
/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_35_9658.jpg
/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_44_9646.jpg
/home/pi/Desktop/images/17122025/12/37/image_17122025_12_37_55_10646.jpg
/home/pi/Desktop/images/17122025/12/37/image_17122025_12_38_05_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":["1399781301","1399781310","1399781312","1399781309","1399781311","1399781314"],"photo_ids_order":["1399781301","1399781309","1399781310","1399781311","1399781312","1399781314"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc07eea5753f5f02a23e9df6ab7bcb46.jpg","text":"TemporaryFile(/tmp/multipartBody5639016581765294027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972443873,"filename":"image_17122025_12_37_15_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddea4bb3c7677acf89e92b50e2eeefdf.jpg","text":"TemporaryFile(/tmp/multipartBody1687632881084451588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972443873,"filename":"image_17122025_12_37_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd6145390e9567d5455614c67286992f.jpg","text":"TemporaryFile(/tmp/multipartBody113510964016335319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972443873,"filename":"image_17122025_12_37_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/272a19e9263bc83ebea92eaa61a7b6d0.jpg","text":"TemporaryFile(/tmp/multipartBody6693408863819984876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972443873,"filename":"image_17122025_12_37_25_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7229d2b91942ca6a9e54d1edc95ac8a5.jpg","text":"TemporaryFile(/tmp/multipartBody6057307471870767187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972443873,"filename":"image_17122025_12_37_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/efeae10b7d024df58eb8d108199d8b06.jpg","text":"TemporaryFile(/tmp/multipartBody141415085329523730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972443873,"filename":"image_17122025_12_38_05_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781310","file1":"1399781309","file0":"1399781301","file4":"1399781312","file5":"1399781314","file3":"1399781311"},"map_files_photo_id_array":[{"photo_id":"1399781314","filename":"file5"},{"photo_id":"1399781310","filename":"file2"},{"photo_id":"1399781312","filename":"file4"},{"photo_id":"1399781309","filename":"file1"},{"photo_id":"1399781301","filename":"file0"},{"photo_id":"1399781311","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781301":["hashtag1","hashtag2"]},{"1399781310":["hashtag1","hashtag2"]},{"1399781312":["hashtag1","hashtag2"]},{"1399781309":["hashtag1","hashtag2"]},{"1399781311":["hashtag1","hashtag2"]},{"1399781314":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781301, 1399781310, 1399781312, 1399781309, 1399781311, 1399781314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55761766433716 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:53:42.561457
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_27_2760.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_30_2782.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_34_3703.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_41_7029.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_44_1701.jpg', '/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_46_1592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_27_2760.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_30_2782.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_34_3703.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_41_7029.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_44_1701.jpg
/home/pi/Desktop/images/07112025/19/19/image_07112025_19_19_46_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":["1399781325","1399781319","1399781327","1399781321","1399781324","1399781323"],"photo_ids_order":["1399781319","1399781321","1399781323","1399781324","1399781325","1399781327"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc989b1c81dd4a109bb415524d3298e3.jpg","text":"TemporaryFile(/tmp/multipartBody1129272729558719169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972483339,"filename":"image_07112025_19_19_44_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/318df86ad8568b01c9d044882c1b1250.jpg","text":"TemporaryFile(/tmp/multipartBody3688958176992340695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972483339,"filename":"image_07112025_19_19_27_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c432225a992506aee6691a7d98c27f6c.jpg","text":"TemporaryFile(/tmp/multipartBody3603304081483614044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972483339,"filename":"image_07112025_19_19_46_1592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed42fecf589763309fc98b9b5d3c5c90.jpg","text":"TemporaryFile(/tmp/multipartBody5365073080131237453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972483339,"filename":"image_07112025_19_19_30_2782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f33651b97deb10c3c6c36a33f6542f1.jpg","text":"TemporaryFile(/tmp/multipartBody6372096814006326859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972483339,"filename":"image_07112025_19_19_41_7029.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d42984278ac0c271b3af26b570122d46.jpg","text":"TemporaryFile(/tmp/multipartBody5093586173566701049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972483339,"filename":"image_07112025_19_19_34_3703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781323","file1":"1399781321","file0":"1399781319","file4":"1399781325","file5":"1399781327","file3":"1399781324"},"map_files_photo_id_array":[{"photo_id":"1399781327","filename":"file5"},{"photo_id":"1399781323","filename":"file2"},{"photo_id":"1399781325","filename":"file4"},{"photo_id":"1399781321","filename":"file1"},{"photo_id":"1399781319","filename":"file0"},{"photo_id":"1399781324","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781325":["hashtag1","hashtag2"]},{"1399781319":["hashtag1","hashtag2"]},{"1399781327":["hashtag1","hashtag2"]},{"1399781321":["hashtag1","hashtag2"]},{"1399781324":["hashtag1","hashtag2"]},{"1399781323":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781325, 1399781319, 1399781327, 1399781321, 1399781324, 1399781323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51486873626709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:54:21.881883
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_14_9685.jpg', '/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_25_10661.jpg', '/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_35_9790.jpg', '/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_45_9705.jpg', '/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_54_9728.jpg', '/home/pi/Desktop/images/17122025/12/38/image_17122025_12_39_04_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_14_9685.jpg
/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_25_10661.jpg
/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_35_9790.jpg
/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_45_9705.jpg
/home/pi/Desktop/images/17122025/12/38/image_17122025_12_38_54_9728.jpg
/home/pi/Desktop/images/17122025/12/38/image_17122025_12_39_04_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":["1399781340","1399781337","1399781331","1399781333","1399781335","1399781329"],"photo_ids_order":["1399781329","1399781331","1399781333","1399781335","1399781337","1399781340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6e38fd1bde9a3ff30bba907fc986d05.jpg","text":"TemporaryFile(/tmp/multipartBody4937336419796611662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972522517,"filename":"image_17122025_12_39_04_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72b6c34e483529613924e706425b0dc1.jpg","text":"TemporaryFile(/tmp/multipartBody506046505620413788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972522517,"filename":"image_17122025_12_38_54_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd218d18da3e2294e8dc0eda56c7e246.jpg","text":"TemporaryFile(/tmp/multipartBody8901544881074309124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972522517,"filename":"image_17122025_12_38_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c718969b60bee5c3c90b44df1f49b1e.jpg","text":"TemporaryFile(/tmp/multipartBody2517323888739593595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972522517,"filename":"image_17122025_12_38_35_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b639a0fbd2e33aec9c7ef2b0f1c95d6a.jpg","text":"TemporaryFile(/tmp/multipartBody5274990716993381752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972522517,"filename":"image_17122025_12_38_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/265616db9dbe47a2c24a654c7a98a6e4.jpg","text":"TemporaryFile(/tmp/multipartBody8025381191093685227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972522517,"filename":"image_17122025_12_38_14_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781333","file1":"1399781331","file0":"1399781329","file4":"1399781337","file5":"1399781340","file3":"1399781335"},"map_files_photo_id_array":[{"photo_id":"1399781340","filename":"file5"},{"photo_id":"1399781333","filename":"file2"},{"photo_id":"1399781337","filename":"file4"},{"photo_id":"1399781331","filename":"file1"},{"photo_id":"1399781329","filename":"file0"},{"photo_id":"1399781335","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781340":["hashtag1","hashtag2"]},{"1399781337":["hashtag1","hashtag2"]},{"1399781331":["hashtag1","hashtag2"]},{"1399781333":["hashtag1","hashtag2"]},{"1399781335":["hashtag1","hashtag2"]},{"1399781329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781340, 1399781337, 1399781331, 1399781333, 1399781335, 1399781329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94985246658325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:55:02.765426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_15_10910.jpg', '/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_25_9617.jpg', '/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_34_9723.jpg', '/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_44_9858.jpg', '/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_55_10596.jpg', '/home/pi/Desktop/images/17122025/12/39/image_17122025_12_40_05_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_15_10910.jpg
/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_25_9617.jpg
/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_34_9723.jpg
/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_44_9858.jpg
/home/pi/Desktop/images/17122025/12/39/image_17122025_12_39_55_10596.jpg
/home/pi/Desktop/images/17122025/12/39/image_17122025_12_40_05_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":["1399781343","1399781345","1399781348","1399781342","1399781344","1399781346"],"photo_ids_order":["1399781342","1399781343","1399781344","1399781345","1399781346","1399781348"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4394a69dd32ffe6a3f31dcfb31fcd151.jpg","text":"TemporaryFile(/tmp/multipartBody4355614236880737202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972563526,"filename":"image_17122025_12_39_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/880a88f393d559ff83e658a05e749305.jpg","text":"TemporaryFile(/tmp/multipartBody8637733794698571885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972563526,"filename":"image_17122025_12_39_44_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bc569f9f3ad3295919a2786f664be54.jpg","text":"TemporaryFile(/tmp/multipartBody2994963531920193895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972563526,"filename":"image_17122025_12_40_05_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8bb96086894b00bf5d10555fc707d9d.jpg","text":"TemporaryFile(/tmp/multipartBody4406070750509383548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972563526,"filename":"image_17122025_12_39_15_10910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1a0ebe8c80311b21358b2d34a16bfbf.jpg","text":"TemporaryFile(/tmp/multipartBody1949921906869743108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972563526,"filename":"image_17122025_12_39_34_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e472b2c21a33c7445fd564105dd53a5.jpg","text":"TemporaryFile(/tmp/multipartBody2067151871552456398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972563526,"filename":"image_17122025_12_39_55_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781344","file1":"1399781343","file0":"1399781342","file4":"1399781346","file5":"1399781348","file3":"1399781345"},"map_files_photo_id_array":[{"photo_id":"1399781348","filename":"file5"},{"photo_id":"1399781344","filename":"file2"},{"photo_id":"1399781346","filename":"file4"},{"photo_id":"1399781343","filename":"file1"},{"photo_id":"1399781342","filename":"file0"},{"photo_id":"1399781345","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781343":["hashtag1","hashtag2"]},{"1399781345":["hashtag1","hashtag2"]},{"1399781348":["hashtag1","hashtag2"]},{"1399781342":["hashtag1","hashtag2"]},{"1399781344":["hashtag1","hashtag2"]},{"1399781346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781343, 1399781345, 1399781348, 1399781342, 1399781344, 1399781346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.874207496643066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:55:42.085695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/20/image_07112025_19_20_11_11972.jpg', '/home/pi/Desktop/images/07112025/19/20/image_07112025_19_20_13_1769.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_30_1572.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_32_1739.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_34_1682.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_37_1760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/20/image_07112025_19_20_11_11972.jpg
/home/pi/Desktop/images/07112025/19/20/image_07112025_19_20_13_1769.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_30_1572.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_32_1739.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_34_1682.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_37_1760.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781361","1399781358","1399781360","1399781356","1399781359","1399781353"],"photo_ids_order":["1399781353","1399781356","1399781358","1399781359","1399781360","1399781361"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f6f4254a719304282d72ea512753c82.jpg","text":"TemporaryFile(/tmp/multipartBody838797499263761392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972602869,"filename":"image_07112025_19_21_37_1760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c953140e089662de6712df028f886fe.jpg","text":"TemporaryFile(/tmp/multipartBody1407267666836405898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972602869,"filename":"image_07112025_19_21_30_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fec861e2f9826d136da3d9d483c8b85.jpg","text":"TemporaryFile(/tmp/multipartBody1236735531445915059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972602869,"filename":"image_07112025_19_21_34_1682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bfdda797ded03f84fdca236db89bb71.jpg","text":"TemporaryFile(/tmp/multipartBody1820905454872928875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972602869,"filename":"image_07112025_19_20_13_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3570b6154cf8657a53c99952e80d62f6.jpg","text":"TemporaryFile(/tmp/multipartBody3095062978730043378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972602869,"filename":"image_07112025_19_21_32_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e1493314e61e6f035b2d95c6a84e901.jpg","text":"TemporaryFile(/tmp/multipartBody5348200099523852799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972602869,"filename":"image_07112025_19_20_11_11972.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781358","file1":"1399781356","file0":"1399781353","file4":"1399781360","file5":"1399781361","file3":"1399781359"},"map_files_photo_id_array":[{"photo_id":"1399781361","filename":"file5"},{"photo_id":"1399781358","filename":"file2"},{"photo_id":"1399781360","filename":"file4"},{"photo_id":"1399781356","filename":"file1"},{"photo_id":"1399781353","filename":"file0"},{"photo_id":"1399781359","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781361":["hashtag1","hashtag2"]},{"1399781358":["hashtag1","hashtag2"]},{"1399781360":["hashtag1","hashtag2"]},{"1399781356":["hashtag1","hashtag2"]},{"1399781359":["hashtag1","hashtag2"]},{"1399781353":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781361, 1399781358, 1399781360, 1399781356, 1399781359, 1399781353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03730773925781 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 12:56:22.386420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_14_9739.jpg', '/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_25_10639.jpg', '/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_35_9648.jpg', '/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_45_9803.jpg', '/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_54_9693.jpg', '/home/pi/Desktop/images/17122025/12/40/image_17122025_12_41_05_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_14_9739.jpg
/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_25_10639.jpg
/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_35_9648.jpg
/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_45_9803.jpg
/home/pi/Desktop/images/17122025/12/40/image_17122025_12_40_54_9693.jpg
/home/pi/Desktop/images/17122025/12/40/image_17122025_12_41_05_10575.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781376","1399781363","1399781372","1399781366","1399781369","1399781362"],"photo_ids_order":["1399781362","1399781363","1399781366","1399781369","1399781372","1399781376"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f238181dd7e7e8e56ccc0b6dd51a043.jpg","text":"TemporaryFile(/tmp/multipartBody7577441624800237535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972643007,"filename":"image_17122025_12_41_05_10575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f27f72544c3db029fda6dd8cdd33abd.jpg","text":"TemporaryFile(/tmp/multipartBody2736241031919249424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972643007,"filename":"image_17122025_12_40_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c5e87c23b25287f947ce1a2d33e330e.jpg","text":"TemporaryFile(/tmp/multipartBody6851574110388439410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972643007,"filename":"image_17122025_12_40_54_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa32e605b24d9658c440bcabfcc6af5d.jpg","text":"TemporaryFile(/tmp/multipartBody541952315562268822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972643007,"filename":"image_17122025_12_40_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c083346a522a9e1953ad7dfd44e49dec.jpg","text":"TemporaryFile(/tmp/multipartBody1906466289652659122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972643007,"filename":"image_17122025_12_40_45_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d27c4451439eb9a9dec9e8d8fb24677b.jpg","text":"TemporaryFile(/tmp/multipartBody5337907011317274623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972643007,"filename":"image_17122025_12_40_14_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781366","file1":"1399781363","file0":"1399781362","file4":"1399781372","file5":"1399781376","file3":"1399781369"},"map_files_photo_id_array":[{"photo_id":"1399781376","filename":"file5"},{"photo_id":"1399781366","filename":"file2"},{"photo_id":"1399781372","filename":"file4"},{"photo_id":"1399781363","filename":"file1"},{"photo_id":"1399781362","filename":"file0"},{"photo_id":"1399781369","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781376":["hashtag1","hashtag2"]},{"1399781363":["hashtag1","hashtag2"]},{"1399781372":["hashtag1","hashtag2"]},{"1399781366":["hashtag1","hashtag2"]},{"1399781369":["hashtag1","hashtag2"]},{"1399781362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781376, 1399781363, 1399781372, 1399781366, 1399781369, 1399781362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.89679527282715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:57:03.227535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_15_9706.jpg', '/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_25_10713.jpg', '/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_35_9630.jpg', '/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_45_9759.jpg', '/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_54_9641.jpg', '/home/pi/Desktop/images/17122025/12/41/image_17122025_12_42_05_10749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_15_9706.jpg
/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_25_10713.jpg
/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_35_9630.jpg
/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_45_9759.jpg
/home/pi/Desktop/images/17122025/12/41/image_17122025_12_41_54_9641.jpg
/home/pi/Desktop/images/17122025/12/41/image_17122025_12_42_05_10749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781409","1399781399","1399781411","1399781414","1399781413","1399781407"],"photo_ids_order":["1399781399","1399781407","1399781409","1399781411","1399781413","1399781414"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3956a555f21323912581c684670ab0d3.jpg","text":"TemporaryFile(/tmp/multipartBody1492491718907471920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972683913,"filename":"image_17122025_12_41_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52dbc40312bc20382839a24634546e0c.jpg","text":"TemporaryFile(/tmp/multipartBody8165144308537917322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972683913,"filename":"image_17122025_12_41_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07c32f96650496a0a5ca5710af0ff004.jpg","text":"TemporaryFile(/tmp/multipartBody1197000539384787738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972683913,"filename":"image_17122025_12_41_45_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fcba3e1f0e1ed888c129be30a7497a27.jpg","text":"TemporaryFile(/tmp/multipartBody1918535251711292643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972683913,"filename":"image_17122025_12_42_05_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74eb2e8601255efa6c55d9cb5e35877a.jpg","text":"TemporaryFile(/tmp/multipartBody1872142415385222607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972683913,"filename":"image_17122025_12_41_54_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4279393628fcd03f55a2e658b3a43d7e.jpg","text":"TemporaryFile(/tmp/multipartBody2108530574223877543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972683913,"filename":"image_17122025_12_41_25_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781409","file1":"1399781407","file0":"1399781399","file4":"1399781413","file5":"1399781414","file3":"1399781411"},"map_files_photo_id_array":[{"photo_id":"1399781414","filename":"file5"},{"photo_id":"1399781409","filename":"file2"},{"photo_id":"1399781413","filename":"file4"},{"photo_id":"1399781407","filename":"file1"},{"photo_id":"1399781399","filename":"file0"},{"photo_id":"1399781411","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781409":["hashtag1","hashtag2"]},{"1399781399":["hashtag1","hashtag2"]},{"1399781411":["hashtag1","hashtag2"]},{"1399781414":["hashtag1","hashtag2"]},{"1399781413":["hashtag1","hashtag2"]},{"1399781407":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781409, 1399781399, 1399781411, 1399781414, 1399781413, 1399781407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58215117454529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:57:42.684731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_39_1711.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_40_1668.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_43_2555.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_46_2745.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_52_2977.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_02_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_39_1711.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_40_1668.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_43_2555.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_46_2745.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_52_2977.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_02_9413.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6763343811035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 12:59:02.899571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_15_9670.jpg', '/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_24_9788.jpg', '/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_35_10650.jpg', '/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_45_9723.jpg', '/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_54_9636.jpg', '/home/pi/Desktop/images/17122025/12/42/image_17122025_12_43_05_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_15_9670.jpg
/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_24_9788.jpg
/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_35_10650.jpg
/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_45_9723.jpg
/home/pi/Desktop/images/17122025/12/42/image_17122025_12_42_54_9636.jpg
/home/pi/Desktop/images/17122025/12/42/image_17122025_12_43_05_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":["1399781427","1399781436","1399781439","1399781430","1399781432","1399781434"],"photo_ids_order":["1399781427","1399781430","1399781432","1399781434","1399781436","1399781439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d808a1cfd026f29c15bc4a620539571.jpg","text":"TemporaryFile(/tmp/multipartBody1667352271133890445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972803754,"filename":"image_17122025_12_42_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2aa7c5299fa3781de0fd605399ad331.jpg","text":"TemporaryFile(/tmp/multipartBody710898591159729045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972803754,"filename":"image_17122025_12_42_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aaf9a9f90dd9dbe59333baf102aefe14.jpg","text":"TemporaryFile(/tmp/multipartBody28272438789013559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972803754,"filename":"image_17122025_12_43_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be4d66c828e5f0447f449e2f80fd9391.jpg","text":"TemporaryFile(/tmp/multipartBody8767019577996589980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972803754,"filename":"image_17122025_12_42_24_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35fa31de424a76e31f68fa502253bd8d.jpg","text":"TemporaryFile(/tmp/multipartBody1868737573040199858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972803754,"filename":"image_17122025_12_42_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8438892b4d4afdb30b6b1cfd17b5c253.jpg","text":"TemporaryFile(/tmp/multipartBody8654760284981684810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972803754,"filename":"image_17122025_12_42_45_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781432","file1":"1399781430","file0":"1399781427","file4":"1399781436","file5":"1399781439","file3":"1399781434"},"map_files_photo_id_array":[{"photo_id":"1399781439","filename":"file5"},{"photo_id":"1399781432","filename":"file2"},{"photo_id":"1399781436","filename":"file4"},{"photo_id":"1399781430","filename":"file1"},{"photo_id":"1399781427","filename":"file0"},{"photo_id":"1399781434","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781427":["hashtag1","hashtag2"]},{"1399781436":["hashtag1","hashtag2"]},{"1399781439":["hashtag1","hashtag2"]},{"1399781430":["hashtag1","hashtag2"]},{"1399781432":["hashtag1","hashtag2"]},{"1399781434":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781427, 1399781436, 1399781439, 1399781430, 1399781432, 1399781434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1731595993042 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 12:59:41.996977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_39_1711.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_40_1668.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_43_2555.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_46_2745.jpg', '/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_52_2977.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_02_9413.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_39_1711.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_40_1668.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_43_2555.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_46_2745.jpg
/home/pi/Desktop/images/07112025/19/21/image_07112025_19_21_52_2977.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_02_9413.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781448","1399781442","1399781450","1399781453","1399781455","1399781445"],"photo_ids_order":["1399781442","1399781445","1399781448","1399781450","1399781453","1399781455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be7de34412140ff71926f3086a88b94c.jpg","text":"TemporaryFile(/tmp/multipartBody2118240707072056086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972842627,"filename":"image_07112025_19_21_43_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a74a34d115c22e023145fb8aa12cba9.jpg","text":"TemporaryFile(/tmp/multipartBody5545973878853889362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972842627,"filename":"image_07112025_19_21_39_1711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a497d231df792678b3d15e3780f996bb.jpg","text":"TemporaryFile(/tmp/multipartBody6067373142479065616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972842627,"filename":"image_07112025_19_21_46_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/402a7a807bf56c807fbc18d0ef734c16.jpg","text":"TemporaryFile(/tmp/multipartBody6361116266156499470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972842627,"filename":"image_07112025_19_21_52_2977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61acebf7b671c9a95d4333b782ce40c9.jpg","text":"TemporaryFile(/tmp/multipartBody7854225759470576687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972842627,"filename":"image_07112025_19_22_02_9413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b921fc7e54e0766f4447b66a16371d75.jpg","text":"TemporaryFile(/tmp/multipartBody620926630055406218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972842627,"filename":"image_07112025_19_21_40_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781448","file1":"1399781445","file0":"1399781442","file4":"1399781453","file5":"1399781455","file3":"1399781450"},"map_files_photo_id_array":[{"photo_id":"1399781455","filename":"file5"},{"photo_id":"1399781448","filename":"file2"},{"photo_id":"1399781453","filename":"file4"},{"photo_id":"1399781445","filename":"file1"},{"photo_id":"1399781442","filename":"file0"},{"photo_id":"1399781450","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781448":["hashtag1","hashtag2"]},{"1399781442":["hashtag1","hashtag2"]},{"1399781450":["hashtag1","hashtag2"]},{"1399781453":["hashtag1","hashtag2"]},{"1399781455":["hashtag1","hashtag2"]},{"1399781445":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781448, 1399781442, 1399781450, 1399781453, 1399781455, 1399781445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79669785499573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:00:22.370303
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_15_9732.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_25_9628.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_35_10579.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_45_9712.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_55_9768.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_44_04_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_15_9732.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_25_9628.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_35_10579.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_45_9712.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_55_9768.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_44_04_9819.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5199666023254395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:00:32.338579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:00:42.234510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_13_2763.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_22_2708.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_25_2970.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_31_3752.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_34_2636.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_39_2693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_13_2763.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_22_2708.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_25_2970.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_31_3752.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_34_2636.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_39_2693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781480","1399781474","1399781477","1399781479","1399781481","1399781478"],"photo_ids_order":["1399781474","1399781477","1399781478","1399781479","1399781480","1399781481"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82c58f63093bac0268ead66cbd02c805.jpg","text":"TemporaryFile(/tmp/multipartBody4346446079612577841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972903007,"filename":"image_07112025_19_22_34_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0245aed1af058c9fb2f17b33fd1b00af.jpg","text":"TemporaryFile(/tmp/multipartBody6841099948548509557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972903007,"filename":"image_07112025_19_22_13_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5cbb3f0dc007383bb2034e8be4cf4948.jpg","text":"TemporaryFile(/tmp/multipartBody7681881154621941162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972903007,"filename":"image_07112025_19_22_22_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/278870d20e0ed80922b305468e794cd1.jpg","text":"TemporaryFile(/tmp/multipartBody1283010906287192716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972903007,"filename":"image_07112025_19_22_31_3752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83d8a62a4c63e417a1e41b5c8e9b7ab2.jpg","text":"TemporaryFile(/tmp/multipartBody8814771769645311070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972903007,"filename":"image_07112025_19_22_39_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b05fc910d08ec4df6b064bf02bb55cd.jpg","text":"TemporaryFile(/tmp/multipartBody5712056921188911281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972903007,"filename":"image_07112025_19_22_25_2970.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781478","file1":"1399781477","file0":"1399781474","file4":"1399781480","file5":"1399781481","file3":"1399781479"},"map_files_photo_id_array":[{"photo_id":"1399781481","filename":"file5"},{"photo_id":"1399781478","filename":"file2"},{"photo_id":"1399781480","filename":"file4"},{"photo_id":"1399781477","filename":"file1"},{"photo_id":"1399781474","filename":"file0"},{"photo_id":"1399781479","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781480":["hashtag1","hashtag2"]},{"1399781474":["hashtag1","hashtag2"]},{"1399781477":["hashtag1","hashtag2"]},{"1399781479":["hashtag1","hashtag2"]},{"1399781481":["hashtag1","hashtag2"]},{"1399781478":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781480, 1399781474, 1399781477, 1399781479, 1399781481, 1399781478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.56492304801941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:01:22.468418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_15_9732.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_25_9628.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_35_10579.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_45_9712.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_55_9768.jpg', '/home/pi/Desktop/images/17122025/12/43/image_17122025_12_44_04_9819.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_15_9732.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_25_9628.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_35_10579.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_45_9712.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_43_55_9768.jpg
/home/pi/Desktop/images/17122025/12/43/image_17122025_12_44_04_9819.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781492","1399781489","1399781483","1399781485","1399781494","1399781487"],"photo_ids_order":["1399781483","1399781485","1399781487","1399781489","1399781492","1399781494"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41608765da017af8497946178b1d3c32.jpg","text":"TemporaryFile(/tmp/multipartBody6801901091104754331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972943107,"filename":"image_17122025_12_43_55_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/476ade5cfd381d67070f8f58c9507b66.jpg","text":"TemporaryFile(/tmp/multipartBody5778898763581221344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972943107,"filename":"image_17122025_12_43_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2525766127c0c37003a6fc70764e5ef5.jpg","text":"TemporaryFile(/tmp/multipartBody6256196036338282043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972943107,"filename":"image_17122025_12_43_15_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f16c86ccc7f7bba137cbbf0ccf45dd0e.jpg","text":"TemporaryFile(/tmp/multipartBody7346478511706002984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972943107,"filename":"image_17122025_12_43_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3853e74d40f0bacc5b05a7b36aba6bc9.jpg","text":"TemporaryFile(/tmp/multipartBody7805419653831948355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972943107,"filename":"image_17122025_12_44_04_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca048b9d8e8e2f10f629396cc518faee.jpg","text":"TemporaryFile(/tmp/multipartBody8470665366526081940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972943107,"filename":"image_17122025_12_43_35_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781487","file1":"1399781485","file0":"1399781483","file4":"1399781492","file5":"1399781494","file3":"1399781489"},"map_files_photo_id_array":[{"photo_id":"1399781494","filename":"file5"},{"photo_id":"1399781487","filename":"file2"},{"photo_id":"1399781492","filename":"file4"},{"photo_id":"1399781485","filename":"file1"},{"photo_id":"1399781483","filename":"file0"},{"photo_id":"1399781489","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781492":["hashtag1","hashtag2"]},{"1399781489":["hashtag1","hashtag2"]},{"1399781483":["hashtag1","hashtag2"]},{"1399781485":["hashtag1","hashtag2"]},{"1399781494":["hashtag1","hashtag2"]},{"1399781487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781492, 1399781489, 1399781483, 1399781485, 1399781494, 1399781487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37377905845642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:02:03.132083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_15_10763.jpg', '/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_25_9746.jpg', '/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_35_9702.jpg', '/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_45_10624.jpg', '/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_55_9704.jpg', '/home/pi/Desktop/images/17122025/12/44/image_17122025_12_45_05_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_15_10763.jpg
/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_25_9746.jpg
/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_35_9702.jpg
/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_45_10624.jpg
/home/pi/Desktop/images/17122025/12/44/image_17122025_12_44_55_9704.jpg
/home/pi/Desktop/images/17122025/12/44/image_17122025_12_45_05_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781502","1399781495","1399781498","1399781497","1399781496","1399781499"],"photo_ids_order":["1399781495","1399781496","1399781497","1399781498","1399781499","1399781502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4c08e4aacbc7cfd0b08a0aed8e57b1e.jpg","text":"TemporaryFile(/tmp/multipartBody4856170735762962038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972983785,"filename":"image_17122025_12_45_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac42d7952b4d142bc9eb3b68bfdadd72.jpg","text":"TemporaryFile(/tmp/multipartBody7482618682840825481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972983785,"filename":"image_17122025_12_44_15_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58c70f4f3a23c4d158e2c9f550aaae96.jpg","text":"TemporaryFile(/tmp/multipartBody2241837826430222880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972983785,"filename":"image_17122025_12_44_45_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa5dd7ced4b1b9758e440aff1bafdb0f.jpg","text":"TemporaryFile(/tmp/multipartBody27403328925723699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972983785,"filename":"image_17122025_12_44_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56eda233293c9f519b68dd02c4b1cf34.jpg","text":"TemporaryFile(/tmp/multipartBody2194645568983540812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972983785,"filename":"image_17122025_12_44_25_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03be14d98166740ca42d0244be167519.jpg","text":"TemporaryFile(/tmp/multipartBody6831116829727018752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765972983785,"filename":"image_17122025_12_44_55_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781497","file1":"1399781496","file0":"1399781495","file4":"1399781499","file5":"1399781502","file3":"1399781498"},"map_files_photo_id_array":[{"photo_id":"1399781502","filename":"file5"},{"photo_id":"1399781497","filename":"file2"},{"photo_id":"1399781499","filename":"file4"},{"photo_id":"1399781496","filename":"file1"},{"photo_id":"1399781495","filename":"file0"},{"photo_id":"1399781498","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781502":["hashtag1","hashtag2"]},{"1399781495":["hashtag1","hashtag2"]},{"1399781498":["hashtag1","hashtag2"]},{"1399781497":["hashtag1","hashtag2"]},{"1399781496":["hashtag1","hashtag2"]},{"1399781499":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781502, 1399781495, 1399781498, 1399781497, 1399781496, 1399781499)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10845351219177 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:02:42.772495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_43_3540.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_46_2746.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_49_3629.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_52_2615.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_55_2692.jpg', '/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_16_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_43_3540.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_46_2746.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_49_3629.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_52_2615.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_55_2692.jpg
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_16_2532.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6676397323608398 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:03:02.596285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_15_10668.jpg', '/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_25_9704.jpg', '/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_35_9773.jpg', '/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_44_9632.jpg', '/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_55_10787.jpg', '/home/pi/Desktop/images/17122025/12/45/image_17122025_12_46_05_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_15_10668.jpg
/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_25_9704.jpg
/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_35_9773.jpg
/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_44_9632.jpg
/home/pi/Desktop/images/17122025/12/45/image_17122025_12_45_55_10787.jpg
/home/pi/Desktop/images/17122025/12/45/image_17122025_12_46_05_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781526","1399781520","1399781523","1399781522","1399781521","1399781524"],"photo_ids_order":["1399781520","1399781521","1399781522","1399781523","1399781524","1399781526"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22aa9221809866eddc1ee1d785b15f27.jpg","text":"TemporaryFile(/tmp/multipartBody7076246851575003362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973043298,"filename":"image_17122025_12_46_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a5310bb74726c1ad473eba06e5353cf.jpg","text":"TemporaryFile(/tmp/multipartBody3227400615404763841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973043298,"filename":"image_17122025_12_45_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a239787c43359156ec3e749d66d4a6f.jpg","text":"TemporaryFile(/tmp/multipartBody7850249122567344308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973043298,"filename":"image_17122025_12_45_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8582620672efa1d65c1bab61bffb4fa1.jpg","text":"TemporaryFile(/tmp/multipartBody3139444587766591415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973043298,"filename":"image_17122025_12_45_35_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e54e699b9806c6b2b6d3b4fba4f4ce0.jpg","text":"TemporaryFile(/tmp/multipartBody3372212970228009007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973043298,"filename":"image_17122025_12_45_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2781ba661f13a1329425d13984679e3.jpg","text":"TemporaryFile(/tmp/multipartBody3195199030170876445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973043298,"filename":"image_17122025_12_45_55_10787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781522","file1":"1399781521","file0":"1399781520","file4":"1399781524","file5":"1399781526","file3":"1399781523"},"map_files_photo_id_array":[{"photo_id":"1399781526","filename":"file5"},{"photo_id":"1399781522","filename":"file2"},{"photo_id":"1399781524","filename":"file4"},{"photo_id":"1399781521","filename":"file1"},{"photo_id":"1399781520","filename":"file0"},{"photo_id":"1399781523","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781526":["hashtag1","hashtag2"]},{"1399781520":["hashtag1","hashtag2"]},{"1399781523":["hashtag1","hashtag2"]},{"1399781522":["hashtag1","hashtag2"]},{"1399781521":["hashtag1","hashtag2"]},{"1399781524":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781526, 1399781520, 1399781523, 1399781522, 1399781521, 1399781524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.61983251571655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:03:42.081801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_43_3540.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_46_2746.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_49_3629.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_52_2615.jpg', '/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_55_2692.jpg', '/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_16_2532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_43_3540.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_46_2746.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_49_3629.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_52_2615.jpg
/home/pi/Desktop/images/07112025/19/22/image_07112025_19_22_55_2692.jpg
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_16_2532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781535","1399781538","1399781537","1399781531","1399781534","1399781536"],"photo_ids_order":["1399781531","1399781534","1399781535","1399781536","1399781537","1399781538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97a6073c432f698194701b7e9c7aca9f.jpg","text":"TemporaryFile(/tmp/multipartBody8287968282232691531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973082721,"filename":"image_07112025_19_22_49_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd4f8c406f33a6cd7b9c0cb490320efb.jpg","text":"TemporaryFile(/tmp/multipartBody1421869116001411500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973082721,"filename":"image_07112025_19_23_16_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b989a6b51058dbfc04428b5889dfbfd0.jpg","text":"TemporaryFile(/tmp/multipartBody7440195810963620680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973082721,"filename":"image_07112025_19_22_55_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9be2a44416e6a9920034a34bcc10e32a.jpg","text":"TemporaryFile(/tmp/multipartBody3197334248322723230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973082721,"filename":"image_07112025_19_22_43_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1244d5b4099b152bee5cceac87792efd.jpg","text":"TemporaryFile(/tmp/multipartBody5244029487377046540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973082721,"filename":"image_07112025_19_22_46_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06a6507c4265cb6bd8b785f0868ed386.jpg","text":"TemporaryFile(/tmp/multipartBody5659183386940062063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973082721,"filename":"image_07112025_19_22_52_2615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781535","file1":"1399781534","file0":"1399781531","file4":"1399781537","file5":"1399781538","file3":"1399781536"},"map_files_photo_id_array":[{"photo_id":"1399781538","filename":"file5"},{"photo_id":"1399781535","filename":"file2"},{"photo_id":"1399781537","filename":"file4"},{"photo_id":"1399781534","filename":"file1"},{"photo_id":"1399781531","filename":"file0"},{"photo_id":"1399781536","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781535":["hashtag1","hashtag2"]},{"1399781538":["hashtag1","hashtag2"]},{"1399781537":["hashtag1","hashtag2"]},{"1399781531":["hashtag1","hashtag2"]},{"1399781534":["hashtag1","hashtag2"]},{"1399781536":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781535, 1399781538, 1399781537, 1399781531, 1399781534, 1399781536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.254398822784424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:04:22.343755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_14_9585.jpg', '/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_24_9808.jpg', '/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_35_10723.jpg', '/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_45_9732.jpg', '/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_54_9605.jpg', '/home/pi/Desktop/images/17122025/12/46/image_17122025_12_47_05_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_14_9585.jpg
/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_24_9808.jpg
/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_35_10723.jpg
/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_45_9732.jpg
/home/pi/Desktop/images/17122025/12/46/image_17122025_12_46_54_9605.jpg
/home/pi/Desktop/images/17122025/12/46/image_17122025_12_47_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":["1399781543","1399781551","1399781548","1399781542","1399781545","1399781539"],"photo_ids_order":["1399781539","1399781542","1399781543","1399781545","1399781548","1399781551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7eaa08bcf1cb522e2a9ef4194cce284.jpg","text":"TemporaryFile(/tmp/multipartBody1146998913859340448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973123004,"filename":"image_17122025_12_46_35_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/264d13e6755dbe65a884f7b03945108b.jpg","text":"TemporaryFile(/tmp/multipartBody3097977959729698029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973123004,"filename":"image_17122025_12_47_05_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/328dbba108831a2b8cfdfd9b8465a76b.jpg","text":"TemporaryFile(/tmp/multipartBody3373544020350286717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973123004,"filename":"image_17122025_12_46_54_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b1b9d2176fd722eefd66fb9f1147271.jpg","text":"TemporaryFile(/tmp/multipartBody2141436287096938110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973123004,"filename":"image_17122025_12_46_24_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1076c8f0bc54624129604bb84fe9373c.jpg","text":"TemporaryFile(/tmp/multipartBody3402212623313840448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973123004,"filename":"image_17122025_12_46_45_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72afb51d02edd755f98bd84f726139de.jpg","text":"TemporaryFile(/tmp/multipartBody460563717171861844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973123004,"filename":"image_17122025_12_46_14_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781543","file1":"1399781542","file0":"1399781539","file4":"1399781548","file5":"1399781551","file3":"1399781545"},"map_files_photo_id_array":[{"photo_id":"1399781551","filename":"file5"},{"photo_id":"1399781543","filename":"file2"},{"photo_id":"1399781548","filename":"file4"},{"photo_id":"1399781542","filename":"file1"},{"photo_id":"1399781539","filename":"file0"},{"photo_id":"1399781545","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781543":["hashtag1","hashtag2"]},{"1399781551":["hashtag1","hashtag2"]},{"1399781548":["hashtag1","hashtag2"]},{"1399781542":["hashtag1","hashtag2"]},{"1399781545":["hashtag1","hashtag2"]},{"1399781539":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781543, 1399781551, 1399781548, 1399781542, 1399781545, 1399781539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.038331031799316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:05:03.239142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_15_9692.jpg', '/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_24_9742.jpg', '/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_35_10764.jpg', '/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_45_9637.jpg', '/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_55_9833.jpg', '/home/pi/Desktop/images/17122025/12/47/image_17122025_12_48_04_9753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_15_9692.jpg
/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_24_9742.jpg
/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_35_10764.jpg
/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_45_9637.jpg
/home/pi/Desktop/images/17122025/12/47/image_17122025_12_47_55_9833.jpg
/home/pi/Desktop/images/17122025/12/47/image_17122025_12_48_04_9753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781568","1399781556","1399781585","1399781587","1399781589","1399781580"],"photo_ids_order":["1399781556","1399781568","1399781580","1399781585","1399781587","1399781589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c5bbbd45545ea43a973defafc58dc00.jpg","text":"TemporaryFile(/tmp/multipartBody259213017582998787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973163976,"filename":"image_17122025_12_47_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a22c205efa2ac6134c22ad10d20cf30.jpg","text":"TemporaryFile(/tmp/multipartBody1559026768520057641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973163976,"filename":"image_17122025_12_47_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83d04e2300e27aeee608f8e9f124d7a9.jpg","text":"TemporaryFile(/tmp/multipartBody487720813113406998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973163976,"filename":"image_17122025_12_47_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d329ee8372382b1523af1e2f3fc7fb2c.jpg","text":"TemporaryFile(/tmp/multipartBody3463626796257362814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973163976,"filename":"image_17122025_12_47_55_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c785c4720958472c703da7a80e7d2af5.jpg","text":"TemporaryFile(/tmp/multipartBody1734733406096448857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973163976,"filename":"image_17122025_12_48_04_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad896f319c18a807795866c9d836c8cb.jpg","text":"TemporaryFile(/tmp/multipartBody6858852906679568865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973163976,"filename":"image_17122025_12_47_35_10764.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781580","file1":"1399781568","file0":"1399781556","file4":"1399781587","file5":"1399781589","file3":"1399781585"},"map_files_photo_id_array":[{"photo_id":"1399781589","filename":"file5"},{"photo_id":"1399781580","filename":"file2"},{"photo_id":"1399781587","filename":"file4"},{"photo_id":"1399781568","filename":"file1"},{"photo_id":"1399781556","filename":"file0"},{"photo_id":"1399781585","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781568":["hashtag1","hashtag2"]},{"1399781556":["hashtag1","hashtag2"]},{"1399781585":["hashtag1","hashtag2"]},{"1399781587":["hashtag1","hashtag2"]},{"1399781589":["hashtag1","hashtag2"]},{"1399781580":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781568, 1399781556, 1399781585, 1399781587, 1399781589, 1399781580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.427608013153076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:05:42.471088
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_18_2707.jpg', '/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_22_3834.jpg', '/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_28_2670.jpg', '/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_34_3655.jpg', '/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_39_2668.jpg', '/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_43_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_18_2707.jpg
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_22_3834.jpg
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_28_2670.jpg
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_34_3655.jpg
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_39_2668.jpg
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_43_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781607","1399781610","1399781594","1399781606","1399781609","1399781608"],"photo_ids_order":["1399781594","1399781606","1399781607","1399781608","1399781609","1399781610"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f14ae368158f43ef4c5bc36b06853b45.jpg","text":"TemporaryFile(/tmp/multipartBody7468191107566397403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973203286,"filename":"image_07112025_19_23_28_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/acdcf62ba006e15b51d2c22bb9b065e8.jpg","text":"TemporaryFile(/tmp/multipartBody5333549798318299995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973203286,"filename":"image_07112025_19_23_43_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9c9c4752a693e0792cb2aab99a49dd7.jpg","text":"TemporaryFile(/tmp/multipartBody6587429612277643608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973203286,"filename":"image_07112025_19_23_18_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78895038a3d2c3246ac86c695d99a1e4.jpg","text":"TemporaryFile(/tmp/multipartBody158280910666762713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973203286,"filename":"image_07112025_19_23_22_3834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c24ca851a49f2d6ea8dd29679c21a2a.jpg","text":"TemporaryFile(/tmp/multipartBody9096854720688881860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973203286,"filename":"image_07112025_19_23_39_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bf55ea2e6192853cd0dfe1c9da56c5d.jpg","text":"TemporaryFile(/tmp/multipartBody3656773029234307914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973203286,"filename":"image_07112025_19_23_34_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781607","file1":"1399781606","file0":"1399781594","file4":"1399781609","file5":"1399781610","file3":"1399781608"},"map_files_photo_id_array":[{"photo_id":"1399781610","filename":"file5"},{"photo_id":"1399781607","filename":"file2"},{"photo_id":"1399781609","filename":"file4"},{"photo_id":"1399781606","filename":"file1"},{"photo_id":"1399781594","filename":"file0"},{"photo_id":"1399781608","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781607":["hashtag1","hashtag2"]},{"1399781610":["hashtag1","hashtag2"]},{"1399781594":["hashtag1","hashtag2"]},{"1399781606":["hashtag1","hashtag2"]},{"1399781609":["hashtag1","hashtag2"]},{"1399781608":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781607, 1399781610, 1399781594, 1399781606, 1399781609, 1399781608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.052146196365356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:06:22.727706
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_15_10736.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_25_9860.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_35_9700.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_44_9776.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_55_10720.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_49_05_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_15_10736.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_25_9860.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_35_9700.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_44_9776.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_55_10720.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_49_05_9743.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5325686931610107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:06:32.729531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:06:42.688342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_46_2633.jpg', '/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_52_3634.jpg', '/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_55_2744.jpg', '/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_04_3669.jpg', '/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_07_2545.jpg', '/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_09_2788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_46_2633.jpg
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_52_3634.jpg
/home/pi/Desktop/images/07112025/19/23/image_07112025_19_23_55_2744.jpg
/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_04_3669.jpg
/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_07_2545.jpg
/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_09_2788.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781625","1399781628","1399781622","1399781627","1399781629","1399781626"],"photo_ids_order":["1399781622","1399781625","1399781626","1399781627","1399781628","1399781629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e099e2fdc3914a24a0512f2e70e6666.jpg","text":"TemporaryFile(/tmp/multipartBody285349705412985365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973263495,"filename":"image_07112025_19_23_52_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95374f5e5da0071c3befebc9412f38b2.jpg","text":"TemporaryFile(/tmp/multipartBody5494543257156903071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973263495,"filename":"image_07112025_19_24_07_2545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a346a13064c5d1f816c8b997e2ffff65.jpg","text":"TemporaryFile(/tmp/multipartBody8727890565682067291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973263495,"filename":"image_07112025_19_23_46_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94241517166a3b497496406c1a8a33f1.jpg","text":"TemporaryFile(/tmp/multipartBody5215222674507046734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973263495,"filename":"image_07112025_19_24_04_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0909a421b62c5dd46411eab4914dcde.jpg","text":"TemporaryFile(/tmp/multipartBody8285532248593075381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973263495,"filename":"image_07112025_19_24_09_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d06899d1f9d3664c539353df72929e4.jpg","text":"TemporaryFile(/tmp/multipartBody1374661251476546367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973263495,"filename":"image_07112025_19_23_55_2744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781626","file1":"1399781625","file0":"1399781622","file4":"1399781628","file5":"1399781629","file3":"1399781627"},"map_files_photo_id_array":[{"photo_id":"1399781629","filename":"file5"},{"photo_id":"1399781626","filename":"file2"},{"photo_id":"1399781628","filename":"file4"},{"photo_id":"1399781625","filename":"file1"},{"photo_id":"1399781622","filename":"file0"},{"photo_id":"1399781627","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781625":["hashtag1","hashtag2"]},{"1399781628":["hashtag1","hashtag2"]},{"1399781622":["hashtag1","hashtag2"]},{"1399781627":["hashtag1","hashtag2"]},{"1399781629":["hashtag1","hashtag2"]},{"1399781626":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781625, 1399781628, 1399781622, 1399781627, 1399781629, 1399781626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95648527145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:07:21.982138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_15_10736.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_25_9860.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_35_9700.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_44_9776.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_55_10720.jpg', '/home/pi/Desktop/images/17122025/12/48/image_17122025_12_49_05_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_15_10736.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_25_9860.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_35_9700.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_44_9776.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_48_55_10720.jpg
/home/pi/Desktop/images/17122025/12/48/image_17122025_12_49_05_9743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781634","1399781636","1399781630","1399781632","1399781641","1399781638"],"photo_ids_order":["1399781630","1399781632","1399781634","1399781636","1399781638","1399781641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d1eff049b2615413cd35c611b25a146.jpg","text":"TemporaryFile(/tmp/multipartBody8655304376062378114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973302622,"filename":"image_17122025_12_48_35_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/832b162df72d9bacd1dbf0d8b4b9fb0a.jpg","text":"TemporaryFile(/tmp/multipartBody7397387707472740138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973302622,"filename":"image_17122025_12_48_44_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/361eb321c998b516d0634ffeebfb02b7.jpg","text":"TemporaryFile(/tmp/multipartBody7828579598984267195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973302622,"filename":"image_17122025_12_48_15_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93167beea49fdbcda88296be9e8b20f6.jpg","text":"TemporaryFile(/tmp/multipartBody3257467452093435243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973302622,"filename":"image_17122025_12_48_25_9860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abd7445662e81a7c3ca8ac4f1e9c828b.jpg","text":"TemporaryFile(/tmp/multipartBody3810670132762040421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973302622,"filename":"image_17122025_12_49_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90277f555563042df5c6b91cc66c386b.jpg","text":"TemporaryFile(/tmp/multipartBody9005987256857050509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973302622,"filename":"image_17122025_12_48_55_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781634","file1":"1399781632","file0":"1399781630","file4":"1399781638","file5":"1399781641","file3":"1399781636"},"map_files_photo_id_array":[{"photo_id":"1399781641","filename":"file5"},{"photo_id":"1399781634","filename":"file2"},{"photo_id":"1399781638","filename":"file4"},{"photo_id":"1399781632","filename":"file1"},{"photo_id":"1399781630","filename":"file0"},{"photo_id":"1399781636","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781634":["hashtag1","hashtag2"]},{"1399781636":["hashtag1","hashtag2"]},{"1399781630":["hashtag1","hashtag2"]},{"1399781632":["hashtag1","hashtag2"]},{"1399781641":["hashtag1","hashtag2"]},{"1399781638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781634, 1399781636, 1399781630, 1399781632, 1399781641, 1399781638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33321285247803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:08:02.775162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_15_9785.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_25_9882.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_35_10685.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_45_9582.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_54_9715.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_50_04_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_15_9785.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_25_9882.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_35_10685.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_45_9582.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_54_9715.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_50_04_9840.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5412113666534424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:08:12.289920
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:08:22.324835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_15_9785.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_25_9882.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_35_10685.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_45_9582.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_54_9715.jpg', '/home/pi/Desktop/images/17122025/12/49/image_17122025_12_50_04_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_15_9785.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_25_9882.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_35_10685.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_45_9582.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_49_54_9715.jpg
/home/pi/Desktop/images/17122025/12/49/image_17122025_12_50_04_9840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781655","1399781649","1399781651","1399781683","1399781653","1399781664"],"photo_ids_order":["1399781649","1399781651","1399781653","1399781655","1399781664","1399781683"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27f9cf6e58119e8caba241d92c408751.jpg","text":"TemporaryFile(/tmp/multipartBody705619165902089778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973363003,"filename":"image_17122025_12_49_45_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e17f966642373becef1973b31bca8f55.jpg","text":"TemporaryFile(/tmp/multipartBody87194340500953093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973363003,"filename":"image_17122025_12_49_15_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84c21843dbcd47dda0356492b0789df2.jpg","text":"TemporaryFile(/tmp/multipartBody8635948061243965012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973363003,"filename":"image_17122025_12_49_25_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6cc61b823e08e55ae3d94cd44e8a72b5.jpg","text":"TemporaryFile(/tmp/multipartBody8445096024991454972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973363003,"filename":"image_17122025_12_50_04_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/270db704e07e2073ed711d6c8d342f68.jpg","text":"TemporaryFile(/tmp/multipartBody3978019367861867841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973363003,"filename":"image_17122025_12_49_35_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/737d3a3145aaa3c7dd44006fa6926aa6.jpg","text":"TemporaryFile(/tmp/multipartBody3776834746394007519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973363003,"filename":"image_17122025_12_49_54_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781653","file1":"1399781651","file0":"1399781649","file4":"1399781664","file5":"1399781683","file3":"1399781655"},"map_files_photo_id_array":[{"photo_id":"1399781683","filename":"file5"},{"photo_id":"1399781653","filename":"file2"},{"photo_id":"1399781664","filename":"file4"},{"photo_id":"1399781651","filename":"file1"},{"photo_id":"1399781649","filename":"file0"},{"photo_id":"1399781655","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781655":["hashtag1","hashtag2"]},{"1399781649":["hashtag1","hashtag2"]},{"1399781651":["hashtag1","hashtag2"]},{"1399781683":["hashtag1","hashtag2"]},{"1399781653":["hashtag1","hashtag2"]},{"1399781664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781655, 1399781649, 1399781651, 1399781683, 1399781653, 1399781664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53527092933655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:09:03.478334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_15_10841.jpg', '/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_25_9568.jpg', '/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_34_9746.jpg', '/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_45_10666.jpg', '/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_55_9640.jpg', '/home/pi/Desktop/images/17122025/12/50/image_17122025_12_51_04_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_15_10841.jpg
/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_25_9568.jpg
/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_34_9746.jpg
/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_45_10666.jpg
/home/pi/Desktop/images/17122025/12/50/image_17122025_12_50_55_9640.jpg
/home/pi/Desktop/images/17122025/12/50/image_17122025_12_51_04_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781684","1399781693","1399781702","1399781705","1399781701","1399781704"],"photo_ids_order":["1399781684","1399781693","1399781701","1399781702","1399781704","1399781705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a069edc29a884f54e6e126d273280da.jpg","text":"TemporaryFile(/tmp/multipartBody1668482642342521523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973404294,"filename":"image_17122025_12_50_15_10841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01a38744988f434465c097cf68e4b35c.jpg","text":"TemporaryFile(/tmp/multipartBody5440343713894397396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973404294,"filename":"image_17122025_12_50_25_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ab4bf698fb0779f57acd20e8edf5dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7325691981853431318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973404294,"filename":"image_17122025_12_50_45_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/272d3e7cd1755da15feb361d88d71306.jpg","text":"TemporaryFile(/tmp/multipartBody8632715562511427955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973404294,"filename":"image_17122025_12_51_04_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/861fc8a4be9939139dda7e9c3d0db433.jpg","text":"TemporaryFile(/tmp/multipartBody1871564599726166021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973404294,"filename":"image_17122025_12_50_34_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87c9a0b3ba71783548a9538eb7a8a420.jpg","text":"TemporaryFile(/tmp/multipartBody9020541332234946614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973404294,"filename":"image_17122025_12_50_55_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781701","file1":"1399781693","file0":"1399781684","file4":"1399781704","file5":"1399781705","file3":"1399781702"},"map_files_photo_id_array":[{"photo_id":"1399781705","filename":"file5"},{"photo_id":"1399781701","filename":"file2"},{"photo_id":"1399781704","filename":"file4"},{"photo_id":"1399781693","filename":"file1"},{"photo_id":"1399781684","filename":"file0"},{"photo_id":"1399781702","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781684":["hashtag1","hashtag2"]},{"1399781693":["hashtag1","hashtag2"]},{"1399781702":["hashtag1","hashtag2"]},{"1399781705":["hashtag1","hashtag2"]},{"1399781701":["hashtag1","hashtag2"]},{"1399781704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781684, 1399781693, 1399781702, 1399781705, 1399781701, 1399781704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10988211631775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:09:42.525914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_16_2639.jpg', '/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_27_2694.jpg', '/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_34_2565.jpg', '/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_36_2744.jpg', '/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_54_2599.jpg', '/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_01_2630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_16_2639.jpg
/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_27_2694.jpg
/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_34_2565.jpg
/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_36_2744.jpg
/home/pi/Desktop/images/07112025/19/24/image_07112025_19_24_54_2599.jpg
/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_01_2630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781712","1399781715","1399781711","1399781714","1399781713","1399781710"],"photo_ids_order":["1399781710","1399781711","1399781712","1399781713","1399781714","1399781715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d2b778007aee3be11e33890f1ed3452.jpg","text":"TemporaryFile(/tmp/multipartBody4696544133383719345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973443338,"filename":"image_07112025_19_24_34_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4de0af5435f3957027aaab6f28b2add6.jpg","text":"TemporaryFile(/tmp/multipartBody1448468826640488453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973443338,"filename":"image_07112025_19_25_01_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b06bd4afc75f42bc4d86b82ec9041d5f.jpg","text":"TemporaryFile(/tmp/multipartBody8718078919516182714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973443338,"filename":"image_07112025_19_24_27_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e9504750ad9d46b1b88295562a41cb4.jpg","text":"TemporaryFile(/tmp/multipartBody5401881795674543035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973443338,"filename":"image_07112025_19_24_54_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f3ce6f6e22b43999a745fa8f0df7520.jpg","text":"TemporaryFile(/tmp/multipartBody2871126621830223774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973443338,"filename":"image_07112025_19_24_36_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f389b95e4d96f50bb51585182053f44e.jpg","text":"TemporaryFile(/tmp/multipartBody755291800575973921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973443338,"filename":"image_07112025_19_24_16_2639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781712","file1":"1399781711","file0":"1399781710","file4":"1399781714","file5":"1399781715","file3":"1399781713"},"map_files_photo_id_array":[{"photo_id":"1399781715","filename":"file5"},{"photo_id":"1399781712","filename":"file2"},{"photo_id":"1399781714","filename":"file4"},{"photo_id":"1399781711","filename":"file1"},{"photo_id":"1399781710","filename":"file0"},{"photo_id":"1399781713","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781712":["hashtag1","hashtag2"]},{"1399781715":["hashtag1","hashtag2"]},{"1399781711":["hashtag1","hashtag2"]},{"1399781714":["hashtag1","hashtag2"]},{"1399781713":["hashtag1","hashtag2"]},{"1399781710":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781712, 1399781715, 1399781711, 1399781714, 1399781713, 1399781710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.076404094696045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:10:22.780016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_15_10667.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_25_9730.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_34_9571.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_45_10742.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_55_9690.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_52_04_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_15_10667.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_25_9730.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_34_9571.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_45_10742.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_55_9690.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_52_04_9582.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5198020935058594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:10:32.771165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:10:42.794464
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_04_3141.jpg', '/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_06_2715.jpg', '/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_09_2800.jpg', '/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_22_3689.jpg', '/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_34_2668.jpg', '/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_36_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_04_3141.jpg
/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_06_2715.jpg
/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_09_2800.jpg
/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_22_3689.jpg
/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_34_2668.jpg
/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_36_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781730","1399781727","1399781741","1399781729","1399781738","1399781728"],"photo_ids_order":["1399781727","1399781728","1399781729","1399781730","1399781738","1399781741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94b9576a2279c1a69c4d8716c543aed5.jpg","text":"TemporaryFile(/tmp/multipartBody3718838197358973855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973503599,"filename":"image_07112025_19_25_22_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2343d19010d3f3338b791ea141daa70.jpg","text":"TemporaryFile(/tmp/multipartBody5532843655673037942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973503599,"filename":"image_07112025_19_25_04_3141.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4be6bb5ada9cc5ec77aba8c3533bf10d.jpg","text":"TemporaryFile(/tmp/multipartBody5618546577194424040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973503599,"filename":"image_07112025_19_25_36_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c34a7e4708ab2c77c23671a1bbbd8c4.jpg","text":"TemporaryFile(/tmp/multipartBody957154625293494022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973503599,"filename":"image_07112025_19_25_09_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1184ebcd61a8154128c65df992e9a64.jpg","text":"TemporaryFile(/tmp/multipartBody2477870313528636078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973503599,"filename":"image_07112025_19_25_34_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6d81d1da9d357a9357092af34d8e52e.jpg","text":"TemporaryFile(/tmp/multipartBody6355028766984772992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973503599,"filename":"image_07112025_19_25_06_2715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781729","file1":"1399781728","file0":"1399781727","file4":"1399781738","file5":"1399781741","file3":"1399781730"},"map_files_photo_id_array":[{"photo_id":"1399781741","filename":"file5"},{"photo_id":"1399781729","filename":"file2"},{"photo_id":"1399781738","filename":"file4"},{"photo_id":"1399781728","filename":"file1"},{"photo_id":"1399781727","filename":"file0"},{"photo_id":"1399781730","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781730":["hashtag1","hashtag2"]},{"1399781727":["hashtag1","hashtag2"]},{"1399781741":["hashtag1","hashtag2"]},{"1399781729":["hashtag1","hashtag2"]},{"1399781738":["hashtag1","hashtag2"]},{"1399781728":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781730, 1399781727, 1399781741, 1399781729, 1399781738, 1399781728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02567529678345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:11:22.074722
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_15_10667.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_25_9730.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_34_9571.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_45_10742.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_55_9690.jpg', '/home/pi/Desktop/images/17122025/12/51/image_17122025_12_52_04_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_15_10667.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_25_9730.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_34_9571.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_45_10742.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_51_55_9690.jpg
/home/pi/Desktop/images/17122025/12/51/image_17122025_12_52_04_9582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781745","1399781770","1399781752","1399781755","1399781749","1399781757"],"photo_ids_order":["1399781745","1399781749","1399781752","1399781755","1399781757","1399781770"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73b3c243aebcf7434846289bd8091677.jpg","text":"TemporaryFile(/tmp/multipartBody463124358801419127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973542703,"filename":"image_17122025_12_51_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47578b2d6caedad4ee8e7980cafd23e0.jpg","text":"TemporaryFile(/tmp/multipartBody350568578302279841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973542703,"filename":"image_17122025_12_52_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c308ffa6652c735bb9c9212ef45c8513.jpg","text":"TemporaryFile(/tmp/multipartBody2483239667841953637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973542703,"filename":"image_17122025_12_51_34_9571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/794ac57b0d9fcff0592c50cf79a4b636.jpg","text":"TemporaryFile(/tmp/multipartBody7850195523231577465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973542703,"filename":"image_17122025_12_51_45_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46a518a698b71e59f49c20b6cd81c152.jpg","text":"TemporaryFile(/tmp/multipartBody7229200574176349307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973542703,"filename":"image_17122025_12_51_25_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67f5688712cb56346220344dd8e046f5.jpg","text":"TemporaryFile(/tmp/multipartBody1254635430153884691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973542703,"filename":"image_17122025_12_51_55_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781752","file1":"1399781749","file0":"1399781745","file4":"1399781757","file5":"1399781770","file3":"1399781755"},"map_files_photo_id_array":[{"photo_id":"1399781770","filename":"file5"},{"photo_id":"1399781752","filename":"file2"},{"photo_id":"1399781757","filename":"file4"},{"photo_id":"1399781749","filename":"file1"},{"photo_id":"1399781745","filename":"file0"},{"photo_id":"1399781755","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781745":["hashtag1","hashtag2"]},{"1399781770":["hashtag1","hashtag2"]},{"1399781752":["hashtag1","hashtag2"]},{"1399781755":["hashtag1","hashtag2"]},{"1399781749":["hashtag1","hashtag2"]},{"1399781757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781745, 1399781770, 1399781752, 1399781755, 1399781749, 1399781757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.419978857040405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:12:02.638859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_15_10676.jpg', '/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_25_9848.jpg', '/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_35_9689.jpg', '/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_44_9692.jpg', '/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_55_10790.jpg', '/home/pi/Desktop/images/17122025/12/52/image_17122025_12_53_05_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_15_10676.jpg
/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_25_9848.jpg
/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_35_9689.jpg
/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_44_9692.jpg
/home/pi/Desktop/images/17122025/12/52/image_17122025_12_52_55_10790.jpg
/home/pi/Desktop/images/17122025/12/52/image_17122025_12_53_05_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":["1399781771","1399781774","1399781777","1399781773","1399781772","1399781775"],"photo_ids_order":["1399781771","1399781772","1399781773","1399781774","1399781775","1399781777"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3925389b3fd909756d6b2b42ffe422d2.jpg","text":"TemporaryFile(/tmp/multipartBody2536369373351628337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973583292,"filename":"image_17122025_12_52_15_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/47c2e2b14fecdd21c0c7ffa4a7fefa37.jpg","text":"TemporaryFile(/tmp/multipartBody4464996778334157487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973583292,"filename":"image_17122025_12_52_44_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a2543ea720900b37656da01e0fc05cd.jpg","text":"TemporaryFile(/tmp/multipartBody1513722568533195262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973583292,"filename":"image_17122025_12_53_05_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17d41494e4cc3a58b91033b5202655a6.jpg","text":"TemporaryFile(/tmp/multipartBody483513530293856094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973583292,"filename":"image_17122025_12_52_35_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b536b61a2976fefad953ae2d3e3fdae.jpg","text":"TemporaryFile(/tmp/multipartBody7616890699391019005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973583292,"filename":"image_17122025_12_52_25_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3598bc834d6328f047612da82eeecdc1.jpg","text":"TemporaryFile(/tmp/multipartBody3498299063068853762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973583292,"filename":"image_17122025_12_52_55_10790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781773","file1":"1399781772","file0":"1399781771","file4":"1399781775","file5":"1399781777","file3":"1399781774"},"map_files_photo_id_array":[{"photo_id":"1399781777","filename":"file5"},{"photo_id":"1399781773","filename":"file2"},{"photo_id":"1399781775","filename":"file4"},{"photo_id":"1399781772","filename":"file1"},{"photo_id":"1399781771","filename":"file0"},{"photo_id":"1399781774","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781771":["hashtag1","hashtag2"]},{"1399781774":["hashtag1","hashtag2"]},{"1399781777":["hashtag1","hashtag2"]},{"1399781773":["hashtag1","hashtag2"]},{"1399781772":["hashtag1","hashtag2"]},{"1399781775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781771, 1399781774, 1399781777, 1399781773, 1399781772, 1399781775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49915289878845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:12:42.284604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_40_3663.jpg', '/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_49_3586.jpg', '/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_01_2717.jpg', '/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_03_2685.jpg', '/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_07_3703.jpg', '/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_10_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_40_3663.jpg
/home/pi/Desktop/images/07112025/19/25/image_07112025_19_25_49_3586.jpg
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_01_2717.jpg
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_03_2685.jpg
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_07_3703.jpg
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_10_2662.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781802","1399781786","1399781801","1399781800","1399781799","1399781796"],"photo_ids_order":["1399781786","1399781796","1399781799","1399781800","1399781801","1399781802"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2107dd26242efb13574daee4ef44537.jpg","text":"TemporaryFile(/tmp/multipartBody8348659297518771421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973623060,"filename":"image_07112025_19_26_10_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d7490f9660eebc315fc707374b407a2.jpg","text":"TemporaryFile(/tmp/multipartBody7317402103962493526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973623060,"filename":"image_07112025_19_25_40_3663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f72985880fa27a2ff55950bb6589228e.jpg","text":"TemporaryFile(/tmp/multipartBody746985264379155756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973623060,"filename":"image_07112025_19_26_07_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7608afc941a167fe8b8d645a707283ea.jpg","text":"TemporaryFile(/tmp/multipartBody5108494706748352867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973623060,"filename":"image_07112025_19_26_03_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03402d218d9464e4b41cf867b9d93c10.jpg","text":"TemporaryFile(/tmp/multipartBody1068760033265901907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973623060,"filename":"image_07112025_19_26_01_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c818e454f13df7772f8ef5d2197c1365.jpg","text":"TemporaryFile(/tmp/multipartBody7676539303398402055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973623060,"filename":"image_07112025_19_25_49_3586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781799","file1":"1399781796","file0":"1399781786","file4":"1399781801","file5":"1399781802","file3":"1399781800"},"map_files_photo_id_array":[{"photo_id":"1399781802","filename":"file5"},{"photo_id":"1399781799","filename":"file2"},{"photo_id":"1399781801","filename":"file4"},{"photo_id":"1399781796","filename":"file1"},{"photo_id":"1399781786","filename":"file0"},{"photo_id":"1399781800","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781802":["hashtag1","hashtag2"]},{"1399781786":["hashtag1","hashtag2"]},{"1399781801":["hashtag1","hashtag2"]},{"1399781800":["hashtag1","hashtag2"]},{"1399781799":["hashtag1","hashtag2"]},{"1399781796":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781802, 1399781786, 1399781801, 1399781800, 1399781799, 1399781796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13687992095947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:13:22.597218
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_15_9809.jpg', '/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_24_9665.jpg', '/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_35_10613.jpg', '/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_45_9644.jpg', '/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_54_9749.jpg', '/home/pi/Desktop/images/17122025/12/53/image_17122025_12_54_05_10619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_15_9809.jpg
/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_24_9665.jpg
/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_35_10613.jpg
/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_45_9644.jpg
/home/pi/Desktop/images/17122025/12/53/image_17122025_12_53_54_9749.jpg
/home/pi/Desktop/images/17122025/12/53/image_17122025_12_54_05_10619.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781811","1399781814","1399781808","1399781804","1399781815","1399781806"],"photo_ids_order":["1399781804","1399781806","1399781808","1399781811","1399781814","1399781815"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1c04c777e2cd10890a79b2cb1492d6f.jpg","text":"TemporaryFile(/tmp/multipartBody3216275244434503466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973663238,"filename":"image_17122025_12_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/2025/12/17/5ea13b21dfdf59bf21344d7d9cf3f60c.jpg","text":"TemporaryFile(/tmp/multipartBody8737371716739855033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973663238,"filename":"image_17122025_12_53_54_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3299aa398c75992d762bbc697298a848.jpg","text":"TemporaryFile(/tmp/multipartBody2036925328276435706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973663238,"filename":"image_17122025_12_53_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/194e740444d3802a2a27ff96a8648afc.jpg","text":"TemporaryFile(/tmp/multipartBody3330428004161038571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973663238,"filename":"image_17122025_12_53_15_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68a599748869babeabc92f95b393e125.jpg","text":"TemporaryFile(/tmp/multipartBody3570535437661673338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973663238,"filename":"image_17122025_12_54_05_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80b3248bc5b71be70bb88fb388c35447.jpg","text":"TemporaryFile(/tmp/multipartBody5964827935477993526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973663238,"filename":"image_17122025_12_53_24_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781808","file1":"1399781806","file0":"1399781804","file4":"1399781814","file5":"1399781815","file3":"1399781811"},"map_files_photo_id_array":[{"photo_id":"1399781815","filename":"file5"},{"photo_id":"1399781808","filename":"file2"},{"photo_id":"1399781814","filename":"file4"},{"photo_id":"1399781806","filename":"file1"},{"photo_id":"1399781804","filename":"file0"},{"photo_id":"1399781811","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781811":["hashtag1","hashtag2"]},{"1399781814":["hashtag1","hashtag2"]},{"1399781808":["hashtag1","hashtag2"]},{"1399781804":["hashtag1","hashtag2"]},{"1399781815":["hashtag1","hashtag2"]},{"1399781806":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781811, 1399781814, 1399781808, 1399781804, 1399781815, 1399781806)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.714030265808105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:14:12.740863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:14:22.787935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_15_9698.jpg', '/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_24_9659.jpg', '/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_35_10715.jpg', '/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_45_9650.jpg', '/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_54_9784.jpg', '/home/pi/Desktop/images/17122025/12/54/image_17122025_12_55_05_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_15_9698.jpg
/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_24_9659.jpg
/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_35_10715.jpg
/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_45_9650.jpg
/home/pi/Desktop/images/17122025/12/54/image_17122025_12_54_54_9784.jpg
/home/pi/Desktop/images/17122025/12/54/image_17122025_12_55_05_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":["1399781823","1399781817","1399781840","1399781828","1399781819","1399781821"],"photo_ids_order":["1399781817","1399781819","1399781821","1399781823","1399781828","1399781840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d267e6cab18085c725e15a373205afb.jpg","text":"TemporaryFile(/tmp/multipartBody2220138943742794555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973723422,"filename":"image_17122025_12_54_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3f221baa7504b2f5c50918697923d15.jpg","text":"TemporaryFile(/tmp/multipartBody6704258796613441042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973723422,"filename":"image_17122025_12_54_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee33ea52c5bc4e9c38fd59bddb1f63b3.jpg","text":"TemporaryFile(/tmp/multipartBody4631333906009970922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973723422,"filename":"image_17122025_12_55_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a14092bddd7c52672b32b01dd339d68a.jpg","text":"TemporaryFile(/tmp/multipartBody4857382388717544561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973723422,"filename":"image_17122025_12_54_54_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec5fb396a42c4e26f5b5d27d4b95115c.jpg","text":"TemporaryFile(/tmp/multipartBody2924246986135980194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973723422,"filename":"image_17122025_12_54_24_9659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8f3eaf7c5515a912d5772e6ae596039.jpg","text":"TemporaryFile(/tmp/multipartBody6362860751564662055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973723422,"filename":"image_17122025_12_54_35_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781821","file1":"1399781819","file0":"1399781817","file4":"1399781828","file5":"1399781840","file3":"1399781823"},"map_files_photo_id_array":[{"photo_id":"1399781840","filename":"file5"},{"photo_id":"1399781821","filename":"file2"},{"photo_id":"1399781828","filename":"file4"},{"photo_id":"1399781819","filename":"file1"},{"photo_id":"1399781817","filename":"file0"},{"photo_id":"1399781823","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781823":["hashtag1","hashtag2"]},{"1399781817":["hashtag1","hashtag2"]},{"1399781840":["hashtag1","hashtag2"]},{"1399781828":["hashtag1","hashtag2"]},{"1399781819":["hashtag1","hashtag2"]},{"1399781821":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781823, 1399781817, 1399781840, 1399781828, 1399781819, 1399781821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.69843602180481 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 10 --only_old 1
2025-12-17 13:15:11.929301
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:15:22.023690
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_15_9815.jpg', '/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_25_9739.jpg', '/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_35_9846.jpg', '/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_44_9889.jpg', '/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_54_9829.jpg', '/home/pi/Desktop/images/17122025/12/55/image_17122025_12_56_05_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_15_9815.jpg
/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_25_9739.jpg
/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_35_9846.jpg
/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_44_9889.jpg
/home/pi/Desktop/images/17122025/12/55/image_17122025_12_55_54_9829.jpg
/home/pi/Desktop/images/17122025/12/55/image_17122025_12_56_05_10712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781865","1399781867","1399781861","1399781869","1399781863","1399781871"],"photo_ids_order":["1399781861","1399781863","1399781865","1399781867","1399781869","1399781871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/862f56adc8b21084bd2cbad9f4df6c27.jpg","text":"TemporaryFile(/tmp/multipartBody6360187093556973663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973782656,"filename":"image_17122025_12_55_35_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26ec8c662c0918c6da933673b20946d0.jpg","text":"TemporaryFile(/tmp/multipartBody5603051685233129847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973782656,"filename":"image_17122025_12_55_44_9889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5cc5dee20ff2812efeeeb45edb81e00.jpg","text":"TemporaryFile(/tmp/multipartBody571042058821817215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973782656,"filename":"image_17122025_12_55_15_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9dfaf3e423b80cd54c39c96b50c337ae.jpg","text":"TemporaryFile(/tmp/multipartBody1778869617126879494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973782656,"filename":"image_17122025_12_55_54_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d85d986e7aaf59946f64b5f8920de1f0.jpg","text":"TemporaryFile(/tmp/multipartBody5893043549760781171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973782656,"filename":"image_17122025_12_55_25_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/151a637d785ce86333d1ce9a15235771.jpg","text":"TemporaryFile(/tmp/multipartBody8735015170626561272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973782656,"filename":"image_17122025_12_56_05_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781865","file1":"1399781863","file0":"1399781861","file4":"1399781869","file5":"1399781871","file3":"1399781867"},"map_files_photo_id_array":[{"photo_id":"1399781871","filename":"file5"},{"photo_id":"1399781865","filename":"file2"},{"photo_id":"1399781869","filename":"file4"},{"photo_id":"1399781863","filename":"file1"},{"photo_id":"1399781861","filename":"file0"},{"photo_id":"1399781867","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781865":["hashtag1","hashtag2"]},{"1399781867":["hashtag1","hashtag2"]},{"1399781861":["hashtag1","hashtag2"]},{"1399781869":["hashtag1","hashtag2"]},{"1399781863":["hashtag1","hashtag2"]},{"1399781871":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781865, 1399781867, 1399781861, 1399781869, 1399781863, 1399781871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14822721481323 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:16:02.615545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_15_9563.jpg', '/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_24_9703.jpg', '/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_35_10920.jpg', '/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_45_9715.jpg', '/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_55_9718.jpg', '/home/pi/Desktop/images/17122025/12/56/image_17122025_12_57_04_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_15_9563.jpg
/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_24_9703.jpg
/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_35_10920.jpg
/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_45_9715.jpg
/home/pi/Desktop/images/17122025/12/56/image_17122025_12_56_55_9718.jpg
/home/pi/Desktop/images/17122025/12/56/image_17122025_12_57_04_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":["1399781879","1399781873","1399781876","1399781875","1399781874","1399781877"],"photo_ids_order":["1399781873","1399781874","1399781875","1399781876","1399781877","1399781879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/979f92884fd6bd5517d077f101abeef7.jpg","text":"TemporaryFile(/tmp/multipartBody9199578837195918126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973823296,"filename":"image_17122025_12_57_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce741dc19ebbf72c6b5ad7fbb4313d81.jpg","text":"TemporaryFile(/tmp/multipartBody3077399376690561379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973823296,"filename":"image_17122025_12_56_15_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/097a6fe06677ec7b54d97f2901a084b7.jpg","text":"TemporaryFile(/tmp/multipartBody2607711400685900212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973823296,"filename":"image_17122025_12_56_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/650a806176867ba476a4a10cd5c3baa7.jpg","text":"TemporaryFile(/tmp/multipartBody4887430949993319617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973823296,"filename":"image_17122025_12_56_35_10920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6bc82ade51ecb0b818eb18c7f12c6b8.jpg","text":"TemporaryFile(/tmp/multipartBody8529472187254328692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973823296,"filename":"image_17122025_12_56_24_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/540569c71323880b63059dd9ae40320f.jpg","text":"TemporaryFile(/tmp/multipartBody6713816796208690264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973823296,"filename":"image_17122025_12_56_55_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781875","file1":"1399781874","file0":"1399781873","file4":"1399781877","file5":"1399781879","file3":"1399781876"},"map_files_photo_id_array":[{"photo_id":"1399781879","filename":"file5"},{"photo_id":"1399781875","filename":"file2"},{"photo_id":"1399781877","filename":"file4"},{"photo_id":"1399781874","filename":"file1"},{"photo_id":"1399781873","filename":"file0"},{"photo_id":"1399781876","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781879":["hashtag1","hashtag2"]},{"1399781873":["hashtag1","hashtag2"]},{"1399781876":["hashtag1","hashtag2"]},{"1399781875":["hashtag1","hashtag2"]},{"1399781874":["hashtag1","hashtag2"]},{"1399781877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781879, 1399781873, 1399781876, 1399781875, 1399781874, 1399781877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54094099998474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:16:42.213338
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_19_2676.jpg', '/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_21_2637.jpg', '/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_28_2766.jpg', '/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_30_2680.jpg', '/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_37_3698.jpg', '/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_48_2608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_19_2676.jpg
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_21_2637.jpg
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_28_2766.jpg
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_30_2680.jpg
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_37_3698.jpg
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_48_2608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781891","1399781888","1399781887","1399781890","1399781892","1399781889"],"photo_ids_order":["1399781887","1399781888","1399781889","1399781890","1399781891","1399781892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c918ea477f9b7d4a043f77e37258902.jpg","text":"TemporaryFile(/tmp/multipartBody3217768712543957068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973868034,"filename":"image_07112025_19_26_37_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35465d0058bf596356456b8285d50656.jpg","text":"TemporaryFile(/tmp/multipartBody5109903642522031932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973868034,"filename":"image_07112025_19_26_21_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/695f7dbbcc941ecc78c4958eed496b83.jpg","text":"TemporaryFile(/tmp/multipartBody6992156598571782777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973868034,"filename":"image_07112025_19_26_19_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b52c9e198f219e49d9d4fe1c0c4e490.jpg","text":"TemporaryFile(/tmp/multipartBody7615048851705890749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973868034,"filename":"image_07112025_19_26_30_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79408e42487cf227a1e3bb43f43df27b.jpg","text":"TemporaryFile(/tmp/multipartBody6192985871781147881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973868034,"filename":"image_07112025_19_26_48_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d92a7cbc0a5b786d3f8307a530c8d3f.jpg","text":"TemporaryFile(/tmp/multipartBody1997637907346389395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973868034,"filename":"image_07112025_19_26_28_2766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781889","file1":"1399781888","file0":"1399781887","file4":"1399781891","file5":"1399781892","file3":"1399781890"},"map_files_photo_id_array":[{"photo_id":"1399781892","filename":"file5"},{"photo_id":"1399781889","filename":"file2"},{"photo_id":"1399781891","filename":"file4"},{"photo_id":"1399781888","filename":"file1"},{"photo_id":"1399781887","filename":"file0"},{"photo_id":"1399781890","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781891":["hashtag1","hashtag2"]},{"1399781888":["hashtag1","hashtag2"]},{"1399781887":["hashtag1","hashtag2"]},{"1399781890":["hashtag1","hashtag2"]},{"1399781892":["hashtag1","hashtag2"]},{"1399781889":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781891, 1399781888, 1399781887, 1399781890, 1399781892, 1399781889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22591233253479 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:17:32.512727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:17:44.377098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_55_3653.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_04_2756.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_09_2805.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_13_3622.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_18_2598.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_22_3699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/26/image_07112025_19_26_55_3653.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_04_2756.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_09_2805.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_13_3622.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_18_2598.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_22_3699.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781916","1399781915","1399781918","1399781903","1399781914","1399781917"],"photo_ids_order":["1399781903","1399781914","1399781915","1399781916","1399781917","1399781918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1de3aab1148eee94c8461c1554f6f40a.jpg","text":"TemporaryFile(/tmp/multipartBody2156236037929755582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973925156,"filename":"image_07112025_19_27_13_3622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f2944acc3630d61078c73a5ea501e62.jpg","text":"TemporaryFile(/tmp/multipartBody6921271449841103877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973925156,"filename":"image_07112025_19_27_09_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5057ee70450d46aa307706ffbf712cc.jpg","text":"TemporaryFile(/tmp/multipartBody9041825309184844404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973925156,"filename":"image_07112025_19_27_22_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87652a3af85b8f6a8bb102b518f8f60a.jpg","text":"TemporaryFile(/tmp/multipartBody6887929295935385358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973925156,"filename":"image_07112025_19_26_55_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbc803a84356db8f65dacec78c526955.jpg","text":"TemporaryFile(/tmp/multipartBody1946339537659242167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973925156,"filename":"image_07112025_19_27_04_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e3a1874e23d59e6beb7e44f84b2aaa0.jpg","text":"TemporaryFile(/tmp/multipartBody3616292584581028240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973925156,"filename":"image_07112025_19_27_18_2598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781915","file1":"1399781914","file0":"1399781903","file4":"1399781917","file5":"1399781918","file3":"1399781916"},"map_files_photo_id_array":[{"photo_id":"1399781918","filename":"file5"},{"photo_id":"1399781915","filename":"file2"},{"photo_id":"1399781917","filename":"file4"},{"photo_id":"1399781914","filename":"file1"},{"photo_id":"1399781903","filename":"file0"},{"photo_id":"1399781916","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781916":["hashtag1","hashtag2"]},{"1399781915":["hashtag1","hashtag2"]},{"1399781918":["hashtag1","hashtag2"]},{"1399781903":["hashtag1","hashtag2"]},{"1399781914":["hashtag1","hashtag2"]},{"1399781917":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781916, 1399781915, 1399781918, 1399781903, 1399781914, 1399781917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.215534687042236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:18:32.620780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:18:42.523482
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_27_2666.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_31_3772.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_33_2633.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_36_2582.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_40_3711.jpg', '/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_54_2852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_27_2666.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_31_3772.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_33_2633.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_36_2582.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_40_3711.jpg
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_54_2852.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781946","1399781928","1399781948","1399781933","1399781936","1399781944"],"photo_ids_order":["1399781928","1399781933","1399781936","1399781944","1399781946","1399781948"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a71510fc9a324890c20eeeec435352ff.jpg","text":"TemporaryFile(/tmp/multipartBody545211903887009980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973983304,"filename":"image_07112025_19_27_40_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bed45240cc850f75d771493d052af78a.jpg","text":"TemporaryFile(/tmp/multipartBody5406208225363313387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973983304,"filename":"image_07112025_19_27_27_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d715f7c95e91d0209ac9c1a74f7f23a0.jpg","text":"TemporaryFile(/tmp/multipartBody8977607355457439756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973983304,"filename":"image_07112025_19_27_54_2852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fdb2f7e24a4d658de4b016e34055269.jpg","text":"TemporaryFile(/tmp/multipartBody7385711745538340784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973983304,"filename":"image_07112025_19_27_31_3772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4678a7cdb7a53b30bf827153c8a73d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2299816775750359728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973983304,"filename":"image_07112025_19_27_33_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3009435540fc26da52a8fe850ec4c2d.jpg","text":"TemporaryFile(/tmp/multipartBody1787872853597166023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765973983304,"filename":"image_07112025_19_27_36_2582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781936","file1":"1399781933","file0":"1399781928","file4":"1399781946","file5":"1399781948","file3":"1399781944"},"map_files_photo_id_array":[{"photo_id":"1399781948","filename":"file5"},{"photo_id":"1399781936","filename":"file2"},{"photo_id":"1399781946","filename":"file4"},{"photo_id":"1399781933","filename":"file1"},{"photo_id":"1399781928","filename":"file0"},{"photo_id":"1399781944","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781946":["hashtag1","hashtag2"]},{"1399781928":["hashtag1","hashtag2"]},{"1399781948":["hashtag1","hashtag2"]},{"1399781933":["hashtag1","hashtag2"]},{"1399781936":["hashtag1","hashtag2"]},{"1399781944":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781946, 1399781928, 1399781948, 1399781933, 1399781936, 1399781944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.888015031814575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:19:22.762022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_15_10766.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_25_9567.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_34_9710.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_44_9982.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_55_10594.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_58_04_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_15_10766.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_25_9567.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_34_9710.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_44_9982.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_55_10594.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_58_04_9549.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5174901485443115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:19:32.774841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:19:42.795702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_58_3737.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_10_3738.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_15_2860.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_18_2808.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_24_2663.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_27_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/27/image_07112025_19_27_58_3737.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_10_3738.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_15_2860.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_18_2808.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_24_2663.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_27_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399781964","1399781963","1399781966","1399781960","1399781962","1399781965"],"photo_ids_order":["1399781960","1399781962","1399781963","1399781964","1399781965","1399781966"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e375a3f0421bcbb2d30c4bb63873bd7.jpg","text":"TemporaryFile(/tmp/multipartBody8788301157416851106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974043610,"filename":"image_07112025_19_28_18_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bed57cd5bc29ab9153b0f48d16d84387.jpg","text":"TemporaryFile(/tmp/multipartBody3169697572979835868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974043610,"filename":"image_07112025_19_28_15_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffa9850272302565664c884925bd8b1b.jpg","text":"TemporaryFile(/tmp/multipartBody2416325373942142259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974043610,"filename":"image_07112025_19_28_27_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7f0bb724cb5d3b651c9c04a7f36b5c4.jpg","text":"TemporaryFile(/tmp/multipartBody4952546514289761299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974043610,"filename":"image_07112025_19_27_58_3737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b727ec0bdf4592f739ee5417d16e73a.jpg","text":"TemporaryFile(/tmp/multipartBody3525403379582028133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974043610,"filename":"image_07112025_19_28_10_3738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0f483f35565aba8c78041b7ebd573a3.jpg","text":"TemporaryFile(/tmp/multipartBody6574425868358547016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974043610,"filename":"image_07112025_19_28_24_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781963","file1":"1399781962","file0":"1399781960","file4":"1399781965","file5":"1399781966","file3":"1399781964"},"map_files_photo_id_array":[{"photo_id":"1399781966","filename":"file5"},{"photo_id":"1399781963","filename":"file2"},{"photo_id":"1399781965","filename":"file4"},{"photo_id":"1399781962","filename":"file1"},{"photo_id":"1399781960","filename":"file0"},{"photo_id":"1399781964","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399781964":["hashtag1","hashtag2"]},{"1399781963":["hashtag1","hashtag2"]},{"1399781966":["hashtag1","hashtag2"]},{"1399781960":["hashtag1","hashtag2"]},{"1399781962":["hashtag1","hashtag2"]},{"1399781965":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399781964, 1399781963, 1399781966, 1399781960, 1399781962, 1399781965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46355485916138 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:20:22.111038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_15_10766.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_25_9567.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_34_9710.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_44_9982.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_55_10594.jpg', '/home/pi/Desktop/images/17122025/12/57/image_17122025_12_58_04_9549.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_15_10766.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_25_9567.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_34_9710.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_44_9982.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_57_55_10594.jpg
/home/pi/Desktop/images/17122025/12/57/image_17122025_12_58_04_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":["1399781972","1399781986","1399781974","1399781970","1399781967","1399781976"],"photo_ids_order":["1399781967","1399781970","1399781972","1399781974","1399781976","1399781986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99398d21daf0a1cd9dfdbb812b334b78.jpg","text":"TemporaryFile(/tmp/multipartBody4148683902329606692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974082778,"filename":"image_17122025_12_57_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96516c9b337f8ddd131675476cf3df39.jpg","text":"TemporaryFile(/tmp/multipartBody4368886438174033861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974082778,"filename":"image_17122025_12_58_04_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3a99e52f82a943205c60764baba2139.jpg","text":"TemporaryFile(/tmp/multipartBody5444108239390830163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974082778,"filename":"image_17122025_12_57_44_9982.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e4d42500dbe5792ed3d0d94f2d138a4.jpg","text":"TemporaryFile(/tmp/multipartBody207927728503723526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974082778,"filename":"image_17122025_12_57_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/314fdeaa52b521e621cc8afe476bb66c.jpg","text":"TemporaryFile(/tmp/multipartBody8449570662901008042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974082778,"filename":"image_17122025_12_57_15_10766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aaa4e4589d824b260d1d9c8c49ee7005.jpg","text":"TemporaryFile(/tmp/multipartBody1311624762065140612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974082778,"filename":"image_17122025_12_57_55_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399781972","file1":"1399781970","file0":"1399781967","file4":"1399781976","file5":"1399781986","file3":"1399781974"},"map_files_photo_id_array":[{"photo_id":"1399781986","filename":"file5"},{"photo_id":"1399781972","filename":"file2"},{"photo_id":"1399781976","filename":"file4"},{"photo_id":"1399781970","filename":"file1"},{"photo_id":"1399781967","filename":"file0"},{"photo_id":"1399781974","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399781972":["hashtag1","hashtag2"]},{"1399781986":["hashtag1","hashtag2"]},{"1399781974":["hashtag1","hashtag2"]},{"1399781970":["hashtag1","hashtag2"]},{"1399781967":["hashtag1","hashtag2"]},{"1399781976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399781972, 1399781986, 1399781974, 1399781970, 1399781967, 1399781976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96748423576355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:21:02.928188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_15_10698.jpg', '/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_25_9721.jpg', '/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_34_9610.jpg', '/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_44_9942.jpg', '/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_55_10655.jpg', '/home/pi/Desktop/images/17122025/12/58/image_17122025_12_59_05_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_15_10698.jpg
/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_25_9721.jpg
/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_34_9610.jpg
/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_44_9942.jpg
/home/pi/Desktop/images/17122025/12/58/image_17122025_12_58_55_10655.jpg
/home/pi/Desktop/images/17122025/12/58/image_17122025_12_59_05_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":["1399782009","1399782008","1399782011","1399782010","1399782013","1399782004"],"photo_ids_order":["1399782004","1399782008","1399782009","1399782010","1399782011","1399782013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8466bd5494b14f164bed7d4d9d1eff7c.jpg","text":"TemporaryFile(/tmp/multipartBody6462673061980520255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974123598,"filename":"image_17122025_12_58_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29a24f0b41d078ef606a81644ce56b97.jpg","text":"TemporaryFile(/tmp/multipartBody5843921159323355588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974123598,"filename":"image_17122025_12_58_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3376b5e02ede0563c05a9ef188d458a9.jpg","text":"TemporaryFile(/tmp/multipartBody3754455490030535638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974123598,"filename":"image_17122025_12_58_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b47e3499ce59e9f9b2aee7c4f9143081.jpg","text":"TemporaryFile(/tmp/multipartBody5319343984784135468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974123598,"filename":"image_17122025_12_58_44_9942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/894f7e32182f8b3a8fdd634491dce872.jpg","text":"TemporaryFile(/tmp/multipartBody3403143631895990644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974123598,"filename":"image_17122025_12_59_05_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/603fb3492f65b61070bad307184e73fa.jpg","text":"TemporaryFile(/tmp/multipartBody547893227707910878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974123598,"filename":"image_17122025_12_58_15_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782009","file1":"1399782008","file0":"1399782004","file4":"1399782011","file5":"1399782013","file3":"1399782010"},"map_files_photo_id_array":[{"photo_id":"1399782013","filename":"file5"},{"photo_id":"1399782009","filename":"file2"},{"photo_id":"1399782011","filename":"file4"},{"photo_id":"1399782008","filename":"file1"},{"photo_id":"1399782004","filename":"file0"},{"photo_id":"1399782010","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782009":["hashtag1","hashtag2"]},{"1399782008":["hashtag1","hashtag2"]},{"1399782011":["hashtag1","hashtag2"]},{"1399782010":["hashtag1","hashtag2"]},{"1399782013":["hashtag1","hashtag2"]},{"1399782004":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782009, 1399782008, 1399782011, 1399782010, 1399782013, 1399782004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.311171770095825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:21:42.321453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_36_2769.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_39_2608.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_45_2762.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_48_2775.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_51_2727.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_55_3790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_36_2769.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_39_2608.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_45_2762.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_48_2775.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_51_2727.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_55_3790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782023","1399782025","1399782022","1399782021","1399782024","1399782018"],"photo_ids_order":["1399782018","1399782021","1399782022","1399782023","1399782024","1399782025"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73904450552cf18f58d11560cacd2481.jpg","text":"TemporaryFile(/tmp/multipartBody6256797619522133170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974163136,"filename":"image_07112025_19_28_48_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e718d322bfdf6d607da9823855212d50.jpg","text":"TemporaryFile(/tmp/multipartBody7108694243538964671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974163136,"filename":"image_07112025_19_28_55_3790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87ec1ab414ec2809da8530915243ef18.jpg","text":"TemporaryFile(/tmp/multipartBody1754515596120037829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974163136,"filename":"image_07112025_19_28_45_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f9465072be89caedae6b3d76f0308df.jpg","text":"TemporaryFile(/tmp/multipartBody4476681339007223352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974163136,"filename":"image_07112025_19_28_39_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7745b5a629f07e9aeca936fa640f5655.jpg","text":"TemporaryFile(/tmp/multipartBody2166392240988729349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974163136,"filename":"image_07112025_19_28_51_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4abb890e0f742c4c9857303856e84e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2560543186059745032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974163136,"filename":"image_07112025_19_28_36_2769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782022","file1":"1399782021","file0":"1399782018","file4":"1399782024","file5":"1399782025","file3":"1399782023"},"map_files_photo_id_array":[{"photo_id":"1399782025","filename":"file5"},{"photo_id":"1399782022","filename":"file2"},{"photo_id":"1399782024","filename":"file4"},{"photo_id":"1399782021","filename":"file1"},{"photo_id":"1399782018","filename":"file0"},{"photo_id":"1399782023","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782023":["hashtag1","hashtag2"]},{"1399782025":["hashtag1","hashtag2"]},{"1399782022":["hashtag1","hashtag2"]},{"1399782021":["hashtag1","hashtag2"]},{"1399782024":["hashtag1","hashtag2"]},{"1399782018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782023, 1399782025, 1399782022, 1399782021, 1399782024, 1399782018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97128462791443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:22:22.550515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_15_9883.jpg', '/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_25_10573.jpg', '/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_35_9696.jpg', '/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_45_9807.jpg', '/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_54_9685.jpg', '/home/pi/Desktop/images/17122025/13/00/image_17122025_13_00_14_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_15_9883.jpg
/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_25_10573.jpg
/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_35_9696.jpg
/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_45_9807.jpg
/home/pi/Desktop/images/17122025/12/59/image_17122025_12_59_54_9685.jpg
/home/pi/Desktop/images/17122025/13/00/image_17122025_13_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":["1399782032","1399782026","1399782034","1399782028","1399782039","1399782030"],"photo_ids_order":["1399782026","1399782028","1399782030","1399782032","1399782034","1399782039"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d4cf6cff0f05a50105bd821ea051dc6.jpg","text":"TemporaryFile(/tmp/multipartBody633786870302386805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974203203,"filename":"image_17122025_12_59_45_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a9b65ea5475f10444efc1afdaf1f0fa.jpg","text":"TemporaryFile(/tmp/multipartBody6903471718120233380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974203203,"filename":"image_17122025_12_59_15_9883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa7ca48250d82edf20ada94728bbf91a.jpg","text":"TemporaryFile(/tmp/multipartBody5294405173097125877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974203203,"filename":"image_17122025_12_59_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01b60cacba657628d5d84735fc10617c.jpg","text":"TemporaryFile(/tmp/multipartBody3664323401018511882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974203203,"filename":"image_17122025_12_59_25_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a6c959b5e9a1017dd36a5db4acd66d4.jpg","text":"TemporaryFile(/tmp/multipartBody3224144396466353585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974203203,"filename":"image_17122025_13_00_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40cbbbe4ef4535175e04a2cff19ca792.jpg","text":"TemporaryFile(/tmp/multipartBody4833451143815872965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974203203,"filename":"image_17122025_12_59_35_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782030","file1":"1399782028","file0":"1399782026","file4":"1399782034","file5":"1399782039","file3":"1399782032"},"map_files_photo_id_array":[{"photo_id":"1399782039","filename":"file5"},{"photo_id":"1399782030","filename":"file2"},{"photo_id":"1399782034","filename":"file4"},{"photo_id":"1399782028","filename":"file1"},{"photo_id":"1399782026","filename":"file0"},{"photo_id":"1399782032","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782032":["hashtag1","hashtag2"]},{"1399782026":["hashtag1","hashtag2"]},{"1399782034":["hashtag1","hashtag2"]},{"1399782028":["hashtag1","hashtag2"]},{"1399782039":["hashtag1","hashtag2"]},{"1399782030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782032, 1399782026, 1399782034, 1399782028, 1399782039, 1399782030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.77962565422058 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:23:03.300238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/00/image_17122025_13_00_25_10774.jpg', '/home/pi/Desktop/images/17122025/13/00/image_17122025_13_00_35_9651.jpg', '/home/pi/Desktop/images/17122025/13/00/image_17122025_13_00_44_9688.jpg', '/home/pi/Desktop/images/17122025/13/00/image_17122025_13_00_55_10750.jpg', '/home/pi/Desktop/images/17122025/13/00/image_17122025_13_01_05_9645.jpg', '/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_15_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/00/image_17122025_13_00_25_10774.jpg
/home/pi/Desktop/images/17122025/13/00/image_17122025_13_00_35_9651.jpg
/home/pi/Desktop/images/17122025/13/00/image_17122025_13_00_44_9688.jpg
/home/pi/Desktop/images/17122025/13/00/image_17122025_13_00_55_10750.jpg
/home/pi/Desktop/images/17122025/13/00/image_17122025_13_01_05_9645.jpg
/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_15_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782062","1399782059","1399782053","1399782056","1399782058","1399782060"],"photo_ids_order":["1399782053","1399782056","1399782058","1399782059","1399782060","1399782062"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef9516ad0b47f750f3d9c67a07c6055d.jpg","text":"TemporaryFile(/tmp/multipartBody153269572080657055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974244026,"filename":"image_17122025_13_01_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f2ea8b1b73eded3c70e24eb97583836.jpg","text":"TemporaryFile(/tmp/multipartBody3941961689710987343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974244026,"filename":"image_17122025_13_00_55_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00021f90955bd866977ae9cfb939f168.jpg","text":"TemporaryFile(/tmp/multipartBody1224111072571547939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974244026,"filename":"image_17122025_13_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/2025/12/17/16963449b6793b3f7c148e856f98753e.jpg","text":"TemporaryFile(/tmp/multipartBody8085125141032905083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974244026,"filename":"image_17122025_13_00_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/312473b3c4f3a9df0439a5b839c758ec.jpg","text":"TemporaryFile(/tmp/multipartBody4146586103464255872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974244026,"filename":"image_17122025_13_00_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aab1aede3ad08f9f31e846139a8d0bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8264116886224133458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974244026,"filename":"image_17122025_13_01_05_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782058","file1":"1399782056","file0":"1399782053","file4":"1399782060","file5":"1399782062","file3":"1399782059"},"map_files_photo_id_array":[{"photo_id":"1399782062","filename":"file5"},{"photo_id":"1399782058","filename":"file2"},{"photo_id":"1399782060","filename":"file4"},{"photo_id":"1399782056","filename":"file1"},{"photo_id":"1399782053","filename":"file0"},{"photo_id":"1399782059","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782062":["hashtag1","hashtag2"]},{"1399782059":["hashtag1","hashtag2"]},{"1399782053":["hashtag1","hashtag2"]},{"1399782056":["hashtag1","hashtag2"]},{"1399782058":["hashtag1","hashtag2"]},{"1399782060":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782062, 1399782059, 1399782053, 1399782056, 1399782058, 1399782060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.054296255111694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:23:42.737805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_58_2950.jpg', '/home/pi/Desktop/images/07112025/19/28/image_07112025_19_29_00_2724.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_03_2707.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_07_3624.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_09_2753.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_16_3606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_28_58_2950.jpg
/home/pi/Desktop/images/07112025/19/28/image_07112025_19_29_00_2724.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_03_2707.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_07_3624.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_09_2753.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_16_3606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782080","1399782068","1399782082","1399782079","1399782078","1399782081"],"photo_ids_order":["1399782068","1399782078","1399782079","1399782080","1399782081","1399782082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/becfe3a902f5783af8b8f019cf2fac01.jpg","text":"TemporaryFile(/tmp/multipartBody3790729156600694178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974283549,"filename":"image_07112025_19_29_07_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2fef6e359a48449704b3d967e0ac08e.jpg","text":"TemporaryFile(/tmp/multipartBody1817449102261641443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974283549,"filename":"image_07112025_19_28_58_2950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f883914247196b571b52d8cfc72595d.jpg","text":"TemporaryFile(/tmp/multipartBody934785445648263501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974283549,"filename":"image_07112025_19_29_16_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9f53b4448aefb8cc11d5381bf84afce.jpg","text":"TemporaryFile(/tmp/multipartBody442331780964830569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974283549,"filename":"image_07112025_19_29_03_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d419dfe9175990e6d18c3783c927d8df.jpg","text":"TemporaryFile(/tmp/multipartBody1595261632537307259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974283549,"filename":"image_07112025_19_29_00_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae616b8d8b78156ac9e07ab5a446b3ed.jpg","text":"TemporaryFile(/tmp/multipartBody4669503243011896079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974283549,"filename":"image_07112025_19_29_09_2753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782079","file1":"1399782078","file0":"1399782068","file4":"1399782081","file5":"1399782082","file3":"1399782080"},"map_files_photo_id_array":[{"photo_id":"1399782082","filename":"file5"},{"photo_id":"1399782079","filename":"file2"},{"photo_id":"1399782081","filename":"file4"},{"photo_id":"1399782078","filename":"file1"},{"photo_id":"1399782068","filename":"file0"},{"photo_id":"1399782080","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782080":["hashtag1","hashtag2"]},{"1399782068":["hashtag1","hashtag2"]},{"1399782082":["hashtag1","hashtag2"]},{"1399782079":["hashtag1","hashtag2"]},{"1399782078":["hashtag1","hashtag2"]},{"1399782081":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782080, 1399782068, 1399782082, 1399782079, 1399782078, 1399782081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.55291938781738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:24:21.985935
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_25_10433.jpg', '/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_35_9785.jpg', '/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_45_9910.jpg', '/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_55_9863.jpg', '/home/pi/Desktop/images/17122025/13/01/image_17122025_13_02_05_10713.jpg', '/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_15_9921.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_25_10433.jpg
/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_35_9785.jpg
/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_45_9910.jpg
/home/pi/Desktop/images/17122025/13/01/image_17122025_13_01_55_9863.jpg
/home/pi/Desktop/images/17122025/13/01/image_17122025_13_02_05_10713.jpg
/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_15_9921.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782089","1399782083","1399782091","1399782085","1399782094","1399782087"],"photo_ids_order":["1399782083","1399782085","1399782087","1399782089","1399782091","1399782094"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13bffd91568e4c845b242ac142975678.jpg","text":"TemporaryFile(/tmp/multipartBody8528001609797208133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974322609,"filename":"image_17122025_13_01_55_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e929043ab4728e6a508d5c76bc101069.jpg","text":"TemporaryFile(/tmp/multipartBody926685591910928569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974322609,"filename":"image_17122025_13_01_25_10433.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d4a10739c6d8d1fb3d51acc1b263b75.jpg","text":"TemporaryFile(/tmp/multipartBody1117893942195493690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974322609,"filename":"image_17122025_13_02_05_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ace9a9460a1893f7e46c557ffb6cbaa.jpg","text":"TemporaryFile(/tmp/multipartBody4282292706982465029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974322609,"filename":"image_17122025_13_01_35_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6aca598a15e1e2315db585b48e3e00ce.jpg","text":"TemporaryFile(/tmp/multipartBody7149652283956974209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974322609,"filename":"image_17122025_13_02_15_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f25dbdfd388c1553c2cb35d9da0ab67d.jpg","text":"TemporaryFile(/tmp/multipartBody3683101111364924097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974322609,"filename":"image_17122025_13_01_45_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782087","file1":"1399782085","file0":"1399782083","file4":"1399782091","file5":"1399782094","file3":"1399782089"},"map_files_photo_id_array":[{"photo_id":"1399782094","filename":"file5"},{"photo_id":"1399782087","filename":"file2"},{"photo_id":"1399782091","filename":"file4"},{"photo_id":"1399782085","filename":"file1"},{"photo_id":"1399782083","filename":"file0"},{"photo_id":"1399782089","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782089":["hashtag1","hashtag2"]},{"1399782083":["hashtag1","hashtag2"]},{"1399782091":["hashtag1","hashtag2"]},{"1399782085":["hashtag1","hashtag2"]},{"1399782094":["hashtag1","hashtag2"]},{"1399782087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782089, 1399782083, 1399782091, 1399782085, 1399782094, 1399782087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05880117416382 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:25:02.893256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_25_9713.jpg', '/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_35_9663.jpg', '/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_45_10647.jpg', '/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_55_9305.jpg', '/home/pi/Desktop/images/17122025/13/02/image_17122025_13_03_05_10702.jpg', '/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_15_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_25_9713.jpg
/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_35_9663.jpg
/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_45_10647.jpg
/home/pi/Desktop/images/17122025/13/02/image_17122025_13_02_55_9305.jpg
/home/pi/Desktop/images/17122025/13/02/image_17122025_13_03_05_10702.jpg
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_15_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":["1399782105","1399782101","1399782097","1399782100","1399782099","1399782103"],"photo_ids_order":["1399782097","1399782099","1399782100","1399782101","1399782103","1399782105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ab9475bffd9563e16b01882cf1ddb84.jpg","text":"TemporaryFile(/tmp/multipartBody2665810579112984146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974363573,"filename":"image_17122025_13_03_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ce2e02928effc144f1aeb93acb9a1cf.jpg","text":"TemporaryFile(/tmp/multipartBody1648106731165535674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974363573,"filename":"image_17122025_13_02_55_9305.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/009d07dfd3346e9da4fd1bd684e9a8e7.jpg","text":"TemporaryFile(/tmp/multipartBody7773147416784153259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974363573,"filename":"image_17122025_13_02_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/695bc38d68f826ff2a5fbe1c7d23cf89.jpg","text":"TemporaryFile(/tmp/multipartBody4021081326611553862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974363573,"filename":"image_17122025_13_02_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91f7dbeb740171e59b694e9519049547.jpg","text":"TemporaryFile(/tmp/multipartBody5263802363882225898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974363573,"filename":"image_17122025_13_02_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22e9c0f4a2b9d3d04c5d7c5c3320fe7e.jpg","text":"TemporaryFile(/tmp/multipartBody6654143162439542078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974363573,"filename":"image_17122025_13_03_05_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782100","file1":"1399782099","file0":"1399782097","file4":"1399782103","file5":"1399782105","file3":"1399782101"},"map_files_photo_id_array":[{"photo_id":"1399782105","filename":"file5"},{"photo_id":"1399782100","filename":"file2"},{"photo_id":"1399782103","filename":"file4"},{"photo_id":"1399782099","filename":"file1"},{"photo_id":"1399782097","filename":"file0"},{"photo_id":"1399782101","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782105":["hashtag1","hashtag2"]},{"1399782101":["hashtag1","hashtag2"]},{"1399782097":["hashtag1","hashtag2"]},{"1399782100":["hashtag1","hashtag2"]},{"1399782099":["hashtag1","hashtag2"]},{"1399782103":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782105, 1399782101, 1399782097, 1399782100, 1399782099, 1399782103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73554706573486 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:26:03.020264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_24_9589.jpg', '/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_35_10735.jpg', '/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_45_9715.jpg', '/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_55_9736.jpg', '/home/pi/Desktop/images/17122025/13/03/image_17122025_13_04_04_9798.jpg', '/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_14_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_24_9589.jpg
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_35_10735.jpg
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_45_9715.jpg
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_55_9736.jpg
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_04_04_9798.jpg
/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_14_9937.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5849313735961914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:26:12.473700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:26:22.538238
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_24_9589.jpg', '/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_35_10735.jpg', '/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_45_9715.jpg', '/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_55_9736.jpg', '/home/pi/Desktop/images/17122025/13/03/image_17122025_13_04_04_9798.jpg', '/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_14_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_24_9589.jpg
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_35_10735.jpg
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_45_9715.jpg
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_03_55_9736.jpg
/home/pi/Desktop/images/17122025/13/03/image_17122025_13_04_04_9798.jpg
/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_14_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":["1399782119","1399782136","1399782127","1399782115","1399782147","1399782117"],"photo_ids_order":["1399782115","1399782117","1399782119","1399782127","1399782136","1399782147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f160a3577bbe58948986cccf331af5a.jpg","text":"TemporaryFile(/tmp/multipartBody1026589400107779659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974443162,"filename":"image_17122025_13_03_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fad3c98883d4fd7f98b9131908ad764.jpg","text":"TemporaryFile(/tmp/multipartBody4837584722069382242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974443162,"filename":"image_17122025_13_04_04_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3e790ac3e1ef037f9a96941e33b8590.jpg","text":"TemporaryFile(/tmp/multipartBody7839918057667326698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974443162,"filename":"image_17122025_13_03_55_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20ac7f48d60f8f97168353812d03d3f8.jpg","text":"TemporaryFile(/tmp/multipartBody7971808614154431673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974443162,"filename":"image_17122025_13_03_24_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5a2654ebaa8dec91a8481ca6b8014d7.jpg","text":"TemporaryFile(/tmp/multipartBody8966003668720127175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974443162,"filename":"image_17122025_13_04_14_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9fe43ac8c19b9c304d6aed51c964d3b.jpg","text":"TemporaryFile(/tmp/multipartBody5106918741478129049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974443162,"filename":"image_17122025_13_03_35_10735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782119","file1":"1399782117","file0":"1399782115","file4":"1399782136","file5":"1399782147","file3":"1399782127"},"map_files_photo_id_array":[{"photo_id":"1399782147","filename":"file5"},{"photo_id":"1399782119","filename":"file2"},{"photo_id":"1399782136","filename":"file4"},{"photo_id":"1399782117","filename":"file1"},{"photo_id":"1399782115","filename":"file0"},{"photo_id":"1399782127","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782119":["hashtag1","hashtag2"]},{"1399782136":["hashtag1","hashtag2"]},{"1399782127":["hashtag1","hashtag2"]},{"1399782115":["hashtag1","hashtag2"]},{"1399782147":["hashtag1","hashtag2"]},{"1399782117":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782119, 1399782136, 1399782127, 1399782115, 1399782147, 1399782117)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13409924507141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:27:03.370433
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_25_10713.jpg', '/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_35_9696.jpg', '/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_44_9601.jpg', '/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_55_10845.jpg', '/home/pi/Desktop/images/17122025/13/04/image_17122025_13_05_05_9734.jpg', '/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_15_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_25_10713.jpg
/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_35_9696.jpg
/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_44_9601.jpg
/home/pi/Desktop/images/17122025/13/04/image_17122025_13_04_55_10845.jpg
/home/pi/Desktop/images/17122025/13/04/image_17122025_13_05_05_9734.jpg
/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_15_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782161","1399782158","1399782160","1399782163","1399782165","1399782159"],"photo_ids_order":["1399782158","1399782159","1399782160","1399782161","1399782163","1399782165"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c5a15aad87cd4d1e94352341f9339d9.jpg","text":"TemporaryFile(/tmp/multipartBody2653194197276707619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974487585,"filename":"image_17122025_13_04_55_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88202374c07e55553effc37c649b80c9.jpg","text":"TemporaryFile(/tmp/multipartBody2392583674133035003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974487585,"filename":"image_17122025_13_04_25_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/234026c9c5abd5b9fe2eaf71a1098067.jpg","text":"TemporaryFile(/tmp/multipartBody8751482060839680696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974487585,"filename":"image_17122025_13_04_44_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/573456ee9ccdcd2eca200f1a59209425.jpg","text":"TemporaryFile(/tmp/multipartBody2588880783600545327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974487585,"filename":"image_17122025_13_05_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/044ce2dbd2fd25ab3ddc2d214079d139.jpg","text":"TemporaryFile(/tmp/multipartBody6194923547088205282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974487585,"filename":"image_17122025_13_05_15_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab8ce565363e7167a53134229d24b106.jpg","text":"TemporaryFile(/tmp/multipartBody1363575711660386634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974487585,"filename":"image_17122025_13_04_35_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782160","file1":"1399782159","file0":"1399782158","file4":"1399782163","file5":"1399782165","file3":"1399782161"},"map_files_photo_id_array":[{"photo_id":"1399782165","filename":"file5"},{"photo_id":"1399782160","filename":"file2"},{"photo_id":"1399782163","filename":"file4"},{"photo_id":"1399782159","filename":"file1"},{"photo_id":"1399782158","filename":"file0"},{"photo_id":"1399782161","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782161":["hashtag1","hashtag2"]},{"1399782158":["hashtag1","hashtag2"]},{"1399782160":["hashtag1","hashtag2"]},{"1399782163":["hashtag1","hashtag2"]},{"1399782165":["hashtag1","hashtag2"]},{"1399782159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782161, 1399782158, 1399782160, 1399782163, 1399782165, 1399782159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.1515429019928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:28:02.366857
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_24_9596.jpg', '/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_35_10173.jpg', '/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_44_9673.jpg', '/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_55_10784.jpg', '/home/pi/Desktop/images/17122025/13/05/image_17122025_13_06_05_9651.jpg', '/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_14_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_24_9596.jpg
/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_35_10173.jpg
/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_44_9673.jpg
/home/pi/Desktop/images/17122025/13/05/image_17122025_13_05_55_10784.jpg
/home/pi/Desktop/images/17122025/13/05/image_17122025_13_06_05_9651.jpg
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_14_9586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782173","1399782172","1399782175","1399782177","1399782171","1399782174"],"photo_ids_order":["1399782171","1399782172","1399782173","1399782174","1399782175","1399782177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afd3fbeba670b5b1f47c859ba267ee50.jpg","text":"TemporaryFile(/tmp/multipartBody8065315559921150625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974545798,"filename":"image_17122025_13_05_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e80175c40e24f8057c672ca966396a27.jpg","text":"TemporaryFile(/tmp/multipartBody535929296379165356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974545798,"filename":"image_17122025_13_05_35_10173.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/565c2adcbf819b648ab8f656c2d32244.jpg","text":"TemporaryFile(/tmp/multipartBody2577947581828054938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974545798,"filename":"image_17122025_13_06_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/273f3357c3472ac669fa82e82c61c46a.jpg","text":"TemporaryFile(/tmp/multipartBody1678181760878187598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974545798,"filename":"image_17122025_13_06_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d0ad36c710535c95f1844eac5db1c87.jpg","text":"TemporaryFile(/tmp/multipartBody8489248194079291921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974545798,"filename":"image_17122025_13_05_24_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/792f36018fdabcfecb97996b49e96eed.jpg","text":"TemporaryFile(/tmp/multipartBody9058198471412835733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974545798,"filename":"image_17122025_13_05_55_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782173","file1":"1399782172","file0":"1399782171","file4":"1399782175","file5":"1399782177","file3":"1399782174"},"map_files_photo_id_array":[{"photo_id":"1399782177","filename":"file5"},{"photo_id":"1399782173","filename":"file2"},{"photo_id":"1399782175","filename":"file4"},{"photo_id":"1399782172","filename":"file1"},{"photo_id":"1399782171","filename":"file0"},{"photo_id":"1399782174","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782173":["hashtag1","hashtag2"]},{"1399782172":["hashtag1","hashtag2"]},{"1399782175":["hashtag1","hashtag2"]},{"1399782177":["hashtag1","hashtag2"]},{"1399782171":["hashtag1","hashtag2"]},{"1399782174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782173, 1399782172, 1399782175, 1399782177, 1399782171, 1399782174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26047420501709 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:28:41.934266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_18_2681.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_21_2577.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_24_3580.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_27_2544.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_31_3516.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_33_2783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_18_2681.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_21_2577.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_24_3580.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_27_2544.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_31_3516.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_33_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":["1399782194","1399782184","1399782187","1399782181","1399782192","1399782189"],"photo_ids_order":["1399782181","1399782184","1399782187","1399782189","1399782192","1399782194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc521fc1b4ba8d0124d4b9d57434d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody1808458975218168683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974582720,"filename":"image_07112025_19_29_33_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f37533adb48ed4f46450a488f04218b.jpg","text":"TemporaryFile(/tmp/multipartBody6995891927225693432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974582720,"filename":"image_07112025_19_29_21_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/863ccfbb6567bdbef4bc9b1ac5c09238.jpg","text":"TemporaryFile(/tmp/multipartBody4033554020344091153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974582720,"filename":"image_07112025_19_29_24_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aabcaaccb6eb567b2bc56dbd626e4ec2.jpg","text":"TemporaryFile(/tmp/multipartBody3093364917473138822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974582720,"filename":"image_07112025_19_29_18_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8298afc54e3b46dcaac6f300ea1baf44.jpg","text":"TemporaryFile(/tmp/multipartBody9154157978503717666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974582720,"filename":"image_07112025_19_29_31_3516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/901bd916000a2e73f94fa2fbc6897d85.jpg","text":"TemporaryFile(/tmp/multipartBody922647799830086886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974582720,"filename":"image_07112025_19_29_27_2544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782187","file1":"1399782184","file0":"1399782181","file4":"1399782192","file5":"1399782194","file3":"1399782189"},"map_files_photo_id_array":[{"photo_id":"1399782194","filename":"file5"},{"photo_id":"1399782187","filename":"file2"},{"photo_id":"1399782192","filename":"file4"},{"photo_id":"1399782184","filename":"file1"},{"photo_id":"1399782181","filename":"file0"},{"photo_id":"1399782189","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782194":["hashtag1","hashtag2"]},{"1399782184":["hashtag1","hashtag2"]},{"1399782187":["hashtag1","hashtag2"]},{"1399782181":["hashtag1","hashtag2"]},{"1399782192":["hashtag1","hashtag2"]},{"1399782189":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782194, 1399782184, 1399782187, 1399782181, 1399782192, 1399782189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.31486654281616 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:29:22.210024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_25_10560.jpg', '/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_35_9869.jpg', '/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_45_10005.jpg', '/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_54_9710.jpg', '/home/pi/Desktop/images/17122025/13/06/image_17122025_13_07_05_10726.jpg', '/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_15_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_25_10560.jpg
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_35_9869.jpg
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_45_10005.jpg
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_54_9710.jpg
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_07_05_10726.jpg
/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_15_9929.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5169954299926758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:29:32.148856
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:29:42.104801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_36_2689.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_40_3578.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_42_2838.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_52_3685.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_54_2682.jpg', '/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_57_2802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_36_2689.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_40_3578.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_42_2838.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_52_3685.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_54_2682.jpg
/home/pi/Desktop/images/07112025/19/29/image_07112025_19_29_57_2802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782210","1399782212","1399782215","1399782217","1399782214","1399782216"],"photo_ids_order":["1399782210","1399782212","1399782214","1399782215","1399782216","1399782217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33ea714087444219d9f9e7cb0e1b9c6d.jpg","text":"TemporaryFile(/tmp/multipartBody5885543774710370493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974642879,"filename":"image_07112025_19_29_36_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/998321712e0b080baa5bb2d155f9559c.jpg","text":"TemporaryFile(/tmp/multipartBody3491123155997380408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974642879,"filename":"image_07112025_19_29_40_3578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d27b5c064441c996afdd6b905cce9eb1.jpg","text":"TemporaryFile(/tmp/multipartBody9035131962119888688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974642879,"filename":"image_07112025_19_29_52_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c500213b5a9d2950ba08f85beeacdce0.jpg","text":"TemporaryFile(/tmp/multipartBody3033612720630666895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974642879,"filename":"image_07112025_19_29_57_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4dc467884cdd7a7d390688c8a1d3cd6c.jpg","text":"TemporaryFile(/tmp/multipartBody3535518735475714360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974642879,"filename":"image_07112025_19_29_42_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad2fafb12e6e5831a845eee9af7987ed.jpg","text":"TemporaryFile(/tmp/multipartBody1314356243326469606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974642879,"filename":"image_07112025_19_29_54_2682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782214","file1":"1399782212","file0":"1399782210","file4":"1399782216","file5":"1399782217","file3":"1399782215"},"map_files_photo_id_array":[{"photo_id":"1399782217","filename":"file5"},{"photo_id":"1399782214","filename":"file2"},{"photo_id":"1399782216","filename":"file4"},{"photo_id":"1399782212","filename":"file1"},{"photo_id":"1399782210","filename":"file0"},{"photo_id":"1399782215","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782210":["hashtag1","hashtag2"]},{"1399782212":["hashtag1","hashtag2"]},{"1399782215":["hashtag1","hashtag2"]},{"1399782217":["hashtag1","hashtag2"]},{"1399782214":["hashtag1","hashtag2"]},{"1399782216":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782210, 1399782212, 1399782215, 1399782217, 1399782214, 1399782216)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79124188423157 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:30:22.331078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_25_10560.jpg', '/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_35_9869.jpg', '/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_45_10005.jpg', '/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_54_9710.jpg', '/home/pi/Desktop/images/17122025/13/06/image_17122025_13_07_05_10726.jpg', '/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_15_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_25_10560.jpg
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_35_9869.jpg
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_45_10005.jpg
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_06_54_9710.jpg
/home/pi/Desktop/images/17122025/13/06/image_17122025_13_07_05_10726.jpg
/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_15_9929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782219","1399782224","1399782221","1399782229","1399782237","1399782222"],"photo_ids_order":["1399782219","1399782221","1399782222","1399782224","1399782229","1399782237"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de7f366309f3e89037cf68e37bc053c0.jpg","text":"TemporaryFile(/tmp/multipartBody2717994695309655837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974682948,"filename":"image_17122025_13_06_25_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63675148455911484c4505f4508404c3.jpg","text":"TemporaryFile(/tmp/multipartBody2875939208873975766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974682948,"filename":"image_17122025_13_06_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad906972611b51871cb32622d19a4f3d.jpg","text":"TemporaryFile(/tmp/multipartBody7593392994461763264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974682948,"filename":"image_17122025_13_06_35_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba5b0fa6c4f8188d15439d3ca3be8eb8.jpg","text":"TemporaryFile(/tmp/multipartBody2178982467604349905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974682948,"filename":"image_17122025_13_07_05_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cbed1508521b2ef085acbac1da5b904.jpg","text":"TemporaryFile(/tmp/multipartBody5409879400480364889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974682948,"filename":"image_17122025_13_07_15_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5056fea95727a748ec4219658cc1099.jpg","text":"TemporaryFile(/tmp/multipartBody366024028693655218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974682948,"filename":"image_17122025_13_06_45_10005.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782222","file1":"1399782221","file0":"1399782219","file4":"1399782229","file5":"1399782237","file3":"1399782224"},"map_files_photo_id_array":[{"photo_id":"1399782237","filename":"file5"},{"photo_id":"1399782222","filename":"file2"},{"photo_id":"1399782229","filename":"file4"},{"photo_id":"1399782221","filename":"file1"},{"photo_id":"1399782219","filename":"file0"},{"photo_id":"1399782224","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782219":["hashtag1","hashtag2"]},{"1399782224":["hashtag1","hashtag2"]},{"1399782221":["hashtag1","hashtag2"]},{"1399782229":["hashtag1","hashtag2"]},{"1399782237":["hashtag1","hashtag2"]},{"1399782222":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782219, 1399782224, 1399782221, 1399782229, 1399782237, 1399782222)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23223042488098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:31:03.299249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_25_9712.jpg', '/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_35_9656.jpg', '/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_45_10659.jpg', '/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_55_9753.jpg', '/home/pi/Desktop/images/17122025/13/07/image_17122025_13_08_05_9759.jpg', '/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_15_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_25_9712.jpg
/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_35_9656.jpg
/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_45_10659.jpg
/home/pi/Desktop/images/17122025/13/07/image_17122025_13_07_55_9753.jpg
/home/pi/Desktop/images/17122025/13/07/image_17122025_13_08_05_9759.jpg
/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_15_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782254","1399782248","1399782247","1399782250","1399782252","1399782249"],"photo_ids_order":["1399782247","1399782248","1399782249","1399782250","1399782252","1399782254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f38b71ce1bc2e2e72d68f80dd342129.jpg","text":"TemporaryFile(/tmp/multipartBody1176362120519793770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974723968,"filename":"image_17122025_13_08_15_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc4e61c781a87bd2109555f7fb2c5bde.jpg","text":"TemporaryFile(/tmp/multipartBody7524606716418334403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974723968,"filename":"image_17122025_13_07_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9dabc237f4b630b87527631e69794eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8208232735376791068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974723968,"filename":"image_17122025_13_07_25_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15a401fafab6b1eb5c0046494013e06d.jpg","text":"TemporaryFile(/tmp/multipartBody2710795445320873243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974723968,"filename":"image_17122025_13_07_55_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6f74fe3ad0cb98be659ff5123987fe7.jpg","text":"TemporaryFile(/tmp/multipartBody971101425997583350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974723968,"filename":"image_17122025_13_08_05_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68b3ecb3be2980dd6acc9e2bde114764.jpg","text":"TemporaryFile(/tmp/multipartBody2260866602899496994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974723968,"filename":"image_17122025_13_07_45_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782249","file1":"1399782248","file0":"1399782247","file4":"1399782252","file5":"1399782254","file3":"1399782250"},"map_files_photo_id_array":[{"photo_id":"1399782254","filename":"file5"},{"photo_id":"1399782249","filename":"file2"},{"photo_id":"1399782252","filename":"file4"},{"photo_id":"1399782248","filename":"file1"},{"photo_id":"1399782247","filename":"file0"},{"photo_id":"1399782250","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782254":["hashtag1","hashtag2"]},{"1399782248":["hashtag1","hashtag2"]},{"1399782247":["hashtag1","hashtag2"]},{"1399782250":["hashtag1","hashtag2"]},{"1399782252":["hashtag1","hashtag2"]},{"1399782249":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782254, 1399782248, 1399782247, 1399782250, 1399782252, 1399782249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75175714492798 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:31:42.672038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_07_3011.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_13_6422.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_15_1660.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_17_1735.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_32_14922.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_33_1615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_07_3011.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_13_6422.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_15_1660.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_17_1735.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_32_14922.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_33_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":["1399782263","1399782265","1399782262","1399782259","1399782264","1399782261"],"photo_ids_order":["1399782259","1399782261","1399782262","1399782263","1399782264","1399782265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89f1c7c88bdaa008be277fc41d232ef3.jpg","text":"TemporaryFile(/tmp/multipartBody1967029173034534669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974763452,"filename":"image_07112025_19_30_17_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82e5110e241a9ea92edea7ec7357dabb.jpg","text":"TemporaryFile(/tmp/multipartBody2256699038375126524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974763452,"filename":"image_07112025_19_30_33_1615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0170af87d14c616eb4a87b09be27d128.jpg","text":"TemporaryFile(/tmp/multipartBody6685803725203209978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974763452,"filename":"image_07112025_19_30_15_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/796d0be83a5c53e4d3f85f50211a2d01.jpg","text":"TemporaryFile(/tmp/multipartBody8612992901788465411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974763452,"filename":"image_07112025_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/2025/12/17/979993766945b5e200303e6fb31e1b3f.jpg","text":"TemporaryFile(/tmp/multipartBody5228855220085252872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974763452,"filename":"image_07112025_19_30_32_14922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd66e882b4e062b78757638cb64b57c9.jpg","text":"TemporaryFile(/tmp/multipartBody2378839439766873530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974763452,"filename":"image_07112025_19_30_13_6422.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782262","file1":"1399782261","file0":"1399782259","file4":"1399782264","file5":"1399782265","file3":"1399782263"},"map_files_photo_id_array":[{"photo_id":"1399782265","filename":"file5"},{"photo_id":"1399782262","filename":"file2"},{"photo_id":"1399782264","filename":"file4"},{"photo_id":"1399782261","filename":"file1"},{"photo_id":"1399782259","filename":"file0"},{"photo_id":"1399782263","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782263":["hashtag1","hashtag2"]},{"1399782265":["hashtag1","hashtag2"]},{"1399782262":["hashtag1","hashtag2"]},{"1399782259":["hashtag1","hashtag2"]},{"1399782264":["hashtag1","hashtag2"]},{"1399782261":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782263, 1399782265, 1399782262, 1399782259, 1399782264, 1399782261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.37983822822571 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:32:21.988805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_24_9828.jpg', '/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_35_10681.jpg', '/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_45_9932.jpg', '/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_55_9712.jpg', '/home/pi/Desktop/images/17122025/13/08/image_17122025_13_09_04_9666.jpg', '/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_14_10021.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_24_9828.jpg
/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_35_10681.jpg
/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_45_9932.jpg
/home/pi/Desktop/images/17122025/13/08/image_17122025_13_08_55_9712.jpg
/home/pi/Desktop/images/17122025/13/08/image_17122025_13_09_04_9666.jpg
/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_14_10021.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782272","1399782278","1399782266","1399782286","1399782268","1399782270"],"photo_ids_order":["1399782266","1399782268","1399782270","1399782272","1399782278","1399782286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f428d3da5640f65094a75989b00c6e56.jpg","text":"TemporaryFile(/tmp/multipartBody3848430184417980228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974802640,"filename":"image_17122025_13_08_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33da37eb5d5772ef00b216051994c316.jpg","text":"TemporaryFile(/tmp/multipartBody4324054603949828208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974802640,"filename":"image_17122025_13_09_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4652ba3a46ccb0fdc23d2c269ac4faaf.jpg","text":"TemporaryFile(/tmp/multipartBody4243852072499013513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974802640,"filename":"image_17122025_13_08_24_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a889c1fa41a2a4d20f413c0451d2de2.jpg","text":"TemporaryFile(/tmp/multipartBody5722370142536199247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974802640,"filename":"image_17122025_13_09_14_10021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8bb90fb8f0eb3025ccc66d431afc645.jpg","text":"TemporaryFile(/tmp/multipartBody1611814551751664061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974802640,"filename":"image_17122025_13_08_35_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61ddebcd29a84aa4fed766711b48cd90.jpg","text":"TemporaryFile(/tmp/multipartBody9205088252200253350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974802640,"filename":"image_17122025_13_08_45_9932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782270","file1":"1399782268","file0":"1399782266","file4":"1399782278","file5":"1399782286","file3":"1399782272"},"map_files_photo_id_array":[{"photo_id":"1399782286","filename":"file5"},{"photo_id":"1399782270","filename":"file2"},{"photo_id":"1399782278","filename":"file4"},{"photo_id":"1399782268","filename":"file1"},{"photo_id":"1399782266","filename":"file0"},{"photo_id":"1399782272","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782272":["hashtag1","hashtag2"]},{"1399782278":["hashtag1","hashtag2"]},{"1399782266":["hashtag1","hashtag2"]},{"1399782286":["hashtag1","hashtag2"]},{"1399782268":["hashtag1","hashtag2"]},{"1399782270":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782272, 1399782278, 1399782266, 1399782286, 1399782268, 1399782270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.33281493186951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:33:02.793663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_25_10564.jpg', '/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_34_9549.jpg', '/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_45_10691.jpg', '/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_55_9832.jpg', '/home/pi/Desktop/images/17122025/13/09/image_17122025_13_10_05_9726.jpg', '/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_14_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_25_10564.jpg
/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_34_9549.jpg
/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_45_10691.jpg
/home/pi/Desktop/images/17122025/13/09/image_17122025_13_09_55_9832.jpg
/home/pi/Desktop/images/17122025/13/09/image_17122025_13_10_05_9726.jpg
/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_14_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":["1399782293","1399782292","1399782295","1399782289","1399782291","1399782290"],"photo_ids_order":["1399782289","1399782290","1399782291","1399782292","1399782293","1399782295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1bb2d7bb425ce5e2774932a225b89d2.jpg","text":"TemporaryFile(/tmp/multipartBody7548318725249876675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974843509,"filename":"image_17122025_13_10_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0705ba73e6f508693e9d87b77995db26.jpg","text":"TemporaryFile(/tmp/multipartBody799829140889148538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974843509,"filename":"image_17122025_13_09_55_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3f999367d5018e04c9d765c6983b2c8.jpg","text":"TemporaryFile(/tmp/multipartBody6831978065278522548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974843509,"filename":"image_17122025_13_10_14_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecca71bf803ab92b465bc5e95de379a9.jpg","text":"TemporaryFile(/tmp/multipartBody3987907223770440691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974843509,"filename":"image_17122025_13_09_25_10564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/625b93d5cabb86adae574347891f7d5f.jpg","text":"TemporaryFile(/tmp/multipartBody5403917098691646005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974843509,"filename":"image_17122025_13_09_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5107ccab5f650884249d258471a98a52.jpg","text":"TemporaryFile(/tmp/multipartBody6957539923992336977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974843509,"filename":"image_17122025_13_09_34_9549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782291","file1":"1399782290","file0":"1399782289","file4":"1399782293","file5":"1399782295","file3":"1399782292"},"map_files_photo_id_array":[{"photo_id":"1399782295","filename":"file5"},{"photo_id":"1399782291","filename":"file2"},{"photo_id":"1399782293","filename":"file4"},{"photo_id":"1399782290","filename":"file1"},{"photo_id":"1399782289","filename":"file0"},{"photo_id":"1399782292","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782293":["hashtag1","hashtag2"]},{"1399782292":["hashtag1","hashtag2"]},{"1399782295":["hashtag1","hashtag2"]},{"1399782289":["hashtag1","hashtag2"]},{"1399782291":["hashtag1","hashtag2"]},{"1399782290":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782293, 1399782292, 1399782295, 1399782289, 1399782291, 1399782290)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.52060413360596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:33:42.066577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_37_1634.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_44_6888.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_45_1665.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_47_1732.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_52_1657.jpg', '/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_57_1739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_37_1634.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_44_6888.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_45_1665.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_47_1732.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_52_1657.jpg
/home/pi/Desktop/images/07112025/19/30/image_07112025_19_30_57_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":["1399782303","1399782305","1399782308","1399782302","1399782304","1399782300"],"photo_ids_order":["1399782300","1399782302","1399782303","1399782304","1399782305","1399782308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89ca9a374630eb4a42bfd96b51c3bdd5.jpg","text":"TemporaryFile(/tmp/multipartBody4409420180455345615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974882841,"filename":"image_07112025_19_30_45_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c3fb82cc270c668bc218506f0b43f45.jpg","text":"TemporaryFile(/tmp/multipartBody8812314727537954918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974882841,"filename":"image_07112025_19_30_52_1657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29c9c176367d691abee937062a751200.jpg","text":"TemporaryFile(/tmp/multipartBody6571790950999081204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974882841,"filename":"image_07112025_19_30_57_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8357aa1015ded28dd1486a6fcb9dc39d.jpg","text":"TemporaryFile(/tmp/multipartBody5822931816853205472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974882841,"filename":"image_07112025_19_30_44_6888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6fbd5401d6ed8ee11f26f06fd0663ce.jpg","text":"TemporaryFile(/tmp/multipartBody2782970457145373862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974882841,"filename":"image_07112025_19_30_47_1732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd7c18d7c8f2a4f21194c353b8dcafcd.jpg","text":"TemporaryFile(/tmp/multipartBody8682458710671089522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974882841,"filename":"image_07112025_19_30_37_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782303","file1":"1399782302","file0":"1399782300","file4":"1399782305","file5":"1399782308","file3":"1399782304"},"map_files_photo_id_array":[{"photo_id":"1399782308","filename":"file5"},{"photo_id":"1399782303","filename":"file2"},{"photo_id":"1399782305","filename":"file4"},{"photo_id":"1399782302","filename":"file1"},{"photo_id":"1399782300","filename":"file0"},{"photo_id":"1399782304","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782303":["hashtag1","hashtag2"]},{"1399782305":["hashtag1","hashtag2"]},{"1399782308":["hashtag1","hashtag2"]},{"1399782302":["hashtag1","hashtag2"]},{"1399782304":["hashtag1","hashtag2"]},{"1399782300":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782303, 1399782305, 1399782308, 1399782302, 1399782304, 1399782300)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36814332008362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:34:22.305010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_25_10760.jpg', '/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_35_9634.jpg', '/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_44_9607.jpg', '/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_55_10686.jpg', '/home/pi/Desktop/images/17122025/13/10/image_17122025_13_11_05_9868.jpg', '/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_15_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_25_10760.jpg
/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_35_9634.jpg
/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_44_9607.jpg
/home/pi/Desktop/images/17122025/13/10/image_17122025_13_10_55_10686.jpg
/home/pi/Desktop/images/17122025/13/10/image_17122025_13_11_05_9868.jpg
/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_15_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782323","1399782328","1399782331","1399782313","1399782315","1399782309"],"photo_ids_order":["1399782309","1399782313","1399782315","1399782323","1399782328","1399782331"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66559c4637e34053e634d925c007ecbd.jpg","text":"TemporaryFile(/tmp/multipartBody8747130485263354354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974922917,"filename":"image_17122025_13_10_55_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60dddb8d00676d246c8cb2cef33f6372.jpg","text":"TemporaryFile(/tmp/multipartBody8579250509287396504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974922917,"filename":"image_17122025_13_11_05_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0351381f6296f9a31c514577ac05a091.jpg","text":"TemporaryFile(/tmp/multipartBody5998615557471050755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974922917,"filename":"image_17122025_13_11_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5493a2dcc34468312a178a128cf25829.jpg","text":"TemporaryFile(/tmp/multipartBody9149196724262857072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974922917,"filename":"image_17122025_13_10_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c83aaae2c9b8dbec1d45cea229a27e7.jpg","text":"TemporaryFile(/tmp/multipartBody1479024105980372403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974922917,"filename":"image_17122025_13_10_44_9607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8309db4b446d4d113a2dfbe6f361e88e.jpg","text":"TemporaryFile(/tmp/multipartBody1159959656363079217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974922917,"filename":"image_17122025_13_10_25_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782315","file1":"1399782313","file0":"1399782309","file4":"1399782328","file5":"1399782331","file3":"1399782323"},"map_files_photo_id_array":[{"photo_id":"1399782331","filename":"file5"},{"photo_id":"1399782315","filename":"file2"},{"photo_id":"1399782328","filename":"file4"},{"photo_id":"1399782313","filename":"file1"},{"photo_id":"1399782309","filename":"file0"},{"photo_id":"1399782323","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782323":["hashtag1","hashtag2"]},{"1399782328":["hashtag1","hashtag2"]},{"1399782331":["hashtag1","hashtag2"]},{"1399782313":["hashtag1","hashtag2"]},{"1399782315":["hashtag1","hashtag2"]},{"1399782309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782323, 1399782328, 1399782331, 1399782313, 1399782315, 1399782309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.908409118652344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:35:03.463924
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_24_9636.jpg', '/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_35_10735.jpg', '/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_45_9796.jpg', '/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_55_9784.jpg', '/home/pi/Desktop/images/17122025/13/11/image_17122025_13_12_04_9676.jpg', '/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_15_10772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_24_9636.jpg
/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_35_10735.jpg
/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_45_9796.jpg
/home/pi/Desktop/images/17122025/13/11/image_17122025_13_11_55_9784.jpg
/home/pi/Desktop/images/17122025/13/11/image_17122025_13_12_04_9676.jpg
/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_15_10772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782341","1399782344","1399782338","1399782340","1399782342","1399782336"],"photo_ids_order":["1399782336","1399782338","1399782340","1399782341","1399782342","1399782344"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e845e37acf91dafdb7814387195b738.jpg","text":"TemporaryFile(/tmp/multipartBody1436585496950734085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974964181,"filename":"image_17122025_13_11_55_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15ae02b0ede077c2f8f300622b3dbd80.jpg","text":"TemporaryFile(/tmp/multipartBody4081147959139675567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974964181,"filename":"image_17122025_13_12_15_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20a7e156558951ea7c489e7ce3f46728.jpg","text":"TemporaryFile(/tmp/multipartBody3472421061984513131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974964181,"filename":"image_17122025_13_11_35_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d9b3c5d36e5a99f0bfef123d50a9bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4248457935658202046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974964181,"filename":"image_17122025_13_11_45_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb6d14cbbadab4668052c3430ae2647e.jpg","text":"TemporaryFile(/tmp/multipartBody8931641054791047663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974964181,"filename":"image_17122025_13_12_04_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e2bf115eea0533b70af8a5f6efcaf2d.jpg","text":"TemporaryFile(/tmp/multipartBody7770847846087615714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765974964181,"filename":"image_17122025_13_11_24_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782340","file1":"1399782338","file0":"1399782336","file4":"1399782342","file5":"1399782344","file3":"1399782341"},"map_files_photo_id_array":[{"photo_id":"1399782344","filename":"file5"},{"photo_id":"1399782340","filename":"file2"},{"photo_id":"1399782342","filename":"file4"},{"photo_id":"1399782338","filename":"file1"},{"photo_id":"1399782336","filename":"file0"},{"photo_id":"1399782341","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782341":["hashtag1","hashtag2"]},{"1399782344":["hashtag1","hashtag2"]},{"1399782338":["hashtag1","hashtag2"]},{"1399782340":["hashtag1","hashtag2"]},{"1399782342":["hashtag1","hashtag2"]},{"1399782336":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782341, 1399782344, 1399782338, 1399782340, 1399782342, 1399782336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.39070773124695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:35:42.682204
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_06_6986.jpg', '/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_07_1623.jpg', '/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_10_2788.jpg', '/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_25_3080.jpg', '/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_27_1730.jpg', '/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_30_3174.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_06_6986.jpg
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_07_1623.jpg
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_10_2788.jpg
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_25_3080.jpg
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_27_1730.jpg
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_30_3174.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782353","1399782356","1399782350","1399782352","1399782355","1399782354"],"photo_ids_order":["1399782350","1399782352","1399782353","1399782354","1399782355","1399782356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a475ee4707cd34ca0e011f62737f3741.jpg","text":"TemporaryFile(/tmp/multipartBody3827485090978211378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975003497,"filename":"image_07112025_19_31_10_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8be4e0838dccaf7fca39041f5cd98bc5.jpg","text":"TemporaryFile(/tmp/multipartBody2605509834262316278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975003497,"filename":"image_07112025_19_31_30_3174.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e41832da0c9c8044726e1139c4c1fe80.jpg","text":"TemporaryFile(/tmp/multipartBody2305934803597722773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975003497,"filename":"image_07112025_19_31_06_6986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9be3b247f46f71797172c4edaf6f260a.jpg","text":"TemporaryFile(/tmp/multipartBody2085027548035704940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975003497,"filename":"image_07112025_19_31_07_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c979dc299a392e65681651f0309f4f19.jpg","text":"TemporaryFile(/tmp/multipartBody199491687166215552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975003497,"filename":"image_07112025_19_31_27_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc648ae5d7677b25afdcd60b1e1d1a86.jpg","text":"TemporaryFile(/tmp/multipartBody5415830833210510926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975003497,"filename":"image_07112025_19_31_25_3080.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782353","file1":"1399782352","file0":"1399782350","file4":"1399782355","file5":"1399782356","file3":"1399782354"},"map_files_photo_id_array":[{"photo_id":"1399782356","filename":"file5"},{"photo_id":"1399782353","filename":"file2"},{"photo_id":"1399782355","filename":"file4"},{"photo_id":"1399782352","filename":"file1"},{"photo_id":"1399782350","filename":"file0"},{"photo_id":"1399782354","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782353":["hashtag1","hashtag2"]},{"1399782356":["hashtag1","hashtag2"]},{"1399782350":["hashtag1","hashtag2"]},{"1399782352":["hashtag1","hashtag2"]},{"1399782355":["hashtag1","hashtag2"]},{"1399782354":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782353, 1399782356, 1399782350, 1399782352, 1399782355, 1399782354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77420949935913 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:36:22.022137
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_25_9721.jpg', '/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_35_9889.jpg', '/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_45_9810.jpg', '/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_55_10224.jpg', '/home/pi/Desktop/images/17122025/13/12/image_17122025_13_13_04_9639.jpg', '/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_15_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_25_9721.jpg
/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_35_9889.jpg
/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_45_9810.jpg
/home/pi/Desktop/images/17122025/13/12/image_17122025_13_12_55_10224.jpg
/home/pi/Desktop/images/17122025/13/12/image_17122025_13_13_04_9639.jpg
/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_15_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":["1399782362","1399782364","1399782358","1399782369","1399782366","1399782360"],"photo_ids_order":["1399782358","1399782360","1399782362","1399782364","1399782366","1399782369"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5361ca473aebf38ffcce750bf281c125.jpg","text":"TemporaryFile(/tmp/multipartBody7695990706064907008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975042642,"filename":"image_17122025_13_12_45_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27617cd9eb6918b6c88ac3000a1d1cdf.jpg","text":"TemporaryFile(/tmp/multipartBody6962171472724929903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975042642,"filename":"image_17122025_13_12_55_10224.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a6c26e7498e6d1ce0216e75ed145bb6.jpg","text":"TemporaryFile(/tmp/multipartBody5383473106328953704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975042642,"filename":"image_17122025_13_12_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d3c7152b5a1d0457ae9ecdd3be571de.jpg","text":"TemporaryFile(/tmp/multipartBody5987206040361310301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975042642,"filename":"image_17122025_13_13_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3967a5d68fc0cedbe2c0e4d0a2b3761.jpg","text":"TemporaryFile(/tmp/multipartBody2022280352103542795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975042642,"filename":"image_17122025_13_13_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a337a49122e429d62c7aed377e6286ab.jpg","text":"TemporaryFile(/tmp/multipartBody4867042985072469112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975042642,"filename":"image_17122025_13_12_35_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782362","file1":"1399782360","file0":"1399782358","file4":"1399782366","file5":"1399782369","file3":"1399782364"},"map_files_photo_id_array":[{"photo_id":"1399782369","filename":"file5"},{"photo_id":"1399782362","filename":"file2"},{"photo_id":"1399782366","filename":"file4"},{"photo_id":"1399782360","filename":"file1"},{"photo_id":"1399782358","filename":"file0"},{"photo_id":"1399782364","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782362":["hashtag1","hashtag2"]},{"1399782364":["hashtag1","hashtag2"]},{"1399782358":["hashtag1","hashtag2"]},{"1399782369":["hashtag1","hashtag2"]},{"1399782366":["hashtag1","hashtag2"]},{"1399782360":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782362, 1399782364, 1399782358, 1399782369, 1399782366, 1399782360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.741714000701904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:37:02.908518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_25_9930.jpg', '/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_35_9875.jpg', '/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_45_9550.jpg', '/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_55_10659.jpg', '/home/pi/Desktop/images/17122025/13/13/image_17122025_13_14_05_9740.jpg', '/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_15_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_25_9930.jpg
/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_35_9875.jpg
/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_45_9550.jpg
/home/pi/Desktop/images/17122025/13/13/image_17122025_13_13_55_10659.jpg
/home/pi/Desktop/images/17122025/13/13/image_17122025_13_14_05_9740.jpg
/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_15_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782371","1399782374","1399782373","1399782376","1399782375","1399782378"],"photo_ids_order":["1399782371","1399782373","1399782374","1399782375","1399782376","1399782378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92be04fd8c2290e7c5e4abca28e77791.jpg","text":"TemporaryFile(/tmp/multipartBody2599338232083046536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975083581,"filename":"image_17122025_13_13_25_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db0101546a2fb517d3852e72dd040343.jpg","text":"TemporaryFile(/tmp/multipartBody1403324735514801762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975083581,"filename":"image_17122025_13_13_45_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20d702345827cff6ef7ef76a61496ba5.jpg","text":"TemporaryFile(/tmp/multipartBody5867652942523453225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975083581,"filename":"image_17122025_13_13_35_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02911a5a946cffaff47a2ec3037a8e0f.jpg","text":"TemporaryFile(/tmp/multipartBody1633352375180236148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975083581,"filename":"image_17122025_13_14_05_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8181b89b441f0e988ea92bfcba81aea3.jpg","text":"TemporaryFile(/tmp/multipartBody2117762486695674657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975083581,"filename":"image_17122025_13_13_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3ef90c117792ac5cb411defc5d0f4bc.jpg","text":"TemporaryFile(/tmp/multipartBody5154236219315408342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975083581,"filename":"image_17122025_13_14_15_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782374","file1":"1399782373","file0":"1399782371","file4":"1399782376","file5":"1399782378","file3":"1399782375"},"map_files_photo_id_array":[{"photo_id":"1399782378","filename":"file5"},{"photo_id":"1399782374","filename":"file2"},{"photo_id":"1399782376","filename":"file4"},{"photo_id":"1399782373","filename":"file1"},{"photo_id":"1399782371","filename":"file0"},{"photo_id":"1399782375","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782371":["hashtag1","hashtag2"]},{"1399782374":["hashtag1","hashtag2"]},{"1399782373":["hashtag1","hashtag2"]},{"1399782376":["hashtag1","hashtag2"]},{"1399782375":["hashtag1","hashtag2"]},{"1399782378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782371, 1399782374, 1399782373, 1399782376, 1399782375, 1399782378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.679149866104126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:37:42.229361
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_35_1639.jpg', '/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_37_1702.jpg', '/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_41_3658.jpg', '/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_43_2722.jpg', '/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_58_2684.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_04_2645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_35_1639.jpg
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_37_1702.jpg
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_41_3658.jpg
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_43_2722.jpg
/home/pi/Desktop/images/07112025/19/31/image_07112025_19_31_58_2684.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_04_2645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782397","1399782385","1399782433","1399782439","1399782406","1399782438"],"photo_ids_order":["1399782385","1399782397","1399782406","1399782433","1399782438","1399782439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35b8d864e6f3f27a995687aa6276d377.jpg","text":"TemporaryFile(/tmp/multipartBody6301100543863588765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975123002,"filename":"image_07112025_19_31_37_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/368f9da20b46a4e2841ad33eccf66394.jpg","text":"TemporaryFile(/tmp/multipartBody7285102156641901872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975123002,"filename":"image_07112025_19_31_35_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19ba2090679c98615067351a0786f507.jpg","text":"TemporaryFile(/tmp/multipartBody3639336242135032215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975123002,"filename":"image_07112025_19_31_43_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73910ef94a844c151521217a01aec43a.jpg","text":"TemporaryFile(/tmp/multipartBody5096801216784918955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975123002,"filename":"image_07112025_19_32_04_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db9d5bf96c16f70305b60d310483bc09.jpg","text":"TemporaryFile(/tmp/multipartBody1277938065838150113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975123002,"filename":"image_07112025_19_31_41_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1ea2adc6147068861a1484754285763.jpg","text":"TemporaryFile(/tmp/multipartBody1117757987055188600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975123002,"filename":"image_07112025_19_31_58_2684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782406","file1":"1399782397","file0":"1399782385","file4":"1399782438","file5":"1399782439","file3":"1399782433"},"map_files_photo_id_array":[{"photo_id":"1399782439","filename":"file5"},{"photo_id":"1399782406","filename":"file2"},{"photo_id":"1399782438","filename":"file4"},{"photo_id":"1399782397","filename":"file1"},{"photo_id":"1399782385","filename":"file0"},{"photo_id":"1399782433","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782397":["hashtag1","hashtag2"]},{"1399782385":["hashtag1","hashtag2"]},{"1399782433":["hashtag1","hashtag2"]},{"1399782439":["hashtag1","hashtag2"]},{"1399782406":["hashtag1","hashtag2"]},{"1399782438":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782397, 1399782385, 1399782433, 1399782439, 1399782406, 1399782438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4711217880249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:38:22.562791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_24_9686.jpg', '/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_35_10740.jpg', '/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_45_9670.jpg', '/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_54_9678.jpg', '/home/pi/Desktop/images/17122025/13/14/image_17122025_13_15_04_9838.jpg', '/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_15_10836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_24_9686.jpg
/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_35_10740.jpg
/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_45_9670.jpg
/home/pi/Desktop/images/17122025/13/14/image_17122025_13_14_54_9678.jpg
/home/pi/Desktop/images/17122025/13/14/image_17122025_13_15_04_9838.jpg
/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_15_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":["1399782488","1399782482","1399782484","1399782478","1399782480","1399782477"],"photo_ids_order":["1399782477","1399782478","1399782480","1399782482","1399782484","1399782488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7f74cb5fece2fe70fcb099fa255be65.jpg","text":"TemporaryFile(/tmp/multipartBody1816308701402278105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975163213,"filename":"image_17122025_13_15_15_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/feda6cb65f12af0726adfc08f7e8d391.jpg","text":"TemporaryFile(/tmp/multipartBody3807413827635819496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975163213,"filename":"image_17122025_13_14_54_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b93e848f8a1e20069c3e176d7fb20b3.jpg","text":"TemporaryFile(/tmp/multipartBody259164405488094239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975163213,"filename":"image_17122025_13_15_04_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75b458f2916931a354d2fee51c2c3698.jpg","text":"TemporaryFile(/tmp/multipartBody8335358773873156337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975163213,"filename":"image_17122025_13_14_35_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63e3295a8566514b676bf269201d391f.jpg","text":"TemporaryFile(/tmp/multipartBody8857135278489986918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975163213,"filename":"image_17122025_13_14_45_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38d6fb282e25c3275014c684ccb9fcf1.jpg","text":"TemporaryFile(/tmp/multipartBody4294089766731677325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975163213,"filename":"image_17122025_13_14_24_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782480","file1":"1399782478","file0":"1399782477","file4":"1399782484","file5":"1399782488","file3":"1399782482"},"map_files_photo_id_array":[{"photo_id":"1399782488","filename":"file5"},{"photo_id":"1399782480","filename":"file2"},{"photo_id":"1399782484","filename":"file4"},{"photo_id":"1399782478","filename":"file1"},{"photo_id":"1399782477","filename":"file0"},{"photo_id":"1399782482","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782488":["hashtag1","hashtag2"]},{"1399782482":["hashtag1","hashtag2"]},{"1399782484":["hashtag1","hashtag2"]},{"1399782478":["hashtag1","hashtag2"]},{"1399782480":["hashtag1","hashtag2"]},{"1399782477":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782488, 1399782482, 1399782484, 1399782478, 1399782480, 1399782477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.287097215652466 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:39:03.651579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_25_9609.jpg', '/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_34_9672.jpg', '/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_45_10695.jpg', '/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_55_9693.jpg', '/home/pi/Desktop/images/17122025/13/15/image_17122025_13_16_05_9796.jpg', '/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_25_9609.jpg
/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_34_9672.jpg
/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_45_10695.jpg
/home/pi/Desktop/images/17122025/13/15/image_17122025_13_15_55_9693.jpg
/home/pi/Desktop/images/17122025/13/15/image_17122025_13_16_05_9796.jpg
/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_14_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":["1399782548","1399782545","1399782544","1399782532","1399782541","1399782546"],"photo_ids_order":["1399782532","1399782541","1399782544","1399782545","1399782546","1399782548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52a636b62686f09e80a46608580f2f5a.jpg","text":"TemporaryFile(/tmp/multipartBody5311302695437969818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975204466,"filename":"image_17122025_13_16_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bcf8c1e2a83e718cb06761db98749fd.jpg","text":"TemporaryFile(/tmp/multipartBody6789186083498378339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975204466,"filename":"image_17122025_13_15_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb5db7277a517a4bd217458c5e2c25ed.jpg","text":"TemporaryFile(/tmp/multipartBody4260097050710215699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975204466,"filename":"image_17122025_13_15_45_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c06f568e2c573b4f1b174e5c02ec8508.jpg","text":"TemporaryFile(/tmp/multipartBody3345733640462970692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975204466,"filename":"image_17122025_13_15_25_9609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3056719a14b6264551a890c3294b8d14.jpg","text":"TemporaryFile(/tmp/multipartBody1265243852646178487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975204466,"filename":"image_17122025_13_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/2025/12/17/d72b1115b9ab8d15dfe4fffa52440d30.jpg","text":"TemporaryFile(/tmp/multipartBody1221813322164790909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975204466,"filename":"image_17122025_13_16_05_9796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782544","file1":"1399782541","file0":"1399782532","file4":"1399782546","file5":"1399782548","file3":"1399782545"},"map_files_photo_id_array":[{"photo_id":"1399782548","filename":"file5"},{"photo_id":"1399782544","filename":"file2"},{"photo_id":"1399782546","filename":"file4"},{"photo_id":"1399782541","filename":"file1"},{"photo_id":"1399782532","filename":"file0"},{"photo_id":"1399782545","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782548":["hashtag1","hashtag2"]},{"1399782545":["hashtag1","hashtag2"]},{"1399782544":["hashtag1","hashtag2"]},{"1399782532":["hashtag1","hashtag2"]},{"1399782541":["hashtag1","hashtag2"]},{"1399782546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782548, 1399782545, 1399782544, 1399782532, 1399782541, 1399782546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41408014297485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:39:42.692685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_08_3704.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_10_2655.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_13_2651.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_22_2732.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_26_3780.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_28_2718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_08_3704.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_10_2655.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_13_2651.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_22_2732.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_26_3780.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_28_2718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782560","1399782554","1399782557","1399782559","1399782556","1399782558"],"photo_ids_order":["1399782554","1399782556","1399782557","1399782558","1399782559","1399782560"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/688ec0fca77473b4a21e13918a15e3fb.jpg","text":"TemporaryFile(/tmp/multipartBody6807045315115682575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975243464,"filename":"image_07112025_19_32_28_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fc8998621e062523328b63bd70fdf89.jpg","text":"TemporaryFile(/tmp/multipartBody1383050323770807528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975243464,"filename":"image_07112025_19_32_08_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bdb573c8d74b2f88ab97b648caecbae.jpg","text":"TemporaryFile(/tmp/multipartBody5844666698058843776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975243464,"filename":"image_07112025_19_32_13_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c04b2479b5765d14c781e06ea53372d1.jpg","text":"TemporaryFile(/tmp/multipartBody769161814141992540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975243464,"filename":"image_07112025_19_32_26_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38c1b3c40215a5eaa9b5fce707d86641.jpg","text":"TemporaryFile(/tmp/multipartBody1508895340431039320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975243464,"filename":"image_07112025_19_32_10_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68b966ae1f6847033ab03b92e954f486.jpg","text":"TemporaryFile(/tmp/multipartBody4517294228168486104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975243464,"filename":"image_07112025_19_32_22_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782557","file1":"1399782556","file0":"1399782554","file4":"1399782559","file5":"1399782560","file3":"1399782558"},"map_files_photo_id_array":[{"photo_id":"1399782560","filename":"file5"},{"photo_id":"1399782557","filename":"file2"},{"photo_id":"1399782559","filename":"file4"},{"photo_id":"1399782556","filename":"file1"},{"photo_id":"1399782554","filename":"file0"},{"photo_id":"1399782558","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782560":["hashtag1","hashtag2"]},{"1399782554":["hashtag1","hashtag2"]},{"1399782557":["hashtag1","hashtag2"]},{"1399782559":["hashtag1","hashtag2"]},{"1399782556":["hashtag1","hashtag2"]},{"1399782558":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782560, 1399782554, 1399782557, 1399782559, 1399782556, 1399782558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19461131095886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:40:21.938021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_25_10746.jpg', '/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_35_9986.jpg', '/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_45_9711.jpg', '/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_55_9961.jpg', '/home/pi/Desktop/images/17122025/13/16/image_17122025_13_17_04_9746.jpg', '/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_15_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_25_10746.jpg
/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_35_9986.jpg
/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_45_9711.jpg
/home/pi/Desktop/images/17122025/13/16/image_17122025_13_16_55_9961.jpg
/home/pi/Desktop/images/17122025/13/16/image_17122025_13_17_04_9746.jpg
/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_15_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782578","1399782563","1399782571","1399782574","1399782568","1399782561"],"photo_ids_order":["1399782561","1399782563","1399782568","1399782571","1399782574","1399782578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de28d4987940a8cb3d14c206eb561460.jpg","text":"TemporaryFile(/tmp/multipartBody8046608862049656115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975282572,"filename":"image_17122025_13_17_15_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73b3778c4759c79890ed40e28e104173.jpg","text":"TemporaryFile(/tmp/multipartBody4794371952539606095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975282572,"filename":"image_17122025_13_16_35_9986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92967fcf97e8e2b04cb4dc425f46eb74.jpg","text":"TemporaryFile(/tmp/multipartBody4014286058969507810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975282572,"filename":"image_17122025_13_16_55_9961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a0e1a49946bbb8a077d99a799dec0ef.jpg","text":"TemporaryFile(/tmp/multipartBody918576444069437565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975282572,"filename":"image_17122025_13_17_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/569f87bdba847513af3421c9c3f731f2.jpg","text":"TemporaryFile(/tmp/multipartBody7714407750447385356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975282572,"filename":"image_17122025_13_16_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f315beee012a1d7d4ffebaa0f80678f3.jpg","text":"TemporaryFile(/tmp/multipartBody2256615003533467706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975282572,"filename":"image_17122025_13_16_25_10746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782568","file1":"1399782563","file0":"1399782561","file4":"1399782574","file5":"1399782578","file3":"1399782571"},"map_files_photo_id_array":[{"photo_id":"1399782578","filename":"file5"},{"photo_id":"1399782568","filename":"file2"},{"photo_id":"1399782574","filename":"file4"},{"photo_id":"1399782563","filename":"file1"},{"photo_id":"1399782561","filename":"file0"},{"photo_id":"1399782571","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782578":["hashtag1","hashtag2"]},{"1399782563":["hashtag1","hashtag2"]},{"1399782571":["hashtag1","hashtag2"]},{"1399782574":["hashtag1","hashtag2"]},{"1399782568":["hashtag1","hashtag2"]},{"1399782561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782578, 1399782563, 1399782571, 1399782574, 1399782568, 1399782561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.21963715553284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:41:02.713839
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_25_9676.jpg', '/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_34_9685.jpg', '/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_45_10640.jpg', '/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_55_9657.jpg', '/home/pi/Desktop/images/17122025/13/17/image_17122025_13_18_04_9594.jpg', '/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_15_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_25_9676.jpg
/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_34_9685.jpg
/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_45_10640.jpg
/home/pi/Desktop/images/17122025/13/17/image_17122025_13_17_55_9657.jpg
/home/pi/Desktop/images/17122025/13/17/image_17122025_13_18_04_9594.jpg
/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_15_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782593","1399782581","1399782629","1399782701","1399782664","1399782579"],"photo_ids_order":["1399782579","1399782581","1399782593","1399782629","1399782664","1399782701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1b8e78ba533da3759a7c8133adfcf50.jpg","text":"TemporaryFile(/tmp/multipartBody4266762839010930109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975323402,"filename":"image_17122025_13_17_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3b72583f7fa78ecb123876bb3c38803.jpg","text":"TemporaryFile(/tmp/multipartBody1094641120752814396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975323402,"filename":"image_17122025_13_17_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41d6c72740d3eb490345ff74fe88f0b5.jpg","text":"TemporaryFile(/tmp/multipartBody4353171718370584086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975323402,"filename":"image_17122025_13_17_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10e72ba833e89c9c35570b0e9a764f83.jpg","text":"TemporaryFile(/tmp/multipartBody5188440021534706396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975323402,"filename":"image_17122025_13_18_15_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de96eb513ed93d2b6d62238333810e0b.jpg","text":"TemporaryFile(/tmp/multipartBody3853376134294994146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975323402,"filename":"image_17122025_13_18_04_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9310875ac1029b063c7a268adbbfa903.jpg","text":"TemporaryFile(/tmp/multipartBody7428369740386674910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975323402,"filename":"image_17122025_13_17_25_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782593","file1":"1399782581","file0":"1399782579","file4":"1399782664","file5":"1399782701","file3":"1399782629"},"map_files_photo_id_array":[{"photo_id":"1399782701","filename":"file5"},{"photo_id":"1399782593","filename":"file2"},{"photo_id":"1399782664","filename":"file4"},{"photo_id":"1399782581","filename":"file1"},{"photo_id":"1399782579","filename":"file0"},{"photo_id":"1399782629","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782593":["hashtag1","hashtag2"]},{"1399782581":["hashtag1","hashtag2"]},{"1399782629":["hashtag1","hashtag2"]},{"1399782701":["hashtag1","hashtag2"]},{"1399782664":["hashtag1","hashtag2"]},{"1399782579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782593, 1399782581, 1399782629, 1399782701, 1399782664, 1399782579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.31824207305908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:41:42.075608
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_31_2818.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_37_3542.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_43_2924.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_46_3595.jpg', '/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_53_3540.jpg', '/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_05_3756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_31_2818.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_37_3542.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_43_2924.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_46_3595.jpg
/home/pi/Desktop/images/07112025/19/32/image_07112025_19_32_53_3540.jpg
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_05_3756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782746","1399782749","1399782751","1399782748","1399782753","1399782750"],"photo_ids_order":["1399782746","1399782748","1399782749","1399782750","1399782751","1399782753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3e61187d132852f8ccf326313fa6962.jpg","text":"TemporaryFile(/tmp/multipartBody4765044455522868485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975362850,"filename":"image_07112025_19_32_31_2818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfb64b1066b6582ff792502348db61d9.jpg","text":"TemporaryFile(/tmp/multipartBody8948458054410383058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975362850,"filename":"image_07112025_19_32_43_2924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8ed17a541d6ba519fd30ec2b6beaee0.jpg","text":"TemporaryFile(/tmp/multipartBody25530205239842972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975362850,"filename":"image_07112025_19_32_53_3540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5d916ca7b4649109febe5b1ee25d022.jpg","text":"TemporaryFile(/tmp/multipartBody2234733368275570764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975362850,"filename":"image_07112025_19_32_37_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81cb028fb81822a0ef018798c9adf9f0.jpg","text":"TemporaryFile(/tmp/multipartBody7721838704518290326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975362850,"filename":"image_07112025_19_33_05_3756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35779805fce4324e23c9b4ffc9895fc2.jpg","text":"TemporaryFile(/tmp/multipartBody2368473675692655026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975362850,"filename":"image_07112025_19_32_46_3595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782749","file1":"1399782748","file0":"1399782746","file4":"1399782751","file5":"1399782753","file3":"1399782750"},"map_files_photo_id_array":[{"photo_id":"1399782753","filename":"file5"},{"photo_id":"1399782749","filename":"file2"},{"photo_id":"1399782751","filename":"file4"},{"photo_id":"1399782748","filename":"file1"},{"photo_id":"1399782746","filename":"file0"},{"photo_id":"1399782750","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399782746":["hashtag1","hashtag2"]},{"1399782749":["hashtag1","hashtag2"]},{"1399782751":["hashtag1","hashtag2"]},{"1399782748":["hashtag1","hashtag2"]},{"1399782753":["hashtag1","hashtag2"]},{"1399782750":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399782746, 1399782749, 1399782751, 1399782748, 1399782753, 1399782750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67072367668152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:42:22.334223
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_25_9721.jpg', '/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_35_9669.jpg', '/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_45_10674.jpg', '/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_55_9728.jpg', '/home/pi/Desktop/images/17122025/13/18/image_17122025_13_19_05_9778.jpg', '/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_14_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_25_9721.jpg
/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_35_9669.jpg
/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_45_10674.jpg
/home/pi/Desktop/images/17122025/13/18/image_17122025_13_18_55_9728.jpg
/home/pi/Desktop/images/17122025/13/18/image_17122025_13_19_05_9778.jpg
/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_14_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399782872","1399782824","1399782853","1399782792","1399782794","1399782788"],"photo_ids_order":["1399782788","1399782792","1399782794","1399782824","1399782853","1399782872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ee6bb863e26da629d4c1d673cb42d30.jpg","text":"TemporaryFile(/tmp/multipartBody7875063852546583199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975402983,"filename":"image_17122025_13_19_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2016b58661b81768d19cfff632990c4.jpg","text":"TemporaryFile(/tmp/multipartBody5146333024993733936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975402983,"filename":"image_17122025_13_18_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b366a251856ec13d108123fc57d66b4a.jpg","text":"TemporaryFile(/tmp/multipartBody1752443515034934881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975402983,"filename":"image_17122025_13_19_05_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c953efafccfa5334785e504a1fd39a05.jpg","text":"TemporaryFile(/tmp/multipartBody6761556940235579877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975402983,"filename":"image_17122025_13_18_35_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad3d8ae8c0823312dfbb0b9ad6cb05df.jpg","text":"TemporaryFile(/tmp/multipartBody685658423066160838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975402983,"filename":"image_17122025_13_18_45_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8d4915636609afb3d122a93f1b3a7f5.jpg","text":"TemporaryFile(/tmp/multipartBody8796623995825199448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975402983,"filename":"image_17122025_13_18_25_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782794","file1":"1399782792","file0":"1399782788","file4":"1399782853","file5":"1399782872","file3":"1399782824"},"map_files_photo_id_array":[{"photo_id":"1399782872","filename":"file5"},{"photo_id":"1399782794","filename":"file2"},{"photo_id":"1399782853","filename":"file4"},{"photo_id":"1399782792","filename":"file1"},{"photo_id":"1399782788","filename":"file0"},{"photo_id":"1399782824","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782872":["hashtag1","hashtag2"]},{"1399782824":["hashtag1","hashtag2"]},{"1399782853":["hashtag1","hashtag2"]},{"1399782792":["hashtag1","hashtag2"]},{"1399782794":["hashtag1","hashtag2"]},{"1399782788":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782872, 1399782824, 1399782853, 1399782792, 1399782794, 1399782788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22510576248169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:43:03.173041
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_25_10642.jpg', '/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_35_9746.jpg', '/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_45_9816.jpg', '/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_55_9899.jpg', '/home/pi/Desktop/images/17122025/13/19/image_17122025_13_20_05_10664.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_15_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_25_10642.jpg
/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_35_9746.jpg
/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_45_9816.jpg
/home/pi/Desktop/images/17122025/13/19/image_17122025_13_19_55_9899.jpg
/home/pi/Desktop/images/17122025/13/19/image_17122025_13_20_05_10664.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_15_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":["1399782950","1399782895","1399782937","1399782925","1399782894","1399782893"],"photo_ids_order":["1399782893","1399782894","1399782895","1399782925","1399782937","1399782950"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/172395ada6693a9be4d492e617ff57f2.jpg","text":"TemporaryFile(/tmp/multipartBody1149626853948172229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975443844,"filename":"image_17122025_13_20_15_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d5524a5bbbd102bd577ba5c14e1c297.jpg","text":"TemporaryFile(/tmp/multipartBody1184382297919358423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975443844,"filename":"image_17122025_13_19_45_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26ba817167334f8423bd4ab4fb4e545c.jpg","text":"TemporaryFile(/tmp/multipartBody7956654588833161286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975443844,"filename":"image_17122025_13_20_05_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0c7a84fec2a2880914e84834862a7b7.jpg","text":"TemporaryFile(/tmp/multipartBody2059394670585812391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975443844,"filename":"image_17122025_13_19_55_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cb7c9a88c2d7f3e1c70e4fdab7ffd3f.jpg","text":"TemporaryFile(/tmp/multipartBody6331558907513175009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975443844,"filename":"image_17122025_13_19_35_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a16ece2dec1eab35072a126e4f9f8f7d.jpg","text":"TemporaryFile(/tmp/multipartBody8100563692466219823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975443844,"filename":"image_17122025_13_19_25_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399782895","file1":"1399782894","file0":"1399782893","file4":"1399782937","file5":"1399782950","file3":"1399782925"},"map_files_photo_id_array":[{"photo_id":"1399782950","filename":"file5"},{"photo_id":"1399782895","filename":"file2"},{"photo_id":"1399782937","filename":"file4"},{"photo_id":"1399782894","filename":"file1"},{"photo_id":"1399782893","filename":"file0"},{"photo_id":"1399782925","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399782950":["hashtag1","hashtag2"]},{"1399782895":["hashtag1","hashtag2"]},{"1399782937":["hashtag1","hashtag2"]},{"1399782925":["hashtag1","hashtag2"]},{"1399782894":["hashtag1","hashtag2"]},{"1399782893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399782950, 1399782895, 1399782937, 1399782925, 1399782894, 1399782893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.01338338851929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:43:42.671819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_07_2600.jpg', '/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_10_2802.jpg', '/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_14_3539.jpg', '/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_19_5459.jpg', '/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_23_1649.jpg', '/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_25_2581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_07_2600.jpg
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_10_2802.jpg
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_14_3539.jpg
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_19_5459.jpg
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_23_1649.jpg
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_25_2581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399783235","1399783270","1399783272","1399783173","1399783269","1399783271"],"photo_ids_order":["1399783173","1399783235","1399783269","1399783270","1399783271","1399783272"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc75173adbbd049f7ab83a400e0d9644.jpg","text":"TemporaryFile(/tmp/multipartBody3196254114369744708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975483527,"filename":"image_07112025_19_33_10_2802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a39fade418c7f506360084647083bcdd.jpg","text":"TemporaryFile(/tmp/multipartBody2236561722956190806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975483527,"filename":"image_07112025_19_33_19_5459.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/028801b39fd343e77a131e2c727a517a.jpg","text":"TemporaryFile(/tmp/multipartBody8564305273124809062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975483527,"filename":"image_07112025_19_33_25_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21f86b107993b03b8c4a2fdc1cdd9a16.jpg","text":"TemporaryFile(/tmp/multipartBody2424433181460561934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975483527,"filename":"image_07112025_19_33_07_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/394c035a14af9df0ecb866f6db419368.jpg","text":"TemporaryFile(/tmp/multipartBody5779595363195477193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975483527,"filename":"image_07112025_19_33_14_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf6b2f39d2972891136d0e3fc0ac1c73.jpg","text":"TemporaryFile(/tmp/multipartBody3562705546648977317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975483527,"filename":"image_07112025_19_33_23_1649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783269","file1":"1399783235","file0":"1399783173","file4":"1399783271","file5":"1399783272","file3":"1399783270"},"map_files_photo_id_array":[{"photo_id":"1399783272","filename":"file5"},{"photo_id":"1399783269","filename":"file2"},{"photo_id":"1399783271","filename":"file4"},{"photo_id":"1399783235","filename":"file1"},{"photo_id":"1399783173","filename":"file0"},{"photo_id":"1399783270","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399783235":["hashtag1","hashtag2"]},{"1399783270":["hashtag1","hashtag2"]},{"1399783272":["hashtag1","hashtag2"]},{"1399783173":["hashtag1","hashtag2"]},{"1399783269":["hashtag1","hashtag2"]},{"1399783271":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399783235, 1399783270, 1399783272, 1399783173, 1399783269, 1399783271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81794095039368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:44:21.941625
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_24_9675.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_35_10730.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_45_9706.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_55_9760.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_21_05_10598.jpg', '/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_15_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_24_9675.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_35_10730.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_45_9706.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_55_9760.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_21_05_10598.jpg
/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_15_9775.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5494387149810791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:44:31.958451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:44:41.894337
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_28_2556.jpg', '/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_37_2825.jpg', '/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_44_3727.jpg', '/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_04_3647.jpg', '/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_31_14845.jpg', '/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_34_1768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_28_2556.jpg
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_37_2825.jpg
/home/pi/Desktop/images/07112025/19/33/image_07112025_19_33_44_3727.jpg
/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_04_3647.jpg
/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_31_14845.jpg
/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_34_1768.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399783421","1399783423","1399783420","1399783408","1399783344","1399783385"],"photo_ids_order":["1399783344","1399783385","1399783408","1399783420","1399783421","1399783423"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0cf0c9908af0346c8f8974249bb436de.jpg","text":"TemporaryFile(/tmp/multipartBody5466733967294868941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975542663,"filename":"image_07112025_19_34_31_14845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb237e94dee351105a79e35bcc657f2a.jpg","text":"TemporaryFile(/tmp/multipartBody3115140197806211558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975542663,"filename":"image_07112025_19_34_34_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed3f152cd23b79f2b53a1b1a1d822bcf.jpg","text":"TemporaryFile(/tmp/multipartBody142169564378532115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975542663,"filename":"image_07112025_19_34_04_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ace08585701e87002f5fb8590410c1d.jpg","text":"TemporaryFile(/tmp/multipartBody9014291002227286137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975542663,"filename":"image_07112025_19_33_44_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24e015c061b6c011c0e8afdc1f910b30.jpg","text":"TemporaryFile(/tmp/multipartBody5953012236038773560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975542663,"filename":"image_07112025_19_33_28_2556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/852943611f6c778144a1823719f13fe4.jpg","text":"TemporaryFile(/tmp/multipartBody8303633891437495149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975542663,"filename":"image_07112025_19_33_37_2825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783408","file1":"1399783385","file0":"1399783344","file4":"1399783421","file5":"1399783423","file3":"1399783420"},"map_files_photo_id_array":[{"photo_id":"1399783423","filename":"file5"},{"photo_id":"1399783408","filename":"file2"},{"photo_id":"1399783421","filename":"file4"},{"photo_id":"1399783385","filename":"file1"},{"photo_id":"1399783344","filename":"file0"},{"photo_id":"1399783420","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399783421":["hashtag1","hashtag2"]},{"1399783423":["hashtag1","hashtag2"]},{"1399783420":["hashtag1","hashtag2"]},{"1399783408":["hashtag1","hashtag2"]},{"1399783344":["hashtag1","hashtag2"]},{"1399783385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399783421, 1399783423, 1399783420, 1399783408, 1399783344, 1399783385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82270336151123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:45:22.239949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_24_9675.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_35_10730.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_45_9706.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_55_9760.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_21_05_10598.jpg', '/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_15_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_24_9675.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_35_10730.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_45_9706.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_55_9760.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_21_05_10598.jpg
/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_15_9775.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5138542652130127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 13:45:32.119355
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:45:42.080887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_47_4437.jpg', '/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_49_1622.jpg', '/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_53_4108.jpg', '/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_54_1733.jpg', '/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_56_1741.jpg', '/home/pi/Desktop/images/07112025/19/35/image_07112025_19_35_24_14199.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_47_4437.jpg
/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_49_1622.jpg
/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_53_4108.jpg
/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_54_1733.jpg
/home/pi/Desktop/images/07112025/19/34/image_07112025_19_34_56_1741.jpg
/home/pi/Desktop/images/07112025/19/35/image_07112025_19_35_24_14199.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399783514","1399783517","1399783480","1399783485","1399783503","1399783484"],"photo_ids_order":["1399783480","1399783484","1399783485","1399783503","1399783514","1399783517"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20b5c55a299977227c38d86975528fc1.jpg","text":"TemporaryFile(/tmp/multipartBody8833901666282296163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975602944,"filename":"image_07112025_19_34_56_1741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7c2e5217c8b90b9f7785795926956ff.jpg","text":"TemporaryFile(/tmp/multipartBody6979890372874633285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975602944,"filename":"image_07112025_19_35_24_14199.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/573cbf1a3ed34055b2df5fe15570a970.jpg","text":"TemporaryFile(/tmp/multipartBody3416963638487719195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975602944,"filename":"image_07112025_19_34_47_4437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27c9260bd4467222478cba5b0fe7597a.jpg","text":"TemporaryFile(/tmp/multipartBody428348410421161359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975602944,"filename":"image_07112025_19_34_53_4108.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31ebc66c33d75d5177b8917a5e229f29.jpg","text":"TemporaryFile(/tmp/multipartBody3857334598566555010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975602944,"filename":"image_07112025_19_34_54_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5048caa24ee0a3a50ef345032a82936.jpg","text":"TemporaryFile(/tmp/multipartBody8561738719338216232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975602944,"filename":"image_07112025_19_34_49_1622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783485","file1":"1399783484","file0":"1399783480","file4":"1399783514","file5":"1399783517","file3":"1399783503"},"map_files_photo_id_array":[{"photo_id":"1399783517","filename":"file5"},{"photo_id":"1399783485","filename":"file2"},{"photo_id":"1399783514","filename":"file4"},{"photo_id":"1399783484","filename":"file1"},{"photo_id":"1399783480","filename":"file0"},{"photo_id":"1399783503","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399783514":["hashtag1","hashtag2"]},{"1399783517":["hashtag1","hashtag2"]},{"1399783480":["hashtag1","hashtag2"]},{"1399783485":["hashtag1","hashtag2"]},{"1399783503":["hashtag1","hashtag2"]},{"1399783484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399783514, 1399783517, 1399783480, 1399783485, 1399783503, 1399783484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35225510597229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:46:22.397373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_24_9675.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_35_10730.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_45_9706.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_55_9760.jpg', '/home/pi/Desktop/images/17122025/13/20/image_17122025_13_21_05_10598.jpg', '/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_15_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_24_9675.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_35_10730.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_45_9706.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_20_55_9760.jpg
/home/pi/Desktop/images/17122025/13/20/image_17122025_13_21_05_10598.jpg
/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_15_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":["1399783547","1399783560","1399783548","1399783563","1399783545","1399783550"],"photo_ids_order":["1399783545","1399783547","1399783548","1399783550","1399783560","1399783563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e19e2e4777e9f1ba662277a3a64f1d98.jpg","text":"TemporaryFile(/tmp/multipartBody8058859287854255743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975643053,"filename":"image_17122025_13_20_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34524186e4770c679b4a573882699ec2.jpg","text":"TemporaryFile(/tmp/multipartBody50330380880954576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975643053,"filename":"image_17122025_13_21_05_10598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f39c2e11658017145e31f0e04808cd38.jpg","text":"TemporaryFile(/tmp/multipartBody8416830194887550589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975643053,"filename":"image_17122025_13_20_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14de8306db1c47c894f06fa0a9319765.jpg","text":"TemporaryFile(/tmp/multipartBody6472730503353235598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975643053,"filename":"image_17122025_13_21_15_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc636ab4e1f3d4925c7cf3968fd3b6b9.jpg","text":"TemporaryFile(/tmp/multipartBody6279143880143957682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975643053,"filename":"image_17122025_13_20_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2316da7a9eec2b02862546d0afd894b2.jpg","text":"TemporaryFile(/tmp/multipartBody6027512931973410896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975643053,"filename":"image_17122025_13_20_55_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783548","file1":"1399783547","file0":"1399783545","file4":"1399783560","file5":"1399783563","file3":"1399783550"},"map_files_photo_id_array":[{"photo_id":"1399783563","filename":"file5"},{"photo_id":"1399783548","filename":"file2"},{"photo_id":"1399783560","filename":"file4"},{"photo_id":"1399783547","filename":"file1"},{"photo_id":"1399783545","filename":"file0"},{"photo_id":"1399783550","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399783547":["hashtag1","hashtag2"]},{"1399783560":["hashtag1","hashtag2"]},{"1399783548":["hashtag1","hashtag2"]},{"1399783563":["hashtag1","hashtag2"]},{"1399783545":["hashtag1","hashtag2"]},{"1399783550":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399783547, 1399783560, 1399783548, 1399783563, 1399783545, 1399783550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.83784198760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:47:03.259736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_25_9851.jpg', '/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_35_9687.jpg', '/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_45_10643.jpg', '/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_55_9820.jpg', '/home/pi/Desktop/images/17122025/13/21/image_17122025_13_22_05_9644.jpg', '/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_15_10602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_25_9851.jpg
/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_35_9687.jpg
/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_45_10643.jpg
/home/pi/Desktop/images/17122025/13/21/image_17122025_13_21_55_9820.jpg
/home/pi/Desktop/images/17122025/13/21/image_17122025_13_22_05_9644.jpg
/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_15_10602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399783576","1399783564","1399783590","1399783578","1399783574","1399783586"],"photo_ids_order":["1399783564","1399783574","1399783576","1399783578","1399783586","1399783590"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/acd5c750958be545aa2f752e541af917.jpg","text":"TemporaryFile(/tmp/multipartBody924322587522304172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975683970,"filename":"image_17122025_13_21_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e34412357adfe29b12d8c580dd3028d8.jpg","text":"TemporaryFile(/tmp/multipartBody12953614429540005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975683970,"filename":"image_17122025_13_21_25_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a7f4a996d118cda706e0d9fdba2648e.jpg","text":"TemporaryFile(/tmp/multipartBody2868910208062573591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975683970,"filename":"image_17122025_13_22_15_10602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6599089dec0a76f78ed836ae16595502.jpg","text":"TemporaryFile(/tmp/multipartBody4913555543853618089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975683970,"filename":"image_17122025_13_21_55_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e97f9aa37f05531e03401d9c00504c5.jpg","text":"TemporaryFile(/tmp/multipartBody1849690343412041193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975683970,"filename":"image_17122025_13_21_35_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ab5a235a83bd96423df4a37080a17ee.jpg","text":"TemporaryFile(/tmp/multipartBody1069625532000009992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975683970,"filename":"image_17122025_13_22_05_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783576","file1":"1399783574","file0":"1399783564","file4":"1399783586","file5":"1399783590","file3":"1399783578"},"map_files_photo_id_array":[{"photo_id":"1399783590","filename":"file5"},{"photo_id":"1399783576","filename":"file2"},{"photo_id":"1399783586","filename":"file4"},{"photo_id":"1399783574","filename":"file1"},{"photo_id":"1399783564","filename":"file0"},{"photo_id":"1399783578","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399783576":["hashtag1","hashtag2"]},{"1399783564":["hashtag1","hashtag2"]},{"1399783590":["hashtag1","hashtag2"]},{"1399783578":["hashtag1","hashtag2"]},{"1399783574":["hashtag1","hashtag2"]},{"1399783586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399783576, 1399783564, 1399783590, 1399783578, 1399783574, 1399783586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.483641624450684 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:47:42.716662
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/35/image_07112025_19_35_25_1576.jpg', '/home/pi/Desktop/images/07112025/19/35/image_07112025_19_35_27_1632.jpg', '/home/pi/Desktop/images/07112025/19/36/image_07112025_19_36_14_38157.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_06_3105.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_10_3092.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_18_1551.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/35/image_07112025_19_35_25_1576.jpg
/home/pi/Desktop/images/07112025/19/35/image_07112025_19_35_27_1632.jpg
/home/pi/Desktop/images/07112025/19/36/image_07112025_19_36_14_38157.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_06_3105.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_10_3092.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_18_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":["1399783601","1399783604","1399783597","1399783603","1399783599","1399783602"],"photo_ids_order":["1399783597","1399783599","1399783601","1399783602","1399783603","1399783604"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0bcddf9e7b1a2449b20ce25002fa04c.jpg","text":"TemporaryFile(/tmp/multipartBody5543198211609940291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975723539,"filename":"image_07112025_19_36_14_38157.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60a8b8c52c4982fbf04b41f015640896.jpg","text":"TemporaryFile(/tmp/multipartBody1064832184679872784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975723539,"filename":"image_07112025_19_37_18_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d2bbefc5eee2b9e22362d817ace486a.jpg","text":"TemporaryFile(/tmp/multipartBody5613926926258718164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975723539,"filename":"image_07112025_19_35_25_1576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36a11feb62004b8535f54f0bb98723f5.jpg","text":"TemporaryFile(/tmp/multipartBody9153800345023105166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975723539,"filename":"image_07112025_19_37_10_3092.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/636f4df58cefb4bb7457a319f0966d32.jpg","text":"TemporaryFile(/tmp/multipartBody6370924404768435938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975723539,"filename":"image_07112025_19_35_27_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bab990d7c8ed38d68fb1e8207f30aec9.jpg","text":"TemporaryFile(/tmp/multipartBody5504913649510626397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975723539,"filename":"image_07112025_19_37_06_3105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783601","file1":"1399783599","file0":"1399783597","file4":"1399783603","file5":"1399783604","file3":"1399783602"},"map_files_photo_id_array":[{"photo_id":"1399783604","filename":"file5"},{"photo_id":"1399783601","filename":"file2"},{"photo_id":"1399783603","filename":"file4"},{"photo_id":"1399783599","filename":"file1"},{"photo_id":"1399783597","filename":"file0"},{"photo_id":"1399783602","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399783601":["hashtag1","hashtag2"]},{"1399783604":["hashtag1","hashtag2"]},{"1399783597":["hashtag1","hashtag2"]},{"1399783603":["hashtag1","hashtag2"]},{"1399783599":["hashtag1","hashtag2"]},{"1399783602":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399783601, 1399783604, 1399783597, 1399783603, 1399783599, 1399783602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55077004432678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:48:21.960600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_24_9105.jpg', '/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_35_10687.jpg', '/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_45_9709.jpg', '/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_54_9610.jpg', '/home/pi/Desktop/images/17122025/13/22/image_17122025_13_23_05_10714.jpg', '/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_15_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_24_9105.jpg
/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_35_10687.jpg
/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_45_9709.jpg
/home/pi/Desktop/images/17122025/13/22/image_17122025_13_22_54_9610.jpg
/home/pi/Desktop/images/17122025/13/22/image_17122025_13_23_05_10714.jpg
/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_15_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":["1399783613","1399783609","1399783620","1399783614","1399783623","1399783626"],"photo_ids_order":["1399783609","1399783613","1399783614","1399783620","1399783623","1399783626"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1c0bb184d847421b26aac7257c3be9a.jpg","text":"TemporaryFile(/tmp/multipartBody4539120732125791027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975762610,"filename":"image_17122025_13_22_35_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/143269e2639f8c9bf39ec5b51b9650b3.jpg","text":"TemporaryFile(/tmp/multipartBody574133174278441125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975762610,"filename":"image_17122025_13_22_24_9105.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8074e7d29fceacecf8276aa2c51f313.jpg","text":"TemporaryFile(/tmp/multipartBody4858187233750738878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975762610,"filename":"image_17122025_13_22_54_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1449e8792f9407c457d44baf9d03b93.jpg","text":"TemporaryFile(/tmp/multipartBody5227304954745157267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975762610,"filename":"image_17122025_13_22_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa5cdf8d3559681d09fe77cb4bf3fa83.jpg","text":"TemporaryFile(/tmp/multipartBody4763061075597188811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975762610,"filename":"image_17122025_13_23_05_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54edea5c62194e63002c81da291af9da.jpg","text":"TemporaryFile(/tmp/multipartBody5424582617144812651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975762610,"filename":"image_17122025_13_23_15_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783614","file1":"1399783613","file0":"1399783609","file4":"1399783623","file5":"1399783626","file3":"1399783620"},"map_files_photo_id_array":[{"photo_id":"1399783626","filename":"file5"},{"photo_id":"1399783614","filename":"file2"},{"photo_id":"1399783623","filename":"file4"},{"photo_id":"1399783613","filename":"file1"},{"photo_id":"1399783609","filename":"file0"},{"photo_id":"1399783620","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399783613":["hashtag1","hashtag2"]},{"1399783609":["hashtag1","hashtag2"]},{"1399783620":["hashtag1","hashtag2"]},{"1399783614":["hashtag1","hashtag2"]},{"1399783623":["hashtag1","hashtag2"]},{"1399783626":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399783613, 1399783609, 1399783620, 1399783614, 1399783623, 1399783626)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.8639018535614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:49:02.915650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_25_9886.jpg', '/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_34_9730.jpg', '/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_45_10582.jpg', '/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_55_9650.jpg', '/home/pi/Desktop/images/17122025/13/23/image_17122025_13_24_04_9749.jpg', '/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_15_10704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_25_9886.jpg
/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_34_9730.jpg
/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_45_10582.jpg
/home/pi/Desktop/images/17122025/13/23/image_17122025_13_23_55_9650.jpg
/home/pi/Desktop/images/17122025/13/23/image_17122025_13_24_04_9749.jpg
/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_15_10704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399783640","1399783634","1399783642","1399783636","1399783645","1399783638"],"photo_ids_order":["1399783634","1399783636","1399783638","1399783640","1399783642","1399783645"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00331dfb1e6c4c4ba051662e50c28a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3238809290926770299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975803639,"filename":"image_17122025_13_23_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75eafed4bac000916280a0143386c12e.jpg","text":"TemporaryFile(/tmp/multipartBody5985040476679176740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975803639,"filename":"image_17122025_13_23_25_9886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb4de51002c457ab6320fd994eb07ea3.jpg","text":"TemporaryFile(/tmp/multipartBody7669086260895032112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975803639,"filename":"image_17122025_13_24_04_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/225d7f73cb708d0beee99674ed18ca50.jpg","text":"TemporaryFile(/tmp/multipartBody1061752483538383735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975803639,"filename":"image_17122025_13_23_34_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6200b3f7d002df6ccb9913097d369dfb.jpg","text":"TemporaryFile(/tmp/multipartBody6819692979366345245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975803639,"filename":"image_17122025_13_24_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f90879c36be54da5b5f82643d50b079d.jpg","text":"TemporaryFile(/tmp/multipartBody1957844069514809249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975803639,"filename":"image_17122025_13_23_45_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783638","file1":"1399783636","file0":"1399783634","file4":"1399783642","file5":"1399783645","file3":"1399783640"},"map_files_photo_id_array":[{"photo_id":"1399783645","filename":"file5"},{"photo_id":"1399783638","filename":"file2"},{"photo_id":"1399783642","filename":"file4"},{"photo_id":"1399783636","filename":"file1"},{"photo_id":"1399783634","filename":"file0"},{"photo_id":"1399783640","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399783640":["hashtag1","hashtag2"]},{"1399783634":["hashtag1","hashtag2"]},{"1399783642":["hashtag1","hashtag2"]},{"1399783636":["hashtag1","hashtag2"]},{"1399783645":["hashtag1","hashtag2"]},{"1399783638":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399783640, 1399783634, 1399783642, 1399783636, 1399783645, 1399783638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98676419258118 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:49:42.209098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_22_2576.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_26_3645.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_31_3706.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_40_9239.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_42_1695.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_44_1692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_22_2576.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_26_3645.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_31_3706.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_40_9239.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_42_1695.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_44_1692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399783672","1399783666","1399783692","1399783671","1399783688","1399783673"],"photo_ids_order":["1399783666","1399783671","1399783672","1399783673","1399783688","1399783692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/400f519ae88b44a5860fca2df6e15c8d.jpg","text":"TemporaryFile(/tmp/multipartBody1017711917300108881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975843025,"filename":"image_07112025_19_37_31_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/018fa865b135a6f758c266c9f479fc37.jpg","text":"TemporaryFile(/tmp/multipartBody6807189385567593107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975843025,"filename":"image_07112025_19_37_22_2576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5412599826adf42eccf3951f30dfa09e.jpg","text":"TemporaryFile(/tmp/multipartBody1540115941138114076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975843025,"filename":"image_07112025_19_37_44_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e73d48ef0e9f976cafa6a2efb9bd460.jpg","text":"TemporaryFile(/tmp/multipartBody8387254300441248681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975843025,"filename":"image_07112025_19_37_26_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd0e99cd8479a577c0507cff26387910.jpg","text":"TemporaryFile(/tmp/multipartBody1647503282314359319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975843025,"filename":"image_07112025_19_37_42_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27b6c389974b92ef048c799cf79c9f95.jpg","text":"TemporaryFile(/tmp/multipartBody7265417470609029226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975843025,"filename":"image_07112025_19_37_40_9239.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783672","file1":"1399783671","file0":"1399783666","file4":"1399783688","file5":"1399783692","file3":"1399783673"},"map_files_photo_id_array":[{"photo_id":"1399783692","filename":"file5"},{"photo_id":"1399783672","filename":"file2"},{"photo_id":"1399783688","filename":"file4"},{"photo_id":"1399783671","filename":"file1"},{"photo_id":"1399783666","filename":"file0"},{"photo_id":"1399783673","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399783672":["hashtag1","hashtag2"]},{"1399783666":["hashtag1","hashtag2"]},{"1399783692":["hashtag1","hashtag2"]},{"1399783671":["hashtag1","hashtag2"]},{"1399783688":["hashtag1","hashtag2"]},{"1399783673":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399783672, 1399783666, 1399783692, 1399783671, 1399783688, 1399783673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.81271815299988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:50:22.453968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_25_9638.jpg', '/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_34_9618.jpg', '/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_45_10563.jpg', '/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_55_9723.jpg', '/home/pi/Desktop/images/17122025/13/24/image_17122025_13_25_04_9671.jpg', '/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_15_10767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_25_9638.jpg
/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_34_9618.jpg
/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_45_10563.jpg
/home/pi/Desktop/images/17122025/13/24/image_17122025_13_24_55_9723.jpg
/home/pi/Desktop/images/17122025/13/24/image_17122025_13_25_04_9671.jpg
/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_15_10767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399783826","1399783811","1399783738","1399783813","1399783821","1399783778"],"photo_ids_order":["1399783738","1399783778","1399783811","1399783813","1399783821","1399783826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/630246b5dacfc594ae819b3d73d973b8.jpg","text":"TemporaryFile(/tmp/multipartBody5751900748027308674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975883071,"filename":"image_17122025_13_25_15_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54c6bdd933814ee5fc5d0a5c9cdf8491.jpg","text":"TemporaryFile(/tmp/multipartBody5636768145405431126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975883071,"filename":"image_17122025_13_24_45_10563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92f47eb947395d5267109ac2819836dc.jpg","text":"TemporaryFile(/tmp/multipartBody8317730550549102110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975883071,"filename":"image_17122025_13_24_25_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61393a8032ba333ae163411ebbd77350.jpg","text":"TemporaryFile(/tmp/multipartBody1128214792087600986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975883071,"filename":"image_17122025_13_24_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/723cd1c9285de58fefef277c84b9dee3.jpg","text":"TemporaryFile(/tmp/multipartBody4731423735487117778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975883071,"filename":"image_17122025_13_25_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5796dbc763051bf07e481e56e8f3e4d.jpg","text":"TemporaryFile(/tmp/multipartBody614392068521355327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975883071,"filename":"image_17122025_13_24_34_9618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783811","file1":"1399783778","file0":"1399783738","file4":"1399783821","file5":"1399783826","file3":"1399783813"},"map_files_photo_id_array":[{"photo_id":"1399783826","filename":"file5"},{"photo_id":"1399783811","filename":"file2"},{"photo_id":"1399783821","filename":"file4"},{"photo_id":"1399783778","filename":"file1"},{"photo_id":"1399783738","filename":"file0"},{"photo_id":"1399783813","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399783826":["hashtag1","hashtag2"]},{"1399783811":["hashtag1","hashtag2"]},{"1399783738":["hashtag1","hashtag2"]},{"1399783813":["hashtag1","hashtag2"]},{"1399783821":["hashtag1","hashtag2"]},{"1399783778":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399783826, 1399783811, 1399783738, 1399783813, 1399783821, 1399783778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9002902507782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:51:03.362587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_25_9961.jpg', '/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_35_9595.jpg', '/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_44_9637.jpg', '/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_55_10659.jpg', '/home/pi/Desktop/images/17122025/13/25/image_17122025_13_26_05_9630.jpg', '/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_14_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_25_9961.jpg
/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_35_9595.jpg
/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_44_9637.jpg
/home/pi/Desktop/images/17122025/13/25/image_17122025_13_25_55_10659.jpg
/home/pi/Desktop/images/17122025/13/25/image_17122025_13_26_05_9630.jpg
/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_14_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":["1399783993","1399783842","1399783845","1399783914","1399783955","1399783877"],"photo_ids_order":["1399783842","1399783845","1399783877","1399783914","1399783955","1399783993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f765564f7e0dd1f8d8b3e2af5ac81c2.jpg","text":"TemporaryFile(/tmp/multipartBody5938890411473408459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975924024,"filename":"image_17122025_13_26_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/258c09eacce0bc6d5c05069981d4d330.jpg","text":"TemporaryFile(/tmp/multipartBody1964557255821919282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975924024,"filename":"image_17122025_13_25_25_9961.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7160208ce13a968aab041baca0b053f2.jpg","text":"TemporaryFile(/tmp/multipartBody582884290718778948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975924024,"filename":"image_17122025_13_25_35_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8581d0d65adfa90aedfe9074366ec7a4.jpg","text":"TemporaryFile(/tmp/multipartBody8696231673582286394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975924024,"filename":"image_17122025_13_25_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d268da8e522570fb722b31b643d93ea2.jpg","text":"TemporaryFile(/tmp/multipartBody1640839824668678852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975924024,"filename":"image_17122025_13_26_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/809caa9aaba2fa02fcd58c33432629b9.jpg","text":"TemporaryFile(/tmp/multipartBody686691933919745003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975924024,"filename":"image_17122025_13_25_44_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399783877","file1":"1399783845","file0":"1399783842","file4":"1399783955","file5":"1399783993","file3":"1399783914"},"map_files_photo_id_array":[{"photo_id":"1399783993","filename":"file5"},{"photo_id":"1399783877","filename":"file2"},{"photo_id":"1399783955","filename":"file4"},{"photo_id":"1399783845","filename":"file1"},{"photo_id":"1399783842","filename":"file0"},{"photo_id":"1399783914","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399783993":["hashtag1","hashtag2"]},{"1399783842":["hashtag1","hashtag2"]},{"1399783845":["hashtag1","hashtag2"]},{"1399783914":["hashtag1","hashtag2"]},{"1399783955":["hashtag1","hashtag2"]},{"1399783877":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399783993, 1399783842, 1399783845, 1399783914, 1399783955, 1399783877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07809782028198 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:51:42.751231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_45_1653.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_47_1738.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_52_2830.jpg', '/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_55_2854.jpg', '/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_04_2720.jpg', '/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_37_1777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_45_1653.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_47_1738.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_52_2830.jpg
/home/pi/Desktop/images/07112025/19/37/image_07112025_19_37_55_2854.jpg
/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_04_2720.jpg
/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_37_1777.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399784170","1399784082","1399784049","1399784130","1399784052","1399784051"],"photo_ids_order":["1399784049","1399784051","1399784052","1399784082","1399784130","1399784170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ba0dcd7dc207727799c2f76a51b3edd.jpg","text":"TemporaryFile(/tmp/multipartBody6881929606821065368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975963558,"filename":"image_07112025_19_38_37_1777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc9e915cd05efae6407f20d9721cfd89.jpg","text":"TemporaryFile(/tmp/multipartBody2555738159503343308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975963558,"filename":"image_07112025_19_37_55_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/baeb7e980fb77dcab576fe849ef40705.jpg","text":"TemporaryFile(/tmp/multipartBody5958957925966825782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975963558,"filename":"image_07112025_19_37_45_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca45601fbf3dc3e93ac9dcf4cddd17ea.jpg","text":"TemporaryFile(/tmp/multipartBody8343270593068010714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975963558,"filename":"image_07112025_19_38_04_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a45d644a2f77218d09e9a1ac84d2533.jpg","text":"TemporaryFile(/tmp/multipartBody6640039553974893477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975963558,"filename":"image_07112025_19_37_52_2830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68a3f14c751285b22ef0300684c50702.jpg","text":"TemporaryFile(/tmp/multipartBody2949338770453085453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765975963558,"filename":"image_07112025_19_37_47_1738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784052","file1":"1399784051","file0":"1399784049","file4":"1399784130","file5":"1399784170","file3":"1399784082"},"map_files_photo_id_array":[{"photo_id":"1399784170","filename":"file5"},{"photo_id":"1399784052","filename":"file2"},{"photo_id":"1399784130","filename":"file4"},{"photo_id":"1399784051","filename":"file1"},{"photo_id":"1399784049","filename":"file0"},{"photo_id":"1399784082","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399784170":["hashtag1","hashtag2"]},{"1399784082":["hashtag1","hashtag2"]},{"1399784049":["hashtag1","hashtag2"]},{"1399784130":["hashtag1","hashtag2"]},{"1399784052":["hashtag1","hashtag2"]},{"1399784051":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399784170, 1399784082, 1399784049, 1399784130, 1399784052, 1399784051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4011664390564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:52:22.092881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_25_10623.jpg', '/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_35_9789.jpg', '/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_45_9827.jpg', '/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_54_9775.jpg', '/home/pi/Desktop/images/17122025/13/26/image_17122025_13_27_05_10624.jpg', '/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_15_9596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_25_10623.jpg
/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_35_9789.jpg
/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_45_9827.jpg
/home/pi/Desktop/images/17122025/13/26/image_17122025_13_26_54_9775.jpg
/home/pi/Desktop/images/17122025/13/26/image_17122025_13_27_05_10624.jpg
/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_15_9596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399784210","1399784204","1399784208","1399784198","1399784234","1399784201"],"photo_ids_order":["1399784198","1399784201","1399784204","1399784208","1399784210","1399784234"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf77aaad79ea91ca9acccc9687f7cd8d.jpg","text":"TemporaryFile(/tmp/multipartBody4717144367032595103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976002780,"filename":"image_17122025_13_27_05_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c86556d8c75a08f8d30e3bfe810e2e5.jpg","text":"TemporaryFile(/tmp/multipartBody8475214676350274322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976002780,"filename":"image_17122025_13_26_45_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39329e7577789e2d73eaf79939365d5a.jpg","text":"TemporaryFile(/tmp/multipartBody2182826131546422561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976002780,"filename":"image_17122025_13_26_54_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/440006f33548f69152ce37ba626c9d59.jpg","text":"TemporaryFile(/tmp/multipartBody4743935776046645891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976002780,"filename":"image_17122025_13_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/2025/12/17/426357634e5780ec838c094595a75dec.jpg","text":"TemporaryFile(/tmp/multipartBody2011361999108901395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976002780,"filename":"image_17122025_13_27_15_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d004811fa3b18bdec90c5e3017651d8.jpg","text":"TemporaryFile(/tmp/multipartBody4274569840120508740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976002780,"filename":"image_17122025_13_26_35_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784204","file1":"1399784201","file0":"1399784198","file4":"1399784210","file5":"1399784234","file3":"1399784208"},"map_files_photo_id_array":[{"photo_id":"1399784234","filename":"file5"},{"photo_id":"1399784204","filename":"file2"},{"photo_id":"1399784210","filename":"file4"},{"photo_id":"1399784201","filename":"file1"},{"photo_id":"1399784198","filename":"file0"},{"photo_id":"1399784208","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399784210":["hashtag1","hashtag2"]},{"1399784204":["hashtag1","hashtag2"]},{"1399784208":["hashtag1","hashtag2"]},{"1399784198":["hashtag1","hashtag2"]},{"1399784234":["hashtag1","hashtag2"]},{"1399784201":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399784210, 1399784204, 1399784208, 1399784198, 1399784234, 1399784201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77057337760925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:53:02.945736
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_24_9762.jpg', '/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_35_10678.jpg', '/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_45_9741.jpg', '/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_54_9782.jpg', '/home/pi/Desktop/images/17122025/13/27/image_17122025_13_28_04_9866.jpg', '/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_15_10853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_24_9762.jpg
/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_35_10678.jpg
/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_45_9741.jpg
/home/pi/Desktop/images/17122025/13/27/image_17122025_13_27_54_9782.jpg
/home/pi/Desktop/images/17122025/13/27/image_17122025_13_28_04_9866.jpg
/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_15_10853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399784359","1399784397","1399784322","1399784316","1399784307","1399784324"],"photo_ids_order":["1399784307","1399784316","1399784322","1399784324","1399784359","1399784397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fc839151bf7f5d214ef09a000436780.jpg","text":"TemporaryFile(/tmp/multipartBody4154491165849315059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976043616,"filename":"image_17122025_13_28_04_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7354d9c6d4dbd8e4cf0db545cbbaf2b.jpg","text":"TemporaryFile(/tmp/multipartBody8221692347988465597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976043616,"filename":"image_17122025_13_28_15_10853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11ebadb7b0d803066d2b6cc55bb69c50.jpg","text":"TemporaryFile(/tmp/multipartBody2996478397976739458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976043616,"filename":"image_17122025_13_27_45_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f6303d3483ec3cdb86061b5411960dd.jpg","text":"TemporaryFile(/tmp/multipartBody4054209246662276588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976043616,"filename":"image_17122025_13_27_35_10678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9e2931297d74c3a7b775a0541b40fe8.jpg","text":"TemporaryFile(/tmp/multipartBody7911381941162787438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976043616,"filename":"image_17122025_13_27_24_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/717447eb7fdc895b6bbe9af6053eca7d.jpg","text":"TemporaryFile(/tmp/multipartBody4489385915189584582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976043616,"filename":"image_17122025_13_27_54_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784322","file1":"1399784316","file0":"1399784307","file4":"1399784359","file5":"1399784397","file3":"1399784324"},"map_files_photo_id_array":[{"photo_id":"1399784397","filename":"file5"},{"photo_id":"1399784322","filename":"file2"},{"photo_id":"1399784359","filename":"file4"},{"photo_id":"1399784316","filename":"file1"},{"photo_id":"1399784307","filename":"file0"},{"photo_id":"1399784324","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399784359":["hashtag1","hashtag2"]},{"1399784397":["hashtag1","hashtag2"]},{"1399784322":["hashtag1","hashtag2"]},{"1399784316":["hashtag1","hashtag2"]},{"1399784307":["hashtag1","hashtag2"]},{"1399784324":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399784359, 1399784397, 1399784322, 1399784316, 1399784307, 1399784324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50758719444275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:53:42.166822
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_43_1819.jpg', '/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_44_1548.jpg', '/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_46_1763.jpg', '/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_53_1667.jpg', '/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_56_1562.jpg', '/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_57_1617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_43_1819.jpg
/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_44_1548.jpg
/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_46_1763.jpg
/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_53_1667.jpg
/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_56_1562.jpg
/home/pi/Desktop/images/07112025/19/38/image_07112025_19_38_57_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":["1399784593","1399784653","1399784656","1399784557","1399784517","1399784633"],"photo_ids_order":["1399784517","1399784557","1399784593","1399784633","1399784653","1399784656"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/555433d29822fd5f52a179d1fad89ab9.jpg","text":"TemporaryFile(/tmp/multipartBody4906458398987087439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976082951,"filename":"image_07112025_19_38_46_1763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39952f864ba9dcec6359020a740721db.jpg","text":"TemporaryFile(/tmp/multipartBody526142342863330594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976082951,"filename":"image_07112025_19_38_56_1562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/069d41e8dd2860ab5858d5e5d85bab22.jpg","text":"TemporaryFile(/tmp/multipartBody2351545866919530591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976082951,"filename":"image_07112025_19_38_57_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44a58938df8103fcaa87a465d861b0a8.jpg","text":"TemporaryFile(/tmp/multipartBody4728492556473887079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976082951,"filename":"image_07112025_19_38_44_1548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c170652615ab7f419adb57fa815277f1.jpg","text":"TemporaryFile(/tmp/multipartBody3651913166359270302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976082951,"filename":"image_07112025_19_38_43_1819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82a7780f7739c85d48514162078e163f.jpg","text":"TemporaryFile(/tmp/multipartBody8924218190873237845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976082951,"filename":"image_07112025_19_38_53_1667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784593","file1":"1399784557","file0":"1399784517","file4":"1399784653","file5":"1399784656","file3":"1399784633"},"map_files_photo_id_array":[{"photo_id":"1399784656","filename":"file5"},{"photo_id":"1399784593","filename":"file2"},{"photo_id":"1399784653","filename":"file4"},{"photo_id":"1399784557","filename":"file1"},{"photo_id":"1399784517","filename":"file0"},{"photo_id":"1399784633","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399784593":["hashtag1","hashtag2"]},{"1399784653":["hashtag1","hashtag2"]},{"1399784656":["hashtag1","hashtag2"]},{"1399784557":["hashtag1","hashtag2"]},{"1399784517":["hashtag1","hashtag2"]},{"1399784633":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399784593, 1399784653, 1399784656, 1399784557, 1399784517, 1399784633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.90432286262512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:54:22.418093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_25_9847.jpg', '/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_35_9863.jpg', '/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_45_9813.jpg', '/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_54_9680.jpg', '/home/pi/Desktop/images/17122025/13/28/image_17122025_13_29_05_10709.jpg', '/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_15_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_25_9847.jpg
/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_35_9863.jpg
/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_45_9813.jpg
/home/pi/Desktop/images/17122025/13/28/image_17122025_13_28_54_9680.jpg
/home/pi/Desktop/images/17122025/13/28/image_17122025_13_29_05_10709.jpg
/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_15_9758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399784686","1399784671","1399784667","1399784693","1399784675","1399784680"],"photo_ids_order":["1399784667","1399784671","1399784675","1399784680","1399784686","1399784693"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2808ced1568f6139a327cba5cd5f43d.jpg","text":"TemporaryFile(/tmp/multipartBody2187367643916096648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976123033,"filename":"image_17122025_13_29_05_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/358507e41586db99bc22028ab7e80959.jpg","text":"TemporaryFile(/tmp/multipartBody8455134424215182641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976123033,"filename":"image_17122025_13_28_35_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34a2842b92d30dffe9133f0594926bde.jpg","text":"TemporaryFile(/tmp/multipartBody1157413527870568050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976123033,"filename":"image_17122025_13_28_25_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4b554d6f6de0e06f17717d9726abb65.jpg","text":"TemporaryFile(/tmp/multipartBody8351485740457300757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976123033,"filename":"image_17122025_13_29_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bfe2500a2a9e35bc884c7423dcd1084.jpg","text":"TemporaryFile(/tmp/multipartBody3508963872460125551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976123033,"filename":"image_17122025_13_28_45_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/861c15cc72e62c78e2b239873f467d9c.jpg","text":"TemporaryFile(/tmp/multipartBody5066140181247791317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976123033,"filename":"image_17122025_13_28_54_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784675","file1":"1399784671","file0":"1399784667","file4":"1399784686","file5":"1399784693","file3":"1399784680"},"map_files_photo_id_array":[{"photo_id":"1399784693","filename":"file5"},{"photo_id":"1399784675","filename":"file2"},{"photo_id":"1399784686","filename":"file4"},{"photo_id":"1399784671","filename":"file1"},{"photo_id":"1399784667","filename":"file0"},{"photo_id":"1399784680","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399784686":["hashtag1","hashtag2"]},{"1399784671":["hashtag1","hashtag2"]},{"1399784667":["hashtag1","hashtag2"]},{"1399784693":["hashtag1","hashtag2"]},{"1399784675":["hashtag1","hashtag2"]},{"1399784680":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399784686, 1399784671, 1399784667, 1399784693, 1399784675, 1399784680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98835349082947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:55:03.217068
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_25_9721.jpg', '/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_35_10668.jpg', '/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_45_9701.jpg', '/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_55_9735.jpg', '/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_14_10040.jpg', '/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_24_10870.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_25_9721.jpg
/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_35_10668.jpg
/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_45_9701.jpg
/home/pi/Desktop/images/17122025/13/29/image_17122025_13_29_55_9735.jpg
/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_14_10040.jpg
/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_24_10870.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399784701","1399784697","1399784700","1399784699","1399784702","1399784705"],"photo_ids_order":["1399784697","1399784699","1399784700","1399784701","1399784702","1399784705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbd0f91492feadafe8cdfb7d73496d2b.jpg","text":"TemporaryFile(/tmp/multipartBody4952597126806400319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976163878,"filename":"image_17122025_13_29_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebb047de5bb7f7dc7ed01025a341ea2b.jpg","text":"TemporaryFile(/tmp/multipartBody4540117150117878259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976163878,"filename":"image_17122025_13_29_25_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cde485f78d9179b0c9f61162eceb7ee4.jpg","text":"TemporaryFile(/tmp/multipartBody4710937622987150152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976163878,"filename":"image_17122025_13_29_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87828367fcf93289b35fd64ce10a313c.jpg","text":"TemporaryFile(/tmp/multipartBody781182502108730718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976163878,"filename":"image_17122025_13_29_35_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc3f775b4849566508d3c7e3364a8328.jpg","text":"TemporaryFile(/tmp/multipartBody6240909919914442924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976163878,"filename":"image_17122025_13_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/2025/12/17/dcf7aa1e11473e7272855b19f4239347.jpg","text":"TemporaryFile(/tmp/multipartBody4958680342681364801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976163878,"filename":"image_17122025_13_31_24_10870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784700","file1":"1399784699","file0":"1399784697","file4":"1399784702","file5":"1399784705","file3":"1399784701"},"map_files_photo_id_array":[{"photo_id":"1399784705","filename":"file5"},{"photo_id":"1399784700","filename":"file2"},{"photo_id":"1399784702","filename":"file4"},{"photo_id":"1399784699","filename":"file1"},{"photo_id":"1399784697","filename":"file0"},{"photo_id":"1399784701","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399784701":["hashtag1","hashtag2"]},{"1399784697":["hashtag1","hashtag2"]},{"1399784700":["hashtag1","hashtag2"]},{"1399784699":["hashtag1","hashtag2"]},{"1399784702":["hashtag1","hashtag2"]},{"1399784705":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399784701, 1399784697, 1399784700, 1399784699, 1399784702, 1399784705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82234787940979 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:55:42.610560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_01_2525.jpg', '/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_07_3667.jpg', '/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_12_2841.jpg', '/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_34_3667.jpg', '/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_37_2639.jpg', '/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_39_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_01_2525.jpg
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_07_3667.jpg
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_12_2841.jpg
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_34_3667.jpg
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_37_2639.jpg
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_39_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399784714","1399784716","1399784719","1399784718","1399784720","1399784717"],"photo_ids_order":["1399784714","1399784716","1399784717","1399784718","1399784719","1399784720"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0404ec57e2ad30ae0f0f289bb4e83f4b.jpg","text":"TemporaryFile(/tmp/multipartBody2270923987249795988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976203379,"filename":"image_07112025_19_39_01_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f57bdf428b5d56a387886d3a06dd5c7b.jpg","text":"TemporaryFile(/tmp/multipartBody7993214844864568486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976203379,"filename":"image_07112025_19_39_07_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/668fb497e80c6e4d32a48c4425ba1fb5.jpg","text":"TemporaryFile(/tmp/multipartBody1555224738299853363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976203379,"filename":"image_07112025_19_39_37_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/226be44c03b74eb7b1041cacafa3426b.jpg","text":"TemporaryFile(/tmp/multipartBody3279635424271445198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976203379,"filename":"image_07112025_19_39_34_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/940ae797035fe16762d06d2a090813e5.jpg","text":"TemporaryFile(/tmp/multipartBody4520250337260951637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976203379,"filename":"image_07112025_19_39_39_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0768c2b328494b9015f14518b8ac940.jpg","text":"TemporaryFile(/tmp/multipartBody4458658329935926800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976203379,"filename":"image_07112025_19_39_12_2841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784717","file1":"1399784716","file0":"1399784714","file4":"1399784719","file5":"1399784720","file3":"1399784718"},"map_files_photo_id_array":[{"photo_id":"1399784720","filename":"file5"},{"photo_id":"1399784717","filename":"file2"},{"photo_id":"1399784719","filename":"file4"},{"photo_id":"1399784716","filename":"file1"},{"photo_id":"1399784714","filename":"file0"},{"photo_id":"1399784718","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399784714":["hashtag1","hashtag2"]},{"1399784716":["hashtag1","hashtag2"]},{"1399784719":["hashtag1","hashtag2"]},{"1399784718":["hashtag1","hashtag2"]},{"1399784720":["hashtag1","hashtag2"]},{"1399784717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399784714, 1399784716, 1399784719, 1399784718, 1399784720, 1399784717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.445600748062134 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 13:56:21.882003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_34_9863.jpg', '/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_44_9722.jpg', '/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_54_9761.jpg', '/home/pi/Desktop/images/17122025/13/31/image_17122025_13_32_04_10664.jpg', '/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_14_9918.jpg', '/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_24_9833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_34_9863.jpg
/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_44_9722.jpg
/home/pi/Desktop/images/17122025/13/31/image_17122025_13_31_54_9761.jpg
/home/pi/Desktop/images/17122025/13/31/image_17122025_13_32_04_10664.jpg
/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_14_9918.jpg
/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_24_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":["1399784725","1399784728","1399784730","1399784738","1399784732","1399784726"],"photo_ids_order":["1399784725","1399784726","1399784728","1399784730","1399784732","1399784738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d11e62a058bd37202d17c151a3531fbd.jpg","text":"TemporaryFile(/tmp/multipartBody7959498791023240824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976242500,"filename":"image_17122025_13_31_34_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76e7c5c36755bc4424db3bc659336c5a.jpg","text":"TemporaryFile(/tmp/multipartBody5283517996619048444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976242500,"filename":"image_17122025_13_31_54_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d91eb760d2e5b085d3c52f4db0c2791b.jpg","text":"TemporaryFile(/tmp/multipartBody2167282299729926953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976242500,"filename":"image_17122025_13_32_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11a4f6e30883d848f6dadca598e3bcbc.jpg","text":"TemporaryFile(/tmp/multipartBody352286029822744956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976242500,"filename":"image_17122025_13_32_24_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42bba109252bce2680da130234f0d893.jpg","text":"TemporaryFile(/tmp/multipartBody2150956017542774187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976242500,"filename":"image_17122025_13_32_14_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/126d2d2fe32d0057d8045a1df63ed9f1.jpg","text":"TemporaryFile(/tmp/multipartBody4074005266582691760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976242500,"filename":"image_17122025_13_31_44_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784728","file1":"1399784726","file0":"1399784725","file4":"1399784732","file5":"1399784738","file3":"1399784730"},"map_files_photo_id_array":[{"photo_id":"1399784738","filename":"file5"},{"photo_id":"1399784728","filename":"file2"},{"photo_id":"1399784732","filename":"file4"},{"photo_id":"1399784726","filename":"file1"},{"photo_id":"1399784725","filename":"file0"},{"photo_id":"1399784730","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399784725":["hashtag1","hashtag2"]},{"1399784728":["hashtag1","hashtag2"]},{"1399784730":["hashtag1","hashtag2"]},{"1399784738":["hashtag1","hashtag2"]},{"1399784732":["hashtag1","hashtag2"]},{"1399784726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399784725, 1399784728, 1399784730, 1399784738, 1399784732, 1399784726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39396047592163 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:57:02.676408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_34_9753.jpg', '/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_44_9723.jpg', '/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_54_10762.jpg', '/home/pi/Desktop/images/17122025/13/32/image_17122025_13_33_04_9656.jpg', '/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_14_9697.jpg', '/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_24_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_34_9753.jpg
/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_44_9723.jpg
/home/pi/Desktop/images/17122025/13/32/image_17122025_13_32_54_10762.jpg
/home/pi/Desktop/images/17122025/13/32/image_17122025_13_33_04_9656.jpg
/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_14_9697.jpg
/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_24_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":["1399784761","1399784752","1399784745","1399784759","1399784756","1399784750"],"photo_ids_order":["1399784745","1399784750","1399784752","1399784756","1399784759","1399784761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25e6d66f87851efe088966a17691d590.jpg","text":"TemporaryFile(/tmp/multipartBody8299373579541527535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976283362,"filename":"image_17122025_13_33_24_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9962b27f70e26fefd9f8a4d5b78c2ad5.jpg","text":"TemporaryFile(/tmp/multipartBody5041813998647291533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976283362,"filename":"image_17122025_13_32_54_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9714b460bfd467913f9ef65b137652c6.jpg","text":"TemporaryFile(/tmp/multipartBody9184766502798586410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976283362,"filename":"image_17122025_13_32_34_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb021edc279d1a5a0b75857586e5f422.jpg","text":"TemporaryFile(/tmp/multipartBody90221361367022196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976283362,"filename":"image_17122025_13_33_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f80f0ca8b6d5a8351cdee4727c319e7.jpg","text":"TemporaryFile(/tmp/multipartBody2680213108376518546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976283362,"filename":"image_17122025_13_33_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ece1aac575a5d4656e50ce52148d0a69.jpg","text":"TemporaryFile(/tmp/multipartBody314552582476064688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976283362,"filename":"image_17122025_13_32_44_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784752","file1":"1399784750","file0":"1399784745","file4":"1399784759","file5":"1399784761","file3":"1399784756"},"map_files_photo_id_array":[{"photo_id":"1399784761","filename":"file5"},{"photo_id":"1399784752","filename":"file2"},{"photo_id":"1399784759","filename":"file4"},{"photo_id":"1399784750","filename":"file1"},{"photo_id":"1399784745","filename":"file0"},{"photo_id":"1399784756","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399784761":["hashtag1","hashtag2"]},{"1399784752":["hashtag1","hashtag2"]},{"1399784745":["hashtag1","hashtag2"]},{"1399784759":["hashtag1","hashtag2"]},{"1399784756":["hashtag1","hashtag2"]},{"1399784750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399784761, 1399784752, 1399784745, 1399784759, 1399784756, 1399784750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.285202741622925 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 13:57:42.036759
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_43_3597.jpg', '/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_52_3675.jpg', '/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_57_2724.jpg', '/home/pi/Desktop/images/07112025/19/39/image_07112025_19_40_01_3647.jpg', '/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_13_3664.jpg', '/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_16_2901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_43_3597.jpg
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_52_3675.jpg
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_39_57_2724.jpg
/home/pi/Desktop/images/07112025/19/39/image_07112025_19_40_01_3647.jpg
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_13_3664.jpg
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_16_2901.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399784773","1399784767","1399784769","1399784771","1399784765","1399784762"],"photo_ids_order":["1399784762","1399784765","1399784767","1399784769","1399784771","1399784773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/727df8e7b5b12b0e91c1f58ec1788ebb.jpg","text":"TemporaryFile(/tmp/multipartBody6875550794679175895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976322814,"filename":"image_07112025_19_40_16_2901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e4679c4742be44fb7994b85f8e20ffb.jpg","text":"TemporaryFile(/tmp/multipartBody3575111539891113413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976322814,"filename":"image_07112025_19_39_57_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5692597af1056707be7806ed51b5406.jpg","text":"TemporaryFile(/tmp/multipartBody2206862550636545954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976322814,"filename":"image_07112025_19_40_01_3647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fd52f752146ceb720f0f499bdddddd9.jpg","text":"TemporaryFile(/tmp/multipartBody8105426510291743500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976322814,"filename":"image_07112025_19_40_13_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f628581e98132828450f13708ed60a7a.jpg","text":"TemporaryFile(/tmp/multipartBody5634248850641200960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976322814,"filename":"image_07112025_19_39_52_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9cd7c89740ae8eb2e9412408060d467.jpg","text":"TemporaryFile(/tmp/multipartBody5674676155117517749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976322814,"filename":"image_07112025_19_39_43_3597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784767","file1":"1399784765","file0":"1399784762","file4":"1399784771","file5":"1399784773","file3":"1399784769"},"map_files_photo_id_array":[{"photo_id":"1399784773","filename":"file5"},{"photo_id":"1399784767","filename":"file2"},{"photo_id":"1399784771","filename":"file4"},{"photo_id":"1399784765","filename":"file1"},{"photo_id":"1399784762","filename":"file0"},{"photo_id":"1399784769","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399784773":["hashtag1","hashtag2"]},{"1399784767":["hashtag1","hashtag2"]},{"1399784769":["hashtag1","hashtag2"]},{"1399784771":["hashtag1","hashtag2"]},{"1399784765":["hashtag1","hashtag2"]},{"1399784762":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399784773, 1399784767, 1399784769, 1399784771, 1399784765, 1399784762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92540955543518 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 13:59:03.745645
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_34_10628.jpg', '/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_44_9699.jpg', '/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_54_9618.jpg', '/home/pi/Desktop/images/17122025/13/33/image_17122025_13_34_04_10804.jpg', '/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_14_9673.jpg', '/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_24_10200.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_34_10628.jpg
/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_44_9699.jpg
/home/pi/Desktop/images/17122025/13/33/image_17122025_13_33_54_9618.jpg
/home/pi/Desktop/images/17122025/13/33/image_17122025_13_34_04_10804.jpg
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_14_9673.jpg
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_24_10200.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":["1399784818","1399784823","1399784826","1399784811","1399784820","1399784798"],"photo_ids_order":["1399784798","1399784811","1399784818","1399784820","1399784823","1399784826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abbf76a29eef3ef5470fdd3d40356f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7989098397832414632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976404418,"filename":"image_17122025_13_33_54_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f399b88e91520f3bee65dda7058c7b61.jpg","text":"TemporaryFile(/tmp/multipartBody811268677855876750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976404418,"filename":"image_17122025_13_34_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a196f3b7aff917ddcd9401c327366263.jpg","text":"TemporaryFile(/tmp/multipartBody4793030421267750266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976404418,"filename":"image_17122025_13_34_24_10200.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b54154905aab68b551d62adeacb5a0ac.jpg","text":"TemporaryFile(/tmp/multipartBody1685757830201687869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976404418,"filename":"image_17122025_13_33_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/feab4f61d8fdb63486243689949f4811.jpg","text":"TemporaryFile(/tmp/multipartBody28967685967308173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976404418,"filename":"image_17122025_13_34_04_10804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f81ddd3c8b8be1a4afbe879fefc6e29.jpg","text":"TemporaryFile(/tmp/multipartBody7349853065314368790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976404418,"filename":"image_17122025_13_33_34_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784818","file1":"1399784811","file0":"1399784798","file4":"1399784823","file5":"1399784826","file3":"1399784820"},"map_files_photo_id_array":[{"photo_id":"1399784826","filename":"file5"},{"photo_id":"1399784818","filename":"file2"},{"photo_id":"1399784823","filename":"file4"},{"photo_id":"1399784811","filename":"file1"},{"photo_id":"1399784798","filename":"file0"},{"photo_id":"1399784820","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399784818":["hashtag1","hashtag2"]},{"1399784823":["hashtag1","hashtag2"]},{"1399784826":["hashtag1","hashtag2"]},{"1399784811":["hashtag1","hashtag2"]},{"1399784820":["hashtag1","hashtag2"]},{"1399784798":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399784818, 1399784823, 1399784826, 1399784811, 1399784820, 1399784798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.55339217185974 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:00:03.050420
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_34_9601.jpg', '/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_44_9781.jpg', '/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_54_10773.jpg', '/home/pi/Desktop/images/17122025/13/34/image_17122025_13_35_04_9722.jpg', '/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_14_9613.jpg', '/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_24_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_34_9601.jpg
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_44_9781.jpg
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_54_10773.jpg
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_35_04_9722.jpg
/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_14_9613.jpg
/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_24_10717.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5610885620117188 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 14:00:12.631480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:00:22.736165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_34_9601.jpg', '/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_44_9781.jpg', '/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_54_10773.jpg', '/home/pi/Desktop/images/17122025/13/34/image_17122025_13_35_04_9722.jpg', '/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_14_9613.jpg', '/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_24_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_34_9601.jpg
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_44_9781.jpg
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_34_54_10773.jpg
/home/pi/Desktop/images/17122025/13/34/image_17122025_13_35_04_9722.jpg
/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_14_9613.jpg
/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_24_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399784863","1399784886","1399784853","1399784850","1399784876","1399784867"],"photo_ids_order":["1399784850","1399784853","1399784863","1399784867","1399784876","1399784886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d0468c87588fa625eb0348086d6b159.jpg","text":"TemporaryFile(/tmp/multipartBody7278029008770393030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976483355,"filename":"image_17122025_13_34_54_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02bbcec83d37076deeea07c1c6a3f87b.jpg","text":"TemporaryFile(/tmp/multipartBody2643165129546685281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976483355,"filename":"image_17122025_13_35_24_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d8970c138013d79defc93b4aa951f2f.jpg","text":"TemporaryFile(/tmp/multipartBody6169210090783382114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976483355,"filename":"image_17122025_13_34_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3a1b922eb54b7854426f63f0027ac08.jpg","text":"TemporaryFile(/tmp/multipartBody6234037249032432788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976483355,"filename":"image_17122025_13_34_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7790d2e73b8367a4c52816ac1090c441.jpg","text":"TemporaryFile(/tmp/multipartBody3917481972338177487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976483355,"filename":"image_17122025_13_35_14_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55029a9c7b469422fae7565ba47915d3.jpg","text":"TemporaryFile(/tmp/multipartBody8130506804029530777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976483355,"filename":"image_17122025_13_35_04_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784863","file1":"1399784853","file0":"1399784850","file4":"1399784876","file5":"1399784886","file3":"1399784867"},"map_files_photo_id_array":[{"photo_id":"1399784886","filename":"file5"},{"photo_id":"1399784863","filename":"file2"},{"photo_id":"1399784876","filename":"file4"},{"photo_id":"1399784853","filename":"file1"},{"photo_id":"1399784850","filename":"file0"},{"photo_id":"1399784867","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399784863":["hashtag1","hashtag2"]},{"1399784886":["hashtag1","hashtag2"]},{"1399784853":["hashtag1","hashtag2"]},{"1399784850":["hashtag1","hashtag2"]},{"1399784876":["hashtag1","hashtag2"]},{"1399784867":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399784863, 1399784886, 1399784853, 1399784850, 1399784876, 1399784867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75196576118469 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:01:02.430416
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_34_9702.jpg', '/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_44_9782.jpg', '/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_54_9831.jpg', '/home/pi/Desktop/images/17122025/13/35/image_17122025_13_36_04_9877.jpg', '/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_14_10715.jpg', '/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_24_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_34_9702.jpg
/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_44_9782.jpg
/home/pi/Desktop/images/17122025/13/35/image_17122025_13_35_54_9831.jpg
/home/pi/Desktop/images/17122025/13/35/image_17122025_13_36_04_9877.jpg
/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_14_10715.jpg
/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_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":["1399784911","1399784905","1399784914","1399784937","1399784915","1399784909"],"photo_ids_order":["1399784905","1399784909","1399784911","1399784914","1399784915","1399784937"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/079c20104821f9b52a6c527a68cd46a4.jpg","text":"TemporaryFile(/tmp/multipartBody8485410746660326714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976523123,"filename":"image_17122025_13_35_54_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aad59972d862b46898e531d85d75618e.jpg","text":"TemporaryFile(/tmp/multipartBody7718138884576396523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976523123,"filename":"image_17122025_13_35_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce598b45bf41174c1cbad8209014b3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3840124512346418803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976523123,"filename":"image_17122025_13_36_04_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd96622bb93a20d1cb1a69604214f98a.jpg","text":"TemporaryFile(/tmp/multipartBody8755286373354729589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976523123,"filename":"image_17122025_13_36_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/121ddade8867bd13353a168491e933dc.jpg","text":"TemporaryFile(/tmp/multipartBody6892158765705454060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976523123,"filename":"image_17122025_13_36_14_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0992f06c73a9761be1cd842d766669c.jpg","text":"TemporaryFile(/tmp/multipartBody6749635072631593583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976523123,"filename":"image_17122025_13_35_44_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399784911","file1":"1399784909","file0":"1399784905","file4":"1399784915","file5":"1399784937","file3":"1399784914"},"map_files_photo_id_array":[{"photo_id":"1399784937","filename":"file5"},{"photo_id":"1399784911","filename":"file2"},{"photo_id":"1399784915","filename":"file4"},{"photo_id":"1399784909","filename":"file1"},{"photo_id":"1399784905","filename":"file0"},{"photo_id":"1399784914","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399784911":["hashtag1","hashtag2"]},{"1399784905":["hashtag1","hashtag2"]},{"1399784914":["hashtag1","hashtag2"]},{"1399784937":["hashtag1","hashtag2"]},{"1399784915":["hashtag1","hashtag2"]},{"1399784909":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399784911, 1399784905, 1399784914, 1399784937, 1399784915, 1399784909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.669920206069946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:01:41.808726
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_18_2680.jpg', '/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_21_2620.jpg', '/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_28_2902.jpg', '/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_30_2665.jpg', '/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_33_2717.jpg', '/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_40_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_18_2680.jpg
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_21_2620.jpg
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_28_2902.jpg
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_30_2665.jpg
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_33_2717.jpg
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_40_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":["1399785133","1399785099","1399785132","1399785060","1399785167","1399785131"],"photo_ids_order":["1399785060","1399785099","1399785131","1399785132","1399785133","1399785167"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/552a8b656b3ac230a12f6ffbf45dd781.jpg","text":"TemporaryFile(/tmp/multipartBody8588972973782899651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976562581,"filename":"image_07112025_19_40_33_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0adb2b8bfab6b02c243a8618da4ddb2b.jpg","text":"TemporaryFile(/tmp/multipartBody8338791012708538784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976562581,"filename":"image_07112025_19_40_21_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/511ff920c6d1b33d4c6d1808d9eed523.jpg","text":"TemporaryFile(/tmp/multipartBody4258524656621129472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976562581,"filename":"image_07112025_19_40_30_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2903969d29f2cc5740ea374160b52430.jpg","text":"TemporaryFile(/tmp/multipartBody2766754248008433824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976562581,"filename":"image_07112025_19_40_18_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1db13bd82ab13749d47557761ebc5c45.jpg","text":"TemporaryFile(/tmp/multipartBody4598036787601826074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976562581,"filename":"image_07112025_19_40_40_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/594367733dd698f172be836929bd4edb.jpg","text":"TemporaryFile(/tmp/multipartBody7776660209604429575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976562581,"filename":"image_07112025_19_40_28_2902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785131","file1":"1399785099","file0":"1399785060","file4":"1399785133","file5":"1399785167","file3":"1399785132"},"map_files_photo_id_array":[{"photo_id":"1399785167","filename":"file5"},{"photo_id":"1399785131","filename":"file2"},{"photo_id":"1399785133","filename":"file4"},{"photo_id":"1399785099","filename":"file1"},{"photo_id":"1399785060","filename":"file0"},{"photo_id":"1399785132","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399785133":["hashtag1","hashtag2"]},{"1399785099":["hashtag1","hashtag2"]},{"1399785132":["hashtag1","hashtag2"]},{"1399785060":["hashtag1","hashtag2"]},{"1399785167":["hashtag1","hashtag2"]},{"1399785131":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399785133, 1399785099, 1399785132, 1399785060, 1399785167, 1399785131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.35167932510376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:02:22.171677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_34_9803.jpg', '/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_44_9675.jpg', '/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_55_10866.jpg', '/home/pi/Desktop/images/17122025/13/36/image_17122025_13_37_04_9872.jpg', '/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_14_9615.jpg', '/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_24_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_34_9803.jpg
/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_44_9675.jpg
/home/pi/Desktop/images/17122025/13/36/image_17122025_13_36_55_10866.jpg
/home/pi/Desktop/images/17122025/13/36/image_17122025_13_37_04_9872.jpg
/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_14_9615.jpg
/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_24_9724.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399785217","1399785202","1399785207","1399785224","1399785206","1399785209"],"photo_ids_order":["1399785202","1399785206","1399785207","1399785209","1399785217","1399785224"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b65bdc4abd9b0e48d69cf48a9f50bd0d.jpg","text":"TemporaryFile(/tmp/multipartBody292584503347091655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976602801,"filename":"image_17122025_13_37_14_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07e7eebf6d20f469117963b04374b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody1488963697979813899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976602801,"filename":"image_17122025_13_36_34_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e10fe5d2b168ad5dcb9c24a25cd452f7.jpg","text":"TemporaryFile(/tmp/multipartBody3480564949024335973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976602801,"filename":"image_17122025_13_36_55_10866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3124e159e32e1481222a5cea80e682da.jpg","text":"TemporaryFile(/tmp/multipartBody5359834026669147721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976602801,"filename":"image_17122025_13_37_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cedc4771b04544c32a63a9d954c666d2.jpg","text":"TemporaryFile(/tmp/multipartBody5438287815320000971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976602801,"filename":"image_17122025_13_36_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b10efeae5031385cdd425c19dd152a68.jpg","text":"TemporaryFile(/tmp/multipartBody4487151694517675546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976602801,"filename":"image_17122025_13_37_04_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785207","file1":"1399785206","file0":"1399785202","file4":"1399785217","file5":"1399785224","file3":"1399785209"},"map_files_photo_id_array":[{"photo_id":"1399785224","filename":"file5"},{"photo_id":"1399785207","filename":"file2"},{"photo_id":"1399785217","filename":"file4"},{"photo_id":"1399785206","filename":"file1"},{"photo_id":"1399785202","filename":"file0"},{"photo_id":"1399785209","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399785217":["hashtag1","hashtag2"]},{"1399785202":["hashtag1","hashtag2"]},{"1399785207":["hashtag1","hashtag2"]},{"1399785224":["hashtag1","hashtag2"]},{"1399785206":["hashtag1","hashtag2"]},{"1399785209":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399785217, 1399785202, 1399785207, 1399785224, 1399785206, 1399785209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.957520723342896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:03:03.150465
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_34_10123.jpg', '/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_45_10693.jpg', '/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_54_9750.jpg', '/home/pi/Desktop/images/17122025/13/37/image_17122025_13_38_04_9867.jpg', '/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_14_9646.jpg', '/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_25_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_34_10123.jpg
/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_45_10693.jpg
/home/pi/Desktop/images/17122025/13/37/image_17122025_13_37_54_9750.jpg
/home/pi/Desktop/images/17122025/13/37/image_17122025_13_38_04_9867.jpg
/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_14_9646.jpg
/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_25_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":["1399785232","1399785234","1399785228","1399785236","1399785239","1399785230"],"photo_ids_order":["1399785228","1399785230","1399785232","1399785234","1399785236","1399785239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76ad37fac015d3ee99210dce52f19476.jpg","text":"TemporaryFile(/tmp/multipartBody8052365204043690879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976643829,"filename":"image_17122025_13_37_54_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4744b356d4a157d599b9ceb14c9d197.jpg","text":"TemporaryFile(/tmp/multipartBody5914302123380484718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976643829,"filename":"image_17122025_13_38_04_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88ed855005743fb9260e5951719467ba.jpg","text":"TemporaryFile(/tmp/multipartBody4516380605165914955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976643829,"filename":"image_17122025_13_37_34_10123.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c179bcfa72bb6af73983c0222e5e7e6.jpg","text":"TemporaryFile(/tmp/multipartBody6116682249443902977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976643829,"filename":"image_17122025_13_38_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e40bd5afad2cfbd4c65af05392b16df.jpg","text":"TemporaryFile(/tmp/multipartBody379224643027959042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976643829,"filename":"image_17122025_13_38_25_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4f665d4c8cc2a7dda16764d734f4f37.jpg","text":"TemporaryFile(/tmp/multipartBody1309599027862063333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976643829,"filename":"image_17122025_13_37_45_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785232","file1":"1399785230","file0":"1399785228","file4":"1399785236","file5":"1399785239","file3":"1399785234"},"map_files_photo_id_array":[{"photo_id":"1399785239","filename":"file5"},{"photo_id":"1399785232","filename":"file2"},{"photo_id":"1399785236","filename":"file4"},{"photo_id":"1399785230","filename":"file1"},{"photo_id":"1399785228","filename":"file0"},{"photo_id":"1399785234","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399785232":["hashtag1","hashtag2"]},{"1399785234":["hashtag1","hashtag2"]},{"1399785228":["hashtag1","hashtag2"]},{"1399785236":["hashtag1","hashtag2"]},{"1399785239":["hashtag1","hashtag2"]},{"1399785230":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399785232, 1399785234, 1399785228, 1399785236, 1399785239, 1399785230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85135102272034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:03:42.361630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_45_2856.jpg', '/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_58_3841.jpg', '/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_16_3608.jpg', '/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_19_2739.jpg', '/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_25_3617.jpg', '/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_33_2675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_45_2856.jpg
/home/pi/Desktop/images/07112025/19/40/image_07112025_19_40_58_3841.jpg
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_16_3608.jpg
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_19_2739.jpg
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_25_3617.jpg
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_33_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":["1399785250","1399785252","1399785246","1399785249","1399785251","1399785253"],"photo_ids_order":["1399785246","1399785249","1399785250","1399785251","1399785252","1399785253"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69953f189f8827cf9b0e7014fd023df2.jpg","text":"TemporaryFile(/tmp/multipartBody1278432140740707765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976683179,"filename":"image_07112025_19_41_16_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1c185f81e543bacb47b29a3e06c0523.jpg","text":"TemporaryFile(/tmp/multipartBody2281696223546023700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976683179,"filename":"image_07112025_19_41_25_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d5cd4ab9bfb33b4a89651e2716fbb2c.jpg","text":"TemporaryFile(/tmp/multipartBody3144554354075643854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976683179,"filename":"image_07112025_19_40_45_2856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b982bd489c98b2e71abee1f4d62d95b6.jpg","text":"TemporaryFile(/tmp/multipartBody138638042821708850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976683179,"filename":"image_07112025_19_40_58_3841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cad7088c1fa6aca3ba2ca000f8ef9ee.jpg","text":"TemporaryFile(/tmp/multipartBody2271038064291391150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976683179,"filename":"image_07112025_19_41_19_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/544607a59eae3b2d5e262d9b9c5bae67.jpg","text":"TemporaryFile(/tmp/multipartBody7872192851880203191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976683179,"filename":"image_07112025_19_41_33_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785250","file1":"1399785249","file0":"1399785246","file4":"1399785252","file5":"1399785253","file3":"1399785251"},"map_files_photo_id_array":[{"photo_id":"1399785253","filename":"file5"},{"photo_id":"1399785250","filename":"file2"},{"photo_id":"1399785252","filename":"file4"},{"photo_id":"1399785249","filename":"file1"},{"photo_id":"1399785246","filename":"file0"},{"photo_id":"1399785251","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399785250":["hashtag1","hashtag2"]},{"1399785252":["hashtag1","hashtag2"]},{"1399785246":["hashtag1","hashtag2"]},{"1399785249":["hashtag1","hashtag2"]},{"1399785251":["hashtag1","hashtag2"]},{"1399785253":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399785250, 1399785252, 1399785246, 1399785249, 1399785251, 1399785253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46734547615051 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:04:22.654281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_34_9661.jpg', '/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_44_9717.jpg', '/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_54_9694.jpg', '/home/pi/Desktop/images/17122025/13/38/image_17122025_13_39_05_10922.jpg', '/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_14_9894.jpg', '/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_24_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_34_9661.jpg
/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_44_9717.jpg
/home/pi/Desktop/images/17122025/13/38/image_17122025_13_38_54_9694.jpg
/home/pi/Desktop/images/17122025/13/38/image_17122025_13_39_05_10922.jpg
/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_14_9894.jpg
/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_24_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":["1399785279","1399785264","1399785267","1399785272","1399785260","1399785257"],"photo_ids_order":["1399785257","1399785260","1399785264","1399785267","1399785272","1399785279"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/243167183196324323ac55b3c8eede70.jpg","text":"TemporaryFile(/tmp/multipartBody4375863424474983706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976723307,"filename":"image_17122025_13_39_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95acd269493360d91012b21596b093d4.jpg","text":"TemporaryFile(/tmp/multipartBody7691701393184113334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976723307,"filename":"image_17122025_13_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/2025/12/17/cdd9937f6ee5f1349081c8998836ff14.jpg","text":"TemporaryFile(/tmp/multipartBody8393053540908667192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976723307,"filename":"image_17122025_13_39_05_10922.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a168b7c217d5ef85e5c1355f7edcf5c.jpg","text":"TemporaryFile(/tmp/multipartBody6885799282937308882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976723307,"filename":"image_17122025_13_39_14_9894.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6a760cfa7b55012d494d3e383338671.jpg","text":"TemporaryFile(/tmp/multipartBody6158183459901047639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976723307,"filename":"image_17122025_13_38_44_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cc4d4a07d477038c4785ba8209402d0.jpg","text":"TemporaryFile(/tmp/multipartBody3996617438901509763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976723307,"filename":"image_17122025_13_38_34_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785264","file1":"1399785260","file0":"1399785257","file4":"1399785272","file5":"1399785279","file3":"1399785267"},"map_files_photo_id_array":[{"photo_id":"1399785279","filename":"file5"},{"photo_id":"1399785264","filename":"file2"},{"photo_id":"1399785272","filename":"file4"},{"photo_id":"1399785260","filename":"file1"},{"photo_id":"1399785257","filename":"file0"},{"photo_id":"1399785267","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399785279":["hashtag1","hashtag2"]},{"1399785264":["hashtag1","hashtag2"]},{"1399785267":["hashtag1","hashtag2"]},{"1399785272":["hashtag1","hashtag2"]},{"1399785260":["hashtag1","hashtag2"]},{"1399785257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399785279, 1399785264, 1399785267, 1399785272, 1399785260, 1399785257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57651329040527 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:05:02.583685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_34_9714.jpg', '/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_44_9708.jpg', '/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_54_10626.jpg', '/home/pi/Desktop/images/17122025/13/39/image_17122025_13_40_04_9731.jpg', '/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_14_9767.jpg', '/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_24_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_34_9714.jpg
/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_44_9708.jpg
/home/pi/Desktop/images/17122025/13/39/image_17122025_13_39_54_10626.jpg
/home/pi/Desktop/images/17122025/13/39/image_17122025_13_40_04_9731.jpg
/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_14_9767.jpg
/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_24_9924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399785301","1399785304","1399785300","1399785308","1399785298","1399785302"],"photo_ids_order":["1399785298","1399785300","1399785301","1399785302","1399785304","1399785308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56bb5bb8eeddf7abe5cd93d6feedba59.jpg","text":"TemporaryFile(/tmp/multipartBody8402736022208685289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976763274,"filename":"image_17122025_13_39_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5140d009551419873628694c1360202.jpg","text":"TemporaryFile(/tmp/multipartBody8991483874783608836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976763274,"filename":"image_17122025_13_40_14_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/465912951581e13b24a584fba11b28fd.jpg","text":"TemporaryFile(/tmp/multipartBody7635969239383571195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976763274,"filename":"image_17122025_13_39_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3824ab09c004315084db502912c5d17c.jpg","text":"TemporaryFile(/tmp/multipartBody821424232411140362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976763274,"filename":"image_17122025_13_40_24_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afbba0fdec13566e2e7158c795dfe338.jpg","text":"TemporaryFile(/tmp/multipartBody9180412164550531896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976763274,"filename":"image_17122025_13_39_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68d698d3207921e361c5fd2c9db723d3.jpg","text":"TemporaryFile(/tmp/multipartBody9165276354688501027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976763274,"filename":"image_17122025_13_40_04_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785301","file1":"1399785300","file0":"1399785298","file4":"1399785304","file5":"1399785308","file3":"1399785302"},"map_files_photo_id_array":[{"photo_id":"1399785308","filename":"file5"},{"photo_id":"1399785301","filename":"file2"},{"photo_id":"1399785304","filename":"file4"},{"photo_id":"1399785300","filename":"file1"},{"photo_id":"1399785298","filename":"file0"},{"photo_id":"1399785302","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399785301":["hashtag1","hashtag2"]},{"1399785304":["hashtag1","hashtag2"]},{"1399785300":["hashtag1","hashtag2"]},{"1399785308":["hashtag1","hashtag2"]},{"1399785298":["hashtag1","hashtag2"]},{"1399785302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399785301, 1399785304, 1399785300, 1399785308, 1399785298, 1399785302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.91260385513306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:05:41.885472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_36_3548.jpg', '/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_39_2571.jpg', '/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_43_3773.jpg', '/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_49_2752.jpg', '/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_55_3591.jpg', '/home/pi/Desktop/images/07112025/19/41/image_07112025_19_42_00_2834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_36_3548.jpg
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_39_2571.jpg
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_43_3773.jpg
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_49_2752.jpg
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_41_55_3591.jpg
/home/pi/Desktop/images/07112025/19/41/image_07112025_19_42_00_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":["1399785322","1399785319","1399785321","1399785315","1399785318","1399785320"],"photo_ids_order":["1399785315","1399785318","1399785319","1399785320","1399785321","1399785322"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fae393915c6e0b71d0cb9349e1c45f4b.jpg","text":"TemporaryFile(/tmp/multipartBody776932052883188635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976804886,"filename":"image_07112025_19_42_00_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f1d65729a08c64e94ae5124e971716e.jpg","text":"TemporaryFile(/tmp/multipartBody1212345657663771818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976804886,"filename":"image_07112025_19_41_43_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe6483e8eac652c3e1feec778867dc4f.jpg","text":"TemporaryFile(/tmp/multipartBody3283613131587069926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976804886,"filename":"image_07112025_19_41_55_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a03338de45ec261f24a998ef3c81aa17.jpg","text":"TemporaryFile(/tmp/multipartBody464383932576760164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976804886,"filename":"image_07112025_19_41_36_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6fbdbf6473dd74fdf5589e36f12946e.jpg","text":"TemporaryFile(/tmp/multipartBody3018847779642759245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976804886,"filename":"image_07112025_19_41_39_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a368731bd362fc51289f6b3a2e0a7faa.jpg","text":"TemporaryFile(/tmp/multipartBody6288239253696930940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976804886,"filename":"image_07112025_19_41_49_2752.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785319","file1":"1399785318","file0":"1399785315","file4":"1399785321","file5":"1399785322","file3":"1399785320"},"map_files_photo_id_array":[{"photo_id":"1399785322","filename":"file5"},{"photo_id":"1399785319","filename":"file2"},{"photo_id":"1399785321","filename":"file4"},{"photo_id":"1399785318","filename":"file1"},{"photo_id":"1399785315","filename":"file0"},{"photo_id":"1399785320","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399785322":["hashtag1","hashtag2"]},{"1399785319":["hashtag1","hashtag2"]},{"1399785321":["hashtag1","hashtag2"]},{"1399785315":["hashtag1","hashtag2"]},{"1399785318":["hashtag1","hashtag2"]},{"1399785320":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399785322, 1399785319, 1399785321, 1399785315, 1399785318, 1399785320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4071786403656 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:06:22.207279
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_34_10724.jpg', '/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_44_9888.jpg', '/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_54_9833.jpg', '/home/pi/Desktop/images/17122025/13/40/image_17122025_13_41_04_9779.jpg', '/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_14_10453.jpg', '/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_24_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_34_10724.jpg
/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_44_9888.jpg
/home/pi/Desktop/images/17122025/13/40/image_17122025_13_40_54_9833.jpg
/home/pi/Desktop/images/17122025/13/40/image_17122025_13_41_04_9779.jpg
/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_14_10453.jpg
/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_24_9876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399785334","1399785328","1399785339","1399785330","1399785336","1399785332"],"photo_ids_order":["1399785328","1399785330","1399785332","1399785334","1399785336","1399785339"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dbf782a36bd02ca27606591c28a37b5.jpg","text":"TemporaryFile(/tmp/multipartBody2444786928141375912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976842829,"filename":"image_17122025_13_41_04_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94813526c8f78918ffc47e35450b8b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2659477038565144807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976842829,"filename":"image_17122025_13_40_34_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d4d5a37c9ed8db6a4e6b3751d4c16b7.jpg","text":"TemporaryFile(/tmp/multipartBody342822750273697840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976842829,"filename":"image_17122025_13_41_24_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/910709c11fab45e703508eb23a1ce204.jpg","text":"TemporaryFile(/tmp/multipartBody6070592977092298760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976842829,"filename":"image_17122025_13_40_44_9888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebbea4db78b54d2a7b981f670718f6e4.jpg","text":"TemporaryFile(/tmp/multipartBody6259344884666450955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976842829,"filename":"image_17122025_13_41_14_10453.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b383fe2ffbe610b6ea35abb3277e30f6.jpg","text":"TemporaryFile(/tmp/multipartBody1571523283220576788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976842829,"filename":"image_17122025_13_40_54_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785332","file1":"1399785330","file0":"1399785328","file4":"1399785336","file5":"1399785339","file3":"1399785334"},"map_files_photo_id_array":[{"photo_id":"1399785339","filename":"file5"},{"photo_id":"1399785332","filename":"file2"},{"photo_id":"1399785336","filename":"file4"},{"photo_id":"1399785330","filename":"file1"},{"photo_id":"1399785328","filename":"file0"},{"photo_id":"1399785334","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399785334":["hashtag1","hashtag2"]},{"1399785328":["hashtag1","hashtag2"]},{"1399785339":["hashtag1","hashtag2"]},{"1399785330":["hashtag1","hashtag2"]},{"1399785336":["hashtag1","hashtag2"]},{"1399785332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399785334, 1399785328, 1399785339, 1399785330, 1399785336, 1399785332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.65789985656738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:07:03.059045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_34_9615.jpg', '/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_44_10621.jpg', '/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_54_9812.jpg', '/home/pi/Desktop/images/17122025/13/41/image_17122025_13_42_04_9642.jpg', '/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_14_9796.jpg', '/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_24_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_34_9615.jpg
/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_44_10621.jpg
/home/pi/Desktop/images/17122025/13/41/image_17122025_13_41_54_9812.jpg
/home/pi/Desktop/images/17122025/13/41/image_17122025_13_42_04_9642.jpg
/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_14_9796.jpg
/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_24_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":["1399785604","1399785564","1399785452","1399785527","1399785490","1399785643"],"photo_ids_order":["1399785452","1399785490","1399785527","1399785564","1399785604","1399785643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dcfdc2119b722d7673fb699bcc4f2b7e.jpg","text":"TemporaryFile(/tmp/multipartBody3634415039814743404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976883724,"filename":"image_17122025_13_42_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80c803ff417aa07b30759f681a78599d.jpg","text":"TemporaryFile(/tmp/multipartBody6459971614081339003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976883724,"filename":"image_17122025_13_42_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c608b736c8484a9e04f3151dc2235fba.jpg","text":"TemporaryFile(/tmp/multipartBody7846211418956251788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976883724,"filename":"image_17122025_13_41_34_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ddfa5e84dce78ec67179f438a43bee3.jpg","text":"TemporaryFile(/tmp/multipartBody1551198413538949360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976883724,"filename":"image_17122025_13_41_54_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/326f3c7c6eec38fddc2d5131d75e8ff7.jpg","text":"TemporaryFile(/tmp/multipartBody9057073231883026604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976883724,"filename":"image_17122025_13_41_44_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0a719fd5bfe45e28d3d7eadcdb8ac41.jpg","text":"TemporaryFile(/tmp/multipartBody1794599511131770495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976883724,"filename":"image_17122025_13_42_24_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785527","file1":"1399785490","file0":"1399785452","file4":"1399785604","file5":"1399785643","file3":"1399785564"},"map_files_photo_id_array":[{"photo_id":"1399785643","filename":"file5"},{"photo_id":"1399785527","filename":"file2"},{"photo_id":"1399785604","filename":"file4"},{"photo_id":"1399785490","filename":"file1"},{"photo_id":"1399785452","filename":"file0"},{"photo_id":"1399785564","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399785604":["hashtag1","hashtag2"]},{"1399785564":["hashtag1","hashtag2"]},{"1399785452":["hashtag1","hashtag2"]},{"1399785527":["hashtag1","hashtag2"]},{"1399785490":["hashtag1","hashtag2"]},{"1399785643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399785604, 1399785564, 1399785452, 1399785527, 1399785490, 1399785643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15040683746338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:07:42.281729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_13_13265.jpg', '/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_22_8803.jpg', '/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_24_1755.jpg', '/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_36_1983.jpg', '/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_38_1530.jpg', '/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_41_1757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_13_13265.jpg
/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_22_8803.jpg
/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_24_1755.jpg
/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_36_1983.jpg
/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_38_1530.jpg
/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_41_1757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399785777","1399785930","1399785855","1399785968","1399785892","1399785818"],"photo_ids_order":["1399785777","1399785818","1399785855","1399785892","1399785930","1399785968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef0f155e7665b3613e5bb90aca554828.jpg","text":"TemporaryFile(/tmp/multipartBody1300481577084816957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976923064,"filename":"image_07112025_19_42_13_13265.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd13fb04a3c02054367c1d42f52bf663.jpg","text":"TemporaryFile(/tmp/multipartBody4083810058402382465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976923064,"filename":"image_07112025_19_42_38_1530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f240d9a82697fbbdd9c0209411c65f68.jpg","text":"TemporaryFile(/tmp/multipartBody2354045680388678617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976923064,"filename":"image_07112025_19_42_24_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1449d2d16478e652593a3e7ab626d6ca.jpg","text":"TemporaryFile(/tmp/multipartBody1862138644176267615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976923064,"filename":"image_07112025_19_42_41_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66fe59ecab6d4e67084948270bc9998d.jpg","text":"TemporaryFile(/tmp/multipartBody870571176754888264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976923064,"filename":"image_07112025_19_42_36_1983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75f1a7b5016f7855b9ce76720b728a29.jpg","text":"TemporaryFile(/tmp/multipartBody3333834210778298569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976923064,"filename":"image_07112025_19_42_22_8803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399785855","file1":"1399785818","file0":"1399785777","file4":"1399785930","file5":"1399785968","file3":"1399785892"},"map_files_photo_id_array":[{"photo_id":"1399785968","filename":"file5"},{"photo_id":"1399785855","filename":"file2"},{"photo_id":"1399785930","filename":"file4"},{"photo_id":"1399785818","filename":"file1"},{"photo_id":"1399785777","filename":"file0"},{"photo_id":"1399785892","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399785777":["hashtag1","hashtag2"]},{"1399785930":["hashtag1","hashtag2"]},{"1399785855":["hashtag1","hashtag2"]},{"1399785968":["hashtag1","hashtag2"]},{"1399785892":["hashtag1","hashtag2"]},{"1399785818":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399785777, 1399785930, 1399785855, 1399785968, 1399785892, 1399785818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.44891834259033 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:08:22.571398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_34_9741.jpg', '/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_44_9759.jpg', '/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_54_9847.jpg', '/home/pi/Desktop/images/17122025/13/42/image_17122025_13_43_05_10855.jpg', '/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_14_9687.jpg', '/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_24_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_34_9741.jpg
/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_44_9759.jpg
/home/pi/Desktop/images/17122025/13/42/image_17122025_13_42_54_9847.jpg
/home/pi/Desktop/images/17122025/13/42/image_17122025_13_43_05_10855.jpg
/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_14_9687.jpg
/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_24_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":["1399786204","1399786278","1399786128","1399786241","1399786090","1399786168"],"photo_ids_order":["1399786090","1399786128","1399786168","1399786204","1399786241","1399786278"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84ccabd4a4d2fd820bc775d4e7da29a0.jpg","text":"TemporaryFile(/tmp/multipartBody3513527114031540306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976963221,"filename":"image_17122025_13_43_05_10855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ad3af699e4bf0914238e2e771a2e2ac.jpg","text":"TemporaryFile(/tmp/multipartBody3988076063192250592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976963221,"filename":"image_17122025_13_43_24_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f45506c8db7c3df38a3c71869ab676e2.jpg","text":"TemporaryFile(/tmp/multipartBody342370447126072437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976963221,"filename":"image_17122025_13_42_44_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ceb9165ac3b77d72d21d620d04816b8.jpg","text":"TemporaryFile(/tmp/multipartBody8356045227401258065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976963221,"filename":"image_17122025_13_43_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7c068a6e3fcc93a00a29a2327f3fef7.jpg","text":"TemporaryFile(/tmp/multipartBody5039906846307366665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976963221,"filename":"image_17122025_13_42_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a97ce8416afcd32e3c05185121ac549.jpg","text":"TemporaryFile(/tmp/multipartBody6410230167002989814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765976963221,"filename":"image_17122025_13_42_54_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399786168","file1":"1399786128","file0":"1399786090","file4":"1399786241","file5":"1399786278","file3":"1399786204"},"map_files_photo_id_array":[{"photo_id":"1399786278","filename":"file5"},{"photo_id":"1399786168","filename":"file2"},{"photo_id":"1399786241","filename":"file4"},{"photo_id":"1399786128","filename":"file1"},{"photo_id":"1399786090","filename":"file0"},{"photo_id":"1399786204","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399786204":["hashtag1","hashtag2"]},{"1399786278":["hashtag1","hashtag2"]},{"1399786128":["hashtag1","hashtag2"]},{"1399786241":["hashtag1","hashtag2"]},{"1399786090":["hashtag1","hashtag2"]},{"1399786168":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399786204, 1399786278, 1399786128, 1399786241, 1399786090, 1399786168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19470834732056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:09:03.706290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_34_9694.jpg', '/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_44_10692.jpg', '/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_54_9671.jpg', '/home/pi/Desktop/images/17122025/13/43/image_17122025_13_44_04_9631.jpg', '/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_14_10874.jpg', '/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_24_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_34_9694.jpg
/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_44_10692.jpg
/home/pi/Desktop/images/17122025/13/43/image_17122025_13_43_54_9671.jpg
/home/pi/Desktop/images/17122025/13/43/image_17122025_13_44_04_9631.jpg
/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_14_10874.jpg
/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_24_9626.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":["1399786551","1399786473","1399786475","1399786471","1399786510","1399786447"],"photo_ids_order":["1399786447","1399786471","1399786473","1399786475","1399786510","1399786551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9aa38ed70fbbf94d3aece8d09f28400.jpg","text":"TemporaryFile(/tmp/multipartBody686317606777827389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977004438,"filename":"image_17122025_13_44_24_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6827d3dc9caac001856235ad7c784392.jpg","text":"TemporaryFile(/tmp/multipartBody6071396559073251787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977004438,"filename":"image_17122025_13_43_54_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cad8fa6a83f37ad6a2e19b2fbf809ce.jpg","text":"TemporaryFile(/tmp/multipartBody2373534927443434256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977004438,"filename":"image_17122025_13_44_04_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8182b1032626b89c029ef91fec5a02b0.jpg","text":"TemporaryFile(/tmp/multipartBody4325734150137802381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977004438,"filename":"image_17122025_13_43_44_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd339e77c72cf917246275c90642fc02.jpg","text":"TemporaryFile(/tmp/multipartBody1762852849021968631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977004438,"filename":"image_17122025_13_44_14_10874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bafe49812fcc295f69276944b08f9c27.jpg","text":"TemporaryFile(/tmp/multipartBody3921730793334539981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977004438,"filename":"image_17122025_13_43_34_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399786473","file1":"1399786471","file0":"1399786447","file4":"1399786510","file5":"1399786551","file3":"1399786475"},"map_files_photo_id_array":[{"photo_id":"1399786551","filename":"file5"},{"photo_id":"1399786473","filename":"file2"},{"photo_id":"1399786510","filename":"file4"},{"photo_id":"1399786471","filename":"file1"},{"photo_id":"1399786447","filename":"file0"},{"photo_id":"1399786475","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399786551":["hashtag1","hashtag2"]},{"1399786473":["hashtag1","hashtag2"]},{"1399786475":["hashtag1","hashtag2"]},{"1399786471":["hashtag1","hashtag2"]},{"1399786510":["hashtag1","hashtag2"]},{"1399786447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399786551, 1399786473, 1399786475, 1399786471, 1399786510, 1399786447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.30015802383423 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:10:02.552093
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_34_9629.jpg', '/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_44_10666.jpg', '/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_54_9704.jpg', '/home/pi/Desktop/images/17122025/13/44/image_17122025_13_45_04_9589.jpg', '/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_14_10782.jpg', '/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_24_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_34_9629.jpg
/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_44_10666.jpg
/home/pi/Desktop/images/17122025/13/44/image_17122025_13_44_54_9704.jpg
/home/pi/Desktop/images/17122025/13/44/image_17122025_13_45_04_9589.jpg
/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_14_10782.jpg
/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_24_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399786989","1399786953","1399787068","1399786981","1399787026","1399786960"],"photo_ids_order":["1399786953","1399786960","1399786981","1399786989","1399787026","1399787068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbc90710a86c62cf7f3b231775a9eb6b.jpg","text":"TemporaryFile(/tmp/multipartBody1767492661236120704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977063198,"filename":"image_17122025_13_45_04_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6cf1537553df1b53af446ff407f7c190.jpg","text":"TemporaryFile(/tmp/multipartBody6434360960943856440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977063198,"filename":"image_17122025_13_44_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20ac437115de57553d8db103d96d48da.jpg","text":"TemporaryFile(/tmp/multipartBody3623195550908635934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977063198,"filename":"image_17122025_13_45_24_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/840a646f9ec35fe0f475dfbceb03d664.jpg","text":"TemporaryFile(/tmp/multipartBody8828277850369390433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977063198,"filename":"image_17122025_13_44_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f651e96ea9e6532ef95ba7661ebe5af6.jpg","text":"TemporaryFile(/tmp/multipartBody2041627706242807206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977063198,"filename":"image_17122025_13_45_14_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87288f99e29b8459c2355cb859731d08.jpg","text":"TemporaryFile(/tmp/multipartBody3492213283512920823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977063198,"filename":"image_17122025_13_44_44_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399786981","file1":"1399786960","file0":"1399786953","file4":"1399787026","file5":"1399787068","file3":"1399786989"},"map_files_photo_id_array":[{"photo_id":"1399787068","filename":"file5"},{"photo_id":"1399786981","filename":"file2"},{"photo_id":"1399787026","filename":"file4"},{"photo_id":"1399786960","filename":"file1"},{"photo_id":"1399786953","filename":"file0"},{"photo_id":"1399786989","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399786989":["hashtag1","hashtag2"]},{"1399786953":["hashtag1","hashtag2"]},{"1399787068":["hashtag1","hashtag2"]},{"1399786981":["hashtag1","hashtag2"]},{"1399787026":["hashtag1","hashtag2"]},{"1399786960":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399786989, 1399786953, 1399787068, 1399786981, 1399787026, 1399786960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.5619010925293 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:10:42.028302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_58_1752.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_10_11729.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_14_3725.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_19_1664.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_21_1803.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_24_3359.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/42/image_07112025_19_42_58_1752.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_10_11729.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_14_3725.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_19_1664.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_21_1803.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_24_3359.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399787132","1399787126","1399787135","1399787114","1399787137","1399787128"],"photo_ids_order":["1399787114","1399787126","1399787128","1399787132","1399787135","1399787137"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20dc810e4e2ac17c55bffa2c9efdad4a.jpg","text":"TemporaryFile(/tmp/multipartBody5548200032592582634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977102840,"filename":"image_07112025_19_43_19_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ee50d5303fb7874b7b287a00d1658b7.jpg","text":"TemporaryFile(/tmp/multipartBody5522374080137797815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977102840,"filename":"image_07112025_19_43_10_11729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/776a4f57155de6dc22cf1baea838285a.jpg","text":"TemporaryFile(/tmp/multipartBody3924630028263854892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977102840,"filename":"image_07112025_19_43_21_1803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06fd9cde96141fb7aa36aac090c67c57.jpg","text":"TemporaryFile(/tmp/multipartBody2748685433902801423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977102840,"filename":"image_07112025_19_42_58_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f653017c6be30b4bb7d7af17883da9b.jpg","text":"TemporaryFile(/tmp/multipartBody1616727158600263096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977102840,"filename":"image_07112025_19_43_24_3359.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e42eb0967344b6a56c4db40bf34b9fcb.jpg","text":"TemporaryFile(/tmp/multipartBody3467379891396213919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977102840,"filename":"image_07112025_19_43_14_3725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399787128","file1":"1399787126","file0":"1399787114","file4":"1399787135","file5":"1399787137","file3":"1399787132"},"map_files_photo_id_array":[{"photo_id":"1399787137","filename":"file5"},{"photo_id":"1399787128","filename":"file2"},{"photo_id":"1399787135","filename":"file4"},{"photo_id":"1399787126","filename":"file1"},{"photo_id":"1399787114","filename":"file0"},{"photo_id":"1399787132","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399787132":["hashtag1","hashtag2"]},{"1399787126":["hashtag1","hashtag2"]},{"1399787135":["hashtag1","hashtag2"]},{"1399787114":["hashtag1","hashtag2"]},{"1399787137":["hashtag1","hashtag2"]},{"1399787128":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399787132, 1399787126, 1399787135, 1399787114, 1399787137, 1399787128)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.91211223602295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:11:22.269732
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_34_9720.jpg', '/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_44_9697.jpg', '/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_55_10846.jpg', '/home/pi/Desktop/images/17122025/13/45/image_17122025_13_46_04_9605.jpg', '/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_14_9582.jpg', '/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_25_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_34_9720.jpg
/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_44_9697.jpg
/home/pi/Desktop/images/17122025/13/45/image_17122025_13_45_55_10846.jpg
/home/pi/Desktop/images/17122025/13/45/image_17122025_13_46_04_9605.jpg
/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_14_9582.jpg
/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_25_10814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399787142","1399787145","1399787153","1399787149","1399787146","1399787151"],"photo_ids_order":["1399787142","1399787145","1399787146","1399787149","1399787151","1399787153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da8035e0ebab94e3094105767042a9d7.jpg","text":"TemporaryFile(/tmp/multipartBody1615783392717562992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977142893,"filename":"image_17122025_13_45_34_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d34e17eea806a72c6fe38996314c4c6.jpg","text":"TemporaryFile(/tmp/multipartBody8383375256954368684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977142893,"filename":"image_17122025_13_45_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fb6ec6f2c36fa88fbde75b449b3730b.jpg","text":"TemporaryFile(/tmp/multipartBody7738824927138336615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977142893,"filename":"image_17122025_13_46_25_10814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97ea6927a04c36a3d60614d6a7b6993d.jpg","text":"TemporaryFile(/tmp/multipartBody6063785025311037143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977142893,"filename":"image_17122025_13_46_04_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8138f93a9e09fed24b0cbe261d562f78.jpg","text":"TemporaryFile(/tmp/multipartBody8142799029505093783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977142893,"filename":"image_17122025_13_45_55_10846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64ac54cbd81fe4d75f1a980bde9b5cad.jpg","text":"TemporaryFile(/tmp/multipartBody860166169099318197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977142893,"filename":"image_17122025_13_46_14_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399787146","file1":"1399787145","file0":"1399787142","file4":"1399787151","file5":"1399787153","file3":"1399787149"},"map_files_photo_id_array":[{"photo_id":"1399787153","filename":"file5"},{"photo_id":"1399787146","filename":"file2"},{"photo_id":"1399787151","filename":"file4"},{"photo_id":"1399787145","filename":"file1"},{"photo_id":"1399787142","filename":"file0"},{"photo_id":"1399787149","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399787142":["hashtag1","hashtag2"]},{"1399787145":["hashtag1","hashtag2"]},{"1399787153":["hashtag1","hashtag2"]},{"1399787149":["hashtag1","hashtag2"]},{"1399787146":["hashtag1","hashtag2"]},{"1399787151":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399787142, 1399787145, 1399787153, 1399787149, 1399787146, 1399787151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.384281635284424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:12:02.927197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_34_9605.jpg', '/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_44_9671.jpg', '/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_54_9866.jpg', '/home/pi/Desktop/images/17122025/13/46/image_17122025_13_47_04_10720.jpg', '/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_14_9747.jpg', '/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_24_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_34_9605.jpg
/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_44_9671.jpg
/home/pi/Desktop/images/17122025/13/46/image_17122025_13_46_54_9866.jpg
/home/pi/Desktop/images/17122025/13/46/image_17122025_13_47_04_10720.jpg
/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_14_9747.jpg
/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_24_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399787381","1399787307","1399787345","1399787233","1399787196","1399787271"],"photo_ids_order":["1399787196","1399787233","1399787271","1399787307","1399787345","1399787381"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88279ed32cfa6ff3957464ad4dc4ddeb.jpg","text":"TemporaryFile(/tmp/multipartBody3893282507908933292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977183612,"filename":"image_17122025_13_47_24_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/731471b1226bc2c3ede32b90ea6a8ac5.jpg","text":"TemporaryFile(/tmp/multipartBody2885110736570851538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977183612,"filename":"image_17122025_13_47_04_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/043c9eff6f9b3629b0f24f12e0225c77.jpg","text":"TemporaryFile(/tmp/multipartBody2199902528379269768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977183612,"filename":"image_17122025_13_47_14_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99db747167d06cc69a1fa4b8998756f7.jpg","text":"TemporaryFile(/tmp/multipartBody8960693413936112396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977183612,"filename":"image_17122025_13_46_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d35dd09df6579856592fa7eedd70c92.jpg","text":"TemporaryFile(/tmp/multipartBody1287602211738861708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977183612,"filename":"image_17122025_13_46_34_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0346be4bb63fdbfbe1978b2927837450.jpg","text":"TemporaryFile(/tmp/multipartBody5978839132790754095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977183612,"filename":"image_17122025_13_46_54_9866.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399787271","file1":"1399787233","file0":"1399787196","file4":"1399787345","file5":"1399787381","file3":"1399787307"},"map_files_photo_id_array":[{"photo_id":"1399787381","filename":"file5"},{"photo_id":"1399787271","filename":"file2"},{"photo_id":"1399787345","filename":"file4"},{"photo_id":"1399787233","filename":"file1"},{"photo_id":"1399787196","filename":"file0"},{"photo_id":"1399787307","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399787381":["hashtag1","hashtag2"]},{"1399787307":["hashtag1","hashtag2"]},{"1399787345":["hashtag1","hashtag2"]},{"1399787233":["hashtag1","hashtag2"]},{"1399787196":["hashtag1","hashtag2"]},{"1399787271":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399787381, 1399787307, 1399787345, 1399787233, 1399787196, 1399787271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92984056472778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:12:42.522487
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_32_1566.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_34_1752.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_44_1625.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_46_1764.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_47_1629.jpg', '/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_54_1581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_32_1566.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_34_1752.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_44_1625.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_46_1764.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_47_1629.jpg
/home/pi/Desktop/images/07112025/19/43/image_07112025_19_43_54_1581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399787465","1399787473","1399787476","1399787518","1399787469","1399787484"],"photo_ids_order":["1399787465","1399787469","1399787473","1399787476","1399787484","1399787518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1db42167840dc39455e03613c44b74ca.jpg","text":"TemporaryFile(/tmp/multipartBody1105440310712014928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977223331,"filename":"image_07112025_19_43_32_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3f2977defa61095380402a61da77a87.jpg","text":"TemporaryFile(/tmp/multipartBody3467009530701445678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977223331,"filename":"image_07112025_19_43_44_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cee59d3e8a1b35b730ce3fd749cea482.jpg","text":"TemporaryFile(/tmp/multipartBody5311782878441322173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977223331,"filename":"image_07112025_19_43_46_1764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7663ca5def89f4dac37efcbd900e8a6f.jpg","text":"TemporaryFile(/tmp/multipartBody2611680156882687555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977223331,"filename":"image_07112025_19_43_54_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6c9bac97910c830de19ecb1741dfff4.jpg","text":"TemporaryFile(/tmp/multipartBody3707421655940769653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977223331,"filename":"image_07112025_19_43_34_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4190c65050b4f364d7f94ab407e304e2.jpg","text":"TemporaryFile(/tmp/multipartBody3226887363307583730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977223331,"filename":"image_07112025_19_43_47_1629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399787473","file1":"1399787469","file0":"1399787465","file4":"1399787484","file5":"1399787518","file3":"1399787476"},"map_files_photo_id_array":[{"photo_id":"1399787518","filename":"file5"},{"photo_id":"1399787473","filename":"file2"},{"photo_id":"1399787484","filename":"file4"},{"photo_id":"1399787469","filename":"file1"},{"photo_id":"1399787465","filename":"file0"},{"photo_id":"1399787476","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399787465":["hashtag1","hashtag2"]},{"1399787473":["hashtag1","hashtag2"]},{"1399787476":["hashtag1","hashtag2"]},{"1399787518":["hashtag1","hashtag2"]},{"1399787469":["hashtag1","hashtag2"]},{"1399787484":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399787465, 1399787473, 1399787476, 1399787518, 1399787469, 1399787484)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.64619994163513 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 14:13:32.775036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:13:42.709903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_03_2747.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_06_2633.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_15_2622.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_18_3668.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_24_2728.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_30_2779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_03_2747.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_06_2633.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_15_2622.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_18_3668.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_24_2728.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_30_2779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399788188","1399788068","1399788137","1399787998","1399787917","1399788225"],"photo_ids_order":["1399787917","1399787998","1399788068","1399788137","1399788188","1399788225"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/434ae492c103fdfa9821a80cde7f3a33.jpg","text":"TemporaryFile(/tmp/multipartBody8934487985149961704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977283479,"filename":"image_07112025_19_44_24_2728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8486d31e2df98e0091c1638e72fc358a.jpg","text":"TemporaryFile(/tmp/multipartBody7400355303427791294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977283479,"filename":"image_07112025_19_44_15_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1e0f5c2b37f051f65a53bad795ec12a.jpg","text":"TemporaryFile(/tmp/multipartBody1533661873591812206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977283479,"filename":"image_07112025_19_44_18_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db935d8b47fb82dd14c2a038d5372528.jpg","text":"TemporaryFile(/tmp/multipartBody58470722753534720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977283479,"filename":"image_07112025_19_44_06_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/264fa7e0ac50c1f3ca11a37a38781488.jpg","text":"TemporaryFile(/tmp/multipartBody3711579636842851216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977283479,"filename":"image_07112025_19_44_03_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac8fe0a06d05cba27200c2b8da174be5.jpg","text":"TemporaryFile(/tmp/multipartBody1721014324210096988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977283479,"filename":"image_07112025_19_44_30_2779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399788068","file1":"1399787998","file0":"1399787917","file4":"1399788188","file5":"1399788225","file3":"1399788137"},"map_files_photo_id_array":[{"photo_id":"1399788225","filename":"file5"},{"photo_id":"1399788068","filename":"file2"},{"photo_id":"1399788188","filename":"file4"},{"photo_id":"1399787998","filename":"file1"},{"photo_id":"1399787917","filename":"file0"},{"photo_id":"1399788137","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399788188":["hashtag1","hashtag2"]},{"1399788068":["hashtag1","hashtag2"]},{"1399788137":["hashtag1","hashtag2"]},{"1399787998":["hashtag1","hashtag2"]},{"1399787917":["hashtag1","hashtag2"]},{"1399788225":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399788188, 1399788068, 1399788137, 1399787998, 1399787917, 1399788225)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17881751060486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:14:22.029276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_34_9656.jpg', '/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_44_10685.jpg', '/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_54_9719.jpg', '/home/pi/Desktop/images/17122025/13/47/image_17122025_13_48_04_9636.jpg', '/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_14_10550.jpg', '/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_24_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_34_9656.jpg
/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_44_10685.jpg
/home/pi/Desktop/images/17122025/13/47/image_17122025_13_47_54_9719.jpg
/home/pi/Desktop/images/17122025/13/47/image_17122025_13_48_04_9636.jpg
/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_14_10550.jpg
/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_24_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":["1399788638","1399788437","1399788355","1399788585","1399788517","1399788618"],"photo_ids_order":["1399788355","1399788437","1399788517","1399788585","1399788618","1399788638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff2e29c44b4ea6fcdefa387965f318f0.jpg","text":"TemporaryFile(/tmp/multipartBody8227373385646636026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977322640,"filename":"image_17122025_13_48_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b81b228143c9fbbce88b36c46d2a1fb2.jpg","text":"TemporaryFile(/tmp/multipartBody1662538284374984395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977322640,"filename":"image_17122025_13_47_44_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e324e649e1db9367cb488aa452ae90e.jpg","text":"TemporaryFile(/tmp/multipartBody1117951417033254304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977322640,"filename":"image_17122025_13_47_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca0bd6edadfc874d41a0240e6bba8261.jpg","text":"TemporaryFile(/tmp/multipartBody6033641904840127394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977322640,"filename":"image_17122025_13_48_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27ac8eea48ccc4b8c9bb77d59ec7d33d.jpg","text":"TemporaryFile(/tmp/multipartBody4365047351936623657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977322640,"filename":"image_17122025_13_47_54_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/720356e36b2a1e2da4ab9d0dddf3a03b.jpg","text":"TemporaryFile(/tmp/multipartBody1732616816424187823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977322640,"filename":"image_17122025_13_48_14_10550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399788517","file1":"1399788437","file0":"1399788355","file4":"1399788618","file5":"1399788638","file3":"1399788585"},"map_files_photo_id_array":[{"photo_id":"1399788638","filename":"file5"},{"photo_id":"1399788517","filename":"file2"},{"photo_id":"1399788618","filename":"file4"},{"photo_id":"1399788437","filename":"file1"},{"photo_id":"1399788355","filename":"file0"},{"photo_id":"1399788585","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399788638":["hashtag1","hashtag2"]},{"1399788437":["hashtag1","hashtag2"]},{"1399788355":["hashtag1","hashtag2"]},{"1399788585":["hashtag1","hashtag2"]},{"1399788517":["hashtag1","hashtag2"]},{"1399788618":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399788638, 1399788437, 1399788355, 1399788585, 1399788517, 1399788618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22828197479248 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:15:02.866311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_34_9688.jpg', '/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_44_10851.jpg', '/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_54_9715.jpg', '/home/pi/Desktop/images/17122025/13/48/image_17122025_13_49_04_9578.jpg', '/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_15_10756.jpg', '/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_24_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_34_9688.jpg
/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_44_10851.jpg
/home/pi/Desktop/images/17122025/13/48/image_17122025_13_48_54_9715.jpg
/home/pi/Desktop/images/17122025/13/48/image_17122025_13_49_04_9578.jpg
/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_15_10756.jpg
/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_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":["1399788667","1399788664","1399788730","1399788693","1399788666","1399788773"],"photo_ids_order":["1399788664","1399788666","1399788667","1399788693","1399788730","1399788773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de9c9d3f34f8b3102522b521408386e4.jpg","text":"TemporaryFile(/tmp/multipartBody7688572925855959602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977363558,"filename":"image_17122025_13_48_54_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df84acc04e19570f9fc9661756214425.jpg","text":"TemporaryFile(/tmp/multipartBody3356130977433772465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977363558,"filename":"image_17122025_13_48_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e070c99a106f829a72705d93e5d7cfcf.jpg","text":"TemporaryFile(/tmp/multipartBody731459213907686839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977363558,"filename":"image_17122025_13_49_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78393aee94f07b299dd30b2c7e5f7bd3.jpg","text":"TemporaryFile(/tmp/multipartBody3628740449429357685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977363558,"filename":"image_17122025_13_49_04_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddac33f8c1dfb8ad0062c371537eae42.jpg","text":"TemporaryFile(/tmp/multipartBody2685478471062906282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977363558,"filename":"image_17122025_13_48_44_10851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e9e64b32adada77eaa322d57374f5a2.jpg","text":"TemporaryFile(/tmp/multipartBody179126465705526257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977363558,"filename":"image_17122025_13_49_24_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399788667","file1":"1399788666","file0":"1399788664","file4":"1399788730","file5":"1399788773","file3":"1399788693"},"map_files_photo_id_array":[{"photo_id":"1399788773","filename":"file5"},{"photo_id":"1399788667","filename":"file2"},{"photo_id":"1399788730","filename":"file4"},{"photo_id":"1399788666","filename":"file1"},{"photo_id":"1399788664","filename":"file0"},{"photo_id":"1399788693","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399788667":["hashtag1","hashtag2"]},{"1399788664":["hashtag1","hashtag2"]},{"1399788730":["hashtag1","hashtag2"]},{"1399788693":["hashtag1","hashtag2"]},{"1399788666":["hashtag1","hashtag2"]},{"1399788773":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399788667, 1399788664, 1399788730, 1399788693, 1399788666, 1399788773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25956606864929 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:15:42.282836
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_33_2589.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_45_3666.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_48_2724.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_51_2678.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_57_2628.jpg', '/home/pi/Desktop/images/07112025/19/44/image_07112025_19_45_00_2555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_33_2589.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_45_3666.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_48_2724.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_51_2678.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_44_57_2628.jpg
/home/pi/Desktop/images/07112025/19/44/image_07112025_19_45_00_2555.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399788842","1399788914","1399788871","1399788844","1399788838","1399788909"],"photo_ids_order":["1399788838","1399788842","1399788844","1399788871","1399788909","1399788914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00383a9f77da8a6c93d4c0ea749baafe.jpg","text":"TemporaryFile(/tmp/multipartBody7009902023128167562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977403058,"filename":"image_07112025_19_44_45_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/376d5d660b4fc9437a7db1d6c1e5f70b.jpg","text":"TemporaryFile(/tmp/multipartBody1402417600954200385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977403058,"filename":"image_07112025_19_45_00_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afecb2f17e7f97b20add2d06ce34e5c1.jpg","text":"TemporaryFile(/tmp/multipartBody5858321472715380994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977403058,"filename":"image_07112025_19_44_51_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb6189706b14712d93875d5cbb5a6e45.jpg","text":"TemporaryFile(/tmp/multipartBody8627137578787995537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977403058,"filename":"image_07112025_19_44_48_2724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1397cb9cdd652523747942670406c3a4.jpg","text":"TemporaryFile(/tmp/multipartBody3580906621081562496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977403058,"filename":"image_07112025_19_44_33_2589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74f799b2532e6a4f4e9d50754d35d21a.jpg","text":"TemporaryFile(/tmp/multipartBody3191201170392800667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977403058,"filename":"image_07112025_19_44_57_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399788844","file1":"1399788842","file0":"1399788838","file4":"1399788909","file5":"1399788914","file3":"1399788871"},"map_files_photo_id_array":[{"photo_id":"1399788914","filename":"file5"},{"photo_id":"1399788844","filename":"file2"},{"photo_id":"1399788909","filename":"file4"},{"photo_id":"1399788842","filename":"file1"},{"photo_id":"1399788838","filename":"file0"},{"photo_id":"1399788871","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399788842":["hashtag1","hashtag2"]},{"1399788914":["hashtag1","hashtag2"]},{"1399788871":["hashtag1","hashtag2"]},{"1399788844":["hashtag1","hashtag2"]},{"1399788838":["hashtag1","hashtag2"]},{"1399788909":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399788842, 1399788914, 1399788871, 1399788844, 1399788838, 1399788909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.407143354415894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:16:22.507063
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_34_9811.jpg', '/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_44_9715.jpg', '/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_54_10557.jpg', '/home/pi/Desktop/images/17122025/13/49/image_17122025_13_50_04_9750.jpg', '/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_14_9708.jpg', '/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_24_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_34_9811.jpg
/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_44_9715.jpg
/home/pi/Desktop/images/17122025/13/49/image_17122025_13_49_54_10557.jpg
/home/pi/Desktop/images/17122025/13/49/image_17122025_13_50_04_9750.jpg
/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_14_9708.jpg
/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_24_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":["1399788989","1399788977","1399788987","1399788975","1399788969","1399788972"],"photo_ids_order":["1399788969","1399788972","1399788975","1399788977","1399788987","1399788989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/961100d2a2986fe94b942e2e6aec54c3.jpg","text":"TemporaryFile(/tmp/multipartBody6319119031480818872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977443154,"filename":"image_17122025_13_50_24_10572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a0e8def80a9807e77addc70c0030b4c.jpg","text":"TemporaryFile(/tmp/multipartBody2975708953384883749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977443154,"filename":"image_17122025_13_50_04_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/627f45e4d640f0e46316a231567f939b.jpg","text":"TemporaryFile(/tmp/multipartBody3889433470245419630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977443154,"filename":"image_17122025_13_50_14_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aeb1f8b4a3e53ab801693dcbe4b5a970.jpg","text":"TemporaryFile(/tmp/multipartBody3008984120268502053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977443154,"filename":"image_17122025_13_49_54_10557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef7902f4512800bd70f30450b85a171c.jpg","text":"TemporaryFile(/tmp/multipartBody2211022596699361019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977443154,"filename":"image_17122025_13_49_34_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3725a24813d285d31ea71091074352a8.jpg","text":"TemporaryFile(/tmp/multipartBody4588440953577923866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977443154,"filename":"image_17122025_13_49_44_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399788975","file1":"1399788972","file0":"1399788969","file4":"1399788987","file5":"1399788989","file3":"1399788977"},"map_files_photo_id_array":[{"photo_id":"1399788989","filename":"file5"},{"photo_id":"1399788975","filename":"file2"},{"photo_id":"1399788987","filename":"file4"},{"photo_id":"1399788972","filename":"file1"},{"photo_id":"1399788969","filename":"file0"},{"photo_id":"1399788977","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399788989":["hashtag1","hashtag2"]},{"1399788977":["hashtag1","hashtag2"]},{"1399788987":["hashtag1","hashtag2"]},{"1399788975":["hashtag1","hashtag2"]},{"1399788969":["hashtag1","hashtag2"]},{"1399788972":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399788989, 1399788977, 1399788987, 1399788975, 1399788969, 1399788972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97748589515686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:17:03.520206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_34_9781.jpg', '/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_44_9807.jpg', '/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_55_10622.jpg', '/home/pi/Desktop/images/17122025/13/50/image_17122025_13_51_04_9716.jpg', '/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_14_9708.jpg', '/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_24_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_34_9781.jpg
/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_44_9807.jpg
/home/pi/Desktop/images/17122025/13/50/image_17122025_13_50_55_10622.jpg
/home/pi/Desktop/images/17122025/13/50/image_17122025_13_51_04_9716.jpg
/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_14_9708.jpg
/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_24_9728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399788995","1399789001","1399789003","1399789006","1399788998","1399788992"],"photo_ids_order":["1399788992","1399788995","1399788998","1399789001","1399789003","1399789006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a8841703fc9e24a2733fa16d314dee0.jpg","text":"TemporaryFile(/tmp/multipartBody3799920728638464259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977484224,"filename":"image_17122025_13_50_44_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7633d62ccabd8eb9e95ed2a70de061bf.jpg","text":"TemporaryFile(/tmp/multipartBody4963372995220476672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977484224,"filename":"image_17122025_13_51_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/446ba2353e542459e1e96c203c644d98.jpg","text":"TemporaryFile(/tmp/multipartBody6613133314400709271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977484224,"filename":"image_17122025_13_51_14_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/174ded00e5e9f39f7d9311d66f0a45d3.jpg","text":"TemporaryFile(/tmp/multipartBody5984546445527769865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977484224,"filename":"image_17122025_13_51_24_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fa805527e325d3ad9cfff2cac1d7862.jpg","text":"TemporaryFile(/tmp/multipartBody6513416558788831669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977484224,"filename":"image_17122025_13_50_55_10622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb8b0bd3b8751b973aec4f0821ba76d5.jpg","text":"TemporaryFile(/tmp/multipartBody7510601119438476141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977484224,"filename":"image_17122025_13_50_34_9781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399788998","file1":"1399788995","file0":"1399788992","file4":"1399789003","file5":"1399789006","file3":"1399789001"},"map_files_photo_id_array":[{"photo_id":"1399789006","filename":"file5"},{"photo_id":"1399788998","filename":"file2"},{"photo_id":"1399789003","filename":"file4"},{"photo_id":"1399788995","filename":"file1"},{"photo_id":"1399788992","filename":"file0"},{"photo_id":"1399789001","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399788995":["hashtag1","hashtag2"]},{"1399789001":["hashtag1","hashtag2"]},{"1399789003":["hashtag1","hashtag2"]},{"1399789006":["hashtag1","hashtag2"]},{"1399788998":["hashtag1","hashtag2"]},{"1399788992":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399788995, 1399789001, 1399789003, 1399789006, 1399788998, 1399788992)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.72132086753845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:18:02.434914
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_34_10729.jpg', '/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_44_9653.jpg', '/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_54_9701.jpg', '/home/pi/Desktop/images/17122025/13/51/image_17122025_13_52_05_10748.jpg', '/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_14_9754.jpg', '/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_24_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_34_10729.jpg
/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_44_9653.jpg
/home/pi/Desktop/images/17122025/13/51/image_17122025_13_51_54_9701.jpg
/home/pi/Desktop/images/17122025/13/51/image_17122025_13_52_05_10748.jpg
/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_14_9754.jpg
/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_24_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":["1399789241","1399789063","1399789132","1399789204","1399789098","1399789169"],"photo_ids_order":["1399789063","1399789098","1399789132","1399789169","1399789204","1399789241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac2e85fdcc860c3cda3612ed453619be.jpg","text":"TemporaryFile(/tmp/multipartBody2338540023968002689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977543061,"filename":"image_17122025_13_52_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/426eb51618c88f20663c3f03cc0ee464.jpg","text":"TemporaryFile(/tmp/multipartBody4278461351580484765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977543061,"filename":"image_17122025_13_51_34_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44be2693381208ff2a764bf25f8e01da.jpg","text":"TemporaryFile(/tmp/multipartBody5189638018531625819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977543061,"filename":"image_17122025_13_51_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02958810ab2180468321ec3e7b8e0d27.jpg","text":"TemporaryFile(/tmp/multipartBody8407242502535774096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977543061,"filename":"image_17122025_13_52_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3f7c72419ee0fd9f3d714eb72599dca.jpg","text":"TemporaryFile(/tmp/multipartBody4685854087901519234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977543061,"filename":"image_17122025_13_51_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f58bbe6cd5ab9e3a38f0171a2e14d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3616744905769196232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977543061,"filename":"image_17122025_13_52_05_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399789132","file1":"1399789098","file0":"1399789063","file4":"1399789204","file5":"1399789241","file3":"1399789169"},"map_files_photo_id_array":[{"photo_id":"1399789241","filename":"file5"},{"photo_id":"1399789132","filename":"file2"},{"photo_id":"1399789204","filename":"file4"},{"photo_id":"1399789098","filename":"file1"},{"photo_id":"1399789063","filename":"file0"},{"photo_id":"1399789169","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399789241":["hashtag1","hashtag2"]},{"1399789063":["hashtag1","hashtag2"]},{"1399789132":["hashtag1","hashtag2"]},{"1399789204":["hashtag1","hashtag2"]},{"1399789098":["hashtag1","hashtag2"]},{"1399789169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399789241, 1399789063, 1399789132, 1399789204, 1399789098, 1399789169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.81985259056091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:18:42.043095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_03_3689.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_06_2850.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_12_2684.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_15_3761.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_18_2599.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_21_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_03_3689.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_06_2850.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_12_2684.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_15_3761.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_18_2599.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_21_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399789534","1399789459","1399789497","1399789420","1399789382","1399789562"],"photo_ids_order":["1399789382","1399789420","1399789459","1399789497","1399789534","1399789562"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc6157bf257da2dd4cb0c572e6122d04.jpg","text":"TemporaryFile(/tmp/multipartBody1483671126420090538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977582815,"filename":"image_07112025_19_45_18_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4ff47fd05c29eb640cedf36b1eadb53.jpg","text":"TemporaryFile(/tmp/multipartBody6808346532198863823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977582815,"filename":"image_07112025_19_45_12_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7af48bd965166925722386aa2578861c.jpg","text":"TemporaryFile(/tmp/multipartBody8964061925266313918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977582815,"filename":"image_07112025_19_45_15_3761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7b4f1b213fc5e02ed85803f23ae1108.jpg","text":"TemporaryFile(/tmp/multipartBody6649891998282904176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977582815,"filename":"image_07112025_19_45_06_2850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/183f9146e0ba724505196937f31642d0.jpg","text":"TemporaryFile(/tmp/multipartBody4096650505654471770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977582815,"filename":"image_07112025_19_45_03_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3358ce4e0e373371fc66b9249a2f2e15.jpg","text":"TemporaryFile(/tmp/multipartBody3925956210280808347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977582815,"filename":"image_07112025_19_45_21_2719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399789459","file1":"1399789420","file0":"1399789382","file4":"1399789534","file5":"1399789562","file3":"1399789497"},"map_files_photo_id_array":[{"photo_id":"1399789562","filename":"file5"},{"photo_id":"1399789459","filename":"file2"},{"photo_id":"1399789534","filename":"file4"},{"photo_id":"1399789420","filename":"file1"},{"photo_id":"1399789382","filename":"file0"},{"photo_id":"1399789497","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399789534":["hashtag1","hashtag2"]},{"1399789459":["hashtag1","hashtag2"]},{"1399789497":["hashtag1","hashtag2"]},{"1399789420":["hashtag1","hashtag2"]},{"1399789382":["hashtag1","hashtag2"]},{"1399789562":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399789534, 1399789459, 1399789497, 1399789420, 1399789382, 1399789562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22571635246277 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:19:22.254321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_34_10508.jpg', '/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_44_9702.jpg', '/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_54_9841.jpg', '/home/pi/Desktop/images/17122025/13/52/image_17122025_13_53_04_9600.jpg', '/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_14_10842.jpg', '/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_24_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_34_10508.jpg
/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_44_9702.jpg
/home/pi/Desktop/images/17122025/13/52/image_17122025_13_52_54_9841.jpg
/home/pi/Desktop/images/17122025/13/52/image_17122025_13_53_04_9600.jpg
/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_14_10842.jpg
/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_24_9816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399789579","1399789570","1399789567","1399789576","1399789572","1399789574"],"photo_ids_order":["1399789567","1399789570","1399789572","1399789574","1399789576","1399789579"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d4ce6dae07279c94f54035f6335f89c.jpg","text":"TemporaryFile(/tmp/multipartBody1109014546130964775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977622842,"filename":"image_17122025_13_53_24_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0e0fe2cd8fa301e6895e92554eadb3a.jpg","text":"TemporaryFile(/tmp/multipartBody2544344659379400792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977622842,"filename":"image_17122025_13_52_44_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/550b0792aaf2f502c7c7f7c8834440db.jpg","text":"TemporaryFile(/tmp/multipartBody4439252359158635005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977622842,"filename":"image_17122025_13_52_34_10508.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f05fd0d0b68cdaf2262fcf9ff06269c9.jpg","text":"TemporaryFile(/tmp/multipartBody6380158435296785409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977622842,"filename":"image_17122025_13_53_14_10842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22088ff80405ff7d89f97032a07307d2.jpg","text":"TemporaryFile(/tmp/multipartBody1588513921907722000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977622842,"filename":"image_17122025_13_52_54_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2260b8dd94f7254b5c23d153443b8409.jpg","text":"TemporaryFile(/tmp/multipartBody1235755608824965232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977622842,"filename":"image_17122025_13_53_04_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399789572","file1":"1399789570","file0":"1399789567","file4":"1399789576","file5":"1399789579","file3":"1399789574"},"map_files_photo_id_array":[{"photo_id":"1399789579","filename":"file5"},{"photo_id":"1399789572","filename":"file2"},{"photo_id":"1399789576","filename":"file4"},{"photo_id":"1399789570","filename":"file1"},{"photo_id":"1399789567","filename":"file0"},{"photo_id":"1399789574","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399789579":["hashtag1","hashtag2"]},{"1399789570":["hashtag1","hashtag2"]},{"1399789567":["hashtag1","hashtag2"]},{"1399789576":["hashtag1","hashtag2"]},{"1399789572":["hashtag1","hashtag2"]},{"1399789574":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399789579, 1399789570, 1399789567, 1399789576, 1399789572, 1399789574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.61738610267639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:20:03.038296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_34_9629.jpg', '/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_44_9678.jpg', '/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_54_10722.jpg', '/home/pi/Desktop/images/17122025/13/53/image_17122025_13_54_04_9763.jpg', '/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_14_9585.jpg', '/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_24_10805.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_34_9629.jpg
/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_44_9678.jpg
/home/pi/Desktop/images/17122025/13/53/image_17122025_13_53_54_10722.jpg
/home/pi/Desktop/images/17122025/13/53/image_17122025_13_54_04_9763.jpg
/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_14_9585.jpg
/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_24_10805.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399789735","1399789794","1399789796","1399789799","1399789772","1399789694"],"photo_ids_order":["1399789694","1399789735","1399789772","1399789794","1399789796","1399789799"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5fa58531c5ee8300b5014e7e0a318cc.jpg","text":"TemporaryFile(/tmp/multipartBody7499779503827636193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977663682,"filename":"image_17122025_13_53_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f58f7be06ed7cb1885fbcc77fa19385d.jpg","text":"TemporaryFile(/tmp/multipartBody4398789852142833273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977663682,"filename":"image_17122025_13_54_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ac0b612b647bede27366f4b7d9563f4.jpg","text":"TemporaryFile(/tmp/multipartBody9184608273695443856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977663682,"filename":"image_17122025_13_54_14_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d76c0d7f1ff649aa614ad658a9275c81.jpg","text":"TemporaryFile(/tmp/multipartBody1905256097263258515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977663682,"filename":"image_17122025_13_54_24_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18e0896c53995f99d5720a7ed0a8dbb4.jpg","text":"TemporaryFile(/tmp/multipartBody5948170119549255370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977663682,"filename":"image_17122025_13_53_54_10722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d7f550e7132631e924da886a49b9f99.jpg","text":"TemporaryFile(/tmp/multipartBody913465417221319768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977663682,"filename":"image_17122025_13_53_34_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399789772","file1":"1399789735","file0":"1399789694","file4":"1399789796","file5":"1399789799","file3":"1399789794"},"map_files_photo_id_array":[{"photo_id":"1399789799","filename":"file5"},{"photo_id":"1399789772","filename":"file2"},{"photo_id":"1399789796","filename":"file4"},{"photo_id":"1399789735","filename":"file1"},{"photo_id":"1399789694","filename":"file0"},{"photo_id":"1399789794","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399789735":["hashtag1","hashtag2"]},{"1399789794":["hashtag1","hashtag2"]},{"1399789796":["hashtag1","hashtag2"]},{"1399789799":["hashtag1","hashtag2"]},{"1399789772":["hashtag1","hashtag2"]},{"1399789694":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399789735, 1399789794, 1399789796, 1399789799, 1399789772, 1399789694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.607017278671265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:20:42.572390
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_24_3650.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_27_2821.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_30_2634.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_33_3731.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_39_2540.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_42_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_24_3650.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_27_2821.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_30_2634.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_33_3731.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_39_2540.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_42_3593.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6704428195953369 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:21:02.523963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_34_9622.jpg', '/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_44_9867.jpg', '/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_54_9734.jpg', '/home/pi/Desktop/images/17122025/13/54/image_17122025_13_55_04_10579.jpg', '/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_14_9803.jpg', '/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_24_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_34_9622.jpg
/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_44_9867.jpg
/home/pi/Desktop/images/17122025/13/54/image_17122025_13_54_54_9734.jpg
/home/pi/Desktop/images/17122025/13/54/image_17122025_13_55_04_10579.jpg
/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_14_9803.jpg
/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_24_9796.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":["1399789901","1399789910","1399789894","1399789907","1399789899","1399789903"],"photo_ids_order":["1399789894","1399789899","1399789901","1399789903","1399789907","1399789910"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9fa16bc12eb11bfef73b05bb6b4591c.jpg","text":"TemporaryFile(/tmp/multipartBody8714900105899448826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977723214,"filename":"image_17122025_13_54_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f13363423309819c312e759a8aad9ef.jpg","text":"TemporaryFile(/tmp/multipartBody356266216507731793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977723214,"filename":"image_17122025_13_55_24_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b004dd89a5a386dcfe1a0fd31f20113.jpg","text":"TemporaryFile(/tmp/multipartBody2866188856042980214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977723214,"filename":"image_17122025_13_54_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4016070cb860077b4a242115a9588ab3.jpg","text":"TemporaryFile(/tmp/multipartBody5912378014970452956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977723214,"filename":"image_17122025_13_55_14_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36316eae1c1a0bea8b9fee05d08936d6.jpg","text":"TemporaryFile(/tmp/multipartBody7583736909689738089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977723214,"filename":"image_17122025_13_54_44_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d40c4f9116546b85f2efa4cfd5b5d92.jpg","text":"TemporaryFile(/tmp/multipartBody1358357139142325607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977723214,"filename":"image_17122025_13_55_04_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399789901","file1":"1399789899","file0":"1399789894","file4":"1399789907","file5":"1399789910","file3":"1399789903"},"map_files_photo_id_array":[{"photo_id":"1399789910","filename":"file5"},{"photo_id":"1399789901","filename":"file2"},{"photo_id":"1399789907","filename":"file4"},{"photo_id":"1399789899","filename":"file1"},{"photo_id":"1399789894","filename":"file0"},{"photo_id":"1399789903","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399789901":["hashtag1","hashtag2"]},{"1399789910":["hashtag1","hashtag2"]},{"1399789894":["hashtag1","hashtag2"]},{"1399789907":["hashtag1","hashtag2"]},{"1399789899":["hashtag1","hashtag2"]},{"1399789903":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399789901, 1399789910, 1399789894, 1399789907, 1399789899, 1399789903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5232207775116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:22:02.620671
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_34_10614.jpg', '/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_44_9759.jpg', '/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_54_9749.jpg', '/home/pi/Desktop/images/17122025/13/55/image_17122025_13_56_04_9719.jpg', '/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_14_10650.jpg', '/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_24_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_34_10614.jpg
/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_44_9759.jpg
/home/pi/Desktop/images/17122025/13/55/image_17122025_13_55_54_9749.jpg
/home/pi/Desktop/images/17122025/13/55/image_17122025_13_56_04_9719.jpg
/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_14_10650.jpg
/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_24_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":["1399790204","1399790167","1399790097","1399790133","1399790058","1399790022"],"photo_ids_order":["1399790022","1399790058","1399790097","1399790133","1399790167","1399790204"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2d0ddaa1310069d7eae24f65c97ba0a.jpg","text":"TemporaryFile(/tmp/multipartBody1548935539757851395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977783261,"filename":"image_17122025_13_56_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd8de48ddbe47417c73cb425d2f6aaff.jpg","text":"TemporaryFile(/tmp/multipartBody2253858770133113949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977783261,"filename":"image_17122025_13_56_14_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/467713b5da930d42a9784d721416e70e.jpg","text":"TemporaryFile(/tmp/multipartBody8772408882682786700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977783261,"filename":"image_17122025_13_55_54_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d867893621691281179d44e8d66563d4.jpg","text":"TemporaryFile(/tmp/multipartBody8154928429063656112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977783261,"filename":"image_17122025_13_56_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/831d29f690e14a4de1f324091cde13db.jpg","text":"TemporaryFile(/tmp/multipartBody3642979860641916097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977783261,"filename":"image_17122025_13_55_44_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/403a6690ef4f1f53814506d565d1f22b.jpg","text":"TemporaryFile(/tmp/multipartBody3817803590037714625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977783261,"filename":"image_17122025_13_55_34_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399790097","file1":"1399790058","file0":"1399790022","file4":"1399790167","file5":"1399790204","file3":"1399790133"},"map_files_photo_id_array":[{"photo_id":"1399790204","filename":"file5"},{"photo_id":"1399790097","filename":"file2"},{"photo_id":"1399790167","filename":"file4"},{"photo_id":"1399790058","filename":"file1"},{"photo_id":"1399790022","filename":"file0"},{"photo_id":"1399790133","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399790204":["hashtag1","hashtag2"]},{"1399790167":["hashtag1","hashtag2"]},{"1399790097":["hashtag1","hashtag2"]},{"1399790133":["hashtag1","hashtag2"]},{"1399790058":["hashtag1","hashtag2"]},{"1399790022":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399790204, 1399790167, 1399790097, 1399790133, 1399790058, 1399790022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.891706466674805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:22:42.100168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_24_3650.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_27_2821.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_30_2634.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_33_3731.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_39_2540.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_42_3593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_24_3650.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_27_2821.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_30_2634.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_33_3731.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_39_2540.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_42_3593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399790540","1399790462","1399790384","1399790420","1399790344","1399790498"],"photo_ids_order":["1399790344","1399790384","1399790420","1399790462","1399790498","1399790540"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58adb291964ff2d407de7e6a5f6dcfa7.jpg","text":"TemporaryFile(/tmp/multipartBody3169721215615136321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977822731,"filename":"image_07112025_19_45_42_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39b71a3c99994dfe095b634b27d7be8f.jpg","text":"TemporaryFile(/tmp/multipartBody5526838001198215220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977822731,"filename":"image_07112025_19_45_33_3731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e9f49a118e2dd39f393d0e25e18894b.jpg","text":"TemporaryFile(/tmp/multipartBody6330362757991113073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977822731,"filename":"image_07112025_19_45_27_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9bfe8ee66da8348bacba38e8f0449d5e.jpg","text":"TemporaryFile(/tmp/multipartBody2607958520756324727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977822731,"filename":"image_07112025_19_45_30_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a42a2d6bfde1dc5c7633cdc00234ca6c.jpg","text":"TemporaryFile(/tmp/multipartBody5929569895554479590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977822731,"filename":"image_07112025_19_45_24_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a22f2c452afd7e0401379be529c48a98.jpg","text":"TemporaryFile(/tmp/multipartBody6028985217650705991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977822731,"filename":"image_07112025_19_45_39_2540.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399790420","file1":"1399790384","file0":"1399790344","file4":"1399790498","file5":"1399790540","file3":"1399790462"},"map_files_photo_id_array":[{"photo_id":"1399790540","filename":"file5"},{"photo_id":"1399790420","filename":"file2"},{"photo_id":"1399790498","filename":"file4"},{"photo_id":"1399790384","filename":"file1"},{"photo_id":"1399790344","filename":"file0"},{"photo_id":"1399790462","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399790540":["hashtag1","hashtag2"]},{"1399790462":["hashtag1","hashtag2"]},{"1399790384":["hashtag1","hashtag2"]},{"1399790420":["hashtag1","hashtag2"]},{"1399790344":["hashtag1","hashtag2"]},{"1399790498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399790540, 1399790462, 1399790384, 1399790420, 1399790344, 1399790498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28683662414551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:23:22.360778
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_34_9678.jpg', '/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_44_10685.jpg', '/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_54_9823.jpg', '/home/pi/Desktop/images/17122025/13/56/image_17122025_13_57_04_9674.jpg', '/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_14_9697.jpg', '/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_24_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_34_9678.jpg
/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_44_10685.jpg
/home/pi/Desktop/images/17122025/13/56/image_17122025_13_56_54_9823.jpg
/home/pi/Desktop/images/17122025/13/56/image_17122025_13_57_04_9674.jpg
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_14_9697.jpg
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_24_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":["1399790765","1399790723","1399790804","1399790886","1399790847","1399790679"],"photo_ids_order":["1399790679","1399790723","1399790765","1399790804","1399790847","1399790886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/805c69d1f0e01a37202bfade2e635d38.jpg","text":"TemporaryFile(/tmp/multipartBody8456934697753917821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977862976,"filename":"image_17122025_13_56_54_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4abc75bd29419b5a522de7193d543d0.jpg","text":"TemporaryFile(/tmp/multipartBody651861516795339048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977862976,"filename":"image_17122025_13_56_44_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4eaa7e57d00d850bd7ca40d46faaa1b.jpg","text":"TemporaryFile(/tmp/multipartBody1866687638356553492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977862976,"filename":"image_17122025_13_57_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cffb2c85974bf6432ad63721682cb95f.jpg","text":"TemporaryFile(/tmp/multipartBody4561152225662199852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977862976,"filename":"image_17122025_13_57_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d10da80720beb0787e07931697427df2.jpg","text":"TemporaryFile(/tmp/multipartBody5981923163737280760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977862976,"filename":"image_17122025_13_57_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e14f6676c7004e6d879d35c21ce9d3a.jpg","text":"TemporaryFile(/tmp/multipartBody8378630908951140075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977862976,"filename":"image_17122025_13_56_34_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399790765","file1":"1399790723","file0":"1399790679","file4":"1399790847","file5":"1399790886","file3":"1399790804"},"map_files_photo_id_array":[{"photo_id":"1399790886","filename":"file5"},{"photo_id":"1399790765","filename":"file2"},{"photo_id":"1399790847","filename":"file4"},{"photo_id":"1399790723","filename":"file1"},{"photo_id":"1399790679","filename":"file0"},{"photo_id":"1399790804","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399790765":["hashtag1","hashtag2"]},{"1399790723":["hashtag1","hashtag2"]},{"1399790804":["hashtag1","hashtag2"]},{"1399790886":["hashtag1","hashtag2"]},{"1399790847":["hashtag1","hashtag2"]},{"1399790679":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399790765, 1399790723, 1399790804, 1399790886, 1399790847, 1399790679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.472880363464355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:24:03.207448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_34_9745.jpg', '/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_44_9663.jpg', '/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_54_10779.jpg', '/home/pi/Desktop/images/17122025/13/57/image_17122025_13_58_04_9587.jpg', '/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_14_9675.jpg', '/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_24_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_34_9745.jpg
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_44_9663.jpg
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_54_10779.jpg
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_58_04_9587.jpg
/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_14_9675.jpg
/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_24_10643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.581078052520752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 14:24:12.691010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:24:22.749729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_34_9745.jpg', '/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_44_9663.jpg', '/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_54_10779.jpg', '/home/pi/Desktop/images/17122025/13/57/image_17122025_13_58_04_9587.jpg', '/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_14_9675.jpg', '/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_24_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_34_9745.jpg
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_44_9663.jpg
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_57_54_10779.jpg
/home/pi/Desktop/images/17122025/13/57/image_17122025_13_58_04_9587.jpg
/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_14_9675.jpg
/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_24_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399791323","1399791361","1399791285","1399791333","1399791377","1399791263"],"photo_ids_order":["1399791263","1399791285","1399791323","1399791333","1399791361","1399791377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8e131a02b8fb064eda80247cd268809.jpg","text":"TemporaryFile(/tmp/multipartBody2790451067778292252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977923370,"filename":"image_17122025_13_57_54_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/985cf6aedffb09b8babb4ea5cb83e93b.jpg","text":"TemporaryFile(/tmp/multipartBody6202856434137376136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977923370,"filename":"image_17122025_13_58_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a554a2398e08016b232b8b4633503655.jpg","text":"TemporaryFile(/tmp/multipartBody2059547761684631872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977923370,"filename":"image_17122025_13_57_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b7baa098346bab74ed498af55b83fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3968714549174746009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977923370,"filename":"image_17122025_13_58_04_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0005d5c2a5c045138afeb9322f1959c.jpg","text":"TemporaryFile(/tmp/multipartBody8547266893948934558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977923370,"filename":"image_17122025_13_58_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a6e3b9c068a84aee826f8d854023043.jpg","text":"TemporaryFile(/tmp/multipartBody8488688256566960046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977923370,"filename":"image_17122025_13_57_34_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399791323","file1":"1399791285","file0":"1399791263","file4":"1399791361","file5":"1399791377","file3":"1399791333"},"map_files_photo_id_array":[{"photo_id":"1399791377","filename":"file5"},{"photo_id":"1399791323","filename":"file2"},{"photo_id":"1399791361","filename":"file4"},{"photo_id":"1399791285","filename":"file1"},{"photo_id":"1399791263","filename":"file0"},{"photo_id":"1399791333","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399791323":["hashtag1","hashtag2"]},{"1399791361":["hashtag1","hashtag2"]},{"1399791285":["hashtag1","hashtag2"]},{"1399791333":["hashtag1","hashtag2"]},{"1399791377":["hashtag1","hashtag2"]},{"1399791263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399791323, 1399791361, 1399791285, 1399791333, 1399791377, 1399791263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.041743755340576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:25:02.770353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_34_9823.jpg', '/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_44_9623.jpg', '/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_54_9785.jpg', '/home/pi/Desktop/images/17122025/13/58/image_17122025_13_59_04_10724.jpg', '/home/pi/Desktop/images/17122025/13/59/image_17122025_13_59_14_9713.jpg', '/home/pi/Desktop/images/17122025/13/59/image_17122025_13_59_24_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_34_9823.jpg
/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_44_9623.jpg
/home/pi/Desktop/images/17122025/13/58/image_17122025_13_58_54_9785.jpg
/home/pi/Desktop/images/17122025/13/58/image_17122025_13_59_04_10724.jpg
/home/pi/Desktop/images/17122025/13/59/image_17122025_13_59_14_9713.jpg
/home/pi/Desktop/images/17122025/13/59/image_17122025_13_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":["1399791544","1399791526","1399791502","1399791575","1399791587","1399791554"],"photo_ids_order":["1399791502","1399791526","1399791544","1399791554","1399791575","1399791587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19a935f0412ec8735590e45945210159.jpg","text":"TemporaryFile(/tmp/multipartBody5572909463118206676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977963445,"filename":"image_17122025_13_58_54_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d508859be58caea438ac1a0dcdcdeda.jpg","text":"TemporaryFile(/tmp/multipartBody6808217286578557837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977963445,"filename":"image_17122025_13_58_44_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/864a45bd88c77704c65f81abd17548d9.jpg","text":"TemporaryFile(/tmp/multipartBody7416212760672624276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977963445,"filename":"image_17122025_13_58_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b80180114d64e40dad9838ea852a07e4.jpg","text":"TemporaryFile(/tmp/multipartBody4755198736851638303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977963445,"filename":"image_17122025_13_59_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35cfac01e11df931f3b367fb302f00a4.jpg","text":"TemporaryFile(/tmp/multipartBody614697387744314654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977963445,"filename":"image_17122025_13_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/2025/12/17/94f6b68cefdd86f2929b5e847ba237de.jpg","text":"TemporaryFile(/tmp/multipartBody1372427107799342393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765977963445,"filename":"image_17122025_13_59_04_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399791544","file1":"1399791526","file0":"1399791502","file4":"1399791575","file5":"1399791587","file3":"1399791554"},"map_files_photo_id_array":[{"photo_id":"1399791587","filename":"file5"},{"photo_id":"1399791544","filename":"file2"},{"photo_id":"1399791575","filename":"file4"},{"photo_id":"1399791526","filename":"file1"},{"photo_id":"1399791502","filename":"file0"},{"photo_id":"1399791554","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399791544":["hashtag1","hashtag2"]},{"1399791526":["hashtag1","hashtag2"]},{"1399791502":["hashtag1","hashtag2"]},{"1399791575":["hashtag1","hashtag2"]},{"1399791587":["hashtag1","hashtag2"]},{"1399791554":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399791544, 1399791526, 1399791502, 1399791575, 1399791587, 1399791554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3087317943573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:25:42.057398
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_45_2863.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_50_4447.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_51_1847.jpg', '/home/pi/Desktop/images/07112025/19/45/image_07112025_19_46_00_2741.jpg', '/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_03_3633.jpg', '/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_06_2851.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_45_2863.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_50_4447.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_45_51_1847.jpg
/home/pi/Desktop/images/07112025/19/45/image_07112025_19_46_00_2741.jpg
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_03_3633.jpg
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_06_2851.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399791595","1399791597","1399791591","1399791594","1399791596","1399791599"],"photo_ids_order":["1399791591","1399791594","1399791595","1399791596","1399791597","1399791599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8144fd3aa3de5c1d9980935249036f3.jpg","text":"TemporaryFile(/tmp/multipartBody506145224122974420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978002833,"filename":"image_07112025_19_45_51_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88951c947f29b9373f5fad343a16f683.jpg","text":"TemporaryFile(/tmp/multipartBody5176575366097031342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978002833,"filename":"image_07112025_19_46_03_3633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecc1a1dbca7807801f5672e4cffcb600.jpg","text":"TemporaryFile(/tmp/multipartBody6184786900227855081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978002833,"filename":"image_07112025_19_45_45_2863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1b63c6103e92f6c160ce4c1b7a4d610.jpg","text":"TemporaryFile(/tmp/multipartBody1105845801239003953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978002833,"filename":"image_07112025_19_45_50_4447.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72cc388c1fafd3dabd9af0754e324e55.jpg","text":"TemporaryFile(/tmp/multipartBody3132378611932464871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978002833,"filename":"image_07112025_19_46_00_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bbd7e94dcde3ddd9e901a52ef7c1924.jpg","text":"TemporaryFile(/tmp/multipartBody5320925095403816517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978002833,"filename":"image_07112025_19_46_06_2851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399791595","file1":"1399791594","file0":"1399791591","file4":"1399791597","file5":"1399791599","file3":"1399791596"},"map_files_photo_id_array":[{"photo_id":"1399791599","filename":"file5"},{"photo_id":"1399791595","filename":"file2"},{"photo_id":"1399791597","filename":"file4"},{"photo_id":"1399791594","filename":"file1"},{"photo_id":"1399791591","filename":"file0"},{"photo_id":"1399791596","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399791595":["hashtag1","hashtag2"]},{"1399791597":["hashtag1","hashtag2"]},{"1399791591":["hashtag1","hashtag2"]},{"1399791594":["hashtag1","hashtag2"]},{"1399791596":["hashtag1","hashtag2"]},{"1399791599":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399791595, 1399791597, 1399791591, 1399791594, 1399791596, 1399791599)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85454702377319 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:26:22.333267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/13/59/image_17122025_13_59_34_10666.jpg', '/home/pi/Desktop/images/17122025/13/59/image_17122025_13_59_44_9689.jpg', '/home/pi/Desktop/images/17122025/13/59/image_17122025_13_59_54_9773.jpg', '/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_15_10054.jpg', '/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_25_10749.jpg', '/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_35_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/13/59/image_17122025_13_59_34_10666.jpg
/home/pi/Desktop/images/17122025/13/59/image_17122025_13_59_44_9689.jpg
/home/pi/Desktop/images/17122025/13/59/image_17122025_13_59_54_9773.jpg
/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_15_10054.jpg
/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_25_10749.jpg
/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_35_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399791754","1399791715","1399791788","1399791680","1399791606","1399791644"],"photo_ids_order":["1399791606","1399791644","1399791680","1399791715","1399791754","1399791788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9d2cf863382dab9c49baefb187e99b1.jpg","text":"TemporaryFile(/tmp/multipartBody606601705885881341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978042962,"filename":"image_17122025_14_00_25_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8219a48f9406e49ac204a104769e03ef.jpg","text":"TemporaryFile(/tmp/multipartBody3206905035206887292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978042962,"filename":"image_17122025_14_00_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/296ee8865170d2c0f08ea2f07333a0bb.jpg","text":"TemporaryFile(/tmp/multipartBody784133548866386845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978042962,"filename":"image_17122025_14_00_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba6e855f4c79e2a814d5c9976e90d5b8.jpg","text":"TemporaryFile(/tmp/multipartBody7105451128343170857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978042962,"filename":"image_17122025_13_59_54_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8163f2e918c3d0bd605233a4682f84f.jpg","text":"TemporaryFile(/tmp/multipartBody5550607244950342136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978042962,"filename":"image_17122025_13_59_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a824cc62f8ce020f42dedb285fd7b835.jpg","text":"TemporaryFile(/tmp/multipartBody8220625655405807616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978042962,"filename":"image_17122025_13_59_44_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399791680","file1":"1399791644","file0":"1399791606","file4":"1399791754","file5":"1399791788","file3":"1399791715"},"map_files_photo_id_array":[{"photo_id":"1399791788","filename":"file5"},{"photo_id":"1399791680","filename":"file2"},{"photo_id":"1399791754","filename":"file4"},{"photo_id":"1399791644","filename":"file1"},{"photo_id":"1399791606","filename":"file0"},{"photo_id":"1399791715","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399791754":["hashtag1","hashtag2"]},{"1399791715":["hashtag1","hashtag2"]},{"1399791788":["hashtag1","hashtag2"]},{"1399791680":["hashtag1","hashtag2"]},{"1399791606":["hashtag1","hashtag2"]},{"1399791644":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399791754, 1399791715, 1399791788, 1399791680, 1399791606, 1399791644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84511590003967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:27:03.043824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_46_10559.jpg', '/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_55_9818.jpg', '/home/pi/Desktop/images/17122025/14/00/image_17122025_14_01_05_9623.jpg', '/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_15_9614.jpg', '/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_25_10836.jpg', '/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_35_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_46_10559.jpg
/home/pi/Desktop/images/17122025/14/00/image_17122025_14_00_55_9818.jpg
/home/pi/Desktop/images/17122025/14/00/image_17122025_14_01_05_9623.jpg
/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_15_9614.jpg
/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_25_10836.jpg
/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_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":["1399791970","1399792042","1399791931","1399792053","1399792005","1399792055"],"photo_ids_order":["1399791931","1399791970","1399792005","1399792042","1399792053","1399792055"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd68f8d530dd88266e2ae76e106c15e6.jpg","text":"TemporaryFile(/tmp/multipartBody1501962667109755798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978083749,"filename":"image_17122025_14_00_55_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29dbdf0c7594e351df9d1788c0019e78.jpg","text":"TemporaryFile(/tmp/multipartBody7760625008501317456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978083749,"filename":"image_17122025_14_01_15_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3135980f1928a7a859b64bbb0eb52f0c.jpg","text":"TemporaryFile(/tmp/multipartBody6869792316437845682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978083749,"filename":"image_17122025_14_00_46_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5d7d5460f23bad4685ccf49ed716442.jpg","text":"TemporaryFile(/tmp/multipartBody535739153165211099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978083749,"filename":"image_17122025_14_01_25_10836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b06574cc55c0229eac1ebf9c84d7a49.jpg","text":"TemporaryFile(/tmp/multipartBody7439943621159396998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978083749,"filename":"image_17122025_14_01_05_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d062b8756a879e422eadfaf6eec039cf.jpg","text":"TemporaryFile(/tmp/multipartBody5873153294554983196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978083749,"filename":"image_17122025_14_01_35_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399792005","file1":"1399791970","file0":"1399791931","file4":"1399792053","file5":"1399792055","file3":"1399792042"},"map_files_photo_id_array":[{"photo_id":"1399792055","filename":"file5"},{"photo_id":"1399792005","filename":"file2"},{"photo_id":"1399792053","filename":"file4"},{"photo_id":"1399791970","filename":"file1"},{"photo_id":"1399791931","filename":"file0"},{"photo_id":"1399792042","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399791970":["hashtag1","hashtag2"]},{"1399792042":["hashtag1","hashtag2"]},{"1399791931":["hashtag1","hashtag2"]},{"1399792053":["hashtag1","hashtag2"]},{"1399792005":["hashtag1","hashtag2"]},{"1399792055":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399791970, 1399792042, 1399791931, 1399792053, 1399792005, 1399792055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.470762968063354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:27:42.613165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_12_2667.jpg', '/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_15_2810.jpg', '/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_21_3800.jpg', '/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_24_2891.jpg', '/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_30_2835.jpg', '/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_33_3644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_12_2667.jpg
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_15_2810.jpg
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_21_3800.jpg
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_24_2891.jpg
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_30_2835.jpg
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_33_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":["1399792063","1399792141","1399792062","1399792071","1399792107","1399792061"],"photo_ids_order":["1399792061","1399792062","1399792063","1399792071","1399792107","1399792141"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94e7354f08a0ab4008097d4f805560eb.jpg","text":"TemporaryFile(/tmp/multipartBody351000326749923679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978123385,"filename":"image_07112025_19_46_21_3800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cbeba9c3b89d1dc3fa7b53d96483f9c.jpg","text":"TemporaryFile(/tmp/multipartBody1071516247205572319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978123385,"filename":"image_07112025_19_46_33_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84c834be0c16d762fb5f7ef9946a69b2.jpg","text":"TemporaryFile(/tmp/multipartBody4036450203428065725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978123385,"filename":"image_07112025_19_46_15_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37ca28d380c17e5021b4e85bb1e2beb4.jpg","text":"TemporaryFile(/tmp/multipartBody4227745936963624846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978123385,"filename":"image_07112025_19_46_24_2891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cd22aa072793e48db3304804776008e.jpg","text":"TemporaryFile(/tmp/multipartBody8091140348804962069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978123385,"filename":"image_07112025_19_46_30_2835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/312007f93b2287cd0fdf34db5aa1a8d4.jpg","text":"TemporaryFile(/tmp/multipartBody5727784033165770232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978123385,"filename":"image_07112025_19_46_12_2667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399792063","file1":"1399792062","file0":"1399792061","file4":"1399792107","file5":"1399792141","file3":"1399792071"},"map_files_photo_id_array":[{"photo_id":"1399792141","filename":"file5"},{"photo_id":"1399792063","filename":"file2"},{"photo_id":"1399792107","filename":"file4"},{"photo_id":"1399792062","filename":"file1"},{"photo_id":"1399792061","filename":"file0"},{"photo_id":"1399792071","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399792063":["hashtag1","hashtag2"]},{"1399792141":["hashtag1","hashtag2"]},{"1399792062":["hashtag1","hashtag2"]},{"1399792071":["hashtag1","hashtag2"]},{"1399792107":["hashtag1","hashtag2"]},{"1399792061":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399792063, 1399792141, 1399792062, 1399792071, 1399792107, 1399792061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27613925933838 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:28:21.982542
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_45_10051.jpg', '/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_55_9727.jpg', '/home/pi/Desktop/images/17122025/14/01/image_17122025_14_02_05_9795.jpg', '/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_15_10617.jpg', '/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_25_9659.jpg', '/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_35_10535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_45_10051.jpg
/home/pi/Desktop/images/17122025/14/01/image_17122025_14_01_55_9727.jpg
/home/pi/Desktop/images/17122025/14/01/image_17122025_14_02_05_9795.jpg
/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_15_10617.jpg
/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_25_9659.jpg
/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_35_10535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399792336","1399792270","1399792303","1399792251","1399792253","1399792310"],"photo_ids_order":["1399792251","1399792253","1399792270","1399792303","1399792310","1399792336"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3b1bc6306c4ab1258a5b470dbea10b7.jpg","text":"TemporaryFile(/tmp/multipartBody3623058716750439691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978162657,"filename":"image_17122025_14_02_35_10535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90478248f1426edfca69cd7d673cbf19.jpg","text":"TemporaryFile(/tmp/multipartBody3999181677466316767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978162657,"filename":"image_17122025_14_02_05_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e33ef6a66c700d8fb7724481a17020a.jpg","text":"TemporaryFile(/tmp/multipartBody8736547927074521097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978162657,"filename":"image_17122025_14_02_15_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/729aef5e611eb452fd62756e4b39ddd5.jpg","text":"TemporaryFile(/tmp/multipartBody7102240327555645762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978162657,"filename":"image_17122025_14_01_45_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8db30286a61519c9476dd95e881d4e1e.jpg","text":"TemporaryFile(/tmp/multipartBody111589360314638853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978162657,"filename":"image_17122025_14_01_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/011d9411f537f143e4fffbfaa6a4d347.jpg","text":"TemporaryFile(/tmp/multipartBody1481491595542619949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978162657,"filename":"image_17122025_14_02_25_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399792270","file1":"1399792253","file0":"1399792251","file4":"1399792310","file5":"1399792336","file3":"1399792303"},"map_files_photo_id_array":[{"photo_id":"1399792336","filename":"file5"},{"photo_id":"1399792270","filename":"file2"},{"photo_id":"1399792310","filename":"file4"},{"photo_id":"1399792253","filename":"file1"},{"photo_id":"1399792251","filename":"file0"},{"photo_id":"1399792303","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399792336":["hashtag1","hashtag2"]},{"1399792270":["hashtag1","hashtag2"]},{"1399792303":["hashtag1","hashtag2"]},{"1399792251":["hashtag1","hashtag2"]},{"1399792253":["hashtag1","hashtag2"]},{"1399792310":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399792336, 1399792270, 1399792303, 1399792251, 1399792253, 1399792310)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96311402320862 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:29:03.177500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_45_9635.jpg', '/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_55_9599.jpg', '/home/pi/Desktop/images/17122025/14/02/image_17122025_14_03_05_10650.jpg', '/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_15_9664.jpg', '/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_25_9650.jpg', '/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_35_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_45_9635.jpg
/home/pi/Desktop/images/17122025/14/02/image_17122025_14_02_55_9599.jpg
/home/pi/Desktop/images/17122025/14/02/image_17122025_14_03_05_10650.jpg
/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_15_9664.jpg
/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_25_9650.jpg
/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_35_10552.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":["1399792369","1399792360","1399792398","1399792365","1399792364","1399792367"],"photo_ids_order":["1399792360","1399792364","1399792365","1399792367","1399792369","1399792398"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9018898b4c77b20f90cfc52d69a0ff46.jpg","text":"TemporaryFile(/tmp/multipartBody9064500337530441593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978203920,"filename":"image_17122025_14_03_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2add42313de6f2e45d63b54116af2205.jpg","text":"TemporaryFile(/tmp/multipartBody5196121081640540749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978203920,"filename":"image_17122025_14_02_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/493ce70fe357dcd5f54e85d7cf27b524.jpg","text":"TemporaryFile(/tmp/multipartBody6559272403327714821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978203920,"filename":"image_17122025_14_03_35_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abf4801b156e0c2efab30a73094c804e.jpg","text":"TemporaryFile(/tmp/multipartBody892367653759151454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978203920,"filename":"image_17122025_14_03_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97e69a508f16fde0abb4819ca3b9b42d.jpg","text":"TemporaryFile(/tmp/multipartBody663175470684933421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978203920,"filename":"image_17122025_14_02_55_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c87397b5bb2a6acabf27480cccf58f47.jpg","text":"TemporaryFile(/tmp/multipartBody6254561684203157079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978203920,"filename":"image_17122025_14_03_15_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399792365","file1":"1399792364","file0":"1399792360","file4":"1399792369","file5":"1399792398","file3":"1399792367"},"map_files_photo_id_array":[{"photo_id":"1399792398","filename":"file5"},{"photo_id":"1399792365","filename":"file2"},{"photo_id":"1399792369","filename":"file4"},{"photo_id":"1399792364","filename":"file1"},{"photo_id":"1399792360","filename":"file0"},{"photo_id":"1399792367","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399792369":["hashtag1","hashtag2"]},{"1399792360":["hashtag1","hashtag2"]},{"1399792398":["hashtag1","hashtag2"]},{"1399792365":["hashtag1","hashtag2"]},{"1399792364":["hashtag1","hashtag2"]},{"1399792367":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399792369, 1399792360, 1399792398, 1399792365, 1399792364, 1399792367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.389103412628174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:30:02.878629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_45_9782.jpg', '/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_55_9629.jpg', '/home/pi/Desktop/images/17122025/14/03/image_17122025_14_04_05_10815.jpg', '/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_15_9671.jpg', '/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_25_9862.jpg', '/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_35_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_45_9782.jpg
/home/pi/Desktop/images/17122025/14/03/image_17122025_14_03_55_9629.jpg
/home/pi/Desktop/images/17122025/14/03/image_17122025_14_04_05_10815.jpg
/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_15_9671.jpg
/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_25_9862.jpg
/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_35_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":["1399792816","1399792662","1399792743","1399792625","1399792780","1399792706"],"photo_ids_order":["1399792625","1399792662","1399792706","1399792743","1399792780","1399792816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e3857d908995bfd3be14f09113ef604.jpg","text":"TemporaryFile(/tmp/multipartBody2229524071629121851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978263551,"filename":"image_17122025_14_04_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a52005026ccbf21cfd0333f7a5fbd1f2.jpg","text":"TemporaryFile(/tmp/multipartBody7569505002036077769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978263551,"filename":"image_17122025_14_03_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3aacc5caa6693d06d067edf641d69d66.jpg","text":"TemporaryFile(/tmp/multipartBody6799750078679263041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978263551,"filename":"image_17122025_14_04_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eceab47d9a536934b7b6b48fa09c9072.jpg","text":"TemporaryFile(/tmp/multipartBody4754029264129743451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978263551,"filename":"image_17122025_14_03_45_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76491054fb8b13bd829c6e1d05e21154.jpg","text":"TemporaryFile(/tmp/multipartBody5657466627444055059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978263551,"filename":"image_17122025_14_04_25_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/341f314144e5f6dda8fbc70ed8e5231d.jpg","text":"TemporaryFile(/tmp/multipartBody4227614614347260881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978263551,"filename":"image_17122025_14_04_05_10815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399792706","file1":"1399792662","file0":"1399792625","file4":"1399792780","file5":"1399792816","file3":"1399792743"},"map_files_photo_id_array":[{"photo_id":"1399792816","filename":"file5"},{"photo_id":"1399792706","filename":"file2"},{"photo_id":"1399792780","filename":"file4"},{"photo_id":"1399792662","filename":"file1"},{"photo_id":"1399792625","filename":"file0"},{"photo_id":"1399792743","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399792816":["hashtag1","hashtag2"]},{"1399792662":["hashtag1","hashtag2"]},{"1399792743":["hashtag1","hashtag2"]},{"1399792625":["hashtag1","hashtag2"]},{"1399792780":["hashtag1","hashtag2"]},{"1399792706":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399792816, 1399792662, 1399792743, 1399792625, 1399792780, 1399792706)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.437742710113525 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:30:42.351059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_48_3632.jpg', '/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_51_2823.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_09_2706.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_12_2705.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_15_3627.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_18_2610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_48_3632.jpg
/home/pi/Desktop/images/07112025/19/46/image_07112025_19_46_51_2823.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_09_2706.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_12_2705.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_15_3627.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_18_2610.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399792912","1399792855","1399792953","1399792869","1399792857","1399792856"],"photo_ids_order":["1399792855","1399792856","1399792857","1399792869","1399792912","1399792953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03ea580a1e7500d90a8186f51bcd6618.jpg","text":"TemporaryFile(/tmp/multipartBody2350008189672574037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978303161,"filename":"image_07112025_19_47_15_3627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8804dedb5e8ac48c318d36c6c82f010c.jpg","text":"TemporaryFile(/tmp/multipartBody773837999278924832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978303161,"filename":"image_07112025_19_46_48_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0121ba0381176aedc3f156837175d453.jpg","text":"TemporaryFile(/tmp/multipartBody1398521574508717417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978303161,"filename":"image_07112025_19_47_18_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0a09ecfc500c3079274b8d16d77a9df.jpg","text":"TemporaryFile(/tmp/multipartBody7965015621068680493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978303161,"filename":"image_07112025_19_47_12_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86f8f97967b04a5fb71e06126b602e7f.jpg","text":"TemporaryFile(/tmp/multipartBody6505471076711956742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978303161,"filename":"image_07112025_19_47_09_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f40af0e99fb3319c2f02c66e0104d2c9.jpg","text":"TemporaryFile(/tmp/multipartBody5763446171701212952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978303161,"filename":"image_07112025_19_46_51_2823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399792857","file1":"1399792856","file0":"1399792855","file4":"1399792912","file5":"1399792953","file3":"1399792869"},"map_files_photo_id_array":[{"photo_id":"1399792953","filename":"file5"},{"photo_id":"1399792857","filename":"file2"},{"photo_id":"1399792912","filename":"file4"},{"photo_id":"1399792856","filename":"file1"},{"photo_id":"1399792855","filename":"file0"},{"photo_id":"1399792869","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399792912":["hashtag1","hashtag2"]},{"1399792855":["hashtag1","hashtag2"]},{"1399792953":["hashtag1","hashtag2"]},{"1399792869":["hashtag1","hashtag2"]},{"1399792857":["hashtag1","hashtag2"]},{"1399792856":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399792912, 1399792855, 1399792953, 1399792869, 1399792857, 1399792856)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59107041358948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:31:22.667264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_45_10655.jpg', '/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_55_9676.jpg', '/home/pi/Desktop/images/17122025/14/04/image_17122025_14_05_05_9846.jpg', '/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_15_10168.jpg', '/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_25_9841.jpg', '/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_35_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_45_10655.jpg
/home/pi/Desktop/images/17122025/14/04/image_17122025_14_04_55_9676.jpg
/home/pi/Desktop/images/17122025/14/04/image_17122025_14_05_05_9846.jpg
/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_15_10168.jpg
/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_25_9841.jpg
/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_35_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":["1399793026","1399793052","1399793022","1399793028","1399793100","1399793087"],"photo_ids_order":["1399793022","1399793026","1399793028","1399793052","1399793087","1399793100"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86c401c0e657d2a5c2b0bb1bba8736b6.jpg","text":"TemporaryFile(/tmp/multipartBody3992109587493382921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978343309,"filename":"image_17122025_14_04_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75f3160705d4a78451b28b7cf56f6f51.jpg","text":"TemporaryFile(/tmp/multipartBody2060937027806904525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978343309,"filename":"image_17122025_14_05_15_10168.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7fce109773671e6f087ff32cdf81346.jpg","text":"TemporaryFile(/tmp/multipartBody850808431157169991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978343309,"filename":"image_17122025_14_04_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8856ad3f8969c08bb52d9b2cac12ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3661073179019576315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978343309,"filename":"image_17122025_14_05_05_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc625d30ae523bf628028656fd4da030.jpg","text":"TemporaryFile(/tmp/multipartBody6101851222796382188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978343309,"filename":"image_17122025_14_05_35_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2d11ca6619a7ba683f7948c0923976a.jpg","text":"TemporaryFile(/tmp/multipartBody7079214089536195873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978343309,"filename":"image_17122025_14_05_25_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399793028","file1":"1399793026","file0":"1399793022","file4":"1399793087","file5":"1399793100","file3":"1399793052"},"map_files_photo_id_array":[{"photo_id":"1399793100","filename":"file5"},{"photo_id":"1399793028","filename":"file2"},{"photo_id":"1399793087","filename":"file4"},{"photo_id":"1399793026","filename":"file1"},{"photo_id":"1399793022","filename":"file0"},{"photo_id":"1399793052","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399793026":["hashtag1","hashtag2"]},{"1399793052":["hashtag1","hashtag2"]},{"1399793022":["hashtag1","hashtag2"]},{"1399793028":["hashtag1","hashtag2"]},{"1399793100":["hashtag1","hashtag2"]},{"1399793087":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399793026, 1399793052, 1399793022, 1399793028, 1399793100, 1399793087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.80524182319641 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:32:02.374288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_45_9909.jpg', '/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_55_9575.jpg', '/home/pi/Desktop/images/17122025/14/05/image_17122025_14_06_05_9651.jpg', '/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_15_10652.jpg', '/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_25_9660.jpg', '/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_35_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_45_9909.jpg
/home/pi/Desktop/images/17122025/14/05/image_17122025_14_05_55_9575.jpg
/home/pi/Desktop/images/17122025/14/05/image_17122025_14_06_05_9651.jpg
/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_15_10652.jpg
/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_25_9660.jpg
/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_35_9580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399793107","1399793101","1399793112","1399793109","1399793102","1399793105"],"photo_ids_order":["1399793101","1399793102","1399793105","1399793107","1399793109","1399793112"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe8da67c322be102281e4a83600b44e5.jpg","text":"TemporaryFile(/tmp/multipartBody6067022583715997668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978383030,"filename":"image_17122025_14_06_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac462d7655dd24d67d7076413b5558d2.jpg","text":"TemporaryFile(/tmp/multipartBody6309169731301398421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978383030,"filename":"image_17122025_14_05_45_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/368e09b260904638a502171394910019.jpg","text":"TemporaryFile(/tmp/multipartBody2359301359672684157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978383030,"filename":"image_17122025_14_06_35_9580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/313a87459772b822e80ffe1792be530c.jpg","text":"TemporaryFile(/tmp/multipartBody8536658652070106990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978383030,"filename":"image_17122025_14_06_25_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9809f3a769facbca41fa8f087cb60df0.jpg","text":"TemporaryFile(/tmp/multipartBody3580753492648587548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978383030,"filename":"image_17122025_14_05_55_9575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dc98ae9835bcaa259f2bcf820ee08fd.jpg","text":"TemporaryFile(/tmp/multipartBody7596234458681968273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978383030,"filename":"image_17122025_14_06_05_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399793105","file1":"1399793102","file0":"1399793101","file4":"1399793109","file5":"1399793112","file3":"1399793107"},"map_files_photo_id_array":[{"photo_id":"1399793112","filename":"file5"},{"photo_id":"1399793105","filename":"file2"},{"photo_id":"1399793109","filename":"file4"},{"photo_id":"1399793102","filename":"file1"},{"photo_id":"1399793101","filename":"file0"},{"photo_id":"1399793107","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399793107":["hashtag1","hashtag2"]},{"1399793101":["hashtag1","hashtag2"]},{"1399793112":["hashtag1","hashtag2"]},{"1399793109":["hashtag1","hashtag2"]},{"1399793102":["hashtag1","hashtag2"]},{"1399793105":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399793107, 1399793101, 1399793112, 1399793109, 1399793102, 1399793105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.32145619392395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:32:41.864734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_29_2628.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_33_3656.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_36_2631.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_39_3550.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_45_2660.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_48_2930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_29_2628.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_33_3656.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_36_2631.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_39_3550.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_45_2660.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_48_2930.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6688146591186523 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:33:02.754969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_45_10729.jpg', '/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_55_9627.jpg', '/home/pi/Desktop/images/17122025/14/06/image_17122025_14_07_05_9825.jpg', '/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_15_10590.jpg', '/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_25_9755.jpg', '/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_35_9813.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_45_10729.jpg
/home/pi/Desktop/images/17122025/14/06/image_17122025_14_06_55_9627.jpg
/home/pi/Desktop/images/17122025/14/06/image_17122025_14_07_05_9825.jpg
/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_15_10590.jpg
/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_25_9755.jpg
/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_35_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":["1399793152","1399793265","1399793229","1399793136","1399793135","1399793191"],"photo_ids_order":["1399793135","1399793136","1399793152","1399793191","1399793229","1399793265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f942d96b362fa1200dc8dea01190d7f.jpg","text":"TemporaryFile(/tmp/multipartBody1459292666640591654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978443423,"filename":"image_17122025_14_07_05_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf4140122537bf92aafd7f9f2144c4a1.jpg","text":"TemporaryFile(/tmp/multipartBody5172506533868159974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978443423,"filename":"image_17122025_14_07_35_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27e7ff6e257520ee000157ebf23a6200.jpg","text":"TemporaryFile(/tmp/multipartBody6101706981574835691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978443423,"filename":"image_17122025_14_07_25_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d631afcb2db8b61215f7bd3af7545aff.jpg","text":"TemporaryFile(/tmp/multipartBody2276630264067725785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978443423,"filename":"image_17122025_14_06_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ade0bb57375c435eff39cce1a17d52e.jpg","text":"TemporaryFile(/tmp/multipartBody5369152383379547249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978443423,"filename":"image_17122025_14_06_45_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad0b57c2eda0c7198efa7451d9d998c8.jpg","text":"TemporaryFile(/tmp/multipartBody1756483163629391428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978443423,"filename":"image_17122025_14_07_15_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399793152","file1":"1399793136","file0":"1399793135","file4":"1399793229","file5":"1399793265","file3":"1399793191"},"map_files_photo_id_array":[{"photo_id":"1399793265","filename":"file5"},{"photo_id":"1399793152","filename":"file2"},{"photo_id":"1399793229","filename":"file4"},{"photo_id":"1399793136","filename":"file1"},{"photo_id":"1399793135","filename":"file0"},{"photo_id":"1399793191","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399793152":["hashtag1","hashtag2"]},{"1399793265":["hashtag1","hashtag2"]},{"1399793229":["hashtag1","hashtag2"]},{"1399793136":["hashtag1","hashtag2"]},{"1399793135":["hashtag1","hashtag2"]},{"1399793191":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399793152, 1399793265, 1399793229, 1399793136, 1399793135, 1399793191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.315892457962036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:33:42.074648
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_29_2628.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_33_3656.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_36_2631.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_39_3550.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_45_2660.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_48_2930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_29_2628.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_33_3656.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_36_2631.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_39_3550.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_45_2660.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_48_2930.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399793580","1399793505","1399793396","1399793435","1399793543","1399793470"],"photo_ids_order":["1399793396","1399793435","1399793470","1399793505","1399793543","1399793580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56c81646a0dd2ce2739e99036e5ebebf.jpg","text":"TemporaryFile(/tmp/multipartBody584203557876573100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978482709,"filename":"image_07112025_19_47_48_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80890b30677def13fc06259075922da9.jpg","text":"TemporaryFile(/tmp/multipartBody2686913261970265042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978482709,"filename":"image_07112025_19_47_39_3550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08885ca6b51f1add339072c27edecf5a.jpg","text":"TemporaryFile(/tmp/multipartBody6352744815022029463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978482709,"filename":"image_07112025_19_47_29_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/052589d32366d3f9709274229dc722ee.jpg","text":"TemporaryFile(/tmp/multipartBody7186341468834036461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978482709,"filename":"image_07112025_19_47_33_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7190998df9ae062858a16da5a39888dd.jpg","text":"TemporaryFile(/tmp/multipartBody4398185222457806644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978482709,"filename":"image_07112025_19_47_45_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b02a865adda1fdab7241945b3ef3af9d.jpg","text":"TemporaryFile(/tmp/multipartBody3024032958436277693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978482709,"filename":"image_07112025_19_47_36_2631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399793470","file1":"1399793435","file0":"1399793396","file4":"1399793543","file5":"1399793580","file3":"1399793505"},"map_files_photo_id_array":[{"photo_id":"1399793580","filename":"file5"},{"photo_id":"1399793470","filename":"file2"},{"photo_id":"1399793543","filename":"file4"},{"photo_id":"1399793435","filename":"file1"},{"photo_id":"1399793396","filename":"file0"},{"photo_id":"1399793505","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399793580":["hashtag1","hashtag2"]},{"1399793505":["hashtag1","hashtag2"]},{"1399793396":["hashtag1","hashtag2"]},{"1399793435":["hashtag1","hashtag2"]},{"1399793543":["hashtag1","hashtag2"]},{"1399793470":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399793580, 1399793505, 1399793396, 1399793435, 1399793543, 1399793470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.79514670372009 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:34:22.351554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_45_10626.jpg', '/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_55_9807.jpg', '/home/pi/Desktop/images/17122025/14/07/image_17122025_14_08_05_9760.jpg', '/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_15_9673.jpg', '/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_25_9831.jpg', '/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_35_10786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_45_10626.jpg
/home/pi/Desktop/images/17122025/14/07/image_17122025_14_07_55_9807.jpg
/home/pi/Desktop/images/17122025/14/07/image_17122025_14_08_05_9760.jpg
/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_15_9673.jpg
/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_25_9831.jpg
/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_35_10786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399793701","1399793712","1399793715","1399793695","1399793698","1399793710"],"photo_ids_order":["1399793695","1399793698","1399793701","1399793710","1399793712","1399793715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a0046fb5089e1730346a6b34d95b84a.jpg","text":"TemporaryFile(/tmp/multipartBody5353526220728169611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978523013,"filename":"image_17122025_14_08_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e08263908d9f2efe6443e58c344e67db.jpg","text":"TemporaryFile(/tmp/multipartBody63511098006934568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978523013,"filename":"image_17122025_14_08_25_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/685ba3b22f2d8017e1fc9d98814f5085.jpg","text":"TemporaryFile(/tmp/multipartBody7351443100033265585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978523013,"filename":"image_17122025_14_08_35_10786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9f413848e82642efac04f9ba1857854.jpg","text":"TemporaryFile(/tmp/multipartBody7316602932309911319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978523013,"filename":"image_17122025_14_07_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3f9df1d52878b3a39e01553b435b5f1.jpg","text":"TemporaryFile(/tmp/multipartBody8164438268594851007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978523013,"filename":"image_17122025_14_07_55_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97c2e24f3db8218614ba5e7155058bae.jpg","text":"TemporaryFile(/tmp/multipartBody928221588143955851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978523013,"filename":"image_17122025_14_08_15_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399793701","file1":"1399793698","file0":"1399793695","file4":"1399793712","file5":"1399793715","file3":"1399793710"},"map_files_photo_id_array":[{"photo_id":"1399793715","filename":"file5"},{"photo_id":"1399793701","filename":"file2"},{"photo_id":"1399793712","filename":"file4"},{"photo_id":"1399793698","filename":"file1"},{"photo_id":"1399793695","filename":"file0"},{"photo_id":"1399793710","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399793701":["hashtag1","hashtag2"]},{"1399793712":["hashtag1","hashtag2"]},{"1399793715":["hashtag1","hashtag2"]},{"1399793695":["hashtag1","hashtag2"]},{"1399793698":["hashtag1","hashtag2"]},{"1399793710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399793701, 1399793712, 1399793715, 1399793695, 1399793698, 1399793710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2563681602478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:35:03.219954
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_45_9661.jpg', '/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_55_9666.jpg', '/home/pi/Desktop/images/17122025/14/08/image_17122025_14_09_05_10736.jpg', '/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_15_9742.jpg', '/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_25_9577.jpg', '/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_35_10758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_45_9661.jpg
/home/pi/Desktop/images/17122025/14/08/image_17122025_14_08_55_9666.jpg
/home/pi/Desktop/images/17122025/14/08/image_17122025_14_09_05_10736.jpg
/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_15_9742.jpg
/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_25_9577.jpg
/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_35_10758.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399793880","1399793805","1399793768","1399793732","1399793918","1399793842"],"photo_ids_order":["1399793732","1399793768","1399793805","1399793842","1399793880","1399793918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c01de4402d71cc7d239e34277edf865e.jpg","text":"TemporaryFile(/tmp/multipartBody6233625228361763030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978563945,"filename":"image_17122025_14_09_25_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b7649c200fae89d70ee59e7edffd9f2.jpg","text":"TemporaryFile(/tmp/multipartBody5973236248096756152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978563945,"filename":"image_17122025_14_09_05_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb81f78e5a855790897922b6b7c62076.jpg","text":"TemporaryFile(/tmp/multipartBody3153433169937298902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978563945,"filename":"image_17122025_14_08_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82d4abb286d06c663cee3eecbe4adcba.jpg","text":"TemporaryFile(/tmp/multipartBody7226944311360167088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978563945,"filename":"image_17122025_14_08_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5000943cc70df6ec63d896736f471de2.jpg","text":"TemporaryFile(/tmp/multipartBody5675965429240655021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978563945,"filename":"image_17122025_14_09_35_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7e3189496d86eb10649a2e5385ee5a8.jpg","text":"TemporaryFile(/tmp/multipartBody2529985696333210381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978563945,"filename":"image_17122025_14_09_15_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399793805","file1":"1399793768","file0":"1399793732","file4":"1399793880","file5":"1399793918","file3":"1399793842"},"map_files_photo_id_array":[{"photo_id":"1399793918","filename":"file5"},{"photo_id":"1399793805","filename":"file2"},{"photo_id":"1399793880","filename":"file4"},{"photo_id":"1399793768","filename":"file1"},{"photo_id":"1399793732","filename":"file0"},{"photo_id":"1399793842","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399793880":["hashtag1","hashtag2"]},{"1399793805":["hashtag1","hashtag2"]},{"1399793768":["hashtag1","hashtag2"]},{"1399793732":["hashtag1","hashtag2"]},{"1399793918":["hashtag1","hashtag2"]},{"1399793842":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399793880, 1399793805, 1399793768, 1399793732, 1399793918, 1399793842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96036171913147 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:35:42.684698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_50_2903.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_54_3758.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_57_2703.jpg', '/home/pi/Desktop/images/07112025/19/47/image_07112025_19_48_00_2642.jpg', '/home/pi/Desktop/images/07112025/19/48/image_07112025_19_48_02_2765.jpg', '/home/pi/Desktop/images/07112025/19/48/image_07112025_19_48_06_3721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_50_2903.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_54_3758.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_47_57_2703.jpg
/home/pi/Desktop/images/07112025/19/47/image_07112025_19_48_00_2642.jpg
/home/pi/Desktop/images/07112025/19/48/image_07112025_19_48_02_2765.jpg
/home/pi/Desktop/images/07112025/19/48/image_07112025_19_48_06_3721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794038","1399793990","1399794046","1399794028","1399794004","1399793962"],"photo_ids_order":["1399793962","1399793990","1399794004","1399794028","1399794038","1399794046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79e0eaf86c8af653f5e40252b5580252.jpg","text":"TemporaryFile(/tmp/multipartBody5565836499341837559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978603461,"filename":"image_07112025_19_48_02_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14c6ca428e73de1a05f96fcc2802f907.jpg","text":"TemporaryFile(/tmp/multipartBody1971078398318895994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978603461,"filename":"image_07112025_19_47_54_3758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3dcc4b187cfd8ad3d3e417271d93642c.jpg","text":"TemporaryFile(/tmp/multipartBody4661018958533869750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978603461,"filename":"image_07112025_19_48_06_3721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81b1131012e1915e9153bdbd5a196d6b.jpg","text":"TemporaryFile(/tmp/multipartBody8903492829206502129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978603461,"filename":"image_07112025_19_48_00_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12b79f266170dae788d64b79f0f78169.jpg","text":"TemporaryFile(/tmp/multipartBody1865391044360590947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978603461,"filename":"image_07112025_19_47_57_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d6807a4ed7f78f5993e556b3172b6d7.jpg","text":"TemporaryFile(/tmp/multipartBody2980775168168929285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978603461,"filename":"image_07112025_19_47_50_2903.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794004","file1":"1399793990","file0":"1399793962","file4":"1399794038","file5":"1399794046","file3":"1399794028"},"map_files_photo_id_array":[{"photo_id":"1399794046","filename":"file5"},{"photo_id":"1399794004","filename":"file2"},{"photo_id":"1399794038","filename":"file4"},{"photo_id":"1399793990","filename":"file1"},{"photo_id":"1399793962","filename":"file0"},{"photo_id":"1399794028","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399794038":["hashtag1","hashtag2"]},{"1399793990":["hashtag1","hashtag2"]},{"1399794046":["hashtag1","hashtag2"]},{"1399794028":["hashtag1","hashtag2"]},{"1399794004":["hashtag1","hashtag2"]},{"1399793962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399794038, 1399793990, 1399794046, 1399794028, 1399794004, 1399793962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.67310929298401 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:36:21.939810
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_45_9731.jpg', '/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_55_9592.jpg', '/home/pi/Desktop/images/17122025/14/09/image_17122025_14_10_05_10639.jpg', '/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_15_9690.jpg', '/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_25_9714.jpg', '/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_35_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_45_9731.jpg
/home/pi/Desktop/images/17122025/14/09/image_17122025_14_09_55_9592.jpg
/home/pi/Desktop/images/17122025/14/09/image_17122025_14_10_05_10639.jpg
/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_15_9690.jpg
/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_25_9714.jpg
/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_35_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794084","1399794072","1399794077","1399794079","1399794081","1399794075"],"photo_ids_order":["1399794072","1399794075","1399794077","1399794079","1399794081","1399794084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d4a565ff91e0b9777e0e8c95832df24.jpg","text":"TemporaryFile(/tmp/multipartBody814158197003471159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978642566,"filename":"image_17122025_14_10_35_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6072e2cfc94e4a83f9f58c531fb74c1.jpg","text":"TemporaryFile(/tmp/multipartBody5548183568259612751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978642566,"filename":"image_17122025_14_09_45_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/186a74095a74355d95a55b5668339877.jpg","text":"TemporaryFile(/tmp/multipartBody989352014760784254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978642566,"filename":"image_17122025_14_10_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ba3094b3d024edca668f0915b4f6ca3.jpg","text":"TemporaryFile(/tmp/multipartBody557197004904131324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978642566,"filename":"image_17122025_14_10_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf221801b998ac6102762c6002ecb952.jpg","text":"TemporaryFile(/tmp/multipartBody5606899794851429337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978642566,"filename":"image_17122025_14_10_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fef57b7f678cd655227cc6c5c9f449de.jpg","text":"TemporaryFile(/tmp/multipartBody7811982748283370162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978642566,"filename":"image_17122025_14_09_55_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794077","file1":"1399794075","file0":"1399794072","file4":"1399794081","file5":"1399794084","file3":"1399794079"},"map_files_photo_id_array":[{"photo_id":"1399794084","filename":"file5"},{"photo_id":"1399794077","filename":"file2"},{"photo_id":"1399794081","filename":"file4"},{"photo_id":"1399794075","filename":"file1"},{"photo_id":"1399794072","filename":"file0"},{"photo_id":"1399794079","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794084":["hashtag1","hashtag2"]},{"1399794072":["hashtag1","hashtag2"]},{"1399794077":["hashtag1","hashtag2"]},{"1399794079":["hashtag1","hashtag2"]},{"1399794081":["hashtag1","hashtag2"]},{"1399794075":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794084, 1399794072, 1399794077, 1399794079, 1399794081, 1399794075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58611011505127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:37:02.868953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_45_10746.jpg', '/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_55_9662.jpg', '/home/pi/Desktop/images/17122025/14/10/image_17122025_14_11_05_9804.jpg', '/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_15_9679.jpg', '/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_25_10685.jpg', '/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_35_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_45_10746.jpg
/home/pi/Desktop/images/17122025/14/10/image_17122025_14_10_55_9662.jpg
/home/pi/Desktop/images/17122025/14/10/image_17122025_14_11_05_9804.jpg
/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_15_9679.jpg
/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_25_10685.jpg
/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_35_9772.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":["1399794099","1399794090","1399794092","1399794086","1399794105","1399794088"],"photo_ids_order":["1399794086","1399794088","1399794090","1399794092","1399794099","1399794105"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0076a9d03dbce17f21dd0dbae5ff3bc7.jpg","text":"TemporaryFile(/tmp/multipartBody477523990603270670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978683557,"filename":"image_17122025_14_11_25_10685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92e4a4f23b64a9123e99033dc1ee6bbb.jpg","text":"TemporaryFile(/tmp/multipartBody2987069379219284949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978683557,"filename":"image_17122025_14_11_05_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e2bec41305251c5ca6f51e18a8c866a.jpg","text":"TemporaryFile(/tmp/multipartBody978573356927299807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978683557,"filename":"image_17122025_14_11_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64ef96b10638d376212d2351026856e7.jpg","text":"TemporaryFile(/tmp/multipartBody7704908819974252425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978683557,"filename":"image_17122025_14_10_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55072c000f3c349ead3a736b37304923.jpg","text":"TemporaryFile(/tmp/multipartBody7289339499809612468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978683557,"filename":"image_17122025_14_11_35_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e590cd0f4a6cae5523e94af3cabf8221.jpg","text":"TemporaryFile(/tmp/multipartBody7883799300763850829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978683557,"filename":"image_17122025_14_10_55_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794090","file1":"1399794088","file0":"1399794086","file4":"1399794099","file5":"1399794105","file3":"1399794092"},"map_files_photo_id_array":[{"photo_id":"1399794105","filename":"file5"},{"photo_id":"1399794090","filename":"file2"},{"photo_id":"1399794099","filename":"file4"},{"photo_id":"1399794088","filename":"file1"},{"photo_id":"1399794086","filename":"file0"},{"photo_id":"1399794092","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794099":["hashtag1","hashtag2"]},{"1399794090":["hashtag1","hashtag2"]},{"1399794092":["hashtag1","hashtag2"]},{"1399794086":["hashtag1","hashtag2"]},{"1399794105":["hashtag1","hashtag2"]},{"1399794088":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794099, 1399794090, 1399794092, 1399794086, 1399794105, 1399794088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87969946861267 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:38:02.742432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_45_9768.jpg', '/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_55_9868.jpg', '/home/pi/Desktop/images/17122025/14/11/image_17122025_14_12_05_9876.jpg', '/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_15_10713.jpg', '/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_25_9773.jpg', '/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_35_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_45_9768.jpg
/home/pi/Desktop/images/17122025/14/11/image_17122025_14_11_55_9868.jpg
/home/pi/Desktop/images/17122025/14/11/image_17122025_14_12_05_9876.jpg
/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_15_10713.jpg
/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_25_9773.jpg
/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_35_9914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794138","1399794161","1399794149","1399794125","1399794134","1399794133"],"photo_ids_order":["1399794125","1399794133","1399794134","1399794138","1399794149","1399794161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fd722d1bc85706faf5a9a71f8fd00c3.jpg","text":"TemporaryFile(/tmp/multipartBody1780939599289547867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978743457,"filename":"image_17122025_14_12_15_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de6ba18d28cd3fb18531bc5d0ec4918b.jpg","text":"TemporaryFile(/tmp/multipartBody4407774637067651417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978743457,"filename":"image_17122025_14_12_35_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8a35796e6372af32d08c071dce24d3d.jpg","text":"TemporaryFile(/tmp/multipartBody3256396400693583539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978743457,"filename":"image_17122025_14_12_25_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99c08244aa3ba90f30116f93da8a5aef.jpg","text":"TemporaryFile(/tmp/multipartBody4532519950612231944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978743457,"filename":"image_17122025_14_11_45_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/274607b24cbc403f7ce062b2553e46f9.jpg","text":"TemporaryFile(/tmp/multipartBody5096185913616384305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978743457,"filename":"image_17122025_14_12_05_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9363f21e9afb1b304c52ab207ebce24.jpg","text":"TemporaryFile(/tmp/multipartBody593973081640383505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978743457,"filename":"image_17122025_14_11_55_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794134","file1":"1399794133","file0":"1399794125","file4":"1399794149","file5":"1399794161","file3":"1399794138"},"map_files_photo_id_array":[{"photo_id":"1399794161","filename":"file5"},{"photo_id":"1399794134","filename":"file2"},{"photo_id":"1399794149","filename":"file4"},{"photo_id":"1399794133","filename":"file1"},{"photo_id":"1399794125","filename":"file0"},{"photo_id":"1399794138","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794138":["hashtag1","hashtag2"]},{"1399794161":["hashtag1","hashtag2"]},{"1399794149":["hashtag1","hashtag2"]},{"1399794125":["hashtag1","hashtag2"]},{"1399794134":["hashtag1","hashtag2"]},{"1399794133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794138, 1399794161, 1399794149, 1399794125, 1399794134, 1399794133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.488123416900635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:38:42.256511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/48/image_07112025_19_48_09_2675.jpg', '/home/pi/Desktop/images/07112025/19/48/image_07112025_19_48_27_2613.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_05_2559.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_09_3693.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_12_2646.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_14_2683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/48/image_07112025_19_48_09_2675.jpg
/home/pi/Desktop/images/07112025/19/48/image_07112025_19_48_27_2613.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_05_2559.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_09_3693.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_12_2646.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_14_2683.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794270","1399794254","1399794242","1399794215","1399794259","1399794169"],"photo_ids_order":["1399794169","1399794215","1399794242","1399794254","1399794259","1399794270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea7a958180e2156c84da17da59e243fa.jpg","text":"TemporaryFile(/tmp/multipartBody2353890293362618397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978783036,"filename":"image_07112025_19_49_14_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5afc571e136ae7c5d9bcf91a4751cfe0.jpg","text":"TemporaryFile(/tmp/multipartBody2703830646951073317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978783036,"filename":"image_07112025_19_49_09_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7443dcd6894ec5b62070cb2a179a2a3d.jpg","text":"TemporaryFile(/tmp/multipartBody7693083309321172278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978783036,"filename":"image_07112025_19_49_05_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3cc7ce7ef8dd1f76cb4086f282a11fc3.jpg","text":"TemporaryFile(/tmp/multipartBody5780458862880474609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978783036,"filename":"image_07112025_19_48_27_2613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5276a1e9380c600560be7efad83a2cae.jpg","text":"TemporaryFile(/tmp/multipartBody8631219397543417824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978783036,"filename":"image_07112025_19_49_12_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81e47f0402725c218c5436a9c2172cae.jpg","text":"TemporaryFile(/tmp/multipartBody4745060838740201615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978783036,"filename":"image_07112025_19_48_09_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794242","file1":"1399794215","file0":"1399794169","file4":"1399794259","file5":"1399794270","file3":"1399794254"},"map_files_photo_id_array":[{"photo_id":"1399794270","filename":"file5"},{"photo_id":"1399794242","filename":"file2"},{"photo_id":"1399794259","filename":"file4"},{"photo_id":"1399794215","filename":"file1"},{"photo_id":"1399794169","filename":"file0"},{"photo_id":"1399794254","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399794270":["hashtag1","hashtag2"]},{"1399794254":["hashtag1","hashtag2"]},{"1399794242":["hashtag1","hashtag2"]},{"1399794215":["hashtag1","hashtag2"]},{"1399794259":["hashtag1","hashtag2"]},{"1399794169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399794270, 1399794254, 1399794242, 1399794215, 1399794259, 1399794169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.800835847854614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:39:22.497777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_45_9613.jpg', '/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_55_10658.jpg', '/home/pi/Desktop/images/17122025/14/12/image_17122025_14_13_05_9740.jpg', '/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_15_9666.jpg', '/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_25_10650.jpg', '/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_35_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_45_9613.jpg
/home/pi/Desktop/images/17122025/14/12/image_17122025_14_12_55_10658.jpg
/home/pi/Desktop/images/17122025/14/12/image_17122025_14_13_05_9740.jpg
/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_15_9666.jpg
/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_25_10650.jpg
/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_35_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794297","1399794299","1399794295","1399794292","1399794301","1399794304"],"photo_ids_order":["1399794292","1399794295","1399794297","1399794299","1399794301","1399794304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a91d32b892a06caf1d3798434869a5e.jpg","text":"TemporaryFile(/tmp/multipartBody3369221745345945446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978823139,"filename":"image_17122025_14_13_05_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01382ff12a12360dd5dfa5213ac56420.jpg","text":"TemporaryFile(/tmp/multipartBody6690120496019708186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978823139,"filename":"image_17122025_14_13_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/410aab04c57b2d9ada1583d56bf449c0.jpg","text":"TemporaryFile(/tmp/multipartBody5297392188048894369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978823139,"filename":"image_17122025_14_12_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aca7774587318c76fd780319c808704d.jpg","text":"TemporaryFile(/tmp/multipartBody5760999488250115418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978823139,"filename":"image_17122025_14_12_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e1de856368b45c9be53a9d5ce76312d.jpg","text":"TemporaryFile(/tmp/multipartBody805320272418013476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978823139,"filename":"image_17122025_14_13_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c15db1fe6bcb00cc0d7249b45174455.jpg","text":"TemporaryFile(/tmp/multipartBody4856541488709227140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978823139,"filename":"image_17122025_14_13_35_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794297","file1":"1399794295","file0":"1399794292","file4":"1399794301","file5":"1399794304","file3":"1399794299"},"map_files_photo_id_array":[{"photo_id":"1399794304","filename":"file5"},{"photo_id":"1399794297","filename":"file2"},{"photo_id":"1399794301","filename":"file4"},{"photo_id":"1399794295","filename":"file1"},{"photo_id":"1399794292","filename":"file0"},{"photo_id":"1399794299","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794297":["hashtag1","hashtag2"]},{"1399794299":["hashtag1","hashtag2"]},{"1399794295":["hashtag1","hashtag2"]},{"1399794292":["hashtag1","hashtag2"]},{"1399794301":["hashtag1","hashtag2"]},{"1399794304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794297, 1399794299, 1399794295, 1399794292, 1399794301, 1399794304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94887161254883 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:40:03.166459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_45_9821.jpg', '/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_55_9883.jpg', '/home/pi/Desktop/images/17122025/14/13/image_17122025_14_14_05_10645.jpg', '/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_15_9732.jpg', '/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_25_9717.jpg', '/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_35_10612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_45_9821.jpg
/home/pi/Desktop/images/17122025/14/13/image_17122025_14_13_55_9883.jpg
/home/pi/Desktop/images/17122025/14/13/image_17122025_14_14_05_10645.jpg
/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_15_9732.jpg
/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_25_9717.jpg
/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_35_10612.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794351","1399794345","1399794347","1399794308","1399794346","1399794319"],"photo_ids_order":["1399794308","1399794319","1399794345","1399794346","1399794347","1399794351"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83d1da381c485b76f1cbe88530fc67bf.jpg","text":"TemporaryFile(/tmp/multipartBody5088043246112216415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978863833,"filename":"image_17122025_14_14_35_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e93dd6c1e4bc7b37fbe89e6046f0bca0.jpg","text":"TemporaryFile(/tmp/multipartBody7818450042660105073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978863833,"filename":"image_17122025_14_14_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/419be750385d825cf70d3af64d102505.jpg","text":"TemporaryFile(/tmp/multipartBody3277599026772867475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978863833,"filename":"image_17122025_14_14_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b49f3f234e46de4a0ddfc0d9d798ec9.jpg","text":"TemporaryFile(/tmp/multipartBody3575213720304490758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978863833,"filename":"image_17122025_14_13_45_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f4251224654f5bf32dee5d521f27759.jpg","text":"TemporaryFile(/tmp/multipartBody789625001793898570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978863833,"filename":"image_17122025_14_14_15_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2530b02cd66a70e5e8ea491e6afe4f94.jpg","text":"TemporaryFile(/tmp/multipartBody1655379802956295488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978863833,"filename":"image_17122025_14_13_55_9883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794345","file1":"1399794319","file0":"1399794308","file4":"1399794347","file5":"1399794351","file3":"1399794346"},"map_files_photo_id_array":[{"photo_id":"1399794351","filename":"file5"},{"photo_id":"1399794345","filename":"file2"},{"photo_id":"1399794347","filename":"file4"},{"photo_id":"1399794319","filename":"file1"},{"photo_id":"1399794308","filename":"file0"},{"photo_id":"1399794346","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794351":["hashtag1","hashtag2"]},{"1399794345":["hashtag1","hashtag2"]},{"1399794347":["hashtag1","hashtag2"]},{"1399794308":["hashtag1","hashtag2"]},{"1399794346":["hashtag1","hashtag2"]},{"1399794319":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794351, 1399794345, 1399794347, 1399794308, 1399794346, 1399794319)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98229908943176 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:40:42.772322
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_17_2940.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_21_3660.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_24_2623.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_35_2679.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_39_3733.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_42_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_17_2940.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_21_3660.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_24_2623.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_35_2679.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_39_3733.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_42_2840.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6918187141418457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:41:02.654774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_45_9698.jpg', '/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_55_9748.jpg', '/home/pi/Desktop/images/17122025/14/14/image_17122025_14_15_05_9619.jpg', '/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_15_10653.jpg', '/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_25_9569.jpg', '/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_35_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_45_9698.jpg
/home/pi/Desktop/images/17122025/14/14/image_17122025_14_14_55_9748.jpg
/home/pi/Desktop/images/17122025/14/14/image_17122025_14_15_05_9619.jpg
/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_15_10653.jpg
/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_25_9569.jpg
/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_35_10605.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794375","1399794369","1399794377","1399794371","1399794374","1399794373"],"photo_ids_order":["1399794369","1399794371","1399794373","1399794374","1399794375","1399794377"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09ac17d0004aa7f4af412be8812c1f57.jpg","text":"TemporaryFile(/tmp/multipartBody4707323161784941897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978923399,"filename":"image_17122025_14_15_25_9569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0999dcba5a06ee37509fe02cdae39773.jpg","text":"TemporaryFile(/tmp/multipartBody1308464505356357724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978923399,"filename":"image_17122025_14_14_45_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8346ca282ccdac37c8651f58cf3333f.jpg","text":"TemporaryFile(/tmp/multipartBody6208125896659537109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978923399,"filename":"image_17122025_14_15_35_10605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40e88aefae5462f644d7a7f8ff5bcbab.jpg","text":"TemporaryFile(/tmp/multipartBody852117207954716109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978923399,"filename":"image_17122025_14_14_55_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a573b55fe912bd2be4f9e916b5e52212.jpg","text":"TemporaryFile(/tmp/multipartBody6422332392081512716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978923399,"filename":"image_17122025_14_15_15_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8403f03fc097b1bdcfc56a209e044ac1.jpg","text":"TemporaryFile(/tmp/multipartBody3709112905290940473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978923399,"filename":"image_17122025_14_15_05_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794373","file1":"1399794371","file0":"1399794369","file4":"1399794375","file5":"1399794377","file3":"1399794374"},"map_files_photo_id_array":[{"photo_id":"1399794377","filename":"file5"},{"photo_id":"1399794373","filename":"file2"},{"photo_id":"1399794375","filename":"file4"},{"photo_id":"1399794371","filename":"file1"},{"photo_id":"1399794369","filename":"file0"},{"photo_id":"1399794374","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794375":["hashtag1","hashtag2"]},{"1399794369":["hashtag1","hashtag2"]},{"1399794377":["hashtag1","hashtag2"]},{"1399794371":["hashtag1","hashtag2"]},{"1399794374":["hashtag1","hashtag2"]},{"1399794373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794375, 1399794369, 1399794377, 1399794371, 1399794374, 1399794373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01835346221924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:41:42.110473
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_17_2940.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_21_3660.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_24_2623.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_35_2679.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_39_3733.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_42_2840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_17_2940.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_21_3660.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_24_2623.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_35_2679.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_39_3733.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_42_2840.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794396","1399794392","1399794394","1399794385","1399794399","1399794390"],"photo_ids_order":["1399794385","1399794390","1399794392","1399794394","1399794396","1399794399"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/593366d093129ef10cf6306b29b71721.jpg","text":"TemporaryFile(/tmp/multipartBody3855889322708406406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978962757,"filename":"image_07112025_19_49_39_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d70be88322b5058f1a6e1d34c403514.jpg","text":"TemporaryFile(/tmp/multipartBody3185509572401198412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978962757,"filename":"image_07112025_19_49_24_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b92658f679322a233aaafc4aa5162d9.jpg","text":"TemporaryFile(/tmp/multipartBody7480006142785109010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978962757,"filename":"image_07112025_19_49_35_2679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18bcd22e113b50de1c2a7cede7c62dfd.jpg","text":"TemporaryFile(/tmp/multipartBody126586879835421905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978962757,"filename":"image_07112025_19_49_17_2940.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c312f75bd672465703faf9f15cf137b7.jpg","text":"TemporaryFile(/tmp/multipartBody378915446779916364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978962757,"filename":"image_07112025_19_49_42_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f27ce0f8067732c02378458089d3adfe.jpg","text":"TemporaryFile(/tmp/multipartBody7809973194145007609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765978962757,"filename":"image_07112025_19_49_21_3660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794392","file1":"1399794390","file0":"1399794385","file4":"1399794396","file5":"1399794399","file3":"1399794394"},"map_files_photo_id_array":[{"photo_id":"1399794399","filename":"file5"},{"photo_id":"1399794392","filename":"file2"},{"photo_id":"1399794396","filename":"file4"},{"photo_id":"1399794390","filename":"file1"},{"photo_id":"1399794385","filename":"file0"},{"photo_id":"1399794394","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399794396":["hashtag1","hashtag2"]},{"1399794392":["hashtag1","hashtag2"]},{"1399794394":["hashtag1","hashtag2"]},{"1399794385":["hashtag1","hashtag2"]},{"1399794399":["hashtag1","hashtag2"]},{"1399794390":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399794396, 1399794392, 1399794394, 1399794385, 1399794399, 1399794390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3534197807312 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:42:22.398570
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_45_9669.jpg', '/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_55_9813.jpg', '/home/pi/Desktop/images/17122025/14/15/image_17122025_14_16_06_10675.jpg', '/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_15_9631.jpg', '/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_25_9677.jpg', '/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_35_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_45_9669.jpg
/home/pi/Desktop/images/17122025/14/15/image_17122025_14_15_55_9813.jpg
/home/pi/Desktop/images/17122025/14/15/image_17122025_14_16_06_10675.jpg
/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_15_9631.jpg
/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_25_9677.jpg
/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_35_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":["1399794510","1399794432","1399794404","1399794472","1399794547","1399794406"],"photo_ids_order":["1399794404","1399794406","1399794432","1399794472","1399794510","1399794547"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e57e5233f637ead0dc36a20f0916964.jpg","text":"TemporaryFile(/tmp/multipartBody2414445188657789701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979003020,"filename":"image_17122025_14_16_25_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6937686daa07def5d70dde2049005799.jpg","text":"TemporaryFile(/tmp/multipartBody3090294867788919654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979003020,"filename":"image_17122025_14_16_06_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e94e81560e9dac7483ec477de18f1d28.jpg","text":"TemporaryFile(/tmp/multipartBody8545950310368213754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979003020,"filename":"image_17122025_14_15_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67fc18644f3bf743a82739e671d1752a.jpg","text":"TemporaryFile(/tmp/multipartBody6369287461079208861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979003020,"filename":"image_17122025_14_16_15_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6566d3efbb698cbdcc81eda33a4321d.jpg","text":"TemporaryFile(/tmp/multipartBody3551617997070626130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979003020,"filename":"image_17122025_14_16_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a028fd6d38653b0b6828659af6f4279.jpg","text":"TemporaryFile(/tmp/multipartBody6782320158501969542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979003020,"filename":"image_17122025_14_15_55_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794432","file1":"1399794406","file0":"1399794404","file4":"1399794510","file5":"1399794547","file3":"1399794472"},"map_files_photo_id_array":[{"photo_id":"1399794547","filename":"file5"},{"photo_id":"1399794432","filename":"file2"},{"photo_id":"1399794510","filename":"file4"},{"photo_id":"1399794406","filename":"file1"},{"photo_id":"1399794404","filename":"file0"},{"photo_id":"1399794472","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794510":["hashtag1","hashtag2"]},{"1399794432":["hashtag1","hashtag2"]},{"1399794404":["hashtag1","hashtag2"]},{"1399794472":["hashtag1","hashtag2"]},{"1399794547":["hashtag1","hashtag2"]},{"1399794406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794510, 1399794432, 1399794404, 1399794472, 1399794547, 1399794406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.89404511451721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:43:03.405703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_45_9681.jpg', '/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_55_9881.jpg', '/home/pi/Desktop/images/17122025/14/16/image_17122025_14_17_05_9700.jpg', '/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_15_10761.jpg', '/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_25_9632.jpg', '/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_35_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_45_9681.jpg
/home/pi/Desktop/images/17122025/14/16/image_17122025_14_16_55_9881.jpg
/home/pi/Desktop/images/17122025/14/16/image_17122025_14_17_05_9700.jpg
/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_15_10761.jpg
/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_25_9632.jpg
/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_35_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":["1399794621","1399794615","1399794618","1399794623","1399794617","1399794613"],"photo_ids_order":["1399794613","1399794615","1399794617","1399794618","1399794621","1399794623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/219d03827a1506db6c1ad461fe2df3b2.jpg","text":"TemporaryFile(/tmp/multipartBody453512343371758003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979044141,"filename":"image_17122025_14_17_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/166b4af50fbbdf7bd524ee3dd3f49012.jpg","text":"TemporaryFile(/tmp/multipartBody5090510430329326524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979044141,"filename":"image_17122025_14_16_55_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72d59794c9f62f61755e3c1a9d8ee211.jpg","text":"TemporaryFile(/tmp/multipartBody1966333232414093417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979044141,"filename":"image_17122025_14_17_15_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adacce3286591ba1c25e1d079d006917.jpg","text":"TemporaryFile(/tmp/multipartBody937148738972612559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979044141,"filename":"image_17122025_14_17_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/724ee1fbc1332c96f5e5a6cad95dde7e.jpg","text":"TemporaryFile(/tmp/multipartBody3884151511734930010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979044141,"filename":"image_17122025_14_17_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb68380cf739d53fd953643f5b080d0e.jpg","text":"TemporaryFile(/tmp/multipartBody1415137722362463763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979044141,"filename":"image_17122025_14_16_45_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794617","file1":"1399794615","file0":"1399794613","file4":"1399794621","file5":"1399794623","file3":"1399794618"},"map_files_photo_id_array":[{"photo_id":"1399794623","filename":"file5"},{"photo_id":"1399794617","filename":"file2"},{"photo_id":"1399794621","filename":"file4"},{"photo_id":"1399794615","filename":"file1"},{"photo_id":"1399794613","filename":"file0"},{"photo_id":"1399794618","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794621":["hashtag1","hashtag2"]},{"1399794615":["hashtag1","hashtag2"]},{"1399794618":["hashtag1","hashtag2"]},{"1399794623":["hashtag1","hashtag2"]},{"1399794617":["hashtag1","hashtag2"]},{"1399794613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794621, 1399794615, 1399794618, 1399794623, 1399794617, 1399794613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34369230270386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:43:42.651784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_47_2867.jpg', '/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_54_2633.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_06_3023.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_09_2934.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_12_2723.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_21_3620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_47_2867.jpg
/home/pi/Desktop/images/07112025/19/49/image_07112025_19_49_54_2633.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_06_3023.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_09_2934.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_12_2723.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_21_3620.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794633","1399794639","1399794632","1399794641","1399794629","1399794640"],"photo_ids_order":["1399794629","1399794632","1399794633","1399794639","1399794640","1399794641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64938ca4598f278f10cb7ee960e96479.jpg","text":"TemporaryFile(/tmp/multipartBody4271744218183987321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979083429,"filename":"image_07112025_19_50_06_3023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6027194d8c75b11165dc0ba6c8a69bbe.jpg","text":"TemporaryFile(/tmp/multipartBody7965414767178723157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979083429,"filename":"image_07112025_19_50_09_2934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e16514f63df3d05f0649712fd603935.jpg","text":"TemporaryFile(/tmp/multipartBody8814602883958010889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979083429,"filename":"image_07112025_19_49_54_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0368159687d0f82f99f5bae9198ba1d9.jpg","text":"TemporaryFile(/tmp/multipartBody7923424803532876871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979083429,"filename":"image_07112025_19_50_21_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/678ecc6355a0e1b3a5a0c125b59d544d.jpg","text":"TemporaryFile(/tmp/multipartBody5097914674172327163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979083429,"filename":"image_07112025_19_49_47_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83ac53120e6c25cdc017388fabc53700.jpg","text":"TemporaryFile(/tmp/multipartBody2038611640614845707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979083429,"filename":"image_07112025_19_50_12_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794633","file1":"1399794632","file0":"1399794629","file4":"1399794640","file5":"1399794641","file3":"1399794639"},"map_files_photo_id_array":[{"photo_id":"1399794641","filename":"file5"},{"photo_id":"1399794633","filename":"file2"},{"photo_id":"1399794640","filename":"file4"},{"photo_id":"1399794632","filename":"file1"},{"photo_id":"1399794629","filename":"file0"},{"photo_id":"1399794639","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399794633":["hashtag1","hashtag2"]},{"1399794639":["hashtag1","hashtag2"]},{"1399794632":["hashtag1","hashtag2"]},{"1399794641":["hashtag1","hashtag2"]},{"1399794629":["hashtag1","hashtag2"]},{"1399794640":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399794633, 1399794639, 1399794632, 1399794641, 1399794629, 1399794640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49080848693848 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:44:21.924649
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_45_9712.jpg', '/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_55_10716.jpg', '/home/pi/Desktop/images/17122025/14/17/image_17122025_14_18_05_9701.jpg', '/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_15_9694.jpg', '/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_25_10649.jpg', '/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_35_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_45_9712.jpg
/home/pi/Desktop/images/17122025/14/17/image_17122025_14_17_55_10716.jpg
/home/pi/Desktop/images/17122025/14/17/image_17122025_14_18_05_9701.jpg
/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_15_9694.jpg
/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_25_10649.jpg
/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_35_9850.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794672","1399794654","1399794657","1399794650","1399794647","1399794664"],"photo_ids_order":["1399794647","1399794650","1399794654","1399794657","1399794664","1399794672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ecf4e5fb281d1b10032d83a5d835935.jpg","text":"TemporaryFile(/tmp/multipartBody7844701406292290114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979122558,"filename":"image_17122025_14_18_35_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a67133b5461413e9ae0a7bc4481d9c6c.jpg","text":"TemporaryFile(/tmp/multipartBody6056549802438549321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979122558,"filename":"image_17122025_14_18_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c4de5f68cbfb8a5fff00cc8c01b30b8.jpg","text":"TemporaryFile(/tmp/multipartBody5748513250818698500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979122558,"filename":"image_17122025_14_18_15_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf274e759bc132779cf1703cbc80835d.jpg","text":"TemporaryFile(/tmp/multipartBody1162294278909771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979122558,"filename":"image_17122025_14_17_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd5956876362ec51a8ed53ce575a52e8.jpg","text":"TemporaryFile(/tmp/multipartBody6953629840830277076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979122558,"filename":"image_17122025_14_17_45_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4640beb5f5f93c1517a064e4437d6402.jpg","text":"TemporaryFile(/tmp/multipartBody7531235222459806998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979122558,"filename":"image_17122025_14_18_25_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794654","file1":"1399794650","file0":"1399794647","file4":"1399794664","file5":"1399794672","file3":"1399794657"},"map_files_photo_id_array":[{"photo_id":"1399794672","filename":"file5"},{"photo_id":"1399794654","filename":"file2"},{"photo_id":"1399794664","filename":"file4"},{"photo_id":"1399794650","filename":"file1"},{"photo_id":"1399794647","filename":"file0"},{"photo_id":"1399794657","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794672":["hashtag1","hashtag2"]},{"1399794654":["hashtag1","hashtag2"]},{"1399794657":["hashtag1","hashtag2"]},{"1399794650":["hashtag1","hashtag2"]},{"1399794647":["hashtag1","hashtag2"]},{"1399794664":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794672, 1399794654, 1399794657, 1399794650, 1399794647, 1399794664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.49187779426575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:45:02.757273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_45_9826.jpg', '/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_55_9692.jpg', '/home/pi/Desktop/images/17122025/14/18/image_17122025_14_19_05_10637.jpg', '/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_15_9561.jpg', '/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_25_9861.jpg', '/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_35_9897.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_45_9826.jpg
/home/pi/Desktop/images/17122025/14/18/image_17122025_14_18_55_9692.jpg
/home/pi/Desktop/images/17122025/14/18/image_17122025_14_19_05_10637.jpg
/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_15_9561.jpg
/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_25_9861.jpg
/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_35_9897.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794675","1399794679","1399794682","1399794676","1399794681","1399794684"],"photo_ids_order":["1399794675","1399794676","1399794679","1399794681","1399794682","1399794684"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/020281f3e56bb6a2d2923af78b9f698f.jpg","text":"TemporaryFile(/tmp/multipartBody5569002629015653483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979163457,"filename":"image_17122025_14_18_45_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fbe74228770e322b95075f69bfecc43.jpg","text":"TemporaryFile(/tmp/multipartBody4362235867979826515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979163457,"filename":"image_17122025_14_19_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15e0d5450c8ecb8e7d0f362e599c9554.jpg","text":"TemporaryFile(/tmp/multipartBody1075294989610632362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979163457,"filename":"image_17122025_14_19_25_9861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bac4e980395642d7c5886946520a3549.jpg","text":"TemporaryFile(/tmp/multipartBody3434608710120592382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979163457,"filename":"image_17122025_14_18_55_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36d39b7f7e39d29469bcd9e2792748e1.jpg","text":"TemporaryFile(/tmp/multipartBody1724255536881457976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979163457,"filename":"image_17122025_14_19_15_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7c960a692271681e013f2a2cc912c2c.jpg","text":"TemporaryFile(/tmp/multipartBody1441467099949170658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979163457,"filename":"image_17122025_14_19_35_9897.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794679","file1":"1399794676","file0":"1399794675","file4":"1399794682","file5":"1399794684","file3":"1399794681"},"map_files_photo_id_array":[{"photo_id":"1399794684","filename":"file5"},{"photo_id":"1399794679","filename":"file2"},{"photo_id":"1399794682","filename":"file4"},{"photo_id":"1399794676","filename":"file1"},{"photo_id":"1399794675","filename":"file0"},{"photo_id":"1399794681","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794675":["hashtag1","hashtag2"]},{"1399794679":["hashtag1","hashtag2"]},{"1399794682":["hashtag1","hashtag2"]},{"1399794676":["hashtag1","hashtag2"]},{"1399794681":["hashtag1","hashtag2"]},{"1399794684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794675, 1399794679, 1399794682, 1399794676, 1399794681, 1399794684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.093366861343384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:45:42.081143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_23_2695.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_30_2808.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_33_2868.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_51_3655.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_53_2585.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_12_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_23_2695.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_30_2808.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_33_2868.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_51_3655.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_53_2585.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_12_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794693","1399794692","1399794695","1399794691","1399794694","1399794688"],"photo_ids_order":["1399794688","1399794691","1399794692","1399794693","1399794694","1399794695"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f4a92a75554d2cec4c174e7ad2cf264.jpg","text":"TemporaryFile(/tmp/multipartBody3393208273090849169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979202891,"filename":"image_07112025_19_50_51_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cf8ce490588c3c036432c4fb752674e.jpg","text":"TemporaryFile(/tmp/multipartBody5963316275153464168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979202891,"filename":"image_07112025_19_50_33_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6277cac0a570525ed8c7b80cae790645.jpg","text":"TemporaryFile(/tmp/multipartBody6247061012768444983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979202891,"filename":"image_07112025_19_51_12_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e86b83e94973a2054da882e844b9f97.jpg","text":"TemporaryFile(/tmp/multipartBody6805614757544888574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979202891,"filename":"image_07112025_19_50_30_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0db781940193b82f25378e6f996cf364.jpg","text":"TemporaryFile(/tmp/multipartBody2360067793372053228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979202891,"filename":"image_07112025_19_50_53_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a617e29bf59c494e0c1d189bc59de8b.jpg","text":"TemporaryFile(/tmp/multipartBody3161127789597834908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979202891,"filename":"image_07112025_19_50_23_2695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794692","file1":"1399794691","file0":"1399794688","file4":"1399794694","file5":"1399794695","file3":"1399794693"},"map_files_photo_id_array":[{"photo_id":"1399794695","filename":"file5"},{"photo_id":"1399794692","filename":"file2"},{"photo_id":"1399794694","filename":"file4"},{"photo_id":"1399794691","filename":"file1"},{"photo_id":"1399794688","filename":"file0"},{"photo_id":"1399794693","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399794693":["hashtag1","hashtag2"]},{"1399794692":["hashtag1","hashtag2"]},{"1399794695":["hashtag1","hashtag2"]},{"1399794691":["hashtag1","hashtag2"]},{"1399794694":["hashtag1","hashtag2"]},{"1399794688":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399794693, 1399794692, 1399794695, 1399794691, 1399794694, 1399794688)","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 = 1399794692 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_33_2868.jpg";
try second time after 15 secs
Error :database is lockedfor query : UPDATE mra_photos SET uploaded_at = current_timestamp, photo_id_global = 1399794692 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_33_2868.jpg";
uploaded 6 photos
time to upload: 62.59194993972778 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:47:06.826776
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_45_10619.jpg', '/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_55_9732.jpg', '/home/pi/Desktop/images/17122025/14/19/image_17122025_14_20_05_9654.jpg', '/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_15_10734.jpg', '/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_25_9654.jpg', '/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_35_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_45_10619.jpg
/home/pi/Desktop/images/17122025/14/19/image_17122025_14_19_55_9732.jpg
/home/pi/Desktop/images/17122025/14/19/image_17122025_14_20_05_9654.jpg
/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_15_10734.jpg
/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_25_9654.jpg
/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_35_9798.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":["1399794720","1399794714","1399794713","1399794722","1399794716","1399794718"],"photo_ids_order":["1399794713","1399794714","1399794716","1399794718","1399794720","1399794722"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cf6b2e5778183c9f0cb99159f4aecb0.jpg","text":"TemporaryFile(/tmp/multipartBody1817101736125114829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979287467,"filename":"image_17122025_14_20_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c9907b68b2f515c56f105e73d52c1be.jpg","text":"TemporaryFile(/tmp/multipartBody9039271474203718921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979287467,"filename":"image_17122025_14_19_55_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0692b8eda4494e8d686d6c2c046b5b9.jpg","text":"TemporaryFile(/tmp/multipartBody1335783596109544486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979287467,"filename":"image_17122025_14_19_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1778ef71059bbcbedd60eef0c41183bc.jpg","text":"TemporaryFile(/tmp/multipartBody3965269978979631580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979287467,"filename":"image_17122025_14_20_35_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8c6579d3191f0d70cadda5764e627d8.jpg","text":"TemporaryFile(/tmp/multipartBody198669941816827573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979287467,"filename":"image_17122025_14_20_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b062ffd3e611ce546d636ced811485db.jpg","text":"TemporaryFile(/tmp/multipartBody2036424254460188794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979287467,"filename":"image_17122025_14_20_15_10734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794716","file1":"1399794714","file0":"1399794713","file4":"1399794720","file5":"1399794722","file3":"1399794718"},"map_files_photo_id_array":[{"photo_id":"1399794722","filename":"file5"},{"photo_id":"1399794716","filename":"file2"},{"photo_id":"1399794720","filename":"file4"},{"photo_id":"1399794714","filename":"file1"},{"photo_id":"1399794713","filename":"file0"},{"photo_id":"1399794718","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794720":["hashtag1","hashtag2"]},{"1399794714":["hashtag1","hashtag2"]},{"1399794713":["hashtag1","hashtag2"]},{"1399794722":["hashtag1","hashtag2"]},{"1399794716":["hashtag1","hashtag2"]},{"1399794718":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794720, 1399794714, 1399794713, 1399794722, 1399794716, 1399794718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.655229806900024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:48:02.393944
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_45_10635.jpg', '/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_55_9656.jpg', '/home/pi/Desktop/images/17122025/14/20/image_17122025_14_21_05_9625.jpg', '/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_15_10686.jpg', '/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_25_9774.jpg', '/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_35_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_45_10635.jpg
/home/pi/Desktop/images/17122025/14/20/image_17122025_14_20_55_9656.jpg
/home/pi/Desktop/images/17122025/14/20/image_17122025_14_21_05_9625.jpg
/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_15_10686.jpg
/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_25_9774.jpg
/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_35_9664.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794759","1399794767","1399794761","1399794755","1399794763","1399794757"],"photo_ids_order":["1399794755","1399794757","1399794759","1399794761","1399794763","1399794767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8a1bdbf9fb2fc461373859ef477f213.jpg","text":"TemporaryFile(/tmp/multipartBody5396535275125090134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979343045,"filename":"image_17122025_14_21_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fb203eff732ddc1af6dda9be298379e.jpg","text":"TemporaryFile(/tmp/multipartBody8876376011082158263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979343045,"filename":"image_17122025_14_21_35_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de7d76f8043e059fc28e77722155d758.jpg","text":"TemporaryFile(/tmp/multipartBody7182916351222656607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979343045,"filename":"image_17122025_14_21_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab27a03131c1eeac80c000be785a90ee.jpg","text":"TemporaryFile(/tmp/multipartBody4264010468166963848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979343045,"filename":"image_17122025_14_20_45_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3091f24bde42d334e93db6e7637e5a0.jpg","text":"TemporaryFile(/tmp/multipartBody8712849545795588581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979343045,"filename":"image_17122025_14_21_25_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bff35a820a756c9d7edb5ec116c7dd63.jpg","text":"TemporaryFile(/tmp/multipartBody1471115268831950959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979343045,"filename":"image_17122025_14_20_55_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794759","file1":"1399794757","file0":"1399794755","file4":"1399794763","file5":"1399794767","file3":"1399794761"},"map_files_photo_id_array":[{"photo_id":"1399794767","filename":"file5"},{"photo_id":"1399794759","filename":"file2"},{"photo_id":"1399794763","filename":"file4"},{"photo_id":"1399794757","filename":"file1"},{"photo_id":"1399794755","filename":"file0"},{"photo_id":"1399794761","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794759":["hashtag1","hashtag2"]},{"1399794767":["hashtag1","hashtag2"]},{"1399794761":["hashtag1","hashtag2"]},{"1399794755":["hashtag1","hashtag2"]},{"1399794763":["hashtag1","hashtag2"]},{"1399794757":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794759, 1399794767, 1399794761, 1399794755, 1399794763, 1399794757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62098169326782 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:48:42.113657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_23_2695.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_30_2808.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_33_2868.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_51_3655.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_53_2585.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_12_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_23_2695.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_30_2808.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_33_2868.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_51_3655.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_53_2585.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_12_1646.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5515813827514648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:49:03.309703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_45_9928.jpg', '/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_55_9746.jpg', '/home/pi/Desktop/images/17122025/14/21/image_17122025_14_22_05_10802.jpg', '/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_15_9648.jpg', '/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_25_9741.jpg', '/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_35_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_45_9928.jpg
/home/pi/Desktop/images/17122025/14/21/image_17122025_14_21_55_9746.jpg
/home/pi/Desktop/images/17122025/14/21/image_17122025_14_22_05_10802.jpg
/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_15_9648.jpg
/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_25_9741.jpg
/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_35_10669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794891","1399794852","1399794813","1399794921","1399794918","1399794793"],"photo_ids_order":["1399794793","1399794813","1399794852","1399794891","1399794918","1399794921"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/128df9c239881fea834871480e8c039e.jpg","text":"TemporaryFile(/tmp/multipartBody7681078771102672522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979404104,"filename":"image_17122025_14_22_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c1b042ea2767839f71f956f62c215f3.jpg","text":"TemporaryFile(/tmp/multipartBody3491511888987735910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979404104,"filename":"image_17122025_14_22_05_10802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81d16d6a2b87d2439f17a5ca79c9fd69.jpg","text":"TemporaryFile(/tmp/multipartBody1258176357241009093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979404104,"filename":"image_17122025_14_21_55_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc0291c7b842fe75f47470acb783ae41.jpg","text":"TemporaryFile(/tmp/multipartBody6155030115884376979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979404104,"filename":"image_17122025_14_22_35_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a97b79fc9571a298303c2b343b3c238.jpg","text":"TemporaryFile(/tmp/multipartBody1840009012667016974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979404104,"filename":"image_17122025_14_22_25_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9b130861eee1ec8e4dddcbf8e6f1ae0.jpg","text":"TemporaryFile(/tmp/multipartBody3791760989886926458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979404104,"filename":"image_17122025_14_21_45_9928.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794852","file1":"1399794813","file0":"1399794793","file4":"1399794918","file5":"1399794921","file3":"1399794891"},"map_files_photo_id_array":[{"photo_id":"1399794921","filename":"file5"},{"photo_id":"1399794852","filename":"file2"},{"photo_id":"1399794918","filename":"file4"},{"photo_id":"1399794813","filename":"file1"},{"photo_id":"1399794793","filename":"file0"},{"photo_id":"1399794891","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794891":["hashtag1","hashtag2"]},{"1399794852":["hashtag1","hashtag2"]},{"1399794813":["hashtag1","hashtag2"]},{"1399794921":["hashtag1","hashtag2"]},{"1399794918":["hashtag1","hashtag2"]},{"1399794793":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794891, 1399794852, 1399794813, 1399794921, 1399794918, 1399794793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.435479164123535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:49:42.396930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_23_2695.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_30_2808.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_33_2868.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_51_3655.jpg', '/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_53_2585.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_12_1646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_23_2695.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_30_2808.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_33_2868.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_51_3655.jpg
/home/pi/Desktop/images/07112025/19/50/image_07112025_19_50_53_2585.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_12_1646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794930","1399794932","1399794926","1399794931","1399794934","1399794928"],"photo_ids_order":["1399794926","1399794928","1399794930","1399794931","1399794932","1399794934"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/585aaeac80432ed52674b4d2b9daeded.jpg","text":"TemporaryFile(/tmp/multipartBody1504930180944854709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979443029,"filename":"image_07112025_19_50_33_2868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/937826d0f5239e0b02c067e6f38bde61.jpg","text":"TemporaryFile(/tmp/multipartBody7800905418613412867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979443029,"filename":"image_07112025_19_50_53_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbeda3fec475d2a1cfa81bcf9e7923c5.jpg","text":"TemporaryFile(/tmp/multipartBody622091113974316669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979443029,"filename":"image_07112025_19_50_23_2695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f4744c016b8cfa6ee83b5d5bf0feea1.jpg","text":"TemporaryFile(/tmp/multipartBody3933061733267610685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979443029,"filename":"image_07112025_19_50_51_3655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f09c34944664e1320bbef3d4eb43db34.jpg","text":"TemporaryFile(/tmp/multipartBody1789594093202833186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979443029,"filename":"image_07112025_19_51_12_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3fac7caa64b4ad7981c24c6c28fe69f.jpg","text":"TemporaryFile(/tmp/multipartBody8887273025452880127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979443029,"filename":"image_07112025_19_50_30_2808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794930","file1":"1399794928","file0":"1399794926","file4":"1399794932","file5":"1399794934","file3":"1399794931"},"map_files_photo_id_array":[{"photo_id":"1399794934","filename":"file5"},{"photo_id":"1399794930","filename":"file2"},{"photo_id":"1399794932","filename":"file4"},{"photo_id":"1399794928","filename":"file1"},{"photo_id":"1399794926","filename":"file0"},{"photo_id":"1399794931","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399794930":["hashtag1","hashtag2"]},{"1399794932":["hashtag1","hashtag2"]},{"1399794926":["hashtag1","hashtag2"]},{"1399794931":["hashtag1","hashtag2"]},{"1399794934":["hashtag1","hashtag2"]},{"1399794928":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399794930, 1399794932, 1399794926, 1399794931, 1399794934, 1399794928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60925030708313 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:50:22.655601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_45_9615.jpg', '/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_55_9737.jpg', '/home/pi/Desktop/images/17122025/14/22/image_17122025_14_23_05_9745.jpg', '/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_15_10713.jpg', '/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_25_9707.jpg', '/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_35_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_45_9615.jpg
/home/pi/Desktop/images/17122025/14/22/image_17122025_14_22_55_9737.jpg
/home/pi/Desktop/images/17122025/14/22/image_17122025_14_23_05_9745.jpg
/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_15_10713.jpg
/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_25_9707.jpg
/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_35_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399794939","1399794948","1399794953","1399794941","1399794944","1399794946"],"photo_ids_order":["1399794939","1399794941","1399794944","1399794946","1399794948","1399794953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa35e738404b4db231fac5088d667214.jpg","text":"TemporaryFile(/tmp/multipartBody6593173671582481964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979483277,"filename":"image_17122025_14_22_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d65155639ece24b878e627e7074d1677.jpg","text":"TemporaryFile(/tmp/multipartBody2284328627133690020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979483277,"filename":"image_17122025_14_23_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a59fb2be1254906d7d5b26fa23ae334c.jpg","text":"TemporaryFile(/tmp/multipartBody2625409067569203011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979483277,"filename":"image_17122025_14_23_35_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9ff295d7d847aec1447dd0520da1e30.jpg","text":"TemporaryFile(/tmp/multipartBody8566173441493530308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979483277,"filename":"image_17122025_14_22_55_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cabbc371cdb5c5e4910f96450cb2615.jpg","text":"TemporaryFile(/tmp/multipartBody8817286422813459011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979483277,"filename":"image_17122025_14_23_05_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26810f5c49ec4bcc378f1770d3bdea14.jpg","text":"TemporaryFile(/tmp/multipartBody5195089752603040553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979483277,"filename":"image_17122025_14_23_15_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794944","file1":"1399794941","file0":"1399794939","file4":"1399794948","file5":"1399794953","file3":"1399794946"},"map_files_photo_id_array":[{"photo_id":"1399794953","filename":"file5"},{"photo_id":"1399794944","filename":"file2"},{"photo_id":"1399794948","filename":"file4"},{"photo_id":"1399794941","filename":"file1"},{"photo_id":"1399794939","filename":"file0"},{"photo_id":"1399794946","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794939":["hashtag1","hashtag2"]},{"1399794948":["hashtag1","hashtag2"]},{"1399794953":["hashtag1","hashtag2"]},{"1399794941":["hashtag1","hashtag2"]},{"1399794944":["hashtag1","hashtag2"]},{"1399794946":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794939, 1399794948, 1399794953, 1399794941, 1399794944, 1399794946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.171807050704956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:51:02.584386
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_45_10688.jpg', '/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_55_9594.jpg', '/home/pi/Desktop/images/17122025/14/23/image_17122025_14_24_06_10633.jpg', '/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_15_9712.jpg', '/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_25_9640.jpg', '/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_35_9873.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_45_10688.jpg
/home/pi/Desktop/images/17122025/14/23/image_17122025_14_23_55_9594.jpg
/home/pi/Desktop/images/17122025/14/23/image_17122025_14_24_06_10633.jpg
/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_15_9712.jpg
/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_25_9640.jpg
/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_35_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":["1399794956","1399794958","1399794961","1399794969","1399794960","1399794954"],"photo_ids_order":["1399794954","1399794956","1399794958","1399794960","1399794961","1399794969"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0f61ac4e48d64ee530989755dde9201.jpg","text":"TemporaryFile(/tmp/multipartBody1735517313125895219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979523275,"filename":"image_17122025_14_23_55_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/171e180547bd57b2484492511f6e59e2.jpg","text":"TemporaryFile(/tmp/multipartBody6418249113599994824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979523275,"filename":"image_17122025_14_24_06_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1abe1c81c20cc3d8241ca4782c69bcf.jpg","text":"TemporaryFile(/tmp/multipartBody8525532521452297835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979523275,"filename":"image_17122025_14_24_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae6f082f773bbff262a70e58be1c44d5.jpg","text":"TemporaryFile(/tmp/multipartBody2349581155952477893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979523275,"filename":"image_17122025_14_24_35_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af920e37cdbe3970dee3f6a161acf520.jpg","text":"TemporaryFile(/tmp/multipartBody8706785070391992421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979523275,"filename":"image_17122025_14_24_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcdec65e45e1232947fae87288ba1513.jpg","text":"TemporaryFile(/tmp/multipartBody720565401897173295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979523275,"filename":"image_17122025_14_23_45_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399794958","file1":"1399794956","file0":"1399794954","file4":"1399794961","file5":"1399794969","file3":"1399794960"},"map_files_photo_id_array":[{"photo_id":"1399794969","filename":"file5"},{"photo_id":"1399794958","filename":"file2"},{"photo_id":"1399794961","filename":"file4"},{"photo_id":"1399794956","filename":"file1"},{"photo_id":"1399794954","filename":"file0"},{"photo_id":"1399794960","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399794956":["hashtag1","hashtag2"]},{"1399794958":["hashtag1","hashtag2"]},{"1399794961":["hashtag1","hashtag2"]},{"1399794969":["hashtag1","hashtag2"]},{"1399794960":["hashtag1","hashtag2"]},{"1399794954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399794956, 1399794958, 1399794961, 1399794969, 1399794960, 1399794954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94272232055664 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:51:41.830820
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_14_1587.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_15_1630.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_19_1609.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_20_1656.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_23_2747.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_27_3591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_14_1587.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_15_1630.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_19_1609.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_20_1656.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_23_2747.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_27_3591.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399795005","1399795002","1399795001","1399795004","1399795000","1399794996"],"photo_ids_order":["1399794996","1399795000","1399795001","1399795002","1399795004","1399795005"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/399c2f6ea4315c54b7c2940eccabb0d9.jpg","text":"TemporaryFile(/tmp/multipartBody7281308487085029479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979562600,"filename":"image_07112025_19_51_27_3591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f8eada5e0ff3844c72f2a4ba5ba6cd4.jpg","text":"TemporaryFile(/tmp/multipartBody9213024288216664509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979562600,"filename":"image_07112025_19_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/2025/12/17/44b089b4709c319662de811ec9698baa.jpg","text":"TemporaryFile(/tmp/multipartBody3291366920666750505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979562600,"filename":"image_07112025_19_51_19_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c36a31f5ae28d11a1362fdc74326a87.jpg","text":"TemporaryFile(/tmp/multipartBody7823057086362270956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979562600,"filename":"image_07112025_19_51_23_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1477519f2280f6af95839a7ccbc7c5bb.jpg","text":"TemporaryFile(/tmp/multipartBody2780502393012711532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979562600,"filename":"image_07112025_19_51_15_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39f8815fe62cd43f860bf653d53c9057.jpg","text":"TemporaryFile(/tmp/multipartBody4075734059802480824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979562600,"filename":"image_07112025_19_51_14_1587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795001","file1":"1399795000","file0":"1399794996","file4":"1399795004","file5":"1399795005","file3":"1399795002"},"map_files_photo_id_array":[{"photo_id":"1399795005","filename":"file5"},{"photo_id":"1399795001","filename":"file2"},{"photo_id":"1399795004","filename":"file4"},{"photo_id":"1399795000","filename":"file1"},{"photo_id":"1399794996","filename":"file0"},{"photo_id":"1399795002","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399795005":["hashtag1","hashtag2"]},{"1399795002":["hashtag1","hashtag2"]},{"1399795001":["hashtag1","hashtag2"]},{"1399795004":["hashtag1","hashtag2"]},{"1399795000":["hashtag1","hashtag2"]},{"1399794996":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399795005, 1399795002, 1399795001, 1399795004, 1399795000, 1399794996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15843677520752 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:52:22.172054
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_45_10583.jpg', '/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_55_9822.jpg', '/home/pi/Desktop/images/17122025/14/24/image_17122025_14_25_05_9854.jpg', '/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_15_9700.jpg', '/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_25_10763.jpg', '/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_35_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_45_10583.jpg
/home/pi/Desktop/images/17122025/14/24/image_17122025_14_24_55_9822.jpg
/home/pi/Desktop/images/17122025/14/24/image_17122025_14_25_05_9854.jpg
/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_15_9700.jpg
/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_25_10763.jpg
/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_35_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":["1399795085","1399795043","1399795130","1399795013","1399795170","1399795182"],"photo_ids_order":["1399795013","1399795043","1399795085","1399795130","1399795170","1399795182"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cb43b53ab106d73df5e9f83df5c3a5e.jpg","text":"TemporaryFile(/tmp/multipartBody1613876911440748714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979602830,"filename":"image_17122025_14_25_05_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75a0e4bd2a88fd4c3778d8677b7e68fe.jpg","text":"TemporaryFile(/tmp/multipartBody5582561095053494724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979602830,"filename":"image_17122025_14_24_55_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/617a2e0d238d473c496f4bc0bab6fa9d.jpg","text":"TemporaryFile(/tmp/multipartBody7955956562651430639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979602830,"filename":"image_17122025_14_25_15_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a3a23989c46ad83b31f1414572a9ebf.jpg","text":"TemporaryFile(/tmp/multipartBody621926744213741484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979602830,"filename":"image_17122025_14_24_45_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f432ea4843d1ee57096f1030790aca4.jpg","text":"TemporaryFile(/tmp/multipartBody3189565833029000266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979602830,"filename":"image_17122025_14_25_25_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08bc46d4a377512f8592736ccfa00f29.jpg","text":"TemporaryFile(/tmp/multipartBody4011144899516449861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979602830,"filename":"image_17122025_14_25_35_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795085","file1":"1399795043","file0":"1399795013","file4":"1399795170","file5":"1399795182","file3":"1399795130"},"map_files_photo_id_array":[{"photo_id":"1399795182","filename":"file5"},{"photo_id":"1399795085","filename":"file2"},{"photo_id":"1399795170","filename":"file4"},{"photo_id":"1399795043","filename":"file1"},{"photo_id":"1399795013","filename":"file0"},{"photo_id":"1399795130","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399795085":["hashtag1","hashtag2"]},{"1399795043":["hashtag1","hashtag2"]},{"1399795130":["hashtag1","hashtag2"]},{"1399795013":["hashtag1","hashtag2"]},{"1399795170":["hashtag1","hashtag2"]},{"1399795182":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399795085, 1399795043, 1399795130, 1399795013, 1399795170, 1399795182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.151890993118286 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:53:02.995978
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_45_9740.jpg', '/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_55_9789.jpg', '/home/pi/Desktop/images/17122025/14/25/image_17122025_14_26_05_9798.jpg', '/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_15_10690.jpg', '/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_25_9817.jpg', '/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_35_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_45_9740.jpg
/home/pi/Desktop/images/17122025/14/25/image_17122025_14_25_55_9789.jpg
/home/pi/Desktop/images/17122025/14/25/image_17122025_14_26_05_9798.jpg
/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_15_10690.jpg
/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_25_9817.jpg
/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_35_9863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399795230","1399795227","1399795244","1399795229","1399795213","1399795269"],"photo_ids_order":["1399795213","1399795227","1399795229","1399795230","1399795244","1399795269"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89caf828a47163c91162a4f89332fbeb.jpg","text":"TemporaryFile(/tmp/multipartBody6197125312433259180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979643677,"filename":"image_17122025_14_26_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ea23e99f4198353a2cccf415b0a9b78.jpg","text":"TemporaryFile(/tmp/multipartBody3154306114428211074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979643677,"filename":"image_17122025_14_25_55_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb9b66100d9d0bd3c545681c1044cc50.jpg","text":"TemporaryFile(/tmp/multipartBody2621364479801130591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979643677,"filename":"image_17122025_14_26_25_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/272e499dc3727438f93269f4083d4848.jpg","text":"TemporaryFile(/tmp/multipartBody2628217914180150483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979643677,"filename":"image_17122025_14_26_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33bcb75bc4f198dcf1e5d159e72ef917.jpg","text":"TemporaryFile(/tmp/multipartBody4909366151807715115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979643677,"filename":"image_17122025_14_25_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c8bdea4a28f9cc1a07ace60a15696fa.jpg","text":"TemporaryFile(/tmp/multipartBody8057299513917951201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979643677,"filename":"image_17122025_14_26_35_9863.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795229","file1":"1399795227","file0":"1399795213","file4":"1399795244","file5":"1399795269","file3":"1399795230"},"map_files_photo_id_array":[{"photo_id":"1399795269","filename":"file5"},{"photo_id":"1399795229","filename":"file2"},{"photo_id":"1399795244","filename":"file4"},{"photo_id":"1399795227","filename":"file1"},{"photo_id":"1399795213","filename":"file0"},{"photo_id":"1399795230","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399795230":["hashtag1","hashtag2"]},{"1399795227":["hashtag1","hashtag2"]},{"1399795244":["hashtag1","hashtag2"]},{"1399795229":["hashtag1","hashtag2"]},{"1399795213":["hashtag1","hashtag2"]},{"1399795269":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399795230, 1399795227, 1399795244, 1399795229, 1399795213, 1399795269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.93061447143555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:53:42.315498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_29_2905.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_33_3082.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_44_2605.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_47_2856.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_53_2682.jpg', '/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_56_2648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_29_2905.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_33_3082.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_44_2605.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_47_2856.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_53_2682.jpg
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_51_56_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":["1399795352","1399795349","1399795279","1399795345","1399795324","1399795347"],"photo_ids_order":["1399795279","1399795324","1399795345","1399795347","1399795349","1399795352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f5f0ecefc93f671a08f8556236a2ce0.jpg","text":"TemporaryFile(/tmp/multipartBody3878751148520328953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979683229,"filename":"image_07112025_19_51_56_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3290ece2f04eb185e379dfbb4437a4da.jpg","text":"TemporaryFile(/tmp/multipartBody5943203713478985775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979683229,"filename":"image_07112025_19_51_53_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9ce9be61824f1ad609e37095442ea39.jpg","text":"TemporaryFile(/tmp/multipartBody7571168056635295195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979683229,"filename":"image_07112025_19_51_29_2905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09a2bd7c537e9390bd168e4fca4408f1.jpg","text":"TemporaryFile(/tmp/multipartBody270275624148484874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979683229,"filename":"image_07112025_19_51_44_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61697a7b90c8d0ef730bf643a927a238.jpg","text":"TemporaryFile(/tmp/multipartBody2104747264064465724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979683229,"filename":"image_07112025_19_51_33_3082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/012d16d507644693bd15ee787ff7a72e.jpg","text":"TemporaryFile(/tmp/multipartBody1698963243083768637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979683229,"filename":"image_07112025_19_51_47_2856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795345","file1":"1399795324","file0":"1399795279","file4":"1399795349","file5":"1399795352","file3":"1399795347"},"map_files_photo_id_array":[{"photo_id":"1399795352","filename":"file5"},{"photo_id":"1399795345","filename":"file2"},{"photo_id":"1399795349","filename":"file4"},{"photo_id":"1399795324","filename":"file1"},{"photo_id":"1399795279","filename":"file0"},{"photo_id":"1399795347","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399795352":["hashtag1","hashtag2"]},{"1399795349":["hashtag1","hashtag2"]},{"1399795279":["hashtag1","hashtag2"]},{"1399795345":["hashtag1","hashtag2"]},{"1399795324":["hashtag1","hashtag2"]},{"1399795347":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399795352, 1399795349, 1399795279, 1399795345, 1399795324, 1399795347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24651527404785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:54:22.631893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_45_9929.jpg', '/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_55_9704.jpg', '/home/pi/Desktop/images/17122025/14/26/image_17122025_14_27_05_10699.jpg', '/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_15_9855.jpg', '/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_25_9654.jpg', '/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_35_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_45_9929.jpg
/home/pi/Desktop/images/17122025/14/26/image_17122025_14_26_55_9704.jpg
/home/pi/Desktop/images/17122025/14/26/image_17122025_14_27_05_10699.jpg
/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_15_9855.jpg
/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_25_9654.jpg
/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_35_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":["1399795370","1399795364","1399795355","1399795366","1399795360","1399795362"],"photo_ids_order":["1399795355","1399795360","1399795362","1399795364","1399795366","1399795370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6ad40fa83db31e0791071c9f4b23116.jpg","text":"TemporaryFile(/tmp/multipartBody899430502405532050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979723262,"filename":"image_17122025_14_27_35_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a9468e3ea5ced3102513efd34373f85.jpg","text":"TemporaryFile(/tmp/multipartBody5255399632000305545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979723262,"filename":"image_17122025_14_27_15_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/795ad050d35e7e98a30ce7da9e38298c.jpg","text":"TemporaryFile(/tmp/multipartBody1392367277015945510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979723262,"filename":"image_17122025_14_26_45_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d381d2a6f7312c1e21343bab9684c1a4.jpg","text":"TemporaryFile(/tmp/multipartBody699452552639312742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979723262,"filename":"image_17122025_14_27_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20463a7fc098a54b2d9b82ce8fde1efa.jpg","text":"TemporaryFile(/tmp/multipartBody8714272121818794414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979723262,"filename":"image_17122025_14_26_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2dbbab453bbd207ae19cceaff4f9615.jpg","text":"TemporaryFile(/tmp/multipartBody3591947959758237552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979723262,"filename":"image_17122025_14_27_05_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795362","file1":"1399795360","file0":"1399795355","file4":"1399795366","file5":"1399795370","file3":"1399795364"},"map_files_photo_id_array":[{"photo_id":"1399795370","filename":"file5"},{"photo_id":"1399795362","filename":"file2"},{"photo_id":"1399795366","filename":"file4"},{"photo_id":"1399795360","filename":"file1"},{"photo_id":"1399795355","filename":"file0"},{"photo_id":"1399795364","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399795370":["hashtag1","hashtag2"]},{"1399795364":["hashtag1","hashtag2"]},{"1399795355":["hashtag1","hashtag2"]},{"1399795366":["hashtag1","hashtag2"]},{"1399795360":["hashtag1","hashtag2"]},{"1399795362":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399795370, 1399795364, 1399795355, 1399795366, 1399795360, 1399795362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02703094482422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:55:03.427599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_45_9545.jpg', '/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_55_9873.jpg', '/home/pi/Desktop/images/17122025/14/27/image_17122025_14_28_05_9639.jpg', '/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_15_10581.jpg', '/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_25_9656.jpg', '/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_35_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_45_9545.jpg
/home/pi/Desktop/images/17122025/14/27/image_17122025_14_27_55_9873.jpg
/home/pi/Desktop/images/17122025/14/27/image_17122025_14_28_05_9639.jpg
/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_15_10581.jpg
/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_25_9656.jpg
/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_35_10601.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399795384","1399795375","1399795383","1399795377","1399795386","1399795380"],"photo_ids_order":["1399795375","1399795377","1399795380","1399795383","1399795384","1399795386"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d08ca4e0a8b1a0779acf2ba9aab1aea7.jpg","text":"TemporaryFile(/tmp/multipartBody3485273404062092120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979764152,"filename":"image_17122025_14_28_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d17f4542eb1f998b82514aef63f5bff.jpg","text":"TemporaryFile(/tmp/multipartBody792025308413839472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979764152,"filename":"image_17122025_14_27_45_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e24ad8ee9632a94304b882cbbc159d18.jpg","text":"TemporaryFile(/tmp/multipartBody444683897801486904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979764152,"filename":"image_17122025_14_28_15_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9766b2c04bb36a78bb218766b751b58e.jpg","text":"TemporaryFile(/tmp/multipartBody1928925893647868196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979764152,"filename":"image_17122025_14_27_55_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e9a7435ee01bd0cfe4c2c85e73e0d6b.jpg","text":"TemporaryFile(/tmp/multipartBody598880905182031255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979764152,"filename":"image_17122025_14_28_35_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c593a0a6b0e91c98712dffa201e7f844.jpg","text":"TemporaryFile(/tmp/multipartBody5711395838039408555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979764152,"filename":"image_17122025_14_28_05_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795380","file1":"1399795377","file0":"1399795375","file4":"1399795384","file5":"1399795386","file3":"1399795383"},"map_files_photo_id_array":[{"photo_id":"1399795386","filename":"file5"},{"photo_id":"1399795380","filename":"file2"},{"photo_id":"1399795384","filename":"file4"},{"photo_id":"1399795377","filename":"file1"},{"photo_id":"1399795375","filename":"file0"},{"photo_id":"1399795383","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399795384":["hashtag1","hashtag2"]},{"1399795375":["hashtag1","hashtag2"]},{"1399795383":["hashtag1","hashtag2"]},{"1399795377":["hashtag1","hashtag2"]},{"1399795386":["hashtag1","hashtag2"]},{"1399795380":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399795384, 1399795375, 1399795383, 1399795377, 1399795386, 1399795380)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92712211608887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:55:42.706083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/51/image_07112025_19_52_00_3566.jpg', '/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_24_3193.jpg', '/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_27_2866.jpg', '/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_32_2615.jpg', '/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_40_8292.jpg', '/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_42_1661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/51/image_07112025_19_52_00_3566.jpg
/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_24_3193.jpg
/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_27_2866.jpg
/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_32_2615.jpg
/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_40_8292.jpg
/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_42_1661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399795401","1399795397","1399795399","1399795396","1399795395","1399795392"],"photo_ids_order":["1399795392","1399795395","1399795396","1399795397","1399795399","1399795401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e81f1e33be595845c7679d2c203f1a08.jpg","text":"TemporaryFile(/tmp/multipartBody2500267025588459446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979803475,"filename":"image_07112025_19_52_42_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22b9bc7150fb7c442b7088a515a5c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody6848695541274286911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979803475,"filename":"image_07112025_19_52_32_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9ba0cf4ae83452388d413204a1fc094.jpg","text":"TemporaryFile(/tmp/multipartBody5120361332852194796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979803475,"filename":"image_07112025_19_52_40_8292.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c3bfe78626c9f6f6a4ed444ab11fba5.jpg","text":"TemporaryFile(/tmp/multipartBody5722932725101939660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979803475,"filename":"image_07112025_19_52_27_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93f0dea83c0da50fab3543ff615c725e.jpg","text":"TemporaryFile(/tmp/multipartBody4876614919712267692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979803475,"filename":"image_07112025_19_52_24_3193.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdbcd9f34586f3ae823ba842aff90429.jpg","text":"TemporaryFile(/tmp/multipartBody4337651678390446694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979803475,"filename":"image_07112025_19_52_00_3566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795396","file1":"1399795395","file0":"1399795392","file4":"1399795399","file5":"1399795401","file3":"1399795397"},"map_files_photo_id_array":[{"photo_id":"1399795401","filename":"file5"},{"photo_id":"1399795396","filename":"file2"},{"photo_id":"1399795399","filename":"file4"},{"photo_id":"1399795395","filename":"file1"},{"photo_id":"1399795392","filename":"file0"},{"photo_id":"1399795397","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399795401":["hashtag1","hashtag2"]},{"1399795397":["hashtag1","hashtag2"]},{"1399795399":["hashtag1","hashtag2"]},{"1399795396":["hashtag1","hashtag2"]},{"1399795395":["hashtag1","hashtag2"]},{"1399795392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399795401, 1399795397, 1399795399, 1399795396, 1399795395, 1399795392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93318557739258 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 14:56:22.000179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_45_9852.jpg', '/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_55_9638.jpg', '/home/pi/Desktop/images/17122025/14/28/image_17122025_14_29_05_9669.jpg', '/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_15_10692.jpg', '/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_25_9807.jpg', '/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_35_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_45_9852.jpg
/home/pi/Desktop/images/17122025/14/28/image_17122025_14_28_55_9638.jpg
/home/pi/Desktop/images/17122025/14/28/image_17122025_14_29_05_9669.jpg
/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_15_10692.jpg
/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_25_9807.jpg
/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_35_9645.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399795406","1399795415","1399795409","1399795402","1399795411","1399795405"],"photo_ids_order":["1399795402","1399795405","1399795406","1399795409","1399795411","1399795415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b7e7436fd68a2075fb3b0a147cb0b56.jpg","text":"TemporaryFile(/tmp/multipartBody9164995478646357281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979842619,"filename":"image_17122025_14_29_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/216d0cac95f28739479bd3d247c93dd1.jpg","text":"TemporaryFile(/tmp/multipartBody9146925714793461455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979842619,"filename":"image_17122025_14_29_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cbce113da6b6da8bbf5b4894d92b10a.jpg","text":"TemporaryFile(/tmp/multipartBody7998575405376061759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979842619,"filename":"image_17122025_14_29_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73735212d780a87d2e1cd525dbc2b60a.jpg","text":"TemporaryFile(/tmp/multipartBody7984349097195934174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979842619,"filename":"image_17122025_14_28_45_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a264cde8192c9d5900689077ecafec6.jpg","text":"TemporaryFile(/tmp/multipartBody4127146393831976330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979842619,"filename":"image_17122025_14_29_25_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bad76c0195453f73e593c3c5cc2b3c1.jpg","text":"TemporaryFile(/tmp/multipartBody2124394206288512210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979842619,"filename":"image_17122025_14_28_55_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795406","file1":"1399795405","file0":"1399795402","file4":"1399795411","file5":"1399795415","file3":"1399795409"},"map_files_photo_id_array":[{"photo_id":"1399795415","filename":"file5"},{"photo_id":"1399795406","filename":"file2"},{"photo_id":"1399795411","filename":"file4"},{"photo_id":"1399795405","filename":"file1"},{"photo_id":"1399795402","filename":"file0"},{"photo_id":"1399795409","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399795406":["hashtag1","hashtag2"]},{"1399795415":["hashtag1","hashtag2"]},{"1399795409":["hashtag1","hashtag2"]},{"1399795402":["hashtag1","hashtag2"]},{"1399795411":["hashtag1","hashtag2"]},{"1399795405":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399795406, 1399795415, 1399795409, 1399795402, 1399795411, 1399795405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.011152267456055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:57:02.927720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_45_10732.jpg', '/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_55_9767.jpg', '/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_14_10061.jpg', '/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_25_10787.jpg', '/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_35_9700.jpg', '/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_44_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_45_10732.jpg
/home/pi/Desktop/images/17122025/14/29/image_17122025_14_29_55_9767.jpg
/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_14_10061.jpg
/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_25_10787.jpg
/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_35_9700.jpg
/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_44_9711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399795422","1399795419","1399795424","1399795418","1399795421","1399795420"],"photo_ids_order":["1399795418","1399795419","1399795420","1399795421","1399795422","1399795424"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50addf7ad29a30fafd6f4ada58e43f79.jpg","text":"TemporaryFile(/tmp/multipartBody7847866151102900588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979883607,"filename":"image_17122025_14_30_35_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bb1532ccca3d31c4ebbfc41600a2efd.jpg","text":"TemporaryFile(/tmp/multipartBody4133378816733685264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979883607,"filename":"image_17122025_14_29_55_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/026618568c7bff20ed5c6863cfb7cbeb.jpg","text":"TemporaryFile(/tmp/multipartBody4987522215799311324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979883607,"filename":"image_17122025_14_30_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfb9818d2456c9902a1e6f1282d4fa7e.jpg","text":"TemporaryFile(/tmp/multipartBody7914046526107740365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979883607,"filename":"image_17122025_14_29_45_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa88c1a309ebe300211ce7945225fe39.jpg","text":"TemporaryFile(/tmp/multipartBody9114799401565526145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979883607,"filename":"image_17122025_14_30_25_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29ac520bb9b02334ff4c2f8396cc02c2.jpg","text":"TemporaryFile(/tmp/multipartBody162410405680618564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979883607,"filename":"image_17122025_14_30_14_10061.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795420","file1":"1399795419","file0":"1399795418","file4":"1399795422","file5":"1399795424","file3":"1399795421"},"map_files_photo_id_array":[{"photo_id":"1399795424","filename":"file5"},{"photo_id":"1399795420","filename":"file2"},{"photo_id":"1399795422","filename":"file4"},{"photo_id":"1399795419","filename":"file1"},{"photo_id":"1399795418","filename":"file0"},{"photo_id":"1399795421","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399795422":["hashtag1","hashtag2"]},{"1399795419":["hashtag1","hashtag2"]},{"1399795424":["hashtag1","hashtag2"]},{"1399795418":["hashtag1","hashtag2"]},{"1399795421":["hashtag1","hashtag2"]},{"1399795420":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399795422, 1399795419, 1399795424, 1399795418, 1399795421, 1399795420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23555040359497 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:57:42.192716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_47_1769.jpg', '/home/pi/Desktop/images/07112025/19/52/image_07112025_19_53_00_3727.jpg', '/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_02_2874.jpg', '/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_05_2493.jpg', '/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_11_2687.jpg', '/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_20_3568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/52/image_07112025_19_52_47_1769.jpg
/home/pi/Desktop/images/07112025/19/52/image_07112025_19_53_00_3727.jpg
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_02_2874.jpg
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_05_2493.jpg
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_11_2687.jpg
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_20_3568.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399795436","1399795430","1399795433","1399795435","1399795432","1399795434"],"photo_ids_order":["1399795430","1399795432","1399795433","1399795434","1399795435","1399795436"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a589ad2ede358bd1c2587f8762b3e987.jpg","text":"TemporaryFile(/tmp/multipartBody2699317923222796809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979922961,"filename":"image_07112025_19_53_20_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ddfe293ba675cf06f5725f59e1572aa.jpg","text":"TemporaryFile(/tmp/multipartBody7596010893680855829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979922961,"filename":"image_07112025_19_52_47_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d82fe1d8acc87ff0824d0a7bb59e2995.jpg","text":"TemporaryFile(/tmp/multipartBody6608628433562892765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979922961,"filename":"image_07112025_19_53_02_2874.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86f17cd86e0c7578ecb9f8ec1c378d87.jpg","text":"TemporaryFile(/tmp/multipartBody8885603631943081062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979922961,"filename":"image_07112025_19_53_11_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81e51eb30658c85726c72391d85521da.jpg","text":"TemporaryFile(/tmp/multipartBody4323133485597710156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979922961,"filename":"image_07112025_19_53_00_3727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88352ec1cb2a3ed21e3cc91ae96f7377.jpg","text":"TemporaryFile(/tmp/multipartBody6617860408494661443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765979922961,"filename":"image_07112025_19_53_05_2493.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795433","file1":"1399795432","file0":"1399795430","file4":"1399795435","file5":"1399795436","file3":"1399795434"},"map_files_photo_id_array":[{"photo_id":"1399795436","filename":"file5"},{"photo_id":"1399795433","filename":"file2"},{"photo_id":"1399795435","filename":"file4"},{"photo_id":"1399795432","filename":"file1"},{"photo_id":"1399795430","filename":"file0"},{"photo_id":"1399795434","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399795436":["hashtag1","hashtag2"]},{"1399795430":["hashtag1","hashtag2"]},{"1399795433":["hashtag1","hashtag2"]},{"1399795435":["hashtag1","hashtag2"]},{"1399795432":["hashtag1","hashtag2"]},{"1399795434":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399795436, 1399795430, 1399795433, 1399795435, 1399795432, 1399795434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55441403388977 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 14:59:03.667892
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_55_10594.jpg', '/home/pi/Desktop/images/17122025/14/30/image_17122025_14_31_05_9727.jpg', '/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_14_9623.jpg', '/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_25_10650.jpg', '/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_35_9651.jpg', '/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_44_9547.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/30/image_17122025_14_30_55_10594.jpg
/home/pi/Desktop/images/17122025/14/30/image_17122025_14_31_05_9727.jpg
/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_14_9623.jpg
/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_25_10650.jpg
/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_35_9651.jpg
/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_44_9547.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399795800","1399795685","1399795766","1399795648","1399795842","1399795725"],"photo_ids_order":["1399795648","1399795685","1399795725","1399795766","1399795800","1399795842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fef22a45d546ff0b6e036b636134ec7.jpg","text":"TemporaryFile(/tmp/multipartBody1134835414288499849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980004456,"filename":"image_17122025_14_31_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6858f9d961faf01a045539941bdcb576.jpg","text":"TemporaryFile(/tmp/multipartBody5962279257261500330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980004456,"filename":"image_17122025_14_31_05_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb9888f188954c30d31e1b4a18130749.jpg","text":"TemporaryFile(/tmp/multipartBody1903780312823769633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980004456,"filename":"image_17122025_14_31_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bfd5db7f964e74ddf428610e2731719.jpg","text":"TemporaryFile(/tmp/multipartBody6810141224145353568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980004456,"filename":"image_17122025_14_30_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71d9f288b169289de48df726ce16761e.jpg","text":"TemporaryFile(/tmp/multipartBody7709345059309108821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980004456,"filename":"image_17122025_14_31_44_9547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/057e0b21856e04da9505ccc611646fa7.jpg","text":"TemporaryFile(/tmp/multipartBody8088868068857987385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980004456,"filename":"image_17122025_14_31_14_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399795725","file1":"1399795685","file0":"1399795648","file4":"1399795800","file5":"1399795842","file3":"1399795766"},"map_files_photo_id_array":[{"photo_id":"1399795842","filename":"file5"},{"photo_id":"1399795725","filename":"file2"},{"photo_id":"1399795800","filename":"file4"},{"photo_id":"1399795685","filename":"file1"},{"photo_id":"1399795648","filename":"file0"},{"photo_id":"1399795766","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399795800":["hashtag1","hashtag2"]},{"1399795685":["hashtag1","hashtag2"]},{"1399795766":["hashtag1","hashtag2"]},{"1399795648":["hashtag1","hashtag2"]},{"1399795842":["hashtag1","hashtag2"]},{"1399795725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399795800, 1399795685, 1399795766, 1399795648, 1399795842, 1399795725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.523524045944214 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 14:59:42.525900
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_27_3697.jpg', '/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_32_2593.jpg', '/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_41_2716.jpg', '/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_45_3653.jpg', '/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_50_2710.jpg', '/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_54_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_27_3697.jpg
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_32_2593.jpg
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_41_2716.jpg
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_45_3653.jpg
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_50_2710.jpg
/home/pi/Desktop/images/07112025/19/53/image_07112025_19_53_54_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":["1399795964","1399796036","1399796000","1399796032","1399796034","1399796025"],"photo_ids_order":["1399795964","1399796000","1399796025","1399796032","1399796034","1399796036"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a32ec8629d009a91a29a41e4212c253d.jpg","text":"TemporaryFile(/tmp/multipartBody97654362272895989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980043325,"filename":"image_07112025_19_53_27_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd056e5c34dd1c19c043b2f3a1259058.jpg","text":"TemporaryFile(/tmp/multipartBody1614799701000026844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980043325,"filename":"image_07112025_19_53_54_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3a2dedb8d7436d7adefb113b69edbe4.jpg","text":"TemporaryFile(/tmp/multipartBody3499068581828558301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980043325,"filename":"image_07112025_19_53_32_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14030c25f3d0b173022d0509887732d6.jpg","text":"TemporaryFile(/tmp/multipartBody4132196919382873737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980043325,"filename":"image_07112025_19_53_45_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d53fc5b1db07bba2a348bbd3fb4239cf.jpg","text":"TemporaryFile(/tmp/multipartBody3315087776506052984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980043325,"filename":"image_07112025_19_53_50_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb12e9499c51395d7f2f74480eb99517.jpg","text":"TemporaryFile(/tmp/multipartBody8859722287991225309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980043325,"filename":"image_07112025_19_53_41_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399796025","file1":"1399796000","file0":"1399795964","file4":"1399796034","file5":"1399796036","file3":"1399796032"},"map_files_photo_id_array":[{"photo_id":"1399796036","filename":"file5"},{"photo_id":"1399796025","filename":"file2"},{"photo_id":"1399796034","filename":"file4"},{"photo_id":"1399796000","filename":"file1"},{"photo_id":"1399795964","filename":"file0"},{"photo_id":"1399796032","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399795964":["hashtag1","hashtag2"]},{"1399796036":["hashtag1","hashtag2"]},{"1399796000":["hashtag1","hashtag2"]},{"1399796032":["hashtag1","hashtag2"]},{"1399796034":["hashtag1","hashtag2"]},{"1399796025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399795964, 1399796036, 1399796000, 1399796032, 1399796034, 1399796025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56578063964844 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:00:22.809040
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_55_10643.jpg', '/home/pi/Desktop/images/17122025/14/31/image_17122025_14_32_05_9670.jpg', '/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_14_9719.jpg', '/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_25_10632.jpg', '/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_35_9777.jpg', '/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_45_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/31/image_17122025_14_31_55_10643.jpg
/home/pi/Desktop/images/17122025/14/31/image_17122025_14_32_05_9670.jpg
/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_14_9719.jpg
/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_25_10632.jpg
/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_35_9777.jpg
/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_45_9924.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399796045","1399796054","1399796048","1399796053","1399796076","1399796043"],"photo_ids_order":["1399796043","1399796045","1399796048","1399796053","1399796054","1399796076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd9ee26c72fa9b80fdf2f93187a09017.jpg","text":"TemporaryFile(/tmp/multipartBody2121027748840247238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980083457,"filename":"image_17122025_14_32_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0cdaaa3280fc08ff00dff145447df1c.jpg","text":"TemporaryFile(/tmp/multipartBody3117805635442723238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980083457,"filename":"image_17122025_14_32_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c805660804aa7d535d9ee6d65295197.jpg","text":"TemporaryFile(/tmp/multipartBody377212893166580576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980083457,"filename":"image_17122025_14_32_14_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7d6e8042ba98d5ee5c436316abc8165.jpg","text":"TemporaryFile(/tmp/multipartBody3947808492343731104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980083457,"filename":"image_17122025_14_32_25_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45019f0a5f80a91080dcc7022ab63555.jpg","text":"TemporaryFile(/tmp/multipartBody4215860224037832499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980083457,"filename":"image_17122025_14_32_45_9924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9d259634b105daf888a868c7fa7b09b.jpg","text":"TemporaryFile(/tmp/multipartBody905264809527073053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980083457,"filename":"image_17122025_14_31_55_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399796048","file1":"1399796045","file0":"1399796043","file4":"1399796054","file5":"1399796076","file3":"1399796053"},"map_files_photo_id_array":[{"photo_id":"1399796076","filename":"file5"},{"photo_id":"1399796048","filename":"file2"},{"photo_id":"1399796054","filename":"file4"},{"photo_id":"1399796045","filename":"file1"},{"photo_id":"1399796043","filename":"file0"},{"photo_id":"1399796053","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399796045":["hashtag1","hashtag2"]},{"1399796054":["hashtag1","hashtag2"]},{"1399796048":["hashtag1","hashtag2"]},{"1399796053":["hashtag1","hashtag2"]},{"1399796076":["hashtag1","hashtag2"]},{"1399796043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399796045, 1399796054, 1399796048, 1399796053, 1399796076, 1399796043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.33941459655762 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:01:02.621657
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_54_9704.jpg', '/home/pi/Desktop/images/17122025/14/32/image_17122025_14_33_05_10730.jpg', '/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_15_9670.jpg', '/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_24_9679.jpg', '/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_35_10640.jpg', '/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_45_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/32/image_17122025_14_32_54_9704.jpg
/home/pi/Desktop/images/17122025/14/32/image_17122025_14_33_05_10730.jpg
/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_15_9670.jpg
/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_24_9679.jpg
/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_35_10640.jpg
/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_45_9754.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":["1399796489","1399796381","1399796420","1399796341","1399796274","1399796220"],"photo_ids_order":["1399796220","1399796274","1399796341","1399796381","1399796420","1399796489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b6ff0891129f4ff5a97a60152384b90.jpg","text":"TemporaryFile(/tmp/multipartBody5998892387098683897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980123297,"filename":"image_17122025_14_33_45_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e738cf05fad96b2d87f8f2ae253e8674.jpg","text":"TemporaryFile(/tmp/multipartBody14884659137635943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980123297,"filename":"image_17122025_14_33_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba26138f45c1e46ab0b69b614c50b737.jpg","text":"TemporaryFile(/tmp/multipartBody6768177609038108354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980123297,"filename":"image_17122025_14_33_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f54530793797aa1073be8e82db96f547.jpg","text":"TemporaryFile(/tmp/multipartBody7968116237299738893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980123297,"filename":"image_17122025_14_33_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/571f56297a0a82afc49509f869493046.jpg","text":"TemporaryFile(/tmp/multipartBody3377437722152551853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980123297,"filename":"image_17122025_14_33_05_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d6be98ebe51d18861271f794745a3f9.jpg","text":"TemporaryFile(/tmp/multipartBody6021703683084792483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980123297,"filename":"image_17122025_14_32_54_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399796341","file1":"1399796274","file0":"1399796220","file4":"1399796420","file5":"1399796489","file3":"1399796381"},"map_files_photo_id_array":[{"photo_id":"1399796489","filename":"file5"},{"photo_id":"1399796341","filename":"file2"},{"photo_id":"1399796420","filename":"file4"},{"photo_id":"1399796274","filename":"file1"},{"photo_id":"1399796220","filename":"file0"},{"photo_id":"1399796381","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399796489":["hashtag1","hashtag2"]},{"1399796381":["hashtag1","hashtag2"]},{"1399796420":["hashtag1","hashtag2"]},{"1399796341":["hashtag1","hashtag2"]},{"1399796274":["hashtag1","hashtag2"]},{"1399796220":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399796489, 1399796381, 1399796420, 1399796341, 1399796274, 1399796220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.77140522003174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:02:02.740249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_54_9668.jpg', '/home/pi/Desktop/images/17122025/14/33/image_17122025_14_34_04_9811.jpg', '/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_15_10784.jpg', '/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_25_9813.jpg', '/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_34_9604.jpg', '/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_44_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/33/image_17122025_14_33_54_9668.jpg
/home/pi/Desktop/images/17122025/14/33/image_17122025_14_34_04_9811.jpg
/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_15_10784.jpg
/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_25_9813.jpg
/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_34_9604.jpg
/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_44_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":["1399796966","1399796896","1399796860","1399796929","1399796824","1399797003"],"photo_ids_order":["1399796824","1399796860","1399796896","1399796929","1399796966","1399797003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d352e5d0160ffdb01c95f175ee139cea.jpg","text":"TemporaryFile(/tmp/multipartBody461622017045736362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980183375,"filename":"image_17122025_14_34_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a89cdda013ba515d8fdee74d8f815d9.jpg","text":"TemporaryFile(/tmp/multipartBody2330637230060558760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980183375,"filename":"image_17122025_14_34_15_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b31953568c1ae0104889a810ec58582a.jpg","text":"TemporaryFile(/tmp/multipartBody2208608429800290498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980183375,"filename":"image_17122025_14_34_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd87903041c276ec2c99fdca9f56195d.jpg","text":"TemporaryFile(/tmp/multipartBody4317854068925710234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980183375,"filename":"image_17122025_14_34_25_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92545d01f5888bf403dd1699342f8950.jpg","text":"TemporaryFile(/tmp/multipartBody4329304165312651133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980183375,"filename":"image_17122025_14_33_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/735f0b41b65da43e7ca1edfe06021ad5.jpg","text":"TemporaryFile(/tmp/multipartBody6573794585977383894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980183375,"filename":"image_17122025_14_34_44_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399796896","file1":"1399796860","file0":"1399796824","file4":"1399796966","file5":"1399797003","file3":"1399796929"},"map_files_photo_id_array":[{"photo_id":"1399797003","filename":"file5"},{"photo_id":"1399796896","filename":"file2"},{"photo_id":"1399796966","filename":"file4"},{"photo_id":"1399796860","filename":"file1"},{"photo_id":"1399796824","filename":"file0"},{"photo_id":"1399796929","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399796966":["hashtag1","hashtag2"]},{"1399796896":["hashtag1","hashtag2"]},{"1399796860":["hashtag1","hashtag2"]},{"1399796929":["hashtag1","hashtag2"]},{"1399796824":["hashtag1","hashtag2"]},{"1399797003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399796966, 1399796896, 1399796860, 1399796929, 1399796824, 1399797003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73420262336731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:02:42.159312
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_17_2672.jpg', '/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_20_2574.jpg', '/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_23_3661.jpg', '/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_26_2681.jpg', '/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_29_2649.jpg', '/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_32_3658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_17_2672.jpg
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_20_2574.jpg
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_23_3661.jpg
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_26_2681.jpg
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_29_2649.jpg
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_32_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":["1399797184","1399797253","1399797255","1399797141","1399797222","1399797248"],"photo_ids_order":["1399797141","1399797184","1399797222","1399797248","1399797253","1399797255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d83703cce3756b15a378542e0a9c8fd.jpg","text":"TemporaryFile(/tmp/multipartBody3114350415809453056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980222925,"filename":"image_07112025_19_54_20_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fc3fdd109f6d68801886cb9d115d913.jpg","text":"TemporaryFile(/tmp/multipartBody1589486597272677236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980222925,"filename":"image_07112025_19_54_29_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f639bdeee4f4c7be7a7db0918506772.jpg","text":"TemporaryFile(/tmp/multipartBody203672255942567704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980222925,"filename":"image_07112025_19_54_32_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b28f5f85af556fed69f8e0974aabffc6.jpg","text":"TemporaryFile(/tmp/multipartBody7267995308622331303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980222925,"filename":"image_07112025_19_54_17_2672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e26af967821ab9df5f61bd909b1e3da1.jpg","text":"TemporaryFile(/tmp/multipartBody2546736752850999308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980222925,"filename":"image_07112025_19_54_23_3661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb5811ae54f79cb1d445e2195d3f6a11.jpg","text":"TemporaryFile(/tmp/multipartBody1846357774308228644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980222925,"filename":"image_07112025_19_54_26_2681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797222","file1":"1399797184","file0":"1399797141","file4":"1399797253","file5":"1399797255","file3":"1399797248"},"map_files_photo_id_array":[{"photo_id":"1399797255","filename":"file5"},{"photo_id":"1399797222","filename":"file2"},{"photo_id":"1399797253","filename":"file4"},{"photo_id":"1399797184","filename":"file1"},{"photo_id":"1399797141","filename":"file0"},{"photo_id":"1399797248","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399797184":["hashtag1","hashtag2"]},{"1399797253":["hashtag1","hashtag2"]},{"1399797255":["hashtag1","hashtag2"]},{"1399797141":["hashtag1","hashtag2"]},{"1399797222":["hashtag1","hashtag2"]},{"1399797248":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399797184, 1399797253, 1399797255, 1399797141, 1399797222, 1399797248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.910584449768066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:03:22.387162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_55_10732.jpg', '/home/pi/Desktop/images/17122025/14/34/image_17122025_14_35_05_9947.jpg', '/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_15_9799.jpg', '/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_24_9563.jpg', '/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_35_10733.jpg', '/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_45_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/34/image_17122025_14_34_55_10732.jpg
/home/pi/Desktop/images/17122025/14/34/image_17122025_14_35_05_9947.jpg
/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_15_9799.jpg
/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_24_9563.jpg
/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_35_10733.jpg
/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_45_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":["1399797277","1399797256","1399797259","1399797264","1399797260","1399797263"],"photo_ids_order":["1399797256","1399797259","1399797260","1399797263","1399797264","1399797277"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2749a0aafa194111d900087a3530770f.jpg","text":"TemporaryFile(/tmp/multipartBody6741735115565887860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980263042,"filename":"image_17122025_14_35_45_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fda49eccf0770225e18a12d6704fcad3.jpg","text":"TemporaryFile(/tmp/multipartBody5045362677775496975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980263042,"filename":"image_17122025_14_34_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79f150bf3b7a721a35963e2ffb3cbe3c.jpg","text":"TemporaryFile(/tmp/multipartBody7892384836339854933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980263042,"filename":"image_17122025_14_35_05_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77a909b31ef3b797358935b8921e1a47.jpg","text":"TemporaryFile(/tmp/multipartBody8864171480457567442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980263042,"filename":"image_17122025_14_35_35_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03bdeccbb74edaa0b83e67fe00808b1a.jpg","text":"TemporaryFile(/tmp/multipartBody8705718524005066562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980263042,"filename":"image_17122025_14_35_15_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdb258154ef33aa8747cb2f0f276ec4d.jpg","text":"TemporaryFile(/tmp/multipartBody7842307189154024785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980263042,"filename":"image_17122025_14_35_24_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797260","file1":"1399797259","file0":"1399797256","file4":"1399797264","file5":"1399797277","file3":"1399797263"},"map_files_photo_id_array":[{"photo_id":"1399797277","filename":"file5"},{"photo_id":"1399797260","filename":"file2"},{"photo_id":"1399797264","filename":"file4"},{"photo_id":"1399797259","filename":"file1"},{"photo_id":"1399797256","filename":"file0"},{"photo_id":"1399797263","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797277":["hashtag1","hashtag2"]},{"1399797256":["hashtag1","hashtag2"]},{"1399797259":["hashtag1","hashtag2"]},{"1399797264":["hashtag1","hashtag2"]},{"1399797260":["hashtag1","hashtag2"]},{"1399797263":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797277, 1399797256, 1399797259, 1399797264, 1399797260, 1399797263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95844054222107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:04:03.406786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_54_9558.jpg', '/home/pi/Desktop/images/17122025/14/35/image_17122025_14_36_05_10779.jpg', '/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_15_9603.jpg', '/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_24_9581.jpg', '/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_35_10666.jpg', '/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_44_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/35/image_17122025_14_35_54_9558.jpg
/home/pi/Desktop/images/17122025/14/35/image_17122025_14_36_05_10779.jpg
/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_15_9603.jpg
/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_24_9581.jpg
/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_35_10666.jpg
/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_44_9630.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797490","1399797492","1399797486","1399797491","1399797452","1399797413"],"photo_ids_order":["1399797413","1399797452","1399797486","1399797490","1399797491","1399797492"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33040331258f6fcde43f84440d1cde38.jpg","text":"TemporaryFile(/tmp/multipartBody7871734978679689531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980304060,"filename":"image_17122025_14_36_24_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8dc0a9a239723adc2129e7ec239504e4.jpg","text":"TemporaryFile(/tmp/multipartBody2196407381967772585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980304060,"filename":"image_17122025_14_36_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00513f323669600e1882193735d9fec7.jpg","text":"TemporaryFile(/tmp/multipartBody3248965767084988724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980304060,"filename":"image_17122025_14_36_15_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f27af9d289a9b0ee5ae6d761751279c.jpg","text":"TemporaryFile(/tmp/multipartBody2442047269571195987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980304060,"filename":"image_17122025_14_36_35_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e62b4e80a6805e9a02f6f4e4132c415.jpg","text":"TemporaryFile(/tmp/multipartBody6965097255601865895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980304060,"filename":"image_17122025_14_36_05_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67039ca0ffc4eb3e2cecaa8bcbc844df.jpg","text":"TemporaryFile(/tmp/multipartBody1777116091959102619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980304060,"filename":"image_17122025_14_35_54_9558.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797486","file1":"1399797452","file0":"1399797413","file4":"1399797491","file5":"1399797492","file3":"1399797490"},"map_files_photo_id_array":[{"photo_id":"1399797492","filename":"file5"},{"photo_id":"1399797486","filename":"file2"},{"photo_id":"1399797491","filename":"file4"},{"photo_id":"1399797452","filename":"file1"},{"photo_id":"1399797413","filename":"file0"},{"photo_id":"1399797490","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797490":["hashtag1","hashtag2"]},{"1399797492":["hashtag1","hashtag2"]},{"1399797486":["hashtag1","hashtag2"]},{"1399797491":["hashtag1","hashtag2"]},{"1399797452":["hashtag1","hashtag2"]},{"1399797413":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797490, 1399797492, 1399797486, 1399797491, 1399797452, 1399797413)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62719798088074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:04:42.741199
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_35_2872.jpg', '/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_38_2707.jpg', '/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_44_3584.jpg', '/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_53_3660.jpg', '/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_56_2641.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_08_2776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_35_2872.jpg
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_38_2707.jpg
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_44_3584.jpg
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_53_3660.jpg
/home/pi/Desktop/images/07112025/19/54/image_07112025_19_54_56_2641.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_08_2776.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797616","1399797610","1399797613","1399797564","1399797603","1399797623"],"photo_ids_order":["1399797564","1399797603","1399797610","1399797613","1399797616","1399797623"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fce70906610822bb7e34f46ec50d1454.jpg","text":"TemporaryFile(/tmp/multipartBody780972930178457029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980343548,"filename":"image_07112025_19_54_56_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae80dab0741da7c1e86c1aaaefdefa1f.jpg","text":"TemporaryFile(/tmp/multipartBody8604436475358360409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980343548,"filename":"image_07112025_19_54_44_3584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6b07ce926b2c65514e68457c9b5f32c.jpg","text":"TemporaryFile(/tmp/multipartBody5366867646746533158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980343548,"filename":"image_07112025_19_54_53_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff60d2cf3c44d47145118af53c00cce5.jpg","text":"TemporaryFile(/tmp/multipartBody3129517742790723940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980343548,"filename":"image_07112025_19_54_35_2872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd0283f80c5481f0747d69ffc8aabbb8.jpg","text":"TemporaryFile(/tmp/multipartBody761540265917887081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980343548,"filename":"image_07112025_19_54_38_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b044e6108bf4746ec0bb4b69c8c341ee.jpg","text":"TemporaryFile(/tmp/multipartBody7769526366680955512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980343548,"filename":"image_07112025_19_55_08_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797610","file1":"1399797603","file0":"1399797564","file4":"1399797616","file5":"1399797623","file3":"1399797613"},"map_files_photo_id_array":[{"photo_id":"1399797623","filename":"file5"},{"photo_id":"1399797610","filename":"file2"},{"photo_id":"1399797616","filename":"file4"},{"photo_id":"1399797603","filename":"file1"},{"photo_id":"1399797564","filename":"file0"},{"photo_id":"1399797613","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399797616":["hashtag1","hashtag2"]},{"1399797610":["hashtag1","hashtag2"]},{"1399797613":["hashtag1","hashtag2"]},{"1399797564":["hashtag1","hashtag2"]},{"1399797603":["hashtag1","hashtag2"]},{"1399797623":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399797616, 1399797610, 1399797613, 1399797564, 1399797603, 1399797623)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 38.68195867538452 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 15:05:32.042886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:05:42.138951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_11_2719.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_14_3705.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_17_2651.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_20_2797.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_23_2886.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_29_2616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_11_2719.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_14_3705.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_17_2651.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_20_2797.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_23_2886.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_29_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":["1399797643","1399797646","1399797645","1399797648","1399797644","1399797647"],"photo_ids_order":["1399797643","1399797644","1399797645","1399797646","1399797647","1399797648"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf84b933d4ba854ba97641549368ad64.jpg","text":"TemporaryFile(/tmp/multipartBody3935251622733825870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980402905,"filename":"image_07112025_19_55_11_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc75057a992add42876deda4f5dbc2f4.jpg","text":"TemporaryFile(/tmp/multipartBody33346458956360066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980402905,"filename":"image_07112025_19_55_20_2797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68e9fdb96f9740e3c209b2ba12925c71.jpg","text":"TemporaryFile(/tmp/multipartBody8762907230509054065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980402905,"filename":"image_07112025_19_55_17_2651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d153b9862b2ca2625898aafa18c77c91.jpg","text":"TemporaryFile(/tmp/multipartBody8101322405517836719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980402905,"filename":"image_07112025_19_55_29_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fae8b80c45b3bda5843119b5faf11c25.jpg","text":"TemporaryFile(/tmp/multipartBody331607726563630856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980402905,"filename":"image_07112025_19_55_14_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67b4014e5bc96b1b669225d335a35ba5.jpg","text":"TemporaryFile(/tmp/multipartBody3165576905990966566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980402905,"filename":"image_07112025_19_55_23_2886.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797645","file1":"1399797644","file0":"1399797643","file4":"1399797647","file5":"1399797648","file3":"1399797646"},"map_files_photo_id_array":[{"photo_id":"1399797648","filename":"file5"},{"photo_id":"1399797645","filename":"file2"},{"photo_id":"1399797647","filename":"file4"},{"photo_id":"1399797644","filename":"file1"},{"photo_id":"1399797643","filename":"file0"},{"photo_id":"1399797646","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399797643":["hashtag1","hashtag2"]},{"1399797646":["hashtag1","hashtag2"]},{"1399797645":["hashtag1","hashtag2"]},{"1399797648":["hashtag1","hashtag2"]},{"1399797644":["hashtag1","hashtag2"]},{"1399797647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399797643, 1399797646, 1399797645, 1399797648, 1399797644, 1399797647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.97620701789856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:06:22.366189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_55_10630.jpg', '/home/pi/Desktop/images/17122025/14/36/image_17122025_14_37_05_9842.jpg', '/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_15_9714.jpg', '/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_24_9788.jpg', '/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_34_9718.jpg', '/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_45_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/36/image_17122025_14_36_55_10630.jpg
/home/pi/Desktop/images/17122025/14/36/image_17122025_14_37_05_9842.jpg
/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_15_9714.jpg
/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_24_9788.jpg
/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_34_9718.jpg
/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_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":["1399797652","1399797657","1399797660","1399797654","1399797656","1399797650"],"photo_ids_order":["1399797650","1399797652","1399797654","1399797656","1399797657","1399797660"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1701fe5217edfdd47482174105d0986.jpg","text":"TemporaryFile(/tmp/multipartBody5263019968910777954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980442987,"filename":"image_17122025_14_37_05_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6dc6b448b69f7b5c9ebe1da663afab6.jpg","text":"TemporaryFile(/tmp/multipartBody4746613732119124218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980442987,"filename":"image_17122025_14_37_34_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad59fda9cf170370e12663615b28a446.jpg","text":"TemporaryFile(/tmp/multipartBody4005839651335185173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980442987,"filename":"image_17122025_14_37_45_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5a06d711edfac4d9e65251ee106a7f6.jpg","text":"TemporaryFile(/tmp/multipartBody2413091406435443868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980442987,"filename":"image_17122025_14_37_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dcfca99a538fb1758ee979816d29eb84.jpg","text":"TemporaryFile(/tmp/multipartBody1893489644392498163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980442987,"filename":"image_17122025_14_37_24_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c3fbcff9eea0557e9c0a63c44443139.jpg","text":"TemporaryFile(/tmp/multipartBody1273405368133877204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980442987,"filename":"image_17122025_14_36_55_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797654","file1":"1399797652","file0":"1399797650","file4":"1399797657","file5":"1399797660","file3":"1399797656"},"map_files_photo_id_array":[{"photo_id":"1399797660","filename":"file5"},{"photo_id":"1399797654","filename":"file2"},{"photo_id":"1399797657","filename":"file4"},{"photo_id":"1399797652","filename":"file1"},{"photo_id":"1399797650","filename":"file0"},{"photo_id":"1399797656","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797652":["hashtag1","hashtag2"]},{"1399797657":["hashtag1","hashtag2"]},{"1399797660":["hashtag1","hashtag2"]},{"1399797654":["hashtag1","hashtag2"]},{"1399797656":["hashtag1","hashtag2"]},{"1399797650":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797652, 1399797657, 1399797660, 1399797654, 1399797656, 1399797650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.673264503479004 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:07:03.383592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_54_9577.jpg', '/home/pi/Desktop/images/17122025/14/37/image_17122025_14_38_04_9785.jpg', '/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_15_10702.jpg', '/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_25_9685.jpg', '/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_35_10552.jpg', '/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_45_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/37/image_17122025_14_37_54_9577.jpg
/home/pi/Desktop/images/17122025/14/37/image_17122025_14_38_04_9785.jpg
/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_15_10702.jpg
/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_25_9685.jpg
/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_35_10552.jpg
/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_45_9756.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797701","1399797703","1399797699","1399797708","1399797705","1399797704"],"photo_ids_order":["1399797699","1399797701","1399797703","1399797704","1399797705","1399797708"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9eee2242418381243ac97d27af529726.jpg","text":"TemporaryFile(/tmp/multipartBody450336448942949986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980484062,"filename":"image_17122025_14_38_04_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/181661385880005737e21586c0c31f4d.jpg","text":"TemporaryFile(/tmp/multipartBody5143277545468788704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980484062,"filename":"image_17122025_14_38_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1989301d28e419c6bdc4cbfd8389d093.jpg","text":"TemporaryFile(/tmp/multipartBody5364501899973788299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980484062,"filename":"image_17122025_14_37_54_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cf189ac4fbbc727d4423f5fd3d2bd6d.jpg","text":"TemporaryFile(/tmp/multipartBody2423352086339372986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980484062,"filename":"image_17122025_14_38_45_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adc08cb0b9e5769ebd2790e411dada3d.jpg","text":"TemporaryFile(/tmp/multipartBody5948705543595311766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980484062,"filename":"image_17122025_14_38_35_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34043e552e2039ac1a1c4cfae93766f8.jpg","text":"TemporaryFile(/tmp/multipartBody5171713932435910415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980484062,"filename":"image_17122025_14_38_25_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797703","file1":"1399797701","file0":"1399797699","file4":"1399797705","file5":"1399797708","file3":"1399797704"},"map_files_photo_id_array":[{"photo_id":"1399797708","filename":"file5"},{"photo_id":"1399797703","filename":"file2"},{"photo_id":"1399797705","filename":"file4"},{"photo_id":"1399797701","filename":"file1"},{"photo_id":"1399797699","filename":"file0"},{"photo_id":"1399797704","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797701":["hashtag1","hashtag2"]},{"1399797703":["hashtag1","hashtag2"]},{"1399797699":["hashtag1","hashtag2"]},{"1399797708":["hashtag1","hashtag2"]},{"1399797705":["hashtag1","hashtag2"]},{"1399797704":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797701, 1399797703, 1399797699, 1399797708, 1399797705, 1399797704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85991597175598 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:07:42.751683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_35_3699.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_38_2691.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_41_2849.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_44_3608.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_47_2776.jpg', '/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_53_2702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_35_3699.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_38_2691.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_41_2849.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_44_3608.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_47_2776.jpg
/home/pi/Desktop/images/07112025/19/55/image_07112025_19_55_53_2702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797713","1399797716","1399797715","1399797718","1399797714","1399797717"],"photo_ids_order":["1399797713","1399797714","1399797715","1399797716","1399797717","1399797718"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4f2239de4df025d5ada6030e2e3a52b.jpg","text":"TemporaryFile(/tmp/multipartBody4939147390843150257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980523556,"filename":"image_07112025_19_55_35_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e4537f516953e426b3e2bf3f0c9a569.jpg","text":"TemporaryFile(/tmp/multipartBody6071757105928017446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980523556,"filename":"image_07112025_19_55_44_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c53ed27e9c775e4763028fd4c989507f.jpg","text":"TemporaryFile(/tmp/multipartBody2978179564572469173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980523556,"filename":"image_07112025_19_55_41_2849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f3f9719021ee500a596589a6b44c4c1.jpg","text":"TemporaryFile(/tmp/multipartBody908852989026820775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980523556,"filename":"image_07112025_19_55_53_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d821dcbdfb4be229460abd161922c2d6.jpg","text":"TemporaryFile(/tmp/multipartBody5282927177421143882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980523556,"filename":"image_07112025_19_55_38_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/972f01f1c0b5607b33935e7d5bb6173c.jpg","text":"TemporaryFile(/tmp/multipartBody2479722486478054338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980523556,"filename":"image_07112025_19_55_47_2776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797715","file1":"1399797714","file0":"1399797713","file4":"1399797717","file5":"1399797718","file3":"1399797716"},"map_files_photo_id_array":[{"photo_id":"1399797718","filename":"file5"},{"photo_id":"1399797715","filename":"file2"},{"photo_id":"1399797717","filename":"file4"},{"photo_id":"1399797714","filename":"file1"},{"photo_id":"1399797713","filename":"file0"},{"photo_id":"1399797716","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399797713":["hashtag1","hashtag2"]},{"1399797716":["hashtag1","hashtag2"]},{"1399797715":["hashtag1","hashtag2"]},{"1399797718":["hashtag1","hashtag2"]},{"1399797714":["hashtag1","hashtag2"]},{"1399797717":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399797713, 1399797716, 1399797715, 1399797718, 1399797714, 1399797717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.828924894332886 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:08:22.065720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_55_9829.jpg', '/home/pi/Desktop/images/17122025/14/38/image_17122025_14_39_04_9657.jpg', '/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_14_9841.jpg', '/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_24_9946.jpg', '/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_35_10939.jpg', '/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_45_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/38/image_17122025_14_38_55_9829.jpg
/home/pi/Desktop/images/17122025/14/38/image_17122025_14_39_04_9657.jpg
/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_14_9841.jpg
/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_24_9946.jpg
/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_35_10939.jpg
/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_45_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":["1399797727","1399797729","1399797723","1399797740","1399797731","1399797725"],"photo_ids_order":["1399797723","1399797725","1399797727","1399797729","1399797731","1399797740"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce8aabed62075bf493f2d5ff9da3fecc.jpg","text":"TemporaryFile(/tmp/multipartBody8145755898665046102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980562721,"filename":"image_17122025_14_39_14_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3027a6cc599134857aa4b175ac5ff138.jpg","text":"TemporaryFile(/tmp/multipartBody7638699565706505799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980562721,"filename":"image_17122025_14_39_24_9946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a5614fa341ac87a8a4ab2cdbfa50364.jpg","text":"TemporaryFile(/tmp/multipartBody5337468985934251745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980562721,"filename":"image_17122025_14_38_55_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1927633813705acd64e84dcbb8fd000a.jpg","text":"TemporaryFile(/tmp/multipartBody2944346857374916377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980562721,"filename":"image_17122025_14_39_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13b0dc706182c3615bcce4eb4c36635c.jpg","text":"TemporaryFile(/tmp/multipartBody3534666431141340885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980562721,"filename":"image_17122025_14_39_35_10939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a988fd984843edc60a21e1fc2da5905b.jpg","text":"TemporaryFile(/tmp/multipartBody2200066506087195417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980562721,"filename":"image_17122025_14_39_04_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797727","file1":"1399797725","file0":"1399797723","file4":"1399797731","file5":"1399797740","file3":"1399797729"},"map_files_photo_id_array":[{"photo_id":"1399797740","filename":"file5"},{"photo_id":"1399797727","filename":"file2"},{"photo_id":"1399797731","filename":"file4"},{"photo_id":"1399797725","filename":"file1"},{"photo_id":"1399797723","filename":"file0"},{"photo_id":"1399797729","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797727":["hashtag1","hashtag2"]},{"1399797729":["hashtag1","hashtag2"]},{"1399797723":["hashtag1","hashtag2"]},{"1399797740":["hashtag1","hashtag2"]},{"1399797731":["hashtag1","hashtag2"]},{"1399797725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797727, 1399797729, 1399797723, 1399797740, 1399797731, 1399797725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11099410057068 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:09:03.169436
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_54_9604.jpg', '/home/pi/Desktop/images/17122025/14/39/image_17122025_14_40_04_9762.jpg', '/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_15_10624.jpg', '/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_25_9835.jpg', '/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_34_9589.jpg', '/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_45_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/39/image_17122025_14_39_54_9604.jpg
/home/pi/Desktop/images/17122025/14/39/image_17122025_14_40_04_9762.jpg
/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_15_10624.jpg
/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_25_9835.jpg
/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_34_9589.jpg
/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_45_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":["1399797754","1399797757","1399797756","1399797759","1399797755","1399797752"],"photo_ids_order":["1399797752","1399797754","1399797755","1399797756","1399797757","1399797759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15faa72112af1725b62bb9c798991caa.jpg","text":"TemporaryFile(/tmp/multipartBody1011117201186292112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980603908,"filename":"image_17122025_14_40_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13e3646db802b1351e0c03bb99c19578.jpg","text":"TemporaryFile(/tmp/multipartBody5834607934812076917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980603908,"filename":"image_17122025_14_40_34_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8fda5a7bc8f864b1c4a3c29559a7521.jpg","text":"TemporaryFile(/tmp/multipartBody106608172685583733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980603908,"filename":"image_17122025_14_40_25_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac7503320b8500749179cf332bf20bad.jpg","text":"TemporaryFile(/tmp/multipartBody8414735522145660829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980603908,"filename":"image_17122025_14_40_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5893fb8f577be810e92d56142d7351f8.jpg","text":"TemporaryFile(/tmp/multipartBody917520035482730752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980603908,"filename":"image_17122025_14_40_15_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4343bb28dfec50daa5a740252fc8b676.jpg","text":"TemporaryFile(/tmp/multipartBody625640629647955583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980603908,"filename":"image_17122025_14_39_54_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797755","file1":"1399797754","file0":"1399797752","file4":"1399797757","file5":"1399797759","file3":"1399797756"},"map_files_photo_id_array":[{"photo_id":"1399797759","filename":"file5"},{"photo_id":"1399797755","filename":"file2"},{"photo_id":"1399797757","filename":"file4"},{"photo_id":"1399797754","filename":"file1"},{"photo_id":"1399797752","filename":"file0"},{"photo_id":"1399797756","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797754":["hashtag1","hashtag2"]},{"1399797757":["hashtag1","hashtag2"]},{"1399797756":["hashtag1","hashtag2"]},{"1399797759":["hashtag1","hashtag2"]},{"1399797755":["hashtag1","hashtag2"]},{"1399797752":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797754, 1399797757, 1399797756, 1399797759, 1399797755, 1399797752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41851854324341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:09:42.126621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_02_2604.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_11_2769.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_14_3678.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_17_2687.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_19_2596.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_23_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_02_2604.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_11_2769.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_14_3678.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_17_2687.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_19_2596.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_23_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797769","1399797771","1399797768","1399797767","1399797770","1399797764"],"photo_ids_order":["1399797764","1399797767","1399797768","1399797769","1399797770","1399797771"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f777130e67a95802d7073dfa1a6f8f0.jpg","text":"TemporaryFile(/tmp/multipartBody92226125890020207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980642912,"filename":"image_07112025_19_56_17_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da21310ca07efc32a289841dcea65adb.jpg","text":"TemporaryFile(/tmp/multipartBody2311265395612050035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980642912,"filename":"image_07112025_19_56_23_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d99780aeeaa808896186e17998ecb165.jpg","text":"TemporaryFile(/tmp/multipartBody4901912776573301941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980642912,"filename":"image_07112025_19_56_14_3678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c028d13ebcac622c28244f9322ec728.jpg","text":"TemporaryFile(/tmp/multipartBody3901818484087691728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980642912,"filename":"image_07112025_19_56_11_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b1d0b366ced1e03eb2ac9496cbc217f.jpg","text":"TemporaryFile(/tmp/multipartBody5279165555867328065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980642912,"filename":"image_07112025_19_56_19_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddb95a7fcfb06e76c8f6be9dadff0740.jpg","text":"TemporaryFile(/tmp/multipartBody6380712722827275552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980642912,"filename":"image_07112025_19_56_02_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797768","file1":"1399797767","file0":"1399797764","file4":"1399797770","file5":"1399797771","file3":"1399797769"},"map_files_photo_id_array":[{"photo_id":"1399797771","filename":"file5"},{"photo_id":"1399797768","filename":"file2"},{"photo_id":"1399797770","filename":"file4"},{"photo_id":"1399797767","filename":"file1"},{"photo_id":"1399797764","filename":"file0"},{"photo_id":"1399797769","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399797769":["hashtag1","hashtag2"]},{"1399797771":["hashtag1","hashtag2"]},{"1399797768":["hashtag1","hashtag2"]},{"1399797767":["hashtag1","hashtag2"]},{"1399797770":["hashtag1","hashtag2"]},{"1399797764":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399797769, 1399797771, 1399797768, 1399797767, 1399797770, 1399797764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.4674756526947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:10:22.419598
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_54_9582.jpg', '/home/pi/Desktop/images/17122025/14/40/image_17122025_14_41_04_9847.jpg', '/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_15_10805.jpg', '/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_25_9810.jpg', '/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_35_9679.jpg', '/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_44_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/40/image_17122025_14_40_54_9582.jpg
/home/pi/Desktop/images/17122025/14/40/image_17122025_14_41_04_9847.jpg
/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_15_10805.jpg
/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_25_9810.jpg
/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_35_9679.jpg
/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_44_9538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797784","1399797780","1399797774","1399797788","1399797773","1399797782"],"photo_ids_order":["1399797773","1399797774","1399797780","1399797782","1399797784","1399797788"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f7bb5bedd9f4fe18625192da1b510c5.jpg","text":"TemporaryFile(/tmp/multipartBody7409728250594339192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980683037,"filename":"image_17122025_14_41_35_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65fb6797d19a1b8b3f9975453e4e349d.jpg","text":"TemporaryFile(/tmp/multipartBody8777491149310732868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980683037,"filename":"image_17122025_14_41_15_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f630223163717298fcb4cf3b6054e59.jpg","text":"TemporaryFile(/tmp/multipartBody8081753420652306418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980683037,"filename":"image_17122025_14_41_04_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f25d385a34360f170b6fbb6ea3499394.jpg","text":"TemporaryFile(/tmp/multipartBody8891129242505678230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980683037,"filename":"image_17122025_14_41_44_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7ebf53e10da7d3f33f2ec418a340d0b.jpg","text":"TemporaryFile(/tmp/multipartBody8404848547890709774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980683037,"filename":"image_17122025_14_40_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3adaf9b261c5f5ad559cbdc03c44eb3.jpg","text":"TemporaryFile(/tmp/multipartBody7330622468173397706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980683037,"filename":"image_17122025_14_41_25_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797780","file1":"1399797774","file0":"1399797773","file4":"1399797784","file5":"1399797788","file3":"1399797782"},"map_files_photo_id_array":[{"photo_id":"1399797788","filename":"file5"},{"photo_id":"1399797780","filename":"file2"},{"photo_id":"1399797784","filename":"file4"},{"photo_id":"1399797774","filename":"file1"},{"photo_id":"1399797773","filename":"file0"},{"photo_id":"1399797782","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797784":["hashtag1","hashtag2"]},{"1399797780":["hashtag1","hashtag2"]},{"1399797774":["hashtag1","hashtag2"]},{"1399797788":["hashtag1","hashtag2"]},{"1399797773":["hashtag1","hashtag2"]},{"1399797782":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797784, 1399797780, 1399797774, 1399797788, 1399797773, 1399797782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.149508237838745 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:11:03.401460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_55_10730.jpg', '/home/pi/Desktop/images/17122025/14/41/image_17122025_14_42_05_9713.jpg', '/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_14_9687.jpg', '/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_24_9932.jpg', '/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_35_10665.jpg', '/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_45_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/41/image_17122025_14_41_55_10730.jpg
/home/pi/Desktop/images/17122025/14/41/image_17122025_14_42_05_9713.jpg
/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_14_9687.jpg
/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_24_9932.jpg
/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_35_10665.jpg
/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_45_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399797815","1399797811","1399797805","1399797813","1399797807","1399797816"],"photo_ids_order":["1399797805","1399797807","1399797811","1399797813","1399797815","1399797816"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ec85ca7b95c903d7ec5eade8c9110d3.jpg","text":"TemporaryFile(/tmp/multipartBody6477483979691223428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980724082,"filename":"image_17122025_14_42_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b78ce8104c82d31e0fde9dd48364d5df.jpg","text":"TemporaryFile(/tmp/multipartBody6246622040662793743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980724082,"filename":"image_17122025_14_42_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d07821a48b35d4d7095f42ab339241e9.jpg","text":"TemporaryFile(/tmp/multipartBody8452121104797522611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980724082,"filename":"image_17122025_14_41_55_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f7952c822e3bd7fe75784dcedb1e4f9.jpg","text":"TemporaryFile(/tmp/multipartBody2873711168700130395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980724082,"filename":"image_17122025_14_42_24_9932.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a94835fb683d6a1624d9f930f894e79.jpg","text":"TemporaryFile(/tmp/multipartBody3783193842840953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980724082,"filename":"image_17122025_14_42_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ade83f08fb861304b940c9de4c8db5df.jpg","text":"TemporaryFile(/tmp/multipartBody9008421690530968556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980724082,"filename":"image_17122025_14_42_45_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797811","file1":"1399797807","file0":"1399797805","file4":"1399797815","file5":"1399797816","file3":"1399797813"},"map_files_photo_id_array":[{"photo_id":"1399797816","filename":"file5"},{"photo_id":"1399797811","filename":"file2"},{"photo_id":"1399797815","filename":"file4"},{"photo_id":"1399797807","filename":"file1"},{"photo_id":"1399797805","filename":"file0"},{"photo_id":"1399797813","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797815":["hashtag1","hashtag2"]},{"1399797811":["hashtag1","hashtag2"]},{"1399797805":["hashtag1","hashtag2"]},{"1399797813":["hashtag1","hashtag2"]},{"1399797807":["hashtag1","hashtag2"]},{"1399797816":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797815, 1399797811, 1399797805, 1399797813, 1399797807, 1399797816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.182042360305786 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:12:02.807571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_54_9763.jpg', '/home/pi/Desktop/images/17122025/14/42/image_17122025_14_43_05_10614.jpg', '/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_15_9676.jpg', '/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_24_9592.jpg', '/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_34_9852.jpg', '/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_45_10861.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/42/image_17122025_14_42_54_9763.jpg
/home/pi/Desktop/images/17122025/14/42/image_17122025_14_43_05_10614.jpg
/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_15_9676.jpg
/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_24_9592.jpg
/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_34_9852.jpg
/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_45_10861.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797833","1399797826","1399797835","1399797838","1399797828","1399797830"],"photo_ids_order":["1399797826","1399797828","1399797830","1399797833","1399797835","1399797838"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1726702a2a90e92f4504d1c88839e6f0.jpg","text":"TemporaryFile(/tmp/multipartBody5641109273927459528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980783455,"filename":"image_17122025_14_43_24_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70f8714e78f024c007f525565fae7f5d.jpg","text":"TemporaryFile(/tmp/multipartBody2936780796232438488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980783455,"filename":"image_17122025_14_42_54_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf278180e4ba87eca80fdab94f2bf836.jpg","text":"TemporaryFile(/tmp/multipartBody8162653136125171653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980783455,"filename":"image_17122025_14_43_34_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fe3692a54c3f7138f5d1620e233b5d3.jpg","text":"TemporaryFile(/tmp/multipartBody2450941434210876631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980783455,"filename":"image_17122025_14_43_45_10861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8d84aa061a6d8f46b258cc9c8cf899a.jpg","text":"TemporaryFile(/tmp/multipartBody8023593605370824931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980783455,"filename":"image_17122025_14_43_05_10614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/527480ca83880677a9ad84c3ffdf3ee5.jpg","text":"TemporaryFile(/tmp/multipartBody9027498038961711988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980783455,"filename":"image_17122025_14_43_15_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797830","file1":"1399797828","file0":"1399797826","file4":"1399797835","file5":"1399797838","file3":"1399797833"},"map_files_photo_id_array":[{"photo_id":"1399797838","filename":"file5"},{"photo_id":"1399797830","filename":"file2"},{"photo_id":"1399797835","filename":"file4"},{"photo_id":"1399797828","filename":"file1"},{"photo_id":"1399797826","filename":"file0"},{"photo_id":"1399797833","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797833":["hashtag1","hashtag2"]},{"1399797826":["hashtag1","hashtag2"]},{"1399797835":["hashtag1","hashtag2"]},{"1399797838":["hashtag1","hashtag2"]},{"1399797828":["hashtag1","hashtag2"]},{"1399797830":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797833, 1399797826, 1399797835, 1399797838, 1399797828, 1399797830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.302908420562744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:12:42.394402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_26_2722.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_28_2580.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_32_3624.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_35_2730.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_37_2540.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_41_3587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_26_2722.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_28_2580.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_32_3624.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_35_2730.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_37_2540.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_41_3587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797850","1399797844","1399797852","1399797846","1399797849","1399797848"],"photo_ids_order":["1399797844","1399797846","1399797848","1399797849","1399797850","1399797852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b89c9ea5ea99b2a2ddd074cf4974242.jpg","text":"TemporaryFile(/tmp/multipartBody6407714930207855305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980823171,"filename":"image_07112025_19_56_37_2540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b000a39145faad0f87b5421e033204a.jpg","text":"TemporaryFile(/tmp/multipartBody7203932809541661780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980823171,"filename":"image_07112025_19_56_26_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a0a94be1c3b77198e9134c236af858b.jpg","text":"TemporaryFile(/tmp/multipartBody5439155277502627047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980823171,"filename":"image_07112025_19_56_41_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d21a58c89b2180584252ccd7e5bd0e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7130075101549431533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980823171,"filename":"image_07112025_19_56_28_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b451a23b9fb0def14bfeaf65da81409f.jpg","text":"TemporaryFile(/tmp/multipartBody2748269114373272915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980823171,"filename":"image_07112025_19_56_35_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9983bb86ceb2fdcae1f77b7ff21eff0e.jpg","text":"TemporaryFile(/tmp/multipartBody6954366762361974691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980823171,"filename":"image_07112025_19_56_32_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797848","file1":"1399797846","file0":"1399797844","file4":"1399797850","file5":"1399797852","file3":"1399797849"},"map_files_photo_id_array":[{"photo_id":"1399797852","filename":"file5"},{"photo_id":"1399797848","filename":"file2"},{"photo_id":"1399797850","filename":"file4"},{"photo_id":"1399797846","filename":"file1"},{"photo_id":"1399797844","filename":"file0"},{"photo_id":"1399797849","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399797850":["hashtag1","hashtag2"]},{"1399797844":["hashtag1","hashtag2"]},{"1399797852":["hashtag1","hashtag2"]},{"1399797846":["hashtag1","hashtag2"]},{"1399797849":["hashtag1","hashtag2"]},{"1399797848":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399797850, 1399797844, 1399797852, 1399797846, 1399797849, 1399797848)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05975413322449 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:13:22.619259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_55_9766.jpg', '/home/pi/Desktop/images/17122025/14/43/image_17122025_14_44_04_9663.jpg', '/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_14_9930.jpg', '/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_25_10615.jpg', '/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_35_9729.jpg', '/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_45_9808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/43/image_17122025_14_43_55_9766.jpg
/home/pi/Desktop/images/17122025/14/43/image_17122025_14_44_04_9663.jpg
/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_14_9930.jpg
/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_25_10615.jpg
/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_35_9729.jpg
/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_45_9808.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797862","1399797856","1399797864","1399797858","1399797867","1399797860"],"photo_ids_order":["1399797856","1399797858","1399797860","1399797862","1399797864","1399797867"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e46fe4c795e72146d7d021b3911b4719.jpg","text":"TemporaryFile(/tmp/multipartBody7263464174925489123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980863312,"filename":"image_17122025_14_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/2025/12/17/1e56907226c93012fecb366634ee54b2.jpg","text":"TemporaryFile(/tmp/multipartBody7088636056843423799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980863312,"filename":"image_17122025_14_43_55_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38d506a477cff2d47662c791ed66d4cb.jpg","text":"TemporaryFile(/tmp/multipartBody7858519879490268393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980863312,"filename":"image_17122025_14_44_35_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8898391b28fa8a50df6d8e3268d7766.jpg","text":"TemporaryFile(/tmp/multipartBody173422557448405263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980863312,"filename":"image_17122025_14_44_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a4d1d60a73d63a4652d7863d194faa8.jpg","text":"TemporaryFile(/tmp/multipartBody4082666050178064981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980863312,"filename":"image_17122025_14_44_45_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3327833cb1f53c5ffd0e7bc2e9e39659.jpg","text":"TemporaryFile(/tmp/multipartBody4157390741802178761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980863312,"filename":"image_17122025_14_44_14_9930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797860","file1":"1399797858","file0":"1399797856","file4":"1399797864","file5":"1399797867","file3":"1399797862"},"map_files_photo_id_array":[{"photo_id":"1399797867","filename":"file5"},{"photo_id":"1399797860","filename":"file2"},{"photo_id":"1399797864","filename":"file4"},{"photo_id":"1399797858","filename":"file1"},{"photo_id":"1399797856","filename":"file0"},{"photo_id":"1399797862","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797862":["hashtag1","hashtag2"]},{"1399797856":["hashtag1","hashtag2"]},{"1399797864":["hashtag1","hashtag2"]},{"1399797858":["hashtag1","hashtag2"]},{"1399797867":["hashtag1","hashtag2"]},{"1399797860":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797862, 1399797856, 1399797864, 1399797858, 1399797867, 1399797860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83160448074341 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:14:02.701513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_54_9832.jpg', '/home/pi/Desktop/images/17122025/14/44/image_17122025_14_45_04_9824.jpg', '/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_15_10632.jpg', '/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_25_9873.jpg', '/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_35_9856.jpg', '/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_44_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/44/image_17122025_14_44_54_9832.jpg
/home/pi/Desktop/images/17122025/14/44/image_17122025_14_45_04_9824.jpg
/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_15_10632.jpg
/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_25_9873.jpg
/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_35_9856.jpg
/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_44_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":["1399797877","1399797868","1399797879","1399797870","1399797872","1399797875"],"photo_ids_order":["1399797868","1399797870","1399797872","1399797875","1399797877","1399797879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5816e39b06356c7e0b16d0e0feab5d99.jpg","text":"TemporaryFile(/tmp/multipartBody8266737404620049408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980903358,"filename":"image_17122025_14_45_35_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07a8acdedec89032359b8a109c50a93f.jpg","text":"TemporaryFile(/tmp/multipartBody3767319292396252302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980903358,"filename":"image_17122025_14_44_54_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1d4f1e9552575df3344daee29de80d8.jpg","text":"TemporaryFile(/tmp/multipartBody2393631405690378152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980903358,"filename":"image_17122025_14_45_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85b8cbe0e1b0b2684a7eaba5734bdda9.jpg","text":"TemporaryFile(/tmp/multipartBody2559852099026434910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980903358,"filename":"image_17122025_14_45_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3402fc449b0c7815d2b66431be7cbdb.jpg","text":"TemporaryFile(/tmp/multipartBody8263442246217599596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980903358,"filename":"image_17122025_14_45_15_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/142a9732538e2587396163886ee2c04c.jpg","text":"TemporaryFile(/tmp/multipartBody8822443336777314616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980903358,"filename":"image_17122025_14_45_25_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797872","file1":"1399797870","file0":"1399797868","file4":"1399797877","file5":"1399797879","file3":"1399797875"},"map_files_photo_id_array":[{"photo_id":"1399797879","filename":"file5"},{"photo_id":"1399797872","filename":"file2"},{"photo_id":"1399797877","filename":"file4"},{"photo_id":"1399797870","filename":"file1"},{"photo_id":"1399797868","filename":"file0"},{"photo_id":"1399797875","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797877":["hashtag1","hashtag2"]},{"1399797868":["hashtag1","hashtag2"]},{"1399797879":["hashtag1","hashtag2"]},{"1399797870":["hashtag1","hashtag2"]},{"1399797872":["hashtag1","hashtag2"]},{"1399797875":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797877, 1399797868, 1399797879, 1399797870, 1399797872, 1399797875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.927791118621826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:14:41.843998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_44_2566.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_47_3624.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_53_2693.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_55_2780.jpg', '/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_59_3587.jpg', '/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_02_2622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_44_2566.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_47_3624.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_53_2693.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_55_2780.jpg
/home/pi/Desktop/images/07112025/19/56/image_07112025_19_56_59_3587.jpg
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_02_2622.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797889","1399797892","1399797885","1399797899","1399797890","1399797887"],"photo_ids_order":["1399797885","1399797887","1399797889","1399797890","1399797892","1399797899"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1db2992a965016ad6ce54b2734faed05.jpg","text":"TemporaryFile(/tmp/multipartBody4536364489285110092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980942608,"filename":"image_07112025_19_56_53_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56fdf5aab0149cfc43a3f78122019c84.jpg","text":"TemporaryFile(/tmp/multipartBody4652663472795268050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980942608,"filename":"image_07112025_19_56_59_3587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59220dd9284ef709d7304f95b905e593.jpg","text":"TemporaryFile(/tmp/multipartBody1517091305494808931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980942608,"filename":"image_07112025_19_56_44_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2548f5c5a4a95eeeb3f82a2d08f576fe.jpg","text":"TemporaryFile(/tmp/multipartBody3043017496277839146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980942608,"filename":"image_07112025_19_57_02_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ba235677d749fb1d3f45eec965a1eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1196742955184546317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980942608,"filename":"image_07112025_19_56_55_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bb2a8deb5ecc8e493a8292391168b3d.jpg","text":"TemporaryFile(/tmp/multipartBody1630908435264077140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980942608,"filename":"image_07112025_19_56_47_3624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797889","file1":"1399797887","file0":"1399797885","file4":"1399797892","file5":"1399797899","file3":"1399797890"},"map_files_photo_id_array":[{"photo_id":"1399797899","filename":"file5"},{"photo_id":"1399797889","filename":"file2"},{"photo_id":"1399797892","filename":"file4"},{"photo_id":"1399797887","filename":"file1"},{"photo_id":"1399797885","filename":"file0"},{"photo_id":"1399797890","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399797889":["hashtag1","hashtag2"]},{"1399797892":["hashtag1","hashtag2"]},{"1399797885":["hashtag1","hashtag2"]},{"1399797899":["hashtag1","hashtag2"]},{"1399797890":["hashtag1","hashtag2"]},{"1399797887":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399797889, 1399797892, 1399797885, 1399797899, 1399797890, 1399797887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.18833565711975 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:15:22.084955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_55_10654.jpg', '/home/pi/Desktop/images/17122025/14/45/image_17122025_14_46_05_9764.jpg', '/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_14_9642.jpg', '/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_25_10712.jpg', '/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_35_9704.jpg', '/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_45_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/45/image_17122025_14_45_55_10654.jpg
/home/pi/Desktop/images/17122025/14/45/image_17122025_14_46_05_9764.jpg
/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_14_9642.jpg
/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_25_10712.jpg
/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_35_9704.jpg
/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_45_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":["1399797905","1399797908","1399797913","1399797910","1399797906","1399797902"],"photo_ids_order":["1399797902","1399797905","1399797906","1399797908","1399797910","1399797913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff3e3a49e8337e0ff4464d6eeefb984e.jpg","text":"TemporaryFile(/tmp/multipartBody5981902090563912272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980982748,"filename":"image_17122025_14_46_05_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72cbd453aa69a1462950b3eb6276540c.jpg","text":"TemporaryFile(/tmp/multipartBody3017663780001255565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980982748,"filename":"image_17122025_14_46_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b498106d39107a051817f6118a06f4cb.jpg","text":"TemporaryFile(/tmp/multipartBody5027487478177777035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980982748,"filename":"image_17122025_14_46_45_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65b27c084bc91b3f93e716f97ac33c6d.jpg","text":"TemporaryFile(/tmp/multipartBody4173922916388214728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980982748,"filename":"image_17122025_14_46_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7001e0d0410692a24e0ccaa5b845a383.jpg","text":"TemporaryFile(/tmp/multipartBody1358873498598283368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980982748,"filename":"image_17122025_14_46_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/724c525d474345ae11c4a956de0b8f19.jpg","text":"TemporaryFile(/tmp/multipartBody6435614962600089746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765980982748,"filename":"image_17122025_14_45_55_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797906","file1":"1399797905","file0":"1399797902","file4":"1399797910","file5":"1399797913","file3":"1399797908"},"map_files_photo_id_array":[{"photo_id":"1399797913","filename":"file5"},{"photo_id":"1399797906","filename":"file2"},{"photo_id":"1399797910","filename":"file4"},{"photo_id":"1399797905","filename":"file1"},{"photo_id":"1399797902","filename":"file0"},{"photo_id":"1399797908","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797905":["hashtag1","hashtag2"]},{"1399797908":["hashtag1","hashtag2"]},{"1399797913":["hashtag1","hashtag2"]},{"1399797910":["hashtag1","hashtag2"]},{"1399797906":["hashtag1","hashtag2"]},{"1399797902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797905, 1399797908, 1399797913, 1399797910, 1399797906, 1399797902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19846034049988 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:16:02.846480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_54_9670.jpg', '/home/pi/Desktop/images/17122025/14/46/image_17122025_14_47_05_10776.jpg', '/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_15_9639.jpg', '/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_25_9972.jpg', '/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_34_9678.jpg', '/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_45_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_54_9670.jpg
/home/pi/Desktop/images/17122025/14/46/image_17122025_14_47_05_10776.jpg
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_15_9639.jpg
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_25_9972.jpg
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_34_9678.jpg
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_45_10727.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5242011547088623 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 15:16:12.272981
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:16:22.326959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_54_9670.jpg', '/home/pi/Desktop/images/17122025/14/46/image_17122025_14_47_05_10776.jpg', '/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_15_9639.jpg', '/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_25_9972.jpg', '/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_34_9678.jpg', '/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_45_10727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/46/image_17122025_14_46_54_9670.jpg
/home/pi/Desktop/images/17122025/14/46/image_17122025_14_47_05_10776.jpg
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_15_9639.jpg
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_25_9972.jpg
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_34_9678.jpg
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_45_10727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797925","1399797940","1399797936","1399797929","1399797938","1399797923"],"photo_ids_order":["1399797923","1399797925","1399797929","1399797936","1399797938","1399797940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f29be39658af581887fab2875eed492c.jpg","text":"TemporaryFile(/tmp/multipartBody6242413727648081105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981042979,"filename":"image_17122025_14_47_05_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/116b87bb4f9bec1df468fe2f8abdf678.jpg","text":"TemporaryFile(/tmp/multipartBody6579350169610660515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981042979,"filename":"image_17122025_14_47_45_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/201ddab2beb0b7ebdfd6e2af1e01bbda.jpg","text":"TemporaryFile(/tmp/multipartBody2199861918583296105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981042979,"filename":"image_17122025_14_47_25_9972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebbf0bc220a742662fb8c329f604924d.jpg","text":"TemporaryFile(/tmp/multipartBody105786627999795166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981042979,"filename":"image_17122025_14_47_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a564fb63aeeb955a3c86efd4b2c73d5.jpg","text":"TemporaryFile(/tmp/multipartBody4979895212579415760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981042979,"filename":"image_17122025_14_47_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/441a65f469153dd9961753c0561d2a38.jpg","text":"TemporaryFile(/tmp/multipartBody1607242983557920601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981042979,"filename":"image_17122025_14_46_54_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797929","file1":"1399797925","file0":"1399797923","file4":"1399797938","file5":"1399797940","file3":"1399797936"},"map_files_photo_id_array":[{"photo_id":"1399797940","filename":"file5"},{"photo_id":"1399797929","filename":"file2"},{"photo_id":"1399797938","filename":"file4"},{"photo_id":"1399797925","filename":"file1"},{"photo_id":"1399797923","filename":"file0"},{"photo_id":"1399797936","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797925":["hashtag1","hashtag2"]},{"1399797940":["hashtag1","hashtag2"]},{"1399797936":["hashtag1","hashtag2"]},{"1399797929":["hashtag1","hashtag2"]},{"1399797938":["hashtag1","hashtag2"]},{"1399797923":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797925, 1399797940, 1399797936, 1399797929, 1399797938, 1399797923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.342082500457764 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:17:03.301659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_55_9948.jpg', '/home/pi/Desktop/images/17122025/14/47/image_17122025_14_48_05_9820.jpg', '/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_15_9794.jpg', '/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_24_9648.jpg', '/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_35_10770.jpg', '/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_45_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_47_55_9948.jpg
/home/pi/Desktop/images/17122025/14/47/image_17122025_14_48_05_9820.jpg
/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_15_9794.jpg
/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_24_9648.jpg
/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_35_10770.jpg
/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_45_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":["1399797958","1399797955","1399797960","1399797951","1399797953","1399797956"],"photo_ids_order":["1399797951","1399797953","1399797955","1399797956","1399797958","1399797960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71411d76b4ac2648224e26d4f445efa8.jpg","text":"TemporaryFile(/tmp/multipartBody524778051329471154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981084043,"filename":"image_17122025_14_48_35_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a1ddaf4b6bcd1a9658bebe229b0f85f.jpg","text":"TemporaryFile(/tmp/multipartBody1027748226693735806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981084043,"filename":"image_17122025_14_48_15_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05268336ebbd8bcc84b192ffe92f536f.jpg","text":"TemporaryFile(/tmp/multipartBody7729935082646043746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981084043,"filename":"image_17122025_14_48_45_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abffbe4747a7b2ab4e7ca3b98cca4506.jpg","text":"TemporaryFile(/tmp/multipartBody2060228547350272812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981084043,"filename":"image_17122025_14_47_55_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6b8e6cce1ac84fa61b913cddc53fba7.jpg","text":"TemporaryFile(/tmp/multipartBody4079351413515866180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981084043,"filename":"image_17122025_14_48_05_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8d95d3d520936d82f7411613c92fd37.jpg","text":"TemporaryFile(/tmp/multipartBody4608476947024792067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981084043,"filename":"image_17122025_14_48_24_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797955","file1":"1399797953","file0":"1399797951","file4":"1399797958","file5":"1399797960","file3":"1399797956"},"map_files_photo_id_array":[{"photo_id":"1399797960","filename":"file5"},{"photo_id":"1399797955","filename":"file2"},{"photo_id":"1399797958","filename":"file4"},{"photo_id":"1399797953","filename":"file1"},{"photo_id":"1399797951","filename":"file0"},{"photo_id":"1399797956","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797958":["hashtag1","hashtag2"]},{"1399797955":["hashtag1","hashtag2"]},{"1399797960":["hashtag1","hashtag2"]},{"1399797951":["hashtag1","hashtag2"]},{"1399797953":["hashtag1","hashtag2"]},{"1399797956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797958, 1399797955, 1399797960, 1399797951, 1399797953, 1399797956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94090676307678 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:17:42.611253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_22_2616.jpg', '/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_26_3803.jpg', '/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_29_2596.jpg', '/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_38_2689.jpg', '/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_40_2698.jpg', '/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_44_3884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_22_2616.jpg
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_26_3803.jpg
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_29_2596.jpg
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_38_2689.jpg
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_40_2698.jpg
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_44_3884.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399797970","1399797973","1399797972","1399797971","1399797965","1399797974"],"photo_ids_order":["1399797965","1399797970","1399797971","1399797972","1399797973","1399797974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a3b4f23691b0d6e453366884f68c836.jpg","text":"TemporaryFile(/tmp/multipartBody8265039202676021438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981123404,"filename":"image_07112025_19_57_26_3803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37cd4ba015de53ec1076a84282f7a10b.jpg","text":"TemporaryFile(/tmp/multipartBody4885329025693178037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981123404,"filename":"image_07112025_19_57_40_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bffd22193c2078bc46a49eae956707b4.jpg","text":"TemporaryFile(/tmp/multipartBody9180786638032649809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981123404,"filename":"image_07112025_19_57_38_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e476eadb965c32571219b9c35960986.jpg","text":"TemporaryFile(/tmp/multipartBody470350595330635173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981123404,"filename":"image_07112025_19_57_29_2596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e98d20e502f352a17dc0ae3b570fd8a7.jpg","text":"TemporaryFile(/tmp/multipartBody3656033240572841977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981123404,"filename":"image_07112025_19_57_22_2616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a003dc0e13a0ac1b91e3d86d8691be67.jpg","text":"TemporaryFile(/tmp/multipartBody60327229767145914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981123404,"filename":"image_07112025_19_57_44_3884.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797971","file1":"1399797970","file0":"1399797965","file4":"1399797973","file5":"1399797974","file3":"1399797972"},"map_files_photo_id_array":[{"photo_id":"1399797974","filename":"file5"},{"photo_id":"1399797971","filename":"file2"},{"photo_id":"1399797973","filename":"file4"},{"photo_id":"1399797970","filename":"file1"},{"photo_id":"1399797965","filename":"file0"},{"photo_id":"1399797972","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399797970":["hashtag1","hashtag2"]},{"1399797973":["hashtag1","hashtag2"]},{"1399797972":["hashtag1","hashtag2"]},{"1399797971":["hashtag1","hashtag2"]},{"1399797965":["hashtag1","hashtag2"]},{"1399797974":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399797970, 1399797973, 1399797972, 1399797971, 1399797965, 1399797974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40108799934387 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:18:21.823170
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_54_9827.jpg', '/home/pi/Desktop/images/17122025/14/48/image_17122025_14_49_05_10681.jpg', '/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_15_9721.jpg', '/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_24_9655.jpg', '/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_34_9847.jpg', '/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_45_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/48/image_17122025_14_48_54_9827.jpg
/home/pi/Desktop/images/17122025/14/48/image_17122025_14_49_05_10681.jpg
/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_15_9721.jpg
/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_24_9655.jpg
/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_34_9847.jpg
/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_45_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":["1399797982","1399797984","1399797978","1399797986","1399797989","1399797980"],"photo_ids_order":["1399797978","1399797980","1399797982","1399797984","1399797986","1399797989"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d10d9421ccb90d09bb2b4a941f89284f.jpg","text":"TemporaryFile(/tmp/multipartBody76819593263677705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981162436,"filename":"image_17122025_14_49_15_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/749167f3531eb029f9d792a7ed45c20a.jpg","text":"TemporaryFile(/tmp/multipartBody2626423713178615426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981162436,"filename":"image_17122025_14_49_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6413bad04ca93387cceabc06b03aff22.jpg","text":"TemporaryFile(/tmp/multipartBody2275609371626691648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981162436,"filename":"image_17122025_14_48_54_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddcc3f3d6244b8a2aae6bbe66bc30444.jpg","text":"TemporaryFile(/tmp/multipartBody5549025031665163749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981162436,"filename":"image_17122025_14_49_34_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/266383cec2df3d3364a51b498184297f.jpg","text":"TemporaryFile(/tmp/multipartBody5340517374663290679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981162436,"filename":"image_17122025_14_49_45_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c22adeffe618c6b8d16f3252af53d36.jpg","text":"TemporaryFile(/tmp/multipartBody6169497935817141509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981162436,"filename":"image_17122025_14_49_05_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797982","file1":"1399797980","file0":"1399797978","file4":"1399797986","file5":"1399797989","file3":"1399797984"},"map_files_photo_id_array":[{"photo_id":"1399797989","filename":"file5"},{"photo_id":"1399797982","filename":"file2"},{"photo_id":"1399797986","filename":"file4"},{"photo_id":"1399797980","filename":"file1"},{"photo_id":"1399797978","filename":"file0"},{"photo_id":"1399797984","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797982":["hashtag1","hashtag2"]},{"1399797984":["hashtag1","hashtag2"]},{"1399797978":["hashtag1","hashtag2"]},{"1399797986":["hashtag1","hashtag2"]},{"1399797989":["hashtag1","hashtag2"]},{"1399797980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797982, 1399797984, 1399797978, 1399797986, 1399797989, 1399797980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.661855697631836 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:19:02.924749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_55_9698.jpg', '/home/pi/Desktop/images/17122025/14/49/image_17122025_14_50_05_9907.jpg', '/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_14_9705.jpg', '/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_25_10674.jpg', '/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_35_9669.jpg', '/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_44_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/49/image_17122025_14_49_55_9698.jpg
/home/pi/Desktop/images/17122025/14/49/image_17122025_14_50_05_9907.jpg
/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_14_9705.jpg
/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_25_10674.jpg
/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_35_9669.jpg
/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_44_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":["1399797997","1399797991","1399798000","1399797993","1399797995","1399797998"],"photo_ids_order":["1399797991","1399797993","1399797995","1399797997","1399797998","1399798000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c080c4474fef6d42e3532a712c38a57.jpg","text":"TemporaryFile(/tmp/multipartBody8701998427417776724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981203700,"filename":"image_17122025_14_50_25_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f607c1679e23deaba044e80691573a36.jpg","text":"TemporaryFile(/tmp/multipartBody8380636826333329521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981203700,"filename":"image_17122025_14_49_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6066e37f4a9d0c172bf4ae08c241ff90.jpg","text":"TemporaryFile(/tmp/multipartBody2799281780464163572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981203700,"filename":"image_17122025_14_50_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22510fad01c534d6dc3feecd3455b092.jpg","text":"TemporaryFile(/tmp/multipartBody7202935829931967777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981203700,"filename":"image_17122025_14_50_05_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f37af105e624b476bbaf2c4e1610e9d5.jpg","text":"TemporaryFile(/tmp/multipartBody1772385460690601197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981203700,"filename":"image_17122025_14_50_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/758593014bd6731a342f44002bd65651.jpg","text":"TemporaryFile(/tmp/multipartBody7887588855978582132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981203700,"filename":"image_17122025_14_50_35_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399797995","file1":"1399797993","file0":"1399797991","file4":"1399797998","file5":"1399798000","file3":"1399797997"},"map_files_photo_id_array":[{"photo_id":"1399798000","filename":"file5"},{"photo_id":"1399797995","filename":"file2"},{"photo_id":"1399797998","filename":"file4"},{"photo_id":"1399797993","filename":"file1"},{"photo_id":"1399797991","filename":"file0"},{"photo_id":"1399797997","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399797997":["hashtag1","hashtag2"]},{"1399797991":["hashtag1","hashtag2"]},{"1399798000":["hashtag1","hashtag2"]},{"1399797993":["hashtag1","hashtag2"]},{"1399797995":["hashtag1","hashtag2"]},{"1399797998":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399797997, 1399797991, 1399798000, 1399797993, 1399797995, 1399797998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.61331915855408 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:20:02.922606
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_54_9856.jpg', '/home/pi/Desktop/images/17122025/14/50/image_17122025_14_51_05_10721.jpg', '/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_15_9868.jpg', '/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_25_9753.jpg', '/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_34_9647.jpg', '/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_45_10829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/50/image_17122025_14_50_54_9856.jpg
/home/pi/Desktop/images/17122025/14/50/image_17122025_14_51_05_10721.jpg
/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_15_9868.jpg
/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_25_9753.jpg
/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_34_9647.jpg
/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_45_10829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798012","1399798006","1399798011","1399798014","1399798008","1399798010"],"photo_ids_order":["1399798006","1399798008","1399798010","1399798011","1399798012","1399798014"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7864573ddd9f8bdfba85f786f571e675.jpg","text":"TemporaryFile(/tmp/multipartBody2923455011762726222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981263554,"filename":"image_17122025_14_51_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e27346b1d18a9a303d7f686d48c62351.jpg","text":"TemporaryFile(/tmp/multipartBody3408661278223729992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981263554,"filename":"image_17122025_14_50_54_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6646e05a95ec1fa356bcffc5432f88e.jpg","text":"TemporaryFile(/tmp/multipartBody8665227322868883942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981263554,"filename":"image_17122025_14_51_25_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/969dc5ee510550dd25c538e61e45ac8a.jpg","text":"TemporaryFile(/tmp/multipartBody4300334411292725360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981263554,"filename":"image_17122025_14_51_45_10829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6adb1d221024617137e9c98edeb80344.jpg","text":"TemporaryFile(/tmp/multipartBody5938369534355321293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981263554,"filename":"image_17122025_14_51_05_10721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/619e8960f531807ec606d15367c093c8.jpg","text":"TemporaryFile(/tmp/multipartBody3956484622695240864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981263554,"filename":"image_17122025_14_51_15_9868.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798010","file1":"1399798008","file0":"1399798006","file4":"1399798012","file5":"1399798014","file3":"1399798011"},"map_files_photo_id_array":[{"photo_id":"1399798014","filename":"file5"},{"photo_id":"1399798010","filename":"file2"},{"photo_id":"1399798012","filename":"file4"},{"photo_id":"1399798008","filename":"file1"},{"photo_id":"1399798006","filename":"file0"},{"photo_id":"1399798011","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798012":["hashtag1","hashtag2"]},{"1399798006":["hashtag1","hashtag2"]},{"1399798011":["hashtag1","hashtag2"]},{"1399798014":["hashtag1","hashtag2"]},{"1399798008":["hashtag1","hashtag2"]},{"1399798010":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798012, 1399798006, 1399798011, 1399798014, 1399798008, 1399798010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.411407232284546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:20:42.389472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_50_2773.jpg', '/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_53_2657.jpg', '/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_56_3672.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_05_3695.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_13_2708.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_17_3635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_50_2773.jpg
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_53_2657.jpg
/home/pi/Desktop/images/07112025/19/57/image_07112025_19_57_56_3672.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_05_3695.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_13_2708.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_17_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":["1399798030","1399798033","1399798029","1399798020","1399798031","1399798025"],"photo_ids_order":["1399798020","1399798025","1399798029","1399798030","1399798031","1399798033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1ba63a9407305c7c8602b4fde835116.jpg","text":"TemporaryFile(/tmp/multipartBody6356235888341858594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981303168,"filename":"image_07112025_19_58_05_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2b418591dc9da178c24a6337eb01777.jpg","text":"TemporaryFile(/tmp/multipartBody8237970541865199997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981303168,"filename":"image_07112025_19_58_17_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fa7c23ac312fb4ea2db0190830da8d1.jpg","text":"TemporaryFile(/tmp/multipartBody256964900972842721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981303168,"filename":"image_07112025_19_57_56_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c5969b89657e58dc576dcb3582ca901.jpg","text":"TemporaryFile(/tmp/multipartBody1800413104799451004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981303168,"filename":"image_07112025_19_57_50_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55747f3028669c31d35002e8cbf9666a.jpg","text":"TemporaryFile(/tmp/multipartBody5620922109955331339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981303168,"filename":"image_07112025_19_58_13_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/742f7fb437d8b7c859967fa25d669825.jpg","text":"TemporaryFile(/tmp/multipartBody7306506601324256237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981303168,"filename":"image_07112025_19_57_53_2657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798029","file1":"1399798025","file0":"1399798020","file4":"1399798031","file5":"1399798033","file3":"1399798030"},"map_files_photo_id_array":[{"photo_id":"1399798033","filename":"file5"},{"photo_id":"1399798029","filename":"file2"},{"photo_id":"1399798031","filename":"file4"},{"photo_id":"1399798025","filename":"file1"},{"photo_id":"1399798020","filename":"file0"},{"photo_id":"1399798030","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798030":["hashtag1","hashtag2"]},{"1399798033":["hashtag1","hashtag2"]},{"1399798029":["hashtag1","hashtag2"]},{"1399798020":["hashtag1","hashtag2"]},{"1399798031":["hashtag1","hashtag2"]},{"1399798025":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798030, 1399798033, 1399798029, 1399798020, 1399798031, 1399798025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38685321807861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:21:25.491878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_55_9633.jpg', '/home/pi/Desktop/images/17122025/14/51/image_17122025_14_52_04_9706.jpg', '/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_14_9854.jpg', '/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_25_10826.jpg', '/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_35_9731.jpg', '/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_44_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/51/image_17122025_14_51_55_9633.jpg
/home/pi/Desktop/images/17122025/14/51/image_17122025_14_52_04_9706.jpg
/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_14_9854.jpg
/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_25_10826.jpg
/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_35_9731.jpg
/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_44_9588.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798042","1399798044","1399798038","1399798047","1399798049","1399798040"],"photo_ids_order":["1399798038","1399798040","1399798042","1399798044","1399798047","1399798049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c01cdf9b96f8a2844d973675c9df3d6.jpg","text":"TemporaryFile(/tmp/multipartBody5584821758546517053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981346113,"filename":"image_17122025_14_52_14_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35bd6eb886fe790bb3e2ed27e4cd914c.jpg","text":"TemporaryFile(/tmp/multipartBody6865621158712992362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981346113,"filename":"image_17122025_14_52_25_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d87dc4ebe8540d6f42506c44a02951fc.jpg","text":"TemporaryFile(/tmp/multipartBody363895375859864025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981346113,"filename":"image_17122025_14_51_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ccca49ed3144f721901278f9e702dc17.jpg","text":"TemporaryFile(/tmp/multipartBody2732727338280036443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981346113,"filename":"image_17122025_14_52_35_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a28b9441534a26a9e76aed6408590912.jpg","text":"TemporaryFile(/tmp/multipartBody1009299916552094687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981346113,"filename":"image_17122025_14_52_44_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/595bb751573fc3ae38e943e3bf8a8db6.jpg","text":"TemporaryFile(/tmp/multipartBody834462237899000694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981346113,"filename":"image_17122025_14_52_04_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798042","file1":"1399798040","file0":"1399798038","file4":"1399798047","file5":"1399798049","file3":"1399798044"},"map_files_photo_id_array":[{"photo_id":"1399798049","filename":"file5"},{"photo_id":"1399798042","filename":"file2"},{"photo_id":"1399798047","filename":"file4"},{"photo_id":"1399798040","filename":"file1"},{"photo_id":"1399798038","filename":"file0"},{"photo_id":"1399798044","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798042":["hashtag1","hashtag2"]},{"1399798044":["hashtag1","hashtag2"]},{"1399798038":["hashtag1","hashtag2"]},{"1399798047":["hashtag1","hashtag2"]},{"1399798049":["hashtag1","hashtag2"]},{"1399798040":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798042, 1399798044, 1399798038, 1399798047, 1399798049, 1399798040)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92874526977539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:22:03.117273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_55_10591.jpg', '/home/pi/Desktop/images/17122025/14/52/image_17122025_14_53_05_9710.jpg', '/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_14_9687.jpg', '/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_25_10697.jpg', '/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_35_9583.jpg', '/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_44_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/52/image_17122025_14_52_55_10591.jpg
/home/pi/Desktop/images/17122025/14/52/image_17122025_14_53_05_9710.jpg
/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_14_9687.jpg
/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_25_10697.jpg
/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_35_9583.jpg
/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_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":["1399798051","1399798054","1399798053","1399798056","1399798050","1399798052"],"photo_ids_order":["1399798050","1399798051","1399798052","1399798053","1399798054","1399798056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb0d62bc490bdb95e34484adb4d6a6e5.jpg","text":"TemporaryFile(/tmp/multipartBody3556117963615389476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981383775,"filename":"image_17122025_14_53_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79652222b733e86d8cf97fbf1e74c916.jpg","text":"TemporaryFile(/tmp/multipartBody5779745513200976933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981383775,"filename":"image_17122025_14_53_35_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c0691b69621bbcb69a00dd8125b11fd.jpg","text":"TemporaryFile(/tmp/multipartBody2570316351108402958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981383775,"filename":"image_17122025_14_53_25_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3846309488023346aa86ff4eef177de7.jpg","text":"TemporaryFile(/tmp/multipartBody1828555504857850128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981383775,"filename":"image_17122025_14_53_44_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfc058a8b26ba8b82b9528e8b8aef86e.jpg","text":"TemporaryFile(/tmp/multipartBody5291330629329819494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981383775,"filename":"image_17122025_14_52_55_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87e7f338e37d56bf58795191c7437ae8.jpg","text":"TemporaryFile(/tmp/multipartBody4160259949411479569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981383775,"filename":"image_17122025_14_53_14_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798052","file1":"1399798051","file0":"1399798050","file4":"1399798054","file5":"1399798056","file3":"1399798053"},"map_files_photo_id_array":[{"photo_id":"1399798056","filename":"file5"},{"photo_id":"1399798052","filename":"file2"},{"photo_id":"1399798054","filename":"file4"},{"photo_id":"1399798051","filename":"file1"},{"photo_id":"1399798050","filename":"file0"},{"photo_id":"1399798053","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798051":["hashtag1","hashtag2"]},{"1399798054":["hashtag1","hashtag2"]},{"1399798053":["hashtag1","hashtag2"]},{"1399798056":["hashtag1","hashtag2"]},{"1399798050":["hashtag1","hashtag2"]},{"1399798052":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798051, 1399798054, 1399798053, 1399798056, 1399798050, 1399798052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78139591217041 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:22:42.697707
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_20_2804.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_22_2639.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_26_3621.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_29_2740.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_31_2699.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_35_3533.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_20_2804.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_22_2639.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_26_3621.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_29_2740.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_31_2699.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_35_3533.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798063","1399798072","1399798074","1399798070","1399798067","1399798069"],"photo_ids_order":["1399798063","1399798067","1399798069","1399798070","1399798072","1399798074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b355e8a60f8eb835786a4c358b0fc69.jpg","text":"TemporaryFile(/tmp/multipartBody7162358482028551977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981423421,"filename":"image_07112025_19_58_20_2804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2dd354d4b7d4d5c85e39bb142d91d4f4.jpg","text":"TemporaryFile(/tmp/multipartBody1548824451461543401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981423421,"filename":"image_07112025_19_58_31_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74ccd2eb52be50a381af1764a64435f7.jpg","text":"TemporaryFile(/tmp/multipartBody5794952306327711155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981423421,"filename":"image_07112025_19_58_35_3533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef375badb5f448682c04ebec59467dce.jpg","text":"TemporaryFile(/tmp/multipartBody8848448273086060944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981423421,"filename":"image_07112025_19_58_29_2740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ecbdd120aa216b72b775f3b4cdc6946.jpg","text":"TemporaryFile(/tmp/multipartBody2315675412009695297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981423421,"filename":"image_07112025_19_58_22_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee647a786c7b345beed0ab97a484c2a4.jpg","text":"TemporaryFile(/tmp/multipartBody8652976552215788592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981423421,"filename":"image_07112025_19_58_26_3621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798069","file1":"1399798067","file0":"1399798063","file4":"1399798072","file5":"1399798074","file3":"1399798070"},"map_files_photo_id_array":[{"photo_id":"1399798074","filename":"file5"},{"photo_id":"1399798069","filename":"file2"},{"photo_id":"1399798072","filename":"file4"},{"photo_id":"1399798067","filename":"file1"},{"photo_id":"1399798063","filename":"file0"},{"photo_id":"1399798070","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798063":["hashtag1","hashtag2"]},{"1399798072":["hashtag1","hashtag2"]},{"1399798074":["hashtag1","hashtag2"]},{"1399798070":["hashtag1","hashtag2"]},{"1399798067":["hashtag1","hashtag2"]},{"1399798069":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798063, 1399798072, 1399798074, 1399798070, 1399798067, 1399798069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.251230001449585 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:23:22.015441
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_55_10763.jpg', '/home/pi/Desktop/images/17122025/14/53/image_17122025_14_54_05_9783.jpg', '/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_15_9816.jpg', '/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_24_9582.jpg', '/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_35_10705.jpg', '/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_45_9829.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/53/image_17122025_14_53_55_10763.jpg
/home/pi/Desktop/images/17122025/14/53/image_17122025_14_54_05_9783.jpg
/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_15_9816.jpg
/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_24_9582.jpg
/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_35_10705.jpg
/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_45_9829.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798084","1399798078","1399798086","1399798089","1399798080","1399798082"],"photo_ids_order":["1399798078","1399798080","1399798082","1399798084","1399798086","1399798089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff5890ffefc8f2d8af5e0377f9b05ca4.jpg","text":"TemporaryFile(/tmp/multipartBody6051071612340729447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981462634,"filename":"image_17122025_14_54_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0ae9a7ec0fc7ac9236bcee278857f65.jpg","text":"TemporaryFile(/tmp/multipartBody4581350657317466042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981462634,"filename":"image_17122025_14_53_55_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5860eefdc012e951b11b29299ee5445.jpg","text":"TemporaryFile(/tmp/multipartBody3278176968654879969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981462634,"filename":"image_17122025_14_54_35_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a656259fc52a454030afc40e1b895b2a.jpg","text":"TemporaryFile(/tmp/multipartBody8935310118647902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981462634,"filename":"image_17122025_14_54_45_9829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e062ca9c39a9bbc01c995ccc0380688a.jpg","text":"TemporaryFile(/tmp/multipartBody4045069579948922236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981462634,"filename":"image_17122025_14_54_05_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9409b9b351a259071d76669468470735.jpg","text":"TemporaryFile(/tmp/multipartBody3626793804070631488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981462634,"filename":"image_17122025_14_54_15_9816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798082","file1":"1399798080","file0":"1399798078","file4":"1399798086","file5":"1399798089","file3":"1399798084"},"map_files_photo_id_array":[{"photo_id":"1399798089","filename":"file5"},{"photo_id":"1399798082","filename":"file2"},{"photo_id":"1399798086","filename":"file4"},{"photo_id":"1399798080","filename":"file1"},{"photo_id":"1399798078","filename":"file0"},{"photo_id":"1399798084","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798084":["hashtag1","hashtag2"]},{"1399798078":["hashtag1","hashtag2"]},{"1399798086":["hashtag1","hashtag2"]},{"1399798089":["hashtag1","hashtag2"]},{"1399798080":["hashtag1","hashtag2"]},{"1399798082":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798084, 1399798078, 1399798086, 1399798089, 1399798080, 1399798082)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67569661140442 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:24:02.797198
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_55_9811.jpg', '/home/pi/Desktop/images/17122025/14/54/image_17122025_14_55_04_9825.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_15_10662.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_25_9690.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_34_9667.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_44_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_55_9811.jpg
/home/pi/Desktop/images/17122025/14/54/image_17122025_14_55_04_9825.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_15_10662.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_25_9690.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_34_9667.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_44_9786.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6707878112792969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 15:24:12.178458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:24:22.189410
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_55_9811.jpg', '/home/pi/Desktop/images/17122025/14/54/image_17122025_14_55_04_9825.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_15_10662.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_25_9690.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_34_9667.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_44_9786.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/54/image_17122025_14_54_55_9811.jpg
/home/pi/Desktop/images/17122025/14/54/image_17122025_14_55_04_9825.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_15_10662.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_25_9690.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_34_9667.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_44_9786.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798099","1399798111","1399798104","1399798107","1399798097","1399798109"],"photo_ids_order":["1399798097","1399798099","1399798104","1399798107","1399798109","1399798111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01c724de0fd36c0840233edaef5223c6.jpg","text":"TemporaryFile(/tmp/multipartBody2728282722199729345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981522805,"filename":"image_17122025_14_55_04_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebf49fa405bafc3b22a36887eb397302.jpg","text":"TemporaryFile(/tmp/multipartBody5668004466509140084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981522805,"filename":"image_17122025_14_55_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/964582e43819360b3a0a2a9b999be54c.jpg","text":"TemporaryFile(/tmp/multipartBody3586030560328430049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981522805,"filename":"image_17122025_14_55_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ceb85cddd33a0a7efcb9e843860e636.jpg","text":"TemporaryFile(/tmp/multipartBody4350871169307908925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981522805,"filename":"image_17122025_14_55_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab761aa011dc66cff1385aa6e083ec6c.jpg","text":"TemporaryFile(/tmp/multipartBody6274948966934695622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981522805,"filename":"image_17122025_14_54_55_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9105828d6d134b0c28a052826e1a813.jpg","text":"TemporaryFile(/tmp/multipartBody7705665015222815372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981522805,"filename":"image_17122025_14_55_34_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798104","file1":"1399798099","file0":"1399798097","file4":"1399798109","file5":"1399798111","file3":"1399798107"},"map_files_photo_id_array":[{"photo_id":"1399798111","filename":"file5"},{"photo_id":"1399798104","filename":"file2"},{"photo_id":"1399798109","filename":"file4"},{"photo_id":"1399798099","filename":"file1"},{"photo_id":"1399798097","filename":"file0"},{"photo_id":"1399798107","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798099":["hashtag1","hashtag2"]},{"1399798111":["hashtag1","hashtag2"]},{"1399798104":["hashtag1","hashtag2"]},{"1399798107":["hashtag1","hashtag2"]},{"1399798097":["hashtag1","hashtag2"]},{"1399798109":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798099, 1399798111, 1399798104, 1399798107, 1399798097, 1399798109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.757529735565186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:25:03.140292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_55_10762.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_56_05_9823.jpg', '/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_15_9731.jpg', '/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_24_9853.jpg', '/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_35_10623.jpg', '/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_45_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_55_10762.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_56_05_9823.jpg
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_15_9731.jpg
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_24_9853.jpg
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_35_10623.jpg
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_45_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.5630078315734863 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 15:25:12.374105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:25:22.519945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_55_10762.jpg', '/home/pi/Desktop/images/17122025/14/55/image_17122025_14_56_05_9823.jpg', '/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_15_9731.jpg', '/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_24_9853.jpg', '/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_35_10623.jpg', '/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_45_9835.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_55_55_10762.jpg
/home/pi/Desktop/images/17122025/14/55/image_17122025_14_56_05_9823.jpg
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_15_9731.jpg
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_24_9853.jpg
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_35_10623.jpg
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_45_9835.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798126","1399798122","1399798131","1399798128","1399798130","1399798124"],"photo_ids_order":["1399798122","1399798124","1399798126","1399798128","1399798130","1399798131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/869682955b0b3dd65ca4cff746209891.jpg","text":"TemporaryFile(/tmp/multipartBody5788261610796824338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981583136,"filename":"image_17122025_14_56_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e0dcbe9108269a6c731bd89bff7bdbb.jpg","text":"TemporaryFile(/tmp/multipartBody4744814782814639913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981583136,"filename":"image_17122025_14_55_55_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b342f11c354d72ae2b902b7c2ce2a4ea.jpg","text":"TemporaryFile(/tmp/multipartBody7775428262471977072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981583136,"filename":"image_17122025_14_56_45_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60f11fcdc2da34cffd90999feb6df88c.jpg","text":"TemporaryFile(/tmp/multipartBody5254610865296133295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981583136,"filename":"image_17122025_14_56_24_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05751ffc72c09a9d78d8b9dcaf8ac891.jpg","text":"TemporaryFile(/tmp/multipartBody7993267575281667477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981583136,"filename":"image_17122025_14_56_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f3c19e24df9e94c3dcc9d334c6a5dd1.jpg","text":"TemporaryFile(/tmp/multipartBody4438249330124352771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981583136,"filename":"image_17122025_14_56_05_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798126","file1":"1399798124","file0":"1399798122","file4":"1399798130","file5":"1399798131","file3":"1399798128"},"map_files_photo_id_array":[{"photo_id":"1399798131","filename":"file5"},{"photo_id":"1399798126","filename":"file2"},{"photo_id":"1399798130","filename":"file4"},{"photo_id":"1399798124","filename":"file1"},{"photo_id":"1399798122","filename":"file0"},{"photo_id":"1399798128","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798126":["hashtag1","hashtag2"]},{"1399798122":["hashtag1","hashtag2"]},{"1399798131":["hashtag1","hashtag2"]},{"1399798128":["hashtag1","hashtag2"]},{"1399798130":["hashtag1","hashtag2"]},{"1399798124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798126, 1399798122, 1399798131, 1399798128, 1399798130, 1399798124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.114869117736816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:26:03.201477
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_55_9782.jpg', '/home/pi/Desktop/images/17122025/14/56/image_17122025_14_57_04_9736.jpg', '/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_15_10704.jpg', '/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_25_9647.jpg', '/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_35_9824.jpg', '/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_44_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_56_55_9782.jpg
/home/pi/Desktop/images/17122025/14/56/image_17122025_14_57_04_9736.jpg
/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_15_10704.jpg
/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_25_9647.jpg
/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_35_9824.jpg
/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_44_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798138","1399798135","1399798140","1399798137","1399798133","1399798136"],"photo_ids_order":["1399798133","1399798135","1399798136","1399798137","1399798138","1399798140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7650c7e69994b536874c5cb1f894b6b.jpg","text":"TemporaryFile(/tmp/multipartBody3334652167924424083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981623841,"filename":"image_17122025_14_57_35_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0067008d2c910b6b89fb875de0c82f1.jpg","text":"TemporaryFile(/tmp/multipartBody8317838753045577942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981623841,"filename":"image_17122025_14_57_04_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a12d4661fa096df58196497ab1780784.jpg","text":"TemporaryFile(/tmp/multipartBody2248220631355762518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981623841,"filename":"image_17122025_14_57_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e16c178f99ad464886c4a645cfbdd58.jpg","text":"TemporaryFile(/tmp/multipartBody3596588203000234916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981623841,"filename":"image_17122025_14_57_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1884d4c6c29eb74a02ea43133b047f4e.jpg","text":"TemporaryFile(/tmp/multipartBody667176808458305220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981623841,"filename":"image_17122025_14_56_55_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96614d974f7c5d2fe67f0b27cf61199c.jpg","text":"TemporaryFile(/tmp/multipartBody8148363080688013985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981623841,"filename":"image_17122025_14_57_15_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798136","file1":"1399798135","file0":"1399798133","file4":"1399798138","file5":"1399798140","file3":"1399798137"},"map_files_photo_id_array":[{"photo_id":"1399798140","filename":"file5"},{"photo_id":"1399798136","filename":"file2"},{"photo_id":"1399798138","filename":"file4"},{"photo_id":"1399798135","filename":"file1"},{"photo_id":"1399798133","filename":"file0"},{"photo_id":"1399798137","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798138":["hashtag1","hashtag2"]},{"1399798135":["hashtag1","hashtag2"]},{"1399798140":["hashtag1","hashtag2"]},{"1399798137":["hashtag1","hashtag2"]},{"1399798133":["hashtag1","hashtag2"]},{"1399798136":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798138, 1399798135, 1399798140, 1399798137, 1399798133, 1399798136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.07206392288208 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:26:42.744206
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_38_2620.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_40_2926.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_44_3659.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_47_2788.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_50_2674.jpg', '/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_52_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_38_2620.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_40_2926.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_44_3659.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_47_2788.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_50_2674.jpg
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_52_2789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798156","1399798150","1399798155","1399798158","1399798157","1399798154"],"photo_ids_order":["1399798150","1399798154","1399798155","1399798156","1399798157","1399798158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d16904c3ff9d5640d97ec74b2750f7f.jpg","text":"TemporaryFile(/tmp/multipartBody3508573976395855381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981663501,"filename":"image_07112025_19_58_47_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70c9c0c93eaa8658daffee3bfa8c83a7.jpg","text":"TemporaryFile(/tmp/multipartBody1237181129384300294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981663501,"filename":"image_07112025_19_58_38_2620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b089993b8e6e6983bb78024779e5a8a4.jpg","text":"TemporaryFile(/tmp/multipartBody8933550359652814735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981663501,"filename":"image_07112025_19_58_44_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1231df888092516acd9404146a7a1f6.jpg","text":"TemporaryFile(/tmp/multipartBody3190649242288884610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981663501,"filename":"image_07112025_19_58_52_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/740615a958b4f0d13741fff6ff3039bd.jpg","text":"TemporaryFile(/tmp/multipartBody1449324032171186183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981663501,"filename":"image_07112025_19_58_50_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/933a9b0558d86a48128de346cd9b1945.jpg","text":"TemporaryFile(/tmp/multipartBody1853464285050272503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981663501,"filename":"image_07112025_19_58_40_2926.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798155","file1":"1399798154","file0":"1399798150","file4":"1399798157","file5":"1399798158","file3":"1399798156"},"map_files_photo_id_array":[{"photo_id":"1399798158","filename":"file5"},{"photo_id":"1399798155","filename":"file2"},{"photo_id":"1399798157","filename":"file4"},{"photo_id":"1399798154","filename":"file1"},{"photo_id":"1399798150","filename":"file0"},{"photo_id":"1399798156","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798156":["hashtag1","hashtag2"]},{"1399798150":["hashtag1","hashtag2"]},{"1399798155":["hashtag1","hashtag2"]},{"1399798158":["hashtag1","hashtag2"]},{"1399798157":["hashtag1","hashtag2"]},{"1399798154":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798156, 1399798150, 1399798155, 1399798158, 1399798157, 1399798154)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.81798815727234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:27:22.001495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_55_10910.jpg', '/home/pi/Desktop/images/17122025/14/57/image_17122025_14_58_05_9662.jpg', '/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_15_9827.jpg', '/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_24_9624.jpg', '/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_35_10654.jpg', '/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_45_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/57/image_17122025_14_57_55_10910.jpg
/home/pi/Desktop/images/17122025/14/57/image_17122025_14_58_05_9662.jpg
/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_15_9827.jpg
/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_24_9624.jpg
/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_35_10654.jpg
/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_45_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":["1399798162","1399798165","1399798159","1399798170","1399798167","1399798163"],"photo_ids_order":["1399798159","1399798162","1399798163","1399798165","1399798167","1399798170"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/328171d265e8d2f44df4befabde7d7e4.jpg","text":"TemporaryFile(/tmp/multipartBody637306372875213042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981702618,"filename":"image_17122025_14_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/2025/12/17/76ceced5ae9d51ea5283ebc820e79be4.jpg","text":"TemporaryFile(/tmp/multipartBody6532801076153799683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981702618,"filename":"image_17122025_14_58_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76123fa106fcdd07fbc080bf925d2d04.jpg","text":"TemporaryFile(/tmp/multipartBody2841989241476483220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981702618,"filename":"image_17122025_14_57_55_10910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b824911e43dbd3515210cde454b6c14.jpg","text":"TemporaryFile(/tmp/multipartBody1499845673282644529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981702618,"filename":"image_17122025_14_58_45_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/224bb99760e0d26b9f389662e660babd.jpg","text":"TemporaryFile(/tmp/multipartBody4435925770705389475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981702618,"filename":"image_17122025_14_58_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01c385b148ed4a5f4c99949b3049b5fc.jpg","text":"TemporaryFile(/tmp/multipartBody5965221361395155007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981702618,"filename":"image_17122025_14_58_15_9827.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798163","file1":"1399798162","file0":"1399798159","file4":"1399798167","file5":"1399798170","file3":"1399798165"},"map_files_photo_id_array":[{"photo_id":"1399798170","filename":"file5"},{"photo_id":"1399798163","filename":"file2"},{"photo_id":"1399798167","filename":"file4"},{"photo_id":"1399798162","filename":"file1"},{"photo_id":"1399798159","filename":"file0"},{"photo_id":"1399798165","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798162":["hashtag1","hashtag2"]},{"1399798165":["hashtag1","hashtag2"]},{"1399798159":["hashtag1","hashtag2"]},{"1399798170":["hashtag1","hashtag2"]},{"1399798167":["hashtag1","hashtag2"]},{"1399798163":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798162, 1399798165, 1399798159, 1399798170, 1399798167, 1399798163)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.99246668815613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:28:02.748624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_54_9833.jpg', '/home/pi/Desktop/images/17122025/14/58/image_17122025_14_59_04_9689.jpg', '/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_15_10670.jpg', '/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_24_9548.jpg', '/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_35_10609.jpg', '/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_45_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/58/image_17122025_14_58_54_9833.jpg
/home/pi/Desktop/images/17122025/14/58/image_17122025_14_59_04_9689.jpg
/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_15_10670.jpg
/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_24_9548.jpg
/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_35_10609.jpg
/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_45_9577.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798173","1399798176","1399798175","1399798178","1399798172","1399798174"],"photo_ids_order":["1399798172","1399798173","1399798174","1399798175","1399798176","1399798178"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fc4c7ea512b39b70b4a808c90b691f2.jpg","text":"TemporaryFile(/tmp/multipartBody6941908194671111259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981743395,"filename":"image_17122025_14_59_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eaa92f762b02cb8969369b8ee78bfdfd.jpg","text":"TemporaryFile(/tmp/multipartBody3461435129089200546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981743395,"filename":"image_17122025_14_59_35_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/219ea2cae345454a7bd25f8f165f93f1.jpg","text":"TemporaryFile(/tmp/multipartBody346906417644370145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981743395,"filename":"image_17122025_14_59_24_9548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbe66965364e8e29a3f645f7f00ff9aa.jpg","text":"TemporaryFile(/tmp/multipartBody4916924855650815109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981743395,"filename":"image_17122025_14_59_45_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a33fafaad3e5f4c45c95b29f7e83429.jpg","text":"TemporaryFile(/tmp/multipartBody3331274138481116501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981743395,"filename":"image_17122025_14_58_54_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b79bf7f8c811630acdb51d1523930c12.jpg","text":"TemporaryFile(/tmp/multipartBody573582062982255255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981743395,"filename":"image_17122025_14_59_15_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798174","file1":"1399798173","file0":"1399798172","file4":"1399798176","file5":"1399798178","file3":"1399798175"},"map_files_photo_id_array":[{"photo_id":"1399798178","filename":"file5"},{"photo_id":"1399798174","filename":"file2"},{"photo_id":"1399798176","filename":"file4"},{"photo_id":"1399798173","filename":"file1"},{"photo_id":"1399798172","filename":"file0"},{"photo_id":"1399798175","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798173":["hashtag1","hashtag2"]},{"1399798176":["hashtag1","hashtag2"]},{"1399798175":["hashtag1","hashtag2"]},{"1399798178":["hashtag1","hashtag2"]},{"1399798172":["hashtag1","hashtag2"]},{"1399798174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798173, 1399798176, 1399798175, 1399798178, 1399798172, 1399798174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.798319578170776 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:28:42.301638
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_56_3633.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_10_2768.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_14_3750.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_20_2703.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_22_2875.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_55_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_56_3633.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_10_2768.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_14_3750.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_20_2703.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_22_2875.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_55_2824.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6769423484802246 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:29:03.465846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_54_9646.jpg', '/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_15_10055.jpg', '/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_25_10749.jpg', '/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_35_9715.jpg', '/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_45_9665.jpg', '/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_55_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/14/59/image_17122025_14_59_54_9646.jpg
/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_15_10055.jpg
/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_25_10749.jpg
/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_35_9715.jpg
/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_45_9665.jpg
/home/pi/Desktop/images/17122025/15/00/image_17122025_15_00_55_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":["1399798210","1399798204","1399798206","1399798199","1399798208","1399798202"],"photo_ids_order":["1399798199","1399798202","1399798204","1399798206","1399798208","1399798210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c58cb0fa093f599e98b06a988b1328b6.jpg","text":"TemporaryFile(/tmp/multipartBody1504728018218651550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981804271,"filename":"image_17122025_15_00_55_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dc54bae7d04167f7a6ccbaa9e7ab0ee.jpg","text":"TemporaryFile(/tmp/multipartBody222596813183838938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981804271,"filename":"image_17122025_15_00_25_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a50d2be87732656a3f324933476d4eab.jpg","text":"TemporaryFile(/tmp/multipartBody2961873120635910901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981804271,"filename":"image_17122025_15_00_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef738ea48e907010cc64142cc5a25fad.jpg","text":"TemporaryFile(/tmp/multipartBody8303343288170029745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981804271,"filename":"image_17122025_14_59_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ae2f6564dcf93f53f5df0994a1d6f24.jpg","text":"TemporaryFile(/tmp/multipartBody9122801913653601720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981804271,"filename":"image_17122025_15_00_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39e1b7145ab1e02f2198928edc07181e.jpg","text":"TemporaryFile(/tmp/multipartBody8186074637314619994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981804271,"filename":"image_17122025_15_00_15_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798204","file1":"1399798202","file0":"1399798199","file4":"1399798208","file5":"1399798210","file3":"1399798206"},"map_files_photo_id_array":[{"photo_id":"1399798210","filename":"file5"},{"photo_id":"1399798204","filename":"file2"},{"photo_id":"1399798208","filename":"file4"},{"photo_id":"1399798202","filename":"file1"},{"photo_id":"1399798199","filename":"file0"},{"photo_id":"1399798206","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798210":["hashtag1","hashtag2"]},{"1399798204":["hashtag1","hashtag2"]},{"1399798206":["hashtag1","hashtag2"]},{"1399798199":["hashtag1","hashtag2"]},{"1399798208":["hashtag1","hashtag2"]},{"1399798202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798210, 1399798204, 1399798206, 1399798199, 1399798208, 1399798202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.896689653396606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:29:42.560741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_56_3633.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_10_2768.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_14_3750.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_20_2703.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_22_2875.jpg', '/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_55_2824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/19/58/image_07112025_19_58_56_3633.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_10_2768.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_14_3750.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_20_2703.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_22_2875.jpg
/home/pi/Desktop/images/07112025/19/59/image_07112025_19_59_55_2824.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":["1399798228","1399798221","1399798226","1399798220","1399798223","1399798217"],"photo_ids_order":["1399798217","1399798220","1399798221","1399798223","1399798226","1399798228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6069ba653ea69cdb02d69f4e5f83f03.jpg","text":"TemporaryFile(/tmp/multipartBody2906884239903004883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981843230,"filename":"image_07112025_19_59_55_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d420ba7b2fdfb539ac6de0599a1796f2.jpg","text":"TemporaryFile(/tmp/multipartBody5127067081109745687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981843230,"filename":"image_07112025_19_59_14_3750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bf5576adec5baa8913134196a9468fc.jpg","text":"TemporaryFile(/tmp/multipartBody3199315603804440202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981843230,"filename":"image_07112025_19_59_22_2875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb29ed8aea9330ce3ae198219274fcba.jpg","text":"TemporaryFile(/tmp/multipartBody434008186070199467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981843230,"filename":"image_07112025_19_59_10_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b412887655fcadb9fffe25a4b87635fd.jpg","text":"TemporaryFile(/tmp/multipartBody5438113257857058309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981843230,"filename":"image_07112025_19_59_20_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a69f681ebfa4c20423ba97a06d3f8034.jpg","text":"TemporaryFile(/tmp/multipartBody6079473873806123331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981843230,"filename":"image_07112025_19_58_56_3633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798221","file1":"1399798220","file0":"1399798217","file4":"1399798226","file5":"1399798228","file3":"1399798223"},"map_files_photo_id_array":[{"photo_id":"1399798228","filename":"file5"},{"photo_id":"1399798221","filename":"file2"},{"photo_id":"1399798226","filename":"file4"},{"photo_id":"1399798220","filename":"file1"},{"photo_id":"1399798217","filename":"file0"},{"photo_id":"1399798223","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798228":["hashtag1","hashtag2"]},{"1399798221":["hashtag1","hashtag2"]},{"1399798226":["hashtag1","hashtag2"]},{"1399798220":["hashtag1","hashtag2"]},{"1399798223":["hashtag1","hashtag2"]},{"1399798217":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798228, 1399798221, 1399798226, 1399798220, 1399798223, 1399798217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.30268263816833 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:31:02.672976
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/00/image_17122025_15_01_05_9657.jpg', '/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_15_9890.jpg', '/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_25_9687.jpg', '/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_35_10712.jpg', '/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_45_9760.jpg', '/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/00/image_17122025_15_01_05_9657.jpg
/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_15_9890.jpg
/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_25_9687.jpg
/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_35_10712.jpg
/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_45_9760.jpg
/home/pi/Desktop/images/17122025/15/01/image_17122025_15_01_55_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":["1399798237","1399798234","1399798233","1399798236","1399798239","1399798235"],"photo_ids_order":["1399798233","1399798234","1399798235","1399798236","1399798237","1399798239"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e058af94b6e0caa15c0d23af0f38a92c.jpg","text":"TemporaryFile(/tmp/multipartBody5062167708504169404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981923422,"filename":"image_17122025_15_01_45_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b69154a9f8028306829c8429d550c20.jpg","text":"TemporaryFile(/tmp/multipartBody8082430263782713419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981923422,"filename":"image_17122025_15_01_15_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ce8e6bdfaa383d916885b1d8e949df4.jpg","text":"TemporaryFile(/tmp/multipartBody7229654033933828906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981923422,"filename":"image_17122025_15_01_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dacf19105e6bb79536f6ca0fe50eb169.jpg","text":"TemporaryFile(/tmp/multipartBody8984723895041392798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981923422,"filename":"image_17122025_15_01_35_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f27d4869490a53311dc404525cbcd00c.jpg","text":"TemporaryFile(/tmp/multipartBody5591223504704321920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981923422,"filename":"image_17122025_15_01_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c74c4f38a7e420a199dd4889852bd30b.jpg","text":"TemporaryFile(/tmp/multipartBody1886033139022403651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981923422,"filename":"image_17122025_15_01_25_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798235","file1":"1399798234","file0":"1399798233","file4":"1399798237","file5":"1399798239","file3":"1399798236"},"map_files_photo_id_array":[{"photo_id":"1399798239","filename":"file5"},{"photo_id":"1399798235","filename":"file2"},{"photo_id":"1399798237","filename":"file4"},{"photo_id":"1399798234","filename":"file1"},{"photo_id":"1399798233","filename":"file0"},{"photo_id":"1399798236","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798237":["hashtag1","hashtag2"]},{"1399798234":["hashtag1","hashtag2"]},{"1399798233":["hashtag1","hashtag2"]},{"1399798236":["hashtag1","hashtag2"]},{"1399798239":["hashtag1","hashtag2"]},{"1399798235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798237, 1399798234, 1399798233, 1399798236, 1399798239, 1399798235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10153889656067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:31:42.105178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/00/image_07112025_20_00_05_2848.jpg', '/home/pi/Desktop/images/07112025/20/00/image_07112025_20_00_35_2563.jpg', '/home/pi/Desktop/images/07112025/20/00/image_07112025_20_00_37_2715.jpg', '/home/pi/Desktop/images/07112025/20/00/image_07112025_20_00_40_2864.jpg', '/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_16_2857.jpg', '/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_37_2729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/00/image_07112025_20_00_05_2848.jpg
/home/pi/Desktop/images/07112025/20/00/image_07112025_20_00_35_2563.jpg
/home/pi/Desktop/images/07112025/20/00/image_07112025_20_00_37_2715.jpg
/home/pi/Desktop/images/07112025/20/00/image_07112025_20_00_40_2864.jpg
/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_16_2857.jpg
/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_37_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":["1399798249","1399798251","1399798245","1399798248","1399798250","1399798247"],"photo_ids_order":["1399798245","1399798247","1399798248","1399798249","1399798250","1399798251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dde1a4f76c3bb90287a2c3e868272ec1.jpg","text":"TemporaryFile(/tmp/multipartBody1512764080996383881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981962924,"filename":"image_07112025_20_00_40_2864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/167d6e82a0f64060e4004e7905450dab.jpg","text":"TemporaryFile(/tmp/multipartBody1695584579173735877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981962924,"filename":"image_07112025_20_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/2025/12/17/9b07e30f86aa5dfbd8c00f4ebb5a8cd7.jpg","text":"TemporaryFile(/tmp/multipartBody8751234114716160301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981962924,"filename":"image_07112025_20_00_05_2848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6f312906b4134cb06c8977d62d9db99.jpg","text":"TemporaryFile(/tmp/multipartBody8711742095614150904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981962924,"filename":"image_07112025_20_00_37_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3371e282dfce3f765dc9041f2840df2c.jpg","text":"TemporaryFile(/tmp/multipartBody9062010685247888317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981962924,"filename":"image_07112025_20_01_16_2857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d62b22a14fe71ce60d5d60dc3e4bead2.jpg","text":"TemporaryFile(/tmp/multipartBody3864640646672101940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765981962924,"filename":"image_07112025_20_00_35_2563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798248","file1":"1399798247","file0":"1399798245","file4":"1399798250","file5":"1399798251","file3":"1399798249"},"map_files_photo_id_array":[{"photo_id":"1399798251","filename":"file5"},{"photo_id":"1399798248","filename":"file2"},{"photo_id":"1399798250","filename":"file4"},{"photo_id":"1399798247","filename":"file1"},{"photo_id":"1399798245","filename":"file0"},{"photo_id":"1399798249","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798249":["hashtag1","hashtag2"]},{"1399798251":["hashtag1","hashtag2"]},{"1399798245":["hashtag1","hashtag2"]},{"1399798248":["hashtag1","hashtag2"]},{"1399798250":["hashtag1","hashtag2"]},{"1399798247":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798249, 1399798251, 1399798245, 1399798248, 1399798250, 1399798247)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87498903274536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:32:22.359771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/01/image_17122025_15_02_05_10649.jpg', '/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_15_9652.jpg', '/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_25_9649.jpg', '/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_35_10713.jpg', '/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_45_9622.jpg', '/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_55_9968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/01/image_17122025_15_02_05_10649.jpg
/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_15_9652.jpg
/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_25_9649.jpg
/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_35_10713.jpg
/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_45_9622.jpg
/home/pi/Desktop/images/17122025/15/02/image_17122025_15_02_55_9968.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798258","1399798260","1399798254","1399798257","1399798265","1399798253"],"photo_ids_order":["1399798253","1399798254","1399798257","1399798258","1399798260","1399798265"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d145dd405a7d20c8daefdbb2ce3df53d.jpg","text":"TemporaryFile(/tmp/multipartBody3333718714070220500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982002999,"filename":"image_17122025_15_02_35_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7beb0a94c123b8a8dc755e204e1eb9c0.jpg","text":"TemporaryFile(/tmp/multipartBody431064474208130207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982002999,"filename":"image_17122025_15_02_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81485ede6269232986a6bbd9d44abd85.jpg","text":"TemporaryFile(/tmp/multipartBody9120538161465960297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982002999,"filename":"image_17122025_15_02_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b5973a7248882b0714fbaf543c5dbbc.jpg","text":"TemporaryFile(/tmp/multipartBody6361335845523458394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982002999,"filename":"image_17122025_15_02_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7a6d1aecb89907775329786a849e57a.jpg","text":"TemporaryFile(/tmp/multipartBody6926116809816608053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982002999,"filename":"image_17122025_15_02_55_9968.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e20e7295119e6e8672da1d6b9098b6a7.jpg","text":"TemporaryFile(/tmp/multipartBody9038618976763855015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982002999,"filename":"image_17122025_15_02_05_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798257","file1":"1399798254","file0":"1399798253","file4":"1399798260","file5":"1399798265","file3":"1399798258"},"map_files_photo_id_array":[{"photo_id":"1399798265","filename":"file5"},{"photo_id":"1399798257","filename":"file2"},{"photo_id":"1399798260","filename":"file4"},{"photo_id":"1399798254","filename":"file1"},{"photo_id":"1399798253","filename":"file0"},{"photo_id":"1399798258","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798258":["hashtag1","hashtag2"]},{"1399798260":["hashtag1","hashtag2"]},{"1399798254":["hashtag1","hashtag2"]},{"1399798257":["hashtag1","hashtag2"]},{"1399798265":["hashtag1","hashtag2"]},{"1399798253":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798258, 1399798260, 1399798254, 1399798257, 1399798265, 1399798253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51823329925537 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:33:03.273796
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/02/image_17122025_15_03_05_9660.jpg', '/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_15_10667.jpg', '/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_25_9696.jpg', '/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_35_9675.jpg', '/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_45_10727.jpg', '/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_55_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/02/image_17122025_15_03_05_9660.jpg
/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_15_10667.jpg
/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_25_9696.jpg
/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_35_9675.jpg
/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_45_10727.jpg
/home/pi/Desktop/images/17122025/15/03/image_17122025_15_03_55_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":["1399798270","1399798269","1399798271","1399798268","1399798273","1399798267"],"photo_ids_order":["1399798267","1399798268","1399798269","1399798270","1399798271","1399798273"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ea9142d36975a6548ad3ac76d5623a6.jpg","text":"TemporaryFile(/tmp/multipartBody6086359442685372976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982043959,"filename":"image_17122025_15_03_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a0dbb3ff346cba9019b977ca2327d47.jpg","text":"TemporaryFile(/tmp/multipartBody4591620232589830240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982043959,"filename":"image_17122025_15_03_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a302b5953afe2e60a1e1cd2d5d66090f.jpg","text":"TemporaryFile(/tmp/multipartBody5226325664638380719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982043959,"filename":"image_17122025_15_03_45_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/940161884069154b2eef3fced7488811.jpg","text":"TemporaryFile(/tmp/multipartBody1263760049747773356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982043959,"filename":"image_17122025_15_03_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/229e7ff4e7545196951a854e82778315.jpg","text":"TemporaryFile(/tmp/multipartBody2290460344925817565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982043959,"filename":"image_17122025_15_03_55_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d47c0cd071e341ade4336f413e2424a.jpg","text":"TemporaryFile(/tmp/multipartBody6062980323810268165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982043959,"filename":"image_17122025_15_03_05_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798269","file1":"1399798268","file0":"1399798267","file4":"1399798271","file5":"1399798273","file3":"1399798270"},"map_files_photo_id_array":[{"photo_id":"1399798273","filename":"file5"},{"photo_id":"1399798269","filename":"file2"},{"photo_id":"1399798271","filename":"file4"},{"photo_id":"1399798268","filename":"file1"},{"photo_id":"1399798267","filename":"file0"},{"photo_id":"1399798270","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798270":["hashtag1","hashtag2"]},{"1399798269":["hashtag1","hashtag2"]},{"1399798271":["hashtag1","hashtag2"]},{"1399798268":["hashtag1","hashtag2"]},{"1399798273":["hashtag1","hashtag2"]},{"1399798267":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798270, 1399798269, 1399798271, 1399798268, 1399798273, 1399798267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.16573429107666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:33:42.716798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_40_2677.jpg', '/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_44_3684.jpg', '/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_49_2595.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_01_2668.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_07_2591.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_16_2663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_40_2677.jpg
/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_44_3684.jpg
/home/pi/Desktop/images/07112025/20/01/image_07112025_20_01_49_2595.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_01_2668.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_07_2591.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_16_2663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798282","1399798279","1399798281","1399798284","1399798283","1399798285"],"photo_ids_order":["1399798279","1399798281","1399798282","1399798283","1399798284","1399798285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2808de1051a10781ffe58976bddaee2.jpg","text":"TemporaryFile(/tmp/multipartBody3372003117455662563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982083537,"filename":"image_07112025_20_01_49_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9eb0602b06d857d847f600a50716e95a.jpg","text":"TemporaryFile(/tmp/multipartBody4325977578671637977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982083537,"filename":"image_07112025_20_01_40_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0710a8cbec3ab32009a768a23ffd699d.jpg","text":"TemporaryFile(/tmp/multipartBody2632146286648298493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982083537,"filename":"image_07112025_20_01_44_3684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52f39a393a6fa75bb931949b0df0c09b.jpg","text":"TemporaryFile(/tmp/multipartBody6845802811882429178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982083537,"filename":"image_07112025_20_02_07_2591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a2accbf715c11653c3f875d39c5b686.jpg","text":"TemporaryFile(/tmp/multipartBody8982550342153254837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982083537,"filename":"image_07112025_20_02_01_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c377562667ae913a91f6ab3750c09752.jpg","text":"TemporaryFile(/tmp/multipartBody7214846713919305319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982083537,"filename":"image_07112025_20_02_16_2663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798282","file1":"1399798281","file0":"1399798279","file4":"1399798284","file5":"1399798285","file3":"1399798283"},"map_files_photo_id_array":[{"photo_id":"1399798285","filename":"file5"},{"photo_id":"1399798282","filename":"file2"},{"photo_id":"1399798284","filename":"file4"},{"photo_id":"1399798281","filename":"file1"},{"photo_id":"1399798279","filename":"file0"},{"photo_id":"1399798283","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798282":["hashtag1","hashtag2"]},{"1399798279":["hashtag1","hashtag2"]},{"1399798281":["hashtag1","hashtag2"]},{"1399798284":["hashtag1","hashtag2"]},{"1399798283":["hashtag1","hashtag2"]},{"1399798285":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798282, 1399798279, 1399798281, 1399798284, 1399798283, 1399798285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50501370429993 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:34:22.048985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/03/image_17122025_15_04_05_9669.jpg', '/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_15_10698.jpg', '/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_25_9629.jpg', '/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_35_9758.jpg', '/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_45_9842.jpg', '/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_55_10732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/03/image_17122025_15_04_05_9669.jpg
/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_15_10698.jpg
/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_25_9629.jpg
/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_35_9758.jpg
/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_45_9842.jpg
/home/pi/Desktop/images/17122025/15/04/image_17122025_15_04_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":["1399798297","1399798290","1399798292","1399798286","1399798294","1399798288"],"photo_ids_order":["1399798286","1399798288","1399798290","1399798292","1399798294","1399798297"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e512a2997345608cb7923f6dfb85e6b.jpg","text":"TemporaryFile(/tmp/multipartBody620592385470034744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982122687,"filename":"image_17122025_15_04_55_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/056bf90b7e6ae989cc18933631a8641d.jpg","text":"TemporaryFile(/tmp/multipartBody5634310320090000194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982122687,"filename":"image_17122025_15_04_25_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d03e82626a5ed18d1634433a0cb56818.jpg","text":"TemporaryFile(/tmp/multipartBody7626641254652087158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982122687,"filename":"image_17122025_15_04_35_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94829c3c7fda4d942f4eb98de9426221.jpg","text":"TemporaryFile(/tmp/multipartBody6159868601167805651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982122687,"filename":"image_17122025_15_04_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cddf94144ee3516c7733bed1b5edb19d.jpg","text":"TemporaryFile(/tmp/multipartBody1901417345129243256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982122687,"filename":"image_17122025_15_04_45_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe91f4c0f54da2e21fa958403a3fee1c.jpg","text":"TemporaryFile(/tmp/multipartBody3585170564420975683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982122687,"filename":"image_17122025_15_04_15_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798290","file1":"1399798288","file0":"1399798286","file4":"1399798294","file5":"1399798297","file3":"1399798292"},"map_files_photo_id_array":[{"photo_id":"1399798297","filename":"file5"},{"photo_id":"1399798290","filename":"file2"},{"photo_id":"1399798294","filename":"file4"},{"photo_id":"1399798288","filename":"file1"},{"photo_id":"1399798286","filename":"file0"},{"photo_id":"1399798292","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798297":["hashtag1","hashtag2"]},{"1399798290":["hashtag1","hashtag2"]},{"1399798292":["hashtag1","hashtag2"]},{"1399798286":["hashtag1","hashtag2"]},{"1399798294":["hashtag1","hashtag2"]},{"1399798288":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798297, 1399798290, 1399798292, 1399798286, 1399798294, 1399798288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.245065689086914 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:35:03.038141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/04/image_17122025_15_05_05_9802.jpg', '/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_15_9745.jpg', '/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_25_9645.jpg', '/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_35_10768.jpg', '/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_45_9692.jpg', '/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_55_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/04/image_17122025_15_05_05_9802.jpg
/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_15_9745.jpg
/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_25_9645.jpg
/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_35_10768.jpg
/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_45_9692.jpg
/home/pi/Desktop/images/17122025/15/05/image_17122025_15_05_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":["1399798300","1399798308","1399798302","1399798305","1399798301","1399798304"],"photo_ids_order":["1399798300","1399798301","1399798302","1399798304","1399798305","1399798308"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46e8fb4b9e78debd984c47143f3348ac.jpg","text":"TemporaryFile(/tmp/multipartBody1720577109595383178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982163782,"filename":"image_17122025_15_05_05_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b05f21b30e70eda4d2402c66d2dbdcc2.jpg","text":"TemporaryFile(/tmp/multipartBody225605938184578169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982163782,"filename":"image_17122025_15_05_55_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9cc3f4ab129111e836507f19a15d90e.jpg","text":"TemporaryFile(/tmp/multipartBody2536442896004222480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982163782,"filename":"image_17122025_15_05_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17a8a17897eda300a1c956e86a582be8.jpg","text":"TemporaryFile(/tmp/multipartBody2232492418620120285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982163782,"filename":"image_17122025_15_05_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a69b0163558a6bb702fe6f43fad9c042.jpg","text":"TemporaryFile(/tmp/multipartBody4817225413781235304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982163782,"filename":"image_17122025_15_05_15_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcca29b5aa62b774168a54f1b768e159.jpg","text":"TemporaryFile(/tmp/multipartBody5759166084597381978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982163782,"filename":"image_17122025_15_05_35_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798302","file1":"1399798301","file0":"1399798300","file4":"1399798305","file5":"1399798308","file3":"1399798304"},"map_files_photo_id_array":[{"photo_id":"1399798308","filename":"file5"},{"photo_id":"1399798302","filename":"file2"},{"photo_id":"1399798305","filename":"file4"},{"photo_id":"1399798301","filename":"file1"},{"photo_id":"1399798300","filename":"file0"},{"photo_id":"1399798304","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798300":["hashtag1","hashtag2"]},{"1399798308":["hashtag1","hashtag2"]},{"1399798302":["hashtag1","hashtag2"]},{"1399798305":["hashtag1","hashtag2"]},{"1399798301":["hashtag1","hashtag2"]},{"1399798304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798300, 1399798308, 1399798302, 1399798305, 1399798301, 1399798304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66288471221924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:35:42.307446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_19_2746.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_25_2639.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_29_3701.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_31_2644.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_34_2641.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_38_3597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_19_2746.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_25_2639.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_29_3701.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_31_2644.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_34_2641.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_38_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":["1399798324","1399798326","1399798323","1399798325","1399798322","1399798316"],"photo_ids_order":["1399798316","1399798322","1399798323","1399798324","1399798325","1399798326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39598dcbaaf1093d6b229e89ce12e278.jpg","text":"TemporaryFile(/tmp/multipartBody6711903475117993121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982203132,"filename":"image_07112025_20_02_31_2644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a94e21eecfff13f0186fd37484d6ae83.jpg","text":"TemporaryFile(/tmp/multipartBody4711128369065934482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982203132,"filename":"image_07112025_20_02_38_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ded3f9441befad395788477a279e8935.jpg","text":"TemporaryFile(/tmp/multipartBody6343930034267692860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982203132,"filename":"image_07112025_20_02_29_3701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba47cf55c6196dcb61ec0931f1e5cb6d.jpg","text":"TemporaryFile(/tmp/multipartBody1447846792105035430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982203132,"filename":"image_07112025_20_02_34_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf9d21088359e99ce8269821dccc66dc.jpg","text":"TemporaryFile(/tmp/multipartBody9184974422519482244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982203132,"filename":"image_07112025_20_02_25_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6467e3768320c277ab169ae4c49b86f9.jpg","text":"TemporaryFile(/tmp/multipartBody154833240595799847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982203132,"filename":"image_07112025_20_02_19_2746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798323","file1":"1399798322","file0":"1399798316","file4":"1399798325","file5":"1399798326","file3":"1399798324"},"map_files_photo_id_array":[{"photo_id":"1399798326","filename":"file5"},{"photo_id":"1399798323","filename":"file2"},{"photo_id":"1399798325","filename":"file4"},{"photo_id":"1399798322","filename":"file1"},{"photo_id":"1399798316","filename":"file0"},{"photo_id":"1399798324","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798324":["hashtag1","hashtag2"]},{"1399798326":["hashtag1","hashtag2"]},{"1399798323":["hashtag1","hashtag2"]},{"1399798325":["hashtag1","hashtag2"]},{"1399798322":["hashtag1","hashtag2"]},{"1399798316":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798324, 1399798326, 1399798323, 1399798325, 1399798322, 1399798316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.485623836517334 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:36:22.568372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/05/image_17122025_15_06_05_10735.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_15_9824.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_25_9699.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_35_9691.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_45_10706.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_55_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/05/image_17122025_15_06_05_10735.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_15_9824.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_25_9699.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_35_9691.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_45_10706.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_55_9693.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5641093254089355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 15:36:32.533135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:36:42.569617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_41_2867.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_50_3669.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_52_2646.jpg', '/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_55_2702.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_07_2768.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_10_2847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_41_2867.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_50_3669.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_52_2646.jpg
/home/pi/Desktop/images/07112025/20/02/image_07112025_20_02_55_2702.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_07_2768.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_10_2847.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798348","1399798342","1399798351","1399798350","1399798352","1399798349"],"photo_ids_order":["1399798342","1399798348","1399798349","1399798350","1399798351","1399798352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a62f655b2a34c912f903782e94e67cf7.jpg","text":"TemporaryFile(/tmp/multipartBody3004113839023729537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982263364,"filename":"image_07112025_20_02_50_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec0794c9e14b6068e81763a7729ca286.jpg","text":"TemporaryFile(/tmp/multipartBody8925455645067315771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982263364,"filename":"image_07112025_20_02_41_2867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5549fa363c16cc784850c914cb793a23.jpg","text":"TemporaryFile(/tmp/multipartBody3387110025977031215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982263364,"filename":"image_07112025_20_03_07_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/451b13828ee360269476513e2c15261d.jpg","text":"TemporaryFile(/tmp/multipartBody1350018378574819842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982263364,"filename":"image_07112025_20_02_55_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51534849a0c00235803fe731da4d2cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3499057914760929806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982263364,"filename":"image_07112025_20_03_10_2847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6507529c6754e96785831c2b086b7338.jpg","text":"TemporaryFile(/tmp/multipartBody7239262907061239714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982263364,"filename":"image_07112025_20_02_52_2646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798349","file1":"1399798348","file0":"1399798342","file4":"1399798351","file5":"1399798352","file3":"1399798350"},"map_files_photo_id_array":[{"photo_id":"1399798352","filename":"file5"},{"photo_id":"1399798349","filename":"file2"},{"photo_id":"1399798351","filename":"file4"},{"photo_id":"1399798348","filename":"file1"},{"photo_id":"1399798342","filename":"file0"},{"photo_id":"1399798350","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798348":["hashtag1","hashtag2"]},{"1399798342":["hashtag1","hashtag2"]},{"1399798351":["hashtag1","hashtag2"]},{"1399798350":["hashtag1","hashtag2"]},{"1399798352":["hashtag1","hashtag2"]},{"1399798349":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798348, 1399798342, 1399798351, 1399798350, 1399798352, 1399798349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.45675849914551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:37:21.840346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/05/image_17122025_15_06_05_10735.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_15_9824.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_25_9699.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_35_9691.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_45_10706.jpg', '/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_55_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/05/image_17122025_15_06_05_10735.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_15_9824.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_25_9699.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_35_9691.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_45_10706.jpg
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_06_55_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798357","1399798359","1399798353","1399798361","1399798355","1399798364"],"photo_ids_order":["1399798353","1399798355","1399798357","1399798359","1399798361","1399798364"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c4537a6433176873c29b4e206b9d149.jpg","text":"TemporaryFile(/tmp/multipartBody7060128878705930062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982302475,"filename":"image_17122025_15_06_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42e457330b1623d69055cc9d6aae9f51.jpg","text":"TemporaryFile(/tmp/multipartBody6069006361221443702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982302475,"filename":"image_17122025_15_06_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/530b4f2ce870cd88c254adebd024227a.jpg","text":"TemporaryFile(/tmp/multipartBody5604979429530975336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982302475,"filename":"image_17122025_15_06_05_10735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5578c06541e1e9cf2a7d69c44787b48d.jpg","text":"TemporaryFile(/tmp/multipartBody8988347205738443819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982302475,"filename":"image_17122025_15_06_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7add794a8cd7f7cc9e783163f90d4475.jpg","text":"TemporaryFile(/tmp/multipartBody114749175560672090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982302475,"filename":"image_17122025_15_06_15_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6a649753a881b40a59a5eed5d0229cb.jpg","text":"TemporaryFile(/tmp/multipartBody7413907956865556809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982302475,"filename":"image_17122025_15_06_55_9693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798357","file1":"1399798355","file0":"1399798353","file4":"1399798361","file5":"1399798364","file3":"1399798359"},"map_files_photo_id_array":[{"photo_id":"1399798364","filename":"file5"},{"photo_id":"1399798357","filename":"file2"},{"photo_id":"1399798361","filename":"file4"},{"photo_id":"1399798355","filename":"file1"},{"photo_id":"1399798353","filename":"file0"},{"photo_id":"1399798359","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798357":["hashtag1","hashtag2"]},{"1399798359":["hashtag1","hashtag2"]},{"1399798353":["hashtag1","hashtag2"]},{"1399798361":["hashtag1","hashtag2"]},{"1399798355":["hashtag1","hashtag2"]},{"1399798364":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798357, 1399798359, 1399798353, 1399798361, 1399798355, 1399798364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36992430686951 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:38:02.551286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/06/image_17122025_15_07_05_9943.jpg', '/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_15_9745.jpg', '/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_25_10778.jpg', '/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_35_9678.jpg', '/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_45_9694.jpg', '/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_55_9798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/06/image_17122025_15_07_05_9943.jpg
/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_15_9745.jpg
/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_25_10778.jpg
/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_35_9678.jpg
/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_45_9694.jpg
/home/pi/Desktop/images/17122025/15/07/image_17122025_15_07_55_9798.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798369","1399798368","1399798370","1399798367","1399798372","1399798366"],"photo_ids_order":["1399798366","1399798367","1399798368","1399798369","1399798370","1399798372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac3e552de545d5dafa5eff63a3a9260c.jpg","text":"TemporaryFile(/tmp/multipartBody9200906086439279232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982343260,"filename":"image_17122025_15_07_35_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd4993e84b3c48062fb6c723165cac48.jpg","text":"TemporaryFile(/tmp/multipartBody8349979611721752984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982343260,"filename":"image_17122025_15_07_25_10778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc2bb31af137a2becd2dbcd0c2d78da2.jpg","text":"TemporaryFile(/tmp/multipartBody2151071337820367222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982343260,"filename":"image_17122025_15_07_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5f6bfb8b73833dea064f80956eac6aa.jpg","text":"TemporaryFile(/tmp/multipartBody4780330024228335228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982343260,"filename":"image_17122025_15_07_15_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/864bd7cde82a01756cab6a29dc01474c.jpg","text":"TemporaryFile(/tmp/multipartBody1747782109488667008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982343260,"filename":"image_17122025_15_07_55_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34759b3721a2e1b4cfc36ba0c8b0a651.jpg","text":"TemporaryFile(/tmp/multipartBody3868629152443789825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982343260,"filename":"image_17122025_15_07_05_9943.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798368","file1":"1399798367","file0":"1399798366","file4":"1399798370","file5":"1399798372","file3":"1399798369"},"map_files_photo_id_array":[{"photo_id":"1399798372","filename":"file5"},{"photo_id":"1399798368","filename":"file2"},{"photo_id":"1399798370","filename":"file4"},{"photo_id":"1399798367","filename":"file1"},{"photo_id":"1399798366","filename":"file0"},{"photo_id":"1399798369","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798369":["hashtag1","hashtag2"]},{"1399798368":["hashtag1","hashtag2"]},{"1399798370":["hashtag1","hashtag2"]},{"1399798367":["hashtag1","hashtag2"]},{"1399798372":["hashtag1","hashtag2"]},{"1399798366":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798369, 1399798368, 1399798370, 1399798367, 1399798372, 1399798366)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.32741951942444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:38:42.075475
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_13_2838.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_16_3748.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_19_2689.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_22_2662.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_26_3707.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_31_2656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_13_2838.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_16_3748.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_19_2689.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_22_2662.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_26_3707.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_31_2656.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798395","1399798383","1399798401","1399798394","1399798397","1399798393"],"photo_ids_order":["1399798383","1399798393","1399798394","1399798395","1399798397","1399798401"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c41c0e9ad78c71b6c2306e89407a729a.jpg","text":"TemporaryFile(/tmp/multipartBody3656553687992300913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982382851,"filename":"image_07112025_20_03_22_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c03215e30c6b1fbccc8ea519fc9e2bc.jpg","text":"TemporaryFile(/tmp/multipartBody7551197230022065128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982382851,"filename":"image_07112025_20_03_13_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f5cdad2d10b603efc17b1b08e8c72fa.jpg","text":"TemporaryFile(/tmp/multipartBody6455363827903188688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982382851,"filename":"image_07112025_20_03_31_2656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33d28a4441050ddd8e90687b693044b3.jpg","text":"TemporaryFile(/tmp/multipartBody9185182934922646284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982382851,"filename":"image_07112025_20_03_19_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e8294fadedaa344678ee5ff7a063fed.jpg","text":"TemporaryFile(/tmp/multipartBody2105546853951409245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982382851,"filename":"image_07112025_20_03_26_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/165bee8312043913c1e96c534e7ad649.jpg","text":"TemporaryFile(/tmp/multipartBody991260424582141257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982382851,"filename":"image_07112025_20_03_16_3748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798394","file1":"1399798393","file0":"1399798383","file4":"1399798397","file5":"1399798401","file3":"1399798395"},"map_files_photo_id_array":[{"photo_id":"1399798401","filename":"file5"},{"photo_id":"1399798394","filename":"file2"},{"photo_id":"1399798397","filename":"file4"},{"photo_id":"1399798393","filename":"file1"},{"photo_id":"1399798383","filename":"file0"},{"photo_id":"1399798395","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798395":["hashtag1","hashtag2"]},{"1399798383":["hashtag1","hashtag2"]},{"1399798401":["hashtag1","hashtag2"]},{"1399798394":["hashtag1","hashtag2"]},{"1399798397":["hashtag1","hashtag2"]},{"1399798393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798395, 1399798383, 1399798401, 1399798394, 1399798397, 1399798393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83301067352295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:39:22.276691
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/07/image_17122025_15_08_05_10711.jpg', '/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_15_9831.jpg', '/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_25_9806.jpg', '/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_35_9637.jpg', '/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_45_10677.jpg', '/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_55_9855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/07/image_17122025_15_08_05_10711.jpg
/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_15_9831.jpg
/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_25_9806.jpg
/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_35_9637.jpg
/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_45_10677.jpg
/home/pi/Desktop/images/17122025/15/08/image_17122025_15_08_55_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":["1399798413","1399798407","1399798410","1399798404","1399798412","1399798406"],"photo_ids_order":["1399798404","1399798406","1399798407","1399798410","1399798412","1399798413"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3856156e7a162a376a497cc97fd450e.jpg","text":"TemporaryFile(/tmp/multipartBody2534929147562105338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982427905,"filename":"image_17122025_15_08_55_9855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/039a038f965a96f0238f534dd2f7cf93.jpg","text":"TemporaryFile(/tmp/multipartBody8085291702496295259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982427905,"filename":"image_17122025_15_08_25_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de6772a7472fc671131bd69a6c9c7349.jpg","text":"TemporaryFile(/tmp/multipartBody1116192093624105387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982427905,"filename":"image_17122025_15_08_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d601018a7d4d54e488c164b60d56d3f6.jpg","text":"TemporaryFile(/tmp/multipartBody2343288493080865232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982427905,"filename":"image_17122025_15_08_05_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1343f9676a6661bfffa372380be598f.jpg","text":"TemporaryFile(/tmp/multipartBody2211964479776253655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982427905,"filename":"image_17122025_15_08_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5577c3a7b7b8f321e86a6ac7a38c4239.jpg","text":"TemporaryFile(/tmp/multipartBody2396541404210118113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982427905,"filename":"image_17122025_15_08_15_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798407","file1":"1399798406","file0":"1399798404","file4":"1399798412","file5":"1399798413","file3":"1399798410"},"map_files_photo_id_array":[{"photo_id":"1399798413","filename":"file5"},{"photo_id":"1399798407","filename":"file2"},{"photo_id":"1399798412","filename":"file4"},{"photo_id":"1399798406","filename":"file1"},{"photo_id":"1399798404","filename":"file0"},{"photo_id":"1399798410","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798413":["hashtag1","hashtag2"]},{"1399798407":["hashtag1","hashtag2"]},{"1399798410":["hashtag1","hashtag2"]},{"1399798404":["hashtag1","hashtag2"]},{"1399798412":["hashtag1","hashtag2"]},{"1399798406":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798413, 1399798407, 1399798410, 1399798404, 1399798412, 1399798406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.55393743515015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 15:40:12.592653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:40:22.660713
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/08/image_17122025_15_09_05_9646.jpg', '/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_15_9825.jpg', '/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_25_10712.jpg', '/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_35_9670.jpg', '/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_45_9631.jpg', '/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_55_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/08/image_17122025_15_09_05_9646.jpg
/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_15_9825.jpg
/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_25_10712.jpg
/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_35_9670.jpg
/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_45_9631.jpg
/home/pi/Desktop/images/17122025/15/09/image_17122025_15_09_55_10668.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798432","1399798414","1399798428","1399798422","1399798416","1399798418"],"photo_ids_order":["1399798414","1399798416","1399798418","1399798422","1399798428","1399798432"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5909d82bd65a20aae6e425ebd9849940.jpg","text":"TemporaryFile(/tmp/multipartBody1395447581986915563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982483292,"filename":"image_17122025_15_09_55_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be7a987f5778942091c35923471b05a6.jpg","text":"TemporaryFile(/tmp/multipartBody2490153705181604764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982483292,"filename":"image_17122025_15_09_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca0e307ca47c8e2abeee8c6fe356771b.jpg","text":"TemporaryFile(/tmp/multipartBody5441029520794197761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982483292,"filename":"image_17122025_15_09_45_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/629a70cdbd0b7e9b4209978f077f336c.jpg","text":"TemporaryFile(/tmp/multipartBody5602125805692477194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982483292,"filename":"image_17122025_15_09_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0976aa9da1b7ac1a7e959112f0969a86.jpg","text":"TemporaryFile(/tmp/multipartBody3189671715547333249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982483292,"filename":"image_17122025_15_09_15_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1a0ea421ea4d4c4bd8fd96dd2a0e0ef.jpg","text":"TemporaryFile(/tmp/multipartBody389494548637242821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982483292,"filename":"image_17122025_15_09_25_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798418","file1":"1399798416","file0":"1399798414","file4":"1399798428","file5":"1399798432","file3":"1399798422"},"map_files_photo_id_array":[{"photo_id":"1399798432","filename":"file5"},{"photo_id":"1399798418","filename":"file2"},{"photo_id":"1399798428","filename":"file4"},{"photo_id":"1399798416","filename":"file1"},{"photo_id":"1399798414","filename":"file0"},{"photo_id":"1399798422","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798432":["hashtag1","hashtag2"]},{"1399798414":["hashtag1","hashtag2"]},{"1399798428":["hashtag1","hashtag2"]},{"1399798422":["hashtag1","hashtag2"]},{"1399798416":["hashtag1","hashtag2"]},{"1399798418":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798432, 1399798414, 1399798428, 1399798422, 1399798416, 1399798418)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.022040605545044 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:41:03.450889
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/09/image_17122025_15_10_05_9566.jpg', '/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_15_9776.jpg', '/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_25_9952.jpg', '/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_35_10806.jpg', '/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_45_9697.jpg', '/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_55_9840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/09/image_17122025_15_10_05_9566.jpg
/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_15_9776.jpg
/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_25_9952.jpg
/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_35_10806.jpg
/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_45_9697.jpg
/home/pi/Desktop/images/17122025/15/10/image_17122025_15_10_55_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":["1399798447","1399798450","1399798458","1399798452","1399798455","1399798454"],"photo_ids_order":["1399798447","1399798450","1399798452","1399798454","1399798455","1399798458"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0f1d379cf45d8736a3f0e2815579303.jpg","text":"TemporaryFile(/tmp/multipartBody5858072451337670165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982524167,"filename":"image_17122025_15_10_05_9566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/412bd92c67702f6fdf1292559de03043.jpg","text":"TemporaryFile(/tmp/multipartBody3696614430296283968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982524167,"filename":"image_17122025_15_10_15_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49e19f861d033c1fe5cc7d8173c1398d.jpg","text":"TemporaryFile(/tmp/multipartBody6000062084996055101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982524167,"filename":"image_17122025_15_10_55_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07520f9ad1adcfbeacdbd0f4a0be3b79.jpg","text":"TemporaryFile(/tmp/multipartBody8746443108453504130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982524167,"filename":"image_17122025_15_10_25_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee0378732e94d0d7886a54d1b267bebd.jpg","text":"TemporaryFile(/tmp/multipartBody7085301245807599534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982524167,"filename":"image_17122025_15_10_45_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/527c4b9fb9029f4502f7ef8677c25b12.jpg","text":"TemporaryFile(/tmp/multipartBody246197232476757259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982524167,"filename":"image_17122025_15_10_35_10806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798452","file1":"1399798450","file0":"1399798447","file4":"1399798455","file5":"1399798458","file3":"1399798454"},"map_files_photo_id_array":[{"photo_id":"1399798458","filename":"file5"},{"photo_id":"1399798452","filename":"file2"},{"photo_id":"1399798455","filename":"file4"},{"photo_id":"1399798450","filename":"file1"},{"photo_id":"1399798447","filename":"file0"},{"photo_id":"1399798454","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798447":["hashtag1","hashtag2"]},{"1399798450":["hashtag1","hashtag2"]},{"1399798458":["hashtag1","hashtag2"]},{"1399798452":["hashtag1","hashtag2"]},{"1399798455":["hashtag1","hashtag2"]},{"1399798454":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798447, 1399798450, 1399798458, 1399798452, 1399798455, 1399798454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76156139373779 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:41:42.795617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_43_2751.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_46_2660.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_49_3616.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_52_2705.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_55_2575.jpg', '/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_58_2938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_43_2751.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_46_2660.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_49_3616.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_52_2705.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_55_2575.jpg
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_03_58_2938.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798474","1399798464","1399798473","1399798472","1399798477","1399798471"],"photo_ids_order":["1399798464","1399798471","1399798472","1399798473","1399798474","1399798477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2292ca085ea0394aa2b752b173136e8.jpg","text":"TemporaryFile(/tmp/multipartBody2309481287932103887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982563566,"filename":"image_07112025_20_03_55_2575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d63177484d7546eec18ed5523a4f96a4.jpg","text":"TemporaryFile(/tmp/multipartBody9186734303710788929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982563566,"filename":"image_07112025_20_03_43_2751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad66092edae760d98020baa77f7e1443.jpg","text":"TemporaryFile(/tmp/multipartBody2719411053021337844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982563566,"filename":"image_07112025_20_03_52_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af000a7eb5f1e8aedfd9b3894957c0f2.jpg","text":"TemporaryFile(/tmp/multipartBody8824610001619768565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982563566,"filename":"image_07112025_20_03_49_3616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/551022b8fe716e865c2b6ecf192dd1d0.jpg","text":"TemporaryFile(/tmp/multipartBody5575061396946558097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982563566,"filename":"image_07112025_20_03_58_2938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba18e7fd602afa327d529c8b6ed7fd9c.jpg","text":"TemporaryFile(/tmp/multipartBody7416894576899389732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982563566,"filename":"image_07112025_20_03_46_2660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798472","file1":"1399798471","file0":"1399798464","file4":"1399798474","file5":"1399798477","file3":"1399798473"},"map_files_photo_id_array":[{"photo_id":"1399798477","filename":"file5"},{"photo_id":"1399798472","filename":"file2"},{"photo_id":"1399798474","filename":"file4"},{"photo_id":"1399798471","filename":"file1"},{"photo_id":"1399798464","filename":"file0"},{"photo_id":"1399798473","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798474":["hashtag1","hashtag2"]},{"1399798464":["hashtag1","hashtag2"]},{"1399798473":["hashtag1","hashtag2"]},{"1399798472":["hashtag1","hashtag2"]},{"1399798477":["hashtag1","hashtag2"]},{"1399798471":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798474, 1399798464, 1399798473, 1399798472, 1399798477, 1399798471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60122990608215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:42:22.089506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/10/image_17122025_15_11_05_9644.jpg', '/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_15_10704.jpg', '/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_25_9700.jpg', '/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_35_9691.jpg', '/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_45_9808.jpg', '/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_55_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/10/image_17122025_15_11_05_9644.jpg
/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_15_10704.jpg
/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_25_9700.jpg
/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_35_9691.jpg
/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_45_9808.jpg
/home/pi/Desktop/images/17122025/15/11/image_17122025_15_11_55_10697.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798497","1399798485","1399798481","1399798478","1399798483","1399798492"],"photo_ids_order":["1399798478","1399798481","1399798483","1399798485","1399798492","1399798497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60d16a00a7f72f2bd43e771591279660.jpg","text":"TemporaryFile(/tmp/multipartBody7842805157236826610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982602764,"filename":"image_17122025_15_11_55_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/536a6965f22f3fe21b0e6569759b1847.jpg","text":"TemporaryFile(/tmp/multipartBody1642422275437919370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982602764,"filename":"image_17122025_15_11_35_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e2d883aa0b4a9cd6c7acf8bf654d5af.jpg","text":"TemporaryFile(/tmp/multipartBody9168974263798141927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982602764,"filename":"image_17122025_15_11_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fe3528a5658fb92f0c71afa40b9a19f.jpg","text":"TemporaryFile(/tmp/multipartBody2830698201651007507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982602764,"filename":"image_17122025_15_11_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c2f8568d8ca054a9cc329a2344329e1.jpg","text":"TemporaryFile(/tmp/multipartBody1896219669141357122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982602764,"filename":"image_17122025_15_11_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d198df2a16eb423346486b8e400f4d12.jpg","text":"TemporaryFile(/tmp/multipartBody6197359103364905354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982602764,"filename":"image_17122025_15_11_45_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798483","file1":"1399798481","file0":"1399798478","file4":"1399798492","file5":"1399798497","file3":"1399798485"},"map_files_photo_id_array":[{"photo_id":"1399798497","filename":"file5"},{"photo_id":"1399798483","filename":"file2"},{"photo_id":"1399798492","filename":"file4"},{"photo_id":"1399798481","filename":"file1"},{"photo_id":"1399798478","filename":"file0"},{"photo_id":"1399798485","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798497":["hashtag1","hashtag2"]},{"1399798485":["hashtag1","hashtag2"]},{"1399798481":["hashtag1","hashtag2"]},{"1399798478":["hashtag1","hashtag2"]},{"1399798483":["hashtag1","hashtag2"]},{"1399798492":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798497, 1399798485, 1399798481, 1399798478, 1399798483, 1399798492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.581480503082275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:43:03.007237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/11/image_17122025_15_12_05_10147.jpg', '/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_15_9711.jpg', '/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_25_9847.jpg', '/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_35_9662.jpg', '/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_45_10655.jpg', '/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_55_9834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/11/image_17122025_15_12_05_10147.jpg
/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_15_9711.jpg
/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_25_9847.jpg
/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_35_9662.jpg
/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_45_10655.jpg
/home/pi/Desktop/images/17122025/15/12/image_17122025_15_12_55_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":["1399798519","1399798504","1399798512","1399798521","1399798518","1399798517"],"photo_ids_order":["1399798504","1399798512","1399798517","1399798518","1399798519","1399798521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39d3eddefd590be8762606944c537be3.jpg","text":"TemporaryFile(/tmp/multipartBody343055197448815490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982643743,"filename":"image_17122025_15_12_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7937d55a51520651c6eb25c56a118458.jpg","text":"TemporaryFile(/tmp/multipartBody9219931016784945471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982643743,"filename":"image_17122025_15_12_05_10147.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/849fc11c4daaa06f7bd2908297a726cc.jpg","text":"TemporaryFile(/tmp/multipartBody3256009258030811188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982643743,"filename":"image_17122025_15_12_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0f22456653c8a9ad92e7cb6bccb6598.jpg","text":"TemporaryFile(/tmp/multipartBody6115551180639582299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982643743,"filename":"image_17122025_15_12_55_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6c1b208f90e3bdf1af34dc6f8592290.jpg","text":"TemporaryFile(/tmp/multipartBody7980149646692766351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982643743,"filename":"image_17122025_15_12_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55823f3f7c7d1f9f7f15e53ca20d3dfc.jpg","text":"TemporaryFile(/tmp/multipartBody7572184735656511252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982643743,"filename":"image_17122025_15_12_25_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798517","file1":"1399798512","file0":"1399798504","file4":"1399798519","file5":"1399798521","file3":"1399798518"},"map_files_photo_id_array":[{"photo_id":"1399798521","filename":"file5"},{"photo_id":"1399798517","filename":"file2"},{"photo_id":"1399798519","filename":"file4"},{"photo_id":"1399798512","filename":"file1"},{"photo_id":"1399798504","filename":"file0"},{"photo_id":"1399798518","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798519":["hashtag1","hashtag2"]},{"1399798504":["hashtag1","hashtag2"]},{"1399798512":["hashtag1","hashtag2"]},{"1399798521":["hashtag1","hashtag2"]},{"1399798518":["hashtag1","hashtag2"]},{"1399798517":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798519, 1399798504, 1399798512, 1399798521, 1399798518, 1399798517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.517011642456055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:43:42.432105
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/03/image_07112025_20_04_01_3789.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_04_2555.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_07_2715.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_11_3859.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_20_9208.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_25_1787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/03/image_07112025_20_04_01_3789.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_04_2555.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_07_2715.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_11_3859.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_20_9208.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_25_1787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798531","1399798530","1399798533","1399798527","1399798532","1399798529"],"photo_ids_order":["1399798527","1399798529","1399798530","1399798531","1399798532","1399798533"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5754ccc3d74be830bc3bd90cc0fdff5a.jpg","text":"TemporaryFile(/tmp/multipartBody6606787803760315982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982683202,"filename":"image_07112025_20_04_11_3859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51ec6c23a9f5b363c0802feefa7ed548.jpg","text":"TemporaryFile(/tmp/multipartBody1409255663003157695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982683202,"filename":"image_07112025_20_04_07_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4672c506b6354f7d8eb2f16b7f5662b8.jpg","text":"TemporaryFile(/tmp/multipartBody5670736671384819655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982683202,"filename":"image_07112025_20_04_25_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b2a6e13cb1c44aa0f4ae6412503665b.jpg","text":"TemporaryFile(/tmp/multipartBody7367099342553470532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982683202,"filename":"image_07112025_20_04_01_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27e456a9b54acf80463e749d5642c32b.jpg","text":"TemporaryFile(/tmp/multipartBody8879272619917044373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982683202,"filename":"image_07112025_20_04_20_9208.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1fea87c7bd92b4deb9cdf1580047211.jpg","text":"TemporaryFile(/tmp/multipartBody5152688469688777141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982683202,"filename":"image_07112025_20_04_04_2555.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798530","file1":"1399798529","file0":"1399798527","file4":"1399798532","file5":"1399798533","file3":"1399798531"},"map_files_photo_id_array":[{"photo_id":"1399798533","filename":"file5"},{"photo_id":"1399798530","filename":"file2"},{"photo_id":"1399798532","filename":"file4"},{"photo_id":"1399798529","filename":"file1"},{"photo_id":"1399798527","filename":"file0"},{"photo_id":"1399798531","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798531":["hashtag1","hashtag2"]},{"1399798530":["hashtag1","hashtag2"]},{"1399798533":["hashtag1","hashtag2"]},{"1399798527":["hashtag1","hashtag2"]},{"1399798532":["hashtag1","hashtag2"]},{"1399798529":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798531, 1399798530, 1399798533, 1399798527, 1399798532, 1399798529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.449723958969116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:44:22.700013
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/12/image_17122025_15_13_05_9873.jpg', '/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_15_9784.jpg', '/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_26_10761.jpg', '/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_35_9791.jpg', '/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_45_9788.jpg', '/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_55_9554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/12/image_17122025_15_13_05_9873.jpg
/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_15_9784.jpg
/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_26_10761.jpg
/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_35_9791.jpg
/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_45_9788.jpg
/home/pi/Desktop/images/17122025/15/13/image_17122025_15_13_55_9554.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798546","1399798543","1399798554","1399798541","1399798544","1399798538"],"photo_ids_order":["1399798538","1399798541","1399798543","1399798544","1399798546","1399798554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d11530d88f5906f28286a252e1c36dfc.jpg","text":"TemporaryFile(/tmp/multipartBody1137495174608717786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982723332,"filename":"image_17122025_15_13_45_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0056531f1f35a0d44f71854c4100bc8f.jpg","text":"TemporaryFile(/tmp/multipartBody2638803030538769588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982723332,"filename":"image_17122025_15_13_26_10761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/823db6eb6ed41ad54886ac82637d3e8d.jpg","text":"TemporaryFile(/tmp/multipartBody9184423404290822179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982723332,"filename":"image_17122025_15_13_55_9554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8af2e0d572e1bc206c58b42cbaeddca.jpg","text":"TemporaryFile(/tmp/multipartBody4801105009953393572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982723332,"filename":"image_17122025_15_13_15_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f92680e4e3b0604745bd0c39d361760.jpg","text":"TemporaryFile(/tmp/multipartBody3312373760043271010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982723332,"filename":"image_17122025_15_13_35_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc2899e76c75408902f4117ddb40473a.jpg","text":"TemporaryFile(/tmp/multipartBody2064142335660581051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982723332,"filename":"image_17122025_15_13_05_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798543","file1":"1399798541","file0":"1399798538","file4":"1399798546","file5":"1399798554","file3":"1399798544"},"map_files_photo_id_array":[{"photo_id":"1399798554","filename":"file5"},{"photo_id":"1399798543","filename":"file2"},{"photo_id":"1399798546","filename":"file4"},{"photo_id":"1399798541","filename":"file1"},{"photo_id":"1399798538","filename":"file0"},{"photo_id":"1399798544","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798546":["hashtag1","hashtag2"]},{"1399798543":["hashtag1","hashtag2"]},{"1399798554":["hashtag1","hashtag2"]},{"1399798541":["hashtag1","hashtag2"]},{"1399798544":["hashtag1","hashtag2"]},{"1399798538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798546, 1399798543, 1399798554, 1399798541, 1399798544, 1399798538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.95375061035156 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:45:02.641859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/13/image_17122025_15_14_05_10684.jpg', '/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_15_9613.jpg', '/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_25_9700.jpg', '/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_35_10657.jpg', '/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_45_9578.jpg', '/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_55_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/13/image_17122025_15_14_05_10684.jpg
/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_15_9613.jpg
/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_25_9700.jpg
/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_35_10657.jpg
/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_45_9578.jpg
/home/pi/Desktop/images/17122025/15/14/image_17122025_15_14_55_9657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798573","1399798575","1399798572","1399798571","1399798562","1399798570"],"photo_ids_order":["1399798562","1399798570","1399798571","1399798572","1399798573","1399798575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b54014c1321abab5645da31fcbde690a.jpg","text":"TemporaryFile(/tmp/multipartBody3402146064610491676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982763339,"filename":"image_17122025_15_14_45_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d04ce041a12e7a83471260c715caf77.jpg","text":"TemporaryFile(/tmp/multipartBody8321691107486482117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982763339,"filename":"image_17122025_15_14_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02f53fda088254b68b53e082729acbe1.jpg","text":"TemporaryFile(/tmp/multipartBody2782896693213889148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982763339,"filename":"image_17122025_15_14_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdd24d6f32306e5a65a09975970e53f5.jpg","text":"TemporaryFile(/tmp/multipartBody6973747447179492052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982763339,"filename":"image_17122025_15_14_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31e693f29b52bf0faa88822de9fd860c.jpg","text":"TemporaryFile(/tmp/multipartBody3302346213771619910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982763339,"filename":"image_17122025_15_14_05_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7033e6c3b602d54d452b36c611dd83b8.jpg","text":"TemporaryFile(/tmp/multipartBody6397532653430927988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982763339,"filename":"image_17122025_15_14_15_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798571","file1":"1399798570","file0":"1399798562","file4":"1399798573","file5":"1399798575","file3":"1399798572"},"map_files_photo_id_array":[{"photo_id":"1399798575","filename":"file5"},{"photo_id":"1399798571","filename":"file2"},{"photo_id":"1399798573","filename":"file4"},{"photo_id":"1399798570","filename":"file1"},{"photo_id":"1399798562","filename":"file0"},{"photo_id":"1399798572","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798573":["hashtag1","hashtag2"]},{"1399798575":["hashtag1","hashtag2"]},{"1399798572":["hashtag1","hashtag2"]},{"1399798571":["hashtag1","hashtag2"]},{"1399798562":["hashtag1","hashtag2"]},{"1399798570":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798573, 1399798575, 1399798572, 1399798571, 1399798562, 1399798570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15238690376282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:45:41.963847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_26_1637.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_31_1671.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_34_2671.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_40_3603.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_43_2677.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_46_3201.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_26_1637.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_31_1671.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_34_2671.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_40_3603.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_43_2677.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_46_3201.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798587","1399798581","1399798584","1399798583","1399798586","1399798585"],"photo_ids_order":["1399798581","1399798583","1399798584","1399798585","1399798586","1399798587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13f6374627b75858d1e2084ac8b3d11f.jpg","text":"TemporaryFile(/tmp/multipartBody6824471645421311207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982802741,"filename":"image_07112025_20_04_46_3201.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55fdaa5089bdbe0a666696fc902c9eee.jpg","text":"TemporaryFile(/tmp/multipartBody2934868876567034250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982802741,"filename":"image_07112025_20_04_26_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21631320c660f0f86d34ceb80d21d305.jpg","text":"TemporaryFile(/tmp/multipartBody4123464629634530135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982802741,"filename":"image_07112025_20_04_34_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/774e00372483268e7f20b768fddc22f9.jpg","text":"TemporaryFile(/tmp/multipartBody7649934449758513546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982802741,"filename":"image_07112025_20_04_31_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc88cd3e11b17ffc04dac42cfc709fc4.jpg","text":"TemporaryFile(/tmp/multipartBody751465443427697481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982802741,"filename":"image_07112025_20_04_43_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d1eb9cb7652d08500b503fbaa142fc1.jpg","text":"TemporaryFile(/tmp/multipartBody462556801246704681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982802741,"filename":"image_07112025_20_04_40_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798584","file1":"1399798583","file0":"1399798581","file4":"1399798586","file5":"1399798587","file3":"1399798585"},"map_files_photo_id_array":[{"photo_id":"1399798587","filename":"file5"},{"photo_id":"1399798584","filename":"file2"},{"photo_id":"1399798586","filename":"file4"},{"photo_id":"1399798583","filename":"file1"},{"photo_id":"1399798581","filename":"file0"},{"photo_id":"1399798585","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798587":["hashtag1","hashtag2"]},{"1399798581":["hashtag1","hashtag2"]},{"1399798584":["hashtag1","hashtag2"]},{"1399798583":["hashtag1","hashtag2"]},{"1399798586":["hashtag1","hashtag2"]},{"1399798585":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798587, 1399798581, 1399798584, 1399798583, 1399798586, 1399798585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44335627555847 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:46:22.226315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/14/image_17122025_15_15_05_10750.jpg', '/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_15_9788.jpg', '/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_25_9646.jpg', '/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_35_10649.jpg', '/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_45_9646.jpg', '/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_55_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/14/image_17122025_15_15_05_10750.jpg
/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_15_9788.jpg
/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_25_9646.jpg
/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_35_10649.jpg
/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_45_9646.jpg
/home/pi/Desktop/images/17122025/15/15/image_17122025_15_15_55_9671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798588","1399798593","1399798599","1399798595","1399798589","1399798591"],"photo_ids_order":["1399798588","1399798589","1399798591","1399798593","1399798595","1399798599"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7d6bb42614ed592d55faf7441348ac6.jpg","text":"TemporaryFile(/tmp/multipartBody1804173471897530606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982842853,"filename":"image_17122025_15_15_05_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/793f1f8759cb22cfd7bb6b82cd582cbd.jpg","text":"TemporaryFile(/tmp/multipartBody2283903908227566193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982842853,"filename":"image_17122025_15_15_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4730899873d2ba318684d81c09625047.jpg","text":"TemporaryFile(/tmp/multipartBody7971794321237386045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982842853,"filename":"image_17122025_15_15_55_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70748028e6d0f630bc8292f2a7bd0da3.jpg","text":"TemporaryFile(/tmp/multipartBody790550169748027932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982842853,"filename":"image_17122025_15_15_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6c8dc62c3d9ccc9c468f462eb5e0607.jpg","text":"TemporaryFile(/tmp/multipartBody1179067128124976247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982842853,"filename":"image_17122025_15_15_15_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/636c4ffcc938dbbd70d17902794ab11a.jpg","text":"TemporaryFile(/tmp/multipartBody2406543677236628147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982842853,"filename":"image_17122025_15_15_25_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798591","file1":"1399798589","file0":"1399798588","file4":"1399798595","file5":"1399798599","file3":"1399798593"},"map_files_photo_id_array":[{"photo_id":"1399798599","filename":"file5"},{"photo_id":"1399798591","filename":"file2"},{"photo_id":"1399798595","filename":"file4"},{"photo_id":"1399798589","filename":"file1"},{"photo_id":"1399798588","filename":"file0"},{"photo_id":"1399798593","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798588":["hashtag1","hashtag2"]},{"1399798593":["hashtag1","hashtag2"]},{"1399798599":["hashtag1","hashtag2"]},{"1399798595":["hashtag1","hashtag2"]},{"1399798589":["hashtag1","hashtag2"]},{"1399798591":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798588, 1399798593, 1399798599, 1399798595, 1399798589, 1399798591)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.38310217857361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:47:03.171668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/15/image_17122025_15_16_05_10808.jpg', '/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_15_9817.jpg', '/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_25_9558.jpg', '/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_35_9697.jpg', '/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_45_10728.jpg', '/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_55_9887.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/15/image_17122025_15_16_05_10808.jpg
/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_15_9817.jpg
/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_25_9558.jpg
/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_35_9697.jpg
/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_45_10728.jpg
/home/pi/Desktop/images/17122025/15/16/image_17122025_15_16_55_9887.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798612","1399798606","1399798614","1399798608","1399798610","1399798607"],"photo_ids_order":["1399798606","1399798607","1399798608","1399798610","1399798612","1399798614"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9d4c430e0086471a749f45cd04ad466.jpg","text":"TemporaryFile(/tmp/multipartBody4078138014525965007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982883864,"filename":"image_17122025_15_16_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/323330b24f8430d2f424c7baffe880e4.jpg","text":"TemporaryFile(/tmp/multipartBody7938758596722813849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982883864,"filename":"image_17122025_15_16_05_10808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a32210011fda30488e54b8a75bd6c5c5.jpg","text":"TemporaryFile(/tmp/multipartBody3418047895077941003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982883864,"filename":"image_17122025_15_16_55_9887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e85349f47eaf9df586c0a544acea277.jpg","text":"TemporaryFile(/tmp/multipartBody7897203224292213460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982883864,"filename":"image_17122025_15_16_25_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd77aaf3c9f0d370c537267b6933a4f8.jpg","text":"TemporaryFile(/tmp/multipartBody6392336404507215989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982883864,"filename":"image_17122025_15_16_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/388cf7d0a856b28b42a11d981471940e.jpg","text":"TemporaryFile(/tmp/multipartBody1712502960512949363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982883864,"filename":"image_17122025_15_16_15_9817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798608","file1":"1399798607","file0":"1399798606","file4":"1399798612","file5":"1399798614","file3":"1399798610"},"map_files_photo_id_array":[{"photo_id":"1399798614","filename":"file5"},{"photo_id":"1399798608","filename":"file2"},{"photo_id":"1399798612","filename":"file4"},{"photo_id":"1399798607","filename":"file1"},{"photo_id":"1399798606","filename":"file0"},{"photo_id":"1399798610","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798612":["hashtag1","hashtag2"]},{"1399798606":["hashtag1","hashtag2"]},{"1399798614":["hashtag1","hashtag2"]},{"1399798608":["hashtag1","hashtag2"]},{"1399798610":["hashtag1","hashtag2"]},{"1399798607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798612, 1399798606, 1399798614, 1399798608, 1399798610, 1399798607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94473385810852 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:47:42.504215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_52_2671.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_55_3740.jpg', '/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_58_2689.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_04_6273.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_11_4432.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_13_1730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_52_2671.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_55_3740.jpg
/home/pi/Desktop/images/07112025/20/04/image_07112025_20_04_58_2689.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_04_6273.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_11_4432.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_13_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":["1399798633","1399798632","1399798635","1399798634","1399798637","1399798622"],"photo_ids_order":["1399798622","1399798632","1399798633","1399798634","1399798635","1399798637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0d546ed55d3ef1b7c2a100693d8df14.jpg","text":"TemporaryFile(/tmp/multipartBody5121539795314747816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982923277,"filename":"image_07112025_20_04_58_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6073d9275597059496acfaf5d173457d.jpg","text":"TemporaryFile(/tmp/multipartBody9137370992645400123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982923277,"filename":"image_07112025_20_04_55_3740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/317e5516de460052c04164c629286100.jpg","text":"TemporaryFile(/tmp/multipartBody3411658635583905173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982923277,"filename":"image_07112025_20_05_11_4432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/576fe4f018175e645d9ae5238e647b46.jpg","text":"TemporaryFile(/tmp/multipartBody3767398964247552795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982923277,"filename":"image_07112025_20_05_04_6273.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/357e11b026518b79b3f9bfc28fec1391.jpg","text":"TemporaryFile(/tmp/multipartBody5714233133727016473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982923277,"filename":"image_07112025_20_05_13_1730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d95463323fe5788200a0c7e45c33e73.jpg","text":"TemporaryFile(/tmp/multipartBody4104171874588784727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982923277,"filename":"image_07112025_20_04_52_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798633","file1":"1399798632","file0":"1399798622","file4":"1399798635","file5":"1399798637","file3":"1399798634"},"map_files_photo_id_array":[{"photo_id":"1399798637","filename":"file5"},{"photo_id":"1399798633","filename":"file2"},{"photo_id":"1399798635","filename":"file4"},{"photo_id":"1399798632","filename":"file1"},{"photo_id":"1399798622","filename":"file0"},{"photo_id":"1399798634","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798633":["hashtag1","hashtag2"]},{"1399798632":["hashtag1","hashtag2"]},{"1399798635":["hashtag1","hashtag2"]},{"1399798634":["hashtag1","hashtag2"]},{"1399798637":["hashtag1","hashtag2"]},{"1399798622":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798633, 1399798632, 1399798635, 1399798634, 1399798637, 1399798622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.25139784812927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:48:22.819409
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/16/image_17122025_15_17_05_9832.jpg', '/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_15_9582.jpg', '/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_25_10781.jpg', '/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_35_9750.jpg', '/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_45_9721.jpg', '/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_55_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/16/image_17122025_15_17_05_9832.jpg
/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_15_9582.jpg
/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_25_10781.jpg
/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_35_9750.jpg
/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_45_9721.jpg
/home/pi/Desktop/images/17122025/15/17/image_17122025_15_17_55_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798645","1399798639","1399798641","1399798646","1399798649","1399798643"],"photo_ids_order":["1399798639","1399798641","1399798643","1399798645","1399798646","1399798649"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8315a4944656cae5cbc4dd6e5df9307d.jpg","text":"TemporaryFile(/tmp/multipartBody7048173513615228067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982963435,"filename":"image_17122025_15_17_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31cf12b47404f17e3a3a050c8720d064.jpg","text":"TemporaryFile(/tmp/multipartBody7770344165625093953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982963435,"filename":"image_17122025_15_17_05_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06f7e76263e87b52cab5c931fa698f98.jpg","text":"TemporaryFile(/tmp/multipartBody5805346463545590134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982963435,"filename":"image_17122025_15_17_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7579469c98cbd3ac52adb70b1c9214e.jpg","text":"TemporaryFile(/tmp/multipartBody7227614727215411453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982963435,"filename":"image_17122025_15_17_45_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/caa8d48f0ac6cd94da9e369e23d03b83.jpg","text":"TemporaryFile(/tmp/multipartBody7582721171946193890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982963435,"filename":"image_17122025_15_17_55_10635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05f5d3eab706ba848e31870df140e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody4652663362332305198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765982963435,"filename":"image_17122025_15_17_25_10781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798643","file1":"1399798641","file0":"1399798639","file4":"1399798646","file5":"1399798649","file3":"1399798645"},"map_files_photo_id_array":[{"photo_id":"1399798649","filename":"file5"},{"photo_id":"1399798643","filename":"file2"},{"photo_id":"1399798646","filename":"file4"},{"photo_id":"1399798641","filename":"file1"},{"photo_id":"1399798639","filename":"file0"},{"photo_id":"1399798645","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798645":["hashtag1","hashtag2"]},{"1399798639":["hashtag1","hashtag2"]},{"1399798641":["hashtag1","hashtag2"]},{"1399798646":["hashtag1","hashtag2"]},{"1399798649":["hashtag1","hashtag2"]},{"1399798643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798645, 1399798639, 1399798641, 1399798646, 1399798649, 1399798643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90284061431885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:49:02.780339
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/17/image_17122025_15_18_05_9650.jpg', '/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_15_9684.jpg', '/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_25_9784.jpg', '/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_35_10568.jpg', '/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_45_9627.jpg', '/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_55_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/17/image_17122025_15_18_05_9650.jpg
/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_15_9684.jpg
/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_25_9784.jpg
/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_35_10568.jpg
/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_45_9627.jpg
/home/pi/Desktop/images/17122025/15/18/image_17122025_15_18_55_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":["1399798666","1399798668","1399798665","1399798664","1399798658","1399798663"],"photo_ids_order":["1399798658","1399798663","1399798664","1399798665","1399798666","1399798668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f0c1c222cfa4b403a38365159d9eb5d.jpg","text":"TemporaryFile(/tmp/multipartBody4583109825206279410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983003569,"filename":"image_17122025_15_18_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfdcdb41fcf3d0b1f7f740f89509288b.jpg","text":"TemporaryFile(/tmp/multipartBody3473484087034098358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983003569,"filename":"image_17122025_15_18_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86b936ac1d9295017393d0d4663825fd.jpg","text":"TemporaryFile(/tmp/multipartBody4338390144152355152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983003569,"filename":"image_17122025_15_18_35_10568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4636f396e366b68a69deb61f4e8e18c9.jpg","text":"TemporaryFile(/tmp/multipartBody6680170757621011085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983003569,"filename":"image_17122025_15_18_25_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50b4e6a08b380c7dc3503233c267bd07.jpg","text":"TemporaryFile(/tmp/multipartBody6604321351134330482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983003569,"filename":"image_17122025_15_18_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51bae5b525266a31a7c1da33991a1fae.jpg","text":"TemporaryFile(/tmp/multipartBody5471955148823923588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983003569,"filename":"image_17122025_15_18_15_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798664","file1":"1399798663","file0":"1399798658","file4":"1399798666","file5":"1399798668","file3":"1399798665"},"map_files_photo_id_array":[{"photo_id":"1399798668","filename":"file5"},{"photo_id":"1399798664","filename":"file2"},{"photo_id":"1399798666","filename":"file4"},{"photo_id":"1399798663","filename":"file1"},{"photo_id":"1399798658","filename":"file0"},{"photo_id":"1399798665","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798666":["hashtag1","hashtag2"]},{"1399798668":["hashtag1","hashtag2"]},{"1399798665":["hashtag1","hashtag2"]},{"1399798664":["hashtag1","hashtag2"]},{"1399798658":["hashtag1","hashtag2"]},{"1399798663":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798666, 1399798668, 1399798665, 1399798664, 1399798658, 1399798663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.245832443237305 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:49:42.038423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_14_1688.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_16_1673.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_19_2755.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_22_3780.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_28_2648.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_31_3588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_14_1688.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_16_1673.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_19_2755.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_22_3780.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_28_2648.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_31_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":["1399798677","1399798679","1399798673","1399798676","1399798675","1399798678"],"photo_ids_order":["1399798673","1399798675","1399798676","1399798677","1399798678","1399798679"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d2953732a668519f9b4165d83f84c47.jpg","text":"TemporaryFile(/tmp/multipartBody8959018690177771221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983042823,"filename":"image_07112025_20_05_22_3780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfa01586a842434fd5ac871cb4eea02f.jpg","text":"TemporaryFile(/tmp/multipartBody5003845461223082916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983042823,"filename":"image_07112025_20_05_31_3588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ea94511aae16247d0829240d9a44577.jpg","text":"TemporaryFile(/tmp/multipartBody7794603416886010563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983042823,"filename":"image_07112025_20_05_14_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5dced2088cbac47e1f6a24fb5d22677e.jpg","text":"TemporaryFile(/tmp/multipartBody8534985105532188625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983042823,"filename":"image_07112025_20_05_19_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83125e7238507217e520888b85811291.jpg","text":"TemporaryFile(/tmp/multipartBody9203303159163600795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983042823,"filename":"image_07112025_20_05_16_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c070288f8c9b89401e32cdcbaa29951.jpg","text":"TemporaryFile(/tmp/multipartBody7975488665631570295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983042823,"filename":"image_07112025_20_05_28_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798676","file1":"1399798675","file0":"1399798673","file4":"1399798678","file5":"1399798679","file3":"1399798677"},"map_files_photo_id_array":[{"photo_id":"1399798679","filename":"file5"},{"photo_id":"1399798676","filename":"file2"},{"photo_id":"1399798678","filename":"file4"},{"photo_id":"1399798675","filename":"file1"},{"photo_id":"1399798673","filename":"file0"},{"photo_id":"1399798677","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798677":["hashtag1","hashtag2"]},{"1399798679":["hashtag1","hashtag2"]},{"1399798673":["hashtag1","hashtag2"]},{"1399798676":["hashtag1","hashtag2"]},{"1399798675":["hashtag1","hashtag2"]},{"1399798678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798677, 1399798679, 1399798673, 1399798676, 1399798675, 1399798678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.822948694229126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:50:22.369710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/18/image_17122025_15_19_05_9678.jpg', '/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_15_9789.jpg', '/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_25_9631.jpg', '/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_35_10693.jpg', '/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_45_9695.jpg', '/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/18/image_17122025_15_19_05_9678.jpg
/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_15_9789.jpg
/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_25_9631.jpg
/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_35_10693.jpg
/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_45_9695.jpg
/home/pi/Desktop/images/17122025/15/19/image_17122025_15_19_55_9705.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798702","1399798692","1399798686","1399798683","1399798681","1399798684"],"photo_ids_order":["1399798681","1399798683","1399798684","1399798686","1399798692","1399798702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68e44d0848defc3b36c8a18958643f6b.jpg","text":"TemporaryFile(/tmp/multipartBody6488622760662983965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983082986,"filename":"image_17122025_15_19_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b969715f27f62bbf0b68f9ebe42d9ee5.jpg","text":"TemporaryFile(/tmp/multipartBody2372483003822083634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983082986,"filename":"image_17122025_15_19_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b594d1fe6cd4feaf6bcdcac48d7fb96f.jpg","text":"TemporaryFile(/tmp/multipartBody3264551673463607703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983082986,"filename":"image_17122025_15_19_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/036c40a76ff9a993c94c098dd33d2226.jpg","text":"TemporaryFile(/tmp/multipartBody6022117589049130167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983082986,"filename":"image_17122025_15_19_15_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e100a620d9ea4c797789fe8276f1a46d.jpg","text":"TemporaryFile(/tmp/multipartBody6108704216752271649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983082986,"filename":"image_17122025_15_19_05_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01d18f1a61be1cd11830551c07739b35.jpg","text":"TemporaryFile(/tmp/multipartBody6608566910332343165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983082986,"filename":"image_17122025_15_19_25_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798684","file1":"1399798683","file0":"1399798681","file4":"1399798692","file5":"1399798702","file3":"1399798686"},"map_files_photo_id_array":[{"photo_id":"1399798702","filename":"file5"},{"photo_id":"1399798684","filename":"file2"},{"photo_id":"1399798692","filename":"file4"},{"photo_id":"1399798683","filename":"file1"},{"photo_id":"1399798681","filename":"file0"},{"photo_id":"1399798686","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798702":["hashtag1","hashtag2"]},{"1399798692":["hashtag1","hashtag2"]},{"1399798686":["hashtag1","hashtag2"]},{"1399798683":["hashtag1","hashtag2"]},{"1399798681":["hashtag1","hashtag2"]},{"1399798684":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798702, 1399798692, 1399798686, 1399798683, 1399798681, 1399798684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66670823097229 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:51:03.150790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/19/image_17122025_15_20_05_10777.jpg', '/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_15_9663.jpg', '/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_25_9728.jpg', '/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_35_10611.jpg', '/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_45_9706.jpg', '/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_55_10006.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/19/image_17122025_15_20_05_10777.jpg
/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_15_9663.jpg
/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_25_9728.jpg
/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_35_10611.jpg
/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_45_9706.jpg
/home/pi/Desktop/images/17122025/15/20/image_17122025_15_20_55_10006.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798726","1399798729","1399798720","1399798722","1399798727","1399798724"],"photo_ids_order":["1399798720","1399798722","1399798724","1399798726","1399798727","1399798729"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd027fcf30ca18b8caf2364f4294a115.jpg","text":"TemporaryFile(/tmp/multipartBody5579354169960868729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983123875,"filename":"image_17122025_15_20_35_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b29d9bff2d5c599911b680d3aa78e4d.jpg","text":"TemporaryFile(/tmp/multipartBody5844843429872480834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983123875,"filename":"image_17122025_15_20_55_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b2734c57206ac61ed84523683ee5dd5.jpg","text":"TemporaryFile(/tmp/multipartBody7747395319601563262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983123875,"filename":"image_17122025_15_20_05_10777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb5d7d2e58e1bcfc468705f1de69f3ca.jpg","text":"TemporaryFile(/tmp/multipartBody8221706979242470922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983123875,"filename":"image_17122025_15_20_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8fa60563cb94e95175228e42ab78cfd.jpg","text":"TemporaryFile(/tmp/multipartBody9022283317809830157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983123875,"filename":"image_17122025_15_20_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/205f481d26d254ca28c62307241bee91.jpg","text":"TemporaryFile(/tmp/multipartBody1561127162364048623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983123875,"filename":"image_17122025_15_20_25_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798724","file1":"1399798722","file0":"1399798720","file4":"1399798727","file5":"1399798729","file3":"1399798726"},"map_files_photo_id_array":[{"photo_id":"1399798729","filename":"file5"},{"photo_id":"1399798724","filename":"file2"},{"photo_id":"1399798727","filename":"file4"},{"photo_id":"1399798722","filename":"file1"},{"photo_id":"1399798720","filename":"file0"},{"photo_id":"1399798726","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798726":["hashtag1","hashtag2"]},{"1399798729":["hashtag1","hashtag2"]},{"1399798720":["hashtag1","hashtag2"]},{"1399798722":["hashtag1","hashtag2"]},{"1399798727":["hashtag1","hashtag2"]},{"1399798724":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798726, 1399798729, 1399798720, 1399798722, 1399798727, 1399798724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.7892804145813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:51:42.518294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_34_2870.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_37_2685.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_40_2708.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_46_1668.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_49_2682.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_55_2603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_34_2870.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_37_2685.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_40_2708.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_46_1668.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_49_2682.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_55_2603.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798738","1399798741","1399798735","1399798740","1399798737","1399798739"],"photo_ids_order":["1399798735","1399798737","1399798738","1399798739","1399798740","1399798741"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ad2f66f9e4360bf83966931b5a18d49.jpg","text":"TemporaryFile(/tmp/multipartBody2638822721184965376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983163290,"filename":"image_07112025_20_05_40_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c9e11d4b8357ec7e551187fe1e06aeb.jpg","text":"TemporaryFile(/tmp/multipartBody2848750220330797395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983163290,"filename":"image_07112025_20_05_55_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51ed2a647ab20ba452b9d04f8b6c8a45.jpg","text":"TemporaryFile(/tmp/multipartBody2902732599352209534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983163290,"filename":"image_07112025_20_05_34_2870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd907d19112d0803e745018b6bb27e80.jpg","text":"TemporaryFile(/tmp/multipartBody2773793664255771721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983163290,"filename":"image_07112025_20_05_49_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a239c08388caec3b5083a220c6dd0204.jpg","text":"TemporaryFile(/tmp/multipartBody4662333773364967636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983163290,"filename":"image_07112025_20_05_37_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6ecb10d10882cd47e015d222cc31244.jpg","text":"TemporaryFile(/tmp/multipartBody6819977988950821922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983163290,"filename":"image_07112025_20_05_46_1668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798738","file1":"1399798737","file0":"1399798735","file4":"1399798740","file5":"1399798741","file3":"1399798739"},"map_files_photo_id_array":[{"photo_id":"1399798741","filename":"file5"},{"photo_id":"1399798738","filename":"file2"},{"photo_id":"1399798740","filename":"file4"},{"photo_id":"1399798737","filename":"file1"},{"photo_id":"1399798735","filename":"file0"},{"photo_id":"1399798739","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798738":["hashtag1","hashtag2"]},{"1399798741":["hashtag1","hashtag2"]},{"1399798735":["hashtag1","hashtag2"]},{"1399798740":["hashtag1","hashtag2"]},{"1399798737":["hashtag1","hashtag2"]},{"1399798739":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798738, 1399798741, 1399798735, 1399798740, 1399798737, 1399798739)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.26733708381653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:52:22.793442
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/20/image_17122025_15_21_05_9711.jpg', '/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_15_10582.jpg', '/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_25_9739.jpg', '/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_35_9529.jpg', '/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_45_10638.jpg', '/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_55_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/20/image_17122025_15_21_05_9711.jpg
/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_15_10582.jpg
/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_25_9739.jpg
/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_35_9529.jpg
/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_45_10638.jpg
/home/pi/Desktop/images/17122025/15/21/image_17122025_15_21_55_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798753","1399798758","1399798746","1399798748","1399798762","1399798756"],"photo_ids_order":["1399798746","1399798748","1399798753","1399798756","1399798758","1399798762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df83c6acf66c2424564b33693dfb06a6.jpg","text":"TemporaryFile(/tmp/multipartBody8299107952830761946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983203405,"filename":"image_17122025_15_21_25_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7401753bcb40d2b4d4a22165be893e9a.jpg","text":"TemporaryFile(/tmp/multipartBody7724057485449312633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983203405,"filename":"image_17122025_15_21_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04c808eed11dde236fa2bca9baaa0f52.jpg","text":"TemporaryFile(/tmp/multipartBody4573335239565139197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983203405,"filename":"image_17122025_15_21_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f094bc7ceb1f11d941ac8cbc03be208.jpg","text":"TemporaryFile(/tmp/multipartBody3997441692044384528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983203405,"filename":"image_17122025_15_21_15_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0b5b152067f1e3b9f4f2bb734744dd0.jpg","text":"TemporaryFile(/tmp/multipartBody6595608976490086017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983203405,"filename":"image_17122025_15_21_55_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25fd9f694b5157d138ec12675b34c03d.jpg","text":"TemporaryFile(/tmp/multipartBody4018124022410417255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983203405,"filename":"image_17122025_15_21_35_9529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798753","file1":"1399798748","file0":"1399798746","file4":"1399798758","file5":"1399798762","file3":"1399798756"},"map_files_photo_id_array":[{"photo_id":"1399798762","filename":"file5"},{"photo_id":"1399798753","filename":"file2"},{"photo_id":"1399798758","filename":"file4"},{"photo_id":"1399798748","filename":"file1"},{"photo_id":"1399798746","filename":"file0"},{"photo_id":"1399798756","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798753":["hashtag1","hashtag2"]},{"1399798758":["hashtag1","hashtag2"]},{"1399798746":["hashtag1","hashtag2"]},{"1399798748":["hashtag1","hashtag2"]},{"1399798762":["hashtag1","hashtag2"]},{"1399798756":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798753, 1399798758, 1399798746, 1399798748, 1399798762, 1399798756)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76087427139282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:53:02.659080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/21/image_17122025_15_22_05_9636.jpg', '/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_15_10629.jpg', '/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_25_9654.jpg', '/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_35_9730.jpg', '/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_45_10690.jpg', '/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_55_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/21/image_17122025_15_22_05_9636.jpg
/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_15_10629.jpg
/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_25_9654.jpg
/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_35_9730.jpg
/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_45_10690.jpg
/home/pi/Desktop/images/17122025/15/22/image_17122025_15_22_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":["1399798771","1399798768","1399798779","1399798773","1399798770","1399798775"],"photo_ids_order":["1399798768","1399798770","1399798771","1399798773","1399798775","1399798779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2018500383aa0c5ad025c6763dba3fd.jpg","text":"TemporaryFile(/tmp/multipartBody2740428883090527177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983243318,"filename":"image_17122025_15_22_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3f8567c1f9bcb9a289a1ed6a9a0db31.jpg","text":"TemporaryFile(/tmp/multipartBody9063169746385210976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983243318,"filename":"image_17122025_15_22_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/587836198ab32fecac464e4e115f7134.jpg","text":"TemporaryFile(/tmp/multipartBody6836152820093328610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983243318,"filename":"image_17122025_15_22_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84fff7ffd9b4ad167a9947d95f975b5d.jpg","text":"TemporaryFile(/tmp/multipartBody9122028482281767075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983243318,"filename":"image_17122025_15_22_35_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/869fc044b5a99fe101723815be8324b3.jpg","text":"TemporaryFile(/tmp/multipartBody4282386009001046076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983243318,"filename":"image_17122025_15_22_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ccd028b4b89860d8f8b886c8cdce548.jpg","text":"TemporaryFile(/tmp/multipartBody5585549649891271306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983243318,"filename":"image_17122025_15_22_45_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798771","file1":"1399798770","file0":"1399798768","file4":"1399798775","file5":"1399798779","file3":"1399798773"},"map_files_photo_id_array":[{"photo_id":"1399798779","filename":"file5"},{"photo_id":"1399798771","filename":"file2"},{"photo_id":"1399798775","filename":"file4"},{"photo_id":"1399798770","filename":"file1"},{"photo_id":"1399798768","filename":"file0"},{"photo_id":"1399798773","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798771":["hashtag1","hashtag2"]},{"1399798768":["hashtag1","hashtag2"]},{"1399798779":["hashtag1","hashtag2"]},{"1399798773":["hashtag1","hashtag2"]},{"1399798770":["hashtag1","hashtag2"]},{"1399798775":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798771, 1399798768, 1399798779, 1399798773, 1399798770, 1399798775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.83784246444702 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:53:42.078550
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_57_2551.jpg', '/home/pi/Desktop/images/07112025/20/05/image_07112025_20_06_01_3563.jpg', '/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_13_2756.jpg', '/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_15_2760.jpg', '/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_19_3583.jpg', '/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_22_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_05_57_2551.jpg
/home/pi/Desktop/images/07112025/20/05/image_07112025_20_06_01_3563.jpg
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_13_2756.jpg
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_15_2760.jpg
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_19_3583.jpg
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_22_2586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798804","1399798803","1399798806","1399798800","1399798790","1399798805"],"photo_ids_order":["1399798790","1399798800","1399798803","1399798804","1399798805","1399798806"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59f7f424df4abd3fb2f4f8924d31b6b2.jpg","text":"TemporaryFile(/tmp/multipartBody1057447885624182684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983282893,"filename":"image_07112025_20_06_15_2760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fa735b07f55e998e3bf2355e055775e.jpg","text":"TemporaryFile(/tmp/multipartBody7864495691682917909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983282893,"filename":"image_07112025_20_06_13_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb7e4c5697e13669cc0c966ebe91faf3.jpg","text":"TemporaryFile(/tmp/multipartBody5829760294911815037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983282893,"filename":"image_07112025_20_06_22_2586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bface5c08715370d4bf4ca08d4eced24.jpg","text":"TemporaryFile(/tmp/multipartBody2493487193256920750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983282893,"filename":"image_07112025_20_06_01_3563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a2fadc8c24b77504569bf10efbbc452.jpg","text":"TemporaryFile(/tmp/multipartBody533502195202363098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983282893,"filename":"image_07112025_20_05_57_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b50abd346df38165d4a6d356651d08e3.jpg","text":"TemporaryFile(/tmp/multipartBody1942387433443764317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983282893,"filename":"image_07112025_20_06_19_3583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798803","file1":"1399798800","file0":"1399798790","file4":"1399798805","file5":"1399798806","file3":"1399798804"},"map_files_photo_id_array":[{"photo_id":"1399798806","filename":"file5"},{"photo_id":"1399798803","filename":"file2"},{"photo_id":"1399798805","filename":"file4"},{"photo_id":"1399798800","filename":"file1"},{"photo_id":"1399798790","filename":"file0"},{"photo_id":"1399798804","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798804":["hashtag1","hashtag2"]},{"1399798803":["hashtag1","hashtag2"]},{"1399798806":["hashtag1","hashtag2"]},{"1399798800":["hashtag1","hashtag2"]},{"1399798790":["hashtag1","hashtag2"]},{"1399798805":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798804, 1399798803, 1399798806, 1399798800, 1399798790, 1399798805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80161380767822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:54:21.970629
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/22/image_17122025_15_23_05_9597.jpg', '/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_15_9727.jpg', '/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_25_10759.jpg', '/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_35_9621.jpg', '/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_45_9835.jpg', '/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_55_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/22/image_17122025_15_23_05_9597.jpg
/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_15_9727.jpg
/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_25_10759.jpg
/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_35_9621.jpg
/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_45_9835.jpg
/home/pi/Desktop/images/17122025/15/23/image_17122025_15_23_55_9817.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798825","1399798828","1399798820","1399798814","1399798817","1399798811"],"photo_ids_order":["1399798811","1399798814","1399798817","1399798820","1399798825","1399798828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/735b29a88a7412e7684bc293589b1905.jpg","text":"TemporaryFile(/tmp/multipartBody7394642905250999947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983322582,"filename":"image_17122025_15_23_45_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e218488cbe7f1fde030d1e1648cb8003.jpg","text":"TemporaryFile(/tmp/multipartBody798599986919691612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983322582,"filename":"image_17122025_15_23_55_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b442ec5f72fca97221bdb6dd2d50ff75.jpg","text":"TemporaryFile(/tmp/multipartBody612619689190850087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983322582,"filename":"image_17122025_15_23_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3479e52e5567f32e13f9d876ba4c74a.jpg","text":"TemporaryFile(/tmp/multipartBody3729148678833926927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983322582,"filename":"image_17122025_15_23_15_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02f439077f9751c9f030de6cbb3b4bf0.jpg","text":"TemporaryFile(/tmp/multipartBody3629149290013377908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983322582,"filename":"image_17122025_15_23_25_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bace29ae20a592146c9de6fd091979ce.jpg","text":"TemporaryFile(/tmp/multipartBody3133779712058127079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983322582,"filename":"image_17122025_15_23_05_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798817","file1":"1399798814","file0":"1399798811","file4":"1399798825","file5":"1399798828","file3":"1399798820"},"map_files_photo_id_array":[{"photo_id":"1399798828","filename":"file5"},{"photo_id":"1399798817","filename":"file2"},{"photo_id":"1399798825","filename":"file4"},{"photo_id":"1399798814","filename":"file1"},{"photo_id":"1399798811","filename":"file0"},{"photo_id":"1399798820","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798825":["hashtag1","hashtag2"]},{"1399798828":["hashtag1","hashtag2"]},{"1399798820":["hashtag1","hashtag2"]},{"1399798814":["hashtag1","hashtag2"]},{"1399798817":["hashtag1","hashtag2"]},{"1399798811":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798825, 1399798828, 1399798820, 1399798814, 1399798817, 1399798811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75616812705994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:55:02.962045
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/23/image_17122025_15_24_05_10730.jpg', '/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_15_9787.jpg', '/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_25_9664.jpg', '/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_35_10727.jpg', '/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_45_9844.jpg', '/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_55_9899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/23/image_17122025_15_24_05_10730.jpg
/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_15_9787.jpg
/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_25_9664.jpg
/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_35_10727.jpg
/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_45_9844.jpg
/home/pi/Desktop/images/17122025/15/24/image_17122025_15_24_55_9899.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798837","1399798831","1399798840","1399798833","1399798835","1399798838"],"photo_ids_order":["1399798831","1399798833","1399798835","1399798837","1399798838","1399798840"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bce12dcc71a37589b041196463e41b1.jpg","text":"TemporaryFile(/tmp/multipartBody8772089341657858417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983363646,"filename":"image_17122025_15_24_35_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5dfe5c637f094ccd6e208b7114bdab6.jpg","text":"TemporaryFile(/tmp/multipartBody286134259617098576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983363646,"filename":"image_17122025_15_24_05_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83dce51a87eef0381736c0491eb54961.jpg","text":"TemporaryFile(/tmp/multipartBody898429606240054710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983363646,"filename":"image_17122025_15_24_55_9899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6608c79c60507882443404e09bb2a8a3.jpg","text":"TemporaryFile(/tmp/multipartBody2754057538760800556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983363646,"filename":"image_17122025_15_24_15_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e60beeedf83f498e7a10259be0ded024.jpg","text":"TemporaryFile(/tmp/multipartBody7547697361237903951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983363646,"filename":"image_17122025_15_24_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8447407c1e2822383807d980d774907.jpg","text":"TemporaryFile(/tmp/multipartBody5388884858727489020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983363646,"filename":"image_17122025_15_24_45_9844.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798835","file1":"1399798833","file0":"1399798831","file4":"1399798838","file5":"1399798840","file3":"1399798837"},"map_files_photo_id_array":[{"photo_id":"1399798840","filename":"file5"},{"photo_id":"1399798835","filename":"file2"},{"photo_id":"1399798838","filename":"file4"},{"photo_id":"1399798833","filename":"file1"},{"photo_id":"1399798831","filename":"file0"},{"photo_id":"1399798837","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798837":["hashtag1","hashtag2"]},{"1399798831":["hashtag1","hashtag2"]},{"1399798840":["hashtag1","hashtag2"]},{"1399798833":["hashtag1","hashtag2"]},{"1399798835":["hashtag1","hashtag2"]},{"1399798838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798837, 1399798831, 1399798840, 1399798833, 1399798835, 1399798838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6938362121582 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:55:42.374285
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_25_3705.jpg', '/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_31_2738.jpg', '/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_50_1816.jpg', '/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_51_1594.jpg', '/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_55_1755.jpg', '/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_56_1787.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_25_3705.jpg
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_31_2738.jpg
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_50_1816.jpg
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_51_1594.jpg
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_55_1755.jpg
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_56_1787.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798846","1399798849","1399798848","1399798845","1399798850","1399798847"],"photo_ids_order":["1399798845","1399798846","1399798847","1399798848","1399798849","1399798850"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75c4db38f162d9e166cd971db14d0610.jpg","text":"TemporaryFile(/tmp/multipartBody8240264337489318890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983403151,"filename":"image_07112025_20_06_31_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/334651fa3f5e4250f93a6223d11c9489.jpg","text":"TemporaryFile(/tmp/multipartBody4296560959683236460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983403151,"filename":"image_07112025_20_06_55_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/496f7e963a4c9c64e7b41003a2a9bdfc.jpg","text":"TemporaryFile(/tmp/multipartBody1152148929114228746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983403151,"filename":"image_07112025_20_06_51_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/221ac28c1adf9884f4704ee7fd4a1d12.jpg","text":"TemporaryFile(/tmp/multipartBody724711000556409934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983403151,"filename":"image_07112025_20_06_25_3705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce947b3d94280b4bc772c8050543a325.jpg","text":"TemporaryFile(/tmp/multipartBody2883554127389463161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983403151,"filename":"image_07112025_20_06_56_1787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c077bcc7df845d81a5d5ed2891f8aecd.jpg","text":"TemporaryFile(/tmp/multipartBody631959436159898900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983403151,"filename":"image_07112025_20_06_50_1816.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798847","file1":"1399798846","file0":"1399798845","file4":"1399798849","file5":"1399798850","file3":"1399798848"},"map_files_photo_id_array":[{"photo_id":"1399798850","filename":"file5"},{"photo_id":"1399798847","filename":"file2"},{"photo_id":"1399798849","filename":"file4"},{"photo_id":"1399798846","filename":"file1"},{"photo_id":"1399798845","filename":"file0"},{"photo_id":"1399798848","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798846":["hashtag1","hashtag2"]},{"1399798849":["hashtag1","hashtag2"]},{"1399798848":["hashtag1","hashtag2"]},{"1399798845":["hashtag1","hashtag2"]},{"1399798850":["hashtag1","hashtag2"]},{"1399798847":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798846, 1399798849, 1399798848, 1399798845, 1399798850, 1399798847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66571569442749 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 15:56:22.651383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/24/image_17122025_15_25_05_9589.jpg', '/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_15_9729.jpg', '/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_25_10929.jpg', '/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_35_9597.jpg', '/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_45_9867.jpg', '/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_55_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/24/image_17122025_15_25_05_9589.jpg
/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_15_9729.jpg
/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_25_10929.jpg
/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_35_9597.jpg
/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_45_9867.jpg
/home/pi/Desktop/images/17122025/15/25/image_17122025_15_25_55_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798867","1399798869","1399798865","1399798859","1399798856","1399798873"],"photo_ids_order":["1399798856","1399798859","1399798865","1399798867","1399798869","1399798873"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1524e62b8a117fbca7ebf8672339eb20.jpg","text":"TemporaryFile(/tmp/multipartBody3788651203486501580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983443260,"filename":"image_17122025_15_25_35_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7560f04278394fee9c22b3329b7d6338.jpg","text":"TemporaryFile(/tmp/multipartBody4011722799111275524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983443260,"filename":"image_17122025_15_25_45_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5118f3e0420083bfad4a6374e13f855b.jpg","text":"TemporaryFile(/tmp/multipartBody6195231005766780499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983443260,"filename":"image_17122025_15_25_25_10929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4fd1e4e220c24888415be8c1b0ee9a75.jpg","text":"TemporaryFile(/tmp/multipartBody7820538255110491185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983443260,"filename":"image_17122025_15_25_15_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1df81ec40ebc5ceb411c7600c0063a74.jpg","text":"TemporaryFile(/tmp/multipartBody922614439761200406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983443260,"filename":"image_17122025_15_25_05_9589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59f99c94f6c532703fc2292cb8b27544.jpg","text":"TemporaryFile(/tmp/multipartBody612255790395282038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983443260,"filename":"image_17122025_15_25_55_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798865","file1":"1399798859","file0":"1399798856","file4":"1399798869","file5":"1399798873","file3":"1399798867"},"map_files_photo_id_array":[{"photo_id":"1399798873","filename":"file5"},{"photo_id":"1399798865","filename":"file2"},{"photo_id":"1399798869","filename":"file4"},{"photo_id":"1399798859","filename":"file1"},{"photo_id":"1399798856","filename":"file0"},{"photo_id":"1399798867","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798867":["hashtag1","hashtag2"]},{"1399798869":["hashtag1","hashtag2"]},{"1399798865":["hashtag1","hashtag2"]},{"1399798859":["hashtag1","hashtag2"]},{"1399798856":["hashtag1","hashtag2"]},{"1399798873":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798867, 1399798869, 1399798865, 1399798859, 1399798856, 1399798873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38718509674072 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:57:02.553863
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/25/image_17122025_15_26_05_10727.jpg', '/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_15_9615.jpg', '/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_25_9733.jpg', '/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_35_10643.jpg', '/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_45_9683.jpg', '/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_55_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/25/image_17122025_15_26_05_10727.jpg
/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_15_9615.jpg
/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_25_9733.jpg
/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_35_10643.jpg
/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_45_9683.jpg
/home/pi/Desktop/images/17122025/15/26/image_17122025_15_26_55_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798900","1399798903","1399798875","1399798880","1399798898","1399798891"],"photo_ids_order":["1399798875","1399798880","1399798891","1399798898","1399798900","1399798903"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64a9c658687b57947754f678fd18fe6f.jpg","text":"TemporaryFile(/tmp/multipartBody7635139533113925645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983483231,"filename":"image_17122025_15_26_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eec7a31db7a2f972f1b58a67d1855353.jpg","text":"TemporaryFile(/tmp/multipartBody2413550707667481691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983483231,"filename":"image_17122025_15_26_55_9941.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2c6a464fd5b66caff73082d0411976d.jpg","text":"TemporaryFile(/tmp/multipartBody7672881909592743364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983483231,"filename":"image_17122025_15_26_05_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec37e397ecb31b3a27628d8b558658ea.jpg","text":"TemporaryFile(/tmp/multipartBody6977612987978957368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983483231,"filename":"image_17122025_15_26_15_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0626f5caa0f69bf2a53cebe129d51bea.jpg","text":"TemporaryFile(/tmp/multipartBody4006240778068918445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983483231,"filename":"image_17122025_15_26_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a00790f3a8c8ad7827e8bcd9835b5ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7398071759287284423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983483231,"filename":"image_17122025_15_26_25_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798891","file1":"1399798880","file0":"1399798875","file4":"1399798900","file5":"1399798903","file3":"1399798898"},"map_files_photo_id_array":[{"photo_id":"1399798903","filename":"file5"},{"photo_id":"1399798891","filename":"file2"},{"photo_id":"1399798900","filename":"file4"},{"photo_id":"1399798880","filename":"file1"},{"photo_id":"1399798875","filename":"file0"},{"photo_id":"1399798898","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399798900":["hashtag1","hashtag2"]},{"1399798903":["hashtag1","hashtag2"]},{"1399798875":["hashtag1","hashtag2"]},{"1399798880":["hashtag1","hashtag2"]},{"1399798898":["hashtag1","hashtag2"]},{"1399798891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399798900, 1399798903, 1399798875, 1399798880, 1399798898, 1399798891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.778650760650635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 15:57:41.941816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_58_1680.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_01_2663.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_03_2698.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_07_3696.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_10_2923.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_13_2889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/06/image_07112025_20_06_58_1680.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_01_2663.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_03_2698.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_07_3696.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_10_2923.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_13_2889.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399798912","1399798909","1399798980","1399798914","1399798944","1399798913"],"photo_ids_order":["1399798909","1399798912","1399798913","1399798914","1399798944","1399798980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cd87e8a3557a589c957534eb2e9fc9f.jpg","text":"TemporaryFile(/tmp/multipartBody144581821113134469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983522714,"filename":"image_07112025_20_07_01_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdfaecc0d5dcd8bae85178e0ab411073.jpg","text":"TemporaryFile(/tmp/multipartBody7063347414631353204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983522714,"filename":"image_07112025_20_06_58_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcee67071f99617142e6fb4a2e6f7de9.jpg","text":"TemporaryFile(/tmp/multipartBody4566092048002220174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983522714,"filename":"image_07112025_20_07_13_2889.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2eedae961a8e0140ab50725d67c5fb6.jpg","text":"TemporaryFile(/tmp/multipartBody5305056862635629369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983522714,"filename":"image_07112025_20_07_07_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3df3facf5ab0216d9c7a576bbe2b63f5.jpg","text":"TemporaryFile(/tmp/multipartBody297666330188759886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983522714,"filename":"image_07112025_20_07_10_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69140ff33d3a2a7010e4ce6a4de93f87.jpg","text":"TemporaryFile(/tmp/multipartBody3251207007942324753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983522714,"filename":"image_07112025_20_07_03_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399798913","file1":"1399798912","file0":"1399798909","file4":"1399798944","file5":"1399798980","file3":"1399798914"},"map_files_photo_id_array":[{"photo_id":"1399798980","filename":"file5"},{"photo_id":"1399798913","filename":"file2"},{"photo_id":"1399798944","filename":"file4"},{"photo_id":"1399798912","filename":"file1"},{"photo_id":"1399798909","filename":"file0"},{"photo_id":"1399798914","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399798912":["hashtag1","hashtag2"]},{"1399798909":["hashtag1","hashtag2"]},{"1399798980":["hashtag1","hashtag2"]},{"1399798914":["hashtag1","hashtag2"]},{"1399798944":["hashtag1","hashtag2"]},{"1399798913":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399798912, 1399798909, 1399798980, 1399798914, 1399798944, 1399798913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10872530937195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 15:59:03.481184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/26/image_17122025_15_27_05_9668.jpg', '/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_15_10730.jpg', '/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_25_9596.jpg', '/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_35_9770.jpg', '/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_45_10644.jpg', '/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_55_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/26/image_17122025_15_27_05_9668.jpg
/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_15_10730.jpg
/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_25_9596.jpg
/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_35_9770.jpg
/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_45_10644.jpg
/home/pi/Desktop/images/17122025/15/27/image_17122025_15_27_55_9930.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":["1399799436","1399799439","1399799430","1399799433","1399799441","1399799426"],"photo_ids_order":["1399799426","1399799430","1399799433","1399799436","1399799439","1399799441"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18890770d54784cc732884a3604e5987.jpg","text":"TemporaryFile(/tmp/multipartBody9191031273444668273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983604211,"filename":"image_17122025_15_27_35_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c63795223f9a6c962850bd486fee0a09.jpg","text":"TemporaryFile(/tmp/multipartBody2692148999305717592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983604211,"filename":"image_17122025_15_27_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3778f841fdda667a50f98e1bb889c70c.jpg","text":"TemporaryFile(/tmp/multipartBody4329695836492731579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983604211,"filename":"image_17122025_15_27_15_10730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2be497b2f7b94e92b5b8fe275241cf91.jpg","text":"TemporaryFile(/tmp/multipartBody3788088319058705434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983604211,"filename":"image_17122025_15_27_25_9596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/145dad1c07029d18fe9e5ed5502a014a.jpg","text":"TemporaryFile(/tmp/multipartBody7861469659416396125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983604211,"filename":"image_17122025_15_27_55_9930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/957788c96ae7cbecc3da3ff0f3c49052.jpg","text":"TemporaryFile(/tmp/multipartBody7478606480080664187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983604211,"filename":"image_17122025_15_27_05_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399799433","file1":"1399799430","file0":"1399799426","file4":"1399799439","file5":"1399799441","file3":"1399799436"},"map_files_photo_id_array":[{"photo_id":"1399799441","filename":"file5"},{"photo_id":"1399799433","filename":"file2"},{"photo_id":"1399799439","filename":"file4"},{"photo_id":"1399799430","filename":"file1"},{"photo_id":"1399799426","filename":"file0"},{"photo_id":"1399799436","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399799436":["hashtag1","hashtag2"]},{"1399799439":["hashtag1","hashtag2"]},{"1399799430":["hashtag1","hashtag2"]},{"1399799433":["hashtag1","hashtag2"]},{"1399799441":["hashtag1","hashtag2"]},{"1399799426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399799436, 1399799439, 1399799430, 1399799433, 1399799441, 1399799426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.553123474121094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:00:03.023314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/27/image_17122025_15_28_05_9649.jpg', '/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_15_9616.jpg', '/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_25_10832.jpg', '/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_35_9665.jpg', '/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_45_9598.jpg', '/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_55_10843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/27/image_17122025_15_28_05_9649.jpg
/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_15_9616.jpg
/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_25_10832.jpg
/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_35_9665.jpg
/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_45_9598.jpg
/home/pi/Desktop/images/17122025/15/28/image_17122025_15_28_55_10843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399799583","1399799691","1399799652","1399799619","1399799662","1399799647"],"photo_ids_order":["1399799583","1399799619","1399799647","1399799652","1399799662","1399799691"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48c89844b954b2394534966228feac63.jpg","text":"TemporaryFile(/tmp/multipartBody1039995843466809977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983663660,"filename":"image_17122025_15_28_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5d4d4e38bdb93f2ea466388b0a86282.jpg","text":"TemporaryFile(/tmp/multipartBody7785629921040173753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983663660,"filename":"image_17122025_15_28_55_10843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7275640c557ac6c2890b917cbafdd07d.jpg","text":"TemporaryFile(/tmp/multipartBody1680283171267404803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983663660,"filename":"image_17122025_15_28_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24a903467d083f033107b26153541ba6.jpg","text":"TemporaryFile(/tmp/multipartBody8003060607290186816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983663660,"filename":"image_17122025_15_28_15_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2df8fed96af0dce51f5ae7738e0567f.jpg","text":"TemporaryFile(/tmp/multipartBody6551840754981519364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983663660,"filename":"image_17122025_15_28_45_9598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bc8dc7d6486750b17161fcd243f9a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6255799661914559497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983663660,"filename":"image_17122025_15_28_25_10832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399799647","file1":"1399799619","file0":"1399799583","file4":"1399799662","file5":"1399799691","file3":"1399799652"},"map_files_photo_id_array":[{"photo_id":"1399799691","filename":"file5"},{"photo_id":"1399799647","filename":"file2"},{"photo_id":"1399799662","filename":"file4"},{"photo_id":"1399799619","filename":"file1"},{"photo_id":"1399799583","filename":"file0"},{"photo_id":"1399799652","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399799583":["hashtag1","hashtag2"]},{"1399799691":["hashtag1","hashtag2"]},{"1399799652":["hashtag1","hashtag2"]},{"1399799619":["hashtag1","hashtag2"]},{"1399799662":["hashtag1","hashtag2"]},{"1399799647":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399799583, 1399799691, 1399799652, 1399799619, 1399799662, 1399799647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.94305062294006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:00:42.580781
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_16_2712.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_18_2729.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_29_1618.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_31_1758.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_39_8789.jpg', '/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_51_11770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_16_2712.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_18_2729.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_29_1618.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_31_1758.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_39_8789.jpg
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_51_11770.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399799745","1399799748","1399799762","1399799759","1399799743","1399799746"],"photo_ids_order":["1399799743","1399799745","1399799746","1399799748","1399799759","1399799762"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0aff87ab1b9072f1a9a94cdb14d74d35.jpg","text":"TemporaryFile(/tmp/multipartBody4008931283712958306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983703362,"filename":"image_07112025_20_07_18_2729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aca1d5b77ba5c3545f3721eb056d00cd.jpg","text":"TemporaryFile(/tmp/multipartBody755330583998093349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983703362,"filename":"image_07112025_20_07_31_1758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5888dccc751dfdf4ff689559ad90bffb.jpg","text":"TemporaryFile(/tmp/multipartBody4928710715859107250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983703362,"filename":"image_07112025_20_07_51_11770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c64a6bf3da62ff452a1133b3e1d2181.jpg","text":"TemporaryFile(/tmp/multipartBody4290858402441098280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983703362,"filename":"image_07112025_20_07_39_8789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d13a24e5a36ef9399a9295f985f549c0.jpg","text":"TemporaryFile(/tmp/multipartBody3254663692903930718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983703362,"filename":"image_07112025_20_07_16_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e53976b0d76f11c7a04a7b6be9e3234a.jpg","text":"TemporaryFile(/tmp/multipartBody6096097538338328181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983703362,"filename":"image_07112025_20_07_29_1618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399799746","file1":"1399799745","file0":"1399799743","file4":"1399799759","file5":"1399799762","file3":"1399799748"},"map_files_photo_id_array":[{"photo_id":"1399799762","filename":"file5"},{"photo_id":"1399799746","filename":"file2"},{"photo_id":"1399799759","filename":"file4"},{"photo_id":"1399799745","filename":"file1"},{"photo_id":"1399799743","filename":"file0"},{"photo_id":"1399799748","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399799745":["hashtag1","hashtag2"]},{"1399799748":["hashtag1","hashtag2"]},{"1399799762":["hashtag1","hashtag2"]},{"1399799759":["hashtag1","hashtag2"]},{"1399799743":["hashtag1","hashtag2"]},{"1399799746":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399799745, 1399799748, 1399799762, 1399799759, 1399799743, 1399799746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.21828770637512 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:01:21.989245
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/28/image_17122025_15_29_05_9825.jpg', '/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_15_9910.jpg', '/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_25_9734.jpg', '/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_35_9909.jpg', '/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_45_9683.jpg', '/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_55_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/28/image_17122025_15_29_05_9825.jpg
/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_15_9910.jpg
/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_25_9734.jpg
/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_35_9909.jpg
/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_45_9683.jpg
/home/pi/Desktop/images/17122025/15/29/image_17122025_15_29_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":["1399799880","1399800074","1399800035","1399799996","1399799954","1399799917"],"photo_ids_order":["1399799880","1399799917","1399799954","1399799996","1399800035","1399800074"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cdff81c060deb3e6389dd32bef25961.jpg","text":"TemporaryFile(/tmp/multipartBody6894066734249542765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983742655,"filename":"image_17122025_15_29_05_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9bbdda6e9a36544ee773f49f01189492.jpg","text":"TemporaryFile(/tmp/multipartBody3372449154109932970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983742655,"filename":"image_17122025_15_29_55_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3593a08cc35c5d557822093095841e0e.jpg","text":"TemporaryFile(/tmp/multipartBody6075725823297364874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983742655,"filename":"image_17122025_15_29_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f387947490dd63164ecd248ac1714cc9.jpg","text":"TemporaryFile(/tmp/multipartBody2298410308730994721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983742655,"filename":"image_17122025_15_29_35_9909.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e308ffe6e502afa4b235448416df2d35.jpg","text":"TemporaryFile(/tmp/multipartBody7259478261799904590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983742655,"filename":"image_17122025_15_29_25_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/459acc60124fbd77271e001f71e562c0.jpg","text":"TemporaryFile(/tmp/multipartBody7584703461505183328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983742655,"filename":"image_17122025_15_29_15_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399799954","file1":"1399799917","file0":"1399799880","file4":"1399800035","file5":"1399800074","file3":"1399799996"},"map_files_photo_id_array":[{"photo_id":"1399800074","filename":"file5"},{"photo_id":"1399799954","filename":"file2"},{"photo_id":"1399800035","filename":"file4"},{"photo_id":"1399799917","filename":"file1"},{"photo_id":"1399799880","filename":"file0"},{"photo_id":"1399799996","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399799880":["hashtag1","hashtag2"]},{"1399800074":["hashtag1","hashtag2"]},{"1399800035":["hashtag1","hashtag2"]},{"1399799996":["hashtag1","hashtag2"]},{"1399799954":["hashtag1","hashtag2"]},{"1399799917":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399799880, 1399800074, 1399800035, 1399799996, 1399799954, 1399799917)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60510206222534 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:02:02.712290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_15_10054.jpg', '/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_25_10583.jpg', '/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_35_9750.jpg', '/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_45_9807.jpg', '/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_56_10648.jpg', '/home/pi/Desktop/images/17122025/15/30/image_17122025_15_31_05_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_15_10054.jpg
/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_25_10583.jpg
/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_35_9750.jpg
/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_45_9807.jpg
/home/pi/Desktop/images/17122025/15/30/image_17122025_15_30_56_10648.jpg
/home/pi/Desktop/images/17122025/15/30/image_17122025_15_31_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":["1399800243","1399800311","1399800382","1399800277","1399800346","1399800208"],"photo_ids_order":["1399800208","1399800243","1399800277","1399800311","1399800346","1399800382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/995eb203e29a1da4ade234c8d351dfbf.jpg","text":"TemporaryFile(/tmp/multipartBody4914252793469385609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983783335,"filename":"image_17122025_15_30_25_10583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a5c60bf1a289071b17156070ebab7a2.jpg","text":"TemporaryFile(/tmp/multipartBody8834074725346164234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983783335,"filename":"image_17122025_15_30_45_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/702de247ea6108cd9c53697a09c2079f.jpg","text":"TemporaryFile(/tmp/multipartBody3024948704400076887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983783335,"filename":"image_17122025_15_31_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/816b3d8c59152bfd1b8978936a539dfe.jpg","text":"TemporaryFile(/tmp/multipartBody1111597736127153308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983783335,"filename":"image_17122025_15_30_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa50b175bca745ffb7b390dfb68c7edb.jpg","text":"TemporaryFile(/tmp/multipartBody7541137411166065655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983783335,"filename":"image_17122025_15_30_56_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63159ed2fe4a3ef4d7ef1f6c30854e02.jpg","text":"TemporaryFile(/tmp/multipartBody6271635675809917307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983783335,"filename":"image_17122025_15_30_15_10054.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399800277","file1":"1399800243","file0":"1399800208","file4":"1399800346","file5":"1399800382","file3":"1399800311"},"map_files_photo_id_array":[{"photo_id":"1399800382","filename":"file5"},{"photo_id":"1399800277","filename":"file2"},{"photo_id":"1399800346","filename":"file4"},{"photo_id":"1399800243","filename":"file1"},{"photo_id":"1399800208","filename":"file0"},{"photo_id":"1399800311","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399800243":["hashtag1","hashtag2"]},{"1399800311":["hashtag1","hashtag2"]},{"1399800382":["hashtag1","hashtag2"]},{"1399800277":["hashtag1","hashtag2"]},{"1399800346":["hashtag1","hashtag2"]},{"1399800208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399800243, 1399800311, 1399800382, 1399800277, 1399800346, 1399800208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.60574245452881 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:02:42.209785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_55_3594.jpg', '/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_01_1681.jpg', '/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_03_1744.jpg', '/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_08_1805.jpg', '/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_10_1907.jpg', '/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_12_1623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/07/image_07112025_20_07_55_3594.jpg
/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_01_1681.jpg
/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_03_1744.jpg
/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_08_1805.jpg
/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_10_1907.jpg
/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_12_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":["1399800503","1399800512","1399800509","1399800493","1399800511","1399800510"],"photo_ids_order":["1399800493","1399800503","1399800509","1399800510","1399800511","1399800512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc9907629615a983ce885fc0b3a40a6c.jpg","text":"TemporaryFile(/tmp/multipartBody4193594855013057253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983822993,"filename":"image_07112025_20_08_01_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e9fd61105ca3ab760910f1c5e6fe50b.jpg","text":"TemporaryFile(/tmp/multipartBody5129757539843864140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983822993,"filename":"image_07112025_20_08_12_1623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9b10c87a71fe1c9376eeeabfcfba863.jpg","text":"TemporaryFile(/tmp/multipartBody5572523446794630163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983822993,"filename":"image_07112025_20_08_03_1744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d97ca2e8a103db6c3087414169f7c9df.jpg","text":"TemporaryFile(/tmp/multipartBody1919559298578427107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983822993,"filename":"image_07112025_20_07_55_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a446ceb410e0152d6ab6b3bd20dbf1d.jpg","text":"TemporaryFile(/tmp/multipartBody7200439373379951072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983822993,"filename":"image_07112025_20_08_10_1907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76a10ae019d60d89433d2c7d5ab50225.jpg","text":"TemporaryFile(/tmp/multipartBody8009300970008147515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983822993,"filename":"image_07112025_20_08_08_1805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399800509","file1":"1399800503","file0":"1399800493","file4":"1399800511","file5":"1399800512","file3":"1399800510"},"map_files_photo_id_array":[{"photo_id":"1399800512","filename":"file5"},{"photo_id":"1399800509","filename":"file2"},{"photo_id":"1399800511","filename":"file4"},{"photo_id":"1399800503","filename":"file1"},{"photo_id":"1399800493","filename":"file0"},{"photo_id":"1399800510","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399800503":["hashtag1","hashtag2"]},{"1399800512":["hashtag1","hashtag2"]},{"1399800509":["hashtag1","hashtag2"]},{"1399800493":["hashtag1","hashtag2"]},{"1399800511":["hashtag1","hashtag2"]},{"1399800510":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399800503, 1399800512, 1399800509, 1399800493, 1399800511, 1399800510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05202794075012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:03:22.494533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_15_9767.jpg', '/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_26_10660.jpg', '/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_35_9787.jpg', '/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_45_9831.jpg', '/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_55_9584.jpg', '/home/pi/Desktop/images/17122025/15/31/image_17122025_15_32_06_10800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_15_9767.jpg
/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_26_10660.jpg
/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_35_9787.jpg
/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_45_9831.jpg
/home/pi/Desktop/images/17122025/15/31/image_17122025_15_31_55_9584.jpg
/home/pi/Desktop/images/17122025/15/31/image_17122025_15_32_06_10800.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399800516","1399800563","1399800521","1399800518","1399800520","1399800525"],"photo_ids_order":["1399800516","1399800518","1399800520","1399800521","1399800525","1399800563"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f993722499a6abfa7f990a9b6b0c16b.jpg","text":"TemporaryFile(/tmp/multipartBody1506204658548001452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983863112,"filename":"image_17122025_15_31_15_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/424bf30d4f2d23fcdda4b0e2cb4713d9.jpg","text":"TemporaryFile(/tmp/multipartBody449688051922945567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983863112,"filename":"image_17122025_15_32_06_10800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b5359e0c01f9c158851c9f9e3b9a6b8.jpg","text":"TemporaryFile(/tmp/multipartBody5679107132419881369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983863112,"filename":"image_17122025_15_31_45_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95ee325edce332024dc2afc37d3266c0.jpg","text":"TemporaryFile(/tmp/multipartBody749019304133314160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983863112,"filename":"image_17122025_15_31_26_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61ff0b943b5dc358ddcbfa3aa908f201.jpg","text":"TemporaryFile(/tmp/multipartBody4204872047920691300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983863112,"filename":"image_17122025_15_31_35_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da97a56c5bb483bf9c07e99a76dca15f.jpg","text":"TemporaryFile(/tmp/multipartBody4767726801208975996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983863112,"filename":"image_17122025_15_31_55_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399800520","file1":"1399800518","file0":"1399800516","file4":"1399800525","file5":"1399800563","file3":"1399800521"},"map_files_photo_id_array":[{"photo_id":"1399800563","filename":"file5"},{"photo_id":"1399800520","filename":"file2"},{"photo_id":"1399800525","filename":"file4"},{"photo_id":"1399800518","filename":"file1"},{"photo_id":"1399800516","filename":"file0"},{"photo_id":"1399800521","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399800516":["hashtag1","hashtag2"]},{"1399800563":["hashtag1","hashtag2"]},{"1399800521":["hashtag1","hashtag2"]},{"1399800518":["hashtag1","hashtag2"]},{"1399800520":["hashtag1","hashtag2"]},{"1399800525":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399800516, 1399800563, 1399800521, 1399800518, 1399800520, 1399800525)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.06294655799866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:04:03.459350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_15_9673.jpg', '/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_25_9858.jpg', '/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_35_9643.jpg', '/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_45_10697.jpg', '/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_55_9746.jpg', '/home/pi/Desktop/images/17122025/15/32/image_17122025_15_33_05_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_15_9673.jpg
/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_25_9858.jpg
/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_35_9643.jpg
/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_45_10697.jpg
/home/pi/Desktop/images/17122025/15/32/image_17122025_15_32_55_9746.jpg
/home/pi/Desktop/images/17122025/15/32/image_17122025_15_33_05_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":["1399800819","1399800899","1399800965","1399800752","1399801048","1399801012"],"photo_ids_order":["1399800752","1399800819","1399800899","1399800965","1399801012","1399801048"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/757d0256ced2c2aa8f3d226955aaec5b.jpg","text":"TemporaryFile(/tmp/multipartBody8801409593545963899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983904102,"filename":"image_17122025_15_32_25_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c71c426ccaf47e55607046c4ada4c18c.jpg","text":"TemporaryFile(/tmp/multipartBody5271007466168347736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983904102,"filename":"image_17122025_15_32_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9c3cb30c3214ed85d5afe48b7720989.jpg","text":"TemporaryFile(/tmp/multipartBody1086164275278094396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983904102,"filename":"image_17122025_15_32_45_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8441218bdcb9a15558d8edab7572c2d.jpg","text":"TemporaryFile(/tmp/multipartBody6026356383553664385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983904102,"filename":"image_17122025_15_32_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c62710458631670771742a89ae608b1c.jpg","text":"TemporaryFile(/tmp/multipartBody8552770696143550098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983904102,"filename":"image_17122025_15_33_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7abd57541ea915dd2ad2d6314283d91c.jpg","text":"TemporaryFile(/tmp/multipartBody4151843733604585791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983904102,"filename":"image_17122025_15_32_55_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399800899","file1":"1399800819","file0":"1399800752","file4":"1399801012","file5":"1399801048","file3":"1399800965"},"map_files_photo_id_array":[{"photo_id":"1399801048","filename":"file5"},{"photo_id":"1399800899","filename":"file2"},{"photo_id":"1399801012","filename":"file4"},{"photo_id":"1399800819","filename":"file1"},{"photo_id":"1399800752","filename":"file0"},{"photo_id":"1399800965","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399800819":["hashtag1","hashtag2"]},{"1399800899":["hashtag1","hashtag2"]},{"1399800965":["hashtag1","hashtag2"]},{"1399800752":["hashtag1","hashtag2"]},{"1399801048":["hashtag1","hashtag2"]},{"1399801012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399800819, 1399800899, 1399800965, 1399800752, 1399801048, 1399801012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.905680418014526 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:04:42.705459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_14_1662.jpg', '/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_32_6169.jpg', '/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_37_1595.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_07_23760.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_10_3330.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_11_1570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_14_1662.jpg
/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_32_6169.jpg
/home/pi/Desktop/images/07112025/20/08/image_07112025_20_08_37_1595.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_07_23760.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_10_3330.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_11_1570.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399801550","1399801448","1399801508","1399801387","1399801324","1399801286"],"photo_ids_order":["1399801286","1399801324","1399801387","1399801448","1399801508","1399801550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8de439f4582728a2887a83e46a6ffa4f.jpg","text":"TemporaryFile(/tmp/multipartBody4242442936794653434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983948574,"filename":"image_07112025_20_09_11_1570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a7bf34fdec0eddfabf9d12e3c3b0927.jpg","text":"TemporaryFile(/tmp/multipartBody6921654012173931552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983948574,"filename":"image_07112025_20_09_07_23760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed5e90b2747dfabf4fb7ab584a473364.jpg","text":"TemporaryFile(/tmp/multipartBody8533714877264247569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983948574,"filename":"image_07112025_20_09_10_3330.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae8fef4419770353048f7be31d2fa1c8.jpg","text":"TemporaryFile(/tmp/multipartBody6262477114963966984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983948574,"filename":"image_07112025_20_08_37_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b6ece621d953382b3fdfd53108f98bc.jpg","text":"TemporaryFile(/tmp/multipartBody7155829168164205486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983948574,"filename":"image_07112025_20_08_32_6169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db8c957b90e18054108c6c075d1139af.jpg","text":"TemporaryFile(/tmp/multipartBody6115435265763382910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765983948574,"filename":"image_07112025_20_08_14_1662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399801387","file1":"1399801324","file0":"1399801286","file4":"1399801508","file5":"1399801550","file3":"1399801448"},"map_files_photo_id_array":[{"photo_id":"1399801550","filename":"file5"},{"photo_id":"1399801387","filename":"file2"},{"photo_id":"1399801508","filename":"file4"},{"photo_id":"1399801324","filename":"file1"},{"photo_id":"1399801286","filename":"file0"},{"photo_id":"1399801448","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399801550":["hashtag1","hashtag2"]},{"1399801448":["hashtag1","hashtag2"]},{"1399801508":["hashtag1","hashtag2"]},{"1399801387":["hashtag1","hashtag2"]},{"1399801324":["hashtag1","hashtag2"]},{"1399801286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399801550, 1399801448, 1399801508, 1399801387, 1399801324, 1399801286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.73935103416443 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:05:32.034419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:05:41.985263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_13_1773.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_15_2016.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_17_1678.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_20_1637.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_22_1646.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_25_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_13_1773.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_15_2016.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_17_1678.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_20_1637.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_22_1646.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_25_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399801778","1399801780","1399801777","1399801776","1399801779","1399801773"],"photo_ids_order":["1399801773","1399801776","1399801777","1399801778","1399801779","1399801780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d41bca5470e4207f0e011c21b1a3bb1.jpg","text":"TemporaryFile(/tmp/multipartBody6872222769643927967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984002758,"filename":"image_07112025_20_09_20_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d91d2d67d45275c7d2441893effaeb2.jpg","text":"TemporaryFile(/tmp/multipartBody5473715946293140894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984002758,"filename":"image_07112025_20_09_25_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff268f1dc2a9fe6f1b108b2237dc4b20.jpg","text":"TemporaryFile(/tmp/multipartBody1233102408125698712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984002758,"filename":"image_07112025_20_09_17_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c446c9d722b93d467865a1063bcf2d4b.jpg","text":"TemporaryFile(/tmp/multipartBody2329052400697185505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984002758,"filename":"image_07112025_20_09_15_2016.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/407d8b589949c76bbf49b5577779268d.jpg","text":"TemporaryFile(/tmp/multipartBody2451436305852775971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984002758,"filename":"image_07112025_20_09_22_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6412728032987a375d3bfcf7211b9b90.jpg","text":"TemporaryFile(/tmp/multipartBody1334146980984902565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984002758,"filename":"image_07112025_20_09_13_1773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399801777","file1":"1399801776","file0":"1399801773","file4":"1399801779","file5":"1399801780","file3":"1399801778"},"map_files_photo_id_array":[{"photo_id":"1399801780","filename":"file5"},{"photo_id":"1399801777","filename":"file2"},{"photo_id":"1399801779","filename":"file4"},{"photo_id":"1399801776","filename":"file1"},{"photo_id":"1399801773","filename":"file0"},{"photo_id":"1399801778","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399801778":["hashtag1","hashtag2"]},{"1399801780":["hashtag1","hashtag2"]},{"1399801777":["hashtag1","hashtag2"]},{"1399801776":["hashtag1","hashtag2"]},{"1399801779":["hashtag1","hashtag2"]},{"1399801773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399801778, 1399801780, 1399801777, 1399801776, 1399801779, 1399801773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87614917755127 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:06:22.245389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_16_10702.jpg', '/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_25_9664.jpg', '/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_35_9652.jpg', '/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_46_10596.jpg', '/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_56_9983.jpg', '/home/pi/Desktop/images/17122025/15/33/image_17122025_15_34_05_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_16_10702.jpg
/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_25_9664.jpg
/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_35_9652.jpg
/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_46_10596.jpg
/home/pi/Desktop/images/17122025/15/33/image_17122025_15_33_56_9983.jpg
/home/pi/Desktop/images/17122025/15/33/image_17122025_15_34_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":["1399801955","1399801875","1399801788","1399801827","1399801917","1399801781"],"photo_ids_order":["1399801781","1399801788","1399801827","1399801875","1399801917","1399801955"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9418e0a087c7ad5833d4fb5422fa191.jpg","text":"TemporaryFile(/tmp/multipartBody2210058183375280724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984042915,"filename":"image_17122025_15_34_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81347093b38451116a8b06a2b4639788.jpg","text":"TemporaryFile(/tmp/multipartBody5721717799379053394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984042915,"filename":"image_17122025_15_33_46_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3823dd6827aa81ad9036f171bc7debb8.jpg","text":"TemporaryFile(/tmp/multipartBody5153969655675632374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984042915,"filename":"image_17122025_15_33_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1553ec520edf9be8a006aabf31ae32a5.jpg","text":"TemporaryFile(/tmp/multipartBody6169509183963201770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984042915,"filename":"image_17122025_15_33_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83ccd7c1a723fccedb120bd378595620.jpg","text":"TemporaryFile(/tmp/multipartBody8467290702443971217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984042915,"filename":"image_17122025_15_33_56_9983.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3466881eccd20fafcfc4ad75a3333a26.jpg","text":"TemporaryFile(/tmp/multipartBody2223476552461113168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984042915,"filename":"image_17122025_15_33_16_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399801827","file1":"1399801788","file0":"1399801781","file4":"1399801917","file5":"1399801955","file3":"1399801875"},"map_files_photo_id_array":[{"photo_id":"1399801955","filename":"file5"},{"photo_id":"1399801827","filename":"file2"},{"photo_id":"1399801917","filename":"file4"},{"photo_id":"1399801788","filename":"file1"},{"photo_id":"1399801781","filename":"file0"},{"photo_id":"1399801875","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399801955":["hashtag1","hashtag2"]},{"1399801875":["hashtag1","hashtag2"]},{"1399801788":["hashtag1","hashtag2"]},{"1399801827":["hashtag1","hashtag2"]},{"1399801917":["hashtag1","hashtag2"]},{"1399801781":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399801955, 1399801875, 1399801788, 1399801827, 1399801917, 1399801781)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1252326965332 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:07:03.182213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_15_9731.jpg', '/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_25_9664.jpg', '/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_35_10668.jpg', '/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_45_9669.jpg', '/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_55_9679.jpg', '/home/pi/Desktop/images/17122025/15/34/image_17122025_15_35_05_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_15_9731.jpg
/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_25_9664.jpg
/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_35_10668.jpg
/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_45_9669.jpg
/home/pi/Desktop/images/17122025/15/34/image_17122025_15_34_55_9679.jpg
/home/pi/Desktop/images/17122025/15/34/image_17122025_15_35_05_10720.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802086","1399802071","1399802031","1399802025","1399802087","1399802114"],"photo_ids_order":["1399802025","1399802031","1399802071","1399802086","1399802087","1399802114"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/410f5f1617be768f63e37d3d54fbe379.jpg","text":"TemporaryFile(/tmp/multipartBody2632042608035612978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984083839,"filename":"image_17122025_15_34_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb9f12ec7d0638a1a562da9d1fac00d9.jpg","text":"TemporaryFile(/tmp/multipartBody2312385719304322088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984083839,"filename":"image_17122025_15_34_35_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bcc5a409b6c24569068b8d06929e228.jpg","text":"TemporaryFile(/tmp/multipartBody558171121438566343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984083839,"filename":"image_17122025_15_34_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86c8a9334e7c0e432b3b589e3ffeb3fa.jpg","text":"TemporaryFile(/tmp/multipartBody7212791463629295803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984083839,"filename":"image_17122025_15_34_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fd252780aa8e532f018fe6ec0389939.jpg","text":"TemporaryFile(/tmp/multipartBody284836805039956295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984083839,"filename":"image_17122025_15_34_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f099a616bf3b680670da061f21a67b8e.jpg","text":"TemporaryFile(/tmp/multipartBody3765331785203858494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984083839,"filename":"image_17122025_15_35_05_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802071","file1":"1399802031","file0":"1399802025","file4":"1399802087","file5":"1399802114","file3":"1399802086"},"map_files_photo_id_array":[{"photo_id":"1399802114","filename":"file5"},{"photo_id":"1399802071","filename":"file2"},{"photo_id":"1399802087","filename":"file4"},{"photo_id":"1399802031","filename":"file1"},{"photo_id":"1399802025","filename":"file0"},{"photo_id":"1399802086","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802086":["hashtag1","hashtag2"]},{"1399802071":["hashtag1","hashtag2"]},{"1399802031":["hashtag1","hashtag2"]},{"1399802025":["hashtag1","hashtag2"]},{"1399802087":["hashtag1","hashtag2"]},{"1399802114":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802086, 1399802071, 1399802031, 1399802025, 1399802087, 1399802114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5597620010376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:07:42.481389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_27_1747.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_32_1641.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_34_1671.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_35_1735.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_39_1834.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_40_1535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_27_1747.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_32_1641.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_34_1671.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_35_1735.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_39_1834.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_40_1535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802170","1399802169","1399802163","1399802157","1399802171","1399802168"],"photo_ids_order":["1399802157","1399802163","1399802168","1399802169","1399802170","1399802171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd85027bdb1e997ba725975692fe7df3.jpg","text":"TemporaryFile(/tmp/multipartBody3050156285629347784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984123258,"filename":"image_07112025_20_09_39_1834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ab217a701500ae4fd1231f2d47d0b6d.jpg","text":"TemporaryFile(/tmp/multipartBody7795755774036614347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984123258,"filename":"image_07112025_20_09_35_1735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82ff253b2f2a3ed28f2070ffdf5dcb80.jpg","text":"TemporaryFile(/tmp/multipartBody2774892774113429976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984123258,"filename":"image_07112025_20_09_32_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75f9bd995541b35aa77d7763f3639dd1.jpg","text":"TemporaryFile(/tmp/multipartBody1580808878362785781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984123258,"filename":"image_07112025_20_09_27_1747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba6763b2bd22328d7c6949a9334a7910.jpg","text":"TemporaryFile(/tmp/multipartBody3686541722978914278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984123258,"filename":"image_07112025_20_09_40_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73d1115d127d204bc4c730ee88051293.jpg","text":"TemporaryFile(/tmp/multipartBody1397093979958787224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984123258,"filename":"image_07112025_20_09_34_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802168","file1":"1399802163","file0":"1399802157","file4":"1399802170","file5":"1399802171","file3":"1399802169"},"map_files_photo_id_array":[{"photo_id":"1399802171","filename":"file5"},{"photo_id":"1399802168","filename":"file2"},{"photo_id":"1399802170","filename":"file4"},{"photo_id":"1399802163","filename":"file1"},{"photo_id":"1399802157","filename":"file0"},{"photo_id":"1399802169","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399802170":["hashtag1","hashtag2"]},{"1399802169":["hashtag1","hashtag2"]},{"1399802163":["hashtag1","hashtag2"]},{"1399802157":["hashtag1","hashtag2"]},{"1399802171":["hashtag1","hashtag2"]},{"1399802168":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399802170, 1399802169, 1399802163, 1399802157, 1399802171, 1399802168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10744857788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:08:22.869304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_15_9800.jpg', '/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_25_9715.jpg', '/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_36_10652.jpg', '/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_45_9678.jpg', '/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_55_9810.jpg', '/home/pi/Desktop/images/17122025/15/35/image_17122025_15_36_05_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_15_9800.jpg
/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_25_9715.jpg
/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_36_10652.jpg
/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_45_9678.jpg
/home/pi/Desktop/images/17122025/15/35/image_17122025_15_35_55_9810.jpg
/home/pi/Desktop/images/17122025/15/35/image_17122025_15_36_05_9796.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802182","1399802176","1399802173","1399802178","1399802186","1399802180"],"photo_ids_order":["1399802173","1399802176","1399802178","1399802180","1399802182","1399802186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8243d2142ea4dcec67c0576ac6f06c60.jpg","text":"TemporaryFile(/tmp/multipartBody8866654481384633096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984163494,"filename":"image_17122025_15_35_55_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d6b062a359082f8dae427561898290a.jpg","text":"TemporaryFile(/tmp/multipartBody2152723132405617607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984163494,"filename":"image_17122025_15_35_25_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9823e623e94ca5e32ac171ff82cfe1bc.jpg","text":"TemporaryFile(/tmp/multipartBody5031810237184594561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984163494,"filename":"image_17122025_15_35_15_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e19685864b0ddf21132bb102ea6a515.jpg","text":"TemporaryFile(/tmp/multipartBody8589979322774346812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984163494,"filename":"image_17122025_15_35_36_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c62a50e13e020b89170e9cd36bd8d54a.jpg","text":"TemporaryFile(/tmp/multipartBody5154997333269979687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984163494,"filename":"image_17122025_15_36_05_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea6ad921a0ad0a76bae3bb0a5c967bd5.jpg","text":"TemporaryFile(/tmp/multipartBody8349597972339036644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984163494,"filename":"image_17122025_15_35_45_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802178","file1":"1399802176","file0":"1399802173","file4":"1399802182","file5":"1399802186","file3":"1399802180"},"map_files_photo_id_array":[{"photo_id":"1399802186","filename":"file5"},{"photo_id":"1399802178","filename":"file2"},{"photo_id":"1399802182","filename":"file4"},{"photo_id":"1399802176","filename":"file1"},{"photo_id":"1399802173","filename":"file0"},{"photo_id":"1399802180","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802182":["hashtag1","hashtag2"]},{"1399802176":["hashtag1","hashtag2"]},{"1399802173":["hashtag1","hashtag2"]},{"1399802178":["hashtag1","hashtag2"]},{"1399802186":["hashtag1","hashtag2"]},{"1399802180":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802182, 1399802176, 1399802173, 1399802178, 1399802186, 1399802180)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87487769126892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:09:02.956353
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_16_10802.jpg', '/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_26_9959.jpg', '/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_35_9728.jpg', '/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_45_9641.jpg', '/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_56_10653.jpg', '/home/pi/Desktop/images/17122025/15/36/image_17122025_15_37_05_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_16_10802.jpg
/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_26_9959.jpg
/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_35_9728.jpg
/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_45_9641.jpg
/home/pi/Desktop/images/17122025/15/36/image_17122025_15_36_56_10653.jpg
/home/pi/Desktop/images/17122025/15/36/image_17122025_15_37_05_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":["1399802194","1399802197","1399802200","1399802196","1399802198","1399802192"],"photo_ids_order":["1399802192","1399802194","1399802196","1399802197","1399802198","1399802200"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c894a5e26c0a0e275cc5ff01a08ae2d.jpg","text":"TemporaryFile(/tmp/multipartBody7419935371147777954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984203722,"filename":"image_17122025_15_36_26_9959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6a33d553704af56e58f38f621bae4c5.jpg","text":"TemporaryFile(/tmp/multipartBody2398609630673846218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984203722,"filename":"image_17122025_15_36_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1869bdd6ba511ab21705d00718ef2377.jpg","text":"TemporaryFile(/tmp/multipartBody81486730246658697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984203722,"filename":"image_17122025_15_37_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13579db7de928bca1a66df69509bd2ca.jpg","text":"TemporaryFile(/tmp/multipartBody5602598159550962656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984203722,"filename":"image_17122025_15_36_35_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bfd57867810a6a77d592b3e98e417809.jpg","text":"TemporaryFile(/tmp/multipartBody7399613371633342317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984203722,"filename":"image_17122025_15_36_56_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f22ee2d0a04f55a5830707461bf51313.jpg","text":"TemporaryFile(/tmp/multipartBody7509250484190498629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984203722,"filename":"image_17122025_15_36_16_10802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802196","file1":"1399802194","file0":"1399802192","file4":"1399802198","file5":"1399802200","file3":"1399802197"},"map_files_photo_id_array":[{"photo_id":"1399802200","filename":"file5"},{"photo_id":"1399802196","filename":"file2"},{"photo_id":"1399802198","filename":"file4"},{"photo_id":"1399802194","filename":"file1"},{"photo_id":"1399802192","filename":"file0"},{"photo_id":"1399802197","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802194":["hashtag1","hashtag2"]},{"1399802197":["hashtag1","hashtag2"]},{"1399802200":["hashtag1","hashtag2"]},{"1399802196":["hashtag1","hashtag2"]},{"1399802198":["hashtag1","hashtag2"]},{"1399802192":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802194, 1399802197, 1399802200, 1399802196, 1399802198, 1399802192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10962533950806 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:09:42.075053
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_44_1702.jpg', '/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_48_3936.jpg', '/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_06_3010.jpg', '/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_10_3546.jpg', '/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_12_2595.jpg', '/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_16_3681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_44_1702.jpg
/home/pi/Desktop/images/07112025/20/09/image_07112025_20_09_48_3936.jpg
/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_06_3010.jpg
/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_10_3546.jpg
/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_12_2595.jpg
/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_16_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":["1399802251","1399802227","1399802253","1399802229","1399802252","1399802255"],"photo_ids_order":["1399802227","1399802229","1399802251","1399802252","1399802253","1399802255"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ac5fa29f40e4d140b7bfb8318b2169a.jpg","text":"TemporaryFile(/tmp/multipartBody1718440464497545423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984242836,"filename":"image_07112025_20_11_06_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9531810cd9f206ec34f6050ff5e49fe0.jpg","text":"TemporaryFile(/tmp/multipartBody6535865496669636680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984242836,"filename":"image_07112025_20_09_44_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f5c44de17b0b398af655f7cb1a7ba9f.jpg","text":"TemporaryFile(/tmp/multipartBody1024501111242558347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984242836,"filename":"image_07112025_20_11_12_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59958900f5937fd21cabd10e9f458596.jpg","text":"TemporaryFile(/tmp/multipartBody2388560864334406691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984242836,"filename":"image_07112025_20_09_48_3936.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cbcdda8499e79342fccaa1d50039995.jpg","text":"TemporaryFile(/tmp/multipartBody8426424002986163168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984242836,"filename":"image_07112025_20_11_10_3546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1083d5bbb3ada8ea1c232ce0c181fb6.jpg","text":"TemporaryFile(/tmp/multipartBody1321854739994907308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984242836,"filename":"image_07112025_20_11_16_3681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802251","file1":"1399802229","file0":"1399802227","file4":"1399802253","file5":"1399802255","file3":"1399802252"},"map_files_photo_id_array":[{"photo_id":"1399802255","filename":"file5"},{"photo_id":"1399802251","filename":"file2"},{"photo_id":"1399802253","filename":"file4"},{"photo_id":"1399802229","filename":"file1"},{"photo_id":"1399802227","filename":"file0"},{"photo_id":"1399802252","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399802251":["hashtag1","hashtag2"]},{"1399802227":["hashtag1","hashtag2"]},{"1399802253":["hashtag1","hashtag2"]},{"1399802229":["hashtag1","hashtag2"]},{"1399802252":["hashtag1","hashtag2"]},{"1399802255":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399802251, 1399802227, 1399802253, 1399802229, 1399802252, 1399802255)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25183987617493 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:10:22.316751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_15_9740.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_26_10575.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_35_9649.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_45_9824.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_55_9711.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_38_05_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_15_9740.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_26_10575.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_35_9649.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_45_9824.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_55_9711.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_38_05_10608.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5047576427459717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:10:32.436151
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:10:42.406829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_19_2692.jpg', '/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_45_25946.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_05_18616.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_07_1568.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_08_1625.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_10_1609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_19_2692.jpg
/home/pi/Desktop/images/07112025/20/11/image_07112025_20_11_45_25946.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_05_18616.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_07_1568.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_08_1625.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_10_1609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802275","1399802272","1399802280","1399802282","1399802285","1399802270"],"photo_ids_order":["1399802270","1399802272","1399802275","1399802280","1399802282","1399802285"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1255c455f470c64fa5ca498e57c873f.jpg","text":"TemporaryFile(/tmp/multipartBody5869253984249013400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984303159,"filename":"image_07112025_20_12_05_18616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72e9d5745d83978794cbd1bb5e3b1077.jpg","text":"TemporaryFile(/tmp/multipartBody6301425404492777301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984303159,"filename":"image_07112025_20_11_45_25946.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/223e1c62abc73a9156e9fece83ca5ecf.jpg","text":"TemporaryFile(/tmp/multipartBody4162618058155432834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984303159,"filename":"image_07112025_20_12_07_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4800f66981b151674c7f32a8d3818516.jpg","text":"TemporaryFile(/tmp/multipartBody4793331389466444287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984303159,"filename":"image_07112025_20_12_08_1625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/484b56b3de40974fa3be2d28168518fd.jpg","text":"TemporaryFile(/tmp/multipartBody6784076104992308983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984303159,"filename":"image_07112025_20_12_10_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18a8ae137eb630b044130a5fb108d9be.jpg","text":"TemporaryFile(/tmp/multipartBody6157924787942703858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984303159,"filename":"image_07112025_20_11_19_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802275","file1":"1399802272","file0":"1399802270","file4":"1399802282","file5":"1399802285","file3":"1399802280"},"map_files_photo_id_array":[{"photo_id":"1399802285","filename":"file5"},{"photo_id":"1399802275","filename":"file2"},{"photo_id":"1399802282","filename":"file4"},{"photo_id":"1399802272","filename":"file1"},{"photo_id":"1399802270","filename":"file0"},{"photo_id":"1399802280","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399802275":["hashtag1","hashtag2"]},{"1399802272":["hashtag1","hashtag2"]},{"1399802280":["hashtag1","hashtag2"]},{"1399802282":["hashtag1","hashtag2"]},{"1399802285":["hashtag1","hashtag2"]},{"1399802270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399802275, 1399802272, 1399802280, 1399802282, 1399802285, 1399802270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.249945402145386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:11:22.701437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_15_9740.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_26_10575.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_35_9649.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_45_9824.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_55_9711.jpg', '/home/pi/Desktop/images/17122025/15/37/image_17122025_15_38_05_10608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_15_9740.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_26_10575.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_35_9649.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_45_9824.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_37_55_9711.jpg
/home/pi/Desktop/images/17122025/15/37/image_17122025_15_38_05_10608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802335","1399802340","1399802337","1399802325","1399802339","1399802333"],"photo_ids_order":["1399802325","1399802333","1399802335","1399802337","1399802339","1399802340"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74a532c96dbc079dbaf2ba4da68e38bd.jpg","text":"TemporaryFile(/tmp/multipartBody520273477057848948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984343317,"filename":"image_17122025_15_37_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/219cc69107003461e89328bb94609ffc.jpg","text":"TemporaryFile(/tmp/multipartBody1292626401545974243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984343317,"filename":"image_17122025_15_38_05_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ddf492932df81006da4532c5f2f1521.jpg","text":"TemporaryFile(/tmp/multipartBody4697373888515502759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984343317,"filename":"image_17122025_15_37_45_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70c6a6dd29ce6748ebb2ff5ef3375326.jpg","text":"TemporaryFile(/tmp/multipartBody3737815588682300392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984343317,"filename":"image_17122025_15_37_15_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/208c80f9199a3dbeacb24663c92862c7.jpg","text":"TemporaryFile(/tmp/multipartBody6296152051971898246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984343317,"filename":"image_17122025_15_37_55_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/782ca0792a008542b011b6cbbbd6f5a1.jpg","text":"TemporaryFile(/tmp/multipartBody249540143996776645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984343317,"filename":"image_17122025_15_37_26_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802335","file1":"1399802333","file0":"1399802325","file4":"1399802339","file5":"1399802340","file3":"1399802337"},"map_files_photo_id_array":[{"photo_id":"1399802340","filename":"file5"},{"photo_id":"1399802335","filename":"file2"},{"photo_id":"1399802339","filename":"file4"},{"photo_id":"1399802333","filename":"file1"},{"photo_id":"1399802325","filename":"file0"},{"photo_id":"1399802337","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802335":["hashtag1","hashtag2"]},{"1399802340":["hashtag1","hashtag2"]},{"1399802337":["hashtag1","hashtag2"]},{"1399802325":["hashtag1","hashtag2"]},{"1399802339":["hashtag1","hashtag2"]},{"1399802333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802335, 1399802340, 1399802337, 1399802325, 1399802339, 1399802333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.724003076553345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:12:02.434329
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/38/image_17122025_15_38_15_9673.jpg', '/home/pi/Desktop/images/17122025/15/38/image_17122025_15_38_25_9909.jpg', '/home/pi/Desktop/images/17122025/15/38/image_17122025_15_38_35_9754.jpg', '/home/pi/Desktop/images/17122025/15/38/image_17122025_15_38_46_10726.jpg', '/home/pi/Desktop/images/17122025/15/38/image_17122025_15_39_06_10377.jpg', '/home/pi/Desktop/images/17122025/15/39/image_17122025_15_39_15_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/38/image_17122025_15_38_15_9673.jpg
/home/pi/Desktop/images/17122025/15/38/image_17122025_15_38_25_9909.jpg
/home/pi/Desktop/images/17122025/15/38/image_17122025_15_38_35_9754.jpg
/home/pi/Desktop/images/17122025/15/38/image_17122025_15_38_46_10726.jpg
/home/pi/Desktop/images/17122025/15/38/image_17122025_15_39_06_10377.jpg
/home/pi/Desktop/images/17122025/15/39/image_17122025_15_39_15_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":["1399802398","1399802476","1399802478","1399802472","1399802475","1399802438"],"photo_ids_order":["1399802398","1399802438","1399802472","1399802475","1399802476","1399802478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd39a9e3f26604fca037bd2b5a96e9bc.jpg","text":"TemporaryFile(/tmp/multipartBody6798318311697703403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984383065,"filename":"image_17122025_15_38_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6de12a580b1238e542e31d008b2d5334.jpg","text":"TemporaryFile(/tmp/multipartBody6286684388494208092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984383065,"filename":"image_17122025_15_39_06_10377.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6f8a32c5feacfb0007cd3c95ffa6173.jpg","text":"TemporaryFile(/tmp/multipartBody830566417846574758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984383065,"filename":"image_17122025_15_39_15_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e44d3f25c614115b52426c5ce1cf8251.jpg","text":"TemporaryFile(/tmp/multipartBody8754087671462539729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984383065,"filename":"image_17122025_15_38_35_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4196901ba27a1cdb06f03ded693f091.jpg","text":"TemporaryFile(/tmp/multipartBody2983171478317393880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984383065,"filename":"image_17122025_15_38_46_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24aceb43ad40916fe20d1e4e918b6f87.jpg","text":"TemporaryFile(/tmp/multipartBody1099767295337783675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984383065,"filename":"image_17122025_15_38_25_9909.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802472","file1":"1399802438","file0":"1399802398","file4":"1399802476","file5":"1399802478","file3":"1399802475"},"map_files_photo_id_array":[{"photo_id":"1399802478","filename":"file5"},{"photo_id":"1399802472","filename":"file2"},{"photo_id":"1399802476","filename":"file4"},{"photo_id":"1399802438","filename":"file1"},{"photo_id":"1399802398","filename":"file0"},{"photo_id":"1399802475","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802398":["hashtag1","hashtag2"]},{"1399802476":["hashtag1","hashtag2"]},{"1399802478":["hashtag1","hashtag2"]},{"1399802472":["hashtag1","hashtag2"]},{"1399802475":["hashtag1","hashtag2"]},{"1399802438":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802398, 1399802476, 1399802478, 1399802472, 1399802475, 1399802438)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.112548828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:12:41.881429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_12_1683.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_13_1615.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_15_1590.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_17_1756.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_18_1568.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_20_1672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_12_1683.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_13_1615.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_15_1590.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_17_1756.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_18_1568.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_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":["1399802491","1399802488","1399802484","1399802487","1399802489","1399802486"],"photo_ids_order":["1399802484","1399802486","1399802487","1399802488","1399802489","1399802491"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/978697d446d1d96e9d374a7384ab0917.jpg","text":"TemporaryFile(/tmp/multipartBody7951496292883210597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984422635,"filename":"image_07112025_20_12_20_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e86bc3992da7977693df281a771d585.jpg","text":"TemporaryFile(/tmp/multipartBody5118779610327741493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984422635,"filename":"image_07112025_20_12_17_1756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8be467ca9d7d37465d8585777ca9aef.jpg","text":"TemporaryFile(/tmp/multipartBody3079055730249584549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984422635,"filename":"image_07112025_20_12_12_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/993982dce5a79b77bc15bb2f27758ddf.jpg","text":"TemporaryFile(/tmp/multipartBody4779488946212175066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984422635,"filename":"image_07112025_20_12_15_1590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02d5dffe92e25dddf451f5f3f41459c3.jpg","text":"TemporaryFile(/tmp/multipartBody626883025709142232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984422635,"filename":"image_07112025_20_12_18_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05e5e66a95fd09571cd1dde7fe9b251e.jpg","text":"TemporaryFile(/tmp/multipartBody2869306016475988649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984422635,"filename":"image_07112025_20_12_13_1615.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802487","file1":"1399802486","file0":"1399802484","file4":"1399802489","file5":"1399802491","file3":"1399802488"},"map_files_photo_id_array":[{"photo_id":"1399802491","filename":"file5"},{"photo_id":"1399802487","filename":"file2"},{"photo_id":"1399802489","filename":"file4"},{"photo_id":"1399802486","filename":"file1"},{"photo_id":"1399802484","filename":"file0"},{"photo_id":"1399802488","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399802491":["hashtag1","hashtag2"]},{"1399802488":["hashtag1","hashtag2"]},{"1399802484":["hashtag1","hashtag2"]},{"1399802487":["hashtag1","hashtag2"]},{"1399802489":["hashtag1","hashtag2"]},{"1399802486":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399802491, 1399802488, 1399802484, 1399802487, 1399802489, 1399802486)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70225214958191 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:13:22.201392
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/39/image_17122025_15_39_25_9574.jpg', '/home/pi/Desktop/images/17122025/15/39/image_17122025_15_39_45_10716.jpg', '/home/pi/Desktop/images/17122025/15/39/image_17122025_15_39_55_9831.jpg', '/home/pi/Desktop/images/17122025/15/40/image_17122025_15_40_25_10825.jpg', '/home/pi/Desktop/images/17122025/15/40/image_17122025_15_40_35_9770.jpg', '/home/pi/Desktop/images/17122025/15/40/image_17122025_15_40_45_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/39/image_17122025_15_39_25_9574.jpg
/home/pi/Desktop/images/17122025/15/39/image_17122025_15_39_45_10716.jpg
/home/pi/Desktop/images/17122025/15/39/image_17122025_15_39_55_9831.jpg
/home/pi/Desktop/images/17122025/15/40/image_17122025_15_40_25_10825.jpg
/home/pi/Desktop/images/17122025/15/40/image_17122025_15_40_35_9770.jpg
/home/pi/Desktop/images/17122025/15/40/image_17122025_15_40_45_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802501","1399802494","1399802503","1399802496","1399802492","1399802498"],"photo_ids_order":["1399802492","1399802494","1399802496","1399802498","1399802501","1399802503"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc3d43c8741d8ac19428de7b6e9f6248.jpg","text":"TemporaryFile(/tmp/multipartBody4541609494500844461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984462824,"filename":"image_17122025_15_40_35_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9844df310dc8b5229fd4a2ede7fe83bc.jpg","text":"TemporaryFile(/tmp/multipartBody7156295259853345309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984462824,"filename":"image_17122025_15_39_45_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29c6a0217ec4489fd50064d1879241ae.jpg","text":"TemporaryFile(/tmp/multipartBody629273437874446229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984462824,"filename":"image_17122025_15_40_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74ab608f87847125fdb393f8045955b9.jpg","text":"TemporaryFile(/tmp/multipartBody7081328137526556036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984462824,"filename":"image_17122025_15_39_55_9831.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e811ee3bf5f945f86d23882793fd647a.jpg","text":"TemporaryFile(/tmp/multipartBody4012145949900926328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984462824,"filename":"image_17122025_15_39_25_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d53f049e33af24ee43feafa64bf61b1.jpg","text":"TemporaryFile(/tmp/multipartBody2433285538296348390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984462824,"filename":"image_17122025_15_40_25_10825.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802496","file1":"1399802494","file0":"1399802492","file4":"1399802501","file5":"1399802503","file3":"1399802498"},"map_files_photo_id_array":[{"photo_id":"1399802503","filename":"file5"},{"photo_id":"1399802496","filename":"file2"},{"photo_id":"1399802501","filename":"file4"},{"photo_id":"1399802494","filename":"file1"},{"photo_id":"1399802492","filename":"file0"},{"photo_id":"1399802498","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802501":["hashtag1","hashtag2"]},{"1399802494":["hashtag1","hashtag2"]},{"1399802503":["hashtag1","hashtag2"]},{"1399802496":["hashtag1","hashtag2"]},{"1399802492":["hashtag1","hashtag2"]},{"1399802498":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802501, 1399802494, 1399802503, 1399802496, 1399802492, 1399802498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7611768245697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:14:03.199024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/40/image_17122025_15_40_55_9823.jpg', '/home/pi/Desktop/images/17122025/15/40/image_17122025_15_41_06_10744.jpg', '/home/pi/Desktop/images/17122025/15/41/image_17122025_15_41_25_9717.jpg', '/home/pi/Desktop/images/17122025/15/41/image_17122025_15_41_35_9576.jpg', '/home/pi/Desktop/images/17122025/15/41/image_17122025_15_41_45_9857.jpg', '/home/pi/Desktop/images/17122025/15/41/image_17122025_15_41_55_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/40/image_17122025_15_40_55_9823.jpg
/home/pi/Desktop/images/17122025/15/40/image_17122025_15_41_06_10744.jpg
/home/pi/Desktop/images/17122025/15/41/image_17122025_15_41_25_9717.jpg
/home/pi/Desktop/images/17122025/15/41/image_17122025_15_41_35_9576.jpg
/home/pi/Desktop/images/17122025/15/41/image_17122025_15_41_45_9857.jpg
/home/pi/Desktop/images/17122025/15/41/image_17122025_15_41_55_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802513","1399802516","1399802506","1399802514","1399802508","1399802510"],"photo_ids_order":["1399802506","1399802508","1399802510","1399802513","1399802514","1399802516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72c19c627861f87b8844d924d6392c02.jpg","text":"TemporaryFile(/tmp/multipartBody832100067638165899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984503836,"filename":"image_17122025_15_41_35_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b0d281c7f8fb41182ad582803488527.jpg","text":"TemporaryFile(/tmp/multipartBody4094128534051100506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984503836,"filename":"image_17122025_15_41_55_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1ef93c18100a2c0d4cde23fd7137b71.jpg","text":"TemporaryFile(/tmp/multipartBody1333036287618513010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984503836,"filename":"image_17122025_15_40_55_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2495ba145202a1ba5a5f5797954ac1d2.jpg","text":"TemporaryFile(/tmp/multipartBody9138713311592659399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984503836,"filename":"image_17122025_15_41_45_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e985413264bbcf9c8d3db75653a11bc6.jpg","text":"TemporaryFile(/tmp/multipartBody2922945902625729418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984503836,"filename":"image_17122025_15_41_06_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30b80b3a92a1fdea981abe6aa7ab9936.jpg","text":"TemporaryFile(/tmp/multipartBody4165268728698274560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984503836,"filename":"image_17122025_15_41_25_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802510","file1":"1399802508","file0":"1399802506","file4":"1399802514","file5":"1399802516","file3":"1399802513"},"map_files_photo_id_array":[{"photo_id":"1399802516","filename":"file5"},{"photo_id":"1399802510","filename":"file2"},{"photo_id":"1399802514","filename":"file4"},{"photo_id":"1399802508","filename":"file1"},{"photo_id":"1399802506","filename":"file0"},{"photo_id":"1399802513","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802513":["hashtag1","hashtag2"]},{"1399802516":["hashtag1","hashtag2"]},{"1399802506":["hashtag1","hashtag2"]},{"1399802514":["hashtag1","hashtag2"]},{"1399802508":["hashtag1","hashtag2"]},{"1399802510":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802513, 1399802516, 1399802506, 1399802514, 1399802508, 1399802510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64473915100098 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:14:42.477051
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_23_1717.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_25_1607.jpg', '/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_27_1770.jpg', '/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_25_1750.jpg', '/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_29_1753.jpg', '/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_30_1684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_23_1717.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_25_1607.jpg
/home/pi/Desktop/images/07112025/20/12/image_07112025_20_12_27_1770.jpg
/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_25_1750.jpg
/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_29_1753.jpg
/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_30_1684.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802534","1399802533","1399802530","1399802532","1399802535","1399802523"],"photo_ids_order":["1399802523","1399802530","1399802532","1399802533","1399802534","1399802535"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9388a6b8399e808d3fbc01e965cfdfe8.jpg","text":"TemporaryFile(/tmp/multipartBody3877440364728903990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984543234,"filename":"image_07112025_20_13_29_1753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c9555597a4b74f72dd1fc97bf9a497b.jpg","text":"TemporaryFile(/tmp/multipartBody670696180906136789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984543234,"filename":"image_07112025_20_13_25_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f3f7449e6dcde60c3a2dc81c3f408f2.jpg","text":"TemporaryFile(/tmp/multipartBody7026689369630868267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984543234,"filename":"image_07112025_20_12_25_1607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/558b14f0a657d9b61da690e4a866bfda.jpg","text":"TemporaryFile(/tmp/multipartBody6169532858567496201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984543234,"filename":"image_07112025_20_12_27_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35c4c900f139407499b95b2451bb75da.jpg","text":"TemporaryFile(/tmp/multipartBody7064732761411252371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984543234,"filename":"image_07112025_20_13_30_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4352d2b4876549dbda3a02d2696e5db9.jpg","text":"TemporaryFile(/tmp/multipartBody1001181598471247845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984543234,"filename":"image_07112025_20_12_23_1717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802532","file1":"1399802530","file0":"1399802523","file4":"1399802534","file5":"1399802535","file3":"1399802533"},"map_files_photo_id_array":[{"photo_id":"1399802535","filename":"file5"},{"photo_id":"1399802532","filename":"file2"},{"photo_id":"1399802534","filename":"file4"},{"photo_id":"1399802530","filename":"file1"},{"photo_id":"1399802523","filename":"file0"},{"photo_id":"1399802533","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399802534":["hashtag1","hashtag2"]},{"1399802533":["hashtag1","hashtag2"]},{"1399802530":["hashtag1","hashtag2"]},{"1399802532":["hashtag1","hashtag2"]},{"1399802535":["hashtag1","hashtag2"]},{"1399802523":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399802534, 1399802533, 1399802530, 1399802532, 1399802535, 1399802523)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.020731925964355 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:15:22.791097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/42/image_17122025_15_42_26_10787.jpg', '/home/pi/Desktop/images/17122025/15/42/image_17122025_15_42_45_9687.jpg', '/home/pi/Desktop/images/17122025/15/42/image_17122025_15_43_05_9641.jpg', '/home/pi/Desktop/images/17122025/15/43/image_17122025_15_43_15_9604.jpg', '/home/pi/Desktop/images/17122025/15/43/image_17122025_15_43_35_9672.jpg', '/home/pi/Desktop/images/17122025/15/43/image_17122025_15_43_45_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/42/image_17122025_15_42_26_10787.jpg
/home/pi/Desktop/images/17122025/15/42/image_17122025_15_42_45_9687.jpg
/home/pi/Desktop/images/17122025/15/42/image_17122025_15_43_05_9641.jpg
/home/pi/Desktop/images/17122025/15/43/image_17122025_15_43_15_9604.jpg
/home/pi/Desktop/images/17122025/15/43/image_17122025_15_43_35_9672.jpg
/home/pi/Desktop/images/17122025/15/43/image_17122025_15_43_45_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802540","1399802548","1399802542","1399802556","1399802543","1399802546"],"photo_ids_order":["1399802540","1399802542","1399802543","1399802546","1399802548","1399802556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96cdae46616abad560e1b8984e1711cd.jpg","text":"TemporaryFile(/tmp/multipartBody1867854333045713570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984583458,"filename":"image_17122025_15_42_26_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbe3548b77252427100a7511583f4a6e.jpg","text":"TemporaryFile(/tmp/multipartBody2157458230062405383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984583458,"filename":"image_17122025_15_43_35_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c01013b417852e63b02f86141534b9cf.jpg","text":"TemporaryFile(/tmp/multipartBody3860718166540470436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984583458,"filename":"image_17122025_15_42_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b87cf0479cefdc41e136721551bd086.jpg","text":"TemporaryFile(/tmp/multipartBody7648814267670689103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984583458,"filename":"image_17122025_15_43_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77e8d077283deb3931aa3a6fb8ed6f09.jpg","text":"TemporaryFile(/tmp/multipartBody2390172971381469672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984583458,"filename":"image_17122025_15_43_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/386b19cde43d9be2bd428319c6083e2d.jpg","text":"TemporaryFile(/tmp/multipartBody362438475402574237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984583458,"filename":"image_17122025_15_43_15_9604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802543","file1":"1399802542","file0":"1399802540","file4":"1399802548","file5":"1399802556","file3":"1399802546"},"map_files_photo_id_array":[{"photo_id":"1399802556","filename":"file5"},{"photo_id":"1399802543","filename":"file2"},{"photo_id":"1399802548","filename":"file4"},{"photo_id":"1399802542","filename":"file1"},{"photo_id":"1399802540","filename":"file0"},{"photo_id":"1399802546","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802540":["hashtag1","hashtag2"]},{"1399802548":["hashtag1","hashtag2"]},{"1399802542":["hashtag1","hashtag2"]},{"1399802556":["hashtag1","hashtag2"]},{"1399802543":["hashtag1","hashtag2"]},{"1399802546":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802540, 1399802548, 1399802542, 1399802556, 1399802543, 1399802546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.15897750854492 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:16:02.364753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/43/image_17122025_15_43_56_10724.jpg', '/home/pi/Desktop/images/17122025/15/43/image_17122025_15_44_05_9696.jpg', '/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_15_9568.jpg', '/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_25_10687.jpg', '/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_35_9823.jpg', '/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_45_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/43/image_17122025_15_43_56_10724.jpg
/home/pi/Desktop/images/17122025/15/43/image_17122025_15_44_05_9696.jpg
/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_15_9568.jpg
/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_25_10687.jpg
/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_35_9823.jpg
/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_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":["1399802584","1399802575","1399802574","1399802573","1399802582","1399802579"],"photo_ids_order":["1399802573","1399802574","1399802575","1399802579","1399802582","1399802584"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b50ea38a25090646d3297ccde004f87e.jpg","text":"TemporaryFile(/tmp/multipartBody943448091301698980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984622982,"filename":"image_17122025_15_44_45_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae029574a99322d020597b6650221bad.jpg","text":"TemporaryFile(/tmp/multipartBody5289181198810142768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984622982,"filename":"image_17122025_15_44_15_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36e5da151d5509de3687c05a5aa88dbc.jpg","text":"TemporaryFile(/tmp/multipartBody7747358555538035372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984622982,"filename":"image_17122025_15_44_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23adf9249dfbdaa1f1748a299a1efa84.jpg","text":"TemporaryFile(/tmp/multipartBody5530201377472099999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984622982,"filename":"image_17122025_15_43_56_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7290fd7fba5eb7c5e0cbbab7300eb52.jpg","text":"TemporaryFile(/tmp/multipartBody8969093838585256568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984622982,"filename":"image_17122025_15_44_35_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/781012217cc9bebeeabd49ba1ee49f2d.jpg","text":"TemporaryFile(/tmp/multipartBody7550702347904030407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984622982,"filename":"image_17122025_15_44_25_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802575","file1":"1399802574","file0":"1399802573","file4":"1399802582","file5":"1399802584","file3":"1399802579"},"map_files_photo_id_array":[{"photo_id":"1399802584","filename":"file5"},{"photo_id":"1399802575","filename":"file2"},{"photo_id":"1399802582","filename":"file4"},{"photo_id":"1399802574","filename":"file1"},{"photo_id":"1399802573","filename":"file0"},{"photo_id":"1399802579","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802584":["hashtag1","hashtag2"]},{"1399802575":["hashtag1","hashtag2"]},{"1399802574":["hashtag1","hashtag2"]},{"1399802573":["hashtag1","hashtag2"]},{"1399802582":["hashtag1","hashtag2"]},{"1399802579":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802584, 1399802575, 1399802574, 1399802573, 1399802582, 1399802579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74381494522095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:16:41.885069
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_43_13002.jpg', '/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_45_1663.jpg', '/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_47_1692.jpg', '/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_49_1757.jpg', '/home/pi/Desktop/images/07112025/20/14/image_07112025_20_14_12_23488.jpg', '/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_07_3059.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_43_13002.jpg
/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_45_1663.jpg
/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_47_1692.jpg
/home/pi/Desktop/images/07112025/20/13/image_07112025_20_13_49_1757.jpg
/home/pi/Desktop/images/07112025/20/14/image_07112025_20_14_12_23488.jpg
/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_07_3059.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802590","1399802740","1399802662","1399802704","1399802769","1399802625"],"photo_ids_order":["1399802590","1399802625","1399802662","1399802704","1399802740","1399802769"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d410ea7f545748625807a5dca6a0acf3.jpg","text":"TemporaryFile(/tmp/multipartBody5058665336307198271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984662649,"filename":"image_07112025_20_13_43_13002.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d61cce0a521fd24668835afb935aa1d.jpg","text":"TemporaryFile(/tmp/multipartBody7725336068565992375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984662649,"filename":"image_07112025_20_14_12_23488.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee4d1f8ba781398013042033b7f06296.jpg","text":"TemporaryFile(/tmp/multipartBody4566055797012808688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984662649,"filename":"image_07112025_20_13_47_1692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39ad5d290bf8fb461a25f36ff515098f.jpg","text":"TemporaryFile(/tmp/multipartBody1867357156720718443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984662649,"filename":"image_07112025_20_13_49_1757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b46bd8b3c705aced44d899799ec685c9.jpg","text":"TemporaryFile(/tmp/multipartBody407381776093648061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984662649,"filename":"image_07112025_20_15_07_3059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d33c02d5de19f469d1faf552a5b05862.jpg","text":"TemporaryFile(/tmp/multipartBody8061371572723127366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984662649,"filename":"image_07112025_20_13_45_1663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802662","file1":"1399802625","file0":"1399802590","file4":"1399802740","file5":"1399802769","file3":"1399802704"},"map_files_photo_id_array":[{"photo_id":"1399802769","filename":"file5"},{"photo_id":"1399802662","filename":"file2"},{"photo_id":"1399802740","filename":"file4"},{"photo_id":"1399802625","filename":"file1"},{"photo_id":"1399802590","filename":"file0"},{"photo_id":"1399802704","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399802590":["hashtag1","hashtag2"]},{"1399802740":["hashtag1","hashtag2"]},{"1399802662":["hashtag1","hashtag2"]},{"1399802704":["hashtag1","hashtag2"]},{"1399802769":["hashtag1","hashtag2"]},{"1399802625":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399802590, 1399802740, 1399802662, 1399802704, 1399802769, 1399802625)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64928698539734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:17:22.143367
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_56_10618.jpg', '/home/pi/Desktop/images/17122025/15/44/image_17122025_15_45_05_9802.jpg', '/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_15_9778.jpg', '/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_25_10045.jpg', '/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_35_9545.jpg', '/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_45_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/44/image_17122025_15_44_56_10618.jpg
/home/pi/Desktop/images/17122025/15/44/image_17122025_15_45_05_9802.jpg
/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_15_9778.jpg
/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_25_10045.jpg
/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_35_9545.jpg
/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_45_10681.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802782","1399802784","1399802798","1399802786","1399802780","1399802777"],"photo_ids_order":["1399802777","1399802780","1399802782","1399802784","1399802786","1399802798"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9e0dc3f19937579ec9b142197ca85cf.jpg","text":"TemporaryFile(/tmp/multipartBody6211616664837956661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984702781,"filename":"image_17122025_15_45_15_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/331fcafc3647ecdb91f716a992985cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2108114088465862777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984702781,"filename":"image_17122025_15_45_25_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb0c4196eb5f790df1b95eb565192662.jpg","text":"TemporaryFile(/tmp/multipartBody1985703579864117438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984702781,"filename":"image_17122025_15_45_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4094c2ed7ff3b0d3b22e68d98b62121.jpg","text":"TemporaryFile(/tmp/multipartBody776125969202054708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984702781,"filename":"image_17122025_15_45_35_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b649f227b94a1599b70b8d74d53b8e28.jpg","text":"TemporaryFile(/tmp/multipartBody4835039812259689169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984702781,"filename":"image_17122025_15_45_05_9802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a2c332ea4a776c0bd650a293709819f.jpg","text":"TemporaryFile(/tmp/multipartBody6104408391434777133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984702781,"filename":"image_17122025_15_44_56_10618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802782","file1":"1399802780","file0":"1399802777","file4":"1399802786","file5":"1399802798","file3":"1399802784"},"map_files_photo_id_array":[{"photo_id":"1399802798","filename":"file5"},{"photo_id":"1399802782","filename":"file2"},{"photo_id":"1399802786","filename":"file4"},{"photo_id":"1399802780","filename":"file1"},{"photo_id":"1399802777","filename":"file0"},{"photo_id":"1399802784","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802782":["hashtag1","hashtag2"]},{"1399802784":["hashtag1","hashtag2"]},{"1399802798":["hashtag1","hashtag2"]},{"1399802786":["hashtag1","hashtag2"]},{"1399802780":["hashtag1","hashtag2"]},{"1399802777":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802782, 1399802784, 1399802798, 1399802786, 1399802780, 1399802777)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12894058227539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:18:02.790818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_55_9664.jpg', '/home/pi/Desktop/images/17122025/15/45/image_17122025_15_46_05_9800.jpg', '/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_16_10686.jpg', '/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_25_9706.jpg', '/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_35_9578.jpg', '/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_45_9956.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/45/image_17122025_15_45_55_9664.jpg
/home/pi/Desktop/images/17122025/15/45/image_17122025_15_46_05_9800.jpg
/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_16_10686.jpg
/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_25_9706.jpg
/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_35_9578.jpg
/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_45_9956.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399802992","1399802995","1399802952","1399803030","1399802978","1399802900"],"photo_ids_order":["1399802900","1399802952","1399802978","1399802992","1399802995","1399803030"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c272c2b8a9c38a7969efcec5327798bf.jpg","text":"TemporaryFile(/tmp/multipartBody4618222495566004570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984743416,"filename":"image_17122025_15_46_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb882cf2900e5584f7976978ac03b682.jpg","text":"TemporaryFile(/tmp/multipartBody2074265870507030482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984743416,"filename":"image_17122025_15_46_35_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d38e4b8cc1477e394a6c8bdfa04a61b.jpg","text":"TemporaryFile(/tmp/multipartBody2062151962822955795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984743416,"filename":"image_17122025_15_46_05_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89b3f1a9055b1f6c083b1f49c13f3793.jpg","text":"TemporaryFile(/tmp/multipartBody8034941462228101195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984743416,"filename":"image_17122025_15_46_45_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e23e78efd965f92298d679d9046e03fd.jpg","text":"TemporaryFile(/tmp/multipartBody4427401269108154625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984743416,"filename":"image_17122025_15_46_16_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba851ac8a3048f89e46493174a307e77.jpg","text":"TemporaryFile(/tmp/multipartBody8623846504895820839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984743416,"filename":"image_17122025_15_45_55_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399802978","file1":"1399802952","file0":"1399802900","file4":"1399802995","file5":"1399803030","file3":"1399802992"},"map_files_photo_id_array":[{"photo_id":"1399803030","filename":"file5"},{"photo_id":"1399802978","filename":"file2"},{"photo_id":"1399802995","filename":"file4"},{"photo_id":"1399802952","filename":"file1"},{"photo_id":"1399802900","filename":"file0"},{"photo_id":"1399802992","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399802992":["hashtag1","hashtag2"]},{"1399802995":["hashtag1","hashtag2"]},{"1399802952":["hashtag1","hashtag2"]},{"1399803030":["hashtag1","hashtag2"]},{"1399802978":["hashtag1","hashtag2"]},{"1399802900":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399802992, 1399802995, 1399802952, 1399803030, 1399802978, 1399802900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.34866499900818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:18:42.330360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_10_3086.jpg', '/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_14_3626.jpg', '/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_37_23432.jpg', '/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_41_1714.jpg', '/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_42_1675.jpg', '/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_49_1933.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_10_3086.jpg
/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_14_3626.jpg
/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_37_23432.jpg
/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_41_1714.jpg
/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_42_1675.jpg
/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_49_1933.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399803262","1399803381","1399803420","1399803303","1399803341","1399803221"],"photo_ids_order":["1399803221","1399803262","1399803303","1399803341","1399803381","1399803420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/366beb5a23a2f402a2089ef6722936b8.jpg","text":"TemporaryFile(/tmp/multipartBody2070205427747364705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984783089,"filename":"image_07112025_20_15_14_3626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6216b685b02280f7ca6a717a31d8da3.jpg","text":"TemporaryFile(/tmp/multipartBody2645602703236364988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984783089,"filename":"image_07112025_20_15_42_1675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3e5788dbb6def67f875c3e63d3b9170.jpg","text":"TemporaryFile(/tmp/multipartBody1602247175312425926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984783089,"filename":"image_07112025_20_15_49_1933.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3541ae78a5be41d8fade3da3be2412e0.jpg","text":"TemporaryFile(/tmp/multipartBody4201610408941957337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984783089,"filename":"image_07112025_20_15_37_23432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b7fdbbf42b6a7458ad7c1db2e19b4ca.jpg","text":"TemporaryFile(/tmp/multipartBody8302109727649819431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984783089,"filename":"image_07112025_20_15_41_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a52f530f32f1ac998e87afe5e078d037.jpg","text":"TemporaryFile(/tmp/multipartBody5818656143268312265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984783089,"filename":"image_07112025_20_15_10_3086.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399803303","file1":"1399803262","file0":"1399803221","file4":"1399803381","file5":"1399803420","file3":"1399803341"},"map_files_photo_id_array":[{"photo_id":"1399803420","filename":"file5"},{"photo_id":"1399803303","filename":"file2"},{"photo_id":"1399803381","filename":"file4"},{"photo_id":"1399803262","filename":"file1"},{"photo_id":"1399803221","filename":"file0"},{"photo_id":"1399803341","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399803262":["hashtag1","hashtag2"]},{"1399803381":["hashtag1","hashtag2"]},{"1399803420":["hashtag1","hashtag2"]},{"1399803303":["hashtag1","hashtag2"]},{"1399803341":["hashtag1","hashtag2"]},{"1399803221":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399803262, 1399803381, 1399803420, 1399803303, 1399803341, 1399803221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.80569624900818 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:19:22.662627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_55_9888.jpg', '/home/pi/Desktop/images/17122025/15/46/image_17122025_15_47_05_10616.jpg', '/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_15_9703.jpg', '/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_26_10549.jpg', '/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_35_9577.jpg', '/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_45_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_55_9888.jpg
/home/pi/Desktop/images/17122025/15/46/image_17122025_15_47_05_10616.jpg
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_15_9703.jpg
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_26_10549.jpg
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_35_9577.jpg
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_45_9579.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.48418331146240234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:19:32.589904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:19:42.631905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_58_1714.jpg', '/home/pi/Desktop/images/07112025/20/15/image_07112025_20_16_00_1641.jpg', '/home/pi/Desktop/images/07112025/20/16/image_07112025_20_16_03_1579.jpg', '/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_07_3011.jpg', '/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_20_3565.jpg', '/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_23_2748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/15/image_07112025_20_15_58_1714.jpg
/home/pi/Desktop/images/07112025/20/15/image_07112025_20_16_00_1641.jpg
/home/pi/Desktop/images/07112025/20/16/image_07112025_20_16_03_1579.jpg
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_07_3011.jpg
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_20_3565.jpg
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_23_2748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399803679","1399803700","1399803678","1399803677","1399803673","1399803697"],"photo_ids_order":["1399803673","1399803677","1399803678","1399803679","1399803697","1399803700"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3aa9999e831db3901dabd453044a2ea3.jpg","text":"TemporaryFile(/tmp/multipartBody3427995894912770681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984843386,"filename":"image_07112025_20_17_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de201be68c227392d6d443380a347097.jpg","text":"TemporaryFile(/tmp/multipartBody1681516283457239502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984843386,"filename":"image_07112025_20_17_23_2748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d762e0bc4be34e3411aa3aa7b1f1e66c.jpg","text":"TemporaryFile(/tmp/multipartBody8602699149574144368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984843386,"filename":"image_07112025_20_16_03_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed301fa5e43907adda59079b4e7a0b67.jpg","text":"TemporaryFile(/tmp/multipartBody2504913425412959612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984843386,"filename":"image_07112025_20_16_00_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a6873c78fd2605b0653f0c1ee82d7b2.jpg","text":"TemporaryFile(/tmp/multipartBody4722728275468206891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984843386,"filename":"image_07112025_20_15_58_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b99d5e6b814a918a6969cb47016de381.jpg","text":"TemporaryFile(/tmp/multipartBody397274685743422881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984843386,"filename":"image_07112025_20_17_20_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399803678","file1":"1399803677","file0":"1399803673","file4":"1399803697","file5":"1399803700","file3":"1399803679"},"map_files_photo_id_array":[{"photo_id":"1399803700","filename":"file5"},{"photo_id":"1399803678","filename":"file2"},{"photo_id":"1399803697","filename":"file4"},{"photo_id":"1399803677","filename":"file1"},{"photo_id":"1399803673","filename":"file0"},{"photo_id":"1399803679","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399803679":["hashtag1","hashtag2"]},{"1399803700":["hashtag1","hashtag2"]},{"1399803678":["hashtag1","hashtag2"]},{"1399803677":["hashtag1","hashtag2"]},{"1399803673":["hashtag1","hashtag2"]},{"1399803697":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399803679, 1399803700, 1399803678, 1399803677, 1399803673, 1399803697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.86466884613037 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:20:21.919432
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_55_9888.jpg', '/home/pi/Desktop/images/17122025/15/46/image_17122025_15_47_05_10616.jpg', '/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_15_9703.jpg', '/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_26_10549.jpg', '/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_35_9577.jpg', '/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_45_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/46/image_17122025_15_46_55_9888.jpg
/home/pi/Desktop/images/17122025/15/46/image_17122025_15_47_05_10616.jpg
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_15_9703.jpg
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_26_10549.jpg
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_35_9577.jpg
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_45_9579.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399803757","1399803798","1399803909","1399803869","1399803833","1399803725"],"photo_ids_order":["1399803725","1399803757","1399803798","1399803833","1399803869","1399803909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7be3b79515fe4a55a54ff1fd612f35ff.jpg","text":"TemporaryFile(/tmp/multipartBody2233709978493610662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984882514,"filename":"image_17122025_15_47_05_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6ee9b2d7c6a2e9cb77a57871ac632c4.jpg","text":"TemporaryFile(/tmp/multipartBody4959669620800824807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984882514,"filename":"image_17122025_15_47_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd6553e872b74e61428f24b1f1f0bcfe.jpg","text":"TemporaryFile(/tmp/multipartBody7965829750788621190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984882514,"filename":"image_17122025_15_47_45_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3b12eb0f5166df78604035bc727ba7e.jpg","text":"TemporaryFile(/tmp/multipartBody7685574583553932779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984882514,"filename":"image_17122025_15_47_35_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cacc672c48b450aed8224b3c9315eb7e.jpg","text":"TemporaryFile(/tmp/multipartBody8717414938362687733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984882514,"filename":"image_17122025_15_47_26_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d76932802c3d4f50d000d8454706ddd1.jpg","text":"TemporaryFile(/tmp/multipartBody9080721942140498618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984882514,"filename":"image_17122025_15_46_55_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399803798","file1":"1399803757","file0":"1399803725","file4":"1399803869","file5":"1399803909","file3":"1399803833"},"map_files_photo_id_array":[{"photo_id":"1399803909","filename":"file5"},{"photo_id":"1399803798","filename":"file2"},{"photo_id":"1399803869","filename":"file4"},{"photo_id":"1399803757","filename":"file1"},{"photo_id":"1399803725","filename":"file0"},{"photo_id":"1399803833","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399803757":["hashtag1","hashtag2"]},{"1399803798":["hashtag1","hashtag2"]},{"1399803909":["hashtag1","hashtag2"]},{"1399803869":["hashtag1","hashtag2"]},{"1399803833":["hashtag1","hashtag2"]},{"1399803725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399803757, 1399803798, 1399803909, 1399803869, 1399803833, 1399803725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.566590785980225 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:21:02.715133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_55_10691.jpg', '/home/pi/Desktop/images/17122025/15/47/image_17122025_15_48_05_9879.jpg', '/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_15_9690.jpg', '/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_25_9646.jpg', '/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_35_10665.jpg', '/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_45_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_47_55_10691.jpg
/home/pi/Desktop/images/17122025/15/47/image_17122025_15_48_05_9879.jpg
/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_15_9690.jpg
/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_25_9646.jpg
/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_35_10665.jpg
/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_45_9581.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804003","1399804111","1399804027","1399804065","1399803987","1399804153"],"photo_ids_order":["1399803987","1399804003","1399804027","1399804065","1399804111","1399804153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bcf3c662fe414ea5c3968b0b3f07739.jpg","text":"TemporaryFile(/tmp/multipartBody1626826259768891626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984923317,"filename":"image_17122025_15_48_05_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/690849e18a754327fed7fc27ff751dc8.jpg","text":"TemporaryFile(/tmp/multipartBody1855282534809008274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984923317,"filename":"image_17122025_15_48_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbad73585824dc0008f1438352f701ae.jpg","text":"TemporaryFile(/tmp/multipartBody409767432707427955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984923317,"filename":"image_17122025_15_48_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bba86f90fa29503d6b520cadc9d29c1.jpg","text":"TemporaryFile(/tmp/multipartBody3213597111064317757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984923317,"filename":"image_17122025_15_48_25_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bda912313507a50c358b9e24bb84147b.jpg","text":"TemporaryFile(/tmp/multipartBody6363705564298723099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984923317,"filename":"image_17122025_15_47_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c10c8abed31069093dda64b69c80127.jpg","text":"TemporaryFile(/tmp/multipartBody4503174249624007323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765984923317,"filename":"image_17122025_15_48_45_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804027","file1":"1399804003","file0":"1399803987","file4":"1399804111","file5":"1399804153","file3":"1399804065"},"map_files_photo_id_array":[{"photo_id":"1399804153","filename":"file5"},{"photo_id":"1399804027","filename":"file2"},{"photo_id":"1399804111","filename":"file4"},{"photo_id":"1399804003","filename":"file1"},{"photo_id":"1399803987","filename":"file0"},{"photo_id":"1399804065","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804003":["hashtag1","hashtag2"]},{"1399804111":["hashtag1","hashtag2"]},{"1399804027":["hashtag1","hashtag2"]},{"1399804065":["hashtag1","hashtag2"]},{"1399803987":["hashtag1","hashtag2"]},{"1399804153":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804003, 1399804111, 1399804027, 1399804065, 1399803987, 1399804153)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.37488555908203 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:22:02.887780
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_55_9746.jpg', '/home/pi/Desktop/images/17122025/15/48/image_17122025_15_49_05_10676.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_15_9683.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_25_9661.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_35_10700.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_45_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_55_9746.jpg
/home/pi/Desktop/images/17122025/15/48/image_17122025_15_49_05_10676.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_15_9683.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_25_9661.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_35_10700.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_45_9616.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5271162986755371 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:22:12.433769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:22:22.512183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_55_9746.jpg', '/home/pi/Desktop/images/17122025/15/48/image_17122025_15_49_05_10676.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_15_9683.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_25_9661.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_35_10700.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_45_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/48/image_17122025_15_48_55_9746.jpg
/home/pi/Desktop/images/17122025/15/48/image_17122025_15_49_05_10676.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_15_9683.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_25_9661.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_35_10700.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_45_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":["1399804318","1399804359","1399804358","1399804330","1399804360","1399804354"],"photo_ids_order":["1399804318","1399804330","1399804354","1399804358","1399804359","1399804360"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e8ad2c86a8b3fac014220016d11a1f3.jpg","text":"TemporaryFile(/tmp/multipartBody1389521825497392802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985003112,"filename":"image_17122025_15_48_55_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a97a91a11277b4ab144f1ed2aa6a6dcd.jpg","text":"TemporaryFile(/tmp/multipartBody5700262938798324914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985003112,"filename":"image_17122025_15_49_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5a30765341b7add439df78d8a4160af.jpg","text":"TemporaryFile(/tmp/multipartBody5547005224621511538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985003112,"filename":"image_17122025_15_49_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42938208d6d15e90b20c5a6068e0621c.jpg","text":"TemporaryFile(/tmp/multipartBody8276590657654779159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985003112,"filename":"image_17122025_15_49_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac4d1ed3c108e7f79c5677c5f7b867f5.jpg","text":"TemporaryFile(/tmp/multipartBody5921722219518321746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985003112,"filename":"image_17122025_15_49_45_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1509b8c56fb860b8cf0b5ccf1ef8017c.jpg","text":"TemporaryFile(/tmp/multipartBody8449634225716586076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985003112,"filename":"image_17122025_15_49_15_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804354","file1":"1399804330","file0":"1399804318","file4":"1399804359","file5":"1399804360","file3":"1399804358"},"map_files_photo_id_array":[{"photo_id":"1399804360","filename":"file5"},{"photo_id":"1399804354","filename":"file2"},{"photo_id":"1399804359","filename":"file4"},{"photo_id":"1399804330","filename":"file1"},{"photo_id":"1399804318","filename":"file0"},{"photo_id":"1399804358","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804318":["hashtag1","hashtag2"]},{"1399804359":["hashtag1","hashtag2"]},{"1399804358":["hashtag1","hashtag2"]},{"1399804330":["hashtag1","hashtag2"]},{"1399804360":["hashtag1","hashtag2"]},{"1399804354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804318, 1399804359, 1399804358, 1399804330, 1399804360, 1399804354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.53199887275696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:23:02.974358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_55_9743.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_50_05_10702.jpg', '/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_15_9764.jpg', '/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_25_9714.jpg', '/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_35_9758.jpg', '/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_45_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_55_9743.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_50_05_10702.jpg
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_15_9764.jpg
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_25_9714.jpg
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_35_9758.jpg
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_45_10671.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5378429889678955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:23:12.308096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:23:22.450261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_55_9743.jpg', '/home/pi/Desktop/images/17122025/15/49/image_17122025_15_50_05_10702.jpg', '/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_15_9764.jpg', '/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_25_9714.jpg', '/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_35_9758.jpg', '/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_45_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_49_55_9743.jpg
/home/pi/Desktop/images/17122025/15/49/image_17122025_15_50_05_10702.jpg
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_15_9764.jpg
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_25_9714.jpg
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_35_9758.jpg
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_45_10671.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804461","1399804464","1399804458","1399804460","1399804468","1399804465"],"photo_ids_order":["1399804458","1399804460","1399804461","1399804464","1399804465","1399804468"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7e57b1a3304cc52b215955266017bac.jpg","text":"TemporaryFile(/tmp/multipartBody1761723065068508289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985063046,"filename":"image_17122025_15_50_15_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7dd3d2756b8575d73a3a16e86f1ab64.jpg","text":"TemporaryFile(/tmp/multipartBody8817090280621373554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985063046,"filename":"image_17122025_15_50_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b90637d32eee3d0e3b3ca55699c2fb2d.jpg","text":"TemporaryFile(/tmp/multipartBody2326082719211526448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985063046,"filename":"image_17122025_15_49_55_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2a741b79ac824d7551a6e5756effbe8.jpg","text":"TemporaryFile(/tmp/multipartBody94108754099963428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985063046,"filename":"image_17122025_15_50_05_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/742e01fccc2e11a470bede34b87a847b.jpg","text":"TemporaryFile(/tmp/multipartBody1006279141285668487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985063046,"filename":"image_17122025_15_50_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1ec32be9bc61810287d1dc8f18e8d5f.jpg","text":"TemporaryFile(/tmp/multipartBody2791267346312044219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985063046,"filename":"image_17122025_15_50_35_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804461","file1":"1399804460","file0":"1399804458","file4":"1399804465","file5":"1399804468","file3":"1399804464"},"map_files_photo_id_array":[{"photo_id":"1399804468","filename":"file5"},{"photo_id":"1399804461","filename":"file2"},{"photo_id":"1399804465","filename":"file4"},{"photo_id":"1399804460","filename":"file1"},{"photo_id":"1399804458","filename":"file0"},{"photo_id":"1399804464","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804461":["hashtag1","hashtag2"]},{"1399804464":["hashtag1","hashtag2"]},{"1399804458":["hashtag1","hashtag2"]},{"1399804460":["hashtag1","hashtag2"]},{"1399804468":["hashtag1","hashtag2"]},{"1399804465":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804461, 1399804464, 1399804458, 1399804460, 1399804468, 1399804465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96087861061096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:24:03.148873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_55_9741.jpg', '/home/pi/Desktop/images/17122025/15/50/image_17122025_15_51_05_9734.jpg', '/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_16_10689.jpg', '/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_25_9803.jpg', '/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_35_9671.jpg', '/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_45_9826.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_50_55_9741.jpg
/home/pi/Desktop/images/17122025/15/50/image_17122025_15_51_05_9734.jpg
/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_16_10689.jpg
/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_25_9803.jpg
/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_35_9671.jpg
/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_45_9826.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804470","1399804472","1399804480","1399804474","1399804477","1399804471"],"photo_ids_order":["1399804470","1399804471","1399804472","1399804474","1399804477","1399804480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ece4af910009e3412fe8ed711883ab87.jpg","text":"TemporaryFile(/tmp/multipartBody8604206454152091837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985103735,"filename":"image_17122025_15_50_55_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e068e83c6ec02eb0d073ea273948de13.jpg","text":"TemporaryFile(/tmp/multipartBody3354230328935381902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985103735,"filename":"image_17122025_15_51_16_10689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad1fa08613d24379d5104459fd1cfd2f.jpg","text":"TemporaryFile(/tmp/multipartBody12703751020840595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985103735,"filename":"image_17122025_15_51_45_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/955780b9731064936d98493f88e98e5d.jpg","text":"TemporaryFile(/tmp/multipartBody3753103565094971209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985103735,"filename":"image_17122025_15_51_25_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e666eb241763d390211a6481521fe63.jpg","text":"TemporaryFile(/tmp/multipartBody2565243402872719720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985103735,"filename":"image_17122025_15_51_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4d82d118a61db18d1032002e200776b.jpg","text":"TemporaryFile(/tmp/multipartBody536621729930300436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985103735,"filename":"image_17122025_15_51_05_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804472","file1":"1399804471","file0":"1399804470","file4":"1399804477","file5":"1399804480","file3":"1399804474"},"map_files_photo_id_array":[{"photo_id":"1399804480","filename":"file5"},{"photo_id":"1399804472","filename":"file2"},{"photo_id":"1399804477","filename":"file4"},{"photo_id":"1399804471","filename":"file1"},{"photo_id":"1399804470","filename":"file0"},{"photo_id":"1399804474","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804470":["hashtag1","hashtag2"]},{"1399804472":["hashtag1","hashtag2"]},{"1399804480":["hashtag1","hashtag2"]},{"1399804474":["hashtag1","hashtag2"]},{"1399804477":["hashtag1","hashtag2"]},{"1399804471":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804470, 1399804472, 1399804480, 1399804474, 1399804477, 1399804471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.21386933326721 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:24:42.536761
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_25_2699.jpg', '/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_29_3539.jpg', '/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_32_2692.jpg', '/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_34_2669.jpg', '/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_38_3864.jpg', '/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_58_14523.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_25_2699.jpg
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_29_3539.jpg
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_32_2692.jpg
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_34_2669.jpg
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_38_3864.jpg
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_17_58_14523.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804491","1399804494","1399804493","1399804496","1399804490","1399804492"],"photo_ids_order":["1399804490","1399804491","1399804492","1399804493","1399804494","1399804496"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ba5fac6c5a4600cdb971c3f75b10d56.jpg","text":"TemporaryFile(/tmp/multipartBody3098879991822489494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985148528,"filename":"image_07112025_20_17_29_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95fc0c3c830a5557e696fe7c1edfa0b0.jpg","text":"TemporaryFile(/tmp/multipartBody1982148993190689411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985148528,"filename":"image_07112025_20_17_38_3864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2d3cb7ce6b617d3c316719a3e015fa2.jpg","text":"TemporaryFile(/tmp/multipartBody6765864729269496107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985148528,"filename":"image_07112025_20_17_34_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15304e9cd6c070217f44249255a94385.jpg","text":"TemporaryFile(/tmp/multipartBody7235940537674914844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985148528,"filename":"image_07112025_20_17_58_14523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7a286804328dd95e4fd95a70027529e.jpg","text":"TemporaryFile(/tmp/multipartBody4314662424921610819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985148528,"filename":"image_07112025_20_17_25_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/397d959c39a19e0ad45ec9441abad14b.jpg","text":"TemporaryFile(/tmp/multipartBody501798402975671317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985148528,"filename":"image_07112025_20_17_32_2692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804492","file1":"1399804491","file0":"1399804490","file4":"1399804494","file5":"1399804496","file3":"1399804493"},"map_files_photo_id_array":[{"photo_id":"1399804496","filename":"file5"},{"photo_id":"1399804492","filename":"file2"},{"photo_id":"1399804494","filename":"file4"},{"photo_id":"1399804491","filename":"file1"},{"photo_id":"1399804490","filename":"file0"},{"photo_id":"1399804493","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804491":["hashtag1","hashtag2"]},{"1399804494":["hashtag1","hashtag2"]},{"1399804493":["hashtag1","hashtag2"]},{"1399804496":["hashtag1","hashtag2"]},{"1399804490":["hashtag1","hashtag2"]},{"1399804492":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804491, 1399804494, 1399804493, 1399804496, 1399804490, 1399804492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.613584995269775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:25:32.757969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:25:42.735273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/17/image_07112025_20_18_00_1722.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_01_1540.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_05_3360.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_06_1560.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_10_3728.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_13_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/17/image_07112025_20_18_00_1722.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_01_1540.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_05_3360.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_06_1560.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_10_3728.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_13_1532.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804513","1399804507","1399804506","1399804509","1399804508","1399804511"],"photo_ids_order":["1399804506","1399804507","1399804508","1399804509","1399804511","1399804513"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2fc3dd5f50b55279539d991c2fd4490.jpg","text":"TemporaryFile(/tmp/multipartBody3334889681041239378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985213439,"filename":"image_07112025_20_18_13_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/609781b8c66c451997a23a71bfbc6f58.jpg","text":"TemporaryFile(/tmp/multipartBody3225200099763452986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985213439,"filename":"image_07112025_20_18_01_1540.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d438f2e9a22e69796f400a98d9627d9.jpg","text":"TemporaryFile(/tmp/multipartBody5299558548516406381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985213439,"filename":"image_07112025_20_18_00_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c67261a0e8524ab768fd84b7a397c34.jpg","text":"TemporaryFile(/tmp/multipartBody3731884369609497359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985213439,"filename":"image_07112025_20_18_06_1560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4643b3a2ae65a576b51c79ef16d6ccbf.jpg","text":"TemporaryFile(/tmp/multipartBody3094112997351815651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985213439,"filename":"image_07112025_20_18_05_3360.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7073390d5d32fa3c6ad8bcc52cc7424.jpg","text":"TemporaryFile(/tmp/multipartBody8189630549377282703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985213439,"filename":"image_07112025_20_18_10_3728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804508","file1":"1399804507","file0":"1399804506","file4":"1399804511","file5":"1399804513","file3":"1399804509"},"map_files_photo_id_array":[{"photo_id":"1399804513","filename":"file5"},{"photo_id":"1399804508","filename":"file2"},{"photo_id":"1399804511","filename":"file4"},{"photo_id":"1399804507","filename":"file1"},{"photo_id":"1399804506","filename":"file0"},{"photo_id":"1399804509","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804513":["hashtag1","hashtag2"]},{"1399804507":["hashtag1","hashtag2"]},{"1399804506":["hashtag1","hashtag2"]},{"1399804509":["hashtag1","hashtag2"]},{"1399804508":["hashtag1","hashtag2"]},{"1399804511":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804513, 1399804507, 1399804506, 1399804509, 1399804508, 1399804511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.81386208534241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:26:32.000704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:26:41.945896
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_15_1770.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_17_1678.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_37_1581.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_39_1755.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_41_1616.jpg', '/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_52_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_15_1770.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_17_1678.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_37_1581.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_39_1755.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_41_1616.jpg
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_52_2562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804528","1399804524","1399804527","1399804532","1399804520","1399804531"],"photo_ids_order":["1399804520","1399804524","1399804527","1399804528","1399804531","1399804532"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69de98c7a26b1effef79078bdb446862.jpg","text":"TemporaryFile(/tmp/multipartBody6956687761191147862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985262683,"filename":"image_07112025_20_18_39_1755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd879095e2113b8e3eae4231d8ce1dff.jpg","text":"TemporaryFile(/tmp/multipartBody7500238642966350404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985262683,"filename":"image_07112025_20_18_17_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a67c64b46ad99b04b007941b0e2dcd5.jpg","text":"TemporaryFile(/tmp/multipartBody7558270900252486022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985262683,"filename":"image_07112025_20_18_37_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee19bcf043481d0b56d063912f207e53.jpg","text":"TemporaryFile(/tmp/multipartBody7041774106745969792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985262683,"filename":"image_07112025_20_18_52_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6719ee949a44e5627befe15095a2aa33.jpg","text":"TemporaryFile(/tmp/multipartBody5863414418519610911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985262683,"filename":"image_07112025_20_18_15_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0106fd7c25336608d9a1390e2a0fa212.jpg","text":"TemporaryFile(/tmp/multipartBody5565760765948263716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985262683,"filename":"image_07112025_20_18_41_1616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804527","file1":"1399804524","file0":"1399804520","file4":"1399804531","file5":"1399804532","file3":"1399804528"},"map_files_photo_id_array":[{"photo_id":"1399804532","filename":"file5"},{"photo_id":"1399804527","filename":"file2"},{"photo_id":"1399804531","filename":"file4"},{"photo_id":"1399804524","filename":"file1"},{"photo_id":"1399804520","filename":"file0"},{"photo_id":"1399804528","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804528":["hashtag1","hashtag2"]},{"1399804524":["hashtag1","hashtag2"]},{"1399804527":["hashtag1","hashtag2"]},{"1399804532":["hashtag1","hashtag2"]},{"1399804520":["hashtag1","hashtag2"]},{"1399804531":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804528, 1399804524, 1399804527, 1399804532, 1399804520, 1399804531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.48593187332153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:27:22.255098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_56_10733.jpg', '/home/pi/Desktop/images/17122025/15/51/image_17122025_15_52_05_9832.jpg', '/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_15_9960.jpg', '/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_25_9832.jpg', '/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_35_9512.jpg', '/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_45_10765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/51/image_17122025_15_51_56_10733.jpg
/home/pi/Desktop/images/17122025/15/51/image_17122025_15_52_05_9832.jpg
/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_15_9960.jpg
/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_25_9832.jpg
/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_35_9512.jpg
/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_45_10765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804554","1399804548","1399804545","1399804556","1399804549","1399804552"],"photo_ids_order":["1399804545","1399804548","1399804549","1399804552","1399804554","1399804556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c91a1a15f11a07e875ed973309dbc1cf.jpg","text":"TemporaryFile(/tmp/multipartBody284192447606033575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985302854,"filename":"image_17122025_15_52_35_9512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74480ccfd57bf7e0edcfb69e80dc5fed.jpg","text":"TemporaryFile(/tmp/multipartBody5995155626708363994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985302854,"filename":"image_17122025_15_52_05_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00e91f99c684e4803d5a1c3bad55b69d.jpg","text":"TemporaryFile(/tmp/multipartBody6884664802157548338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985302854,"filename":"image_17122025_15_51_56_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11e52d65e515bd93d26f249237ca7640.jpg","text":"TemporaryFile(/tmp/multipartBody1190630057352592313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985302854,"filename":"image_17122025_15_52_45_10765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebdfc3e16cb526f9c6b20f8d3dd6a80a.jpg","text":"TemporaryFile(/tmp/multipartBody5622520758355907181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985302854,"filename":"image_17122025_15_52_15_9960.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35da676d492b365956f9217a41f4591e.jpg","text":"TemporaryFile(/tmp/multipartBody8267040493728224003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985302854,"filename":"image_17122025_15_52_25_9832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804549","file1":"1399804548","file0":"1399804545","file4":"1399804554","file5":"1399804556","file3":"1399804552"},"map_files_photo_id_array":[{"photo_id":"1399804556","filename":"file5"},{"photo_id":"1399804549","filename":"file2"},{"photo_id":"1399804554","filename":"file4"},{"photo_id":"1399804548","filename":"file1"},{"photo_id":"1399804545","filename":"file0"},{"photo_id":"1399804552","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804554":["hashtag1","hashtag2"]},{"1399804548":["hashtag1","hashtag2"]},{"1399804545":["hashtag1","hashtag2"]},{"1399804556":["hashtag1","hashtag2"]},{"1399804549":["hashtag1","hashtag2"]},{"1399804552":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804554, 1399804548, 1399804545, 1399804556, 1399804549, 1399804552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.670527935028076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:28:02.822502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_55_9970.jpg', '/home/pi/Desktop/images/17122025/15/52/image_17122025_15_53_05_9757.jpg', '/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_15_9686.jpg', '/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_25_10579.jpg', '/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_35_9521.jpg', '/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_46_10559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/52/image_17122025_15_52_55_9970.jpg
/home/pi/Desktop/images/17122025/15/52/image_17122025_15_53_05_9757.jpg
/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_15_9686.jpg
/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_25_10579.jpg
/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_35_9521.jpg
/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_46_10559.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804569","1399804563","1399804565","1399804559","1399804567","1399804561"],"photo_ids_order":["1399804559","1399804561","1399804563","1399804565","1399804567","1399804569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5607ff46b14ef0951bb8d81928da6db7.jpg","text":"TemporaryFile(/tmp/multipartBody4807666314497514819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985343419,"filename":"image_17122025_15_53_46_10559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc7f19de76f27feea05bff69d7bcc682.jpg","text":"TemporaryFile(/tmp/multipartBody1229259016536411403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985343419,"filename":"image_17122025_15_53_15_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f81a5c7afe749baf403fb65a1d70b413.jpg","text":"TemporaryFile(/tmp/multipartBody2912951916591495134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985343419,"filename":"image_17122025_15_53_25_10579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1438fc702fde758c133f04d2ceca90a4.jpg","text":"TemporaryFile(/tmp/multipartBody2904906062124247832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985343419,"filename":"image_17122025_15_52_55_9970.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24cbbf3d64dc0aac18f9845f54ce0af0.jpg","text":"TemporaryFile(/tmp/multipartBody7277633658697134452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985343419,"filename":"image_17122025_15_53_35_9521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ca1a73a113364fe5983ef58db6fabbd.jpg","text":"TemporaryFile(/tmp/multipartBody539280453181473955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985343419,"filename":"image_17122025_15_53_05_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804563","file1":"1399804561","file0":"1399804559","file4":"1399804567","file5":"1399804569","file3":"1399804565"},"map_files_photo_id_array":[{"photo_id":"1399804569","filename":"file5"},{"photo_id":"1399804563","filename":"file2"},{"photo_id":"1399804567","filename":"file4"},{"photo_id":"1399804561","filename":"file1"},{"photo_id":"1399804559","filename":"file0"},{"photo_id":"1399804565","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804569":["hashtag1","hashtag2"]},{"1399804563":["hashtag1","hashtag2"]},{"1399804565":["hashtag1","hashtag2"]},{"1399804559":["hashtag1","hashtag2"]},{"1399804567":["hashtag1","hashtag2"]},{"1399804561":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804569, 1399804563, 1399804565, 1399804559, 1399804567, 1399804561)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23959827423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:28:42.389858
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_56_3692.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_05_2700.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_07_2625.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_14_2702.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_20_3680.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_23_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/18/image_07112025_20_18_56_3692.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_05_2700.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_07_2625.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_14_2702.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_20_3680.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_23_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804587","1399804580","1399804586","1399804585","1399804576","1399804579"],"photo_ids_order":["1399804576","1399804579","1399804580","1399804585","1399804586","1399804587"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c1e41cbde47ed6b7df08b42c67e848e.jpg","text":"TemporaryFile(/tmp/multipartBody1134681247601471396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985383142,"filename":"image_07112025_20_19_23_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/645aeb236fdce4aa887653e5d9018852.jpg","text":"TemporaryFile(/tmp/multipartBody1602718453520636974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985383142,"filename":"image_07112025_20_19_07_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61b4ef25cdf2afd8fe6de04c92de4ef9.jpg","text":"TemporaryFile(/tmp/multipartBody3587366912490787483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985383142,"filename":"image_07112025_20_19_20_3680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3849c945b4da648f5eea5b56dc48e6ca.jpg","text":"TemporaryFile(/tmp/multipartBody538670765839691350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985383142,"filename":"image_07112025_20_19_14_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2147f00e36e5d594df629c0f1b795c92.jpg","text":"TemporaryFile(/tmp/multipartBody1310729661714985592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985383142,"filename":"image_07112025_20_18_56_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/739c6a7399945be9196e2aa5619ab314.jpg","text":"TemporaryFile(/tmp/multipartBody697530444968085717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985383142,"filename":"image_07112025_20_19_05_2700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804580","file1":"1399804579","file0":"1399804576","file4":"1399804586","file5":"1399804587","file3":"1399804585"},"map_files_photo_id_array":[{"photo_id":"1399804587","filename":"file5"},{"photo_id":"1399804580","filename":"file2"},{"photo_id":"1399804586","filename":"file4"},{"photo_id":"1399804579","filename":"file1"},{"photo_id":"1399804576","filename":"file0"},{"photo_id":"1399804585","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804587":["hashtag1","hashtag2"]},{"1399804580":["hashtag1","hashtag2"]},{"1399804586":["hashtag1","hashtag2"]},{"1399804585":["hashtag1","hashtag2"]},{"1399804576":["hashtag1","hashtag2"]},{"1399804579":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804587, 1399804580, 1399804586, 1399804585, 1399804576, 1399804579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.05838871002197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:29:22.699075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_55_9682.jpg', '/home/pi/Desktop/images/17122025/15/53/image_17122025_15_54_05_9615.jpg', '/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_16_10693.jpg', '/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_25_9923.jpg', '/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_35_9678.jpg', '/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_45_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/53/image_17122025_15_53_55_9682.jpg
/home/pi/Desktop/images/17122025/15/53/image_17122025_15_54_05_9615.jpg
/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_16_10693.jpg
/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_25_9923.jpg
/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_35_9678.jpg
/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_45_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":["1399804596","1399804600","1399804593","1399804602","1399804598","1399804607"],"photo_ids_order":["1399804593","1399804596","1399804598","1399804600","1399804602","1399804607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cf9d76610b5477d5f3a929932f1e457.jpg","text":"TemporaryFile(/tmp/multipartBody3085536224891122324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985423299,"filename":"image_17122025_15_54_05_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28befbfe9c71f6938bca4848e48859f2.jpg","text":"TemporaryFile(/tmp/multipartBody6420263288660112661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985423299,"filename":"image_17122025_15_54_25_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72eb8ea92009b2456c36bad100ed6144.jpg","text":"TemporaryFile(/tmp/multipartBody1089989474872843157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985423299,"filename":"image_17122025_15_53_55_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0be7df0f57f1f8a5631948a0ba4245ee.jpg","text":"TemporaryFile(/tmp/multipartBody6903592387888067809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985423299,"filename":"image_17122025_15_54_35_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90cf301b2461a91ab25cc492d0c85d7a.jpg","text":"TemporaryFile(/tmp/multipartBody2072967879864446336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985423299,"filename":"image_17122025_15_54_16_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f73cc40df7e1b5f8830cee8b47afd95.jpg","text":"TemporaryFile(/tmp/multipartBody6018222923510941587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985423299,"filename":"image_17122025_15_54_45_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804598","file1":"1399804596","file0":"1399804593","file4":"1399804602","file5":"1399804607","file3":"1399804600"},"map_files_photo_id_array":[{"photo_id":"1399804607","filename":"file5"},{"photo_id":"1399804598","filename":"file2"},{"photo_id":"1399804602","filename":"file4"},{"photo_id":"1399804596","filename":"file1"},{"photo_id":"1399804593","filename":"file0"},{"photo_id":"1399804600","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804596":["hashtag1","hashtag2"]},{"1399804600":["hashtag1","hashtag2"]},{"1399804593":["hashtag1","hashtag2"]},{"1399804602":["hashtag1","hashtag2"]},{"1399804598":["hashtag1","hashtag2"]},{"1399804607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804596, 1399804600, 1399804593, 1399804602, 1399804598, 1399804607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16870093345642 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:30:02.542912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_55_10131.jpg', '/home/pi/Desktop/images/17122025/15/54/image_17122025_15_55_05_10589.jpg', '/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_15_9746.jpg', '/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_25_9775.jpg', '/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_36_10644.jpg', '/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_45_9817.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/54/image_17122025_15_54_55_10131.jpg
/home/pi/Desktop/images/17122025/15/54/image_17122025_15_55_05_10589.jpg
/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_15_9746.jpg
/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_25_9775.jpg
/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_36_10644.jpg
/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_45_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":["1399804615","1399804609","1399804617","1399804619","1399804610","1399804613"],"photo_ids_order":["1399804609","1399804610","1399804613","1399804615","1399804617","1399804619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78b2bc7cb4b40611543704afdc786029.jpg","text":"TemporaryFile(/tmp/multipartBody3931292221162916449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985463148,"filename":"image_17122025_15_55_25_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b21a20b0d2d9c05679c66add0c9893bb.jpg","text":"TemporaryFile(/tmp/multipartBody3524141584250392135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985463148,"filename":"image_17122025_15_54_55_10131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdf9b9b7cecdbf83e54c2956f2098439.jpg","text":"TemporaryFile(/tmp/multipartBody4630698226769156049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985463148,"filename":"image_17122025_15_55_36_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ee1ce2a7763e6a0a33b8c1e9d07556d.jpg","text":"TemporaryFile(/tmp/multipartBody6550850411211527034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985463148,"filename":"image_17122025_15_55_45_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c829e133293a724f747d946c1cac70e.jpg","text":"TemporaryFile(/tmp/multipartBody116984138291222975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985463148,"filename":"image_17122025_15_55_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69a59122e3250b9467927aafd6d0e4e7.jpg","text":"TemporaryFile(/tmp/multipartBody3807581182156164643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985463148,"filename":"image_17122025_15_55_15_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804613","file1":"1399804610","file0":"1399804609","file4":"1399804617","file5":"1399804619","file3":"1399804615"},"map_files_photo_id_array":[{"photo_id":"1399804619","filename":"file5"},{"photo_id":"1399804613","filename":"file2"},{"photo_id":"1399804617","filename":"file4"},{"photo_id":"1399804610","filename":"file1"},{"photo_id":"1399804609","filename":"file0"},{"photo_id":"1399804615","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804615":["hashtag1","hashtag2"]},{"1399804609":["hashtag1","hashtag2"]},{"1399804617":["hashtag1","hashtag2"]},{"1399804619":["hashtag1","hashtag2"]},{"1399804610":["hashtag1","hashtag2"]},{"1399804613":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804615, 1399804609, 1399804617, 1399804619, 1399804610, 1399804613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.94690799713135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:30:42.086115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_25_2838.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_29_3637.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_32_2544.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_34_2681.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_41_2643.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_43_2727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_25_2838.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_29_3637.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_32_2544.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_34_2681.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_41_2643.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_43_2727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804627","1399804635","1399804638","1399804640","1399804634","1399804628"],"photo_ids_order":["1399804627","1399804628","1399804634","1399804635","1399804638","1399804640"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1467f7d59564634d24fc50358b0703f2.jpg","text":"TemporaryFile(/tmp/multipartBody5093850335544235506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985508047,"filename":"image_07112025_20_19_25_2838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab4d5ac6bedd7390994093c0b680778e.jpg","text":"TemporaryFile(/tmp/multipartBody8445917574935223589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985508047,"filename":"image_07112025_20_19_34_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4a96257bf044ba79fe84c44933bb1a0.jpg","text":"TemporaryFile(/tmp/multipartBody2451936977738688904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985508047,"filename":"image_07112025_20_19_41_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/246966d460fa3579871a46cbe50c02d6.jpg","text":"TemporaryFile(/tmp/multipartBody7229898834850988144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985508047,"filename":"image_07112025_20_19_43_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ce7a30747cd986cfd5c70a7832ec2bd.jpg","text":"TemporaryFile(/tmp/multipartBody7186734004627879940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985508047,"filename":"image_07112025_20_19_32_2544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a331e6cf46b450bcc67bb538d70eda43.jpg","text":"TemporaryFile(/tmp/multipartBody8650169119146684163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985508047,"filename":"image_07112025_20_19_29_3637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804634","file1":"1399804628","file0":"1399804627","file4":"1399804638","file5":"1399804640","file3":"1399804635"},"map_files_photo_id_array":[{"photo_id":"1399804640","filename":"file5"},{"photo_id":"1399804634","filename":"file2"},{"photo_id":"1399804638","filename":"file4"},{"photo_id":"1399804628","filename":"file1"},{"photo_id":"1399804627","filename":"file0"},{"photo_id":"1399804635","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804627":["hashtag1","hashtag2"]},{"1399804635":["hashtag1","hashtag2"]},{"1399804638":["hashtag1","hashtag2"]},{"1399804640":["hashtag1","hashtag2"]},{"1399804634":["hashtag1","hashtag2"]},{"1399804628":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804627, 1399804635, 1399804638, 1399804640, 1399804634, 1399804628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.775317668914795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:31:34.150257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:31:44.126743
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_47_3653.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_50_2663.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_52_2636.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_55_2902.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_58_2785.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_05_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_47_3653.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_50_2663.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_52_2636.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_55_2902.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_58_2785.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_05_2854.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.6852493286132812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:32:02.835980
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_55_9675.jpg', '/home/pi/Desktop/images/17122025/15/55/image_17122025_15_56_05_9719.jpg', '/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_15_10671.jpg', '/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_25_9835.jpg', '/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_35_9690.jpg', '/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_45_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/55/image_17122025_15_55_55_9675.jpg
/home/pi/Desktop/images/17122025/15/55/image_17122025_15_56_05_9719.jpg
/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_15_10671.jpg
/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_25_9835.jpg
/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_35_9690.jpg
/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_45_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804662","1399804664","1399804666","1399804660","1399804663","1399804657"],"photo_ids_order":["1399804657","1399804660","1399804662","1399804663","1399804664","1399804666"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a12cf461c343963e9f705ef57a68d49c.jpg","text":"TemporaryFile(/tmp/multipartBody3972636754126528754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985583449,"filename":"image_17122025_15_56_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14a110d682feaa2c9f6fa3d96b1475ac.jpg","text":"TemporaryFile(/tmp/multipartBody3156057826400664543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985583449,"filename":"image_17122025_15_56_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52cb46c63b76f4d08e3a093d4958b6d4.jpg","text":"TemporaryFile(/tmp/multipartBody6471968715947695285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985583449,"filename":"image_17122025_15_56_45_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52c9b6f3ce8233742ecb864f587f332e.jpg","text":"TemporaryFile(/tmp/multipartBody4966946529055369694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985583449,"filename":"image_17122025_15_56_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11f5234fcf1bf67b130f7350e8d88731.jpg","text":"TemporaryFile(/tmp/multipartBody6854099808854584774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985583449,"filename":"image_17122025_15_56_25_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a86b13f84dccf72bb6cf257ed072ef37.jpg","text":"TemporaryFile(/tmp/multipartBody628091964679774461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985583449,"filename":"image_17122025_15_55_55_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804662","file1":"1399804660","file0":"1399804657","file4":"1399804664","file5":"1399804666","file3":"1399804663"},"map_files_photo_id_array":[{"photo_id":"1399804666","filename":"file5"},{"photo_id":"1399804662","filename":"file2"},{"photo_id":"1399804664","filename":"file4"},{"photo_id":"1399804660","filename":"file1"},{"photo_id":"1399804657","filename":"file0"},{"photo_id":"1399804663","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804662":["hashtag1","hashtag2"]},{"1399804664":["hashtag1","hashtag2"]},{"1399804666":["hashtag1","hashtag2"]},{"1399804660":["hashtag1","hashtag2"]},{"1399804663":["hashtag1","hashtag2"]},{"1399804657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804662, 1399804664, 1399804666, 1399804660, 1399804663, 1399804657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01136040687561 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:32:42.297995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_47_3653.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_50_2663.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_52_2636.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_55_2902.jpg', '/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_58_2785.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_05_2854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_47_3653.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_50_2663.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_52_2636.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_55_2902.jpg
/home/pi/Desktop/images/07112025/20/19/image_07112025_20_19_58_2785.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_05_2854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804683","1399804682","1399804685","1399804684","1399804681","1399804678"],"photo_ids_order":["1399804678","1399804681","1399804682","1399804683","1399804684","1399804685"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75713ea44f91a027641054c778816685.jpg","text":"TemporaryFile(/tmp/multipartBody7274899863268303876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985622909,"filename":"image_07112025_20_19_55_2902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28eda8570ec63ffa162b27ccb3a8a167.jpg","text":"TemporaryFile(/tmp/multipartBody2918293081736063482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985622909,"filename":"image_07112025_20_19_52_2636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/967aec083aa8a3fa3e14e09eac1e9865.jpg","text":"TemporaryFile(/tmp/multipartBody4187842585839378873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985622909,"filename":"image_07112025_20_20_05_2854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/148515ea6659d54c5a8f187934b964f8.jpg","text":"TemporaryFile(/tmp/multipartBody7971857187713132219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985622909,"filename":"image_07112025_20_19_58_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d0c1ad37b775d902334ace2bff3fea0.jpg","text":"TemporaryFile(/tmp/multipartBody3602297170605414545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985622909,"filename":"image_07112025_20_19_50_2663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/635e4f8b38a81595f9f891b715dc4823.jpg","text":"TemporaryFile(/tmp/multipartBody6443508024930109088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985622909,"filename":"image_07112025_20_19_47_3653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804682","file1":"1399804681","file0":"1399804678","file4":"1399804684","file5":"1399804685","file3":"1399804683"},"map_files_photo_id_array":[{"photo_id":"1399804685","filename":"file5"},{"photo_id":"1399804682","filename":"file2"},{"photo_id":"1399804684","filename":"file4"},{"photo_id":"1399804681","filename":"file1"},{"photo_id":"1399804678","filename":"file0"},{"photo_id":"1399804683","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804683":["hashtag1","hashtag2"]},{"1399804682":["hashtag1","hashtag2"]},{"1399804685":["hashtag1","hashtag2"]},{"1399804684":["hashtag1","hashtag2"]},{"1399804681":["hashtag1","hashtag2"]},{"1399804678":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804683, 1399804682, 1399804685, 1399804684, 1399804681, 1399804678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.92806053161621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:33:22.574589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_56_10782.jpg', '/home/pi/Desktop/images/17122025/15/56/image_17122025_15_57_05_9780.jpg', '/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_15_9736.jpg', '/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_25_9639.jpg', '/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_35_10565.jpg', '/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_45_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/56/image_17122025_15_56_56_10782.jpg
/home/pi/Desktop/images/17122025/15/56/image_17122025_15_57_05_9780.jpg
/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_15_9736.jpg
/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_25_9639.jpg
/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_35_10565.jpg
/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_45_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":["1399804701","1399804691","1399804694","1399804699","1399804693","1399804696"],"photo_ids_order":["1399804691","1399804693","1399804694","1399804696","1399804699","1399804701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8e0a3b6e9aa444b8a4e5f64605976eb.jpg","text":"TemporaryFile(/tmp/multipartBody3817026008790384432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985663218,"filename":"image_17122025_15_57_45_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6affa64160de546c9d9f87ba30756c82.jpg","text":"TemporaryFile(/tmp/multipartBody6614005120268294647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985663218,"filename":"image_17122025_15_56_56_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba2047c997b6cf0faa80539fd8040045.jpg","text":"TemporaryFile(/tmp/multipartBody5811117035372732990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985663218,"filename":"image_17122025_15_57_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcc167b152e13010b1ea47726efe59ab.jpg","text":"TemporaryFile(/tmp/multipartBody914254049853768846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985663218,"filename":"image_17122025_15_57_35_10565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/937f1e841591fd97d3f22b2470d32238.jpg","text":"TemporaryFile(/tmp/multipartBody3733455354710734728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985663218,"filename":"image_17122025_15_57_05_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56d9e515c9f3168a21598c6335c4e868.jpg","text":"TemporaryFile(/tmp/multipartBody5212198448251468851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985663218,"filename":"image_17122025_15_57_25_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804694","file1":"1399804693","file0":"1399804691","file4":"1399804699","file5":"1399804701","file3":"1399804696"},"map_files_photo_id_array":[{"photo_id":"1399804701","filename":"file5"},{"photo_id":"1399804694","filename":"file2"},{"photo_id":"1399804699","filename":"file4"},{"photo_id":"1399804693","filename":"file1"},{"photo_id":"1399804691","filename":"file0"},{"photo_id":"1399804696","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804701":["hashtag1","hashtag2"]},{"1399804691":["hashtag1","hashtag2"]},{"1399804694":["hashtag1","hashtag2"]},{"1399804699":["hashtag1","hashtag2"]},{"1399804693":["hashtag1","hashtag2"]},{"1399804696":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804701, 1399804691, 1399804694, 1399804699, 1399804693, 1399804696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.13817644119263 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:34:02.401004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_56_10698.jpg', '/home/pi/Desktop/images/17122025/15/57/image_17122025_15_58_05_9633.jpg', '/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_15_9693.jpg', '/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_25_10565.jpg', '/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_35_9646.jpg', '/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_45_10040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/57/image_17122025_15_57_56_10698.jpg
/home/pi/Desktop/images/17122025/15/57/image_17122025_15_58_05_9633.jpg
/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_15_9693.jpg
/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_25_10565.jpg
/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_35_9646.jpg
/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_45_10040.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804711","1399804705","1399804714","1399804704","1399804706","1399804709"],"photo_ids_order":["1399804704","1399804705","1399804706","1399804709","1399804711","1399804714"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b76b74d14b1eac34a0a8c787af98632.jpg","text":"TemporaryFile(/tmp/multipartBody2350837023218098412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985703005,"filename":"image_17122025_15_58_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4b2a5ff5ab14956120583a7d1b7e0ba.jpg","text":"TemporaryFile(/tmp/multipartBody1248048611011755639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985703005,"filename":"image_17122025_15_58_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ee453d40365976402021e5bf90e1cec.jpg","text":"TemporaryFile(/tmp/multipartBody3980140855605679092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985703005,"filename":"image_17122025_15_58_45_10040.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2813cabc413e2b91caf38e9e62a1a91.jpg","text":"TemporaryFile(/tmp/multipartBody2485828654311735610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985703005,"filename":"image_17122025_15_57_56_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/505605f6907f6bbdf3672d9c1a13a498.jpg","text":"TemporaryFile(/tmp/multipartBody6050526928440647517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985703005,"filename":"image_17122025_15_58_15_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1b18ab8e808b4e3ae9b96331f4e5b37.jpg","text":"TemporaryFile(/tmp/multipartBody1229617821665662558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985703005,"filename":"image_17122025_15_58_25_10565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804706","file1":"1399804705","file0":"1399804704","file4":"1399804711","file5":"1399804714","file3":"1399804709"},"map_files_photo_id_array":[{"photo_id":"1399804714","filename":"file5"},{"photo_id":"1399804706","filename":"file2"},{"photo_id":"1399804711","filename":"file4"},{"photo_id":"1399804705","filename":"file1"},{"photo_id":"1399804704","filename":"file0"},{"photo_id":"1399804709","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804711":["hashtag1","hashtag2"]},{"1399804705":["hashtag1","hashtag2"]},{"1399804714":["hashtag1","hashtag2"]},{"1399804704":["hashtag1","hashtag2"]},{"1399804706":["hashtag1","hashtag2"]},{"1399804709":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804711, 1399804705, 1399804714, 1399804704, 1399804706, 1399804709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63253736495972 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:34:41.903660
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_07_2718.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_11_3589.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_14_2908.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_17_2794.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_19_2595.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_25_2661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_07_2718.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_11_3589.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_14_2908.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_17_2794.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_19_2595.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_25_2661.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804732","1399804725","1399804734","1399804733","1399804727","1399804735"],"photo_ids_order":["1399804725","1399804727","1399804732","1399804733","1399804734","1399804735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99464b23178e82537832a534429a41c9.jpg","text":"TemporaryFile(/tmp/multipartBody8832113664679793761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985742650,"filename":"image_07112025_20_20_14_2908.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61a64610c6bcee8fc486f4a41b6896ae.jpg","text":"TemporaryFile(/tmp/multipartBody188429619420860926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985742650,"filename":"image_07112025_20_20_07_2718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00b1f41654eaa3581ced9cdbcb880449.jpg","text":"TemporaryFile(/tmp/multipartBody4758150371765435552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985742650,"filename":"image_07112025_20_20_19_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dc1b004904ddcdd1f92b0b7c39ec15b.jpg","text":"TemporaryFile(/tmp/multipartBody3685197996453437928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985742650,"filename":"image_07112025_20_20_17_2794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8d4d113b409a0318b774857bb38ec3b.jpg","text":"TemporaryFile(/tmp/multipartBody8933045502972859502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985742650,"filename":"image_07112025_20_20_11_3589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88d77022e9853a3475f6996e4918ec0c.jpg","text":"TemporaryFile(/tmp/multipartBody4604681362675280454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985742650,"filename":"image_07112025_20_20_25_2661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804732","file1":"1399804727","file0":"1399804725","file4":"1399804734","file5":"1399804735","file3":"1399804733"},"map_files_photo_id_array":[{"photo_id":"1399804735","filename":"file5"},{"photo_id":"1399804732","filename":"file2"},{"photo_id":"1399804734","filename":"file4"},{"photo_id":"1399804727","filename":"file1"},{"photo_id":"1399804725","filename":"file0"},{"photo_id":"1399804733","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804732":["hashtag1","hashtag2"]},{"1399804725":["hashtag1","hashtag2"]},{"1399804734":["hashtag1","hashtag2"]},{"1399804733":["hashtag1","hashtag2"]},{"1399804727":["hashtag1","hashtag2"]},{"1399804735":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804732, 1399804725, 1399804734, 1399804733, 1399804727, 1399804735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82844614982605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:35:22.140897
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_55_9898.jpg', '/home/pi/Desktop/images/17122025/15/58/image_17122025_15_59_05_9763.jpg', '/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_15_10675.jpg', '/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_25_9604.jpg', '/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_35_9724.jpg', '/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_46_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/58/image_17122025_15_58_55_9898.jpg
/home/pi/Desktop/images/17122025/15/58/image_17122025_15_59_05_9763.jpg
/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_15_10675.jpg
/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_25_9604.jpg
/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_35_9724.jpg
/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_46_10707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804743","1399804751","1399804745","1399804739","1399804747","1399804741"],"photo_ids_order":["1399804739","1399804741","1399804743","1399804745","1399804747","1399804751"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9a93696b0409cfe6e9d4eac436dcb98.jpg","text":"TemporaryFile(/tmp/multipartBody6224790959523475780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985782712,"filename":"image_17122025_15_59_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5831fb352f8dac139dd4e84dca765539.jpg","text":"TemporaryFile(/tmp/multipartBody5122767770276365214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985782712,"filename":"image_17122025_15_59_46_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45a062ceefda582ca9ab82825d5fdfae.jpg","text":"TemporaryFile(/tmp/multipartBody7162412872351075915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985782712,"filename":"image_17122025_15_59_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a1d5137b7e9b0e43c30b420d9ea74cb.jpg","text":"TemporaryFile(/tmp/multipartBody8474610878182152482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985782712,"filename":"image_17122025_15_58_55_9898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1b6fd274afb8ac007905a29c82eee2b.jpg","text":"TemporaryFile(/tmp/multipartBody1753851156326075375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985782712,"filename":"image_17122025_15_59_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9efabe7eea8728a6d7bc12ddd5230925.jpg","text":"TemporaryFile(/tmp/multipartBody1777880185741486869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985782712,"filename":"image_17122025_15_59_05_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804743","file1":"1399804741","file0":"1399804739","file4":"1399804747","file5":"1399804751","file3":"1399804745"},"map_files_photo_id_array":[{"photo_id":"1399804751","filename":"file5"},{"photo_id":"1399804743","filename":"file2"},{"photo_id":"1399804747","filename":"file4"},{"photo_id":"1399804741","filename":"file1"},{"photo_id":"1399804739","filename":"file0"},{"photo_id":"1399804745","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804743":["hashtag1","hashtag2"]},{"1399804751":["hashtag1","hashtag2"]},{"1399804745":["hashtag1","hashtag2"]},{"1399804739":["hashtag1","hashtag2"]},{"1399804747":["hashtag1","hashtag2"]},{"1399804741":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804743, 1399804751, 1399804745, 1399804739, 1399804747, 1399804741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.4911892414093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:36:02.998974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 40
2025-12-17 16:36:22.288697
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:36:45.998452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_28_2601.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_32_3624.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_34_2710.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_37_2625.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_49_8178.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_50_1629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_28_2601.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_32_3624.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_34_2710.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_37_2625.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_49_8178.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_50_1629.jpg
2025-12-17 16:36:45.998452
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804782","1399804791","1399804785","1399804787","1399804786","1399804789"],"photo_ids_order":["1399804782","1399804785","1399804786","1399804787","1399804789","1399804791"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/533d0ad3b3273c669d3c83fc1becbf5e.jpg","text":"TemporaryFile(/tmp/multipartBody1296953739435889135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985869525,"filename":"image_07112025_20_20_28_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc65546a20bc0d169485998b63d76d76.jpg","text":"TemporaryFile(/tmp/multipartBody6957856150415034902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985869525,"filename":"image_07112025_20_20_50_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f50736792a39b8c9972d3f3d8493e8cd.jpg","text":"TemporaryFile(/tmp/multipartBody7995571386108063620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985869525,"filename":"image_07112025_20_20_32_3624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79c0a09c442f2007da008b67a4934a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2850813980704423597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985869525,"filename":"image_07112025_20_20_37_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55b0f8db23694568a8d1b5960347a6bd.jpg","text":"TemporaryFile(/tmp/multipartBody2667497731865090461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985869525,"filename":"image_07112025_20_20_34_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51db81189f549f43e22c9d9599b04934.jpg","text":"TemporaryFile(/tmp/multipartBody1443553321473380154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985869525,"filename":"image_07112025_20_20_49_8178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804786","file1":"1399804785","file0":"1399804782","file4":"1399804789","file5":"1399804791","file3":"1399804787"},"map_files_photo_id_array":[{"photo_id":"1399804791","filename":"file5"},{"photo_id":"1399804786","filename":"file2"},{"photo_id":"1399804789","filename":"file4"},{"photo_id":"1399804785","filename":"file1"},{"photo_id":"1399804782","filename":"file0"},{"photo_id":"1399804787","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804782":["hashtag1","hashtag2"]},{"1399804791":["hashtag1","hashtag2"]},{"1399804785":["hashtag1","hashtag2"]},{"1399804787":["hashtag1","hashtag2"]},{"1399804786":["hashtag1","hashtag2"]},{"1399804789":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804782, 1399804791, 1399804785, 1399804787, 1399804786, 1399804789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.522815227508545 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:37:32.674578
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:37:42.605925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_52_1707.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_55_1765.jpg', '/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_58_2595.jpg', '/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_05_3677.jpg', '/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_14_2732.jpg', '/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_16_2602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_52_1707.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_55_1765.jpg
/home/pi/Desktop/images/07112025/20/20/image_07112025_20_20_58_2595.jpg
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_05_3677.jpg
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_14_2732.jpg
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_16_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":["1399804804","1399804807","1399804806","1399804805","1399804808","1399804801"],"photo_ids_order":["1399804801","1399804804","1399804805","1399804806","1399804807","1399804808"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7022d972ae53eedd19c10c8061a473a2.jpg","text":"TemporaryFile(/tmp/multipartBody6495278819838759106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985923378,"filename":"image_07112025_20_20_55_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a6a31af2d196cf363cd2cbedb0cd4bf.jpg","text":"TemporaryFile(/tmp/multipartBody5104096072316972863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985923378,"filename":"image_07112025_20_21_14_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc843eb06ed895fb80d40ed9e357d18a.jpg","text":"TemporaryFile(/tmp/multipartBody5283700313170523433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985923378,"filename":"image_07112025_20_21_05_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d0f9c58d08259aaf74cd1e1126043e0.jpg","text":"TemporaryFile(/tmp/multipartBody5878864915474412557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985923378,"filename":"image_07112025_20_20_58_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c00f4ac2e67a2e77eb3a2e06ae7416a.jpg","text":"TemporaryFile(/tmp/multipartBody5949977099658209545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985923378,"filename":"image_07112025_20_21_16_2602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c29c19205737ffb81c42cb75d2144d01.jpg","text":"TemporaryFile(/tmp/multipartBody2405648458061533519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985923378,"filename":"image_07112025_20_20_52_1707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804805","file1":"1399804804","file0":"1399804801","file4":"1399804807","file5":"1399804808","file3":"1399804806"},"map_files_photo_id_array":[{"photo_id":"1399804808","filename":"file5"},{"photo_id":"1399804805","filename":"file2"},{"photo_id":"1399804807","filename":"file4"},{"photo_id":"1399804804","filename":"file1"},{"photo_id":"1399804801","filename":"file0"},{"photo_id":"1399804806","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804804":["hashtag1","hashtag2"]},{"1399804807":["hashtag1","hashtag2"]},{"1399804806":["hashtag1","hashtag2"]},{"1399804805":["hashtag1","hashtag2"]},{"1399804808":["hashtag1","hashtag2"]},{"1399804801":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804804, 1399804807, 1399804806, 1399804805, 1399804808, 1399804801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39203882217407 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:38:23.745985
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_55_9625.jpg', '/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_15_10055.jpg', '/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_25_10627.jpg', '/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_35_9655.jpg', '/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_45_9724.jpg', '/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_55_10191.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/15/59/image_17122025_15_59_55_9625.jpg
/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_15_10055.jpg
/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_25_10627.jpg
/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_35_9655.jpg
/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_45_9724.jpg
/home/pi/Desktop/images/17122025/16/00/image_17122025_16_00_55_10191.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804819","1399804830","1399804821","1399804815","1399804823","1399804817"],"photo_ids_order":["1399804815","1399804817","1399804819","1399804821","1399804823","1399804830"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd2339b5a03db8cff0b859ca594853ed.jpg","text":"TemporaryFile(/tmp/multipartBody5996235192776608336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985964334,"filename":"image_17122025_16_00_25_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a707262f356b1ae7b4cb0eb7f2f485f2.jpg","text":"TemporaryFile(/tmp/multipartBody5426402524847974580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985964334,"filename":"image_17122025_16_00_55_10191.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5693b595e8b0957d1fe67bda19569fe2.jpg","text":"TemporaryFile(/tmp/multipartBody3120893524966138242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985964334,"filename":"image_17122025_16_00_35_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80bddcb8bf57d393baffa18e7436d126.jpg","text":"TemporaryFile(/tmp/multipartBody545496166636982768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985964334,"filename":"image_17122025_15_59_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/847e0299f9df8020ef3a3a900720458f.jpg","text":"TemporaryFile(/tmp/multipartBody4708510500424415142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985964334,"filename":"image_17122025_16_00_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ccc4f3bfebb4dab039412073cd626c0.jpg","text":"TemporaryFile(/tmp/multipartBody1617645499542185502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765985964334,"filename":"image_17122025_16_00_15_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804819","file1":"1399804817","file0":"1399804815","file4":"1399804823","file5":"1399804830","file3":"1399804821"},"map_files_photo_id_array":[{"photo_id":"1399804830","filename":"file5"},{"photo_id":"1399804819","filename":"file2"},{"photo_id":"1399804823","filename":"file4"},{"photo_id":"1399804817","filename":"file1"},{"photo_id":"1399804815","filename":"file0"},{"photo_id":"1399804821","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804819":["hashtag1","hashtag2"]},{"1399804830":["hashtag1","hashtag2"]},{"1399804821":["hashtag1","hashtag2"]},{"1399804815":["hashtag1","hashtag2"]},{"1399804823":["hashtag1","hashtag2"]},{"1399804817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804819, 1399804830, 1399804821, 1399804815, 1399804823, 1399804817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.46495032310486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:39:02.841159
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/00/image_17122025_16_01_05_9793.jpg', '/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_15_10784.jpg', '/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_25_9798.jpg', '/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_35_9849.jpg', '/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_45_9654.jpg', '/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_55_10806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/00/image_17122025_16_01_05_9793.jpg
/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_15_10784.jpg
/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_25_9798.jpg
/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_35_9849.jpg
/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_45_9654.jpg
/home/pi/Desktop/images/17122025/16/01/image_17122025_16_01_55_10806.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":["1399804842","1399804851","1399804854","1399804848","1399804844","1399804846"],"photo_ids_order":["1399804842","1399804844","1399804846","1399804848","1399804851","1399804854"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7be440a976cb87149a5e823422da5c7.jpg","text":"TemporaryFile(/tmp/multipartBody6837054883186402957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986003602,"filename":"image_17122025_16_01_05_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6dd1bca62e69f69d91be21bd3ef153f.jpg","text":"TemporaryFile(/tmp/multipartBody7933208137103130728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986003602,"filename":"image_17122025_16_01_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36b3fe6be8e5730006bfdb139f0966a3.jpg","text":"TemporaryFile(/tmp/multipartBody1622678086756172182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986003602,"filename":"image_17122025_16_01_55_10806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/624b9e6b92ace31c08e9d35ebd5ba4f1.jpg","text":"TemporaryFile(/tmp/multipartBody5476972131754914613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986003602,"filename":"image_17122025_16_01_35_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2654b32859f5174c4be3c31d40f57474.jpg","text":"TemporaryFile(/tmp/multipartBody1881793662617409407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986003602,"filename":"image_17122025_16_01_15_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c46d6969004ba7a05598ee90322bfa7.jpg","text":"TemporaryFile(/tmp/multipartBody7416544091889015219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986003602,"filename":"image_17122025_16_01_25_9798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804846","file1":"1399804844","file0":"1399804842","file4":"1399804851","file5":"1399804854","file3":"1399804848"},"map_files_photo_id_array":[{"photo_id":"1399804854","filename":"file5"},{"photo_id":"1399804846","filename":"file2"},{"photo_id":"1399804851","filename":"file4"},{"photo_id":"1399804844","filename":"file1"},{"photo_id":"1399804842","filename":"file0"},{"photo_id":"1399804848","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804842":["hashtag1","hashtag2"]},{"1399804851":["hashtag1","hashtag2"]},{"1399804854":["hashtag1","hashtag2"]},{"1399804848":["hashtag1","hashtag2"]},{"1399804844":["hashtag1","hashtag2"]},{"1399804846":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804842, 1399804851, 1399804854, 1399804848, 1399804844, 1399804846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36950993537903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:40:02.557855
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/01/image_17122025_16_02_05_9600.jpg', '/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_15_9717.jpg', '/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_25_10739.jpg', '/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_35_9787.jpg', '/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_45_9662.jpg', '/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_55_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/01/image_17122025_16_02_05_9600.jpg
/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_15_9717.jpg
/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_25_10739.jpg
/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_35_9787.jpg
/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_45_9662.jpg
/home/pi/Desktop/images/17122025/16/02/image_17122025_16_02_55_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":["1399804860","1399804863","1399804866","1399804862","1399804864","1399804861"],"photo_ids_order":["1399804860","1399804861","1399804862","1399804863","1399804864","1399804866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f91e347d43f960e4be8680abd58f779d.jpg","text":"TemporaryFile(/tmp/multipartBody1425407341381254789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986063167,"filename":"image_17122025_16_02_05_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4580fcac6854f3be3196ca2f705f7162.jpg","text":"TemporaryFile(/tmp/multipartBody2089356231618156062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986063167,"filename":"image_17122025_16_02_35_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/007f87b1594d4816f6ca3c2f54adaed9.jpg","text":"TemporaryFile(/tmp/multipartBody3674313294864674594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986063167,"filename":"image_17122025_16_02_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbc286ef368cd34eb117e889e0b65123.jpg","text":"TemporaryFile(/tmp/multipartBody6350146017263630509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986063167,"filename":"image_17122025_16_02_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f1285431f82bd8ed8a373f96c142ed8.jpg","text":"TemporaryFile(/tmp/multipartBody4792097368843547328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986063167,"filename":"image_17122025_16_02_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9057cf8750d052842bb59d7d86dd68f7.jpg","text":"TemporaryFile(/tmp/multipartBody5447011725792228835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986063167,"filename":"image_17122025_16_02_15_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804862","file1":"1399804861","file0":"1399804860","file4":"1399804864","file5":"1399804866","file3":"1399804863"},"map_files_photo_id_array":[{"photo_id":"1399804866","filename":"file5"},{"photo_id":"1399804862","filename":"file2"},{"photo_id":"1399804864","filename":"file4"},{"photo_id":"1399804861","filename":"file1"},{"photo_id":"1399804860","filename":"file0"},{"photo_id":"1399804863","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804860":["hashtag1","hashtag2"]},{"1399804863":["hashtag1","hashtag2"]},{"1399804866":["hashtag1","hashtag2"]},{"1399804862":["hashtag1","hashtag2"]},{"1399804864":["hashtag1","hashtag2"]},{"1399804861":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804860, 1399804863, 1399804866, 1399804862, 1399804864, 1399804861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59872245788574 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:40:42.046031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_20_3643.jpg', '/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_23_2781.jpg', '/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_31_2649.jpg', '/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_34_2719.jpg', '/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_40_2716.jpg', '/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_43_2732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_20_3643.jpg
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_23_2781.jpg
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_31_2649.jpg
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_34_2719.jpg
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_40_2716.jpg
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_43_2732.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804878","1399804871","1399804877","1399804876","1399804879","1399804873"],"photo_ids_order":["1399804871","1399804873","1399804876","1399804877","1399804878","1399804879"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/058f5fdbe000b2a6ba46b76fafc93935.jpg","text":"TemporaryFile(/tmp/multipartBody6859369073217815628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986102799,"filename":"image_07112025_20_21_40_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e4ac5cb0d271923a0680f3f97c12061.jpg","text":"TemporaryFile(/tmp/multipartBody6066870245838182499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986102799,"filename":"image_07112025_20_21_20_3643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/932c393a933b92802a1d88f7b61a8bb3.jpg","text":"TemporaryFile(/tmp/multipartBody7460474619270684219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986102799,"filename":"image_07112025_20_21_34_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb046e07d7f10b99a0b96adee3b1ac4f.jpg","text":"TemporaryFile(/tmp/multipartBody1185495094285992871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986102799,"filename":"image_07112025_20_21_31_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a03813aa58cfec942a8eebd4411f1fd0.jpg","text":"TemporaryFile(/tmp/multipartBody5305533766798982199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986102799,"filename":"image_07112025_20_21_43_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bffebad2991299fb62398bbe88ffdea1.jpg","text":"TemporaryFile(/tmp/multipartBody7830125802420961490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986102799,"filename":"image_07112025_20_21_23_2781.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804876","file1":"1399804873","file0":"1399804871","file4":"1399804878","file5":"1399804879","file3":"1399804877"},"map_files_photo_id_array":[{"photo_id":"1399804879","filename":"file5"},{"photo_id":"1399804876","filename":"file2"},{"photo_id":"1399804878","filename":"file4"},{"photo_id":"1399804873","filename":"file1"},{"photo_id":"1399804871","filename":"file0"},{"photo_id":"1399804877","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804878":["hashtag1","hashtag2"]},{"1399804871":["hashtag1","hashtag2"]},{"1399804877":["hashtag1","hashtag2"]},{"1399804876":["hashtag1","hashtag2"]},{"1399804879":["hashtag1","hashtag2"]},{"1399804873":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804878, 1399804871, 1399804877, 1399804876, 1399804879, 1399804873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.38196849822998 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:41:22.274873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/02/image_17122025_16_03_05_10673.jpg', '/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_15_9749.jpg', '/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_25_9650.jpg', '/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_35_10670.jpg', '/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_45_9629.jpg', '/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_55_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/02/image_17122025_16_03_05_10673.jpg
/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_15_9749.jpg
/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_25_9650.jpg
/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_35_10670.jpg
/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_45_9629.jpg
/home/pi/Desktop/images/17122025/16/03/image_17122025_16_03_55_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":["1399804881","1399804884","1399804892","1399804886","1399804882","1399804888"],"photo_ids_order":["1399804881","1399804882","1399804884","1399804886","1399804888","1399804892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42050050a47a529744e45dc4ed0aa171.jpg","text":"TemporaryFile(/tmp/multipartBody4509326628920241393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986142871,"filename":"image_17122025_16_03_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4fe4f66cdf24521138250559299ba1b8.jpg","text":"TemporaryFile(/tmp/multipartBody689239315581609720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986142871,"filename":"image_17122025_16_03_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/efc0815146841afcfe1f4356377f3db5.jpg","text":"TemporaryFile(/tmp/multipartBody6107509597207636094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986142871,"filename":"image_17122025_16_03_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19dda25da83cc980349a54d605150ff0.jpg","text":"TemporaryFile(/tmp/multipartBody1591314116092117800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986142871,"filename":"image_17122025_16_03_35_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/166aaee5684a8aa00969dc6c6121a304.jpg","text":"TemporaryFile(/tmp/multipartBody4692039506474731556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986142871,"filename":"image_17122025_16_03_15_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab819a794d534731719f8b91df4c3782.jpg","text":"TemporaryFile(/tmp/multipartBody7230955332747616205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986142871,"filename":"image_17122025_16_03_45_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804884","file1":"1399804882","file0":"1399804881","file4":"1399804888","file5":"1399804892","file3":"1399804886"},"map_files_photo_id_array":[{"photo_id":"1399804892","filename":"file5"},{"photo_id":"1399804884","filename":"file2"},{"photo_id":"1399804888","filename":"file4"},{"photo_id":"1399804882","filename":"file1"},{"photo_id":"1399804881","filename":"file0"},{"photo_id":"1399804886","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804881":["hashtag1","hashtag2"]},{"1399804884":["hashtag1","hashtag2"]},{"1399804892":["hashtag1","hashtag2"]},{"1399804886":["hashtag1","hashtag2"]},{"1399804882":["hashtag1","hashtag2"]},{"1399804888":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804881, 1399804884, 1399804892, 1399804886, 1399804882, 1399804888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69479584693909 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:42:02.946510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/03/image_17122025_16_04_05_10671.jpg', '/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_15_9862.jpg', '/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_25_9674.jpg', '/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_35_10724.jpg', '/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_45_9844.jpg', '/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_55_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/03/image_17122025_16_04_05_10671.jpg
/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_15_9862.jpg
/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_25_9674.jpg
/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_35_10724.jpg
/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_45_9844.jpg
/home/pi/Desktop/images/17122025/16/04/image_17122025_16_04_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":["1399804906","1399804905","1399804904","1399804907","1399804901","1399804909"],"photo_ids_order":["1399804901","1399804904","1399804905","1399804906","1399804907","1399804909"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42f9b57ce16a2b47e070e68c7fc0e67c.jpg","text":"TemporaryFile(/tmp/multipartBody1143436166978758456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986183601,"filename":"image_17122025_16_04_35_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf3c20d0e15e774c31cbfb02175f5016.jpg","text":"TemporaryFile(/tmp/multipartBody7228404122836934373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986183601,"filename":"image_17122025_16_04_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd22f30fdab69239bb14898cfa24bbbc.jpg","text":"TemporaryFile(/tmp/multipartBody4166724236988265860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986183601,"filename":"image_17122025_16_04_15_9862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bc6e44773e261b391977e1b954e7830.jpg","text":"TemporaryFile(/tmp/multipartBody4387484971875186478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986183601,"filename":"image_17122025_16_04_45_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ee51ec0cdabe3795ec2ed388ad9b077.jpg","text":"TemporaryFile(/tmp/multipartBody8152853071862741480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986183601,"filename":"image_17122025_16_04_05_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c07dbbc5a0f8edeec6c8684ea01e9fc1.jpg","text":"TemporaryFile(/tmp/multipartBody3654769928800988210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986183601,"filename":"image_17122025_16_04_55_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804905","file1":"1399804904","file0":"1399804901","file4":"1399804907","file5":"1399804909","file3":"1399804906"},"map_files_photo_id_array":[{"photo_id":"1399804909","filename":"file5"},{"photo_id":"1399804905","filename":"file2"},{"photo_id":"1399804907","filename":"file4"},{"photo_id":"1399804904","filename":"file1"},{"photo_id":"1399804901","filename":"file0"},{"photo_id":"1399804906","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804906":["hashtag1","hashtag2"]},{"1399804905":["hashtag1","hashtag2"]},{"1399804904":["hashtag1","hashtag2"]},{"1399804907":["hashtag1","hashtag2"]},{"1399804901":["hashtag1","hashtag2"]},{"1399804909":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804906, 1399804905, 1399804904, 1399804907, 1399804901, 1399804909)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3598792552948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:42:42.525161
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_47_4268.jpg', '/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_49_1728.jpg', '/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_02_3539.jpg', '/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_07_2626.jpg', '/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_14_3900.jpg', '/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_16_2694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_47_4268.jpg
/home/pi/Desktop/images/07112025/20/21/image_07112025_20_21_49_1728.jpg
/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_02_3539.jpg
/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_07_2626.jpg
/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_14_3900.jpg
/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_16_2694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804918","1399804920","1399804917","1399804922","1399804919","1399804915"],"photo_ids_order":["1399804915","1399804917","1399804918","1399804919","1399804920","1399804922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/533113c4e857b1d990433740856b2358.jpg","text":"TemporaryFile(/tmp/multipartBody231022681924024214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986223282,"filename":"image_07112025_20_22_02_3539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb47304432f30681b046a650978fc84c.jpg","text":"TemporaryFile(/tmp/multipartBody8115260261777223255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986223282,"filename":"image_07112025_20_22_14_3900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05120e226164ae06d06bb878c7380274.jpg","text":"TemporaryFile(/tmp/multipartBody8057550631294277942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986223282,"filename":"image_07112025_20_21_49_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/249991109931aef282fef787bf89856d.jpg","text":"TemporaryFile(/tmp/multipartBody920490827570155042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986223282,"filename":"image_07112025_20_22_16_2694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b988c8ccbac2d70c8e46dd2895be2e55.jpg","text":"TemporaryFile(/tmp/multipartBody1978865070804971723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986223282,"filename":"image_07112025_20_22_07_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbfa9b392ebd37ae9ea94c8462548d7c.jpg","text":"TemporaryFile(/tmp/multipartBody1858539170754855344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986223282,"filename":"image_07112025_20_21_47_4268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804918","file1":"1399804917","file0":"1399804915","file4":"1399804920","file5":"1399804922","file3":"1399804919"},"map_files_photo_id_array":[{"photo_id":"1399804922","filename":"file5"},{"photo_id":"1399804918","filename":"file2"},{"photo_id":"1399804920","filename":"file4"},{"photo_id":"1399804917","filename":"file1"},{"photo_id":"1399804915","filename":"file0"},{"photo_id":"1399804919","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804918":["hashtag1","hashtag2"]},{"1399804920":["hashtag1","hashtag2"]},{"1399804917":["hashtag1","hashtag2"]},{"1399804922":["hashtag1","hashtag2"]},{"1399804919":["hashtag1","hashtag2"]},{"1399804915":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804918, 1399804920, 1399804917, 1399804922, 1399804919, 1399804915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77582240104675 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:43:22.765241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_15_10056.jpg', '/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_25_10696.jpg', '/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_35_9569.jpg', '/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_45_10609.jpg', '/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_55_9638.jpg', '/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_05_10363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_15_10056.jpg
/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_25_10696.jpg
/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_35_9569.jpg
/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_45_10609.jpg
/home/pi/Desktop/images/17122025/16/05/image_17122025_16_05_55_9638.jpg
/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_05_10363.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804935","1399804940","1399804937","1399804931","1399804928","1399804933"],"photo_ids_order":["1399804928","1399804931","1399804933","1399804935","1399804937","1399804940"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d73c1540d41f58f744e03bc923cf683.jpg","text":"TemporaryFile(/tmp/multipartBody762201658520755857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986263400,"filename":"image_17122025_16_05_45_10609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d19a53c34a6d7365c35d1a4962efcc3.jpg","text":"TemporaryFile(/tmp/multipartBody2964127366478555056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986263400,"filename":"image_17122025_16_06_05_10363.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/151fea97c817a09367300afb828539bd.jpg","text":"TemporaryFile(/tmp/multipartBody2078925666089835221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986263400,"filename":"image_17122025_16_05_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd00f70e8a7cadfada859721bcacc0a0.jpg","text":"TemporaryFile(/tmp/multipartBody1613327621296142194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986263400,"filename":"image_17122025_16_05_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdde1764b0cea0ba0a1c32b8c9ea80c1.jpg","text":"TemporaryFile(/tmp/multipartBody2821299077474104600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986263400,"filename":"image_17122025_16_05_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26ec3eb5db6d833e4bb58aa2c049f230.jpg","text":"TemporaryFile(/tmp/multipartBody2452898851941150559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986263400,"filename":"image_17122025_16_05_35_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804933","file1":"1399804931","file0":"1399804928","file4":"1399804937","file5":"1399804940","file3":"1399804935"},"map_files_photo_id_array":[{"photo_id":"1399804940","filename":"file5"},{"photo_id":"1399804933","filename":"file2"},{"photo_id":"1399804937","filename":"file4"},{"photo_id":"1399804931","filename":"file1"},{"photo_id":"1399804928","filename":"file0"},{"photo_id":"1399804935","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804935":["hashtag1","hashtag2"]},{"1399804940":["hashtag1","hashtag2"]},{"1399804937":["hashtag1","hashtag2"]},{"1399804931":["hashtag1","hashtag2"]},{"1399804928":["hashtag1","hashtag2"]},{"1399804933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804935, 1399804940, 1399804937, 1399804931, 1399804928, 1399804933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.045798778533936 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:44:02.502717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_15_9644.jpg', '/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_25_9788.jpg', '/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_35_9748.jpg', '/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_45_10729.jpg', '/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_55_9763.jpg', '/home/pi/Desktop/images/17122025/16/06/image_17122025_16_07_05_9539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_15_9644.jpg
/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_25_9788.jpg
/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_35_9748.jpg
/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_45_10729.jpg
/home/pi/Desktop/images/17122025/16/06/image_17122025_16_06_55_9763.jpg
/home/pi/Desktop/images/17122025/16/06/image_17122025_16_07_05_9539.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804950","1399804944","1399804953","1399804947","1399804943","1399804942"],"photo_ids_order":["1399804942","1399804943","1399804944","1399804947","1399804950","1399804953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3112d755ab8dcc7962272537d16a4321.jpg","text":"TemporaryFile(/tmp/multipartBody6070156436121797704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986303166,"filename":"image_17122025_16_06_55_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f68f18d55f45199973bdf871f8386f0.jpg","text":"TemporaryFile(/tmp/multipartBody435827776081811872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986303166,"filename":"image_17122025_16_06_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e96921a55cdf71955db4070c7d8c36f.jpg","text":"TemporaryFile(/tmp/multipartBody7662891814957033368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986303166,"filename":"image_17122025_16_07_05_9539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38c596688a46bf5f8dd573f7eb2e3a29.jpg","text":"TemporaryFile(/tmp/multipartBody351672588377601384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986303166,"filename":"image_17122025_16_06_45_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfc0fc446bb27acd75cd59c5a056ffb5.jpg","text":"TemporaryFile(/tmp/multipartBody1239802435751754226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986303166,"filename":"image_17122025_16_06_25_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e12cecbe39b3c5c85cbfc4e4bfc01efe.jpg","text":"TemporaryFile(/tmp/multipartBody8654273112190730230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986303166,"filename":"image_17122025_16_06_15_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804944","file1":"1399804943","file0":"1399804942","file4":"1399804950","file5":"1399804953","file3":"1399804947"},"map_files_photo_id_array":[{"photo_id":"1399804953","filename":"file5"},{"photo_id":"1399804944","filename":"file2"},{"photo_id":"1399804950","filename":"file4"},{"photo_id":"1399804943","filename":"file1"},{"photo_id":"1399804942","filename":"file0"},{"photo_id":"1399804947","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804950":["hashtag1","hashtag2"]},{"1399804944":["hashtag1","hashtag2"]},{"1399804953":["hashtag1","hashtag2"]},{"1399804947":["hashtag1","hashtag2"]},{"1399804943":["hashtag1","hashtag2"]},{"1399804942":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804950, 1399804944, 1399804953, 1399804947, 1399804943, 1399804942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.225746870040894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:44:41.878953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_19_2765.jpg', '/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_25_5491.jpg', '/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_29_1722.jpg', '/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_58_8155.jpg', '/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_59_1654.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_01_1670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_19_2765.jpg
/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_25_5491.jpg
/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_29_1722.jpg
/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_58_8155.jpg
/home/pi/Desktop/images/07112025/20/22/image_07112025_20_22_59_1654.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_01_1670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804980","1399804983","1399804985","1399804988","1399804987","1399804966"],"photo_ids_order":["1399804966","1399804980","1399804983","1399804985","1399804987","1399804988"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e9e68d30efb94a4ff2dfcd97df20799.jpg","text":"TemporaryFile(/tmp/multipartBody2057326205978042910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986342631,"filename":"image_07112025_20_22_25_5491.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f6f9e108279506d1b33de19913c8d9d.jpg","text":"TemporaryFile(/tmp/multipartBody1810310849221798410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986342631,"filename":"image_07112025_20_22_29_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/914b8768e68e9e1468726625096cf1f9.jpg","text":"TemporaryFile(/tmp/multipartBody3513096753737465944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986342631,"filename":"image_07112025_20_22_58_8155.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c02dd576429869c5b9b8e7d90d6971fe.jpg","text":"TemporaryFile(/tmp/multipartBody6903204802688420396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986342631,"filename":"image_07112025_20_23_01_1670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e88a398b1facc007f0b9b5d6ce843748.jpg","text":"TemporaryFile(/tmp/multipartBody8253127765430685078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986342631,"filename":"image_07112025_20_22_59_1654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/006f69b64e05296aea65f6e0778c2dc1.jpg","text":"TemporaryFile(/tmp/multipartBody5311713275195236374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986342631,"filename":"image_07112025_20_22_19_2765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804983","file1":"1399804980","file0":"1399804966","file4":"1399804987","file5":"1399804988","file3":"1399804985"},"map_files_photo_id_array":[{"photo_id":"1399804988","filename":"file5"},{"photo_id":"1399804983","filename":"file2"},{"photo_id":"1399804987","filename":"file4"},{"photo_id":"1399804980","filename":"file1"},{"photo_id":"1399804966","filename":"file0"},{"photo_id":"1399804985","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399804980":["hashtag1","hashtag2"]},{"1399804983":["hashtag1","hashtag2"]},{"1399804985":["hashtag1","hashtag2"]},{"1399804988":["hashtag1","hashtag2"]},{"1399804987":["hashtag1","hashtag2"]},{"1399804966":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399804980, 1399804983, 1399804985, 1399804988, 1399804987, 1399804966)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.874977588653564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:45:22.138945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_15_10811.jpg', '/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_25_9698.jpg', '/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_35_9804.jpg', '/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_45_9619.jpg', '/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_55_10812.jpg', '/home/pi/Desktop/images/17122025/16/07/image_17122025_16_08_05_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_15_10811.jpg
/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_25_9698.jpg
/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_35_9804.jpg
/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_45_9619.jpg
/home/pi/Desktop/images/17122025/16/07/image_17122025_16_07_55_10812.jpg
/home/pi/Desktop/images/17122025/16/07/image_17122025_16_08_05_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399804992","1399804995","1399805004","1399805001","1399804997","1399804999"],"photo_ids_order":["1399804992","1399804995","1399804997","1399804999","1399805001","1399805004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3704f8a280e77234bfcbda89b1b5d70c.jpg","text":"TemporaryFile(/tmp/multipartBody4983250348809613520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986382736,"filename":"image_17122025_16_07_15_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/581ba5746d85c5a867637accb609a0bc.jpg","text":"TemporaryFile(/tmp/multipartBody8819389328356596868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986382736,"filename":"image_17122025_16_07_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a41e63dfe8a99a8f4965136b0b9b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody9143616920079937113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986382736,"filename":"image_17122025_16_08_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7497e85a313b9cec809d037dc735df7.jpg","text":"TemporaryFile(/tmp/multipartBody2510061363031888918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986382736,"filename":"image_17122025_16_07_55_10812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0aba078f127d0a3ea8a639adb9c4138d.jpg","text":"TemporaryFile(/tmp/multipartBody2001702556206559939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986382736,"filename":"image_17122025_16_07_35_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59c973ff3328eea153e0f7d34be18b36.jpg","text":"TemporaryFile(/tmp/multipartBody597725524604042284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986382736,"filename":"image_17122025_16_07_45_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399804997","file1":"1399804995","file0":"1399804992","file4":"1399805001","file5":"1399805004","file3":"1399804999"},"map_files_photo_id_array":[{"photo_id":"1399805004","filename":"file5"},{"photo_id":"1399804997","filename":"file2"},{"photo_id":"1399805001","filename":"file4"},{"photo_id":"1399804995","filename":"file1"},{"photo_id":"1399804992","filename":"file0"},{"photo_id":"1399804999","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399804992":["hashtag1","hashtag2"]},{"1399804995":["hashtag1","hashtag2"]},{"1399805004":["hashtag1","hashtag2"]},{"1399805001":["hashtag1","hashtag2"]},{"1399804997":["hashtag1","hashtag2"]},{"1399804999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399804992, 1399804995, 1399805004, 1399805001, 1399804997, 1399804999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23810267448425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:46:02.751930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 16:46:12.271517
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:46:22.290480
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_15_9695.jpg', '/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_25_9952.jpg', '/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_35_10681.jpg', '/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_45_9610.jpg', '/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_55_9943.jpg', '/home/pi/Desktop/images/17122025/16/08/image_17122025_16_09_05_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_15_9695.jpg
/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_25_9952.jpg
/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_35_10681.jpg
/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_45_9610.jpg
/home/pi/Desktop/images/17122025/16/08/image_17122025_16_08_55_9943.jpg
/home/pi/Desktop/images/17122025/16/08/image_17122025_16_09_05_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":["1399805037","1399805084","1399805016","1399805072","1399805056","1399805017"],"photo_ids_order":["1399805016","1399805017","1399805037","1399805056","1399805072","1399805084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/817b926dcb4db2a6b10c26092ad81564.jpg","text":"TemporaryFile(/tmp/multipartBody1944407893109831772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986442826,"filename":"image_17122025_16_08_35_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6488aa45b2938ba51e7a8a259ad7cf41.jpg","text":"TemporaryFile(/tmp/multipartBody5095513338492877197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986442826,"filename":"image_17122025_16_09_05_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/410a016873a809efac3c4e46e24d5367.jpg","text":"TemporaryFile(/tmp/multipartBody2273501059816385673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986442826,"filename":"image_17122025_16_08_15_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/000cd55956050c4517bd965fb723ef44.jpg","text":"TemporaryFile(/tmp/multipartBody57956429778164669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986442826,"filename":"image_17122025_16_08_55_9943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ae2c885a9622dd7a09c414abfafe72d.jpg","text":"TemporaryFile(/tmp/multipartBody6195919655744551183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986442826,"filename":"image_17122025_16_08_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5760fd863054a2503d62f3bd107502b.jpg","text":"TemporaryFile(/tmp/multipartBody4971986823837372356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986442826,"filename":"image_17122025_16_08_25_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805037","file1":"1399805017","file0":"1399805016","file4":"1399805072","file5":"1399805084","file3":"1399805056"},"map_files_photo_id_array":[{"photo_id":"1399805084","filename":"file5"},{"photo_id":"1399805037","filename":"file2"},{"photo_id":"1399805072","filename":"file4"},{"photo_id":"1399805017","filename":"file1"},{"photo_id":"1399805016","filename":"file0"},{"photo_id":"1399805056","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805037":["hashtag1","hashtag2"]},{"1399805084":["hashtag1","hashtag2"]},{"1399805016":["hashtag1","hashtag2"]},{"1399805072":["hashtag1","hashtag2"]},{"1399805056":["hashtag1","hashtag2"]},{"1399805017":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805037, 1399805084, 1399805016, 1399805072, 1399805056, 1399805017)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15531086921692 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:47:03.306253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_15_10668.jpg', '/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_25_9623.jpg', '/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_35_9706.jpg', '/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_45_10634.jpg', '/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_55_9640.jpg', '/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_15_10668.jpg
/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_25_9623.jpg
/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_35_9706.jpg
/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_45_10634.jpg
/home/pi/Desktop/images/17122025/16/09/image_17122025_16_09_55_9640.jpg
/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_14_10053.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805103","1399805106","1399805102","1399805098","1399805101","1399805104"],"photo_ids_order":["1399805098","1399805101","1399805102","1399805103","1399805104","1399805106"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/843e669c29135971ee1b7e798ae84f69.jpg","text":"TemporaryFile(/tmp/multipartBody7023578425160051922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986483921,"filename":"image_17122025_16_09_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db1b540de9ce93b041a170635b73ad0e.jpg","text":"TemporaryFile(/tmp/multipartBody7125343047821137275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986483921,"filename":"image_17122025_16_10_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fd495d5a4a656cf27bdc44c3a897b94.jpg","text":"TemporaryFile(/tmp/multipartBody79487532493008725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986483921,"filename":"image_17122025_16_09_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/848520a284250e704d5ae4ee4b14b6a6.jpg","text":"TemporaryFile(/tmp/multipartBody3900490825313708913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986483921,"filename":"image_17122025_16_09_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ce0dcc22b45f7435b52d26b4988d4f0.jpg","text":"TemporaryFile(/tmp/multipartBody5392232143289472197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986483921,"filename":"image_17122025_16_09_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b87c3b3bbeb6bff5308519184587cba8.jpg","text":"TemporaryFile(/tmp/multipartBody3932862806006807959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986483921,"filename":"image_17122025_16_09_55_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805102","file1":"1399805101","file0":"1399805098","file4":"1399805104","file5":"1399805106","file3":"1399805103"},"map_files_photo_id_array":[{"photo_id":"1399805106","filename":"file5"},{"photo_id":"1399805102","filename":"file2"},{"photo_id":"1399805104","filename":"file4"},{"photo_id":"1399805101","filename":"file1"},{"photo_id":"1399805098","filename":"file0"},{"photo_id":"1399805103","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805103":["hashtag1","hashtag2"]},{"1399805106":["hashtag1","hashtag2"]},{"1399805102":["hashtag1","hashtag2"]},{"1399805098":["hashtag1","hashtag2"]},{"1399805101":["hashtag1","hashtag2"]},{"1399805104":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805103, 1399805106, 1399805102, 1399805098, 1399805101, 1399805104)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.59223961830139 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:47:42.627580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_03_1564.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_04_1608.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_09_4365.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_12_1549.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_24_1634.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_25_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_03_1564.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_04_1608.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_09_4365.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_12_1549.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_24_1634.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_25_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":["1399805112","1399805132","1399805135","1399805126","1399805125","1399805134"],"photo_ids_order":["1399805112","1399805125","1399805126","1399805132","1399805134","1399805135"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/082baf244edc4b850626f8d91e30338a.jpg","text":"TemporaryFile(/tmp/multipartBody3485235210689102364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986523377,"filename":"image_07112025_20_23_03_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25669bfbf436c9125ed77f402131499c.jpg","text":"TemporaryFile(/tmp/multipartBody8750160460845256943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986523377,"filename":"image_07112025_20_23_12_1549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e675786cde5e2d8d0101a6872d9c3f9a.jpg","text":"TemporaryFile(/tmp/multipartBody8865027181325510328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986523377,"filename":"image_07112025_20_23_25_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b29fcaf2fff1c7b301387f6a19c56fc.jpg","text":"TemporaryFile(/tmp/multipartBody6599204483460647966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986523377,"filename":"image_07112025_20_23_09_4365.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/803994fc28214c8decb5db40cda4938d.jpg","text":"TemporaryFile(/tmp/multipartBody3106723523408638397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986523377,"filename":"image_07112025_20_23_04_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b664e1f517c809ff1c816dad85b7941b.jpg","text":"TemporaryFile(/tmp/multipartBody4178317665283125249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986523377,"filename":"image_07112025_20_23_24_1634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805126","file1":"1399805125","file0":"1399805112","file4":"1399805134","file5":"1399805135","file3":"1399805132"},"map_files_photo_id_array":[{"photo_id":"1399805135","filename":"file5"},{"photo_id":"1399805126","filename":"file2"},{"photo_id":"1399805134","filename":"file4"},{"photo_id":"1399805125","filename":"file1"},{"photo_id":"1399805112","filename":"file0"},{"photo_id":"1399805132","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399805112":["hashtag1","hashtag2"]},{"1399805132":["hashtag1","hashtag2"]},{"1399805135":["hashtag1","hashtag2"]},{"1399805126":["hashtag1","hashtag2"]},{"1399805125":["hashtag1","hashtag2"]},{"1399805134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399805112, 1399805132, 1399805135, 1399805126, 1399805125, 1399805134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14156103134155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:48:21.903254
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_25_10762.jpg', '/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_35_9713.jpg', '/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_44_9560.jpg', '/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_55_10629.jpg', '/home/pi/Desktop/images/17122025/16/10/image_17122025_16_11_04_9665.jpg', '/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_14_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_25_10762.jpg
/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_35_9713.jpg
/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_44_9560.jpg
/home/pi/Desktop/images/17122025/16/10/image_17122025_16_10_55_10629.jpg
/home/pi/Desktop/images/17122025/16/10/image_17122025_16_11_04_9665.jpg
/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_14_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":["1399805136","1399805139","1399805147","1399805141","1399805143","1399805137"],"photo_ids_order":["1399805136","1399805137","1399805139","1399805141","1399805143","1399805147"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf9bbd4d30f8f71b278bd7ff93058981.jpg","text":"TemporaryFile(/tmp/multipartBody7504457315081841103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986562491,"filename":"image_17122025_16_10_25_10762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/159977ef23bfeaf2f3dee767bb1cde58.jpg","text":"TemporaryFile(/tmp/multipartBody6588651039608021915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986562491,"filename":"image_17122025_16_10_44_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11fefcd8f76c483311a92bd8db617d8c.jpg","text":"TemporaryFile(/tmp/multipartBody2175409390431590998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986562491,"filename":"image_17122025_16_11_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2df885246d892af2065657b26a2b991e.jpg","text":"TemporaryFile(/tmp/multipartBody4390430352999070989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986562491,"filename":"image_17122025_16_10_55_10629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f307c56daa478dce87837a3095b08f36.jpg","text":"TemporaryFile(/tmp/multipartBody2709174743011950530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986562491,"filename":"image_17122025_16_11_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1dabda0900ef0aa7e71117caed5779a8.jpg","text":"TemporaryFile(/tmp/multipartBody2480737454147170365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986562491,"filename":"image_17122025_16_10_35_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805139","file1":"1399805137","file0":"1399805136","file4":"1399805143","file5":"1399805147","file3":"1399805141"},"map_files_photo_id_array":[{"photo_id":"1399805147","filename":"file5"},{"photo_id":"1399805139","filename":"file2"},{"photo_id":"1399805143","filename":"file4"},{"photo_id":"1399805137","filename":"file1"},{"photo_id":"1399805136","filename":"file0"},{"photo_id":"1399805141","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805136":["hashtag1","hashtag2"]},{"1399805139":["hashtag1","hashtag2"]},{"1399805147":["hashtag1","hashtag2"]},{"1399805141":["hashtag1","hashtag2"]},{"1399805143":["hashtag1","hashtag2"]},{"1399805137":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805136, 1399805139, 1399805147, 1399805141, 1399805143, 1399805137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56168723106384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:49:03.164854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_25_10526.jpg', '/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_34_9766.jpg', '/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_44_9789.jpg', '/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_54_9878.jpg', '/home/pi/Desktop/images/17122025/16/11/image_17122025_16_12_05_10743.jpg', '/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_14_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_25_10526.jpg
/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_34_9766.jpg
/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_44_9789.jpg
/home/pi/Desktop/images/17122025/16/11/image_17122025_16_11_54_9878.jpg
/home/pi/Desktop/images/17122025/16/11/image_17122025_16_12_05_10743.jpg
/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_14_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805169","1399805165","1399805162","1399805164","1399805167","1399805166"],"photo_ids_order":["1399805162","1399805164","1399805165","1399805166","1399805167","1399805169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5bfacca7db0c9ef5768b455bc0e0315.jpg","text":"TemporaryFile(/tmp/multipartBody5583709557313526341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986603875,"filename":"image_17122025_16_12_14_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ecbb41bd62cca822db156db4cfb1768.jpg","text":"TemporaryFile(/tmp/multipartBody8560108953098445116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986603875,"filename":"image_17122025_16_11_44_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64f81d6172c6e505f0bce2f1d94391d3.jpg","text":"TemporaryFile(/tmp/multipartBody4664945547262321490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986603875,"filename":"image_17122025_16_11_25_10526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec1a896931e9ba981409c8564f8475b4.jpg","text":"TemporaryFile(/tmp/multipartBody633597186119757715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986603875,"filename":"image_17122025_16_11_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d79179cad7699a1bb804c25e5ce46248.jpg","text":"TemporaryFile(/tmp/multipartBody3210750424704455214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986603875,"filename":"image_17122025_16_12_05_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe0b70209f787428b8f0579ffa1c2a08.jpg","text":"TemporaryFile(/tmp/multipartBody7624619561451530017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986603875,"filename":"image_17122025_16_11_54_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805165","file1":"1399805164","file0":"1399805162","file4":"1399805167","file5":"1399805169","file3":"1399805166"},"map_files_photo_id_array":[{"photo_id":"1399805169","filename":"file5"},{"photo_id":"1399805165","filename":"file2"},{"photo_id":"1399805167","filename":"file4"},{"photo_id":"1399805164","filename":"file1"},{"photo_id":"1399805162","filename":"file0"},{"photo_id":"1399805166","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805169":["hashtag1","hashtag2"]},{"1399805165":["hashtag1","hashtag2"]},{"1399805162":["hashtag1","hashtag2"]},{"1399805164":["hashtag1","hashtag2"]},{"1399805167":["hashtag1","hashtag2"]},{"1399805166":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805169, 1399805165, 1399805162, 1399805164, 1399805167, 1399805166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98401856422424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:49:42.207826
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_29_1664.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_32_1765.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_45_3434.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_47_1689.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_52_1775.jpg', '/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_58_5978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_29_1664.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_32_1765.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_45_3434.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_47_1689.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_52_1775.jpg
/home/pi/Desktop/images/07112025/20/23/image_07112025_20_23_58_5978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805181","1399805178","1399805177","1399805180","1399805174","1399805179"],"photo_ids_order":["1399805174","1399805177","1399805178","1399805179","1399805180","1399805181"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7c308691e45a53225a56e71cdd825b7.jpg","text":"TemporaryFile(/tmp/multipartBody3340335878859306432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986642957,"filename":"image_07112025_20_23_58_5978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9192cfb42f29335bd7ab446f93791e94.jpg","text":"TemporaryFile(/tmp/multipartBody7109326903574372551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986642957,"filename":"image_07112025_20_23_45_3434.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e1645085ccf481ecae4bf0876f1e44e.jpg","text":"TemporaryFile(/tmp/multipartBody8168820857787086578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986642957,"filename":"image_07112025_20_23_32_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c23f4a25b045f5d8ec32a30b9173187.jpg","text":"TemporaryFile(/tmp/multipartBody690031914382342145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986642957,"filename":"image_07112025_20_23_52_1775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c7201f598b686b433fe4f53b6ec34af.jpg","text":"TemporaryFile(/tmp/multipartBody24936209204973512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986642957,"filename":"image_07112025_20_23_29_1664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/175531c81826c4217d6f13fb99dbbde8.jpg","text":"TemporaryFile(/tmp/multipartBody5866911612540984066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986642957,"filename":"image_07112025_20_23_47_1689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805178","file1":"1399805177","file0":"1399805174","file4":"1399805180","file5":"1399805181","file3":"1399805179"},"map_files_photo_id_array":[{"photo_id":"1399805181","filename":"file5"},{"photo_id":"1399805178","filename":"file2"},{"photo_id":"1399805180","filename":"file4"},{"photo_id":"1399805177","filename":"file1"},{"photo_id":"1399805174","filename":"file0"},{"photo_id":"1399805179","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399805181":["hashtag1","hashtag2"]},{"1399805178":["hashtag1","hashtag2"]},{"1399805177":["hashtag1","hashtag2"]},{"1399805180":["hashtag1","hashtag2"]},{"1399805174":["hashtag1","hashtag2"]},{"1399805179":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399805181, 1399805178, 1399805177, 1399805180, 1399805174, 1399805179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.10560655593872 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:50:22.555661
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_24_9689.jpg', '/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_35_10826.jpg', '/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_45_9860.jpg', '/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_54_9583.jpg', '/home/pi/Desktop/images/17122025/16/12/image_17122025_16_13_04_9678.jpg', '/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_15_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_24_9689.jpg
/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_35_10826.jpg
/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_45_9860.jpg
/home/pi/Desktop/images/17122025/16/12/image_17122025_16_12_54_9583.jpg
/home/pi/Desktop/images/17122025/16/12/image_17122025_16_13_04_9678.jpg
/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_15_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805188","1399805182","1399805190","1399805184","1399805193","1399805187"],"photo_ids_order":["1399805182","1399805184","1399805187","1399805188","1399805190","1399805193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9527a9bdc90abbbaf11cb2cbcc969ec4.jpg","text":"TemporaryFile(/tmp/multipartBody6804256364739041932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986683145,"filename":"image_17122025_16_12_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60175379b88cae23bc90f5cd89509b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1760468810030801235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986683145,"filename":"image_17122025_16_12_24_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c477e1b78bea6ea3d678777fa7f210e.jpg","text":"TemporaryFile(/tmp/multipartBody241139535755725868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986683145,"filename":"image_17122025_16_13_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8cec6ff8ebe585fe61919fc144f92a7.jpg","text":"TemporaryFile(/tmp/multipartBody5920932991135126542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986683145,"filename":"image_17122025_16_12_35_10826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b78ac2b3720c40a1a0ba6accc9d0321.jpg","text":"TemporaryFile(/tmp/multipartBody5089717601751078125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986683145,"filename":"image_17122025_16_13_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c5b1a3b389f927aa77cc87771c920aa.jpg","text":"TemporaryFile(/tmp/multipartBody5792734411479193424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986683145,"filename":"image_17122025_16_12_45_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805187","file1":"1399805184","file0":"1399805182","file4":"1399805190","file5":"1399805193","file3":"1399805188"},"map_files_photo_id_array":[{"photo_id":"1399805193","filename":"file5"},{"photo_id":"1399805187","filename":"file2"},{"photo_id":"1399805190","filename":"file4"},{"photo_id":"1399805184","filename":"file1"},{"photo_id":"1399805182","filename":"file0"},{"photo_id":"1399805188","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805188":["hashtag1","hashtag2"]},{"1399805182":["hashtag1","hashtag2"]},{"1399805190":["hashtag1","hashtag2"]},{"1399805184":["hashtag1","hashtag2"]},{"1399805193":["hashtag1","hashtag2"]},{"1399805187":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805188, 1399805182, 1399805190, 1399805184, 1399805193, 1399805187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.50851655006409 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:51:03.339737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_24_9845.jpg', '/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_34_9750.jpg', '/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_44_9788.jpg', '/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_55_10665.jpg', '/home/pi/Desktop/images/17122025/16/13/image_17122025_16_14_04_9634.jpg', '/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_14_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_24_9845.jpg
/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_34_9750.jpg
/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_44_9788.jpg
/home/pi/Desktop/images/17122025/16/13/image_17122025_16_13_55_10665.jpg
/home/pi/Desktop/images/17122025/16/13/image_17122025_16_14_04_9634.jpg
/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_14_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":["1399805220","1399805217","1399805213","1399805216","1399805218","1399805215"],"photo_ids_order":["1399805213","1399805215","1399805216","1399805217","1399805218","1399805220"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ddc053143d395cc4be266b36444a572.jpg","text":"TemporaryFile(/tmp/multipartBody3353453228681964216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986723981,"filename":"image_17122025_16_14_14_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d28d210b9acfbc7843e4439481f3339.jpg","text":"TemporaryFile(/tmp/multipartBody5275724232420829599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986723981,"filename":"image_17122025_16_13_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca2a772e0f0c054858f53346de10d6fa.jpg","text":"TemporaryFile(/tmp/multipartBody505396508522480674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986723981,"filename":"image_17122025_16_13_24_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/941480390d2349b2e23464d95278c0c5.jpg","text":"TemporaryFile(/tmp/multipartBody1225259141133330765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986723981,"filename":"image_17122025_16_13_44_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5346b5e1a8213b3c9b0cc59d3c0f5df0.jpg","text":"TemporaryFile(/tmp/multipartBody6659792644551397583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986723981,"filename":"image_17122025_16_14_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/380441f5434629ce52ccb6fb150dafbc.jpg","text":"TemporaryFile(/tmp/multipartBody8930388870218822640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986723981,"filename":"image_17122025_16_13_34_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805216","file1":"1399805215","file0":"1399805213","file4":"1399805218","file5":"1399805220","file3":"1399805217"},"map_files_photo_id_array":[{"photo_id":"1399805220","filename":"file5"},{"photo_id":"1399805216","filename":"file2"},{"photo_id":"1399805218","filename":"file4"},{"photo_id":"1399805215","filename":"file1"},{"photo_id":"1399805213","filename":"file0"},{"photo_id":"1399805217","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805220":["hashtag1","hashtag2"]},{"1399805217":["hashtag1","hashtag2"]},{"1399805213":["hashtag1","hashtag2"]},{"1399805216":["hashtag1","hashtag2"]},{"1399805218":["hashtag1","hashtag2"]},{"1399805215":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805220, 1399805217, 1399805213, 1399805216, 1399805218, 1399805215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62141275405884 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:51:42.680440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_15_1564.jpg', '/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_20_1666.jpg', '/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_24_4523.jpg', '/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_26_1581.jpg', '/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_28_1728.jpg', '/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_37_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_15_1564.jpg
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_20_1666.jpg
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_24_4523.jpg
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_26_1581.jpg
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_28_1728.jpg
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_37_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":["1399805232","1399805231","1399805225","1399805228","1399805230","1399805233"],"photo_ids_order":["1399805225","1399805228","1399805230","1399805231","1399805232","1399805233"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0a385b66d7b7eb26c62f29b544e4109.jpg","text":"TemporaryFile(/tmp/multipartBody37243280777514105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986763429,"filename":"image_07112025_20_24_28_1728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbfcfdd576156ff9a314a84315abef1e.jpg","text":"TemporaryFile(/tmp/multipartBody156804061071296664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986763429,"filename":"image_07112025_20_24_26_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/197a2b44ecf297d117a091cfd06ee7f1.jpg","text":"TemporaryFile(/tmp/multipartBody8612112892821309962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986763429,"filename":"image_07112025_20_24_15_1564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68174cf544272100d9a22656815e9208.jpg","text":"TemporaryFile(/tmp/multipartBody7847815263950099245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986763429,"filename":"image_07112025_20_24_20_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/093b745e0af93176815834f5a3914338.jpg","text":"TemporaryFile(/tmp/multipartBody2281210046451547258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986763429,"filename":"image_07112025_20_24_24_4523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0cb34653f81b7fc2e29d9435ccda8f4.jpg","text":"TemporaryFile(/tmp/multipartBody7646115019361171033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986763429,"filename":"image_07112025_20_24_37_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805230","file1":"1399805228","file0":"1399805225","file4":"1399805232","file5":"1399805233","file3":"1399805231"},"map_files_photo_id_array":[{"photo_id":"1399805233","filename":"file5"},{"photo_id":"1399805230","filename":"file2"},{"photo_id":"1399805232","filename":"file4"},{"photo_id":"1399805228","filename":"file1"},{"photo_id":"1399805225","filename":"file0"},{"photo_id":"1399805231","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399805232":["hashtag1","hashtag2"]},{"1399805231":["hashtag1","hashtag2"]},{"1399805225":["hashtag1","hashtag2"]},{"1399805228":["hashtag1","hashtag2"]},{"1399805230":["hashtag1","hashtag2"]},{"1399805233":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399805232, 1399805231, 1399805225, 1399805228, 1399805230, 1399805233)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62004256248474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:52:21.913934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_25_10898.jpg', '/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_34_9592.jpg', '/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_44_9640.jpg', '/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_55_10681.jpg', '/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_14_10054.jpg', '/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_25_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_25_10898.jpg
/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_34_9592.jpg
/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_44_9640.jpg
/home/pi/Desktop/images/17122025/16/14/image_17122025_16_14_55_10681.jpg
/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_14_10054.jpg
/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_25_10677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805246","1399805249","1399805240","1399805234","1399805236","1399805251"],"photo_ids_order":["1399805234","1399805236","1399805240","1399805246","1399805249","1399805251"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/338c0184ddc90b9d4fea5797f7a8d193.jpg","text":"TemporaryFile(/tmp/multipartBody5255316632657731515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986802505,"filename":"image_17122025_16_14_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5184494308009e9149fdcb9bb6b478b3.jpg","text":"TemporaryFile(/tmp/multipartBody5409573374309316420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986802505,"filename":"image_17122025_16_15_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0daa07dce1c891b4f00c71a421fafc68.jpg","text":"TemporaryFile(/tmp/multipartBody4747720144803082791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986802505,"filename":"image_17122025_16_14_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bbdea35fadce16caa8645935ebf6c2b.jpg","text":"TemporaryFile(/tmp/multipartBody5881745235659752703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986802505,"filename":"image_17122025_16_14_25_10898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1497fb575f9a9724baae091e0788f47a.jpg","text":"TemporaryFile(/tmp/multipartBody4936979922256278181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986802505,"filename":"image_17122025_16_14_34_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa4d83aefc583dc1e691a327810925e8.jpg","text":"TemporaryFile(/tmp/multipartBody8519710643803952137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986802505,"filename":"image_17122025_16_15_25_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805240","file1":"1399805236","file0":"1399805234","file4":"1399805249","file5":"1399805251","file3":"1399805246"},"map_files_photo_id_array":[{"photo_id":"1399805251","filename":"file5"},{"photo_id":"1399805240","filename":"file2"},{"photo_id":"1399805249","filename":"file4"},{"photo_id":"1399805236","filename":"file1"},{"photo_id":"1399805234","filename":"file0"},{"photo_id":"1399805246","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805246":["hashtag1","hashtag2"]},{"1399805249":["hashtag1","hashtag2"]},{"1399805240":["hashtag1","hashtag2"]},{"1399805234":["hashtag1","hashtag2"]},{"1399805236":["hashtag1","hashtag2"]},{"1399805251":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805246, 1399805249, 1399805240, 1399805234, 1399805236, 1399805251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.680230379104614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:53:02.809434
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_35_9775.jpg', '/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_44_9769.jpg', '/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_55_10711.jpg', '/home/pi/Desktop/images/17122025/16/15/image_17122025_16_16_05_9707.jpg', '/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_15_9733.jpg', '/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_25_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_35_9775.jpg
/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_44_9769.jpg
/home/pi/Desktop/images/17122025/16/15/image_17122025_16_15_55_10711.jpg
/home/pi/Desktop/images/17122025/16/15/image_17122025_16_16_05_9707.jpg
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_15_9733.jpg
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_25_9941.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805262","1399805261","1399805264","1399805260","1399805263","1399805266"],"photo_ids_order":["1399805260","1399805261","1399805262","1399805263","1399805264","1399805266"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a48fd98155595328701f7fbb5990a46.jpg","text":"TemporaryFile(/tmp/multipartBody5894125764947997521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986843474,"filename":"image_17122025_16_15_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a65571e7fe9da7e402c528ba3c64fcd8.jpg","text":"TemporaryFile(/tmp/multipartBody3768465228551566505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986843474,"filename":"image_17122025_16_15_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04385959e8b5704bdc5b6a3334e009b5.jpg","text":"TemporaryFile(/tmp/multipartBody400097601555447922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986843474,"filename":"image_17122025_16_16_15_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/297c042b173cb980a5e07ba0b928b696.jpg","text":"TemporaryFile(/tmp/multipartBody7222646516189329891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986843474,"filename":"image_17122025_16_15_35_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/570eb9f7211b3436a98cb022db262f66.jpg","text":"TemporaryFile(/tmp/multipartBody6196138127109900418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986843474,"filename":"image_17122025_16_16_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d39e39db4e73c364d1b85c020fa22caa.jpg","text":"TemporaryFile(/tmp/multipartBody8659135751487607119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986843474,"filename":"image_17122025_16_16_25_9941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805262","file1":"1399805261","file0":"1399805260","file4":"1399805264","file5":"1399805266","file3":"1399805263"},"map_files_photo_id_array":[{"photo_id":"1399805266","filename":"file5"},{"photo_id":"1399805262","filename":"file2"},{"photo_id":"1399805264","filename":"file4"},{"photo_id":"1399805261","filename":"file1"},{"photo_id":"1399805260","filename":"file0"},{"photo_id":"1399805263","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805262":["hashtag1","hashtag2"]},{"1399805261":["hashtag1","hashtag2"]},{"1399805264":["hashtag1","hashtag2"]},{"1399805260":["hashtag1","hashtag2"]},{"1399805263":["hashtag1","hashtag2"]},{"1399805266":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805262, 1399805261, 1399805264, 1399805260, 1399805263, 1399805266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50154113769531 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:53:42.170531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_43_2747.jpg', '/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_46_3659.jpg', '/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_49_2811.jpg', '/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_52_2647.jpg', '/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_55_2566.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_01_2855.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_43_2747.jpg
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_46_3659.jpg
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_49_2811.jpg
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_52_2647.jpg
/home/pi/Desktop/images/07112025/20/24/image_07112025_20_24_55_2566.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_01_2855.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805288","1399805282","1399805285","1399805287","1399805272","1399805286"],"photo_ids_order":["1399805272","1399805282","1399805285","1399805286","1399805287","1399805288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a89619e05768c162f65c5e8a334f71bf.jpg","text":"TemporaryFile(/tmp/multipartBody2114061968082286001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986882907,"filename":"image_07112025_20_25_01_2855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c9d86f706c35fef882cc63d4203e015.jpg","text":"TemporaryFile(/tmp/multipartBody6529964725330155508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986882907,"filename":"image_07112025_20_24_46_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ecf2c385615f2a6e82183d604ca20ca.jpg","text":"TemporaryFile(/tmp/multipartBody7976318789040163145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986882907,"filename":"image_07112025_20_24_49_2811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce807006dececdba35f2cdac3ec80404.jpg","text":"TemporaryFile(/tmp/multipartBody494395505680528049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986882907,"filename":"image_07112025_20_24_55_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adb4af6127d746ec7f4bc480964028df.jpg","text":"TemporaryFile(/tmp/multipartBody2258537488179536288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986882907,"filename":"image_07112025_20_24_43_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d75263331fd9dbf7d66437e7b3e3e9d.jpg","text":"TemporaryFile(/tmp/multipartBody1145337893825143732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986882907,"filename":"image_07112025_20_24_52_2647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805285","file1":"1399805282","file0":"1399805272","file4":"1399805287","file5":"1399805288","file3":"1399805286"},"map_files_photo_id_array":[{"photo_id":"1399805288","filename":"file5"},{"photo_id":"1399805285","filename":"file2"},{"photo_id":"1399805287","filename":"file4"},{"photo_id":"1399805282","filename":"file1"},{"photo_id":"1399805272","filename":"file0"},{"photo_id":"1399805286","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399805288":["hashtag1","hashtag2"]},{"1399805282":["hashtag1","hashtag2"]},{"1399805285":["hashtag1","hashtag2"]},{"1399805287":["hashtag1","hashtag2"]},{"1399805272":["hashtag1","hashtag2"]},{"1399805286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399805288, 1399805282, 1399805285, 1399805287, 1399805272, 1399805286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39034032821655 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:54:22.452723
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_34_9817.jpg', '/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_44_9821.jpg', '/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_55_10713.jpg', '/home/pi/Desktop/images/17122025/16/16/image_17122025_16_17_05_9637.jpg', '/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_15_10630.jpg', '/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_25_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_34_9817.jpg
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_44_9821.jpg
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_55_10713.jpg
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_17_05_9637.jpg
/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_15_10630.jpg
/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_25_9632.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.48839712142944336 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 16:54:32.584711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:54:42.379727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_04_2702.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_06_2704.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_10_3700.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_13_2574.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_15_2678.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_22_2778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_04_2702.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_06_2704.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_10_3700.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_13_2574.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_15_2678.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_22_2778.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805316","1399805312","1399805306","1399805315","1399805309","1399805308"],"photo_ids_order":["1399805306","1399805308","1399805309","1399805312","1399805315","1399805316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/531a60e6a2b4f65325b267b4e7f6a061.jpg","text":"TemporaryFile(/tmp/multipartBody7080157933071858734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986943148,"filename":"image_07112025_20_25_22_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6445be15528dba3cea95be4e2820ab78.jpg","text":"TemporaryFile(/tmp/multipartBody8910339148715147149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986943148,"filename":"image_07112025_20_25_13_2574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbd0e0599f48636184b3d4c277a951f9.jpg","text":"TemporaryFile(/tmp/multipartBody8170241446411940384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986943148,"filename":"image_07112025_20_25_04_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63f47d6018f85153f4f296797b4d7b5d.jpg","text":"TemporaryFile(/tmp/multipartBody2659518492348511311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986943148,"filename":"image_07112025_20_25_15_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e875d677c45d56bbb7bdf6601b923e31.jpg","text":"TemporaryFile(/tmp/multipartBody8294052365268087650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986943148,"filename":"image_07112025_20_25_10_3700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc814627140600eefb258c90ad986961.jpg","text":"TemporaryFile(/tmp/multipartBody4746471685608764657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986943148,"filename":"image_07112025_20_25_06_2704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805309","file1":"1399805308","file0":"1399805306","file4":"1399805315","file5":"1399805316","file3":"1399805312"},"map_files_photo_id_array":[{"photo_id":"1399805316","filename":"file5"},{"photo_id":"1399805309","filename":"file2"},{"photo_id":"1399805315","filename":"file4"},{"photo_id":"1399805308","filename":"file1"},{"photo_id":"1399805306","filename":"file0"},{"photo_id":"1399805312","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399805316":["hashtag1","hashtag2"]},{"1399805312":["hashtag1","hashtag2"]},{"1399805306":["hashtag1","hashtag2"]},{"1399805315":["hashtag1","hashtag2"]},{"1399805309":["hashtag1","hashtag2"]},{"1399805308":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399805316, 1399805312, 1399805306, 1399805315, 1399805309, 1399805308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77009391784668 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:55:22.783777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_34_9817.jpg', '/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_44_9821.jpg', '/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_55_10713.jpg', '/home/pi/Desktop/images/17122025/16/16/image_17122025_16_17_05_9637.jpg', '/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_15_10630.jpg', '/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_25_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_34_9817.jpg
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_44_9821.jpg
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_16_55_10713.jpg
/home/pi/Desktop/images/17122025/16/16/image_17122025_16_17_05_9637.jpg
/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_15_10630.jpg
/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_25_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":["1399805322","1399805319","1399805324","1399805321","1399805326","1399805329"],"photo_ids_order":["1399805319","1399805321","1399805322","1399805324","1399805326","1399805329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0766b346ad3142fd792578a91e9587e.jpg","text":"TemporaryFile(/tmp/multipartBody4279544528414047388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986983382,"filename":"image_17122025_16_16_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7ac951d8e11dc1d8c651597d5b36c6a.jpg","text":"TemporaryFile(/tmp/multipartBody5890104046937269606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986983382,"filename":"image_17122025_16_16_34_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ec6de35e841a793a0ff21fb95f55b41.jpg","text":"TemporaryFile(/tmp/multipartBody7540909712565471292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986983382,"filename":"image_17122025_16_17_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a67a98251ffe4a5a20546b28c3fcf5ad.jpg","text":"TemporaryFile(/tmp/multipartBody6442748082669326068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986983382,"filename":"image_17122025_16_16_44_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3bbdbc4d58f8b051180492c18bb3a25f.jpg","text":"TemporaryFile(/tmp/multipartBody4037211771088225805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986983382,"filename":"image_17122025_16_17_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11add54386c24bcfa0733a8957460f97.jpg","text":"TemporaryFile(/tmp/multipartBody6249894958530516221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765986983382,"filename":"image_17122025_16_17_25_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805322","file1":"1399805321","file0":"1399805319","file4":"1399805326","file5":"1399805329","file3":"1399805324"},"map_files_photo_id_array":[{"photo_id":"1399805329","filename":"file5"},{"photo_id":"1399805322","filename":"file2"},{"photo_id":"1399805326","filename":"file4"},{"photo_id":"1399805321","filename":"file1"},{"photo_id":"1399805319","filename":"file0"},{"photo_id":"1399805324","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805322":["hashtag1","hashtag2"]},{"1399805319":["hashtag1","hashtag2"]},{"1399805324":["hashtag1","hashtag2"]},{"1399805321":["hashtag1","hashtag2"]},{"1399805326":["hashtag1","hashtag2"]},{"1399805329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805322, 1399805319, 1399805324, 1399805321, 1399805326, 1399805329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67700529098511 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:56:02.349394
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_34_9544.jpg', '/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_45_10538.jpg', '/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_55_10045.jpg', '/home/pi/Desktop/images/17122025/16/17/image_17122025_16_18_05_9810.jpg', '/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_14_9563.jpg', '/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_25_10611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_34_9544.jpg
/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_45_10538.jpg
/home/pi/Desktop/images/17122025/16/17/image_17122025_16_17_55_10045.jpg
/home/pi/Desktop/images/17122025/16/17/image_17122025_16_18_05_9810.jpg
/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_14_9563.jpg
/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_25_10611.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805334","1399805337","1399805331","1399805333","1399805335","1399805332"],"photo_ids_order":["1399805331","1399805332","1399805333","1399805334","1399805335","1399805337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e1e61eeba8ad923617279f5fe61896e.jpg","text":"TemporaryFile(/tmp/multipartBody4132506530511532288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987022952,"filename":"image_17122025_16_18_05_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee1cec1c0af2a4f1a50905d5fd606773.jpg","text":"TemporaryFile(/tmp/multipartBody7049338876762852737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987022952,"filename":"image_17122025_16_18_25_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9881845663f69e0627bdb827e50363f.jpg","text":"TemporaryFile(/tmp/multipartBody3950165894878045357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987022952,"filename":"image_17122025_16_17_34_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/921f565c91da1f63d1355dcf0b29897c.jpg","text":"TemporaryFile(/tmp/multipartBody3110413595227730640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987022952,"filename":"image_17122025_16_17_55_10045.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9de7b36d316191584ef1e470d91edf19.jpg","text":"TemporaryFile(/tmp/multipartBody1598757706467618603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987022952,"filename":"image_17122025_16_18_14_9563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e35d234718bf40659f8125532ab05d87.jpg","text":"TemporaryFile(/tmp/multipartBody4095498673766668036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987022952,"filename":"image_17122025_16_17_45_10538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805333","file1":"1399805332","file0":"1399805331","file4":"1399805335","file5":"1399805337","file3":"1399805334"},"map_files_photo_id_array":[{"photo_id":"1399805337","filename":"file5"},{"photo_id":"1399805333","filename":"file2"},{"photo_id":"1399805335","filename":"file4"},{"photo_id":"1399805332","filename":"file1"},{"photo_id":"1399805331","filename":"file0"},{"photo_id":"1399805334","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805334":["hashtag1","hashtag2"]},{"1399805337":["hashtag1","hashtag2"]},{"1399805331":["hashtag1","hashtag2"]},{"1399805333":["hashtag1","hashtag2"]},{"1399805335":["hashtag1","hashtag2"]},{"1399805332":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805334, 1399805337, 1399805331, 1399805333, 1399805335, 1399805332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.78709268569946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:56:41.946437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_25_3360.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_28_2768.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_35_7047.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_36_1638.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_38_1624.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_40_1587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_25_3360.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_28_2768.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_35_7047.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_36_1638.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_38_1624.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_40_1587.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399805360","1399805357","1399805345","1399805359","1399805370","1399805358"],"photo_ids_order":["1399805345","1399805357","1399805358","1399805359","1399805360","1399805370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fe9d80422ac7be9bd8caaf5c673d75d.jpg","text":"TemporaryFile(/tmp/multipartBody960910857654157010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987062679,"filename":"image_07112025_20_25_38_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48d5e1d6b68fe129d62b91ce7a74c06d.jpg","text":"TemporaryFile(/tmp/multipartBody7693066684765943230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987062679,"filename":"image_07112025_20_25_28_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7373594af6408516e53b3f4067fe25e.jpg","text":"TemporaryFile(/tmp/multipartBody6966102252942382950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987062679,"filename":"image_07112025_20_25_25_3360.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4b0a10ca2c0e6d2eddba33de0a92160.jpg","text":"TemporaryFile(/tmp/multipartBody3321226730328786926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987062679,"filename":"image_07112025_20_25_36_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d27efe953ccb056a5c4bd995fe2d00b.jpg","text":"TemporaryFile(/tmp/multipartBody2780812986774455388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987062679,"filename":"image_07112025_20_25_40_1587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3375d08858f558a34d8f46a5b1472fe4.jpg","text":"TemporaryFile(/tmp/multipartBody3938882396239986226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987062679,"filename":"image_07112025_20_25_35_7047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805358","file1":"1399805357","file0":"1399805345","file4":"1399805360","file5":"1399805370","file3":"1399805359"},"map_files_photo_id_array":[{"photo_id":"1399805370","filename":"file5"},{"photo_id":"1399805358","filename":"file2"},{"photo_id":"1399805360","filename":"file4"},{"photo_id":"1399805357","filename":"file1"},{"photo_id":"1399805345","filename":"file0"},{"photo_id":"1399805359","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399805360":["hashtag1","hashtag2"]},{"1399805357":["hashtag1","hashtag2"]},{"1399805345":["hashtag1","hashtag2"]},{"1399805359":["hashtag1","hashtag2"]},{"1399805370":["hashtag1","hashtag2"]},{"1399805358":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399805360, 1399805357, 1399805345, 1399805359, 1399805370, 1399805358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03621578216553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 16:57:22.192988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_35_9714.jpg', '/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_44_9688.jpg', '/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_55_10727.jpg', '/home/pi/Desktop/images/17122025/16/18/image_17122025_16_19_05_9520.jpg', '/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_14_9680.jpg', '/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_25_10623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_35_9714.jpg
/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_44_9688.jpg
/home/pi/Desktop/images/17122025/16/18/image_17122025_16_18_55_10727.jpg
/home/pi/Desktop/images/17122025/16/18/image_17122025_16_19_05_9520.jpg
/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_14_9680.jpg
/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_25_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":["1399805373","1399805381","1399805375","1399805384","1399805378","1399805371"],"photo_ids_order":["1399805371","1399805373","1399805375","1399805378","1399805381","1399805384"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8ffe2ef5fec89c8bbdaddbb863d04ba.jpg","text":"TemporaryFile(/tmp/multipartBody1796868231322501794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987102804,"filename":"image_17122025_16_18_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9f5f7d3893ef2a0249d862471d1405e.jpg","text":"TemporaryFile(/tmp/multipartBody8899773490946472961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987102804,"filename":"image_17122025_16_19_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/850b3b9892719f4ead453d58a7bcea3c.jpg","text":"TemporaryFile(/tmp/multipartBody1922189551724299907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987102804,"filename":"image_17122025_16_18_55_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9d667538e101ad118f2ebca7629ef11.jpg","text":"TemporaryFile(/tmp/multipartBody2244963690150201402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987102804,"filename":"image_17122025_16_19_25_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df6b8c71874068d15ba7095d12d0b776.jpg","text":"TemporaryFile(/tmp/multipartBody3279817700820951090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987102804,"filename":"image_17122025_16_19_05_9520.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/646df8763d059a5bb46532af2b47c9fa.jpg","text":"TemporaryFile(/tmp/multipartBody4519524267044640457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987102804,"filename":"image_17122025_16_18_35_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805375","file1":"1399805373","file0":"1399805371","file4":"1399805381","file5":"1399805384","file3":"1399805378"},"map_files_photo_id_array":[{"photo_id":"1399805384","filename":"file5"},{"photo_id":"1399805375","filename":"file2"},{"photo_id":"1399805381","filename":"file4"},{"photo_id":"1399805373","filename":"file1"},{"photo_id":"1399805371","filename":"file0"},{"photo_id":"1399805378","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805373":["hashtag1","hashtag2"]},{"1399805381":["hashtag1","hashtag2"]},{"1399805375":["hashtag1","hashtag2"]},{"1399805384":["hashtag1","hashtag2"]},{"1399805378":["hashtag1","hashtag2"]},{"1399805371":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805373, 1399805381, 1399805375, 1399805384, 1399805378, 1399805371)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14450550079346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 16:59:03.317413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_35_9648.jpg', '/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_44_9841.jpg', '/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_55_10740.jpg', '/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_14_10059.jpg', '/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_25_10628.jpg', '/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_35_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_35_9648.jpg
/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_44_9841.jpg
/home/pi/Desktop/images/17122025/16/19/image_17122025_16_19_55_10740.jpg
/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_14_10059.jpg
/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_25_10628.jpg
/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_35_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":["1399805625","1399805748","1399805706","1399805660","1399805595","1399805598"],"photo_ids_order":["1399805595","1399805598","1399805625","1399805660","1399805706","1399805748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a14070dc71788f6984687a4f6ad0168e.jpg","text":"TemporaryFile(/tmp/multipartBody5718590692961073089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987204055,"filename":"image_17122025_16_19_55_10740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12382fa1856db3777251327756e87354.jpg","text":"TemporaryFile(/tmp/multipartBody4746135080205686364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987204055,"filename":"image_17122025_16_20_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e74f1c8e77057cca409f05b502a1d9d8.jpg","text":"TemporaryFile(/tmp/multipartBody5854233804881000251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987204055,"filename":"image_17122025_16_20_25_10628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd4b64453a80de5a5fe5f44dbf69cebd.jpg","text":"TemporaryFile(/tmp/multipartBody8754239685036275369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987204055,"filename":"image_17122025_16_20_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/104d112760fd3a523767071a2e209b58.jpg","text":"TemporaryFile(/tmp/multipartBody7974700909115238612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987204055,"filename":"image_17122025_16_19_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/549c25f113d9a81cec86be8ee11a05a1.jpg","text":"TemporaryFile(/tmp/multipartBody104599609833804842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987204055,"filename":"image_17122025_16_19_44_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805625","file1":"1399805598","file0":"1399805595","file4":"1399805706","file5":"1399805748","file3":"1399805660"},"map_files_photo_id_array":[{"photo_id":"1399805748","filename":"file5"},{"photo_id":"1399805625","filename":"file2"},{"photo_id":"1399805706","filename":"file4"},{"photo_id":"1399805598","filename":"file1"},{"photo_id":"1399805595","filename":"file0"},{"photo_id":"1399805660","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399805625":["hashtag1","hashtag2"]},{"1399805748":["hashtag1","hashtag2"]},{"1399805706":["hashtag1","hashtag2"]},{"1399805660":["hashtag1","hashtag2"]},{"1399805595":["hashtag1","hashtag2"]},{"1399805598":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399805625, 1399805748, 1399805706, 1399805660, 1399805595, 1399805598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92375111579895 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 16:59:42.381708
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_43_3641.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_46_2720.jpg', '/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_55_3590.jpg', '/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_03_5019.jpg', '/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_04_1676.jpg', '/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_07_2628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_43_3641.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_46_2720.jpg
/home/pi/Desktop/images/07112025/20/25/image_07112025_20_25_55_3590.jpg
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_03_5019.jpg
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_04_1676.jpg
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_07_2628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399806071","1399805996","1399806110","1399805959","1399805911","1399806033"],"photo_ids_order":["1399805911","1399805959","1399805996","1399806033","1399806071","1399806110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f64d04948c54ed8ba282b93965802a4d.jpg","text":"TemporaryFile(/tmp/multipartBody8387594189685794905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987243114,"filename":"image_07112025_20_26_04_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36d6b7b007d6349d58ee72b06cbc01e6.jpg","text":"TemporaryFile(/tmp/multipartBody5669564593777039617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987243114,"filename":"image_07112025_20_25_55_3590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b41d1a13e35c48ec9cf8df38c1265d53.jpg","text":"TemporaryFile(/tmp/multipartBody6307894771408242606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987243114,"filename":"image_07112025_20_26_07_2628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bdc4639b65321c5b0918f594e861cb0.jpg","text":"TemporaryFile(/tmp/multipartBody6514282669850811866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987243114,"filename":"image_07112025_20_25_46_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/413d6c3958e3eb5abf902d044daf9f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5761590735859062897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987243114,"filename":"image_07112025_20_25_43_3641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01b6975c9f023d3bb845a98d31a4bf12.jpg","text":"TemporaryFile(/tmp/multipartBody497064485716568404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987243114,"filename":"image_07112025_20_26_03_5019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399805996","file1":"1399805959","file0":"1399805911","file4":"1399806071","file5":"1399806110","file3":"1399806033"},"map_files_photo_id_array":[{"photo_id":"1399806110","filename":"file5"},{"photo_id":"1399805996","filename":"file2"},{"photo_id":"1399806071","filename":"file4"},{"photo_id":"1399805959","filename":"file1"},{"photo_id":"1399805911","filename":"file0"},{"photo_id":"1399806033","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399806071":["hashtag1","hashtag2"]},{"1399805996":["hashtag1","hashtag2"]},{"1399806110":["hashtag1","hashtag2"]},{"1399805959":["hashtag1","hashtag2"]},{"1399805911":["hashtag1","hashtag2"]},{"1399806033":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399806071, 1399805996, 1399806110, 1399805959, 1399805911, 1399806033)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.328204870224 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:00:22.693141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_45_10636.jpg', '/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_55_9628.jpg', '/home/pi/Desktop/images/17122025/16/20/image_17122025_16_21_05_10076.jpg', '/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_15_9807.jpg', '/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_24_9629.jpg', '/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_35_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_45_10636.jpg
/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_55_9628.jpg
/home/pi/Desktop/images/17122025/16/20/image_17122025_16_21_05_10076.jpg
/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_15_9807.jpg
/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_24_9629.jpg
/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_35_10713.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5408978462219238 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:00:32.679686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:00:42.599560
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_10_2767.jpg', '/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_30_20539.jpg', '/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_42_12082.jpg', '/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_50_1695.jpg', '/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_52_1823.jpg', '/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_54_1676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_10_2767.jpg
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_30_20539.jpg
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_42_12082.jpg
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_50_1695.jpg
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_52_1823.jpg
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_54_1676.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399806408","1399806467","1399806443","1399806463","1399806460","1399806465"],"photo_ids_order":["1399806408","1399806443","1399806460","1399806463","1399806465","1399806467"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/acc214164abcd4a2d2bb93e2a9d5535f.jpg","text":"TemporaryFile(/tmp/multipartBody8629713417160590996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987303342,"filename":"image_07112025_20_26_10_2767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d0e9f83ae653aa905205cf3c1613e48.jpg","text":"TemporaryFile(/tmp/multipartBody8270728810382092152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987303342,"filename":"image_07112025_20_26_54_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14c3767f9e5375205c2da31b900cfe47.jpg","text":"TemporaryFile(/tmp/multipartBody3544164120856225092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987303342,"filename":"image_07112025_20_26_30_20539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37bebfc9287990e637b712db1ff50d79.jpg","text":"TemporaryFile(/tmp/multipartBody860728199722582476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987303342,"filename":"image_07112025_20_26_50_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/920bd21d58dcf56abe432b11c311d34b.jpg","text":"TemporaryFile(/tmp/multipartBody8980938294618695431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987303342,"filename":"image_07112025_20_26_42_12082.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca2fa2d4194a345cb6218432638bce72.jpg","text":"TemporaryFile(/tmp/multipartBody3811670451895939937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987303342,"filename":"image_07112025_20_26_52_1823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399806460","file1":"1399806443","file0":"1399806408","file4":"1399806465","file5":"1399806467","file3":"1399806463"},"map_files_photo_id_array":[{"photo_id":"1399806467","filename":"file5"},{"photo_id":"1399806460","filename":"file2"},{"photo_id":"1399806465","filename":"file4"},{"photo_id":"1399806443","filename":"file1"},{"photo_id":"1399806408","filename":"file0"},{"photo_id":"1399806463","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399806408":["hashtag1","hashtag2"]},{"1399806467":["hashtag1","hashtag2"]},{"1399806443":["hashtag1","hashtag2"]},{"1399806463":["hashtag1","hashtag2"]},{"1399806460":["hashtag1","hashtag2"]},{"1399806465":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399806408, 1399806467, 1399806443, 1399806463, 1399806460, 1399806465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.271291732788086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:01:21.748589
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_45_10636.jpg', '/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_55_9628.jpg', '/home/pi/Desktop/images/17122025/16/20/image_17122025_16_21_05_10076.jpg', '/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_15_9807.jpg', '/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_24_9629.jpg', '/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_35_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_45_10636.jpg
/home/pi/Desktop/images/17122025/16/20/image_17122025_16_20_55_9628.jpg
/home/pi/Desktop/images/17122025/16/20/image_17122025_16_21_05_10076.jpg
/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_15_9807.jpg
/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_24_9629.jpg
/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_35_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":["1399806470","1399806476","1399806472","1399806495","1399806474","1399806468"],"photo_ids_order":["1399806468","1399806470","1399806472","1399806474","1399806476","1399806495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c9dddb6f15e427993f30a3f98a085c3.jpg","text":"TemporaryFile(/tmp/multipartBody2559525948782173366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987342319,"filename":"image_17122025_16_20_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dcc36075db91e1da0c92fc41ae63d932.jpg","text":"TemporaryFile(/tmp/multipartBody8784315731602527462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987342319,"filename":"image_17122025_16_21_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a232597595e4d9a4d38dd7ff890d44e.jpg","text":"TemporaryFile(/tmp/multipartBody9008700564393828556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987342319,"filename":"image_17122025_16_21_05_10076.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4faf8670ae37ff96c208c02fc2e1a904.jpg","text":"TemporaryFile(/tmp/multipartBody172624262954326418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987342319,"filename":"image_17122025_16_21_35_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ab27ceb991cd2d1a25700589b53e11c.jpg","text":"TemporaryFile(/tmp/multipartBody5548184005057861571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987342319,"filename":"image_17122025_16_21_15_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80731be9b6a89040e84ef60a1d2c98e5.jpg","text":"TemporaryFile(/tmp/multipartBody3095273471600303751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987342319,"filename":"image_17122025_16_20_45_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399806472","file1":"1399806470","file0":"1399806468","file4":"1399806476","file5":"1399806495","file3":"1399806474"},"map_files_photo_id_array":[{"photo_id":"1399806495","filename":"file5"},{"photo_id":"1399806472","filename":"file2"},{"photo_id":"1399806476","filename":"file4"},{"photo_id":"1399806470","filename":"file1"},{"photo_id":"1399806468","filename":"file0"},{"photo_id":"1399806474","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399806470":["hashtag1","hashtag2"]},{"1399806476":["hashtag1","hashtag2"]},{"1399806472":["hashtag1","hashtag2"]},{"1399806495":["hashtag1","hashtag2"]},{"1399806474":["hashtag1","hashtag2"]},{"1399806468":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399806470, 1399806476, 1399806472, 1399806495, 1399806474, 1399806468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.940927028656006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:02:02.541290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_45_9779.jpg', '/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_55_9756.jpg', '/home/pi/Desktop/images/17122025/16/21/image_17122025_16_22_04_9791.jpg', '/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_15_10748.jpg', '/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_25_9635.jpg', '/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_35_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_45_9779.jpg
/home/pi/Desktop/images/17122025/16/21/image_17122025_16_21_55_9756.jpg
/home/pi/Desktop/images/17122025/16/21/image_17122025_16_22_04_9791.jpg
/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_15_10748.jpg
/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_25_9635.jpg
/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_35_9669.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399806761","1399806710","1399806637","1399806759","1399806672","1399806744"],"photo_ids_order":["1399806637","1399806672","1399806710","1399806744","1399806759","1399806761"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ba51ceaa7be71fa82a9266a7cab0617.jpg","text":"TemporaryFile(/tmp/multipartBody3288166204135760917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987383177,"filename":"image_17122025_16_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/2025/12/17/24a56a58d9b7062b26637dd78f05e987.jpg","text":"TemporaryFile(/tmp/multipartBody2608446816934803048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987383177,"filename":"image_17122025_16_22_04_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26bb5f4c4aecdbf7c3c409f9d29ff9a3.jpg","text":"TemporaryFile(/tmp/multipartBody2845975350913637603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987383177,"filename":"image_17122025_16_21_45_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c54676f7c6f72dcb643cb8ef7e92840.jpg","text":"TemporaryFile(/tmp/multipartBody5713841809606552606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987383177,"filename":"image_17122025_16_22_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4917b78ce5bc1d7db19a5bd6ac2551a0.jpg","text":"TemporaryFile(/tmp/multipartBody7791682753541044176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987383177,"filename":"image_17122025_16_21_55_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa664175e065c224ac8f9b43f73f7285.jpg","text":"TemporaryFile(/tmp/multipartBody5024046336863476411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987383177,"filename":"image_17122025_16_22_15_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399806710","file1":"1399806672","file0":"1399806637","file4":"1399806759","file5":"1399806761","file3":"1399806744"},"map_files_photo_id_array":[{"photo_id":"1399806761","filename":"file5"},{"photo_id":"1399806710","filename":"file2"},{"photo_id":"1399806759","filename":"file4"},{"photo_id":"1399806672","filename":"file1"},{"photo_id":"1399806637","filename":"file0"},{"photo_id":"1399806744","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399806761":["hashtag1","hashtag2"]},{"1399806710":["hashtag1","hashtag2"]},{"1399806637":["hashtag1","hashtag2"]},{"1399806759":["hashtag1","hashtag2"]},{"1399806672":["hashtag1","hashtag2"]},{"1399806744":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399806761, 1399806710, 1399806637, 1399806759, 1399806672, 1399806744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.87625575065613 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:02:42.083461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_57_1669.jpg', '/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_59_1662.jpg', '/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_09_1579.jpg', '/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_12_1614.jpg', '/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_16_1719.jpg', '/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_18_1980.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_57_1669.jpg
/home/pi/Desktop/images/07112025/20/26/image_07112025_20_26_59_1662.jpg
/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_09_1579.jpg
/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_12_1614.jpg
/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_16_1719.jpg
/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_18_1980.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399806824","1399806898","1399806874","1399806901","1399806820","1399806885"],"photo_ids_order":["1399806820","1399806824","1399806874","1399806885","1399806898","1399806901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33ab897028a1a892ad309e4d1e1de0e2.jpg","text":"TemporaryFile(/tmp/multipartBody511199221309434132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987422924,"filename":"image_07112025_20_26_59_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed7af146f15b3387957ff124583755b3.jpg","text":"TemporaryFile(/tmp/multipartBody7364999584650296291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987422924,"filename":"image_07112025_20_27_16_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db6770faa854e38716308bfbdaef384a.jpg","text":"TemporaryFile(/tmp/multipartBody8812210987034830060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987422924,"filename":"image_07112025_20_27_09_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0430ad1603f5c47480aaa2918d47523a.jpg","text":"TemporaryFile(/tmp/multipartBody4873313317614262088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987422924,"filename":"image_07112025_20_27_18_1980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22457081f850119dd7e8b1d683f74d2d.jpg","text":"TemporaryFile(/tmp/multipartBody3176452681926861282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987422924,"filename":"image_07112025_20_26_57_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4eed8d441ad1e6fc9556367e6a02ba3.jpg","text":"TemporaryFile(/tmp/multipartBody3215423162358971108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987422924,"filename":"image_07112025_20_27_12_1614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399806874","file1":"1399806824","file0":"1399806820","file4":"1399806898","file5":"1399806901","file3":"1399806885"},"map_files_photo_id_array":[{"photo_id":"1399806901","filename":"file5"},{"photo_id":"1399806874","filename":"file2"},{"photo_id":"1399806898","filename":"file4"},{"photo_id":"1399806824","filename":"file1"},{"photo_id":"1399806820","filename":"file0"},{"photo_id":"1399806885","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399806824":["hashtag1","hashtag2"]},{"1399806898":["hashtag1","hashtag2"]},{"1399806874":["hashtag1","hashtag2"]},{"1399806901":["hashtag1","hashtag2"]},{"1399806820":["hashtag1","hashtag2"]},{"1399806885":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399806824, 1399806898, 1399806874, 1399806901, 1399806820, 1399806885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75689935684204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:03:22.311423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_45_10656.jpg', '/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_55_9743.jpg', '/home/pi/Desktop/images/17122025/16/22/image_17122025_16_23_05_9765.jpg', '/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_14_9650.jpg', '/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_25_10749.jpg', '/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_35_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_45_10656.jpg
/home/pi/Desktop/images/17122025/16/22/image_17122025_16_22_55_9743.jpg
/home/pi/Desktop/images/17122025/16/22/image_17122025_16_23_05_9765.jpg
/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_14_9650.jpg
/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_25_10749.jpg
/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_35_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":["1399806918","1399806911","1399806905","1399806908","1399806913","1399806915"],"photo_ids_order":["1399806905","1399806908","1399806911","1399806913","1399806915","1399806918"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be0948cb998b2621cb4d74472325bdb5.jpg","text":"TemporaryFile(/tmp/multipartBody4133727516656250845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987462903,"filename":"image_17122025_16_23_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4924b8e96008e67cb709105a45287b16.jpg","text":"TemporaryFile(/tmp/multipartBody2044026273535047140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987462903,"filename":"image_17122025_16_23_05_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb4ea50574aad4a7b6d985ca5389f583.jpg","text":"TemporaryFile(/tmp/multipartBody5648304097054068299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987462903,"filename":"image_17122025_16_22_45_10656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37ae66053a9a0b2285216d1b96b51a62.jpg","text":"TemporaryFile(/tmp/multipartBody7131669209092488094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987462903,"filename":"image_17122025_16_22_55_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/599a419993e2f4b11371a2e4479f6cad.jpg","text":"TemporaryFile(/tmp/multipartBody4344249196391930759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987462903,"filename":"image_17122025_16_23_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afdd48b2e56f4592da9626e86e6a98e2.jpg","text":"TemporaryFile(/tmp/multipartBody284133576805610276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987462903,"filename":"image_17122025_16_23_25_10749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399806911","file1":"1399806908","file0":"1399806905","file4":"1399806915","file5":"1399806918","file3":"1399806913"},"map_files_photo_id_array":[{"photo_id":"1399806918","filename":"file5"},{"photo_id":"1399806911","filename":"file2"},{"photo_id":"1399806915","filename":"file4"},{"photo_id":"1399806908","filename":"file1"},{"photo_id":"1399806905","filename":"file0"},{"photo_id":"1399806913","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399806918":["hashtag1","hashtag2"]},{"1399806911":["hashtag1","hashtag2"]},{"1399806905":["hashtag1","hashtag2"]},{"1399806908":["hashtag1","hashtag2"]},{"1399806913":["hashtag1","hashtag2"]},{"1399806915":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399806918, 1399806911, 1399806905, 1399806908, 1399806913, 1399806915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65368723869324 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:04:03.340605
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_45_9770.jpg', '/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_55_10700.jpg', '/home/pi/Desktop/images/17122025/16/23/image_17122025_16_24_05_9681.jpg', '/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_15_9998.jpg', '/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_25_9642.jpg', '/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_34_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_45_9770.jpg
/home/pi/Desktop/images/17122025/16/23/image_17122025_16_23_55_10700.jpg
/home/pi/Desktop/images/17122025/16/23/image_17122025_16_24_05_9681.jpg
/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_15_9998.jpg
/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_25_9642.jpg
/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_34_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":["1399806923","1399806932","1399806929","1399806925","1399806927","1399806921"],"photo_ids_order":["1399806921","1399806923","1399806925","1399806927","1399806929","1399806932"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d806d5120481d4fab6564c33ebd8a1f3.jpg","text":"TemporaryFile(/tmp/multipartBody6775853486703565309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987503994,"filename":"image_17122025_16_23_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57d612f4e93fb6521c597e2a2a7707c8.jpg","text":"TemporaryFile(/tmp/multipartBody5277058624679984660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987503994,"filename":"image_17122025_16_24_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5aa3ce137f7759898cf5eba7d299cb4.jpg","text":"TemporaryFile(/tmp/multipartBody1295942043804939152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987503994,"filename":"image_17122025_16_24_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6455dcb547231c553c90e25fdcdceb09.jpg","text":"TemporaryFile(/tmp/multipartBody1470890825093467218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987503994,"filename":"image_17122025_16_24_05_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab941acfea3295c75c4f505c67f9da4c.jpg","text":"TemporaryFile(/tmp/multipartBody2144243710205411599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987503994,"filename":"image_17122025_16_24_15_9998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ecf11a03146f3f5645ae2d699d9a75a.jpg","text":"TemporaryFile(/tmp/multipartBody6605888141879280162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987503994,"filename":"image_17122025_16_23_45_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399806925","file1":"1399806923","file0":"1399806921","file4":"1399806929","file5":"1399806932","file3":"1399806927"},"map_files_photo_id_array":[{"photo_id":"1399806932","filename":"file5"},{"photo_id":"1399806925","filename":"file2"},{"photo_id":"1399806929","filename":"file4"},{"photo_id":"1399806923","filename":"file1"},{"photo_id":"1399806921","filename":"file0"},{"photo_id":"1399806927","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399806923":["hashtag1","hashtag2"]},{"1399806932":["hashtag1","hashtag2"]},{"1399806929":["hashtag1","hashtag2"]},{"1399806925":["hashtag1","hashtag2"]},{"1399806927":["hashtag1","hashtag2"]},{"1399806921":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399806923, 1399806932, 1399806929, 1399806925, 1399806927, 1399806921)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.71102952957153 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:04:42.540055
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_21_1619.jpg', '/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_26_4539.jpg', '/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_28_1646.jpg', '/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_49_21677.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_04_14778.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_31_26727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_21_1619.jpg
/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_26_4539.jpg
/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_28_1646.jpg
/home/pi/Desktop/images/07112025/20/27/image_07112025_20_27_49_21677.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_04_14778.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_31_26727.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399806941","1399806944","1399806946","1399806943","1399806937","1399806945"],"photo_ids_order":["1399806937","1399806941","1399806943","1399806944","1399806945","1399806946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e78d866da4bf6a5c4271ae25ae7e6d4b.jpg","text":"TemporaryFile(/tmp/multipartBody7687250469055115513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987543286,"filename":"image_07112025_20_27_26_4539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57d552a8f858d22460ff9791ab8add2a.jpg","text":"TemporaryFile(/tmp/multipartBody1152683214192052194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987543286,"filename":"image_07112025_20_27_49_21677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9283719db2d6597c515cc2020969d227.jpg","text":"TemporaryFile(/tmp/multipartBody7536619214921015668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987543286,"filename":"image_07112025_20_28_31_26727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2559ba3242073a76457a283ebe781455.jpg","text":"TemporaryFile(/tmp/multipartBody9062133036554395900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987543286,"filename":"image_07112025_20_27_28_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ecf0e0f77a0aa06ebcf59f6194ac60d.jpg","text":"TemporaryFile(/tmp/multipartBody3207460183269787336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987543286,"filename":"image_07112025_20_27_21_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/351f4ee28d4377658eb8b017c481e12b.jpg","text":"TemporaryFile(/tmp/multipartBody2991929882143307590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987543286,"filename":"image_07112025_20_28_04_14778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399806943","file1":"1399806941","file0":"1399806937","file4":"1399806945","file5":"1399806946","file3":"1399806944"},"map_files_photo_id_array":[{"photo_id":"1399806946","filename":"file5"},{"photo_id":"1399806943","filename":"file2"},{"photo_id":"1399806945","filename":"file4"},{"photo_id":"1399806941","filename":"file1"},{"photo_id":"1399806937","filename":"file0"},{"photo_id":"1399806944","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399806941":["hashtag1","hashtag2"]},{"1399806944":["hashtag1","hashtag2"]},{"1399806946":["hashtag1","hashtag2"]},{"1399806943":["hashtag1","hashtag2"]},{"1399806937":["hashtag1","hashtag2"]},{"1399806945":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399806941, 1399806944, 1399806946, 1399806943, 1399806937, 1399806945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.36117506027222 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:05:22.734854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_45_10320.jpg', '/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_55_9809.jpg', '/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_14_10038.jpg', '/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_25_10582.jpg', '/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_35_9812.jpg', '/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_44_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_45_10320.jpg
/home/pi/Desktop/images/17122025/16/24/image_17122025_16_24_55_9809.jpg
/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_14_10038.jpg
/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_25_10582.jpg
/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_35_9812.jpg
/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_44_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399806956","1399806950","1399806952","1399806958","1399806960","1399806954"],"photo_ids_order":["1399806950","1399806952","1399806954","1399806956","1399806958","1399806960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3977c2d849dc482f145c4b817a5ab05e.jpg","text":"TemporaryFile(/tmp/multipartBody4238558170615985338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987583337,"filename":"image_17122025_16_26_25_10582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/125b44f4949d1f25235deb5233cfa908.jpg","text":"TemporaryFile(/tmp/multipartBody5222511015427873408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987583337,"filename":"image_17122025_16_24_45_10320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78e12e3c0d183faf9d6a2e0046f3a73a.jpg","text":"TemporaryFile(/tmp/multipartBody5577828864687301837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987583337,"filename":"image_17122025_16_24_55_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14475f84ce1db1c95f04e50fd2b4a477.jpg","text":"TemporaryFile(/tmp/multipartBody3150472239945044345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987583337,"filename":"image_17122025_16_26_35_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/989508260ce95a35893549899552fd1c.jpg","text":"TemporaryFile(/tmp/multipartBody1790070513789381310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987583337,"filename":"image_17122025_16_26_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cf9d7c6723800fa9587452e8a31f170.jpg","text":"TemporaryFile(/tmp/multipartBody8033543768573192931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987583337,"filename":"image_17122025_16_26_14_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399806954","file1":"1399806952","file0":"1399806950","file4":"1399806958","file5":"1399806960","file3":"1399806956"},"map_files_photo_id_array":[{"photo_id":"1399806960","filename":"file5"},{"photo_id":"1399806954","filename":"file2"},{"photo_id":"1399806958","filename":"file4"},{"photo_id":"1399806952","filename":"file1"},{"photo_id":"1399806950","filename":"file0"},{"photo_id":"1399806956","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399806956":["hashtag1","hashtag2"]},{"1399806950":["hashtag1","hashtag2"]},{"1399806952":["hashtag1","hashtag2"]},{"1399806958":["hashtag1","hashtag2"]},{"1399806960":["hashtag1","hashtag2"]},{"1399806954":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399806956, 1399806950, 1399806952, 1399806958, 1399806960, 1399806954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.709986448287964 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:06:02.521582
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_55_10700.jpg', '/home/pi/Desktop/images/17122025/16/26/image_17122025_16_27_05_9665.jpg', '/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_14_9801.jpg', '/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_24_9715.jpg', '/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_35_10729.jpg', '/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_45_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_55_10700.jpg
/home/pi/Desktop/images/17122025/16/26/image_17122025_16_27_05_9665.jpg
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_14_9801.jpg
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_24_9715.jpg
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_35_10729.jpg
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_45_9617.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8070130348205566 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:06:12.034089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:06:22.099827
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_55_10700.jpg', '/home/pi/Desktop/images/17122025/16/26/image_17122025_16_27_05_9665.jpg', '/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_14_9801.jpg', '/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_24_9715.jpg', '/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_35_10729.jpg', '/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_45_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/26/image_17122025_16_26_55_10700.jpg
/home/pi/Desktop/images/17122025/16/26/image_17122025_16_27_05_9665.jpg
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_14_9801.jpg
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_24_9715.jpg
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_35_10729.jpg
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_45_9617.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399806986","1399806980","1399806982","1399806991","1399806985","1399806988"],"photo_ids_order":["1399806980","1399806982","1399806985","1399806986","1399806988","1399806991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ed8f90a4c05d6d904cd3d36a86fff16.jpg","text":"TemporaryFile(/tmp/multipartBody8133305289585104596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987642698,"filename":"image_17122025_16_27_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9defccb58564c1fd7c996ddedba4ec95.jpg","text":"TemporaryFile(/tmp/multipartBody2859113707327514026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987642698,"filename":"image_17122025_16_26_55_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36afbf42dfcc8c2d92ad96d0e99e592f.jpg","text":"TemporaryFile(/tmp/multipartBody190202968754598318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987642698,"filename":"image_17122025_16_27_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/233874c171b20bee1c3f6f87fdab9f53.jpg","text":"TemporaryFile(/tmp/multipartBody7806487824001611321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987642698,"filename":"image_17122025_16_27_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a3fd21ac086d66d93ca0b243be8bb36.jpg","text":"TemporaryFile(/tmp/multipartBody2211123064628891555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987642698,"filename":"image_17122025_16_27_14_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d2dc36e827ce899eb9d2bb74fe30087.jpg","text":"TemporaryFile(/tmp/multipartBody2906795462395178588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987642698,"filename":"image_17122025_16_27_35_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399806985","file1":"1399806982","file0":"1399806980","file4":"1399806988","file5":"1399806991","file3":"1399806986"},"map_files_photo_id_array":[{"photo_id":"1399806991","filename":"file5"},{"photo_id":"1399806985","filename":"file2"},{"photo_id":"1399806988","filename":"file4"},{"photo_id":"1399806982","filename":"file1"},{"photo_id":"1399806980","filename":"file0"},{"photo_id":"1399806986","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399806986":["hashtag1","hashtag2"]},{"1399806980":["hashtag1","hashtag2"]},{"1399806982":["hashtag1","hashtag2"]},{"1399806991":["hashtag1","hashtag2"]},{"1399806985":["hashtag1","hashtag2"]},{"1399806988":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399806986, 1399806980, 1399806982, 1399806991, 1399806985, 1399806988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.59671497344971 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:07:02.810333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_54_9689.jpg', '/home/pi/Desktop/images/17122025/16/27/image_17122025_16_28_05_10700.jpg', '/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_15_9663.jpg', '/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_25_10478.jpg', '/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_35_9671.jpg', '/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_45_9853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_27_54_9689.jpg
/home/pi/Desktop/images/17122025/16/27/image_17122025_16_28_05_10700.jpg
/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_15_9663.jpg
/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_25_10478.jpg
/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_35_9671.jpg
/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_45_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":["1399806995","1399807009","1399807003","1399807000","1399806993","1399807005"],"photo_ids_order":["1399806993","1399806995","1399807000","1399807003","1399807005","1399807009"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/faa2495073e9b061832f82ffb435a646.jpg","text":"TemporaryFile(/tmp/multipartBody838486937486513467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987683503,"filename":"image_17122025_16_28_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fa134ec6a47cee84af857d8b03fe423.jpg","text":"TemporaryFile(/tmp/multipartBody6010116506015201489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987683503,"filename":"image_17122025_16_28_45_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2baf6c669f2f9bbbb9a7906a1d8a747.jpg","text":"TemporaryFile(/tmp/multipartBody8827800939859977052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987683503,"filename":"image_17122025_16_28_25_10478.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f85cad81215cdab8f99aebe5cb60bd4b.jpg","text":"TemporaryFile(/tmp/multipartBody5989529203850168041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987683503,"filename":"image_17122025_16_28_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0583480aa2632498429584aa907cb399.jpg","text":"TemporaryFile(/tmp/multipartBody3972361885323233634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987683503,"filename":"image_17122025_16_27_54_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/606cffffe6e3610fb5c92569cd7f0bc4.jpg","text":"TemporaryFile(/tmp/multipartBody5838626383059679680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987683503,"filename":"image_17122025_16_28_35_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807000","file1":"1399806995","file0":"1399806993","file4":"1399807005","file5":"1399807009","file3":"1399807003"},"map_files_photo_id_array":[{"photo_id":"1399807009","filename":"file5"},{"photo_id":"1399807000","filename":"file2"},{"photo_id":"1399807005","filename":"file4"},{"photo_id":"1399806995","filename":"file1"},{"photo_id":"1399806993","filename":"file0"},{"photo_id":"1399807003","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399806995":["hashtag1","hashtag2"]},{"1399807009":["hashtag1","hashtag2"]},{"1399807003":["hashtag1","hashtag2"]},{"1399807000":["hashtag1","hashtag2"]},{"1399806993":["hashtag1","hashtag2"]},{"1399807005":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399806995, 1399807009, 1399807003, 1399807000, 1399806993, 1399807005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.867584466934204 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:07:42.363227
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_33_1855.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_34_1618.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_36_1690.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_38_1725.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_41_1651.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_44_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_33_1855.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_34_1618.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_36_1690.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_38_1725.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_41_1651.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_44_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399807040","1399807058","1399807022","1399807036","1399807059","1399807053"],"photo_ids_order":["1399807022","1399807036","1399807040","1399807053","1399807058","1399807059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cc45b104de5cd18a5a98fc4daf66fc7.jpg","text":"TemporaryFile(/tmp/multipartBody460884606817454601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987723104,"filename":"image_07112025_20_28_36_1690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0266438473c595d67a9e607d413e83b.jpg","text":"TemporaryFile(/tmp/multipartBody8686243786144943804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987723104,"filename":"image_07112025_20_28_41_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91a861d7c1ed9d0eb72a8694b85b1495.jpg","text":"TemporaryFile(/tmp/multipartBody68306352866103963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987723104,"filename":"image_07112025_20_28_33_1855.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/285179da0d8041768f73f66f4805c676.jpg","text":"TemporaryFile(/tmp/multipartBody9132037212083426273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987723104,"filename":"image_07112025_20_28_34_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c13d3a76e94dec9e8f0dba1dbab84dcb.jpg","text":"TemporaryFile(/tmp/multipartBody5812757169282961112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987723104,"filename":"image_07112025_20_28_44_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41b92b906540d94eccf5801cb567c513.jpg","text":"TemporaryFile(/tmp/multipartBody8304970261304077592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987723104,"filename":"image_07112025_20_28_38_1725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807040","file1":"1399807036","file0":"1399807022","file4":"1399807058","file5":"1399807059","file3":"1399807053"},"map_files_photo_id_array":[{"photo_id":"1399807059","filename":"file5"},{"photo_id":"1399807040","filename":"file2"},{"photo_id":"1399807058","filename":"file4"},{"photo_id":"1399807036","filename":"file1"},{"photo_id":"1399807022","filename":"file0"},{"photo_id":"1399807053","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399807040":["hashtag1","hashtag2"]},{"1399807058":["hashtag1","hashtag2"]},{"1399807022":["hashtag1","hashtag2"]},{"1399807036":["hashtag1","hashtag2"]},{"1399807059":["hashtag1","hashtag2"]},{"1399807053":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399807040, 1399807058, 1399807022, 1399807036, 1399807059, 1399807053)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.25857138633728 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:08:32.693188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:08:42.638709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_48_1644.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_50_1701.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_51_1680.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_53_1632.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_55_1769.jpg', '/home/pi/Desktop/images/07112025/20/28/image_07112025_20_29_00_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_48_1644.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_50_1701.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_51_1680.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_53_1632.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_28_55_1769.jpg
/home/pi/Desktop/images/07112025/20/28/image_07112025_20_29_00_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399807247","1399807238","1399807225","1399807158","1399807245","1399807206"],"photo_ids_order":["1399807158","1399807206","1399807225","1399807238","1399807245","1399807247"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9561560b3067a703262b9e978bc9a97f.jpg","text":"TemporaryFile(/tmp/multipartBody6511235489456464183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987792054,"filename":"image_07112025_20_29_00_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d06c2f092376dc8223d66b413cb1386.jpg","text":"TemporaryFile(/tmp/multipartBody4244084256122447002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987792054,"filename":"image_07112025_20_28_53_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46d48bb044d84920039e49f9504d1932.jpg","text":"TemporaryFile(/tmp/multipartBody8663956976983618919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987792054,"filename":"image_07112025_20_28_51_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04166434edc452cd5a512ed2dc59c33a.jpg","text":"TemporaryFile(/tmp/multipartBody8481337469852903114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987792054,"filename":"image_07112025_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/2025/12/17/18a1109597313ac85e3acc9150bcf43f.jpg","text":"TemporaryFile(/tmp/multipartBody5481216377910317939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987792054,"filename":"image_07112025_20_28_55_1769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0285e30a7898821712fb7cc5675beaad.jpg","text":"TemporaryFile(/tmp/multipartBody8279429473976675197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987792054,"filename":"image_07112025_20_28_50_1701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807225","file1":"1399807206","file0":"1399807158","file4":"1399807245","file5":"1399807247","file3":"1399807238"},"map_files_photo_id_array":[{"photo_id":"1399807247","filename":"file5"},{"photo_id":"1399807225","filename":"file2"},{"photo_id":"1399807245","filename":"file4"},{"photo_id":"1399807206","filename":"file1"},{"photo_id":"1399807158","filename":"file0"},{"photo_id":"1399807238","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399807247":["hashtag1","hashtag2"]},{"1399807238":["hashtag1","hashtag2"]},{"1399807225":["hashtag1","hashtag2"]},{"1399807158":["hashtag1","hashtag2"]},{"1399807245":["hashtag1","hashtag2"]},{"1399807206":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399807247, 1399807238, 1399807225, 1399807158, 1399807245, 1399807206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.105257511138916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:09:31.926715
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:09:42.046132
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/29/image_07112025_20_29_01_1513.jpg', '/home/pi/Desktop/images/07112025/20/29/image_07112025_20_29_03_1924.jpg', '/home/pi/Desktop/images/07112025/20/29/image_07112025_20_29_07_1708.jpg', '/home/pi/Desktop/images/07112025/20/29/image_07112025_20_29_39_32063.jpg', '/home/pi/Desktop/images/07112025/20/30/image_07112025_20_30_02_1870.jpg', '/home/pi/Desktop/images/07112025/20/30/image_07112025_20_30_07_1802.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/29/image_07112025_20_29_01_1513.jpg
/home/pi/Desktop/images/07112025/20/29/image_07112025_20_29_03_1924.jpg
/home/pi/Desktop/images/07112025/20/29/image_07112025_20_29_07_1708.jpg
/home/pi/Desktop/images/07112025/20/29/image_07112025_20_29_39_32063.jpg
/home/pi/Desktop/images/07112025/20/30/image_07112025_20_30_02_1870.jpg
/home/pi/Desktop/images/07112025/20/30/image_07112025_20_30_07_1802.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399807261","1399807260","1399807254","1399807263","1399807257","1399807259"],"photo_ids_order":["1399807254","1399807257","1399807259","1399807260","1399807261","1399807263"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5980fae6792d03c033abfee1c1586bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5993036265113590075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987842802,"filename":"image_07112025_20_30_02_1870.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84e7fb5572e0918887d168ee55e31224.jpg","text":"TemporaryFile(/tmp/multipartBody5873437844171736118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987842802,"filename":"image_07112025_20_29_39_32063.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e91b31f33d0370c7ea4e574ea49823e.jpg","text":"TemporaryFile(/tmp/multipartBody4361170022695307460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987842802,"filename":"image_07112025_20_29_01_1513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8862cb88d727e2d1e8b19ec4b91143ba.jpg","text":"TemporaryFile(/tmp/multipartBody6805430301067480184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987842802,"filename":"image_07112025_20_30_07_1802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31789d1e2de176485fb644de12a23328.jpg","text":"TemporaryFile(/tmp/multipartBody3643065124559502830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987842802,"filename":"image_07112025_20_29_03_1924.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27c7278fc2fac05880a283e3f59dbf03.jpg","text":"TemporaryFile(/tmp/multipartBody8663612268632335271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987842802,"filename":"image_07112025_20_29_07_1708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807259","file1":"1399807257","file0":"1399807254","file4":"1399807261","file5":"1399807263","file3":"1399807260"},"map_files_photo_id_array":[{"photo_id":"1399807263","filename":"file5"},{"photo_id":"1399807259","filename":"file2"},{"photo_id":"1399807261","filename":"file4"},{"photo_id":"1399807257","filename":"file1"},{"photo_id":"1399807254","filename":"file0"},{"photo_id":"1399807260","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399807261":["hashtag1","hashtag2"]},{"1399807260":["hashtag1","hashtag2"]},{"1399807254":["hashtag1","hashtag2"]},{"1399807263":["hashtag1","hashtag2"]},{"1399807257":["hashtag1","hashtag2"]},{"1399807259":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399807261, 1399807260, 1399807254, 1399807263, 1399807257, 1399807259)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.65414834022522 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:10:32.240714
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:10:42.242624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/30/image_07112025_20_30_10_1582.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_09_1636.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_13_1931.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_18_1805.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_20_1535.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_23_1569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/30/image_07112025_20_30_10_1582.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_09_1636.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_13_1931.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_18_1805.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_20_1535.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_23_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":["1399807288","1399807276","1399807279","1399807275","1399807278","1399807286"],"photo_ids_order":["1399807275","1399807276","1399807278","1399807279","1399807286","1399807288"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d37b081c9dcb5fe3a3f1d33e0df71705.jpg","text":"TemporaryFile(/tmp/multipartBody7775677033931656743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987902985,"filename":"image_07112025_20_31_23_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32d40766e2ec6f34a3088975eeaa4414.jpg","text":"TemporaryFile(/tmp/multipartBody9042256193058407936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987902985,"filename":"image_07112025_20_31_09_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca0ad49b6916215972f8065aad4c0931.jpg","text":"TemporaryFile(/tmp/multipartBody5324028501802933748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987902985,"filename":"image_07112025_20_31_18_1805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88ec4e38fcf17e45b6307251461bb613.jpg","text":"TemporaryFile(/tmp/multipartBody7577624372938068505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987902985,"filename":"image_07112025_20_30_10_1582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb7e3a9a058a428f244da67f837a8365.jpg","text":"TemporaryFile(/tmp/multipartBody9160413330070057487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987902985,"filename":"image_07112025_20_31_13_1931.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35d7f2f46d4974cb5c52466fd9a39699.jpg","text":"TemporaryFile(/tmp/multipartBody694987301024387115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987902985,"filename":"image_07112025_20_31_20_1535.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807278","file1":"1399807276","file0":"1399807275","file4":"1399807286","file5":"1399807288","file3":"1399807279"},"map_files_photo_id_array":[{"photo_id":"1399807288","filename":"file5"},{"photo_id":"1399807278","filename":"file2"},{"photo_id":"1399807286","filename":"file4"},{"photo_id":"1399807276","filename":"file1"},{"photo_id":"1399807275","filename":"file0"},{"photo_id":"1399807279","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399807288":["hashtag1","hashtag2"]},{"1399807276":["hashtag1","hashtag2"]},{"1399807279":["hashtag1","hashtag2"]},{"1399807275":["hashtag1","hashtag2"]},{"1399807278":["hashtag1","hashtag2"]},{"1399807286":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399807288, 1399807276, 1399807279, 1399807275, 1399807278, 1399807286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.176746129989624 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:11:22.487075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_54_9851.jpg', '/home/pi/Desktop/images/17122025/16/28/image_17122025_16_29_05_10658.jpg', '/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_15_9844.jpg', '/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_25_9690.jpg', '/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_34_9685.jpg', '/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_45_10604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/28/image_17122025_16_28_54_9851.jpg
/home/pi/Desktop/images/17122025/16/28/image_17122025_16_29_05_10658.jpg
/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_15_9844.jpg
/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_25_9690.jpg
/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_34_9685.jpg
/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_45_10604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399807301","1399807304","1399807306","1399807299","1399807293","1399807296"],"photo_ids_order":["1399807293","1399807296","1399807299","1399807301","1399807304","1399807306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1767512733043e2f41fb2b2b0a830265.jpg","text":"TemporaryFile(/tmp/multipartBody1331812779014226994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987943096,"filename":"image_17122025_16_29_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2a4c11fb4a22d77fdbfca1a61eeeda1.jpg","text":"TemporaryFile(/tmp/multipartBody6879341926164113637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987943096,"filename":"image_17122025_16_29_34_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb139581cb817a631fa5d43a0852b165.jpg","text":"TemporaryFile(/tmp/multipartBody3674177818050391018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987943096,"filename":"image_17122025_16_29_45_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d41c70649aa9879d82f422789433b334.jpg","text":"TemporaryFile(/tmp/multipartBody1974318155819439858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987943096,"filename":"image_17122025_16_29_15_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5322d9fead02c1d032fcce016ba384d7.jpg","text":"TemporaryFile(/tmp/multipartBody715945313485854859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987943096,"filename":"image_17122025_16_28_54_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c07c743584bf4696687b55a07e1266c.jpg","text":"TemporaryFile(/tmp/multipartBody3004789782687828662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765987943096,"filename":"image_17122025_16_29_05_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807299","file1":"1399807296","file0":"1399807293","file4":"1399807304","file5":"1399807306","file3":"1399807301"},"map_files_photo_id_array":[{"photo_id":"1399807306","filename":"file5"},{"photo_id":"1399807299","filename":"file2"},{"photo_id":"1399807304","filename":"file4"},{"photo_id":"1399807296","filename":"file1"},{"photo_id":"1399807293","filename":"file0"},{"photo_id":"1399807301","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399807301":["hashtag1","hashtag2"]},{"1399807304":["hashtag1","hashtag2"]},{"1399807306":["hashtag1","hashtag2"]},{"1399807299":["hashtag1","hashtag2"]},{"1399807293":["hashtag1","hashtag2"]},{"1399807296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399807301, 1399807304, 1399807306, 1399807299, 1399807293, 1399807296)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.367517948150635 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:12:12.680025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:12:22.684793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_55_9787.jpg', '/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_14_10056.jpg', '/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_25_10805.jpg', '/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_35_9876.jpg', '/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_45_9725.jpg', '/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_55_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/29/image_17122025_16_29_55_9787.jpg
/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_14_10056.jpg
/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_25_10805.jpg
/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_35_9876.jpg
/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_45_9725.jpg
/home/pi/Desktop/images/17122025/16/30/image_17122025_16_30_55_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":["1399807334","1399807337","1399807330","1399807324","1399807332","1399807326"],"photo_ids_order":["1399807324","1399807326","1399807330","1399807332","1399807334","1399807337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c8d93e55164ea2c4c63531f46d61cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4444019318429670037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988003284,"filename":"image_17122025_16_30_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/392d442cb755ec589bfbac08877e987a.jpg","text":"TemporaryFile(/tmp/multipartBody3248988877789097607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988003284,"filename":"image_17122025_16_30_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d1ed23d64ecfc6f1fe8ef8ad0f63008.jpg","text":"TemporaryFile(/tmp/multipartBody346255347147753571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988003284,"filename":"image_17122025_16_30_25_10805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19d8d804f60ec347882376ba6b713c18.jpg","text":"TemporaryFile(/tmp/multipartBody8237770696611630956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988003284,"filename":"image_17122025_16_29_55_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4295dc491e48a182396dce6d3ad5f0fb.jpg","text":"TemporaryFile(/tmp/multipartBody3545340068805123096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988003284,"filename":"image_17122025_16_30_35_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84212beed26db6bdb67434af2e2a6748.jpg","text":"TemporaryFile(/tmp/multipartBody3428239288949591095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988003284,"filename":"image_17122025_16_30_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807330","file1":"1399807326","file0":"1399807324","file4":"1399807334","file5":"1399807337","file3":"1399807332"},"map_files_photo_id_array":[{"photo_id":"1399807337","filename":"file5"},{"photo_id":"1399807330","filename":"file2"},{"photo_id":"1399807334","filename":"file4"},{"photo_id":"1399807326","filename":"file1"},{"photo_id":"1399807324","filename":"file0"},{"photo_id":"1399807332","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399807334":["hashtag1","hashtag2"]},{"1399807337":["hashtag1","hashtag2"]},{"1399807330":["hashtag1","hashtag2"]},{"1399807324":["hashtag1","hashtag2"]},{"1399807332":["hashtag1","hashtag2"]},{"1399807326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399807334, 1399807337, 1399807330, 1399807324, 1399807332, 1399807326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.378324031829834 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:13:02.533418
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/30/image_17122025_16_31_05_9925.jpg', '/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_15_10690.jpg', '/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_25_9383.jpg', '/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_35_10051.jpg', '/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_45_9866.jpg', '/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_55_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/30/image_17122025_16_31_05_9925.jpg
/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_15_10690.jpg
/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_25_9383.jpg
/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_35_10051.jpg
/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_45_9866.jpg
/home/pi/Desktop/images/17122025/16/31/image_17122025_16_31_55_10581.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":["1399807357","1399807354","1399807348","1399807362","1399807350","1399807344"],"photo_ids_order":["1399807344","1399807348","1399807350","1399807354","1399807357","1399807362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b19cbcd5f544b3e77ecb21387fa0d7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7387036210284969914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988043903,"filename":"image_17122025_16_31_45_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fe9a05ccb56e3396b3aca8fef82a635.jpg","text":"TemporaryFile(/tmp/multipartBody343544227570232964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988043903,"filename":"image_17122025_16_31_35_10051.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13f6ae6c2d041935a2d847e42324082b.jpg","text":"TemporaryFile(/tmp/multipartBody9133568084529662672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988043903,"filename":"image_17122025_16_31_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b07216ef8f886685ee3bdbbb4f65f23.jpg","text":"TemporaryFile(/tmp/multipartBody2532748835039260593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988043903,"filename":"image_17122025_16_31_55_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ba298670c75a0cb8e3c671dab848b53.jpg","text":"TemporaryFile(/tmp/multipartBody5013411199211906182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988043903,"filename":"image_17122025_16_31_25_9383.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40ae08eb0d08a2554acd62527386ba19.jpg","text":"TemporaryFile(/tmp/multipartBody8593029493934186971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988043903,"filename":"image_17122025_16_31_05_9925.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807350","file1":"1399807348","file0":"1399807344","file4":"1399807357","file5":"1399807362","file3":"1399807354"},"map_files_photo_id_array":[{"photo_id":"1399807362","filename":"file5"},{"photo_id":"1399807350","filename":"file2"},{"photo_id":"1399807357","filename":"file4"},{"photo_id":"1399807348","filename":"file1"},{"photo_id":"1399807344","filename":"file0"},{"photo_id":"1399807354","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399807357":["hashtag1","hashtag2"]},{"1399807354":["hashtag1","hashtag2"]},{"1399807348":["hashtag1","hashtag2"]},{"1399807362":["hashtag1","hashtag2"]},{"1399807350":["hashtag1","hashtag2"]},{"1399807344":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399807357, 1399807354, 1399807348, 1399807362, 1399807350, 1399807344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.58584117889404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:14:02.806273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/31/image_17122025_16_32_05_9782.jpg', '/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_15_9604.jpg', '/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_25_10601.jpg', '/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_35_9603.jpg', '/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_45_10591.jpg', '/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_55_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/31/image_17122025_16_32_05_9782.jpg
/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_15_9604.jpg
/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_25_10601.jpg
/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_35_9603.jpg
/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_45_10591.jpg
/home/pi/Desktop/images/17122025/16/32/image_17122025_16_32_55_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399807373","1399807378","1399807371","1399807374","1399807376","1399807370"],"photo_ids_order":["1399807370","1399807371","1399807373","1399807374","1399807376","1399807378"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f48128577ed55f64d7912ff6dac70c85.jpg","text":"TemporaryFile(/tmp/multipartBody8162383071361780966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988103442,"filename":"image_17122025_16_32_25_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d911557317bd5e25a892497b55c3f494.jpg","text":"TemporaryFile(/tmp/multipartBody5394293670910637712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988103442,"filename":"image_17122025_16_32_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2d3ace6ddc0f21829ecf14a627e6567.jpg","text":"TemporaryFile(/tmp/multipartBody1203495666266267005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988103442,"filename":"image_17122025_16_32_15_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76e74183be4c866c2df3f3d8cff9ac83.jpg","text":"TemporaryFile(/tmp/multipartBody607411637304242404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988103442,"filename":"image_17122025_16_32_35_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/600126c8f1379c05429b860796e3ee54.jpg","text":"TemporaryFile(/tmp/multipartBody1313514542594977558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988103442,"filename":"image_17122025_16_32_45_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20289becd3b7c98dc7855a0b2043dd9b.jpg","text":"TemporaryFile(/tmp/multipartBody5782454823001818172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988103442,"filename":"image_17122025_16_32_05_9782.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807373","file1":"1399807371","file0":"1399807370","file4":"1399807376","file5":"1399807378","file3":"1399807374"},"map_files_photo_id_array":[{"photo_id":"1399807378","filename":"file5"},{"photo_id":"1399807373","filename":"file2"},{"photo_id":"1399807376","filename":"file4"},{"photo_id":"1399807371","filename":"file1"},{"photo_id":"1399807370","filename":"file0"},{"photo_id":"1399807374","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399807373":["hashtag1","hashtag2"]},{"1399807378":["hashtag1","hashtag2"]},{"1399807371":["hashtag1","hashtag2"]},{"1399807374":["hashtag1","hashtag2"]},{"1399807376":["hashtag1","hashtag2"]},{"1399807370":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399807373, 1399807378, 1399807371, 1399807374, 1399807376, 1399807370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70474052429199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:14:42.150280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_25_1609.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_26_1581.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_28_1626.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_31_1622.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_34_1617.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_36_1572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_25_1609.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_26_1581.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_28_1626.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_31_1622.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_34_1617.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_36_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":["1399807412","1399807415","1399807406","1399807408","1399807417","1399807392"],"photo_ids_order":["1399807392","1399807406","1399807408","1399807412","1399807415","1399807417"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1e35805b4bac1f37ca500af6de7e480.jpg","text":"TemporaryFile(/tmp/multipartBody243539953023051791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988142900,"filename":"image_07112025_20_31_31_1622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f416135c04ab935c4d72fcd70839b1ce.jpg","text":"TemporaryFile(/tmp/multipartBody5381635980442286304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988142900,"filename":"image_07112025_20_31_34_1617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e4fdeeb28ce5f96c3bd53c633bbc094.jpg","text":"TemporaryFile(/tmp/multipartBody6373999490841365195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988142900,"filename":"image_07112025_20_31_26_1581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a85ddd6e01464c46a9eff8568c754cd4.jpg","text":"TemporaryFile(/tmp/multipartBody8548526709699018914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988142900,"filename":"image_07112025_20_31_28_1626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59e76a6b9567b7bfe045cb1a4fd3fef6.jpg","text":"TemporaryFile(/tmp/multipartBody6713733728861036890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988142900,"filename":"image_07112025_20_31_36_1572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9b61581f08ec7b74340a89b4a3d7de3.jpg","text":"TemporaryFile(/tmp/multipartBody4117458763753980228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988142900,"filename":"image_07112025_20_31_25_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807408","file1":"1399807406","file0":"1399807392","file4":"1399807415","file5":"1399807417","file3":"1399807412"},"map_files_photo_id_array":[{"photo_id":"1399807417","filename":"file5"},{"photo_id":"1399807408","filename":"file2"},{"photo_id":"1399807415","filename":"file4"},{"photo_id":"1399807406","filename":"file1"},{"photo_id":"1399807392","filename":"file0"},{"photo_id":"1399807412","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399807412":["hashtag1","hashtag2"]},{"1399807415":["hashtag1","hashtag2"]},{"1399807406":["hashtag1","hashtag2"]},{"1399807408":["hashtag1","hashtag2"]},{"1399807417":["hashtag1","hashtag2"]},{"1399807392":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399807412, 1399807415, 1399807406, 1399807408, 1399807417, 1399807392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.473429441452026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:15:22.423135
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/32/image_17122025_16_33_05_9677.jpg', '/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_15_9897.jpg', '/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_25_9905.jpg', '/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_35_10612.jpg', '/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_45_9797.jpg', '/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_55_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/32/image_17122025_16_33_05_9677.jpg
/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_15_9897.jpg
/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_25_9905.jpg
/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_35_10612.jpg
/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_45_9797.jpg
/home/pi/Desktop/images/17122025/16/33/image_17122025_16_33_55_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399807427","1399807442","1399807421","1399807423","1399807420","1399807425"],"photo_ids_order":["1399807420","1399807421","1399807423","1399807425","1399807427","1399807442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d22ba18f3836c34eb70a9351caac0246.jpg","text":"TemporaryFile(/tmp/multipartBody6801863831471873068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988183021,"filename":"image_17122025_16_33_45_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86f5a21d5588597dac0c75f2d9681880.jpg","text":"TemporaryFile(/tmp/multipartBody168185199525959102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988183021,"filename":"image_17122025_16_33_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fe9b6cc3da2614fd21b27338c4cba31.jpg","text":"TemporaryFile(/tmp/multipartBody7844729872533182741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988183021,"filename":"image_17122025_16_33_15_9897.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1f160cafd5bb9e9501e146bc3e1c364.jpg","text":"TemporaryFile(/tmp/multipartBody6887152848554292800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988183021,"filename":"image_17122025_16_33_25_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f77d6edae40d24b87eb9bd502198a4f.jpg","text":"TemporaryFile(/tmp/multipartBody9033771793664062245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988183021,"filename":"image_17122025_16_33_05_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd96fcdc02cd7b871791f33a8e8be64c.jpg","text":"TemporaryFile(/tmp/multipartBody995484490612068239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988183021,"filename":"image_17122025_16_33_35_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807423","file1":"1399807421","file0":"1399807420","file4":"1399807427","file5":"1399807442","file3":"1399807425"},"map_files_photo_id_array":[{"photo_id":"1399807442","filename":"file5"},{"photo_id":"1399807423","filename":"file2"},{"photo_id":"1399807427","filename":"file4"},{"photo_id":"1399807421","filename":"file1"},{"photo_id":"1399807420","filename":"file0"},{"photo_id":"1399807425","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399807427":["hashtag1","hashtag2"]},{"1399807442":["hashtag1","hashtag2"]},{"1399807421":["hashtag1","hashtag2"]},{"1399807423":["hashtag1","hashtag2"]},{"1399807420":["hashtag1","hashtag2"]},{"1399807425":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399807427, 1399807442, 1399807421, 1399807423, 1399807420, 1399807425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.071521282196045 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:16:03.061829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/33/image_17122025_16_34_05_10016.jpg', '/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_15_10630.jpg', '/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_25_9604.jpg', '/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_34_9637.jpg', '/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_45_10659.jpg', '/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_55_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/33/image_17122025_16_34_05_10016.jpg
/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_15_10630.jpg
/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_25_9604.jpg
/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_34_9637.jpg
/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_45_10659.jpg
/home/pi/Desktop/images/17122025/16/34/image_17122025_16_34_55_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":["1399807559","1399807529","1399807596","1399807491","1399807632","1399807458"],"photo_ids_order":["1399807458","1399807491","1399807529","1399807559","1399807596","1399807632"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c088bf248e0c88b6f6286a03934ed8a.jpg","text":"TemporaryFile(/tmp/multipartBody8442076173775328525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988223674,"filename":"image_17122025_16_34_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23b0c1bb98caf83c6b4f0fbbecc522b3.jpg","text":"TemporaryFile(/tmp/multipartBody1139608197250504639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988223674,"filename":"image_17122025_16_34_25_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/616bffb15f037948a38355645a99ee31.jpg","text":"TemporaryFile(/tmp/multipartBody5513111243260098930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988223674,"filename":"image_17122025_16_34_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6863f823d16e43c296f2d6c803afd7c.jpg","text":"TemporaryFile(/tmp/multipartBody1182240191063530434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988223674,"filename":"image_17122025_16_34_15_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4460d7e88d2749dcfe0f667f671be41.jpg","text":"TemporaryFile(/tmp/multipartBody3176688314415010202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988223674,"filename":"image_17122025_16_34_55_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7eace39a353ba4f401bd9637851ee002.jpg","text":"TemporaryFile(/tmp/multipartBody6351410826393986499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988223674,"filename":"image_17122025_16_34_05_10016.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807529","file1":"1399807491","file0":"1399807458","file4":"1399807596","file5":"1399807632","file3":"1399807559"},"map_files_photo_id_array":[{"photo_id":"1399807632","filename":"file5"},{"photo_id":"1399807529","filename":"file2"},{"photo_id":"1399807596","filename":"file4"},{"photo_id":"1399807491","filename":"file1"},{"photo_id":"1399807458","filename":"file0"},{"photo_id":"1399807559","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399807559":["hashtag1","hashtag2"]},{"1399807529":["hashtag1","hashtag2"]},{"1399807596":["hashtag1","hashtag2"]},{"1399807491":["hashtag1","hashtag2"]},{"1399807632":["hashtag1","hashtag2"]},{"1399807458":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399807559, 1399807529, 1399807596, 1399807491, 1399807632, 1399807458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.867441177368164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:16:42.551081
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_38_1770.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_41_1642.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_43_1913.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_45_1554.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_46_1640.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_49_1567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_38_1770.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_41_1642.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_43_1913.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_45_1554.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_46_1640.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_49_1567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399807699","1399807690","1399807762","1399807726","1399807839","1399807803"],"photo_ids_order":["1399807690","1399807699","1399807726","1399807762","1399807803","1399807839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12de3b2abe0549e047f26bfe69706402.jpg","text":"TemporaryFile(/tmp/multipartBody8295406868208843755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988263337,"filename":"image_07112025_20_31_41_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d8fc29625daf1309ebcae493bc8ba1b.jpg","text":"TemporaryFile(/tmp/multipartBody4042625125719438140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988263337,"filename":"image_07112025_20_31_38_1770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/086a87bac80e73d33ff1fc5f4aacedf8.jpg","text":"TemporaryFile(/tmp/multipartBody6053027104363842857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988263337,"filename":"image_07112025_20_31_45_1554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ca9733498d3a02fec68a248c87c74b8.jpg","text":"TemporaryFile(/tmp/multipartBody5443581117569384055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988263337,"filename":"image_07112025_20_31_43_1913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4775cb6ff5896fe1330d45f8472dd5e.jpg","text":"TemporaryFile(/tmp/multipartBody1895103269833677890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988263337,"filename":"image_07112025_20_31_49_1567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed23fb677838ccbef4ca6ed9f0c23de4.jpg","text":"TemporaryFile(/tmp/multipartBody8772679071886279677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988263337,"filename":"image_07112025_20_31_46_1640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807726","file1":"1399807699","file0":"1399807690","file4":"1399807803","file5":"1399807839","file3":"1399807762"},"map_files_photo_id_array":[{"photo_id":"1399807839","filename":"file5"},{"photo_id":"1399807726","filename":"file2"},{"photo_id":"1399807803","filename":"file4"},{"photo_id":"1399807699","filename":"file1"},{"photo_id":"1399807690","filename":"file0"},{"photo_id":"1399807762","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399807699":["hashtag1","hashtag2"]},{"1399807690":["hashtag1","hashtag2"]},{"1399807762":["hashtag1","hashtag2"]},{"1399807726":["hashtag1","hashtag2"]},{"1399807839":["hashtag1","hashtag2"]},{"1399807803":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399807699, 1399807690, 1399807762, 1399807726, 1399807839, 1399807803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.57863116264343 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:17:22.827555
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_14_10037.jpg', '/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_24_10862.jpg', '/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_34_9749.jpg', '/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_44_9712.jpg', '/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_54_9680.jpg', '/home/pi/Desktop/images/17122025/16/36/image_17122025_16_37_04_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_14_10037.jpg
/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_24_10862.jpg
/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_34_9749.jpg
/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_44_9712.jpg
/home/pi/Desktop/images/17122025/16/36/image_17122025_16_36_54_9680.jpg
/home/pi/Desktop/images/17122025/16/36/image_17122025_16_37_04_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":["1399807891","1399807885","1399807888","1399807915","1399807893","1399807889"],"photo_ids_order":["1399807885","1399807888","1399807889","1399807891","1399807893","1399807915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7be2e4b225c74440d229462566833b2.jpg","text":"TemporaryFile(/tmp/multipartBody2765455938896539265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988303430,"filename":"image_17122025_16_36_44_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00194e3bde8c485fdd4cd59640d304cf.jpg","text":"TemporaryFile(/tmp/multipartBody8285403286294976404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988303430,"filename":"image_17122025_16_36_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f50247aec079c82d5f4a6c502a731302.jpg","text":"TemporaryFile(/tmp/multipartBody6011382721988909364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988303430,"filename":"image_17122025_16_36_24_10862.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32f2aafeba6f92e84489a8a298023a28.jpg","text":"TemporaryFile(/tmp/multipartBody6839888838516846459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988303430,"filename":"image_17122025_16_37_04_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a485e55dd764f767fa0334994c7fbced.jpg","text":"TemporaryFile(/tmp/multipartBody4873116190392357337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988303430,"filename":"image_17122025_16_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/2025/12/17/077486ff6f25a1d1e2a97ba0ade241be.jpg","text":"TemporaryFile(/tmp/multipartBody901024334404166888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988303430,"filename":"image_17122025_16_36_34_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399807889","file1":"1399807888","file0":"1399807885","file4":"1399807893","file5":"1399807915","file3":"1399807891"},"map_files_photo_id_array":[{"photo_id":"1399807915","filename":"file5"},{"photo_id":"1399807889","filename":"file2"},{"photo_id":"1399807893","filename":"file4"},{"photo_id":"1399807888","filename":"file1"},{"photo_id":"1399807885","filename":"file0"},{"photo_id":"1399807891","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399807891":["hashtag1","hashtag2"]},{"1399807885":["hashtag1","hashtag2"]},{"1399807888":["hashtag1","hashtag2"]},{"1399807915":["hashtag1","hashtag2"]},{"1399807893":["hashtag1","hashtag2"]},{"1399807889":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399807891, 1399807885, 1399807888, 1399807915, 1399807893, 1399807889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72172522544861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:18:02.464060
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_22_17584.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_24_2693.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_34_9626.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_46_11872.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_54_7677.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_38_04_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_22_17584.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_24_2693.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_34_9626.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_46_11872.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_54_7677.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_38_04_10739.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5045075416564941 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:18:11.953184
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:18:22.042273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_22_17584.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_24_2693.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_34_9626.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_46_11872.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_54_7677.jpg', '/home/pi/Desktop/images/17122025/16/37/image_17122025_16_38_04_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_22_17584.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_24_2693.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_34_9626.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_46_11872.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_37_54_7677.jpg
/home/pi/Desktop/images/17122025/16/37/image_17122025_16_38_04_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399808077","1399808071","1399808008","1399808079","1399808082","1399808033"],"photo_ids_order":["1399808008","1399808033","1399808071","1399808077","1399808079","1399808082"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb8bf8fbd7a9fa9b981c506103a94c10.jpg","text":"TemporaryFile(/tmp/multipartBody3024262227009699956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988362677,"filename":"image_17122025_16_37_46_11872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a1801864e5a6dc140b30ca6fe3ad851.jpg","text":"TemporaryFile(/tmp/multipartBody4696160313208218755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988362677,"filename":"image_17122025_16_37_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3de61a6aef02b2d7508c7cb6647bb61.jpg","text":"TemporaryFile(/tmp/multipartBody1671176432502126754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988362677,"filename":"image_17122025_16_37_22_17584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3279622410c11efb095547b6720cf3e.jpg","text":"TemporaryFile(/tmp/multipartBody8791998783641482605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988362677,"filename":"image_17122025_16_37_54_7677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f958a6790bfbb3b444f72e285c2810d1.jpg","text":"TemporaryFile(/tmp/multipartBody4808937588214382642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988362677,"filename":"image_17122025_16_38_04_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/173605d07e207d864eb8ef4d69f1677b.jpg","text":"TemporaryFile(/tmp/multipartBody3987408115701571299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988362677,"filename":"image_17122025_16_37_24_2693.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808071","file1":"1399808033","file0":"1399808008","file4":"1399808079","file5":"1399808082","file3":"1399808077"},"map_files_photo_id_array":[{"photo_id":"1399808082","filename":"file5"},{"photo_id":"1399808071","filename":"file2"},{"photo_id":"1399808079","filename":"file4"},{"photo_id":"1399808033","filename":"file1"},{"photo_id":"1399808008","filename":"file0"},{"photo_id":"1399808077","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808077":["hashtag1","hashtag2"]},{"1399808071":["hashtag1","hashtag2"]},{"1399808008":["hashtag1","hashtag2"]},{"1399808079":["hashtag1","hashtag2"]},{"1399808082":["hashtag1","hashtag2"]},{"1399808033":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808077, 1399808071, 1399808008, 1399808079, 1399808082, 1399808033)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 45.055121183395386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:19:12.125618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:19:22.139179
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_14_9568.jpg', '/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_24_9669.jpg', '/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_34_10636.jpg', '/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_44_9875.jpg', '/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_54_9550.jpg', '/home/pi/Desktop/images/17122025/16/38/image_17122025_16_39_04_10180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_14_9568.jpg
/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_24_9669.jpg
/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_34_10636.jpg
/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_44_9875.jpg
/home/pi/Desktop/images/17122025/16/38/image_17122025_16_38_54_9550.jpg
/home/pi/Desktop/images/17122025/16/38/image_17122025_16_39_04_10180.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399808102","1399808092","1399808095","1399808096","1399808100","1399808090"],"photo_ids_order":["1399808090","1399808092","1399808095","1399808096","1399808100","1399808102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4382b2e70d5566682f8fdbedff819261.jpg","text":"TemporaryFile(/tmp/multipartBody3777821158665121182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988422740,"filename":"image_17122025_16_39_04_10180.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3984e9bbf36ecaf2e16cdd47b048183b.jpg","text":"TemporaryFile(/tmp/multipartBody1936993122586545025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988422740,"filename":"image_17122025_16_38_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/131ec2ed4daeaba2eb8578f93a11df75.jpg","text":"TemporaryFile(/tmp/multipartBody7241159191775701595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988422740,"filename":"image_17122025_16_38_34_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef23fdee7762397dc789d92a8984dc67.jpg","text":"TemporaryFile(/tmp/multipartBody2345687122597121657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988422740,"filename":"image_17122025_16_38_44_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d335716981ba52bdae577de45652e1b4.jpg","text":"TemporaryFile(/tmp/multipartBody2596883832617863507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988422740,"filename":"image_17122025_16_38_54_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/232ba68ace264b9f7c8a718088f2cbe5.jpg","text":"TemporaryFile(/tmp/multipartBody5319513394864124745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988422740,"filename":"image_17122025_16_38_14_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808095","file1":"1399808092","file0":"1399808090","file4":"1399808100","file5":"1399808102","file3":"1399808096"},"map_files_photo_id_array":[{"photo_id":"1399808102","filename":"file5"},{"photo_id":"1399808095","filename":"file2"},{"photo_id":"1399808100","filename":"file4"},{"photo_id":"1399808092","filename":"file1"},{"photo_id":"1399808090","filename":"file0"},{"photo_id":"1399808096","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808102":["hashtag1","hashtag2"]},{"1399808092":["hashtag1","hashtag2"]},{"1399808095":["hashtag1","hashtag2"]},{"1399808096":["hashtag1","hashtag2"]},{"1399808100":["hashtag1","hashtag2"]},{"1399808090":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808102, 1399808092, 1399808095, 1399808096, 1399808100, 1399808090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.55943012237549 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 10 --only_old 1
2025-12-17 17:20:12.301727
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:20:22.463721
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_14_9669.jpg', '/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_24_10608.jpg', '/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_34_9767.jpg', '/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_44_10546.jpg', '/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_54_9698.jpg', '/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_14_10053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_14_9669.jpg
/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_24_10608.jpg
/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_34_9767.jpg
/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_44_10546.jpg
/home/pi/Desktop/images/17122025/16/39/image_17122025_16_39_54_9698.jpg
/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_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":["1399808110","1399808128","1399808104","1399808103","1399808106","1399808108"],"photo_ids_order":["1399808103","1399808104","1399808106","1399808108","1399808110","1399808128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/883cd1cd93332976cf9fcf33b449d2c7.jpg","text":"TemporaryFile(/tmp/multipartBody6307786421568817423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988483055,"filename":"image_17122025_16_39_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a57a1481eb58e04372ea07868913ef40.jpg","text":"TemporaryFile(/tmp/multipartBody8447728676436996205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988483055,"filename":"image_17122025_16_40_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e24bbeb26799caecb6b74544ef1ddafe.jpg","text":"TemporaryFile(/tmp/multipartBody1994282056982210228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988483055,"filename":"image_17122025_16_39_24_10608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/956689db7b6e2ae007cbbe602f36bd23.jpg","text":"TemporaryFile(/tmp/multipartBody5715405931192453461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988483055,"filename":"image_17122025_16_39_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/575e2abed21957de180c9604b69a2f59.jpg","text":"TemporaryFile(/tmp/multipartBody4667216841187053859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988483055,"filename":"image_17122025_16_39_34_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13909c4373e04248989f50c348d1463f.jpg","text":"TemporaryFile(/tmp/multipartBody6502212771260914389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988483055,"filename":"image_17122025_16_39_44_10546.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808106","file1":"1399808104","file0":"1399808103","file4":"1399808110","file5":"1399808128","file3":"1399808108"},"map_files_photo_id_array":[{"photo_id":"1399808128","filename":"file5"},{"photo_id":"1399808106","filename":"file2"},{"photo_id":"1399808110","filename":"file4"},{"photo_id":"1399808104","filename":"file1"},{"photo_id":"1399808103","filename":"file0"},{"photo_id":"1399808108","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808110":["hashtag1","hashtag2"]},{"1399808128":["hashtag1","hashtag2"]},{"1399808104":["hashtag1","hashtag2"]},{"1399808103":["hashtag1","hashtag2"]},{"1399808106":["hashtag1","hashtag2"]},{"1399808108":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808110, 1399808128, 1399808104, 1399808103, 1399808106, 1399808108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.82212543487549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:21:03.213941
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_25_10756.jpg', '/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_34_9527.jpg', '/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_44_9736.jpg', '/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_54_10194.jpg', '/home/pi/Desktop/images/17122025/16/40/image_17122025_16_41_05_10645.jpg', '/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_14_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_25_10756.jpg
/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_34_9527.jpg
/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_44_9736.jpg
/home/pi/Desktop/images/17122025/16/40/image_17122025_16_40_54_10194.jpg
/home/pi/Desktop/images/17122025/16/40/image_17122025_16_41_05_10645.jpg
/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_14_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399808143","1399808137","1399808146","1399808140","1399808142","1399808144"],"photo_ids_order":["1399808137","1399808140","1399808142","1399808143","1399808144","1399808146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77c2085b18b8c0ea90a4369bdb53806e.jpg","text":"TemporaryFile(/tmp/multipartBody4940070838453792389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988523858,"filename":"image_17122025_16_40_54_10194.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abb359326a9b62e5dabe9017b2d3ee05.jpg","text":"TemporaryFile(/tmp/multipartBody1002461128723371599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988523858,"filename":"image_17122025_16_40_25_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7d3b00523bff0354c75cf3b014a6e28.jpg","text":"TemporaryFile(/tmp/multipartBody5170334360537154966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988523858,"filename":"image_17122025_16_41_14_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebeec07a696ddb28b34eeedf9e3deaeb.jpg","text":"TemporaryFile(/tmp/multipartBody1178661129319889429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988523858,"filename":"image_17122025_16_40_34_9527.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4799880b8a349f9f7bebc5803150200.jpg","text":"TemporaryFile(/tmp/multipartBody6372294581368710646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988523858,"filename":"image_17122025_16_40_44_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/087d6680a1c31730597ed867504c5f7f.jpg","text":"TemporaryFile(/tmp/multipartBody958085546491566280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988523858,"filename":"image_17122025_16_41_05_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808142","file1":"1399808140","file0":"1399808137","file4":"1399808144","file5":"1399808146","file3":"1399808143"},"map_files_photo_id_array":[{"photo_id":"1399808146","filename":"file5"},{"photo_id":"1399808142","filename":"file2"},{"photo_id":"1399808144","filename":"file4"},{"photo_id":"1399808140","filename":"file1"},{"photo_id":"1399808137","filename":"file0"},{"photo_id":"1399808143","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808143":["hashtag1","hashtag2"]},{"1399808137":["hashtag1","hashtag2"]},{"1399808146":["hashtag1","hashtag2"]},{"1399808140":["hashtag1","hashtag2"]},{"1399808142":["hashtag1","hashtag2"]},{"1399808144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808143, 1399808137, 1399808146, 1399808140, 1399808142, 1399808144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.47070074081421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:21:42.717437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_51_1714.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_56_1618.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_58_1698.jpg', '/home/pi/Desktop/images/07112025/20/31/image_07112025_20_32_00_1637.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_01_1642.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_06_1669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_51_1714.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_56_1618.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_31_58_1698.jpg
/home/pi/Desktop/images/07112025/20/31/image_07112025_20_32_00_1637.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_01_1642.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_06_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":["1399808155","1399808158","1399808152","1399808154","1399808157","1399808156"],"photo_ids_order":["1399808152","1399808154","1399808155","1399808156","1399808157","1399808158"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfa5e0081e0bf3000cbd95493e80127d.jpg","text":"TemporaryFile(/tmp/multipartBody7937936412609862168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988563498,"filename":"image_07112025_20_31_58_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/344486fe7512836c5b146162ba714de0.jpg","text":"TemporaryFile(/tmp/multipartBody8651229847721099187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988563498,"filename":"image_07112025_20_32_06_1669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f85adf7d66b9101cbe3aae3e607ff4ae.jpg","text":"TemporaryFile(/tmp/multipartBody5605605678359763943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988563498,"filename":"image_07112025_20_31_51_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fe8ed6954c16e996213a396dd6f6087.jpg","text":"TemporaryFile(/tmp/multipartBody3231355880672897317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988563498,"filename":"image_07112025_20_31_56_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fcf6a41744bc95a67e8cf986b14ed4b.jpg","text":"TemporaryFile(/tmp/multipartBody1294819186901999564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988563498,"filename":"image_07112025_20_32_01_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc7947fd7512c69af0012d99301ef235.jpg","text":"TemporaryFile(/tmp/multipartBody6533839752412914933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988563498,"filename":"image_07112025_20_32_00_1637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808155","file1":"1399808154","file0":"1399808152","file4":"1399808157","file5":"1399808158","file3":"1399808156"},"map_files_photo_id_array":[{"photo_id":"1399808158","filename":"file5"},{"photo_id":"1399808155","filename":"file2"},{"photo_id":"1399808157","filename":"file4"},{"photo_id":"1399808154","filename":"file1"},{"photo_id":"1399808152","filename":"file0"},{"photo_id":"1399808156","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399808155":["hashtag1","hashtag2"]},{"1399808158":["hashtag1","hashtag2"]},{"1399808152":["hashtag1","hashtag2"]},{"1399808154":["hashtag1","hashtag2"]},{"1399808157":["hashtag1","hashtag2"]},{"1399808156":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399808155, 1399808158, 1399808152, 1399808154, 1399808157, 1399808156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.65710663795471 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:22:22.000453
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_24_9320.jpg', '/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_34_10586.jpg', '/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_44_9674.jpg', '/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_55_10517.jpg', '/home/pi/Desktop/images/17122025/16/41/image_17122025_16_42_04_9672.jpg', '/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_14_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_24_9320.jpg
/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_34_10586.jpg
/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_44_9674.jpg
/home/pi/Desktop/images/17122025/16/41/image_17122025_16_41_55_10517.jpg
/home/pi/Desktop/images/17122025/16/41/image_17122025_16_42_04_9672.jpg
/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_14_9663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399808176","1399808179","1399808170","1399808166","1399808163","1399808174"],"photo_ids_order":["1399808163","1399808166","1399808170","1399808174","1399808176","1399808179"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e3a3f5a3ddda7fefa6101c956b30ac7.jpg","text":"TemporaryFile(/tmp/multipartBody6335572749959645583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988602599,"filename":"image_17122025_16_42_04_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e11fd9777da78580ba57f2655045b0b2.jpg","text":"TemporaryFile(/tmp/multipartBody4349473461356768401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988602599,"filename":"image_17122025_16_42_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/064b46fbd6e2f7308371c1c1a4347bd4.jpg","text":"TemporaryFile(/tmp/multipartBody6583930867511521325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988602599,"filename":"image_17122025_16_41_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f3a65e34660bb11cc68c0ba867c785d.jpg","text":"TemporaryFile(/tmp/multipartBody216779848989541401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988602599,"filename":"image_17122025_16_41_34_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/219e3b99a2eb1721633910cd64ce801f.jpg","text":"TemporaryFile(/tmp/multipartBody5415500370181350516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988602599,"filename":"image_17122025_16_41_24_9320.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79a58ca8a40eab9782f6047c955cf2b1.jpg","text":"TemporaryFile(/tmp/multipartBody8637001396009809290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988602599,"filename":"image_17122025_16_41_55_10517.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808170","file1":"1399808166","file0":"1399808163","file4":"1399808176","file5":"1399808179","file3":"1399808174"},"map_files_photo_id_array":[{"photo_id":"1399808179","filename":"file5"},{"photo_id":"1399808170","filename":"file2"},{"photo_id":"1399808176","filename":"file4"},{"photo_id":"1399808166","filename":"file1"},{"photo_id":"1399808163","filename":"file0"},{"photo_id":"1399808174","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808176":["hashtag1","hashtag2"]},{"1399808179":["hashtag1","hashtag2"]},{"1399808170":["hashtag1","hashtag2"]},{"1399808166":["hashtag1","hashtag2"]},{"1399808163":["hashtag1","hashtag2"]},{"1399808174":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808176, 1399808179, 1399808170, 1399808166, 1399808163, 1399808174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92123293876648 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:23:02.860805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_25_10797.jpg', '/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_34_9581.jpg', '/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_44_9678.jpg', '/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_55_10705.jpg', '/home/pi/Desktop/images/17122025/16/42/image_17122025_16_43_04_9742.jpg', '/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_14_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_25_10797.jpg
/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_34_9581.jpg
/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_44_9678.jpg
/home/pi/Desktop/images/17122025/16/42/image_17122025_16_42_55_10705.jpg
/home/pi/Desktop/images/17122025/16/42/image_17122025_16_43_04_9742.jpg
/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_14_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":["1399808185","1399808188","1399808190","1399808193","1399808187","1399808186"],"photo_ids_order":["1399808185","1399808186","1399808187","1399808188","1399808190","1399808193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c30969584bb06a398d6c02b12c3aa190.jpg","text":"TemporaryFile(/tmp/multipartBody9135105370570412948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988643527,"filename":"image_17122025_16_42_25_10797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e12ab501ae14c1ce9cde4028322a8be1.jpg","text":"TemporaryFile(/tmp/multipartBody2018134061216492911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988643527,"filename":"image_17122025_16_42_55_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a09dbdfbf575a5b7bb6804231aa85e1.jpg","text":"TemporaryFile(/tmp/multipartBody42526399503081244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988643527,"filename":"image_17122025_16_43_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5edf60fa94e996754195701242ca14a.jpg","text":"TemporaryFile(/tmp/multipartBody6033485839522976509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988643527,"filename":"image_17122025_16_43_14_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2125d2f1cfa2f6a2130fc6208c4867b5.jpg","text":"TemporaryFile(/tmp/multipartBody6212549927396872725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988643527,"filename":"image_17122025_16_42_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/910c82e0577b6cf4251a2539c0a80955.jpg","text":"TemporaryFile(/tmp/multipartBody4209707467337087627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988643527,"filename":"image_17122025_16_42_34_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808187","file1":"1399808186","file0":"1399808185","file4":"1399808190","file5":"1399808193","file3":"1399808188"},"map_files_photo_id_array":[{"photo_id":"1399808193","filename":"file5"},{"photo_id":"1399808187","filename":"file2"},{"photo_id":"1399808190","filename":"file4"},{"photo_id":"1399808186","filename":"file1"},{"photo_id":"1399808185","filename":"file0"},{"photo_id":"1399808188","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808185":["hashtag1","hashtag2"]},{"1399808188":["hashtag1","hashtag2"]},{"1399808190":["hashtag1","hashtag2"]},{"1399808193":["hashtag1","hashtag2"]},{"1399808187":["hashtag1","hashtag2"]},{"1399808186":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808185, 1399808188, 1399808190, 1399808193, 1399808187, 1399808186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.593790769577026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:23:42.188683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_08_1529.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_11_1749.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_13_1526.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_14_1600.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_21_1632.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_23_1608.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_08_1529.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_11_1749.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_13_1526.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_14_1600.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_21_1632.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_23_1608.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399808216","1399808215","1399808200","1399808214","1399808217","1399808213"],"photo_ids_order":["1399808200","1399808213","1399808214","1399808215","1399808216","1399808217"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f3b42a16d6c1ce33a2d581e473079be.jpg","text":"TemporaryFile(/tmp/multipartBody2603088797388046262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988682936,"filename":"image_07112025_20_32_21_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e6c1ce99c502f8309c57f12d36902a8.jpg","text":"TemporaryFile(/tmp/multipartBody2567309123414915636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988682936,"filename":"image_07112025_20_32_14_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0dc397733e7889b2ca6a99b2b40f4066.jpg","text":"TemporaryFile(/tmp/multipartBody4305043795018693645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988682936,"filename":"image_07112025_20_32_08_1529.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adc0b9802034ff32b9f0a33897f04753.jpg","text":"TemporaryFile(/tmp/multipartBody3259792363251714620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988682936,"filename":"image_07112025_20_32_13_1526.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55969a13d769c9c4e836fff139dc6221.jpg","text":"TemporaryFile(/tmp/multipartBody7558665021192297667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988682936,"filename":"image_07112025_20_32_23_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/761441782890ec7b39374fd6cf1b7ba7.jpg","text":"TemporaryFile(/tmp/multipartBody257411367569788909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988682936,"filename":"image_07112025_20_32_11_1749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808214","file1":"1399808213","file0":"1399808200","file4":"1399808216","file5":"1399808217","file3":"1399808215"},"map_files_photo_id_array":[{"photo_id":"1399808217","filename":"file5"},{"photo_id":"1399808214","filename":"file2"},{"photo_id":"1399808216","filename":"file4"},{"photo_id":"1399808213","filename":"file1"},{"photo_id":"1399808200","filename":"file0"},{"photo_id":"1399808215","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399808216":["hashtag1","hashtag2"]},{"1399808215":["hashtag1","hashtag2"]},{"1399808200":["hashtag1","hashtag2"]},{"1399808214":["hashtag1","hashtag2"]},{"1399808217":["hashtag1","hashtag2"]},{"1399808213":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399808216, 1399808215, 1399808200, 1399808214, 1399808217, 1399808213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29470372200012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:24:22.466120
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_25_10600.jpg', '/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_34_9627.jpg', '/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_44_9739.jpg', '/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_54_9793.jpg', '/home/pi/Desktop/images/17122025/16/43/image_17122025_16_44_05_10803.jpg', '/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_14_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_25_10600.jpg
/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_34_9627.jpg
/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_44_9739.jpg
/home/pi/Desktop/images/17122025/16/43/image_17122025_16_43_54_9793.jpg
/home/pi/Desktop/images/17122025/16/43/image_17122025_16_44_05_10803.jpg
/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_14_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":["1399808219","1399808224","1399808227","1399808221","1399808238","1399808264"],"photo_ids_order":["1399808219","1399808221","1399808224","1399808227","1399808238","1399808264"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72463a1e4fc3a75d32d8b26d499b8096.jpg","text":"TemporaryFile(/tmp/multipartBody452985362986689282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988723069,"filename":"image_17122025_16_43_25_10600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5446248a0d3eca7eecc433c88b89b412.jpg","text":"TemporaryFile(/tmp/multipartBody1245900531489759422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988723069,"filename":"image_17122025_16_43_44_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4847a36e2acf622b5be7a43a35daf0f9.jpg","text":"TemporaryFile(/tmp/multipartBody4446959164589224980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988723069,"filename":"image_17122025_16_43_54_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba3699cc80bf1378451ffee6259f2cba.jpg","text":"TemporaryFile(/tmp/multipartBody2380881443552049752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988723069,"filename":"image_17122025_16_43_34_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f0442ced8c9275f01072f633b2b236a.jpg","text":"TemporaryFile(/tmp/multipartBody5607855864938961938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988723069,"filename":"image_17122025_16_44_05_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7cc84c976a924d619489edbe152db7c.jpg","text":"TemporaryFile(/tmp/multipartBody4431689807086377329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988723069,"filename":"image_17122025_16_44_14_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808224","file1":"1399808221","file0":"1399808219","file4":"1399808238","file5":"1399808264","file3":"1399808227"},"map_files_photo_id_array":[{"photo_id":"1399808264","filename":"file5"},{"photo_id":"1399808224","filename":"file2"},{"photo_id":"1399808238","filename":"file4"},{"photo_id":"1399808221","filename":"file1"},{"photo_id":"1399808219","filename":"file0"},{"photo_id":"1399808227","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808219":["hashtag1","hashtag2"]},{"1399808224":["hashtag1","hashtag2"]},{"1399808227":["hashtag1","hashtag2"]},{"1399808221":["hashtag1","hashtag2"]},{"1399808238":["hashtag1","hashtag2"]},{"1399808264":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808219, 1399808224, 1399808227, 1399808221, 1399808238, 1399808264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.13288187980652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:25:03.349352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_24_9963.jpg', '/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_34_9588.jpg', '/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_45_10756.jpg', '/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_54_9806.jpg', '/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_14_10057.jpg', '/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_24_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_24_9963.jpg
/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_34_9588.jpg
/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_45_10756.jpg
/home/pi/Desktop/images/17122025/16/44/image_17122025_16_44_54_9806.jpg
/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_14_10057.jpg
/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_24_10643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399808300","1399808302","1399808295","1399808298","1399808301","1399808304"],"photo_ids_order":["1399808295","1399808298","1399808300","1399808301","1399808302","1399808304"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6e8b5e77f923a9613d8b35a418a6254.jpg","text":"TemporaryFile(/tmp/multipartBody3306056152775479448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988763984,"filename":"image_17122025_16_44_45_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bd94b2bfa26f657f3c7330f5d01effb.jpg","text":"TemporaryFile(/tmp/multipartBody4442737925648697934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988763984,"filename":"image_17122025_16_45_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/229f8a849dccbc3e58dc1d20b87d0f9f.jpg","text":"TemporaryFile(/tmp/multipartBody8395791776401284545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988763984,"filename":"image_17122025_16_44_24_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5c452455edb689b44c62ff1c313394e.jpg","text":"TemporaryFile(/tmp/multipartBody6874437423415367498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988763984,"filename":"image_17122025_16_44_34_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98c57cba3da3c38f27e2b7c505896639.jpg","text":"TemporaryFile(/tmp/multipartBody6304113387866309236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988763984,"filename":"image_17122025_16_44_54_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16f070fa2f70d5f951bcc4217fd41d0d.jpg","text":"TemporaryFile(/tmp/multipartBody4695905570059457559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988763984,"filename":"image_17122025_16_45_24_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808300","file1":"1399808298","file0":"1399808295","file4":"1399808302","file5":"1399808304","file3":"1399808301"},"map_files_photo_id_array":[{"photo_id":"1399808304","filename":"file5"},{"photo_id":"1399808300","filename":"file2"},{"photo_id":"1399808302","filename":"file4"},{"photo_id":"1399808298","filename":"file1"},{"photo_id":"1399808295","filename":"file0"},{"photo_id":"1399808301","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808300":["hashtag1","hashtag2"]},{"1399808302":["hashtag1","hashtag2"]},{"1399808295":["hashtag1","hashtag2"]},{"1399808298":["hashtag1","hashtag2"]},{"1399808301":["hashtag1","hashtag2"]},{"1399808304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808300, 1399808302, 1399808295, 1399808298, 1399808301, 1399808304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41023921966553 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:25:42.674623
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_28_1600.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_31_1551.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_34_1744.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_36_1739.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_41_1722.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_43_1749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_28_1600.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_31_1551.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_34_1744.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_36_1739.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_41_1722.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_43_1749.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399808374","1399808320","1399808443","1399808522","1399808318","1399808333"],"photo_ids_order":["1399808318","1399808320","1399808333","1399808374","1399808443","1399808522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/974ab6c212fcf6ac48e8f5a8be04a97b.jpg","text":"TemporaryFile(/tmp/multipartBody4553370629924058661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988803490,"filename":"image_07112025_20_32_36_1739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e8bf0267678cb88a84b75cd39bbc95f.jpg","text":"TemporaryFile(/tmp/multipartBody6476318598264650452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988803490,"filename":"image_07112025_20_32_31_1551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a41387a38fd1a55bc833dc534f588f7.jpg","text":"TemporaryFile(/tmp/multipartBody780153048787037780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988803490,"filename":"image_07112025_20_32_41_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c80ac4cf56c877d1b8be4bcd15c8f7bf.jpg","text":"TemporaryFile(/tmp/multipartBody9212504263212815071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988803490,"filename":"image_07112025_20_32_43_1749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/335fa15f4a146f40ce29f582ebe725e0.jpg","text":"TemporaryFile(/tmp/multipartBody641986420468745157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988803490,"filename":"image_07112025_20_32_28_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0333e466f0919dcf1e8f2446f86656fc.jpg","text":"TemporaryFile(/tmp/multipartBody2302107429046976585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988803490,"filename":"image_07112025_20_32_34_1744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808333","file1":"1399808320","file0":"1399808318","file4":"1399808443","file5":"1399808522","file3":"1399808374"},"map_files_photo_id_array":[{"photo_id":"1399808522","filename":"file5"},{"photo_id":"1399808333","filename":"file2"},{"photo_id":"1399808443","filename":"file4"},{"photo_id":"1399808320","filename":"file1"},{"photo_id":"1399808318","filename":"file0"},{"photo_id":"1399808374","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399808374":["hashtag1","hashtag2"]},{"1399808320":["hashtag1","hashtag2"]},{"1399808443":["hashtag1","hashtag2"]},{"1399808522":["hashtag1","hashtag2"]},{"1399808318":["hashtag1","hashtag2"]},{"1399808333":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399808374, 1399808320, 1399808443, 1399808522, 1399808318, 1399808333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75419759750366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:26:21.966364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_34_9665.jpg', '/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_44_10546.jpg', '/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_54_9781.jpg', '/home/pi/Desktop/images/17122025/16/45/image_17122025_16_46_04_9662.jpg', '/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_15_10648.jpg', '/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_24_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_34_9665.jpg
/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_44_10546.jpg
/home/pi/Desktop/images/17122025/16/45/image_17122025_16_45_54_9781.jpg
/home/pi/Desktop/images/17122025/16/45/image_17122025_16_46_04_9662.jpg
/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_15_10648.jpg
/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_24_9560.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399808860","1399808845","1399808877","1399808808","1399808852","1399808768"],"photo_ids_order":["1399808768","1399808808","1399808845","1399808852","1399808860","1399808877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6ce9c55a93271a9a7cd975ca5bc9e01.jpg","text":"TemporaryFile(/tmp/multipartBody2172912187502039682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988842561,"filename":"image_17122025_16_46_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afc5ec9be33a6374a193139a21b848ad.jpg","text":"TemporaryFile(/tmp/multipartBody9143255922632203005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988842561,"filename":"image_17122025_16_45_54_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db993b1d93e2cca432402a73661a148d.jpg","text":"TemporaryFile(/tmp/multipartBody5858317021994356836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988842561,"filename":"image_17122025_16_46_24_9560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c2398635985399e7d496ab4d3370931.jpg","text":"TemporaryFile(/tmp/multipartBody106659112094486868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988842561,"filename":"image_17122025_16_45_44_10546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f61955d99f24d349beb423112eddab3.jpg","text":"TemporaryFile(/tmp/multipartBody2814878570156088050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988842561,"filename":"image_17122025_16_46_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/877480c146c0fcc6f44c5bfda750b7c5.jpg","text":"TemporaryFile(/tmp/multipartBody5641959799258540369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988842561,"filename":"image_17122025_16_45_34_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808845","file1":"1399808808","file0":"1399808768","file4":"1399808860","file5":"1399808877","file3":"1399808852"},"map_files_photo_id_array":[{"photo_id":"1399808877","filename":"file5"},{"photo_id":"1399808845","filename":"file2"},{"photo_id":"1399808860","filename":"file4"},{"photo_id":"1399808808","filename":"file1"},{"photo_id":"1399808768","filename":"file0"},{"photo_id":"1399808852","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808860":["hashtag1","hashtag2"]},{"1399808845":["hashtag1","hashtag2"]},{"1399808877":["hashtag1","hashtag2"]},{"1399808808":["hashtag1","hashtag2"]},{"1399808852":["hashtag1","hashtag2"]},{"1399808768":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808860, 1399808845, 1399808877, 1399808808, 1399808852, 1399808768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.8607394695282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:27:02.875771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_34_9612.jpg', '/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_44_10687.jpg', '/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_54_9633.jpg', '/home/pi/Desktop/images/17122025/16/46/image_17122025_16_47_04_9577.jpg', '/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_14_10138.jpg', '/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_24_10634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_34_9612.jpg
/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_44_10687.jpg
/home/pi/Desktop/images/17122025/16/46/image_17122025_16_46_54_9633.jpg
/home/pi/Desktop/images/17122025/16/46/image_17122025_16_47_04_9577.jpg
/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_14_10138.jpg
/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_24_10634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399808971","1399808968","1399808962","1399808970","1399808973","1399808934"],"photo_ids_order":["1399808934","1399808962","1399808968","1399808970","1399808971","1399808973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a727b10606d408ccb171ea3de71ac926.jpg","text":"TemporaryFile(/tmp/multipartBody2986452834773295799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988883552,"filename":"image_17122025_16_47_14_10138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9265d86293193a1161791c1be36b2fe0.jpg","text":"TemporaryFile(/tmp/multipartBody1799841489461180581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988883552,"filename":"image_17122025_16_46_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bf7ada35ba30b07ed38f49fa13cb90e.jpg","text":"TemporaryFile(/tmp/multipartBody7361947697128871664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988883552,"filename":"image_17122025_16_46_44_10687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/450a62e1ce806efb0f2f5e9d997fc254.jpg","text":"TemporaryFile(/tmp/multipartBody3285696435716188324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988883552,"filename":"image_17122025_16_47_04_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45c971eefe2aeeac065d613cb225e012.jpg","text":"TemporaryFile(/tmp/multipartBody201971149029335573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988883552,"filename":"image_17122025_16_47_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61cf1d157db3da885c7173e0aa72cc1b.jpg","text":"TemporaryFile(/tmp/multipartBody5282908597101703349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988883552,"filename":"image_17122025_16_46_34_9612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399808968","file1":"1399808962","file0":"1399808934","file4":"1399808971","file5":"1399808973","file3":"1399808970"},"map_files_photo_id_array":[{"photo_id":"1399808973","filename":"file5"},{"photo_id":"1399808968","filename":"file2"},{"photo_id":"1399808971","filename":"file4"},{"photo_id":"1399808962","filename":"file1"},{"photo_id":"1399808934","filename":"file0"},{"photo_id":"1399808970","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399808971":["hashtag1","hashtag2"]},{"1399808968":["hashtag1","hashtag2"]},{"1399808962":["hashtag1","hashtag2"]},{"1399808970":["hashtag1","hashtag2"]},{"1399808973":["hashtag1","hashtag2"]},{"1399808934":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399808971, 1399808968, 1399808962, 1399808970, 1399808973, 1399808934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29886293411255 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:27:42.140445
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_46_1591.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_48_1698.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_49_1596.jpg', '/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_51_1550.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_04_1707.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_13_1709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_46_1591.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_48_1698.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_49_1596.jpg
/home/pi/Desktop/images/07112025/20/32/image_07112025_20_32_51_1550.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_04_1707.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_13_1709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809061","1399809058","1399809060","1399809054","1399809057","1399809059"],"photo_ids_order":["1399809054","1399809057","1399809058","1399809059","1399809060","1399809061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20ba778266306c8f8f25b4659659af42.jpg","text":"TemporaryFile(/tmp/multipartBody2763416222978988700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988922884,"filename":"image_07112025_20_33_13_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d9fd63f2510f15d4a8dc5720bd8299e.jpg","text":"TemporaryFile(/tmp/multipartBody806229700486471004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988922884,"filename":"image_07112025_20_32_49_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f03253d299edd1e9fcf382683068964b.jpg","text":"TemporaryFile(/tmp/multipartBody6825753056750297806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988922884,"filename":"image_07112025_20_33_04_1707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30da0bf60d62439771a5a519565b5dc1.jpg","text":"TemporaryFile(/tmp/multipartBody1859222410032899794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988922884,"filename":"image_07112025_20_32_46_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65980597177e1cadd0dc9f8d91c2c102.jpg","text":"TemporaryFile(/tmp/multipartBody9126290492516969054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988922884,"filename":"image_07112025_20_32_48_1698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09b72e928945da19f6c43be3696be4ea.jpg","text":"TemporaryFile(/tmp/multipartBody6352849671863903946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988922884,"filename":"image_07112025_20_32_51_1550.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809058","file1":"1399809057","file0":"1399809054","file4":"1399809060","file5":"1399809061","file3":"1399809059"},"map_files_photo_id_array":[{"photo_id":"1399809061","filename":"file5"},{"photo_id":"1399809058","filename":"file2"},{"photo_id":"1399809060","filename":"file4"},{"photo_id":"1399809057","filename":"file1"},{"photo_id":"1399809054","filename":"file0"},{"photo_id":"1399809059","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399809061":["hashtag1","hashtag2"]},{"1399809058":["hashtag1","hashtag2"]},{"1399809060":["hashtag1","hashtag2"]},{"1399809054":["hashtag1","hashtag2"]},{"1399809057":["hashtag1","hashtag2"]},{"1399809059":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399809061, 1399809058, 1399809060, 1399809054, 1399809057, 1399809059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.12145709991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:28:22.420685
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_34_9736.jpg', '/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_44_9947.jpg', '/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_54_9900.jpg', '/home/pi/Desktop/images/17122025/16/47/image_17122025_16_48_05_10547.jpg', '/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_14_9742.jpg', '/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_24_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_34_9736.jpg
/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_44_9947.jpg
/home/pi/Desktop/images/17122025/16/47/image_17122025_16_47_54_9900.jpg
/home/pi/Desktop/images/17122025/16/47/image_17122025_16_48_05_10547.jpg
/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_14_9742.jpg
/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_24_9567.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809078","1399809066","1399809075","1399809069","1399809085","1399809073"],"photo_ids_order":["1399809066","1399809069","1399809073","1399809075","1399809078","1399809085"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c0b171c0a123ddf0808295287fc5927.jpg","text":"TemporaryFile(/tmp/multipartBody2179965902082747373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988963014,"filename":"image_17122025_16_48_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e5c5b059e1428366a3c4b0779ad48c7.jpg","text":"TemporaryFile(/tmp/multipartBody309057584279052928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988963014,"filename":"image_17122025_16_47_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b16d58626756cb42b53c6e3a17cdffd.jpg","text":"TemporaryFile(/tmp/multipartBody4482448863830756322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988963014,"filename":"image_17122025_16_48_05_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a88417f5010c34f58dd91a0783a6b07d.jpg","text":"TemporaryFile(/tmp/multipartBody1464584518947438031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988963014,"filename":"image_17122025_16_47_44_9947.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bccdbb3cec2f4f6c89391704aa23ed4.jpg","text":"TemporaryFile(/tmp/multipartBody2680067098273434104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988963014,"filename":"image_17122025_16_48_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6385804ec35382ce95221660d5881e07.jpg","text":"TemporaryFile(/tmp/multipartBody420595602485111442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765988963014,"filename":"image_17122025_16_47_54_9900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809073","file1":"1399809069","file0":"1399809066","file4":"1399809078","file5":"1399809085","file3":"1399809075"},"map_files_photo_id_array":[{"photo_id":"1399809085","filename":"file5"},{"photo_id":"1399809073","filename":"file2"},{"photo_id":"1399809078","filename":"file4"},{"photo_id":"1399809069","filename":"file1"},{"photo_id":"1399809066","filename":"file0"},{"photo_id":"1399809075","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809078":["hashtag1","hashtag2"]},{"1399809066":["hashtag1","hashtag2"]},{"1399809075":["hashtag1","hashtag2"]},{"1399809069":["hashtag1","hashtag2"]},{"1399809085":["hashtag1","hashtag2"]},{"1399809073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809078, 1399809066, 1399809075, 1399809069, 1399809085, 1399809073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.891005754470825 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:29:03.373751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_34_9847.jpg', '/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_44_9911.jpg', '/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_54_10742.jpg', '/home/pi/Desktop/images/17122025/16/48/image_17122025_16_49_04_9847.jpg', '/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_14_9594.jpg', '/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_25_10710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_34_9847.jpg
/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_44_9911.jpg
/home/pi/Desktop/images/17122025/16/48/image_17122025_16_48_54_10742.jpg
/home/pi/Desktop/images/17122025/16/48/image_17122025_16_49_04_9847.jpg
/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_14_9594.jpg
/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_25_10710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809106","1399809099","1399809108","1399809102","1399809104","1399809097"],"photo_ids_order":["1399809097","1399809099","1399809102","1399809104","1399809106","1399809108"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3d9a6bfca165ea00a2271992cfaa721.jpg","text":"TemporaryFile(/tmp/multipartBody8800060507979958629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989004054,"filename":"image_17122025_16_49_14_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/147aea4245dc99cc54b8ef05ef28f55e.jpg","text":"TemporaryFile(/tmp/multipartBody8523817996400751014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989004054,"filename":"image_17122025_16_48_44_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d61d8a6ecb9af6183a7f1c590da21cf2.jpg","text":"TemporaryFile(/tmp/multipartBody1816913171817849174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989004054,"filename":"image_17122025_16_49_25_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40af0f541b69b317612a6bc05f5662af.jpg","text":"TemporaryFile(/tmp/multipartBody7667813167918618910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989004054,"filename":"image_17122025_16_48_54_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/157e142f0e57a2eadd5a7d2f210ca180.jpg","text":"TemporaryFile(/tmp/multipartBody1778568625776333279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989004054,"filename":"image_17122025_16_49_04_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52c20ab396ca17432cf7ae058b6d8c20.jpg","text":"TemporaryFile(/tmp/multipartBody13782423911743903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989004054,"filename":"image_17122025_16_48_34_9847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809102","file1":"1399809099","file0":"1399809097","file4":"1399809106","file5":"1399809108","file3":"1399809104"},"map_files_photo_id_array":[{"photo_id":"1399809108","filename":"file5"},{"photo_id":"1399809102","filename":"file2"},{"photo_id":"1399809106","filename":"file4"},{"photo_id":"1399809099","filename":"file1"},{"photo_id":"1399809097","filename":"file0"},{"photo_id":"1399809104","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809106":["hashtag1","hashtag2"]},{"1399809099":["hashtag1","hashtag2"]},{"1399809108":["hashtag1","hashtag2"]},{"1399809102":["hashtag1","hashtag2"]},{"1399809104":["hashtag1","hashtag2"]},{"1399809097":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809106, 1399809099, 1399809108, 1399809102, 1399809104, 1399809097)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 44.901182889938354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:30:06.001314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_34_9721.jpg', '/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_44_9578.jpg', '/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_54_10613.jpg', '/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_14_10054.jpg', '/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_24_9958.jpg', '/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_35_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_34_9721.jpg
/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_44_9578.jpg
/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_54_10613.jpg
/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_14_10054.jpg
/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_24_9958.jpg
/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_35_10759.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 2.19197940826416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:30:16.323493
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:30:25.615569
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_34_9721.jpg', '/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_44_9578.jpg', '/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_54_10613.jpg', '/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_14_10054.jpg', '/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_24_9958.jpg', '/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_35_10759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_34_9721.jpg
/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_44_9578.jpg
/home/pi/Desktop/images/17122025/16/49/image_17122025_16_49_54_10613.jpg
/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_14_10054.jpg
/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_24_9958.jpg
/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_35_10759.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809136","1399809147","1399809138","1399809161","1399809155","1399809134"],"photo_ids_order":["1399809134","1399809136","1399809138","1399809147","1399809155","1399809161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bde1dd53bd80dea4feca2a5dff14fec1.jpg","text":"TemporaryFile(/tmp/multipartBody7138171323334105420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989091419,"filename":"image_17122025_16_49_44_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28402237a68fb7c86f75d12ec7c4158e.jpg","text":"TemporaryFile(/tmp/multipartBody3363397101680531329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989091419,"filename":"image_17122025_16_50_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c2d3bac2eb22f027990b2b006554e61.jpg","text":"TemporaryFile(/tmp/multipartBody7615205855508589565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989091419,"filename":"image_17122025_16_49_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8439c230e37e0133f7485586789a7b97.jpg","text":"TemporaryFile(/tmp/multipartBody7507517060836614618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989091419,"filename":"image_17122025_16_50_35_10759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aaa2124e085dff9ef2ae6e0a40008049.jpg","text":"TemporaryFile(/tmp/multipartBody4284640249646788978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989091419,"filename":"image_17122025_16_50_24_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3db54067ca3ad6eb6c3024050a59cf92.jpg","text":"TemporaryFile(/tmp/multipartBody197186776771557223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989091419,"filename":"image_17122025_16_49_34_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809138","file1":"1399809136","file0":"1399809134","file4":"1399809155","file5":"1399809161","file3":"1399809147"},"map_files_photo_id_array":[{"photo_id":"1399809161","filename":"file5"},{"photo_id":"1399809138","filename":"file2"},{"photo_id":"1399809155","filename":"file4"},{"photo_id":"1399809136","filename":"file1"},{"photo_id":"1399809134","filename":"file0"},{"photo_id":"1399809147","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809136":["hashtag1","hashtag2"]},{"1399809147":["hashtag1","hashtag2"]},{"1399809138":["hashtag1","hashtag2"]},{"1399809161":["hashtag1","hashtag2"]},{"1399809155":["hashtag1","hashtag2"]},{"1399809134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809136, 1399809147, 1399809138, 1399809161, 1399809155, 1399809134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.033371686935425 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:31:12.743258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:31:22.786963
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_45_9705.jpg', '/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_55_10025.jpg', '/home/pi/Desktop/images/17122025/16/50/image_17122025_16_51_05_9703.jpg', '/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_14_9847.jpg', '/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_25_10693.jpg', '/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_35_9846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_45_9705.jpg
/home/pi/Desktop/images/17122025/16/50/image_17122025_16_50_55_10025.jpg
/home/pi/Desktop/images/17122025/16/50/image_17122025_16_51_05_9703.jpg
/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_14_9847.jpg
/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_25_10693.jpg
/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_35_9846.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809189","1399809180","1399809183","1399809186","1399809182","1399809178"],"photo_ids_order":["1399809178","1399809180","1399809182","1399809183","1399809186","1399809189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e736c57bc1b520b048fbac99865ed80.jpg","text":"TemporaryFile(/tmp/multipartBody8409968656776433771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989143443,"filename":"image_17122025_16_51_35_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b954a83791ce2187d40a2f3f3db7796.jpg","text":"TemporaryFile(/tmp/multipartBody3624920503809279612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989143443,"filename":"image_17122025_16_50_55_10025.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18283d21fbd41daa307a55b6b71b15f6.jpg","text":"TemporaryFile(/tmp/multipartBody3726926549133393898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989143443,"filename":"image_17122025_16_51_14_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d722f178e25671bdf55fd35de8e5a4e9.jpg","text":"TemporaryFile(/tmp/multipartBody5640523805810851832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989143443,"filename":"image_17122025_16_51_25_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1864a54963eede91ac4000c69a15c6c9.jpg","text":"TemporaryFile(/tmp/multipartBody4955996989734741131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989143443,"filename":"image_17122025_16_51_05_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11d5d28542aff4835d9108f0ef8c47f1.jpg","text":"TemporaryFile(/tmp/multipartBody3635289293779691328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989143443,"filename":"image_17122025_16_50_45_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809182","file1":"1399809180","file0":"1399809178","file4":"1399809186","file5":"1399809189","file3":"1399809183"},"map_files_photo_id_array":[{"photo_id":"1399809189","filename":"file5"},{"photo_id":"1399809182","filename":"file2"},{"photo_id":"1399809186","filename":"file4"},{"photo_id":"1399809180","filename":"file1"},{"photo_id":"1399809178","filename":"file0"},{"photo_id":"1399809183","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809189":["hashtag1","hashtag2"]},{"1399809180":["hashtag1","hashtag2"]},{"1399809183":["hashtag1","hashtag2"]},{"1399809186":["hashtag1","hashtag2"]},{"1399809182":["hashtag1","hashtag2"]},{"1399809178":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809189, 1399809180, 1399809183, 1399809186, 1399809182, 1399809178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0572509765625 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:32:02.414408
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_45_9705.jpg', '/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_55_10596.jpg', '/home/pi/Desktop/images/17122025/16/51/image_17122025_16_52_05_9703.jpg', '/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_15_9704.jpg', '/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_24_9828.jpg', '/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_35_10792.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_45_9705.jpg
/home/pi/Desktop/images/17122025/16/51/image_17122025_16_51_55_10596.jpg
/home/pi/Desktop/images/17122025/16/51/image_17122025_16_52_05_9703.jpg
/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_15_9704.jpg
/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_24_9828.jpg
/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_35_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":["1399809328","1399809363","1399809345","1399809299","1399809350","1399809326"],"photo_ids_order":["1399809299","1399809326","1399809328","1399809345","1399809350","1399809363"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f28e3de2e43d1985e646bbaf37ffb513.jpg","text":"TemporaryFile(/tmp/multipartBody6146964992812052170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989183063,"filename":"image_17122025_16_52_05_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb4b45e48b730f644478d3aa350a9fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8375939248144083033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989183063,"filename":"image_17122025_16_52_35_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d55418bb440ded2ad0c27983a39aeb44.jpg","text":"TemporaryFile(/tmp/multipartBody5792954210475637110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989183063,"filename":"image_17122025_16_52_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4536aa831ef561b343eed31a8457668.jpg","text":"TemporaryFile(/tmp/multipartBody299249310922449098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989183063,"filename":"image_17122025_16_51_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b9fc1f954a6e324806dfb2342c7c03f.jpg","text":"TemporaryFile(/tmp/multipartBody6165372886940709199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989183063,"filename":"image_17122025_16_52_24_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a4b24f4fa00539a5dbfc51c1cc17381.jpg","text":"TemporaryFile(/tmp/multipartBody2825336591007770426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989183063,"filename":"image_17122025_16_51_55_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809328","file1":"1399809326","file0":"1399809299","file4":"1399809350","file5":"1399809363","file3":"1399809345"},"map_files_photo_id_array":[{"photo_id":"1399809363","filename":"file5"},{"photo_id":"1399809328","filename":"file2"},{"photo_id":"1399809350","filename":"file4"},{"photo_id":"1399809326","filename":"file1"},{"photo_id":"1399809299","filename":"file0"},{"photo_id":"1399809345","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809328":["hashtag1","hashtag2"]},{"1399809363":["hashtag1","hashtag2"]},{"1399809345":["hashtag1","hashtag2"]},{"1399809299":["hashtag1","hashtag2"]},{"1399809350":["hashtag1","hashtag2"]},{"1399809326":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809328, 1399809363, 1399809345, 1399809299, 1399809350, 1399809326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.15417504310608 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:32:41.965058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_14_1658.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_18_1789.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_19_1600.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_23_1618.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_24_1706.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_27_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_14_1658.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_18_1789.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_19_1600.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_23_1618.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_24_1706.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_27_2594.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809441","1399809444","1399809438","1399809440","1399809442","1399809391"],"photo_ids_order":["1399809391","1399809438","1399809440","1399809441","1399809442","1399809444"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f71d5843977a19d7d3bc02ecd0ab2f35.jpg","text":"TemporaryFile(/tmp/multipartBody4797112912769226692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989222707,"filename":"image_07112025_20_33_23_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76c1f13f406b9bd19d8c392113e0c9c2.jpg","text":"TemporaryFile(/tmp/multipartBody6858233450960194687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989222707,"filename":"image_07112025_20_33_27_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca7ea9db8adda766bee1e029dea6e65d.jpg","text":"TemporaryFile(/tmp/multipartBody4364736184465216517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989222707,"filename":"image_07112025_20_33_18_1789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/214e8135d8333109d6033ce8a4e48765.jpg","text":"TemporaryFile(/tmp/multipartBody2200255622841974062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989222707,"filename":"image_07112025_20_33_19_1600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/850740f24ea5fe891831131b06cc1aa6.jpg","text":"TemporaryFile(/tmp/multipartBody4695921484851889571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989222707,"filename":"image_07112025_20_33_24_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6433e10683aaacc5b841b32830289122.jpg","text":"TemporaryFile(/tmp/multipartBody801898400916058450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989222707,"filename":"image_07112025_20_33_14_1658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809440","file1":"1399809438","file0":"1399809391","file4":"1399809442","file5":"1399809444","file3":"1399809441"},"map_files_photo_id_array":[{"photo_id":"1399809444","filename":"file5"},{"photo_id":"1399809440","filename":"file2"},{"photo_id":"1399809442","filename":"file4"},{"photo_id":"1399809438","filename":"file1"},{"photo_id":"1399809391","filename":"file0"},{"photo_id":"1399809441","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399809441":["hashtag1","hashtag2"]},{"1399809444":["hashtag1","hashtag2"]},{"1399809438":["hashtag1","hashtag2"]},{"1399809440":["hashtag1","hashtag2"]},{"1399809442":["hashtag1","hashtag2"]},{"1399809391":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399809441, 1399809444, 1399809438, 1399809440, 1399809442, 1399809391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.178539514541626 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:33:22.225297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_45_9848.jpg', '/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_55_9666.jpg', '/home/pi/Desktop/images/17122025/16/52/image_17122025_16_53_04_9685.jpg', '/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_15_10710.jpg', '/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_25_9669.jpg', '/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_34_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_45_9848.jpg
/home/pi/Desktop/images/17122025/16/52/image_17122025_16_52_55_9666.jpg
/home/pi/Desktop/images/17122025/16/52/image_17122025_16_53_04_9685.jpg
/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_15_10710.jpg
/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_25_9669.jpg
/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_34_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":["1399809448","1399809450","1399809447","1399809452","1399809446","1399809455"],"photo_ids_order":["1399809446","1399809447","1399809448","1399809450","1399809452","1399809455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c391d76b49402c6a42384ea06a4bfdfb.jpg","text":"TemporaryFile(/tmp/multipartBody5172568910203909454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989262819,"filename":"image_17122025_16_53_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/765673628686ed44a96e0463a71be28d.jpg","text":"TemporaryFile(/tmp/multipartBody8924064662968973705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989262819,"filename":"image_17122025_16_53_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b62ce4aca3b4cfc509e9a823794efdf.jpg","text":"TemporaryFile(/tmp/multipartBody2495671459933275880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989262819,"filename":"image_17122025_16_52_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db283b164db1e0a4ef5898a98c061ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1715579993400419003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989262819,"filename":"image_17122025_16_53_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c20b50c94c49958e29482987935a874c.jpg","text":"TemporaryFile(/tmp/multipartBody8662105860790220017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989262819,"filename":"image_17122025_16_52_45_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13d30d22f72ea3090c190d1958a2df51.jpg","text":"TemporaryFile(/tmp/multipartBody902906748499968574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989262819,"filename":"image_17122025_16_53_34_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809448","file1":"1399809447","file0":"1399809446","file4":"1399809452","file5":"1399809455","file3":"1399809450"},"map_files_photo_id_array":[{"photo_id":"1399809455","filename":"file5"},{"photo_id":"1399809448","filename":"file2"},{"photo_id":"1399809452","filename":"file4"},{"photo_id":"1399809447","filename":"file1"},{"photo_id":"1399809446","filename":"file0"},{"photo_id":"1399809450","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809448":["hashtag1","hashtag2"]},{"1399809450":["hashtag1","hashtag2"]},{"1399809447":["hashtag1","hashtag2"]},{"1399809452":["hashtag1","hashtag2"]},{"1399809446":["hashtag1","hashtag2"]},{"1399809455":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809448, 1399809450, 1399809447, 1399809452, 1399809446, 1399809455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.430078983306885 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:34:03.186239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_45_10803.jpg', '/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_55_9773.jpg', '/home/pi/Desktop/images/17122025/16/53/image_17122025_16_54_05_9617.jpg', '/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_14_9813.jpg', '/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_25_10753.jpg', '/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_35_9852.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_45_10803.jpg
/home/pi/Desktop/images/17122025/16/53/image_17122025_16_53_55_9773.jpg
/home/pi/Desktop/images/17122025/16/53/image_17122025_16_54_05_9617.jpg
/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_14_9813.jpg
/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_25_10753.jpg
/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_35_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":["1399809466","1399809462","1399809465","1399809479","1399809464","1399809467"],"photo_ids_order":["1399809462","1399809464","1399809465","1399809466","1399809467","1399809479"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26328dfc08d747fd03356e6174701337.jpg","text":"TemporaryFile(/tmp/multipartBody1564542809382234603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989303882,"filename":"image_17122025_16_54_14_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bed3485b338ad3ed58f51d44ee56fd6f.jpg","text":"TemporaryFile(/tmp/multipartBody2817305280102752747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989303882,"filename":"image_17122025_16_53_45_10803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b8b74165ce4a0334da0bac86424df5b.jpg","text":"TemporaryFile(/tmp/multipartBody1879582102987445159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989303882,"filename":"image_17122025_16_54_05_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/133f60e359beecc0af38c50a4007fc24.jpg","text":"TemporaryFile(/tmp/multipartBody1082082477375194507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989303882,"filename":"image_17122025_16_54_35_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac8fcd3ae4961e17334692fd81ac503b.jpg","text":"TemporaryFile(/tmp/multipartBody4469160810722610215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989303882,"filename":"image_17122025_16_53_55_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f8722acac13f20763658c7aaca1faf0.jpg","text":"TemporaryFile(/tmp/multipartBody1443699610443958614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989303882,"filename":"image_17122025_16_54_25_10753.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809465","file1":"1399809464","file0":"1399809462","file4":"1399809467","file5":"1399809479","file3":"1399809466"},"map_files_photo_id_array":[{"photo_id":"1399809479","filename":"file5"},{"photo_id":"1399809465","filename":"file2"},{"photo_id":"1399809467","filename":"file4"},{"photo_id":"1399809464","filename":"file1"},{"photo_id":"1399809462","filename":"file0"},{"photo_id":"1399809466","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809466":["hashtag1","hashtag2"]},{"1399809462":["hashtag1","hashtag2"]},{"1399809465":["hashtag1","hashtag2"]},{"1399809479":["hashtag1","hashtag2"]},{"1399809464":["hashtag1","hashtag2"]},{"1399809467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809466, 1399809462, 1399809465, 1399809479, 1399809464, 1399809467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.968169927597046 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:34:42.499753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_33_2699.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_36_2648.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_39_2668.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_42_3847.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_45_2825.jpg', '/home/pi/Desktop/images/07112025/20/33/image_07112025_20_34_00_2582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_33_2699.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_36_2648.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_39_2668.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_42_3847.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_33_45_2825.jpg
/home/pi/Desktop/images/07112025/20/33/image_07112025_20_34_00_2582.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809582","1399809576","1399809581","1399809580","1399809574","1399809577"],"photo_ids_order":["1399809574","1399809576","1399809577","1399809580","1399809581","1399809582"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/165478f21ef4cfef4cba73e5a285eded.jpg","text":"TemporaryFile(/tmp/multipartBody4203680209785488499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989343237,"filename":"image_07112025_20_34_00_2582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d450e727457da5a6acbda2ec61db4f7f.jpg","text":"TemporaryFile(/tmp/multipartBody8238088901352979289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989343237,"filename":"image_07112025_20_33_36_2648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9ea2a37ca46ebc701bb859f2438f620.jpg","text":"TemporaryFile(/tmp/multipartBody3493803902030632052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989343237,"filename":"image_07112025_20_33_45_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b594fe262405c09ce8c8d1889cea1c46.jpg","text":"TemporaryFile(/tmp/multipartBody2395940968487096979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989343237,"filename":"image_07112025_20_33_42_3847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11b9de7ad022d3fcee323777fa15b813.jpg","text":"TemporaryFile(/tmp/multipartBody7299600813379913630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989343237,"filename":"image_07112025_20_33_33_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1811fe11b34b4db9ec9b34bd10af666.jpg","text":"TemporaryFile(/tmp/multipartBody1709008520927184884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989343237,"filename":"image_07112025_20_33_39_2668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809577","file1":"1399809576","file0":"1399809574","file4":"1399809581","file5":"1399809582","file3":"1399809580"},"map_files_photo_id_array":[{"photo_id":"1399809582","filename":"file5"},{"photo_id":"1399809577","filename":"file2"},{"photo_id":"1399809581","filename":"file4"},{"photo_id":"1399809576","filename":"file1"},{"photo_id":"1399809574","filename":"file0"},{"photo_id":"1399809580","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399809582":["hashtag1","hashtag2"]},{"1399809576":["hashtag1","hashtag2"]},{"1399809581":["hashtag1","hashtag2"]},{"1399809580":["hashtag1","hashtag2"]},{"1399809574":["hashtag1","hashtag2"]},{"1399809577":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399809582, 1399809576, 1399809581, 1399809580, 1399809574, 1399809577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84053325653076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:35:22.700530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_45_9839.jpg', '/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_55_9605.jpg', '/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_14_10054.jpg', '/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_25_10763.jpg', '/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_34_9793.jpg', '/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_44_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_45_9839.jpg
/home/pi/Desktop/images/17122025/16/54/image_17122025_16_54_55_9605.jpg
/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_14_10054.jpg
/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_25_10763.jpg
/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_34_9793.jpg
/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_44_9739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809588","1399809603","1399809593","1399809590","1399809584","1399809586"],"photo_ids_order":["1399809584","1399809586","1399809588","1399809590","1399809593","1399809603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cac54fb1c3a160f39cb68aa45c91f11.jpg","text":"TemporaryFile(/tmp/multipartBody5178581588257604664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989383254,"filename":"image_17122025_16_55_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7efacd205a692f46adeccb17701410cb.jpg","text":"TemporaryFile(/tmp/multipartBody2188578087494106736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989383254,"filename":"image_17122025_16_55_44_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/222798df1fdfadf6137dac4dccbc4890.jpg","text":"TemporaryFile(/tmp/multipartBody4510573059626343943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989383254,"filename":"image_17122025_16_55_34_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8348786975e9cd084f467575e7c82249.jpg","text":"TemporaryFile(/tmp/multipartBody4068883015257689137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989383254,"filename":"image_17122025_16_55_25_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b75fe002ec75e955257610aab5aee169.jpg","text":"TemporaryFile(/tmp/multipartBody6411325534630227601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989383254,"filename":"image_17122025_16_54_45_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f042ce29cb45a839f30ebc5fb7d54cd5.jpg","text":"TemporaryFile(/tmp/multipartBody7247994527728721628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989383254,"filename":"image_17122025_16_54_55_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809588","file1":"1399809586","file0":"1399809584","file4":"1399809593","file5":"1399809603","file3":"1399809590"},"map_files_photo_id_array":[{"photo_id":"1399809603","filename":"file5"},{"photo_id":"1399809588","filename":"file2"},{"photo_id":"1399809593","filename":"file4"},{"photo_id":"1399809586","filename":"file1"},{"photo_id":"1399809584","filename":"file0"},{"photo_id":"1399809590","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809588":["hashtag1","hashtag2"]},{"1399809603":["hashtag1","hashtag2"]},{"1399809593":["hashtag1","hashtag2"]},{"1399809590":["hashtag1","hashtag2"]},{"1399809584":["hashtag1","hashtag2"]},{"1399809586":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809588, 1399809603, 1399809593, 1399809590, 1399809584, 1399809586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.886879205703735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:36:11.881596
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:36:21.887579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_54_9770.jpg', '/home/pi/Desktop/images/17122025/16/55/image_17122025_16_56_04_9935.jpg', '/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_14_10606.jpg', '/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_24_9654.jpg', '/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_35_10674.jpg', '/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_44_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/55/image_17122025_16_55_54_9770.jpg
/home/pi/Desktop/images/17122025/16/55/image_17122025_16_56_04_9935.jpg
/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_14_10606.jpg
/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_24_9654.jpg
/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_35_10674.jpg
/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_44_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":["1399809622","1399809631","1399809628","1399809624","1399809626","1399809620"],"photo_ids_order":["1399809620","1399809622","1399809624","1399809626","1399809628","1399809631"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8123e227180cf344a60cb25e1e6ced2.jpg","text":"TemporaryFile(/tmp/multipartBody1450563116477340429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989442417,"filename":"image_17122025_16_56_04_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cde227b9f551dc64b4ec6ad23abd6c9d.jpg","text":"TemporaryFile(/tmp/multipartBody5169413857303396196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989442417,"filename":"image_17122025_16_56_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de18baead972f9a6bed434e67885a1c5.jpg","text":"TemporaryFile(/tmp/multipartBody4536044824123947789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989442417,"filename":"image_17122025_16_56_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ad0020cecdd19432a7713628e0a559f.jpg","text":"TemporaryFile(/tmp/multipartBody9041035208916490130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989442417,"filename":"image_17122025_16_56_14_10606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/815dccdaa52a37197420070b96787791.jpg","text":"TemporaryFile(/tmp/multipartBody2671635610606192509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989442417,"filename":"image_17122025_16_56_24_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ee9ed455fadae005dee74b4461d71bc.jpg","text":"TemporaryFile(/tmp/multipartBody2079848685422802751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989442417,"filename":"image_17122025_16_55_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809624","file1":"1399809622","file0":"1399809620","file4":"1399809628","file5":"1399809631","file3":"1399809626"},"map_files_photo_id_array":[{"photo_id":"1399809631","filename":"file5"},{"photo_id":"1399809624","filename":"file2"},{"photo_id":"1399809628","filename":"file4"},{"photo_id":"1399809622","filename":"file1"},{"photo_id":"1399809620","filename":"file0"},{"photo_id":"1399809626","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809622":["hashtag1","hashtag2"]},{"1399809631":["hashtag1","hashtag2"]},{"1399809628":["hashtag1","hashtag2"]},{"1399809624":["hashtag1","hashtag2"]},{"1399809626":["hashtag1","hashtag2"]},{"1399809620":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809622, 1399809631, 1399809628, 1399809624, 1399809626, 1399809620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22375249862671 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:37:02.802588
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_54_9615.jpg', '/home/pi/Desktop/images/17122025/16/56/image_17122025_16_57_05_10681.jpg', '/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_14_9704.jpg', '/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_24_9625.jpg', '/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_34_9796.jpg', '/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_45_10755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/56/image_17122025_16_56_54_9615.jpg
/home/pi/Desktop/images/17122025/16/56/image_17122025_16_57_05_10681.jpg
/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_14_9704.jpg
/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_24_9625.jpg
/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_34_9796.jpg
/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_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":["1399809658","1399809643","1399809660","1399809662","1399809659","1399809653"],"photo_ids_order":["1399809643","1399809653","1399809658","1399809659","1399809660","1399809662"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dff3434068169a7d042139b0c78a883d.jpg","text":"TemporaryFile(/tmp/multipartBody6969983883371077161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989483425,"filename":"image_17122025_16_57_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58bce7a17f446d5a6dbf3f18c614ba8d.jpg","text":"TemporaryFile(/tmp/multipartBody4707806663144020007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989483425,"filename":"image_17122025_16_56_54_9615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7dd4f9970f62c170229fbf888ad66e2.jpg","text":"TemporaryFile(/tmp/multipartBody4439428016782021040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989483425,"filename":"image_17122025_16_57_34_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e27dc605e4054055f3507aa49093a38e.jpg","text":"TemporaryFile(/tmp/multipartBody7883762311510301638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989483425,"filename":"image_17122025_16_57_45_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4226215d8bb6b760db101740f53c73b.jpg","text":"TemporaryFile(/tmp/multipartBody6478337465297127553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989483425,"filename":"image_17122025_16_57_24_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bb3ba7eab960e165b537def66b9b9fc.jpg","text":"TemporaryFile(/tmp/multipartBody1491974487798579745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989483425,"filename":"image_17122025_16_57_05_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809658","file1":"1399809653","file0":"1399809643","file4":"1399809660","file5":"1399809662","file3":"1399809659"},"map_files_photo_id_array":[{"photo_id":"1399809662","filename":"file5"},{"photo_id":"1399809658","filename":"file2"},{"photo_id":"1399809660","filename":"file4"},{"photo_id":"1399809653","filename":"file1"},{"photo_id":"1399809643","filename":"file0"},{"photo_id":"1399809659","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809658":["hashtag1","hashtag2"]},{"1399809643":["hashtag1","hashtag2"]},{"1399809660":["hashtag1","hashtag2"]},{"1399809662":["hashtag1","hashtag2"]},{"1399809659":["hashtag1","hashtag2"]},{"1399809653":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809658, 1399809643, 1399809660, 1399809662, 1399809659, 1399809653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29676842689514 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:37:42.086175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_03_2738.jpg', '/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_09_2777.jpg', '/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_12_2583.jpg', '/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_15_3608.jpg', '/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_18_2562.jpg', '/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_48_2810.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_03_2738.jpg
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_09_2777.jpg
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_12_2583.jpg
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_15_3608.jpg
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_18_2562.jpg
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_48_2810.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809703","1399809696","1399809699","1399809693","1399809705","1399809698"],"photo_ids_order":["1399809693","1399809696","1399809698","1399809699","1399809703","1399809705"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac536d98651e6a4b947dcbc9b565c246.jpg","text":"TemporaryFile(/tmp/multipartBody2155793923855143575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989522830,"filename":"image_07112025_20_34_18_2562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50feca62c65f104580907d7a85a9ad12.jpg","text":"TemporaryFile(/tmp/multipartBody5985501893547341159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989522830,"filename":"image_07112025_20_34_09_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/272756c4632f49cd962631f322cbf724.jpg","text":"TemporaryFile(/tmp/multipartBody6940534409058702890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989522830,"filename":"image_07112025_20_34_15_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bf9bc9e1b60982f8f2b7907a6de5d1c.jpg","text":"TemporaryFile(/tmp/multipartBody1316588057280510873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989522830,"filename":"image_07112025_20_34_03_2738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6ac8ae55322f78871098e5e5a96c434.jpg","text":"TemporaryFile(/tmp/multipartBody3135754866878780590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989522830,"filename":"image_07112025_20_34_48_2810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28747b509f088b2ebe08c927daa41d27.jpg","text":"TemporaryFile(/tmp/multipartBody584642059967438873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989522830,"filename":"image_07112025_20_34_12_2583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809698","file1":"1399809696","file0":"1399809693","file4":"1399809703","file5":"1399809705","file3":"1399809699"},"map_files_photo_id_array":[{"photo_id":"1399809705","filename":"file5"},{"photo_id":"1399809698","filename":"file2"},{"photo_id":"1399809703","filename":"file4"},{"photo_id":"1399809696","filename":"file1"},{"photo_id":"1399809693","filename":"file0"},{"photo_id":"1399809699","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399809703":["hashtag1","hashtag2"]},{"1399809696":["hashtag1","hashtag2"]},{"1399809699":["hashtag1","hashtag2"]},{"1399809693":["hashtag1","hashtag2"]},{"1399809705":["hashtag1","hashtag2"]},{"1399809698":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399809703, 1399809696, 1399809699, 1399809693, 1399809705, 1399809698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.09826588630676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:38:22.329175
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_54_9777.jpg', '/home/pi/Desktop/images/17122025/16/57/image_17122025_16_58_04_9629.jpg', '/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_15_10764.jpg', '/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_24_9639.jpg', '/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_34_9797.jpg', '/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_44_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/57/image_17122025_16_57_54_9777.jpg
/home/pi/Desktop/images/17122025/16/57/image_17122025_16_58_04_9629.jpg
/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_15_10764.jpg
/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_24_9639.jpg
/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_34_9797.jpg
/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_44_9644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809721","1399809727","1399809723","1399809711","1399809719","1399809710"],"photo_ids_order":["1399809710","1399809711","1399809719","1399809721","1399809723","1399809727"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebb653f46ebde7e7b04abf60bfaafed2.jpg","text":"TemporaryFile(/tmp/multipartBody3443671272040523490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989562919,"filename":"image_17122025_16_58_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6be74e72ca968f134e85e6068b327a21.jpg","text":"TemporaryFile(/tmp/multipartBody447353679292749019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989562919,"filename":"image_17122025_16_58_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/551d73cdec62c10d401bd7a050da128f.jpg","text":"TemporaryFile(/tmp/multipartBody5909210928193980656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989562919,"filename":"image_17122025_16_58_34_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/343d149105399cd958019711cb7bc779.jpg","text":"TemporaryFile(/tmp/multipartBody5096537993802842258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989562919,"filename":"image_17122025_16_58_04_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05a993ca413567d3c020f396ff1b9a64.jpg","text":"TemporaryFile(/tmp/multipartBody55229670296426603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989562919,"filename":"image_17122025_16_58_15_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7012693286007f0d2ebcecaab5025e17.jpg","text":"TemporaryFile(/tmp/multipartBody4365368006432185996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989562919,"filename":"image_17122025_16_57_54_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809719","file1":"1399809711","file0":"1399809710","file4":"1399809723","file5":"1399809727","file3":"1399809721"},"map_files_photo_id_array":[{"photo_id":"1399809727","filename":"file5"},{"photo_id":"1399809719","filename":"file2"},{"photo_id":"1399809723","filename":"file4"},{"photo_id":"1399809711","filename":"file1"},{"photo_id":"1399809710","filename":"file0"},{"photo_id":"1399809721","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809721":["hashtag1","hashtag2"]},{"1399809727":["hashtag1","hashtag2"]},{"1399809723":["hashtag1","hashtag2"]},{"1399809711":["hashtag1","hashtag2"]},{"1399809719":["hashtag1","hashtag2"]},{"1399809710":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809721, 1399809727, 1399809723, 1399809711, 1399809719, 1399809710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86012578010559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:39:03.744383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_55_10845.jpg', '/home/pi/Desktop/images/17122025/16/58/image_17122025_16_59_04_9769.jpg', '/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_14_9772.jpg', '/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_24_9579.jpg', '/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_35_10809.jpg', '/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_44_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/58/image_17122025_16_58_55_10845.jpg
/home/pi/Desktop/images/17122025/16/58/image_17122025_16_59_04_9769.jpg
/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_14_9772.jpg
/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_24_9579.jpg
/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_35_10809.jpg
/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_44_9780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399809751","1399809745","1399809733","1399809768","1399809752","1399809748"],"photo_ids_order":["1399809733","1399809745","1399809748","1399809751","1399809752","1399809768"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3ff839b55829eace83b236ca5aa1992.jpg","text":"TemporaryFile(/tmp/multipartBody7833083675860051282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989604442,"filename":"image_17122025_16_59_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b8fb0e7d595a5a3feaefcca5c328b4e.jpg","text":"TemporaryFile(/tmp/multipartBody7562311028332438608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989604442,"filename":"image_17122025_16_59_04_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a823728b2fa9c70b8180ab046041f343.jpg","text":"TemporaryFile(/tmp/multipartBody7916709506042163610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989604442,"filename":"image_17122025_16_58_55_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0673e3700a76632f35faa3fd44ff432a.jpg","text":"TemporaryFile(/tmp/multipartBody8239484887248901835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989604442,"filename":"image_17122025_16_59_44_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6daacaee3efb259f9eee8e3d25343c7b.jpg","text":"TemporaryFile(/tmp/multipartBody2555276734553096763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989604442,"filename":"image_17122025_16_59_35_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6412104434f55476be5b62ed09decfc5.jpg","text":"TemporaryFile(/tmp/multipartBody36040284466852098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989604442,"filename":"image_17122025_16_59_14_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399809748","file1":"1399809745","file0":"1399809733","file4":"1399809752","file5":"1399809768","file3":"1399809751"},"map_files_photo_id_array":[{"photo_id":"1399809768","filename":"file5"},{"photo_id":"1399809748","filename":"file2"},{"photo_id":"1399809752","filename":"file4"},{"photo_id":"1399809745","filename":"file1"},{"photo_id":"1399809733","filename":"file0"},{"photo_id":"1399809751","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399809751":["hashtag1","hashtag2"]},{"1399809745":["hashtag1","hashtag2"]},{"1399809733":["hashtag1","hashtag2"]},{"1399809768":["hashtag1","hashtag2"]},{"1399809752":["hashtag1","hashtag2"]},{"1399809748":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399809751, 1399809745, 1399809733, 1399809768, 1399809752, 1399809748)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.45659303665161 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:39:42.753324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_51_3568.jpg', '/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_54_2859.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_03_2662.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_09_2906.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_15_2721.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_27_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_51_3568.jpg
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_54_2859.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_03_2662.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_09_2906.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_15_2721.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_27_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
uploaded 0 photos
time to upload: 300.75630021095276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:45:02.913341
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_54_9658.jpg', '/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_14_10053.jpg', '/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_25_10693.jpg', '/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_35_9698.jpg', '/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_45_9723.jpg', '/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_54_9934.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/16/59/image_17122025_16_59_54_9658.jpg
/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_14_10053.jpg
/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_25_10693.jpg
/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_35_9698.jpg
/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_45_9723.jpg
/home/pi/Desktop/images/17122025/17/00/image_17122025_17_00_54_9934.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":["1399810189","1399810192","1399810194","1399810188","1399810185","1399810190"],"photo_ids_order":["1399810185","1399810188","1399810189","1399810190","1399810192","1399810194"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48c6f5bd93642b2c3d8b0c3e7899fa1c.jpg","text":"TemporaryFile(/tmp/multipartBody1031405450013727052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989963580,"filename":"image_17122025_17_00_25_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f8eb8add67b0360942fa5a8d5f050a7.jpg","text":"TemporaryFile(/tmp/multipartBody2222704578709863736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989963580,"filename":"image_17122025_17_00_45_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6505f99beec2abcf58a9090c8407a53a.jpg","text":"TemporaryFile(/tmp/multipartBody2446472733824598267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989963580,"filename":"image_17122025_17_00_54_9934.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/820012fce77d5890f82b2963881cd31a.jpg","text":"TemporaryFile(/tmp/multipartBody890457513673378559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989963580,"filename":"image_17122025_17_00_14_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54465b8b7fa47377de7c7ce7f35a5ef1.jpg","text":"TemporaryFile(/tmp/multipartBody3183176285372605536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989963580,"filename":"image_17122025_16_59_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49182a5c8c0276d7fbeec82ad7d993e8.jpg","text":"TemporaryFile(/tmp/multipartBody3330920858762830679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765989963580,"filename":"image_17122025_17_00_35_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810189","file1":"1399810188","file0":"1399810185","file4":"1399810192","file5":"1399810194","file3":"1399810190"},"map_files_photo_id_array":[{"photo_id":"1399810194","filename":"file5"},{"photo_id":"1399810189","filename":"file2"},{"photo_id":"1399810192","filename":"file4"},{"photo_id":"1399810188","filename":"file1"},{"photo_id":"1399810185","filename":"file0"},{"photo_id":"1399810190","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810189":["hashtag1","hashtag2"]},{"1399810192":["hashtag1","hashtag2"]},{"1399810194":["hashtag1","hashtag2"]},{"1399810188":["hashtag1","hashtag2"]},{"1399810185":["hashtag1","hashtag2"]},{"1399810190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810189, 1399810192, 1399810194, 1399810188, 1399810185, 1399810190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.82264566421509 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:46:02.978982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 17:46:12.653949
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:46:22.571427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/00/image_17122025_17_01_05_10674.jpg', '/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_15_9694.jpg', '/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_25_9806.jpg', '/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_34_9779.jpg', '/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_45_10692.jpg', '/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_55_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/00/image_17122025_17_01_05_10674.jpg
/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_15_9694.jpg
/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_25_9806.jpg
/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_34_9779.jpg
/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_45_10692.jpg
/home/pi/Desktop/images/17122025/17/01/image_17122025_17_01_55_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":["1399810211","1399810208","1399810204","1399810206","1399810200","1399810202"],"photo_ids_order":["1399810200","1399810202","1399810204","1399810206","1399810208","1399810211"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/655288646b73ddf1855e243683ed8d31.jpg","text":"TemporaryFile(/tmp/multipartBody4302378436756401047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990043103,"filename":"image_17122025_17_01_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92d9b1216019fedac91a74fcc1e12e94.jpg","text":"TemporaryFile(/tmp/multipartBody3394491919550696361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990043103,"filename":"image_17122025_17_01_45_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d783b8c56ee6954f85dcaa850ce7e66.jpg","text":"TemporaryFile(/tmp/multipartBody4815218019435846135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990043103,"filename":"image_17122025_17_01_25_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ec698ccb18a84a7c017fe42ab98b504.jpg","text":"TemporaryFile(/tmp/multipartBody4939799003529354203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990043103,"filename":"image_17122025_17_01_34_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/984700732dc26a5e8fcd5591195a9f6e.jpg","text":"TemporaryFile(/tmp/multipartBody302519877990528635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990043103,"filename":"image_17122025_17_01_05_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b77902d1d14a45915c0a9fa3c98c04e.jpg","text":"TemporaryFile(/tmp/multipartBody8617019677417986965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990043103,"filename":"image_17122025_17_01_15_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810204","file1":"1399810202","file0":"1399810200","file4":"1399810208","file5":"1399810211","file3":"1399810206"},"map_files_photo_id_array":[{"photo_id":"1399810211","filename":"file5"},{"photo_id":"1399810204","filename":"file2"},{"photo_id":"1399810208","filename":"file4"},{"photo_id":"1399810202","filename":"file1"},{"photo_id":"1399810200","filename":"file0"},{"photo_id":"1399810206","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810211":["hashtag1","hashtag2"]},{"1399810208":["hashtag1","hashtag2"]},{"1399810204":["hashtag1","hashtag2"]},{"1399810206":["hashtag1","hashtag2"]},{"1399810200":["hashtag1","hashtag2"]},{"1399810202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810211, 1399810208, 1399810204, 1399810206, 1399810200, 1399810202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.805798053741455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:47:03.394533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/01/image_17122025_17_02_05_9631.jpg', '/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_15_10719.jpg', '/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_24_9143.jpg', '/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_35_10784.jpg', '/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_45_9587.jpg', '/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_55_9878.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/01/image_17122025_17_02_05_9631.jpg
/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_15_10719.jpg
/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_24_9143.jpg
/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_35_10784.jpg
/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_45_9587.jpg
/home/pi/Desktop/images/17122025/17/02/image_17122025_17_02_55_9878.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":["1399810214","1399810213","1399810218","1399810212","1399810221","1399810223"],"photo_ids_order":["1399810212","1399810213","1399810214","1399810218","1399810221","1399810223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/158d46bb68fa9e0c2f7a0a901e5cc9ee.jpg","text":"TemporaryFile(/tmp/multipartBody2242693306002924664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990084064,"filename":"image_17122025_17_02_24_9143.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d5fd2695a18ef3203d431fd9374e7e2.jpg","text":"TemporaryFile(/tmp/multipartBody8267316827370798126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990084064,"filename":"image_17122025_17_02_15_10719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5873911283b9983c28545725e2db0fa2.jpg","text":"TemporaryFile(/tmp/multipartBody3689287667208801975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990084064,"filename":"image_17122025_17_02_35_10784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/002a95783b54053d61b3a2c560564259.jpg","text":"TemporaryFile(/tmp/multipartBody3450458116929352459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990084064,"filename":"image_17122025_17_02_05_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2832daabb0f46d8188461b1e62c16352.jpg","text":"TemporaryFile(/tmp/multipartBody7438710848335950298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990084064,"filename":"image_17122025_17_02_45_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0692e0af77b8b0eafbe27b4bfc10392e.jpg","text":"TemporaryFile(/tmp/multipartBody270334169123624806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990084064,"filename":"image_17122025_17_02_55_9878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810214","file1":"1399810213","file0":"1399810212","file4":"1399810221","file5":"1399810223","file3":"1399810218"},"map_files_photo_id_array":[{"photo_id":"1399810223","filename":"file5"},{"photo_id":"1399810214","filename":"file2"},{"photo_id":"1399810221","filename":"file4"},{"photo_id":"1399810213","filename":"file1"},{"photo_id":"1399810212","filename":"file0"},{"photo_id":"1399810218","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810214":["hashtag1","hashtag2"]},{"1399810213":["hashtag1","hashtag2"]},{"1399810218":["hashtag1","hashtag2"]},{"1399810212":["hashtag1","hashtag2"]},{"1399810221":["hashtag1","hashtag2"]},{"1399810223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810214, 1399810213, 1399810218, 1399810212, 1399810221, 1399810223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.137723207473755 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:48:12.098348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:48:24.966680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/02/image_17122025_17_03_04_9781.jpg', '/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_15_10664.jpg', '/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_25_9738.jpg', '/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_34_9597.jpg', '/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_45_10707.jpg', '/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_55_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/02/image_17122025_17_03_04_9781.jpg
/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_15_10664.jpg
/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_25_9738.jpg
/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_34_9597.jpg
/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_45_10707.jpg
/home/pi/Desktop/images/17122025/17/03/image_17122025_17_03_55_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":["1399810231","1399810240","1399810237","1399810233","1399810241","1399810235"],"photo_ids_order":["1399810231","1399810233","1399810235","1399810237","1399810240","1399810241"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ed4bb8bc7cd9b4c92443f9e59fd08c0.jpg","text":"TemporaryFile(/tmp/multipartBody9009601807260427101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990168268,"filename":"image_17122025_17_03_04_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bae4574ee504877dc7fa74818eb6a4a.jpg","text":"TemporaryFile(/tmp/multipartBody3499670937924995669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990168268,"filename":"image_17122025_17_03_45_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e233671f613f17a9bf1b65266fccf1c9.jpg","text":"TemporaryFile(/tmp/multipartBody2965270385208709189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990168268,"filename":"image_17122025_17_03_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbf2e26432d406c38a8348732471d426.jpg","text":"TemporaryFile(/tmp/multipartBody8451248455546085692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990168268,"filename":"image_17122025_17_03_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7360282aa43a9708d5e6377df5ad15e0.jpg","text":"TemporaryFile(/tmp/multipartBody1876902073614290687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990168268,"filename":"image_17122025_17_03_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b53c70e2b5b8759c7beee63805bac87.jpg","text":"TemporaryFile(/tmp/multipartBody4200908634109954719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990168268,"filename":"image_17122025_17_03_25_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810235","file1":"1399810233","file0":"1399810231","file4":"1399810240","file5":"1399810241","file3":"1399810237"},"map_files_photo_id_array":[{"photo_id":"1399810241","filename":"file5"},{"photo_id":"1399810235","filename":"file2"},{"photo_id":"1399810240","filename":"file4"},{"photo_id":"1399810233","filename":"file1"},{"photo_id":"1399810231","filename":"file0"},{"photo_id":"1399810237","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810231":["hashtag1","hashtag2"]},{"1399810240":["hashtag1","hashtag2"]},{"1399810237":["hashtag1","hashtag2"]},{"1399810233":["hashtag1","hashtag2"]},{"1399810241":["hashtag1","hashtag2"]},{"1399810235":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810231, 1399810240, 1399810237, 1399810233, 1399810241, 1399810235)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.4328773021698 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:49:12.196880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:49:22.315567
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/03/image_17122025_17_04_05_10574.jpg', '/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_15_9906.jpg', '/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_25_9983.jpg', '/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_35_9743.jpg', '/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_45_9718.jpg', '/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_54_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/03/image_17122025_17_04_05_10574.jpg
/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_15_9906.jpg
/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_25_9983.jpg
/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_35_9743.jpg
/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_45_9718.jpg
/home/pi/Desktop/images/17122025/17/04/image_17122025_17_04_54_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":["1399810276","1399810255","1399810272","1399810281","1399810278","1399810274"],"photo_ids_order":["1399810255","1399810272","1399810274","1399810276","1399810278","1399810281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ce5d83cc467cf1acc9740004a5dffba.jpg","text":"TemporaryFile(/tmp/multipartBody2264305986302493391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990223133,"filename":"image_17122025_17_04_35_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c4a4493987dad153cdb4969457c64a6.jpg","text":"TemporaryFile(/tmp/multipartBody3837026861699106632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990223133,"filename":"image_17122025_17_04_05_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2306ed4442c3655cf46ca7c7e8023af3.jpg","text":"TemporaryFile(/tmp/multipartBody4316891699603209943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990223133,"filename":"image_17122025_17_04_15_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe04c929286bfebc912a3fbca670b94c.jpg","text":"TemporaryFile(/tmp/multipartBody8552723480491603631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990223133,"filename":"image_17122025_17_04_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21d4915c276ce8dca21af8faa0aba679.jpg","text":"TemporaryFile(/tmp/multipartBody6757230563304007454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990223133,"filename":"image_17122025_17_04_45_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13eba8e8a558ca25eb1c20a816c19d7b.jpg","text":"TemporaryFile(/tmp/multipartBody518605818828954902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990223133,"filename":"image_17122025_17_04_25_9983.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810274","file1":"1399810272","file0":"1399810255","file4":"1399810278","file5":"1399810281","file3":"1399810276"},"map_files_photo_id_array":[{"photo_id":"1399810281","filename":"file5"},{"photo_id":"1399810274","filename":"file2"},{"photo_id":"1399810278","filename":"file4"},{"photo_id":"1399810272","filename":"file1"},{"photo_id":"1399810255","filename":"file0"},{"photo_id":"1399810276","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810276":["hashtag1","hashtag2"]},{"1399810255":["hashtag1","hashtag2"]},{"1399810272":["hashtag1","hashtag2"]},{"1399810281":["hashtag1","hashtag2"]},{"1399810278":["hashtag1","hashtag2"]},{"1399810274":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810276, 1399810255, 1399810272, 1399810281, 1399810278, 1399810274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.476884603500366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:50:02.858108
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_14_10057.jpg', '/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_25_10817.jpg', '/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_35_9824.jpg', '/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_45_9629.jpg', '/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_54_9705.jpg', '/home/pi/Desktop/images/17122025/17/05/image_17122025_17_06_05_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_14_10057.jpg
/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_25_10817.jpg
/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_35_9824.jpg
/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_45_9629.jpg
/home/pi/Desktop/images/17122025/17/05/image_17122025_17_05_54_9705.jpg
/home/pi/Desktop/images/17122025/17/05/image_17122025_17_06_05_10781.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399810288","1399810291","1399810285","1399810287","1399810286","1399810289"],"photo_ids_order":["1399810285","1399810286","1399810287","1399810288","1399810289","1399810291"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2f80344478e310d7300f2197f79ae55.jpg","text":"TemporaryFile(/tmp/multipartBody534451981947186181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990263635,"filename":"image_17122025_17_05_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5c229ee63a2862c49f1c51486cb599f.jpg","text":"TemporaryFile(/tmp/multipartBody8539450705020401109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990263635,"filename":"image_17122025_17_06_05_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a663e36f68b15a1577ff9f5d3119956f.jpg","text":"TemporaryFile(/tmp/multipartBody8184726248172150245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990263635,"filename":"image_17122025_17_05_14_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/251a71352272b00b418f01aa0ea22db6.jpg","text":"TemporaryFile(/tmp/multipartBody5149210159840707547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990263635,"filename":"image_17122025_17_05_35_9824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c60bbfc8e12d82e4bbcfc42bd5c3242.jpg","text":"TemporaryFile(/tmp/multipartBody8790220365536203683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990263635,"filename":"image_17122025_17_05_25_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5bc39669e993287c66337208fc1fa51.jpg","text":"TemporaryFile(/tmp/multipartBody6749252004160305982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990263635,"filename":"image_17122025_17_05_54_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810287","file1":"1399810286","file0":"1399810285","file4":"1399810289","file5":"1399810291","file3":"1399810288"},"map_files_photo_id_array":[{"photo_id":"1399810291","filename":"file5"},{"photo_id":"1399810287","filename":"file2"},{"photo_id":"1399810289","filename":"file4"},{"photo_id":"1399810286","filename":"file1"},{"photo_id":"1399810285","filename":"file0"},{"photo_id":"1399810288","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810288":["hashtag1","hashtag2"]},{"1399810291":["hashtag1","hashtag2"]},{"1399810285":["hashtag1","hashtag2"]},{"1399810287":["hashtag1","hashtag2"]},{"1399810286":["hashtag1","hashtag2"]},{"1399810289":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810288, 1399810291, 1399810285, 1399810287, 1399810286, 1399810289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.41966533660889 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:50:42.505687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_51_3568.jpg', '/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_54_2859.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_03_2662.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_09_2906.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_15_2721.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_27_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_51_3568.jpg
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_54_2859.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_03_2662.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_09_2906.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_15_2721.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_27_2689.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7690207958221436 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:51:10.894332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_15_9748.jpg', '/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_25_9777.jpg', '/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_34_9741.jpg', '/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_45_10637.jpg', '/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_55_10224.jpg', '/home/pi/Desktop/images/17122025/17/06/image_17122025_17_07_05_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_15_9748.jpg
/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_25_9777.jpg
/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_34_9741.jpg
/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_45_10637.jpg
/home/pi/Desktop/images/17122025/17/06/image_17122025_17_06_55_10224.jpg
/home/pi/Desktop/images/17122025/17/06/image_17122025_17_07_05_9719.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":["1399810307","1399810315","1399810309","1399810311","1399810308","1399810313"],"photo_ids_order":["1399810307","1399810308","1399810309","1399810311","1399810313","1399810315"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15b94426b16a56a4f3c5ef137d68f3cb.jpg","text":"TemporaryFile(/tmp/multipartBody3461310413954613664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990331848,"filename":"image_17122025_17_06_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c15f0d78c98394de1728abd2c36880e.jpg","text":"TemporaryFile(/tmp/multipartBody2378578820979059268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990331848,"filename":"image_17122025_17_07_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b5d2601f5656a1ac0871830f4f0b3d7.jpg","text":"TemporaryFile(/tmp/multipartBody4254620514666581153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990331848,"filename":"image_17122025_17_06_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/295512473814e79147a4802fd7784ba5.jpg","text":"TemporaryFile(/tmp/multipartBody2705888276764538594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990331848,"filename":"image_17122025_17_06_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9502c253d31c70ceb6f151d90e3b68c3.jpg","text":"TemporaryFile(/tmp/multipartBody3819996240789550053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990331848,"filename":"image_17122025_17_06_25_9777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a39e0eab3b70e139e3054296572915b3.jpg","text":"TemporaryFile(/tmp/multipartBody3405972903266941470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990331848,"filename":"image_17122025_17_06_55_10224.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810309","file1":"1399810308","file0":"1399810307","file4":"1399810313","file5":"1399810315","file3":"1399810311"},"map_files_photo_id_array":[{"photo_id":"1399810315","filename":"file5"},{"photo_id":"1399810309","filename":"file2"},{"photo_id":"1399810313","filename":"file4"},{"photo_id":"1399810308","filename":"file1"},{"photo_id":"1399810307","filename":"file0"},{"photo_id":"1399810311","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810307":["hashtag1","hashtag2"]},{"1399810315":["hashtag1","hashtag2"]},{"1399810309":["hashtag1","hashtag2"]},{"1399810311":["hashtag1","hashtag2"]},{"1399810308":["hashtag1","hashtag2"]},{"1399810313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810307, 1399810315, 1399810309, 1399810311, 1399810308, 1399810313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.590514183044434 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:52:02.524277
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_15_9682.jpg', '/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_24_9761.jpg', '/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_35_10597.jpg', '/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_45_9692.jpg', '/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_54_9735.jpg', '/home/pi/Desktop/images/17122025/17/07/image_17122025_17_08_05_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_15_9682.jpg
/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_24_9761.jpg
/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_35_10597.jpg
/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_45_9692.jpg
/home/pi/Desktop/images/17122025/17/07/image_17122025_17_07_54_9735.jpg
/home/pi/Desktop/images/17122025/17/07/image_17122025_17_08_05_10673.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":["1399810325","1399810324","1399810329","1399810323","1399810326","1399810328"],"photo_ids_order":["1399810323","1399810324","1399810325","1399810326","1399810328","1399810329"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea6af66f2707336491e08c97ef33eeda.jpg","text":"TemporaryFile(/tmp/multipartBody2228313400842960529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990384816,"filename":"image_17122025_17_07_35_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93e71738203c1a53df50c19160ab8673.jpg","text":"TemporaryFile(/tmp/multipartBody2041510975963833280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990384816,"filename":"image_17122025_17_07_24_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/366424ba21befa29b33f5e3c809e8b24.jpg","text":"TemporaryFile(/tmp/multipartBody4334816098097003373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990384816,"filename":"image_17122025_17_08_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ed51ded8d558469f140762bd3a60e91.jpg","text":"TemporaryFile(/tmp/multipartBody8471136628704256146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990384816,"filename":"image_17122025_17_07_15_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c970d0b061941dd3eefc279bfb8cf5e.jpg","text":"TemporaryFile(/tmp/multipartBody1758173145225510499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990384816,"filename":"image_17122025_17_07_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7f8c6c429ac9778f5a72ffd028c259b.jpg","text":"TemporaryFile(/tmp/multipartBody2742507234700072199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990384816,"filename":"image_17122025_17_07_54_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810325","file1":"1399810324","file0":"1399810323","file4":"1399810328","file5":"1399810329","file3":"1399810326"},"map_files_photo_id_array":[{"photo_id":"1399810329","filename":"file5"},{"photo_id":"1399810325","filename":"file2"},{"photo_id":"1399810328","filename":"file4"},{"photo_id":"1399810324","filename":"file1"},{"photo_id":"1399810323","filename":"file0"},{"photo_id":"1399810326","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810325":["hashtag1","hashtag2"]},{"1399810324":["hashtag1","hashtag2"]},{"1399810329":["hashtag1","hashtag2"]},{"1399810323":["hashtag1","hashtag2"]},{"1399810326":["hashtag1","hashtag2"]},{"1399810328":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810325, 1399810324, 1399810329, 1399810323, 1399810326, 1399810328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.56022644042969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:53:03.055546
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_15_9752.jpg', '/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_25_9774.jpg', '/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_34_9678.jpg', '/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_45_10672.jpg', '/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_55_9748.jpg', '/home/pi/Desktop/images/17122025/17/08/image_17122025_17_09_04_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_15_9752.jpg
/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_25_9774.jpg
/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_34_9678.jpg
/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_45_10672.jpg
/home/pi/Desktop/images/17122025/17/08/image_17122025_17_08_55_9748.jpg
/home/pi/Desktop/images/17122025/17/08/image_17122025_17_09_04_9666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399810387","1399810381","1399810384","1399810389","1399810391","1399810388"],"photo_ids_order":["1399810381","1399810384","1399810387","1399810388","1399810389","1399810391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c076f5631cbd3fed71f74a3dcd937af2.jpg","text":"TemporaryFile(/tmp/multipartBody2501622380048350642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990443832,"filename":"image_17122025_17_08_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ba8d110b96a15746e86eca1844dc818.jpg","text":"TemporaryFile(/tmp/multipartBody8743251853361930061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990443832,"filename":"image_17122025_17_08_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f04abdaf18b7d2afae2bb959cb9bb00.jpg","text":"TemporaryFile(/tmp/multipartBody7941142989440504117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990443832,"filename":"image_17122025_17_08_25_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c03c39fc4d2a9f4238b44cf8927d4c9.jpg","text":"TemporaryFile(/tmp/multipartBody2601378741442949020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990443832,"filename":"image_17122025_17_08_55_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ac85be25b57849898b33014dcfbc827.jpg","text":"TemporaryFile(/tmp/multipartBody5394349129963665139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990443832,"filename":"image_17122025_17_09_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d20df214b784491073a7ca148a3cf38.jpg","text":"TemporaryFile(/tmp/multipartBody8091301170007909992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990443832,"filename":"image_17122025_17_08_45_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810387","file1":"1399810384","file0":"1399810381","file4":"1399810389","file5":"1399810391","file3":"1399810388"},"map_files_photo_id_array":[{"photo_id":"1399810391","filename":"file5"},{"photo_id":"1399810387","filename":"file2"},{"photo_id":"1399810389","filename":"file4"},{"photo_id":"1399810384","filename":"file1"},{"photo_id":"1399810381","filename":"file0"},{"photo_id":"1399810388","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810387":["hashtag1","hashtag2"]},{"1399810381":["hashtag1","hashtag2"]},{"1399810384":["hashtag1","hashtag2"]},{"1399810389":["hashtag1","hashtag2"]},{"1399810391":["hashtag1","hashtag2"]},{"1399810388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810387, 1399810381, 1399810384, 1399810389, 1399810391, 1399810388)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 50.16776371002197 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:54:02.654786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_15_10577.jpg', '/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_25_9768.jpg', '/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_34_9658.jpg', '/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_45_10795.jpg', '/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_55_9923.jpg', '/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_15_10577.jpg
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_25_9768.jpg
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_34_9658.jpg
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_45_10795.jpg
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_55_9923.jpg
/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_14_10037.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.678464412689209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:54:11.936302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:54:21.962413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_15_10577.jpg', '/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_25_9768.jpg', '/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_34_9658.jpg', '/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_45_10795.jpg', '/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_55_9923.jpg', '/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_14_10037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_15_10577.jpg
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_25_9768.jpg
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_34_9658.jpg
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_45_10795.jpg
/home/pi/Desktop/images/17122025/17/09/image_17122025_17_09_55_9923.jpg
/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_14_10037.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399810593","1399810674","1399810713","1399810635","1399810518","1399810556"],"photo_ids_order":["1399810518","1399810556","1399810593","1399810635","1399810674","1399810713"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73cbfe84a312b2ef9af61ae6693ab2e8.jpg","text":"TemporaryFile(/tmp/multipartBody1528732344053286498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990522788,"filename":"image_17122025_17_09_34_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2eb60fceaf0ab0901cb68ca615a669eb.jpg","text":"TemporaryFile(/tmp/multipartBody6933956719285479749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990522788,"filename":"image_17122025_17_09_55_9923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62f0409d0462776bc3d3f69e932fd815.jpg","text":"TemporaryFile(/tmp/multipartBody6663512058622042131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990522788,"filename":"image_17122025_17_11_14_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22535c11114e2587be7607289f2d6d66.jpg","text":"TemporaryFile(/tmp/multipartBody7359564414479957914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990522788,"filename":"image_17122025_17_09_45_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cabfd99fc0dc7809b344681077911d44.jpg","text":"TemporaryFile(/tmp/multipartBody4517709624532273916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990522788,"filename":"image_17122025_17_09_15_10577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4d06a9b0cf70667789a1dfb43bff74d.jpg","text":"TemporaryFile(/tmp/multipartBody3851195734985694041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990522788,"filename":"image_17122025_17_09_25_9768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810593","file1":"1399810556","file0":"1399810518","file4":"1399810674","file5":"1399810713","file3":"1399810635"},"map_files_photo_id_array":[{"photo_id":"1399810713","filename":"file5"},{"photo_id":"1399810593","filename":"file2"},{"photo_id":"1399810674","filename":"file4"},{"photo_id":"1399810556","filename":"file1"},{"photo_id":"1399810518","filename":"file0"},{"photo_id":"1399810635","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810593":["hashtag1","hashtag2"]},{"1399810674":["hashtag1","hashtag2"]},{"1399810713":["hashtag1","hashtag2"]},{"1399810635":["hashtag1","hashtag2"]},{"1399810518":["hashtag1","hashtag2"]},{"1399810556":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810593, 1399810674, 1399810713, 1399810635, 1399810518, 1399810556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.0499210357666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:55:02.844745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 17:55:12.144237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:55:22.110300
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_24_10084.jpg', '/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_34_10878.jpg', '/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_44_9514.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_01_16827.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_04_3593.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_14_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_24_10084.jpg
/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_34_10878.jpg
/home/pi/Desktop/images/17122025/17/11/image_17122025_17_11_44_9514.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_01_16827.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_04_3593.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_14_9876.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399810945","1399810960","1399810941","1399810947","1399810949","1399810943"],"photo_ids_order":["1399810941","1399810943","1399810945","1399810947","1399810949","1399810960"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be83fab502500ed9e4a4508392f00993.jpg","text":"TemporaryFile(/tmp/multipartBody7444363341012554744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990582889,"filename":"image_17122025_17_11_44_9514.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6530fe17f67926cb5edc406b59014d99.jpg","text":"TemporaryFile(/tmp/multipartBody6305592555931073465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990582889,"filename":"image_17122025_17_12_14_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2ca0a9d7a0ebaba9d1828521e8e3d14.jpg","text":"TemporaryFile(/tmp/multipartBody8413936546856541225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990582889,"filename":"image_17122025_17_11_24_10084.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/180b71b3edcaddbb07f1d431497598a2.jpg","text":"TemporaryFile(/tmp/multipartBody4354690613831188365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990582889,"filename":"image_17122025_17_12_01_16827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb2b463174dd91bdd28e952afe116a81.jpg","text":"TemporaryFile(/tmp/multipartBody3034199133205122568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990582889,"filename":"image_17122025_17_12_04_3593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da0b775f28a6cc68159e3e52ba1cd58d.jpg","text":"TemporaryFile(/tmp/multipartBody6756593183465627955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990582889,"filename":"image_17122025_17_11_34_10878.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399810945","file1":"1399810943","file0":"1399810941","file4":"1399810949","file5":"1399810960","file3":"1399810947"},"map_files_photo_id_array":[{"photo_id":"1399810960","filename":"file5"},{"photo_id":"1399810945","filename":"file2"},{"photo_id":"1399810949","filename":"file4"},{"photo_id":"1399810943","filename":"file1"},{"photo_id":"1399810941","filename":"file0"},{"photo_id":"1399810947","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399810945":["hashtag1","hashtag2"]},{"1399810960":["hashtag1","hashtag2"]},{"1399810941":["hashtag1","hashtag2"]},{"1399810947":["hashtag1","hashtag2"]},{"1399810949":["hashtag1","hashtag2"]},{"1399810943":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399810945, 1399810960, 1399810941, 1399810947, 1399810949, 1399810943)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 43.16020965576172 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:56:12.006310
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:56:22.070231
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_24_9630.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_34_9620.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_44_10671.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_54_9972.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_13_04_9751.jpg', '/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_14_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_24_9630.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_34_9620.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_44_10671.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_54_9972.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_13_04_9751.jpg
/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_14_9732.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6711428165435791 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 17:56:31.944189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:56:41.980293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_51_3568.jpg', '/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_54_2859.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_03_2662.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_09_2906.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_15_2721.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_27_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_51_3568.jpg
/home/pi/Desktop/images/07112025/20/34/image_07112025_20_34_54_2859.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_03_2662.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_09_2906.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_15_2721.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_27_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399811143","1399811152","1399811202","1399811177","1399811156","1399811201"],"photo_ids_order":["1399811143","1399811152","1399811156","1399811177","1399811201","1399811202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/033ad8cb6cd64bae1baa4b6b268e9629.jpg","text":"TemporaryFile(/tmp/multipartBody3903727203467709224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990662868,"filename":"image_07112025_20_34_51_3568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56d24445463cdc14858693d070d2c484.jpg","text":"TemporaryFile(/tmp/multipartBody3446921651612732445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990662868,"filename":"image_07112025_20_34_54_2859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f41145026188035d33490c79a3260dab.jpg","text":"TemporaryFile(/tmp/multipartBody2545447239669128221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990662868,"filename":"image_07112025_20_35_27_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23d0b1af90608a9dc779f772ed21a36d.jpg","text":"TemporaryFile(/tmp/multipartBody6200787705681015696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990662868,"filename":"image_07112025_20_35_09_2906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b79400ec0315499bc5f3dda859a1336.jpg","text":"TemporaryFile(/tmp/multipartBody8767344448751768888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990662868,"filename":"image_07112025_20_35_03_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/928c1e5d6e21720596b41f3e002213ed.jpg","text":"TemporaryFile(/tmp/multipartBody5737547089172999003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990662868,"filename":"image_07112025_20_35_15_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399811156","file1":"1399811152","file0":"1399811143","file4":"1399811201","file5":"1399811202","file3":"1399811177"},"map_files_photo_id_array":[{"photo_id":"1399811202","filename":"file5"},{"photo_id":"1399811156","filename":"file2"},{"photo_id":"1399811201","filename":"file4"},{"photo_id":"1399811152","filename":"file1"},{"photo_id":"1399811143","filename":"file0"},{"photo_id":"1399811177","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399811143":["hashtag1","hashtag2"]},{"1399811152":["hashtag1","hashtag2"]},{"1399811202":["hashtag1","hashtag2"]},{"1399811177":["hashtag1","hashtag2"]},{"1399811156":["hashtag1","hashtag2"]},{"1399811201":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399811143, 1399811152, 1399811202, 1399811177, 1399811156, 1399811201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2010338306427 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 17:57:22.160798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_24_9630.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_34_9620.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_44_10671.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_54_9972.jpg', '/home/pi/Desktop/images/17122025/17/12/image_17122025_17_13_04_9751.jpg', '/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_14_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_24_9630.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_34_9620.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_44_10671.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_12_54_9972.jpg
/home/pi/Desktop/images/17122025/17/12/image_17122025_17_13_04_9751.jpg
/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_14_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":["1399811206","1399811203","1399811214","1399811208","1399811210","1399811204"],"photo_ids_order":["1399811203","1399811204","1399811206","1399811208","1399811210","1399811214"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a4bbe782954730778e57688d689addf.jpg","text":"TemporaryFile(/tmp/multipartBody3517774619517606925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990702971,"filename":"image_17122025_17_12_44_10671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e3b1d5b5134c4edbde11ea03e91b2d0.jpg","text":"TemporaryFile(/tmp/multipartBody1331613191677573048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990702971,"filename":"image_17122025_17_12_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10821c424e5cb9afee0eb67411117010.jpg","text":"TemporaryFile(/tmp/multipartBody8662615632644792088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990702971,"filename":"image_17122025_17_13_14_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80dffff03fb40ee0fbf7bc193c81584f.jpg","text":"TemporaryFile(/tmp/multipartBody2847763658523860474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990702971,"filename":"image_17122025_17_12_54_9972.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3626e68e61a9fd2a8958de98c164fe87.jpg","text":"TemporaryFile(/tmp/multipartBody7483613664013705122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990702971,"filename":"image_17122025_17_13_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1370193837f08636716d579a04f59bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5356013442441466695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990702971,"filename":"image_17122025_17_12_34_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399811206","file1":"1399811204","file0":"1399811203","file4":"1399811210","file5":"1399811214","file3":"1399811208"},"map_files_photo_id_array":[{"photo_id":"1399811214","filename":"file5"},{"photo_id":"1399811206","filename":"file2"},{"photo_id":"1399811210","filename":"file4"},{"photo_id":"1399811204","filename":"file1"},{"photo_id":"1399811203","filename":"file0"},{"photo_id":"1399811208","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399811206":["hashtag1","hashtag2"]},{"1399811203":["hashtag1","hashtag2"]},{"1399811214":["hashtag1","hashtag2"]},{"1399811208":["hashtag1","hashtag2"]},{"1399811210":["hashtag1","hashtag2"]},{"1399811204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399811206, 1399811203, 1399811214, 1399811208, 1399811210, 1399811204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.75645303726196 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 17:59:03.346200
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_24_10666.jpg', '/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_34_9674.jpg', '/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_44_9741.jpg', '/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_54_10720.jpg', '/home/pi/Desktop/images/17122025/17/13/image_17122025_17_14_04_9595.jpg', '/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_14_9958.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_24_10666.jpg
/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_34_9674.jpg
/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_44_9741.jpg
/home/pi/Desktop/images/17122025/17/13/image_17122025_17_13_54_10720.jpg
/home/pi/Desktop/images/17122025/17/13/image_17122025_17_14_04_9595.jpg
/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_14_9958.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399811236","1399811241","1399811238","1399811243","1399811231","1399811234"],"photo_ids_order":["1399811231","1399811234","1399811236","1399811238","1399811241","1399811243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/981b2483f33bb36d829f0e2ac16e5185.jpg","text":"TemporaryFile(/tmp/multipartBody5085425160515866185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990804398,"filename":"image_17122025_17_13_44_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d825ee48227fdee9c06e15258694f527.jpg","text":"TemporaryFile(/tmp/multipartBody8266217427931922264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990804398,"filename":"image_17122025_17_14_04_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eeb79bfe643e71a74791468203d78f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4078795022220482743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990804398,"filename":"image_17122025_17_13_54_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64594a411c72e107c32d7fbb311fa38e.jpg","text":"TemporaryFile(/tmp/multipartBody838586331904257332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990804398,"filename":"image_17122025_17_14_14_9958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d72389c7749861dac7cf4e21f87acbd0.jpg","text":"TemporaryFile(/tmp/multipartBody1772528171538028854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990804398,"filename":"image_17122025_17_13_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e383c2e9022c81615608b33ff6bf9892.jpg","text":"TemporaryFile(/tmp/multipartBody554239536040844701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990804398,"filename":"image_17122025_17_13_34_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399811236","file1":"1399811234","file0":"1399811231","file4":"1399811241","file5":"1399811243","file3":"1399811238"},"map_files_photo_id_array":[{"photo_id":"1399811243","filename":"file5"},{"photo_id":"1399811236","filename":"file2"},{"photo_id":"1399811241","filename":"file4"},{"photo_id":"1399811234","filename":"file1"},{"photo_id":"1399811231","filename":"file0"},{"photo_id":"1399811238","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399811236":["hashtag1","hashtag2"]},{"1399811241":["hashtag1","hashtag2"]},{"1399811238":["hashtag1","hashtag2"]},{"1399811243":["hashtag1","hashtag2"]},{"1399811231":["hashtag1","hashtag2"]},{"1399811234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399811236, 1399811241, 1399811238, 1399811243, 1399811231, 1399811234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22252297401428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 17:59:42.615358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_30_2774.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_39_2654.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_42_3681.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_45_2720.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_48_2732.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_51_3682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_30_2774.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_39_2654.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_42_3681.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_45_2720.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_48_2732.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_51_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":["1399811440","1399811245","1399811311","1399811265","1399811355","1399811393"],"photo_ids_order":["1399811245","1399811265","1399811311","1399811355","1399811393","1399811440"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aaececeee7fd8fd02fdf58fe4b3e3ae7.jpg","text":"TemporaryFile(/tmp/multipartBody3524603092460830928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990843633,"filename":"image_07112025_20_35_51_3682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f98dd78d8c06e35a90fb570d2d5af09.jpg","text":"TemporaryFile(/tmp/multipartBody8852095763310278584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990843633,"filename":"image_07112025_20_35_30_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f73a5fe7fdba200724598b7cc717778b.jpg","text":"TemporaryFile(/tmp/multipartBody6604587048696644175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990843633,"filename":"image_07112025_20_35_42_3681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9055b9d7ba4138fdd175ef1c59b3f78.jpg","text":"TemporaryFile(/tmp/multipartBody8455541483138659426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990843633,"filename":"image_07112025_20_35_39_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/842e28aa49e37e3852ed5fd00489b9ed.jpg","text":"TemporaryFile(/tmp/multipartBody3702471061520658267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990843633,"filename":"image_07112025_20_35_45_2720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2f475043551b0fdc14970b45ae85ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5389593022284543725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990843633,"filename":"image_07112025_20_35_48_2732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399811311","file1":"1399811265","file0":"1399811245","file4":"1399811393","file5":"1399811440","file3":"1399811355"},"map_files_photo_id_array":[{"photo_id":"1399811440","filename":"file5"},{"photo_id":"1399811311","filename":"file2"},{"photo_id":"1399811393","filename":"file4"},{"photo_id":"1399811265","filename":"file1"},{"photo_id":"1399811245","filename":"file0"},{"photo_id":"1399811355","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399811440":["hashtag1","hashtag2"]},{"1399811245":["hashtag1","hashtag2"]},{"1399811311":["hashtag1","hashtag2"]},{"1399811265":["hashtag1","hashtag2"]},{"1399811355":["hashtag1","hashtag2"]},{"1399811393":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399811440, 1399811245, 1399811311, 1399811265, 1399811355, 1399811393)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.52546238899231 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 10 --only_old 1
2025-12-17 18:00:31.775719
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:00:41.844650
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_57_2774.jpg', '/home/pi/Desktop/images/07112025/20/35/image_07112025_20_36_00_2808.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_03_3642.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_12_2653.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_15_3632.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_18_2719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_35_57_2774.jpg
/home/pi/Desktop/images/07112025/20/35/image_07112025_20_36_00_2808.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_03_3642.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_12_2653.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_15_3632.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_18_2719.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399812162","1399812084","1399811765","1399811840","1399812005","1399811924"],"photo_ids_order":["1399811765","1399811840","1399811924","1399812005","1399812084","1399812162"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/edea8b5dae91c683b6d9778770596d5a.jpg","text":"TemporaryFile(/tmp/multipartBody65421096369691078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990902858,"filename":"image_07112025_20_36_18_2719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a0bd5e37ee223fb70ae5cf08b459de7.jpg","text":"TemporaryFile(/tmp/multipartBody8573916033667452529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990902858,"filename":"image_07112025_20_36_15_3632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b4886484e0177f3f6d33091a9cdd575.jpg","text":"TemporaryFile(/tmp/multipartBody4607892000728659903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990902858,"filename":"image_07112025_20_35_57_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2dfb49ba7fa5d9593970bc2febc2442.jpg","text":"TemporaryFile(/tmp/multipartBody6738297751335588535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990902858,"filename":"image_07112025_20_36_00_2808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/695f8aef444ebe15f74c1839f90ea576.jpg","text":"TemporaryFile(/tmp/multipartBody882192909184687772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990902858,"filename":"image_07112025_20_36_12_2653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a26e3fedd665ad1f43f6e6fa82f56847.jpg","text":"TemporaryFile(/tmp/multipartBody1799962248050214987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990902858,"filename":"image_07112025_20_36_03_3642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399811924","file1":"1399811840","file0":"1399811765","file4":"1399812084","file5":"1399812162","file3":"1399812005"},"map_files_photo_id_array":[{"photo_id":"1399812162","filename":"file5"},{"photo_id":"1399811924","filename":"file2"},{"photo_id":"1399812084","filename":"file4"},{"photo_id":"1399811840","filename":"file1"},{"photo_id":"1399811765","filename":"file0"},{"photo_id":"1399812005","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399812162":["hashtag1","hashtag2"]},{"1399812084":["hashtag1","hashtag2"]},{"1399811765":["hashtag1","hashtag2"]},{"1399811840":["hashtag1","hashtag2"]},{"1399812005":["hashtag1","hashtag2"]},{"1399811924":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399812162, 1399812084, 1399811765, 1399811840, 1399812005, 1399811924)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57859945297241 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:01:22.092724
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_24_9730.jpg', '/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_34_10710.jpg', '/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_44_9618.jpg', '/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_54_9834.jpg', '/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_14_10059.jpg', '/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_25_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_24_9730.jpg
/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_34_10710.jpg
/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_44_9618.jpg
/home/pi/Desktop/images/17122025/17/14/image_17122025_17_14_54_9834.jpg
/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_14_10059.jpg
/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_25_10670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399812378","1399812404","1399812376","1399812370","1399812439","1399812373"],"photo_ids_order":["1399812370","1399812373","1399812376","1399812378","1399812404","1399812439"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d29e37658d10d5b9837d8e28ae3d67c3.jpg","text":"TemporaryFile(/tmp/multipartBody4521311356020793339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990942889,"filename":"image_17122025_17_14_54_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04339810f2c0e9791afe1c09b42195fc.jpg","text":"TemporaryFile(/tmp/multipartBody4335948793988671316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990942889,"filename":"image_17122025_17_15_14_10059.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05169b16d5be88bfd3aa73a97a324c08.jpg","text":"TemporaryFile(/tmp/multipartBody1877707419179402218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990942889,"filename":"image_17122025_17_14_44_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/508a6c03c74f2112d2c937a202a4e32b.jpg","text":"TemporaryFile(/tmp/multipartBody7781771046229894689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990942889,"filename":"image_17122025_17_14_24_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1fd735e751872dd226023b9ab9ce473.jpg","text":"TemporaryFile(/tmp/multipartBody835722647470141145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990942889,"filename":"image_17122025_17_15_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39ff556d7adb4bc4a5ef843ccad358ef.jpg","text":"TemporaryFile(/tmp/multipartBody2197755042723269312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990942889,"filename":"image_17122025_17_14_34_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399812376","file1":"1399812373","file0":"1399812370","file4":"1399812404","file5":"1399812439","file3":"1399812378"},"map_files_photo_id_array":[{"photo_id":"1399812439","filename":"file5"},{"photo_id":"1399812376","filename":"file2"},{"photo_id":"1399812404","filename":"file4"},{"photo_id":"1399812373","filename":"file1"},{"photo_id":"1399812370","filename":"file0"},{"photo_id":"1399812378","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399812378":["hashtag1","hashtag2"]},{"1399812404":["hashtag1","hashtag2"]},{"1399812376":["hashtag1","hashtag2"]},{"1399812370":["hashtag1","hashtag2"]},{"1399812439":["hashtag1","hashtag2"]},{"1399812373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399812378, 1399812404, 1399812376, 1399812370, 1399812439, 1399812373)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.326552867889404 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:02:02.766840
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_34_9805.jpg', '/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_44_9656.jpg', '/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_55_10621.jpg', '/home/pi/Desktop/images/17122025/17/15/image_17122025_17_16_05_9910.jpg', '/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_14_9666.jpg', '/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_24_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_34_9805.jpg
/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_44_9656.jpg
/home/pi/Desktop/images/17122025/17/15/image_17122025_17_15_55_10621.jpg
/home/pi/Desktop/images/17122025/17/15/image_17122025_17_16_05_9910.jpg
/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_14_9666.jpg
/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_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":["1399812756","1399812875","1399812836","1399812686","1399812944","1399812800"],"photo_ids_order":["1399812686","1399812756","1399812800","1399812836","1399812875","1399812944"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f17ff8ab77245745d46796b8a2eb5449.jpg","text":"TemporaryFile(/tmp/multipartBody4571116183543150668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990983557,"filename":"image_17122025_17_15_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2a5424bdd746ce7f458b9a10e7fd298.jpg","text":"TemporaryFile(/tmp/multipartBody6467276565191316321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990983557,"filename":"image_17122025_17_16_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bede3e8a94b46cc84c9adcc7833d502.jpg","text":"TemporaryFile(/tmp/multipartBody7457471609698813796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990983557,"filename":"image_17122025_17_16_05_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/320ee1df55069bf1b83726c19a27ec09.jpg","text":"TemporaryFile(/tmp/multipartBody7016661750516191021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990983557,"filename":"image_17122025_17_15_34_9805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b78ac87fe2a7f2a197a803d89c14522a.jpg","text":"TemporaryFile(/tmp/multipartBody188943143992357674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990983557,"filename":"image_17122025_17_16_24_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/170e36ca717102473ab382541db02723.jpg","text":"TemporaryFile(/tmp/multipartBody2741128347079410229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765990983557,"filename":"image_17122025_17_15_55_10621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399812800","file1":"1399812756","file0":"1399812686","file4":"1399812875","file5":"1399812944","file3":"1399812836"},"map_files_photo_id_array":[{"photo_id":"1399812944","filename":"file5"},{"photo_id":"1399812800","filename":"file2"},{"photo_id":"1399812875","filename":"file4"},{"photo_id":"1399812756","filename":"file1"},{"photo_id":"1399812686","filename":"file0"},{"photo_id":"1399812836","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399812756":["hashtag1","hashtag2"]},{"1399812875":["hashtag1","hashtag2"]},{"1399812836":["hashtag1","hashtag2"]},{"1399812686":["hashtag1","hashtag2"]},{"1399812944":["hashtag1","hashtag2"]},{"1399812800":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399812756, 1399812875, 1399812836, 1399812686, 1399812944, 1399812800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89337658882141 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:02:42.311205
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_21_2565.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_24_3693.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_27_2592.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_29_2581.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_33_3686.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_45_2674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_21_2565.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_24_3693.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_27_2592.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_29_2581.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_33_3686.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_45_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":["1399813184","1399813259","1399813334","1399813139","1399813222","1399813296"],"photo_ids_order":["1399813139","1399813184","1399813222","1399813259","1399813296","1399813334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/629bf89e2dbe56b48d637a79f15c80b9.jpg","text":"TemporaryFile(/tmp/multipartBody5884285724372616760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991023333,"filename":"image_07112025_20_36_24_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f9a46bc7508d767b61da5d3845cfe3e.jpg","text":"TemporaryFile(/tmp/multipartBody6764125543403281542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991023333,"filename":"image_07112025_20_36_29_2581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80250531537c7c67e0aef216a0585f80.jpg","text":"TemporaryFile(/tmp/multipartBody6204999070078432057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991023333,"filename":"image_07112025_20_36_45_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e604d5440fa9271cfe724b61e0067d09.jpg","text":"TemporaryFile(/tmp/multipartBody4329005422681434136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991023333,"filename":"image_07112025_20_36_21_2565.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9632174d25eedd982b21ea82910c55a.jpg","text":"TemporaryFile(/tmp/multipartBody6890222104690034030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991023333,"filename":"image_07112025_20_36_27_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dba91c1646177c1f2bb98f3122930cb7.jpg","text":"TemporaryFile(/tmp/multipartBody2906536628593354048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991023333,"filename":"image_07112025_20_36_33_3686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399813222","file1":"1399813184","file0":"1399813139","file4":"1399813296","file5":"1399813334","file3":"1399813259"},"map_files_photo_id_array":[{"photo_id":"1399813334","filename":"file5"},{"photo_id":"1399813222","filename":"file2"},{"photo_id":"1399813296","filename":"file4"},{"photo_id":"1399813184","filename":"file1"},{"photo_id":"1399813139","filename":"file0"},{"photo_id":"1399813259","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399813184":["hashtag1","hashtag2"]},{"1399813259":["hashtag1","hashtag2"]},{"1399813334":["hashtag1","hashtag2"]},{"1399813139":["hashtag1","hashtag2"]},{"1399813222":["hashtag1","hashtag2"]},{"1399813296":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399813184, 1399813259, 1399813334, 1399813139, 1399813222, 1399813296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75008201599121 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:03:22.606511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_35_10675.jpg', '/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_44_9632.jpg', '/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_54_9754.jpg', '/home/pi/Desktop/images/17122025/17/16/image_17122025_17_17_04_9995.jpg', '/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_15_10739.jpg', '/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_24_9594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_35_10675.jpg
/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_44_9632.jpg
/home/pi/Desktop/images/17122025/17/16/image_17122025_17_16_54_9754.jpg
/home/pi/Desktop/images/17122025/17/16/image_17122025_17_17_04_9995.jpg
/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_15_10739.jpg
/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_24_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":["1399813548","1399813469","1399813544","1399813543","1399813546","1399813507"],"photo_ids_order":["1399813469","1399813507","1399813543","1399813544","1399813546","1399813548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f222e50bee69bb496e56daf0aa1a031.jpg","text":"TemporaryFile(/tmp/multipartBody1046165292211823688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991063396,"filename":"image_17122025_17_17_24_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbec2667d3ef61aeed91e5cf7a3e62cd.jpg","text":"TemporaryFile(/tmp/multipartBody1371742207120929690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991063396,"filename":"image_17122025_17_16_35_10675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c16a548166e8467a9a15be596a93954c.jpg","text":"TemporaryFile(/tmp/multipartBody5253580172908318915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991063396,"filename":"image_17122025_17_17_04_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b773fd76eb413215b9c961fd9fdc1240.jpg","text":"TemporaryFile(/tmp/multipartBody8223082700212353525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991063396,"filename":"image_17122025_17_16_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef66074fa1eedf2ab403f944c8ceac17.jpg","text":"TemporaryFile(/tmp/multipartBody2201648133694904362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991063396,"filename":"image_17122025_17_17_15_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4af78d4b6c1de4e0dda46684f795be66.jpg","text":"TemporaryFile(/tmp/multipartBody4033221188940706185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991063396,"filename":"image_17122025_17_16_44_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399813543","file1":"1399813507","file0":"1399813469","file4":"1399813546","file5":"1399813548","file3":"1399813544"},"map_files_photo_id_array":[{"photo_id":"1399813548","filename":"file5"},{"photo_id":"1399813543","filename":"file2"},{"photo_id":"1399813546","filename":"file4"},{"photo_id":"1399813507","filename":"file1"},{"photo_id":"1399813469","filename":"file0"},{"photo_id":"1399813544","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399813548":["hashtag1","hashtag2"]},{"1399813469":["hashtag1","hashtag2"]},{"1399813544":["hashtag1","hashtag2"]},{"1399813543":["hashtag1","hashtag2"]},{"1399813546":["hashtag1","hashtag2"]},{"1399813507":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399813548, 1399813469, 1399813544, 1399813543, 1399813546, 1399813507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.366957902908325 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:04:03.431417
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_34_9666.jpg', '/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_45_10630.jpg', '/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_55_9845.jpg', '/home/pi/Desktop/images/17122025/17/17/image_17122025_17_18_05_10006.jpg', '/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_15_9998.jpg', '/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_24_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_34_9666.jpg
/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_45_10630.jpg
/home/pi/Desktop/images/17122025/17/17/image_17122025_17_17_55_9845.jpg
/home/pi/Desktop/images/17122025/17/17/image_17122025_17_18_05_10006.jpg
/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_15_9998.jpg
/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_24_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":["1399813568","1399813661","1399813550","1399813610","1399813549","1399813551"],"photo_ids_order":["1399813549","1399813550","1399813551","1399813568","1399813610","1399813661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/638a102e840e083672c68adb41ad0d5f.jpg","text":"TemporaryFile(/tmp/multipartBody3473772007421441502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991104217,"filename":"image_17122025_17_18_05_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19381e3db6564f088c3fee1a19723988.jpg","text":"TemporaryFile(/tmp/multipartBody7006829218399738422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991104217,"filename":"image_17122025_17_18_24_9848.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8990331b64b1499fc18c472651ac7ee6.jpg","text":"TemporaryFile(/tmp/multipartBody1587493883405118913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991104217,"filename":"image_17122025_17_17_45_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a732b95c970a23e84adfbf0f6e5db09.jpg","text":"TemporaryFile(/tmp/multipartBody3068903362387576340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991104217,"filename":"image_17122025_17_18_15_9998.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f34e18696682aad67e5bad8eae691a32.jpg","text":"TemporaryFile(/tmp/multipartBody151526769609068320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991104217,"filename":"image_17122025_17_17_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c787f6154e0530b9ab3b704c1deaa2c8.jpg","text":"TemporaryFile(/tmp/multipartBody4108835314364549064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991104217,"filename":"image_17122025_17_17_55_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399813551","file1":"1399813550","file0":"1399813549","file4":"1399813610","file5":"1399813661","file3":"1399813568"},"map_files_photo_id_array":[{"photo_id":"1399813661","filename":"file5"},{"photo_id":"1399813551","filename":"file2"},{"photo_id":"1399813610","filename":"file4"},{"photo_id":"1399813550","filename":"file1"},{"photo_id":"1399813549","filename":"file0"},{"photo_id":"1399813568","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399813568":["hashtag1","hashtag2"]},{"1399813661":["hashtag1","hashtag2"]},{"1399813550":["hashtag1","hashtag2"]},{"1399813610":["hashtag1","hashtag2"]},{"1399813549":["hashtag1","hashtag2"]},{"1399813551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399813568, 1399813661, 1399813550, 1399813610, 1399813549, 1399813551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.039806842803955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:04:42.745036
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_51_3660.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_54_2684.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_56_2622.jpg', '/home/pi/Desktop/images/07112025/20/36/image_07112025_20_37_00_3690.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_03_2609.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_05_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_51_3660.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_54_2684.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_36_56_2622.jpg
/home/pi/Desktop/images/07112025/20/36/image_07112025_20_37_00_3690.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_03_2609.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_05_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399813895","1399813821","1399813864","1399813825","1399813807","1399813822"],"photo_ids_order":["1399813807","1399813821","1399813822","1399813825","1399813864","1399813895"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20c1c2481fb25b18307528bee30f6371.jpg","text":"TemporaryFile(/tmp/multipartBody651166489705942750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991143802,"filename":"image_07112025_20_37_05_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/078265722574441933277266ba90d917.jpg","text":"TemporaryFile(/tmp/multipartBody550428593525977341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991143802,"filename":"image_07112025_20_36_54_2684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48a759cf7daeb60701c09e5d973221f0.jpg","text":"TemporaryFile(/tmp/multipartBody3862934690298392497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991143802,"filename":"image_07112025_20_37_03_2609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd35e8875cd05283aa6781b2f549da25.jpg","text":"TemporaryFile(/tmp/multipartBody7012701617852553727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991143802,"filename":"image_07112025_20_37_00_3690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09ea7d52ae7bded02fe15aae295dc5da.jpg","text":"TemporaryFile(/tmp/multipartBody6037467213824115131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991143802,"filename":"image_07112025_20_36_51_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3a4a42c4ef01d7ce610f530e071cf69.jpg","text":"TemporaryFile(/tmp/multipartBody3595682429702110574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991143802,"filename":"image_07112025_20_36_56_2622.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399813822","file1":"1399813821","file0":"1399813807","file4":"1399813864","file5":"1399813895","file3":"1399813825"},"map_files_photo_id_array":[{"photo_id":"1399813895","filename":"file5"},{"photo_id":"1399813822","filename":"file2"},{"photo_id":"1399813864","filename":"file4"},{"photo_id":"1399813821","filename":"file1"},{"photo_id":"1399813807","filename":"file0"},{"photo_id":"1399813825","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399813895":["hashtag1","hashtag2"]},{"1399813821":["hashtag1","hashtag2"]},{"1399813864":["hashtag1","hashtag2"]},{"1399813825":["hashtag1","hashtag2"]},{"1399813807":["hashtag1","hashtag2"]},{"1399813822":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399813895, 1399813821, 1399813864, 1399813825, 1399813807, 1399813822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54140567779541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:05:21.991389
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_34_9769.jpg', '/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_45_10714.jpg', '/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_54_9564.jpg', '/home/pi/Desktop/images/17122025/17/18/image_17122025_17_19_04_9903.jpg', '/home/pi/Desktop/images/17122025/17/19/image_17122025_17_19_14_9979.jpg', '/home/pi/Desktop/images/17122025/17/19/image_17122025_17_19_25_10552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_34_9769.jpg
/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_45_10714.jpg
/home/pi/Desktop/images/17122025/17/18/image_17122025_17_18_54_9564.jpg
/home/pi/Desktop/images/17122025/17/18/image_17122025_17_19_04_9903.jpg
/home/pi/Desktop/images/17122025/17/19/image_17122025_17_19_14_9979.jpg
/home/pi/Desktop/images/17122025/17/19/image_17122025_17_19_25_10552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399813958","1399813967","1399813961","1399813955","1399813963","1399813953"],"photo_ids_order":["1399813953","1399813955","1399813958","1399813961","1399813963","1399813967"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/106ed693b871953bbb2fdeab06a44a05.jpg","text":"TemporaryFile(/tmp/multipartBody1570394040678168303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991182971,"filename":"image_17122025_17_18_54_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1df25b53095b5e6a13772de799f42273.jpg","text":"TemporaryFile(/tmp/multipartBody7735260201111278878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991182971,"filename":"image_17122025_17_19_25_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdcff5c47798e5633891a864eb6eaab6.jpg","text":"TemporaryFile(/tmp/multipartBody1706422187036732325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991182971,"filename":"image_17122025_17_19_04_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc49d787544f5997208aee42776f09c0.jpg","text":"TemporaryFile(/tmp/multipartBody6588611475286652015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991182971,"filename":"image_17122025_17_18_45_10714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b92ab7684cd458a2ffd2a2e58ea63096.jpg","text":"TemporaryFile(/tmp/multipartBody1629519765625428818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991182971,"filename":"image_17122025_17_19_14_9979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53e3fd6f0948489c16988f8d363cb1ba.jpg","text":"TemporaryFile(/tmp/multipartBody1481075633965469505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991182971,"filename":"image_17122025_17_18_34_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399813958","file1":"1399813955","file0":"1399813953","file4":"1399813963","file5":"1399813967","file3":"1399813961"},"map_files_photo_id_array":[{"photo_id":"1399813967","filename":"file5"},{"photo_id":"1399813958","filename":"file2"},{"photo_id":"1399813963","filename":"file4"},{"photo_id":"1399813955","filename":"file1"},{"photo_id":"1399813953","filename":"file0"},{"photo_id":"1399813961","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399813958":["hashtag1","hashtag2"]},{"1399813967":["hashtag1","hashtag2"]},{"1399813961":["hashtag1","hashtag2"]},{"1399813955":["hashtag1","hashtag2"]},{"1399813963":["hashtag1","hashtag2"]},{"1399813953":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399813958, 1399813967, 1399813961, 1399813955, 1399813963, 1399813953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.49873161315918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:06:02.672504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/19/image_17122025_17_19_34_9409.jpg', '/home/pi/Desktop/images/17122025/17/19/image_17122025_17_19_44_10117.jpg', '/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_15_10869.jpg', '/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_24_9889.jpg', '/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_34_9706.jpg', '/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_44_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/19/image_17122025_17_19_34_9409.jpg
/home/pi/Desktop/images/17122025/17/19/image_17122025_17_19_44_10117.jpg
/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_15_10869.jpg
/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_24_9889.jpg
/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_34_9706.jpg
/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_44_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":["1399813982","1399813976","1399813985","1399813973","1399813978","1399813980"],"photo_ids_order":["1399813973","1399813976","1399813978","1399813980","1399813982","1399813985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80f3072a16db6b570b30e69212b0f037.jpg","text":"TemporaryFile(/tmp/multipartBody4132913529993652498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991223412,"filename":"image_17122025_17_20_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/761c5e056e9a30afb86acff04727519e.jpg","text":"TemporaryFile(/tmp/multipartBody2306288613563391334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991223412,"filename":"image_17122025_17_19_44_10117.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1d206a7d16a12fd0bb5a77f4d6e3eaa.jpg","text":"TemporaryFile(/tmp/multipartBody6223280563900427206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991223412,"filename":"image_17122025_17_20_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66cc236face62faf96e61245cdbb1434.jpg","text":"TemporaryFile(/tmp/multipartBody7272850995805203059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991223412,"filename":"image_17122025_17_19_34_9409.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17913fe467ba7e44b095970a4984af49.jpg","text":"TemporaryFile(/tmp/multipartBody1280582860480726130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991223412,"filename":"image_17122025_17_20_15_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd23bfd03e33925fa98993cc8e9cd6c5.jpg","text":"TemporaryFile(/tmp/multipartBody5229559551035836495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991223412,"filename":"image_17122025_17_20_24_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399813978","file1":"1399813976","file0":"1399813973","file4":"1399813982","file5":"1399813985","file3":"1399813980"},"map_files_photo_id_array":[{"photo_id":"1399813985","filename":"file5"},{"photo_id":"1399813978","filename":"file2"},{"photo_id":"1399813982","filename":"file4"},{"photo_id":"1399813976","filename":"file1"},{"photo_id":"1399813973","filename":"file0"},{"photo_id":"1399813980","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399813982":["hashtag1","hashtag2"]},{"1399813976":["hashtag1","hashtag2"]},{"1399813985":["hashtag1","hashtag2"]},{"1399813973":["hashtag1","hashtag2"]},{"1399813978":["hashtag1","hashtag2"]},{"1399813980":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399813982, 1399813976, 1399813985, 1399813973, 1399813978, 1399813980)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.692723512649536 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:06:42.197774
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_12_2756.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_14_2647.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_21_2851.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_30_3745.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_33_2606.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_39_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_12_2756.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_14_2647.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_21_2851.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_30_3745.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_33_2606.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_39_3580.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.94767165184021 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:07:03.012618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_55_10745.jpg', '/home/pi/Desktop/images/17122025/17/20/image_17122025_17_21_04_9805.jpg', '/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_14_9650.jpg', '/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_24_9744.jpg', '/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_34_10624.jpg', '/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_44_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/20/image_17122025_17_20_55_10745.jpg
/home/pi/Desktop/images/17122025/17/20/image_17122025_17_21_04_9805.jpg
/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_14_9650.jpg
/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_24_9744.jpg
/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_34_10624.jpg
/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_44_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":["1399814045","1399814039","1399814047","1399814052","1399814049","1399814043"],"photo_ids_order":["1399814039","1399814043","1399814045","1399814047","1399814049","1399814052"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d32ed5a3ea10afc40a7e5f0517e5fb13.jpg","text":"TemporaryFile(/tmp/multipartBody5466223325252402056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991283809,"filename":"image_17122025_17_21_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c72b85b1217724187f20d3a218b6639.jpg","text":"TemporaryFile(/tmp/multipartBody7998438365625910528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991283809,"filename":"image_17122025_17_20_55_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/518377bb1eb8bab74a01328d8927b5f2.jpg","text":"TemporaryFile(/tmp/multipartBody2481253545405046590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991283809,"filename":"image_17122025_17_21_24_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/159bed223bbd2968624ddf698d3969cb.jpg","text":"TemporaryFile(/tmp/multipartBody5607512417386405703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991283809,"filename":"image_17122025_17_21_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be9c8f55541b1cdc923e7a0162608656.jpg","text":"TemporaryFile(/tmp/multipartBody9170982295316568458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991283809,"filename":"image_17122025_17_21_34_10624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8b55bca92dea42b491d547a498c843e.jpg","text":"TemporaryFile(/tmp/multipartBody7820557657577609353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991283809,"filename":"image_17122025_17_21_04_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814045","file1":"1399814043","file0":"1399814039","file4":"1399814049","file5":"1399814052","file3":"1399814047"},"map_files_photo_id_array":[{"photo_id":"1399814052","filename":"file5"},{"photo_id":"1399814045","filename":"file2"},{"photo_id":"1399814049","filename":"file4"},{"photo_id":"1399814043","filename":"file1"},{"photo_id":"1399814039","filename":"file0"},{"photo_id":"1399814047","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814045":["hashtag1","hashtag2"]},{"1399814039":["hashtag1","hashtag2"]},{"1399814047":["hashtag1","hashtag2"]},{"1399814052":["hashtag1","hashtag2"]},{"1399814049":["hashtag1","hashtag2"]},{"1399814043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814045, 1399814039, 1399814047, 1399814052, 1399814049, 1399814043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9955632686615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:07:42.385501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_12_2756.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_14_2647.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_21_2851.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_30_3745.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_33_2606.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_39_3580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_12_2756.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_14_2647.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_21_2851.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_30_3745.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_33_2606.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_39_3580.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399814213","1399814161","1399814251","1399814119","1399814283","1399814079"],"photo_ids_order":["1399814079","1399814119","1399814161","1399814213","1399814251","1399814283"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b435bb059a5156514546059f971d3f0.jpg","text":"TemporaryFile(/tmp/multipartBody1446863308879841035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991323293,"filename":"image_07112025_20_37_30_3745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8aee07cfdc0b3ea37a853763162d4f7b.jpg","text":"TemporaryFile(/tmp/multipartBody6326111221017492901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991323293,"filename":"image_07112025_20_37_21_2851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8afbe7aff76be5ed86d121599629168.jpg","text":"TemporaryFile(/tmp/multipartBody3165678621911346814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991323293,"filename":"image_07112025_20_37_33_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5568c6e6d7ff07b22cada586bacafb9e.jpg","text":"TemporaryFile(/tmp/multipartBody1095631734019540923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991323293,"filename":"image_07112025_20_37_14_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97b53d37a0c1f4920626dee60b187334.jpg","text":"TemporaryFile(/tmp/multipartBody2955078313063523794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991323293,"filename":"image_07112025_20_37_39_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b56fea972053deb1e9d9f316af09635d.jpg","text":"TemporaryFile(/tmp/multipartBody7397559017348587216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991323293,"filename":"image_07112025_20_37_12_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814161","file1":"1399814119","file0":"1399814079","file4":"1399814251","file5":"1399814283","file3":"1399814213"},"map_files_photo_id_array":[{"photo_id":"1399814283","filename":"file5"},{"photo_id":"1399814161","filename":"file2"},{"photo_id":"1399814251","filename":"file4"},{"photo_id":"1399814119","filename":"file1"},{"photo_id":"1399814079","filename":"file0"},{"photo_id":"1399814213","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399814213":["hashtag1","hashtag2"]},{"1399814161":["hashtag1","hashtag2"]},{"1399814251":["hashtag1","hashtag2"]},{"1399814119":["hashtag1","hashtag2"]},{"1399814283":["hashtag1","hashtag2"]},{"1399814079":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399814213, 1399814161, 1399814251, 1399814119, 1399814283, 1399814079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55176496505737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:08:22.694538
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_54_9816.jpg', '/home/pi/Desktop/images/17122025/17/21/image_17122025_17_22_05_10647.jpg', '/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_14_9742.jpg', '/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_24_9650.jpg', '/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_35_10549.jpg', '/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_44_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/21/image_17122025_17_21_54_9816.jpg
/home/pi/Desktop/images/17122025/17/21/image_17122025_17_22_05_10647.jpg
/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_14_9742.jpg
/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_24_9650.jpg
/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_35_10549.jpg
/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_44_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399814351","1399814315","1399814356","1399814382","1399814379","1399814358"],"photo_ids_order":["1399814315","1399814351","1399814356","1399814358","1399814379","1399814382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0093f859dff014e51d9b8197e65f8f20.jpg","text":"TemporaryFile(/tmp/multipartBody5363338959294400955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991363593,"filename":"image_17122025_17_22_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2764a93e77464b40384dd8d353e85fae.jpg","text":"TemporaryFile(/tmp/multipartBody2117284145614150599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991363593,"filename":"image_17122025_17_21_54_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/022d441cd597c6595bf0f3ee627204ce.jpg","text":"TemporaryFile(/tmp/multipartBody9037543140532191105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991363593,"filename":"image_17122025_17_22_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa441a18a176ccce2ebfc2b7b8d93b7b.jpg","text":"TemporaryFile(/tmp/multipartBody5318361417185516699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991363593,"filename":"image_17122025_17_22_44_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bebd12ad09b44ad082f10450783cc650.jpg","text":"TemporaryFile(/tmp/multipartBody4579923449981014797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991363593,"filename":"image_17122025_17_22_35_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d94a2d1aa2c1b04d8dcff7b66be72814.jpg","text":"TemporaryFile(/tmp/multipartBody5763965408742388532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991363593,"filename":"image_17122025_17_22_24_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814356","file1":"1399814351","file0":"1399814315","file4":"1399814379","file5":"1399814382","file3":"1399814358"},"map_files_photo_id_array":[{"photo_id":"1399814382","filename":"file5"},{"photo_id":"1399814356","filename":"file2"},{"photo_id":"1399814379","filename":"file4"},{"photo_id":"1399814351","filename":"file1"},{"photo_id":"1399814315","filename":"file0"},{"photo_id":"1399814358","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814351":["hashtag1","hashtag2"]},{"1399814315":["hashtag1","hashtag2"]},{"1399814356":["hashtag1","hashtag2"]},{"1399814382":["hashtag1","hashtag2"]},{"1399814379":["hashtag1","hashtag2"]},{"1399814358":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814351, 1399814315, 1399814356, 1399814382, 1399814379, 1399814358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.642786502838135 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 10 --only_old 1
2025-12-17 18:09:11.984412
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:09:21.954138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_54_9518.jpg', '/home/pi/Desktop/images/17122025/17/22/image_17122025_17_23_05_10786.jpg', '/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_14_9576.jpg', '/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_24_9667.jpg', '/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_35_10796.jpg', '/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_44_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/22/image_17122025_17_22_54_9518.jpg
/home/pi/Desktop/images/17122025/17/22/image_17122025_17_23_05_10786.jpg
/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_14_9576.jpg
/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_24_9667.jpg
/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_35_10796.jpg
/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_44_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":["1399814581","1399814507","1399814600","1399814545","1399814500","1399814503"],"photo_ids_order":["1399814500","1399814503","1399814507","1399814545","1399814581","1399814600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/224f73ffc7fe6948566491efce0493c2.jpg","text":"TemporaryFile(/tmp/multipartBody6024097648623997816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991422695,"filename":"image_17122025_17_23_35_10796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bef82bd81d20b4ae3841816aa81580fd.jpg","text":"TemporaryFile(/tmp/multipartBody9022708238283346139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991422695,"filename":"image_17122025_17_23_14_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a060d2a4bf812c22d8489cbc738900c4.jpg","text":"TemporaryFile(/tmp/multipartBody2172226118293424917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991422695,"filename":"image_17122025_17_23_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/edcb17dba49039f309ffcd75241e3aac.jpg","text":"TemporaryFile(/tmp/multipartBody4538513753047179875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991422695,"filename":"image_17122025_17_23_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52402f3aa4ac0083dd0c7488043aa75c.jpg","text":"TemporaryFile(/tmp/multipartBody1419797054489582125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991422695,"filename":"image_17122025_17_22_54_9518.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d8b3efcf94224bb1bbd30518219a02c.jpg","text":"TemporaryFile(/tmp/multipartBody4889853120849151748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991422695,"filename":"image_17122025_17_23_05_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814507","file1":"1399814503","file0":"1399814500","file4":"1399814581","file5":"1399814600","file3":"1399814545"},"map_files_photo_id_array":[{"photo_id":"1399814600","filename":"file5"},{"photo_id":"1399814507","filename":"file2"},{"photo_id":"1399814581","filename":"file4"},{"photo_id":"1399814503","filename":"file1"},{"photo_id":"1399814500","filename":"file0"},{"photo_id":"1399814545","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814581":["hashtag1","hashtag2"]},{"1399814507":["hashtag1","hashtag2"]},{"1399814600":["hashtag1","hashtag2"]},{"1399814545":["hashtag1","hashtag2"]},{"1399814500":["hashtag1","hashtag2"]},{"1399814503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814581, 1399814507, 1399814600, 1399814545, 1399814500, 1399814503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.076871156692505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:10:02.715145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_54_9734.jpg', '/home/pi/Desktop/images/17122025/17/23/image_17122025_17_24_05_10646.jpg', '/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_14_9550.jpg', '/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_24_9767.jpg', '/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_35_10768.jpg', '/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_44_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_54_9734.jpg
/home/pi/Desktop/images/17122025/17/23/image_17122025_17_24_05_10646.jpg
/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_14_9550.jpg
/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_24_9767.jpg
/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_35_10768.jpg
/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_44_9604.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6287102699279785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 18:10:12.285600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:10:22.204688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_54_9734.jpg', '/home/pi/Desktop/images/17122025/17/23/image_17122025_17_24_05_10646.jpg', '/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_14_9550.jpg', '/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_24_9767.jpg', '/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_35_10768.jpg', '/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_44_9604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/23/image_17122025_17_23_54_9734.jpg
/home/pi/Desktop/images/17122025/17/23/image_17122025_17_24_05_10646.jpg
/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_14_9550.jpg
/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_24_9767.jpg
/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_35_10768.jpg
/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_44_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":["1399814798","1399814804","1399814788","1399814790","1399814793","1399814802"],"photo_ids_order":["1399814788","1399814790","1399814793","1399814798","1399814802","1399814804"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2851ef470bb8a78123206c422d83449.jpg","text":"TemporaryFile(/tmp/multipartBody8918180939885898114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991482951,"filename":"image_17122025_17_24_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3deeea34ddd9254d867493acab22f6f.jpg","text":"TemporaryFile(/tmp/multipartBody695411448491330870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991482951,"filename":"image_17122025_17_24_44_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfc5ddba135424ef482130ee4c8b30ff.jpg","text":"TemporaryFile(/tmp/multipartBody1711379955776150416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991482951,"filename":"image_17122025_17_23_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6f4ed16ce5fad4349e4be41d3b0a3e9.jpg","text":"TemporaryFile(/tmp/multipartBody4495290871521049473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991482951,"filename":"image_17122025_17_24_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/371ed10b721184785fd50369de624ca0.jpg","text":"TemporaryFile(/tmp/multipartBody5675317530544461374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991482951,"filename":"image_17122025_17_24_14_9550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40d18ff6c7c329c5858211b1d5e4d919.jpg","text":"TemporaryFile(/tmp/multipartBody8669953488682698109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991482951,"filename":"image_17122025_17_24_35_10768.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814793","file1":"1399814790","file0":"1399814788","file4":"1399814802","file5":"1399814804","file3":"1399814798"},"map_files_photo_id_array":[{"photo_id":"1399814804","filename":"file5"},{"photo_id":"1399814793","filename":"file2"},{"photo_id":"1399814802","filename":"file4"},{"photo_id":"1399814790","filename":"file1"},{"photo_id":"1399814788","filename":"file0"},{"photo_id":"1399814798","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814798":["hashtag1","hashtag2"]},{"1399814804":["hashtag1","hashtag2"]},{"1399814788":["hashtag1","hashtag2"]},{"1399814790":["hashtag1","hashtag2"]},{"1399814793":["hashtag1","hashtag2"]},{"1399814802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814798, 1399814804, 1399814788, 1399814790, 1399814793, 1399814802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.73447370529175 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:11:03.078123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_54_9656.jpg', '/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_14_10054.jpg', '/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_25_10717.jpg', '/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_34_9601.jpg', '/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_45_10614.jpg', '/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/24/image_17122025_17_24_54_9656.jpg
/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_14_10054.jpg
/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_25_10717.jpg
/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_34_9601.jpg
/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_45_10614.jpg
/home/pi/Desktop/images/17122025/17/25/image_17122025_17_25_55_9703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399814808","1399814819","1399814810","1399814812","1399814814","1399814817"],"photo_ids_order":["1399814808","1399814810","1399814812","1399814814","1399814817","1399814819"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31ce25f6043985955f43c5537ae551d1.jpg","text":"TemporaryFile(/tmp/multipartBody7192941191891412184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991523845,"filename":"image_17122025_17_24_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/944b60c3f5093df3316ea6835b9aea3f.jpg","text":"TemporaryFile(/tmp/multipartBody5810946389845450147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991523845,"filename":"image_17122025_17_25_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8c2d75a85f0e78194fcff3bcd9110d6.jpg","text":"TemporaryFile(/tmp/multipartBody6224348740578207777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991523845,"filename":"image_17122025_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/2025/12/17/60e0373873eb8b2bca4769c5f9f74bd9.jpg","text":"TemporaryFile(/tmp/multipartBody6719692892224808512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991523845,"filename":"image_17122025_17_25_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ac2fc140e3778df400011c6e1581727.jpg","text":"TemporaryFile(/tmp/multipartBody7393170884920367098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991523845,"filename":"image_17122025_17_25_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3ae11a568971acd5d3a37a45b038463.jpg","text":"TemporaryFile(/tmp/multipartBody5865043825248666296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991523845,"filename":"image_17122025_17_25_45_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814812","file1":"1399814810","file0":"1399814808","file4":"1399814817","file5":"1399814819","file3":"1399814814"},"map_files_photo_id_array":[{"photo_id":"1399814819","filename":"file5"},{"photo_id":"1399814812","filename":"file2"},{"photo_id":"1399814817","filename":"file4"},{"photo_id":"1399814810","filename":"file1"},{"photo_id":"1399814808","filename":"file0"},{"photo_id":"1399814814","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814808":["hashtag1","hashtag2"]},{"1399814819":["hashtag1","hashtag2"]},{"1399814810":["hashtag1","hashtag2"]},{"1399814812":["hashtag1","hashtag2"]},{"1399814814":["hashtag1","hashtag2"]},{"1399814817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814808, 1399814819, 1399814810, 1399814812, 1399814814, 1399814817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.561086654663086 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:11:42.488750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_41_2536.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_45_3623.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_48_2542.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_50_2590.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_57_2758.jpg', '/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_59_2686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_41_2536.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_45_3623.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_48_2542.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_50_2590.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_57_2758.jpg
/home/pi/Desktop/images/07112025/20/37/image_07112025_20_37_59_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":["1399814828","1399814845","1399814827","1399814829","1399814844","1399814838"],"photo_ids_order":["1399814827","1399814828","1399814829","1399814838","1399814844","1399814845"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81f8869d779c3998340a1254433323ca.jpg","text":"TemporaryFile(/tmp/multipartBody8489426726811463247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991563498,"filename":"image_07112025_20_37_45_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8866917df7cb22f71d719bd76c712618.jpg","text":"TemporaryFile(/tmp/multipartBody4083205607609137541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991563498,"filename":"image_07112025_20_37_59_2686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34c1f162a628e4a80e8a7f0b5f6ebf2f.jpg","text":"TemporaryFile(/tmp/multipartBody6538553748956919518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991563498,"filename":"image_07112025_20_37_41_2536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e088669630b9ba659ac2dd4719314e27.jpg","text":"TemporaryFile(/tmp/multipartBody987341162211496148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991563498,"filename":"image_07112025_20_37_48_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d82faa6a6a02edb6b8c7ff2d4dbf60c.jpg","text":"TemporaryFile(/tmp/multipartBody5148383159672180884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991563498,"filename":"image_07112025_20_37_57_2758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58ddcec42689e3afd14a8917aec1f251.jpg","text":"TemporaryFile(/tmp/multipartBody926672990415632851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991563498,"filename":"image_07112025_20_37_50_2590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814829","file1":"1399814828","file0":"1399814827","file4":"1399814844","file5":"1399814845","file3":"1399814838"},"map_files_photo_id_array":[{"photo_id":"1399814845","filename":"file5"},{"photo_id":"1399814829","filename":"file2"},{"photo_id":"1399814844","filename":"file4"},{"photo_id":"1399814828","filename":"file1"},{"photo_id":"1399814827","filename":"file0"},{"photo_id":"1399814838","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399814828":["hashtag1","hashtag2"]},{"1399814845":["hashtag1","hashtag2"]},{"1399814827":["hashtag1","hashtag2"]},{"1399814829":["hashtag1","hashtag2"]},{"1399814844":["hashtag1","hashtag2"]},{"1399814838":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399814828, 1399814845, 1399814827, 1399814829, 1399814844, 1399814838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55227589607239 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:12:22.744166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/25/image_17122025_17_26_04_9877.jpg', '/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_14_9639.jpg', '/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_25_10708.jpg', '/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_35_9734.jpg', '/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_44_9592.jpg', '/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_55_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/25/image_17122025_17_26_04_9877.jpg
/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_14_9639.jpg
/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_25_10708.jpg
/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_35_9734.jpg
/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_44_9592.jpg
/home/pi/Desktop/images/17122025/17/26/image_17122025_17_26_55_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":["1399814882","1399814875","1399814883","1399814877","1399814886","1399814880"],"photo_ids_order":["1399814875","1399814877","1399814880","1399814882","1399814883","1399814886"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8f4a706e0b6e2616297de48534d800c.jpg","text":"TemporaryFile(/tmp/multipartBody5129731392819699759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991603506,"filename":"image_17122025_17_26_35_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e780570d4c929ca9646c723d51cf2dc1.jpg","text":"TemporaryFile(/tmp/multipartBody2463560757617062592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991603506,"filename":"image_17122025_17_26_04_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68337dcc06c6ae5d20e48082ec540a5d.jpg","text":"TemporaryFile(/tmp/multipartBody8762825631657729520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991603506,"filename":"image_17122025_17_26_44_9592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc881c4fcc1de9b494bbe44404b427b9.jpg","text":"TemporaryFile(/tmp/multipartBody5522043716530574131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991603506,"filename":"image_17122025_17_26_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d7f90d92b8d32516807990e9e7789b5.jpg","text":"TemporaryFile(/tmp/multipartBody935334763287575492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991603506,"filename":"image_17122025_17_26_55_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb70a4637667f24482c141127e2c4050.jpg","text":"TemporaryFile(/tmp/multipartBody1745243201525203635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991603506,"filename":"image_17122025_17_26_25_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814880","file1":"1399814877","file0":"1399814875","file4":"1399814883","file5":"1399814886","file3":"1399814882"},"map_files_photo_id_array":[{"photo_id":"1399814886","filename":"file5"},{"photo_id":"1399814880","filename":"file2"},{"photo_id":"1399814883","filename":"file4"},{"photo_id":"1399814877","filename":"file1"},{"photo_id":"1399814875","filename":"file0"},{"photo_id":"1399814882","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814882":["hashtag1","hashtag2"]},{"1399814875":["hashtag1","hashtag2"]},{"1399814883":["hashtag1","hashtag2"]},{"1399814877":["hashtag1","hashtag2"]},{"1399814886":["hashtag1","hashtag2"]},{"1399814880":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814882, 1399814875, 1399814883, 1399814877, 1399814886, 1399814880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28912925720215 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:13:02.737289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/26/image_17122025_17_27_04_9581.jpg', '/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_14_9599.jpg', '/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_25_10666.jpg', '/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_34_9704.jpg', '/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_45_10578.jpg', '/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_55_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/26/image_17122025_17_27_04_9581.jpg
/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_14_9599.jpg
/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_25_10666.jpg
/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_34_9704.jpg
/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_45_10578.jpg
/home/pi/Desktop/images/17122025/17/27/image_17122025_17_27_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":["1399814899","1399814893","1399814896","1399814892","1399814901","1399814894"],"photo_ids_order":["1399814892","1399814893","1399814894","1399814896","1399814899","1399814901"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2086d09b13a231d3adea4c175dadb3b.jpg","text":"TemporaryFile(/tmp/multipartBody1868384027386877525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991643501,"filename":"image_17122025_17_27_45_10578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11cd737adae6420be1f57520e00553d5.jpg","text":"TemporaryFile(/tmp/multipartBody3782655833287900368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991643501,"filename":"image_17122025_17_27_14_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/629432107a55a7b85798242fea2aed47.jpg","text":"TemporaryFile(/tmp/multipartBody1866624214341868424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991643501,"filename":"image_17122025_17_27_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f0791b6f1aaf088160d9a171f601573.jpg","text":"TemporaryFile(/tmp/multipartBody4595300943617320890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991643501,"filename":"image_17122025_17_27_04_9581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49538d29928e479ee4cbdab420884b62.jpg","text":"TemporaryFile(/tmp/multipartBody3170545246658374005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991643501,"filename":"image_17122025_17_27_55_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b144fe54785d480760951b88258561f0.jpg","text":"TemporaryFile(/tmp/multipartBody276915457981138094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991643501,"filename":"image_17122025_17_27_25_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814894","file1":"1399814893","file0":"1399814892","file4":"1399814899","file5":"1399814901","file3":"1399814896"},"map_files_photo_id_array":[{"photo_id":"1399814901","filename":"file5"},{"photo_id":"1399814894","filename":"file2"},{"photo_id":"1399814899","filename":"file4"},{"photo_id":"1399814893","filename":"file1"},{"photo_id":"1399814892","filename":"file0"},{"photo_id":"1399814896","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814899":["hashtag1","hashtag2"]},{"1399814893":["hashtag1","hashtag2"]},{"1399814896":["hashtag1","hashtag2"]},{"1399814892":["hashtag1","hashtag2"]},{"1399814901":["hashtag1","hashtag2"]},{"1399814894":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814899, 1399814893, 1399814896, 1399814892, 1399814901, 1399814894)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.259366273880005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:13:42.161536
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_06_2737.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_12_3645.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_15_2702.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_17_2690.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_21_3711.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_24_2586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_06_2737.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_12_3645.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_15_2702.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_17_2690.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_21_3711.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_24_2586.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399814915","1399814918","1399814911","1399814908","1399814913","1399814919"],"photo_ids_order":["1399814908","1399814911","1399814913","1399814915","1399814918","1399814919"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/076bec152d7945aa313c624249096db8.jpg","text":"TemporaryFile(/tmp/multipartBody5906259634724423524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991683200,"filename":"image_07112025_20_38_17_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9892d13bdfb05206a274d09b05bc2c97.jpg","text":"TemporaryFile(/tmp/multipartBody39140544121252314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991683200,"filename":"image_07112025_20_38_21_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/999ce352a63247405b1e6c8117df2c1b.jpg","text":"TemporaryFile(/tmp/multipartBody5328681226726040789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991683200,"filename":"image_07112025_20_38_12_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/208dab59d76154c3d20dfd7aad20db51.jpg","text":"TemporaryFile(/tmp/multipartBody5026769110326196743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991683200,"filename":"image_07112025_20_38_06_2737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/383d7427246afd7f4fd1013559f8dba4.jpg","text":"TemporaryFile(/tmp/multipartBody7621869099060325354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991683200,"filename":"image_07112025_20_38_15_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/385e7cf7a747ea0a30d84aba5c4f77ff.jpg","text":"TemporaryFile(/tmp/multipartBody5627714605236149044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991683200,"filename":"image_07112025_20_38_24_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814913","file1":"1399814911","file0":"1399814908","file4":"1399814918","file5":"1399814919","file3":"1399814915"},"map_files_photo_id_array":[{"photo_id":"1399814919","filename":"file5"},{"photo_id":"1399814913","filename":"file2"},{"photo_id":"1399814918","filename":"file4"},{"photo_id":"1399814911","filename":"file1"},{"photo_id":"1399814908","filename":"file0"},{"photo_id":"1399814915","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399814915":["hashtag1","hashtag2"]},{"1399814918":["hashtag1","hashtag2"]},{"1399814911":["hashtag1","hashtag2"]},{"1399814908":["hashtag1","hashtag2"]},{"1399814913":["hashtag1","hashtag2"]},{"1399814919":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399814915, 1399814918, 1399814911, 1399814908, 1399814913, 1399814919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.915109395980835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:14:22.474696
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/27/image_17122025_17_28_04_9577.jpg', '/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_15_10625.jpg', '/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_24_9662.jpg', '/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_34_9761.jpg', '/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_44_9963.jpg', '/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_54_9779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/27/image_17122025_17_28_04_9577.jpg
/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_15_10625.jpg
/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_24_9662.jpg
/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_34_9761.jpg
/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_44_9963.jpg
/home/pi/Desktop/images/17122025/17/28/image_17122025_17_28_54_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":["1399814945","1399814923","1399814931","1399814928","1399814937","1399814925"],"photo_ids_order":["1399814923","1399814925","1399814928","1399814931","1399814937","1399814945"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09f313227472e1de02688dc1a8bc19b8.jpg","text":"TemporaryFile(/tmp/multipartBody6609877213710467343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991723388,"filename":"image_17122025_17_28_54_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/751b7af93e55db309307486007eb855c.jpg","text":"TemporaryFile(/tmp/multipartBody7616460848746361705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991723388,"filename":"image_17122025_17_28_04_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e5bc03a76c4b9243cfd21089aa98cee.jpg","text":"TemporaryFile(/tmp/multipartBody1476977584319217126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991723388,"filename":"image_17122025_17_28_34_9761.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6111af265088e30e948efe31c5c9542f.jpg","text":"TemporaryFile(/tmp/multipartBody1436427259498461331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991723388,"filename":"image_17122025_17_28_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f41b12ee4e5533e3637aa42b134b34e2.jpg","text":"TemporaryFile(/tmp/multipartBody2347643295984308439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991723388,"filename":"image_17122025_17_28_44_9963.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a8f6f7eb925f354b91c3fcc48c445ed.jpg","text":"TemporaryFile(/tmp/multipartBody1820918755019715495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991723388,"filename":"image_17122025_17_28_15_10625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814928","file1":"1399814925","file0":"1399814923","file4":"1399814937","file5":"1399814945","file3":"1399814931"},"map_files_photo_id_array":[{"photo_id":"1399814945","filename":"file5"},{"photo_id":"1399814928","filename":"file2"},{"photo_id":"1399814937","filename":"file4"},{"photo_id":"1399814925","filename":"file1"},{"photo_id":"1399814923","filename":"file0"},{"photo_id":"1399814931","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814945":["hashtag1","hashtag2"]},{"1399814923":["hashtag1","hashtag2"]},{"1399814931":["hashtag1","hashtag2"]},{"1399814928":["hashtag1","hashtag2"]},{"1399814937":["hashtag1","hashtag2"]},{"1399814925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814945, 1399814923, 1399814931, 1399814928, 1399814937, 1399814925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.899248361587524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:15:03.466298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/28/image_17122025_17_29_05_10728.jpg', '/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_14_9447.jpg', '/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_25_10547.jpg', '/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_34_9440.jpg', '/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_44_9846.jpg', '/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_55_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/28/image_17122025_17_29_05_10728.jpg
/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_14_9447.jpg
/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_25_10547.jpg
/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_34_9440.jpg
/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_44_9846.jpg
/home/pi/Desktop/images/17122025/17/29/image_17122025_17_29_55_10711.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399814963","1399814957","1399814959","1399814952","1399814961","1399814955"],"photo_ids_order":["1399814952","1399814955","1399814957","1399814959","1399814961","1399814963"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5c026cbbd11ede011f700981b29402d.jpg","text":"TemporaryFile(/tmp/multipartBody5531050873459698381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991764290,"filename":"image_17122025_17_29_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/548a5a8e9e0f5fff7d195ddbe9843a72.jpg","text":"TemporaryFile(/tmp/multipartBody7306664917148454252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991764290,"filename":"image_17122025_17_29_25_10547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c91ffd465841cc4e31319e87359fd339.jpg","text":"TemporaryFile(/tmp/multipartBody573634928476228707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991764290,"filename":"image_17122025_17_29_34_9440.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f19d9dd506f980ebaa0a6bbb10b1eee3.jpg","text":"TemporaryFile(/tmp/multipartBody2934100485732213461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991764290,"filename":"image_17122025_17_29_05_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4b0310269031d394564ad0c59e2af94.jpg","text":"TemporaryFile(/tmp/multipartBody8206300024143269569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991764290,"filename":"image_17122025_17_29_44_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e0e9e3d8f08064e017df2e1812c7561.jpg","text":"TemporaryFile(/tmp/multipartBody3442237574443079659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991764290,"filename":"image_17122025_17_29_14_9447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814957","file1":"1399814955","file0":"1399814952","file4":"1399814961","file5":"1399814963","file3":"1399814959"},"map_files_photo_id_array":[{"photo_id":"1399814963","filename":"file5"},{"photo_id":"1399814957","filename":"file2"},{"photo_id":"1399814961","filename":"file4"},{"photo_id":"1399814955","filename":"file1"},{"photo_id":"1399814952","filename":"file0"},{"photo_id":"1399814959","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814963":["hashtag1","hashtag2"]},{"1399814957":["hashtag1","hashtag2"]},{"1399814959":["hashtag1","hashtag2"]},{"1399814952":["hashtag1","hashtag2"]},{"1399814961":["hashtag1","hashtag2"]},{"1399814955":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814963, 1399814957, 1399814959, 1399814952, 1399814961, 1399814955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.07278823852539 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:15:42.551709
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_30_3664.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_33_2911.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_36_2666.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_38_2532.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_42_3597.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_44_2633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_30_3664.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_33_2911.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_36_2666.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_38_2532.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_42_3597.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_44_2633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399814972","1399814971","1399814974","1399814970","1399814973","1399814967"],"photo_ids_order":["1399814967","1399814970","1399814971","1399814972","1399814973","1399814974"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/369966435251c62a3ade2460da88c466.jpg","text":"TemporaryFile(/tmp/multipartBody5033582453906756188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991803583,"filename":"image_07112025_20_38_38_2532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94af89414d6269158288e5825eb07f57.jpg","text":"TemporaryFile(/tmp/multipartBody5074105148644119360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991803583,"filename":"image_07112025_20_38_36_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91d8f6258de3ad91db215d1a2ddab177.jpg","text":"TemporaryFile(/tmp/multipartBody3613769277910898883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991803583,"filename":"image_07112025_20_38_44_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c2214e4ef46523dc53290ea5bc78402.jpg","text":"TemporaryFile(/tmp/multipartBody7040530228252408496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991803583,"filename":"image_07112025_20_38_33_2911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1fe582df1fb2d999a71e7d3f7de14f3.jpg","text":"TemporaryFile(/tmp/multipartBody1379946847930462587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991803583,"filename":"image_07112025_20_38_42_3597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef928d7b0388026c6be596c014ac7a27.jpg","text":"TemporaryFile(/tmp/multipartBody4264744965708496619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991803583,"filename":"image_07112025_20_38_30_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814971","file1":"1399814970","file0":"1399814967","file4":"1399814973","file5":"1399814974","file3":"1399814972"},"map_files_photo_id_array":[{"photo_id":"1399814974","filename":"file5"},{"photo_id":"1399814971","filename":"file2"},{"photo_id":"1399814973","filename":"file4"},{"photo_id":"1399814970","filename":"file1"},{"photo_id":"1399814967","filename":"file0"},{"photo_id":"1399814972","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399814972":["hashtag1","hashtag2"]},{"1399814971":["hashtag1","hashtag2"]},{"1399814974":["hashtag1","hashtag2"]},{"1399814970":["hashtag1","hashtag2"]},{"1399814973":["hashtag1","hashtag2"]},{"1399814967":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399814972, 1399814971, 1399814974, 1399814970, 1399814973, 1399814967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.16810750961304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:16:22.831427
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_17_10038.jpg', '/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_27_10627.jpg', '/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_37_9677.jpg', '/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_47_9705.jpg', '/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_58_10736.jpg', '/home/pi/Desktop/images/17122025/17/31/image_17122025_17_32_07_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_17_10038.jpg
/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_27_10627.jpg
/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_37_9677.jpg
/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_47_9705.jpg
/home/pi/Desktop/images/17122025/17/31/image_17122025_17_31_58_10736.jpg
/home/pi/Desktop/images/17122025/17/31/image_17122025_17_32_07_9631.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399814996","1399814981","1399814984","1399814986","1399814988","1399815003"],"photo_ids_order":["1399814981","1399814984","1399814986","1399814988","1399814996","1399815003"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dcb5814783635ca452dfcb7b1cc3cc5e.jpg","text":"TemporaryFile(/tmp/multipartBody7434571059329085314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991843723,"filename":"image_17122025_17_31_58_10736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c17c4b2e4a2288edae4c2debf8c7ffa4.jpg","text":"TemporaryFile(/tmp/multipartBody7276262758642922324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991843723,"filename":"image_17122025_17_31_17_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba09c169da0303a1f36548c20e37f11c.jpg","text":"TemporaryFile(/tmp/multipartBody7621034202824052710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991843723,"filename":"image_17122025_17_31_27_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7e0ec58f3d0788d47bfd4bc1a090916.jpg","text":"TemporaryFile(/tmp/multipartBody1925783080286594067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991843723,"filename":"image_17122025_17_31_37_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d8e9baa7de0647c5977cda8f790d70f.jpg","text":"TemporaryFile(/tmp/multipartBody2335063379288184786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991843723,"filename":"image_17122025_17_31_47_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f57220a4f48627073d547cdd1ccef9b.jpg","text":"TemporaryFile(/tmp/multipartBody1861619503887565821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991843723,"filename":"image_17122025_17_32_07_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399814986","file1":"1399814984","file0":"1399814981","file4":"1399814996","file5":"1399815003","file3":"1399814988"},"map_files_photo_id_array":[{"photo_id":"1399815003","filename":"file5"},{"photo_id":"1399814986","filename":"file2"},{"photo_id":"1399814996","filename":"file4"},{"photo_id":"1399814984","filename":"file1"},{"photo_id":"1399814981","filename":"file0"},{"photo_id":"1399814988","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399814996":["hashtag1","hashtag2"]},{"1399814981":["hashtag1","hashtag2"]},{"1399814984":["hashtag1","hashtag2"]},{"1399814986":["hashtag1","hashtag2"]},{"1399814988":["hashtag1","hashtag2"]},{"1399815003":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399814996, 1399814981, 1399814984, 1399814986, 1399814988, 1399815003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.690253496170044 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 10 --only_old 1
2025-12-17 18:17:12.085346
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:17:22.128188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_17_9629.jpg', '/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_28_10686.jpg', '/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_37_9845.jpg', '/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_47_9722.jpg', '/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_58_10703.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_08_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_17_9629.jpg
/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_28_10686.jpg
/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_37_9845.jpg
/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_47_9722.jpg
/home/pi/Desktop/images/17122025/17/32/image_17122025_17_32_58_10703.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_08_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815023","1399815011","1399815017","1399815016","1399815019","1399815021"],"photo_ids_order":["1399815011","1399815016","1399815017","1399815019","1399815021","1399815023"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ebf3b2273e428ab68df09b02fff389c.jpg","text":"TemporaryFile(/tmp/multipartBody6536852989062682373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991903157,"filename":"image_17122025_17_33_08_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fbd565fec1401c53278c5a957ffa69e.jpg","text":"TemporaryFile(/tmp/multipartBody2722480005384149598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991903157,"filename":"image_17122025_17_32_17_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6df0a48474a7431144085710b3a99595.jpg","text":"TemporaryFile(/tmp/multipartBody7660114363818977136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991903157,"filename":"image_17122025_17_32_37_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ed788f8aad2969650c2a82d74e4a18f.jpg","text":"TemporaryFile(/tmp/multipartBody7393174723959920473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991903157,"filename":"image_17122025_17_32_28_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bee5cf373c0800726cb3f6d41873cb8.jpg","text":"TemporaryFile(/tmp/multipartBody3985253421769891218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991903157,"filename":"image_17122025_17_32_47_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a367ef606cab38d57c141293fe7b6f54.jpg","text":"TemporaryFile(/tmp/multipartBody1913060197826275128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991903157,"filename":"image_17122025_17_32_58_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815017","file1":"1399815016","file0":"1399815011","file4":"1399815021","file5":"1399815023","file3":"1399815019"},"map_files_photo_id_array":[{"photo_id":"1399815023","filename":"file5"},{"photo_id":"1399815017","filename":"file2"},{"photo_id":"1399815021","filename":"file4"},{"photo_id":"1399815016","filename":"file1"},{"photo_id":"1399815011","filename":"file0"},{"photo_id":"1399815019","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815023":["hashtag1","hashtag2"]},{"1399815011":["hashtag1","hashtag2"]},{"1399815017":["hashtag1","hashtag2"]},{"1399815016":["hashtag1","hashtag2"]},{"1399815019":["hashtag1","hashtag2"]},{"1399815021":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815023, 1399815011, 1399815017, 1399815016, 1399815019, 1399815021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.336134910583496 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:18:02.854226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_17_9674.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_27_10252.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_37_9722.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_47_9750.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_58_10705.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_34_07_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_17_9674.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_27_10252.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_37_9722.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_47_9750.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_58_10705.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_34_07_9729.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7873752117156982 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 18:18:12.266876
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:18:22.433591
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_17_9674.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_27_10252.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_37_9722.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_47_9750.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_58_10705.jpg', '/home/pi/Desktop/images/17122025/17/33/image_17122025_17_34_07_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_17_9674.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_27_10252.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_37_9722.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_47_9750.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_33_58_10705.jpg
/home/pi/Desktop/images/17122025/17/33/image_17122025_17_34_07_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":["1399815044","1399815038","1399815049","1399815040","1399815034","1399815042"],"photo_ids_order":["1399815034","1399815038","1399815040","1399815042","1399815044","1399815049"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b55c81fa20a89867a36c38a622cd9c45.jpg","text":"TemporaryFile(/tmp/multipartBody5908885500377398635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991963649,"filename":"image_17122025_17_33_58_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a6fe00c50eb5d2ebd903fe606f10c88.jpg","text":"TemporaryFile(/tmp/multipartBody3218635692732907902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991963649,"filename":"image_17122025_17_33_27_10252.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d53bc75d6f19a97c040dbda5684dbe4.jpg","text":"TemporaryFile(/tmp/multipartBody3083098776880853728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991963649,"filename":"image_17122025_17_34_07_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31ebc42a57bc7a9a36adbd91620077db.jpg","text":"TemporaryFile(/tmp/multipartBody612623196042030023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991963649,"filename":"image_17122025_17_33_37_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6bf11e0c01aecd0fafcf6cb3c94361c.jpg","text":"TemporaryFile(/tmp/multipartBody7986880082963449616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991963649,"filename":"image_17122025_17_33_17_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31a8fc8493b1f88131360df4a27fd407.jpg","text":"TemporaryFile(/tmp/multipartBody8069812013870026623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765991963649,"filename":"image_17122025_17_33_47_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815040","file1":"1399815038","file0":"1399815034","file4":"1399815044","file5":"1399815049","file3":"1399815042"},"map_files_photo_id_array":[{"photo_id":"1399815049","filename":"file5"},{"photo_id":"1399815040","filename":"file2"},{"photo_id":"1399815044","filename":"file4"},{"photo_id":"1399815038","filename":"file1"},{"photo_id":"1399815034","filename":"file0"},{"photo_id":"1399815042","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815044":["hashtag1","hashtag2"]},{"1399815038":["hashtag1","hashtag2"]},{"1399815049":["hashtag1","hashtag2"]},{"1399815040":["hashtag1","hashtag2"]},{"1399815034":["hashtag1","hashtag2"]},{"1399815042":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815044, 1399815038, 1399815049, 1399815040, 1399815034, 1399815042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.5448203086853 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:19:03.423877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_17_9743.jpg', '/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_27_9791.jpg', '/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_38_10715.jpg', '/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_47_9801.jpg', '/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_57_9644.jpg', '/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_14_10056.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_17_9743.jpg
/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_27_9791.jpg
/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_38_10715.jpg
/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_47_9801.jpg
/home/pi/Desktop/images/17122025/17/34/image_17122025_17_34_57_9644.jpg
/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_14_10056.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":["1399815071","1399815128","1399815085","1399815060","1399815114","1399815068"],"photo_ids_order":["1399815060","1399815068","1399815071","1399815085","1399815114","1399815128"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68813e72b73d5a8a84c70cd33e1b4566.jpg","text":"TemporaryFile(/tmp/multipartBody6735676007787903942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992004387,"filename":"image_17122025_17_34_38_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbb8503f34d2aa37fe9787f666209973.jpg","text":"TemporaryFile(/tmp/multipartBody4313143648507010401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992004387,"filename":"image_17122025_17_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/2025/12/17/880912c4c287c12f9bf7d24709c79348.jpg","text":"TemporaryFile(/tmp/multipartBody1876244830689940882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992004387,"filename":"image_17122025_17_34_47_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cceb26bee43a57f37d22b794c1caca79.jpg","text":"TemporaryFile(/tmp/multipartBody3174523715253046121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992004387,"filename":"image_17122025_17_34_17_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/888aba509822bb86481322890fd997ac.jpg","text":"TemporaryFile(/tmp/multipartBody7993417511540681430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992004387,"filename":"image_17122025_17_34_57_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdcb3b99d993056816422800aa6955cb.jpg","text":"TemporaryFile(/tmp/multipartBody4367340626274876230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992004387,"filename":"image_17122025_17_34_27_9791.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815071","file1":"1399815068","file0":"1399815060","file4":"1399815114","file5":"1399815128","file3":"1399815085"},"map_files_photo_id_array":[{"photo_id":"1399815128","filename":"file5"},{"photo_id":"1399815071","filename":"file2"},{"photo_id":"1399815114","filename":"file4"},{"photo_id":"1399815068","filename":"file1"},{"photo_id":"1399815060","filename":"file0"},{"photo_id":"1399815085","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815071":["hashtag1","hashtag2"]},{"1399815128":["hashtag1","hashtag2"]},{"1399815085":["hashtag1","hashtag2"]},{"1399815060":["hashtag1","hashtag2"]},{"1399815114":["hashtag1","hashtag2"]},{"1399815068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815071, 1399815128, 1399815085, 1399815060, 1399815114, 1399815068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.842615365982056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:20:02.251805
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_25_10784.jpg', '/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_35_9938.jpg', '/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_45_9590.jpg', '/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_55_10221.jpg', '/home/pi/Desktop/images/17122025/17/35/image_17122025_17_36_05_9720.jpg', '/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_14_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_25_10784.jpg
/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_35_9938.jpg
/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_45_9590.jpg
/home/pi/Desktop/images/17122025/17/35/image_17122025_17_35_55_10221.jpg
/home/pi/Desktop/images/17122025/17/35/image_17122025_17_36_05_9720.jpg
/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_14_9937.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815170","1399815166","1399815160","1399815162","1399815173","1399815149"],"photo_ids_order":["1399815149","1399815160","1399815162","1399815166","1399815170","1399815173"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3943f7b7a695d7a45a38dea1c59a6ef8.jpg","text":"TemporaryFile(/tmp/multipartBody487520010898999877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992063165,"filename":"image_17122025_17_36_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55f1da8bded2736751d578d9b9864711.jpg","text":"TemporaryFile(/tmp/multipartBody3753262275605499391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992063165,"filename":"image_17122025_17_35_55_10221.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd3ea279aabb6aa92dcd51cb32a2a7da.jpg","text":"TemporaryFile(/tmp/multipartBody2973662287241361785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992063165,"filename":"image_17122025_17_35_35_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbfcdf4fb04b60b9fca46d6f5b1a5fc0.jpg","text":"TemporaryFile(/tmp/multipartBody6739709812458621206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992063165,"filename":"image_17122025_17_35_45_9590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23370f43b3490f6f47eb63128274c149.jpg","text":"TemporaryFile(/tmp/multipartBody4909742309503203995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992063165,"filename":"image_17122025_17_36_14_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2be842a69c7b156c08f52be2e13f44a5.jpg","text":"TemporaryFile(/tmp/multipartBody1979285813080214951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992063165,"filename":"image_17122025_17_35_25_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815162","file1":"1399815160","file0":"1399815149","file4":"1399815170","file5":"1399815173","file3":"1399815166"},"map_files_photo_id_array":[{"photo_id":"1399815173","filename":"file5"},{"photo_id":"1399815162","filename":"file2"},{"photo_id":"1399815170","filename":"file4"},{"photo_id":"1399815160","filename":"file1"},{"photo_id":"1399815149","filename":"file0"},{"photo_id":"1399815166","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815170":["hashtag1","hashtag2"]},{"1399815166":["hashtag1","hashtag2"]},{"1399815160":["hashtag1","hashtag2"]},{"1399815162":["hashtag1","hashtag2"]},{"1399815173":["hashtag1","hashtag2"]},{"1399815149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815170, 1399815166, 1399815160, 1399815162, 1399815173, 1399815149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.85249614715576 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:20:41.847749
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_53_2680.jpg', '/home/pi/Desktop/images/07112025/20/38/image_07112025_20_39_00_3630.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_02_2665.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_05_2654.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_11_2690.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_14_2649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_38_53_2680.jpg
/home/pi/Desktop/images/07112025/20/38/image_07112025_20_39_00_3630.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_02_2665.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_05_2654.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_11_2690.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_14_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":["1399815196","1399815181","1399815193","1399815195","1399815189","1399815194"],"photo_ids_order":["1399815181","1399815189","1399815193","1399815194","1399815195","1399815196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9922f52d54a91b98627a20a3c26a230a.jpg","text":"TemporaryFile(/tmp/multipartBody5040818542068859900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992102866,"filename":"image_07112025_20_39_14_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea59b98498213e795771f943980f8f45.jpg","text":"TemporaryFile(/tmp/multipartBody2840935328432553574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992102866,"filename":"image_07112025_20_38_53_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e60d9280fae37b2a54fc31d1e60bb64c.jpg","text":"TemporaryFile(/tmp/multipartBody6459676476962372313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992102866,"filename":"image_07112025_20_39_02_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0590ff928d870c1c1fce773b1377b94f.jpg","text":"TemporaryFile(/tmp/multipartBody1499349219908084140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992102866,"filename":"image_07112025_20_39_11_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a27aafce58d0e5afd45ae227d2a56c56.jpg","text":"TemporaryFile(/tmp/multipartBody3341686130168261320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992102866,"filename":"image_07112025_20_39_00_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1923d91bd15838f231f646c952780009.jpg","text":"TemporaryFile(/tmp/multipartBody3925693635972868165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992102866,"filename":"image_07112025_20_39_05_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815193","file1":"1399815189","file0":"1399815181","file4":"1399815195","file5":"1399815196","file3":"1399815194"},"map_files_photo_id_array":[{"photo_id":"1399815196","filename":"file5"},{"photo_id":"1399815193","filename":"file2"},{"photo_id":"1399815195","filename":"file4"},{"photo_id":"1399815189","filename":"file1"},{"photo_id":"1399815181","filename":"file0"},{"photo_id":"1399815194","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815196":["hashtag1","hashtag2"]},{"1399815181":["hashtag1","hashtag2"]},{"1399815193":["hashtag1","hashtag2"]},{"1399815195":["hashtag1","hashtag2"]},{"1399815189":["hashtag1","hashtag2"]},{"1399815194":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815196, 1399815181, 1399815193, 1399815195, 1399815189, 1399815194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.820120334625244 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:21:22.109304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_25_10639.jpg', '/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_35_9470.jpg', '/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_45_10591.jpg', '/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_55_9399.jpg', '/home/pi/Desktop/images/17122025/17/36/image_17122025_17_37_04_9765.jpg', '/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_14_10093.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_25_10639.jpg
/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_35_9470.jpg
/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_45_10591.jpg
/home/pi/Desktop/images/17122025/17/36/image_17122025_17_36_55_9399.jpg
/home/pi/Desktop/images/17122025/17/36/image_17122025_17_37_04_9765.jpg
/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_14_10093.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815212","1399815206","1399815208","1399815202","1399815210","1399815204"],"photo_ids_order":["1399815202","1399815204","1399815206","1399815208","1399815210","1399815212"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57a3236f39cee171cd9340f068e8ec4c.jpg","text":"TemporaryFile(/tmp/multipartBody5582242696057238097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992143220,"filename":"image_17122025_17_37_14_10093.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c58b5b58dfc19652db5a1ae3a44a8da.jpg","text":"TemporaryFile(/tmp/multipartBody6604460224150574599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992143220,"filename":"image_17122025_17_36_45_10591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8b39dd423fbb204d8d72b778a88c276.jpg","text":"TemporaryFile(/tmp/multipartBody4611890238739736337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992143220,"filename":"image_17122025_17_36_55_9399.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e99bd0e628dd81a7f9034b4afd7bba3d.jpg","text":"TemporaryFile(/tmp/multipartBody5038557405277429603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992143220,"filename":"image_17122025_17_36_25_10639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e85aff91a3544be818a61f80562d890e.jpg","text":"TemporaryFile(/tmp/multipartBody3513664336923882233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992143220,"filename":"image_17122025_17_37_04_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8d4a0cddc85edca2b9ff09390b135b1.jpg","text":"TemporaryFile(/tmp/multipartBody7006703026609107005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992143220,"filename":"image_17122025_17_36_35_9470.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815206","file1":"1399815204","file0":"1399815202","file4":"1399815210","file5":"1399815212","file3":"1399815208"},"map_files_photo_id_array":[{"photo_id":"1399815212","filename":"file5"},{"photo_id":"1399815206","filename":"file2"},{"photo_id":"1399815210","filename":"file4"},{"photo_id":"1399815204","filename":"file1"},{"photo_id":"1399815202","filename":"file0"},{"photo_id":"1399815208","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815212":["hashtag1","hashtag2"]},{"1399815206":["hashtag1","hashtag2"]},{"1399815208":["hashtag1","hashtag2"]},{"1399815202":["hashtag1","hashtag2"]},{"1399815210":["hashtag1","hashtag2"]},{"1399815204":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815212, 1399815206, 1399815208, 1399815202, 1399815210, 1399815204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12310433387756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:22:02.884940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_25_10751.jpg', '/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_35_9707.jpg', '/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_44_9630.jpg', '/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_54_9716.jpg', '/home/pi/Desktop/images/17122025/17/37/image_17122025_17_38_05_10682.jpg', '/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_15_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_25_10751.jpg
/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_35_9707.jpg
/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_44_9630.jpg
/home/pi/Desktop/images/17122025/17/37/image_17122025_17_37_54_9716.jpg
/home/pi/Desktop/images/17122025/17/37/image_17122025_17_38_05_10682.jpg
/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_15_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815221","1399815214","1399815223","1399815217","1399815219","1399815213"],"photo_ids_order":["1399815213","1399815214","1399815217","1399815219","1399815221","1399815223"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b182bdc44ff6e83f0b8080645a07e7d6.jpg","text":"TemporaryFile(/tmp/multipartBody4644963653371665058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992183763,"filename":"image_17122025_17_38_05_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cd6dac55731f5e3dda7954fd9770c52.jpg","text":"TemporaryFile(/tmp/multipartBody8841844994471785328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992183763,"filename":"image_17122025_17_37_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb1cfacd2cf69a1f72bb46ab54276f52.jpg","text":"TemporaryFile(/tmp/multipartBody7492082700600665851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992183763,"filename":"image_17122025_17_38_15_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37f2f0204a4487dce7f9b62ac9b05105.jpg","text":"TemporaryFile(/tmp/multipartBody3521932570464525595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992183763,"filename":"image_17122025_17_37_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7179fa92cfa756f7bca22eafa822174b.jpg","text":"TemporaryFile(/tmp/multipartBody5546530162319951696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992183763,"filename":"image_17122025_17_37_54_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70018a9a67eaa7728a0f8bdf6dcd8633.jpg","text":"TemporaryFile(/tmp/multipartBody1745586595749461810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992183763,"filename":"image_17122025_17_37_25_10751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815217","file1":"1399815214","file0":"1399815213","file4":"1399815221","file5":"1399815223","file3":"1399815219"},"map_files_photo_id_array":[{"photo_id":"1399815223","filename":"file5"},{"photo_id":"1399815217","filename":"file2"},{"photo_id":"1399815221","filename":"file4"},{"photo_id":"1399815214","filename":"file1"},{"photo_id":"1399815213","filename":"file0"},{"photo_id":"1399815219","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815221":["hashtag1","hashtag2"]},{"1399815214":["hashtag1","hashtag2"]},{"1399815223":["hashtag1","hashtag2"]},{"1399815217":["hashtag1","hashtag2"]},{"1399815219":["hashtag1","hashtag2"]},{"1399815213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815221, 1399815214, 1399815223, 1399815217, 1399815219, 1399815213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.906293869018555 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:22:42.478590
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_29_2559.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_36_3772.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_39_2666.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_41_2736.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_45_3630.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_48_2639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_29_2559.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_36_3772.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_39_2666.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_41_2736.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_45_3630.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_48_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":["1399815253","1399815256","1399815229","1399815261","1399815258","1399815237"],"photo_ids_order":["1399815229","1399815237","1399815253","1399815256","1399815258","1399815261"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42eb97690955c808cb1ca793b86e9645.jpg","text":"TemporaryFile(/tmp/multipartBody3927051851686675067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992223528,"filename":"image_07112025_20_39_39_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/520788bf1eeafe40dee30ff1d8d1ac6a.jpg","text":"TemporaryFile(/tmp/multipartBody1746110508863632078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992223528,"filename":"image_07112025_20_39_41_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6e294befe84c1771aaba821cd8e26dc.jpg","text":"TemporaryFile(/tmp/multipartBody4801008644013461049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992223528,"filename":"image_07112025_20_39_29_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b929884a12848e0e1796d1e829e14ae.jpg","text":"TemporaryFile(/tmp/multipartBody7376403132491860642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992223528,"filename":"image_07112025_20_39_48_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2abf84ffdbffc1e6ec873fcc405b208e.jpg","text":"TemporaryFile(/tmp/multipartBody3171683714948610650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992223528,"filename":"image_07112025_20_39_45_3630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ae3d2c3ddee12bc94e3a269ca653bf5.jpg","text":"TemporaryFile(/tmp/multipartBody4580714554989521717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992223528,"filename":"image_07112025_20_39_36_3772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815253","file1":"1399815237","file0":"1399815229","file4":"1399815258","file5":"1399815261","file3":"1399815256"},"map_files_photo_id_array":[{"photo_id":"1399815261","filename":"file5"},{"photo_id":"1399815253","filename":"file2"},{"photo_id":"1399815258","filename":"file4"},{"photo_id":"1399815237","filename":"file1"},{"photo_id":"1399815229","filename":"file0"},{"photo_id":"1399815256","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815253":["hashtag1","hashtag2"]},{"1399815256":["hashtag1","hashtag2"]},{"1399815229":["hashtag1","hashtag2"]},{"1399815261":["hashtag1","hashtag2"]},{"1399815258":["hashtag1","hashtag2"]},{"1399815237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815253, 1399815256, 1399815229, 1399815261, 1399815258, 1399815237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.234214305877686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:23:22.700977
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_35_10871.jpg', '/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_45_9422.jpg', '/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_54_9679.jpg', '/home/pi/Desktop/images/17122025/17/38/image_17122025_17_39_05_10724.jpg', '/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_14_9264.jpg', '/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_35_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_35_10871.jpg
/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_45_9422.jpg
/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_54_9679.jpg
/home/pi/Desktop/images/17122025/17/38/image_17122025_17_39_05_10724.jpg
/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_14_9264.jpg
/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_35_10700.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8629558086395264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 18:23:32.662253
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:23:42.893472
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_50_2886.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_53_2730.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_56_2815.jpg', '/home/pi/Desktop/images/07112025/20/39/image_07112025_20_40_00_3599.jpg', '/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_02_2813.jpg', '/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_05_2587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_50_2886.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_53_2730.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_39_56_2815.jpg
/home/pi/Desktop/images/07112025/20/39/image_07112025_20_40_00_3599.jpg
/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_02_2813.jpg
/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_05_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":["1399815280","1399815277","1399815276","1399815279","1399815278","1399815281"],"photo_ids_order":["1399815276","1399815277","1399815278","1399815279","1399815280","1399815281"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7104fd3e9a28b2424b14d5162dce7c49.jpg","text":"TemporaryFile(/tmp/multipartBody4670097063503512329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992283980,"filename":"image_07112025_20_40_02_2813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f60dd1bd07f7dfaa228824a961a7072f.jpg","text":"TemporaryFile(/tmp/multipartBody7093318860164241457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992283980,"filename":"image_07112025_20_39_53_2730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/910e1b70850bdd3cf7ccb918c800c835.jpg","text":"TemporaryFile(/tmp/multipartBody9184404234866788035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992283980,"filename":"image_07112025_20_39_50_2886.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34d3c4fd777a0b591274c0a2086b1675.jpg","text":"TemporaryFile(/tmp/multipartBody1904637493986849676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992283980,"filename":"image_07112025_20_40_00_3599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/caa8eafec69d633b973e9a452cd73e67.jpg","text":"TemporaryFile(/tmp/multipartBody6922346224499401290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992283980,"filename":"image_07112025_20_39_56_2815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/993b4533bf8c8d072626d2914bcb9497.jpg","text":"TemporaryFile(/tmp/multipartBody3997691435658791476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992283980,"filename":"image_07112025_20_40_05_2587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815278","file1":"1399815277","file0":"1399815276","file4":"1399815280","file5":"1399815281","file3":"1399815279"},"map_files_photo_id_array":[{"photo_id":"1399815281","filename":"file5"},{"photo_id":"1399815278","filename":"file2"},{"photo_id":"1399815280","filename":"file4"},{"photo_id":"1399815277","filename":"file1"},{"photo_id":"1399815276","filename":"file0"},{"photo_id":"1399815279","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815280":["hashtag1","hashtag2"]},{"1399815277":["hashtag1","hashtag2"]},{"1399815276":["hashtag1","hashtag2"]},{"1399815279":["hashtag1","hashtag2"]},{"1399815278":["hashtag1","hashtag2"]},{"1399815281":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815280, 1399815277, 1399815276, 1399815279, 1399815278, 1399815281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2997624874115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:24:22.190872
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_35_10871.jpg', '/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_45_9422.jpg', '/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_54_9679.jpg', '/home/pi/Desktop/images/17122025/17/38/image_17122025_17_39_05_10724.jpg', '/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_14_9264.jpg', '/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_35_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_35_10871.jpg
/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_45_9422.jpg
/home/pi/Desktop/images/17122025/17/38/image_17122025_17_38_54_9679.jpg
/home/pi/Desktop/images/17122025/17/38/image_17122025_17_39_05_10724.jpg
/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_14_9264.jpg
/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_35_10700.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815292","1399815307","1399815294","1399815288","1399815285","1399815296"],"photo_ids_order":["1399815285","1399815288","1399815292","1399815294","1399815296","1399815307"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a95fe057ec28f9664ea4057961b4bdc7.jpg","text":"TemporaryFile(/tmp/multipartBody3049810352351361830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992323487,"filename":"image_17122025_17_38_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/54980a016c4cf9c41095c9e98d3963a0.jpg","text":"TemporaryFile(/tmp/multipartBody8151745798940279520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992323487,"filename":"image_17122025_17_39_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b821ded8910cc8c081323fb7283684ee.jpg","text":"TemporaryFile(/tmp/multipartBody7786476603178757049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992323487,"filename":"image_17122025_17_39_05_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af0634eeb8780dc652d5591e1582e0a2.jpg","text":"TemporaryFile(/tmp/multipartBody6655967016844511181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992323487,"filename":"image_17122025_17_38_45_9422.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67f2c61f97346eb68a327059c67ca798.jpg","text":"TemporaryFile(/tmp/multipartBody8075811260806656216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992323487,"filename":"image_17122025_17_38_35_10871.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31d2ad4117521a7a2e7ef7180b09d79f.jpg","text":"TemporaryFile(/tmp/multipartBody7602732879902366537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992323487,"filename":"image_17122025_17_39_14_9264.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815292","file1":"1399815288","file0":"1399815285","file4":"1399815296","file5":"1399815307","file3":"1399815294"},"map_files_photo_id_array":[{"photo_id":"1399815307","filename":"file5"},{"photo_id":"1399815292","filename":"file2"},{"photo_id":"1399815296","filename":"file4"},{"photo_id":"1399815288","filename":"file1"},{"photo_id":"1399815285","filename":"file0"},{"photo_id":"1399815294","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815292":["hashtag1","hashtag2"]},{"1399815307":["hashtag1","hashtag2"]},{"1399815294":["hashtag1","hashtag2"]},{"1399815288":["hashtag1","hashtag2"]},{"1399815285":["hashtag1","hashtag2"]},{"1399815296":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815292, 1399815307, 1399815294, 1399815288, 1399815285, 1399815296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.2738561630249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:25:03.033798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_45_9779.jpg', '/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_54_9649.jpg', '/home/pi/Desktop/images/17122025/17/40/image_17122025_17_40_15_10056.jpg', '/home/pi/Desktop/images/17122025/17/40/image_17122025_17_40_25_10327.jpg', '/home/pi/Desktop/images/17122025/17/40/image_17122025_17_40_35_9699.jpg', '/home/pi/Desktop/images/17122025/17/40/image_17122025_17_40_55_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_45_9779.jpg
/home/pi/Desktop/images/17122025/17/39/image_17122025_17_39_54_9649.jpg
/home/pi/Desktop/images/17122025/17/40/image_17122025_17_40_15_10056.jpg
/home/pi/Desktop/images/17122025/17/40/image_17122025_17_40_25_10327.jpg
/home/pi/Desktop/images/17122025/17/40/image_17122025_17_40_35_9699.jpg
/home/pi/Desktop/images/17122025/17/40/image_17122025_17_40_55_9677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815323","1399815325","1399815328","1399815330","1399815324","1399815333"],"photo_ids_order":["1399815323","1399815324","1399815325","1399815328","1399815330","1399815333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c13e0c1a31aa75875cab3b3747defac.jpg","text":"TemporaryFile(/tmp/multipartBody5939860783887851824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992363924,"filename":"image_17122025_17_39_45_9779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1da02e20b62e30f9e0573768bdfce5e1.jpg","text":"TemporaryFile(/tmp/multipartBody3998598879892112333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992363924,"filename":"image_17122025_17_40_15_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a51e7de21909e39aac8498da7b40c85.jpg","text":"TemporaryFile(/tmp/multipartBody5729326595399831747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992363924,"filename":"image_17122025_17_40_25_10327.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94e66c1b1d18d1b77163494f7f4cdbe9.jpg","text":"TemporaryFile(/tmp/multipartBody8152753528505834309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992363924,"filename":"image_17122025_17_40_35_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2b6d444961aa280d0103f90793c33ed.jpg","text":"TemporaryFile(/tmp/multipartBody5813957300692419164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992363924,"filename":"image_17122025_17_39_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8cc7cfac8899f84677dd80c6e18d5488.jpg","text":"TemporaryFile(/tmp/multipartBody1121736859402231826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992363924,"filename":"image_17122025_17_40_55_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815325","file1":"1399815324","file0":"1399815323","file4":"1399815330","file5":"1399815333","file3":"1399815328"},"map_files_photo_id_array":[{"photo_id":"1399815333","filename":"file5"},{"photo_id":"1399815325","filename":"file2"},{"photo_id":"1399815330","filename":"file4"},{"photo_id":"1399815324","filename":"file1"},{"photo_id":"1399815323","filename":"file0"},{"photo_id":"1399815328","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815323":["hashtag1","hashtag2"]},{"1399815325":["hashtag1","hashtag2"]},{"1399815328":["hashtag1","hashtag2"]},{"1399815330":["hashtag1","hashtag2"]},{"1399815324":["hashtag1","hashtag2"]},{"1399815333":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815323, 1399815325, 1399815328, 1399815330, 1399815324, 1399815333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.89509725570679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:25:42.463960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_13_7497.jpg', '/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_16_1699.jpg', '/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_26_10202.jpg', '/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_45_1634.jpg', '/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_47_1583.jpg', '/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_49_1860.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_13_7497.jpg
/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_16_1699.jpg
/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_26_10202.jpg
/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_45_1634.jpg
/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_47_1583.jpg
/home/pi/Desktop/images/07112025/20/40/image_07112025_20_40_49_1860.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815341","1399815344","1399815343","1399815340","1399815342","1399815345"],"photo_ids_order":["1399815340","1399815341","1399815342","1399815343","1399815344","1399815345"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c3927b27465d15022f290b599b70604.jpg","text":"TemporaryFile(/tmp/multipartBody3799225894741990748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992403500,"filename":"image_07112025_20_40_16_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ba8901ca7586809fd0a053df994b8bd.jpg","text":"TemporaryFile(/tmp/multipartBody1687611158737619946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992403500,"filename":"image_07112025_20_40_47_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0c7038432c66fbef176e4f3df1c0585.jpg","text":"TemporaryFile(/tmp/multipartBody5851182694853400265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992403500,"filename":"image_07112025_20_40_45_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11944cbb07b91b07117e8aaf8dafd491.jpg","text":"TemporaryFile(/tmp/multipartBody8404870298754508309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992403500,"filename":"image_07112025_20_40_13_7497.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/583ee6f4195ac858f3c8ea936f1b6fa2.jpg","text":"TemporaryFile(/tmp/multipartBody8216636070109494381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992403500,"filename":"image_07112025_20_40_26_10202.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42ac202688f2b9210a7cb047f238e841.jpg","text":"TemporaryFile(/tmp/multipartBody6960175846857044075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992403500,"filename":"image_07112025_20_40_49_1860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815342","file1":"1399815341","file0":"1399815340","file4":"1399815344","file5":"1399815345","file3":"1399815343"},"map_files_photo_id_array":[{"photo_id":"1399815345","filename":"file5"},{"photo_id":"1399815342","filename":"file2"},{"photo_id":"1399815344","filename":"file4"},{"photo_id":"1399815341","filename":"file1"},{"photo_id":"1399815340","filename":"file0"},{"photo_id":"1399815343","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815341":["hashtag1","hashtag2"]},{"1399815344":["hashtag1","hashtag2"]},{"1399815343":["hashtag1","hashtag2"]},{"1399815340":["hashtag1","hashtag2"]},{"1399815342":["hashtag1","hashtag2"]},{"1399815345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815341, 1399815344, 1399815343, 1399815340, 1399815342, 1399815345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40761423110962 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:26:22.736129
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/40/image_17122025_17_41_05_10353.jpg', '/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_15_9834.jpg', '/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_25_9728.jpg', '/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_35_9734.jpg', '/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_45_10770.jpg', '/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_55_9937.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/40/image_17122025_17_41_05_10353.jpg
/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_15_9834.jpg
/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_25_9728.jpg
/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_35_9734.jpg
/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_45_10770.jpg
/home/pi/Desktop/images/17122025/17/41/image_17122025_17_41_55_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":["1399815355","1399815372","1399815357","1399815366","1399815351","1399815353"],"photo_ids_order":["1399815351","1399815353","1399815355","1399815357","1399815366","1399815372"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/353fb49e224c4f0311ca5fcda60f3cdb.jpg","text":"TemporaryFile(/tmp/multipartBody5195488131891081920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992443864,"filename":"image_17122025_17_41_25_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5d16110325d41f2f8f6418134e4618f.jpg","text":"TemporaryFile(/tmp/multipartBody4300689328376365263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992443864,"filename":"image_17122025_17_41_55_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94d33d23d8dc59690a5c4048d484b828.jpg","text":"TemporaryFile(/tmp/multipartBody1765585493791938265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992443864,"filename":"image_17122025_17_41_35_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d13ab9aab166218f31c86bb98c1c9492.jpg","text":"TemporaryFile(/tmp/multipartBody6294747459176492384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992443864,"filename":"image_17122025_17_41_45_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a772ae1e26eb8a1ad4b00b692c47d1d.jpg","text":"TemporaryFile(/tmp/multipartBody2661020243487257885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992443864,"filename":"image_17122025_17_41_05_10353.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67422db83064459f8427b47c78eff80b.jpg","text":"TemporaryFile(/tmp/multipartBody8844864991912165193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992443864,"filename":"image_17122025_17_41_15_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815355","file1":"1399815353","file0":"1399815351","file4":"1399815366","file5":"1399815372","file3":"1399815357"},"map_files_photo_id_array":[{"photo_id":"1399815372","filename":"file5"},{"photo_id":"1399815355","filename":"file2"},{"photo_id":"1399815366","filename":"file4"},{"photo_id":"1399815353","filename":"file1"},{"photo_id":"1399815351","filename":"file0"},{"photo_id":"1399815357","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815355":["hashtag1","hashtag2"]},{"1399815372":["hashtag1","hashtag2"]},{"1399815357":["hashtag1","hashtag2"]},{"1399815366":["hashtag1","hashtag2"]},{"1399815351":["hashtag1","hashtag2"]},{"1399815353":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815355, 1399815372, 1399815357, 1399815366, 1399815351, 1399815353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0415198802948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:27:02.535451
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/41/image_17122025_17_42_05_9616.jpg', '/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_15_10135.jpg', '/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_25_9928.jpg', '/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_35_10114.jpg', '/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_45_9759.jpg', '/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_55_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/41/image_17122025_17_42_05_9616.jpg
/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_15_10135.jpg
/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_25_9928.jpg
/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_35_10114.jpg
/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_45_9759.jpg
/home/pi/Desktop/images/17122025/17/42/image_17122025_17_42_55_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":["1399815382","1399815400","1399815375","1399815378","1399815392","1399815374"],"photo_ids_order":["1399815374","1399815375","1399815378","1399815382","1399815392","1399815400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/326687b168947dd6b55418293dd2fc25.jpg","text":"TemporaryFile(/tmp/multipartBody9129826053807839668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992483427,"filename":"image_17122025_17_42_35_10114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b690916bc60e87a1e58ba9b679cb07a8.jpg","text":"TemporaryFile(/tmp/multipartBody6349440031299796209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992483427,"filename":"image_17122025_17_42_55_9815.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4a4cba31651ed94f0ff450c9a2b4517.jpg","text":"TemporaryFile(/tmp/multipartBody1054372016874927548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992483427,"filename":"image_17122025_17_42_15_10135.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4daee5e5f294ad93c975c5ad63890bd1.jpg","text":"TemporaryFile(/tmp/multipartBody6154405005198645189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992483427,"filename":"image_17122025_17_42_25_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/847cc52fa29f91cc58807c7c3040860a.jpg","text":"TemporaryFile(/tmp/multipartBody2361876817430471443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992483427,"filename":"image_17122025_17_42_45_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1314fff850fd9e81e99fc39e0893144e.jpg","text":"TemporaryFile(/tmp/multipartBody9024685937830651827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992483427,"filename":"image_17122025_17_42_05_9616.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815378","file1":"1399815375","file0":"1399815374","file4":"1399815392","file5":"1399815400","file3":"1399815382"},"map_files_photo_id_array":[{"photo_id":"1399815400","filename":"file5"},{"photo_id":"1399815378","filename":"file2"},{"photo_id":"1399815392","filename":"file4"},{"photo_id":"1399815375","filename":"file1"},{"photo_id":"1399815374","filename":"file0"},{"photo_id":"1399815382","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815382":["hashtag1","hashtag2"]},{"1399815400":["hashtag1","hashtag2"]},{"1399815375":["hashtag1","hashtag2"]},{"1399815378":["hashtag1","hashtag2"]},{"1399815392":["hashtag1","hashtag2"]},{"1399815374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815382, 1399815400, 1399815375, 1399815378, 1399815392, 1399815374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67913341522217 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:27:41.967925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_06_1672.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_08_1568.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_09_1706.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_13_1583.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_14_1724.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_16_1696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_06_1672.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_08_1568.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_09_1706.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_13_1583.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_14_1724.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_16_1696.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815404","1399815407","1399815406","1399815403","1399815405","1399815408"],"photo_ids_order":["1399815403","1399815404","1399815405","1399815406","1399815407","1399815408"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c55c9ec95b4a319ff729f1bf7a007ec5.jpg","text":"TemporaryFile(/tmp/multipartBody1551006136942513079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992522983,"filename":"image_07112025_20_41_08_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/274c2a17e53f1f5ec8d3551afd6b42cb.jpg","text":"TemporaryFile(/tmp/multipartBody6973881366078252208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992522983,"filename":"image_07112025_20_41_14_1724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13551d9fdf00bea9778757c0c27113c2.jpg","text":"TemporaryFile(/tmp/multipartBody1036024332124134178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992522983,"filename":"image_07112025_20_41_13_1583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b05ea91b1af6cbd48c4d1612b2967893.jpg","text":"TemporaryFile(/tmp/multipartBody4831691863551173025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992522983,"filename":"image_07112025_20_41_06_1672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cab5894de0564204ff8150a5818145aa.jpg","text":"TemporaryFile(/tmp/multipartBody8142812475102724428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992522983,"filename":"image_07112025_20_41_09_1706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4576ef465dde8522d0ec24cd6e2402b4.jpg","text":"TemporaryFile(/tmp/multipartBody2543742348290663588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992522983,"filename":"image_07112025_20_41_16_1696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815405","file1":"1399815404","file0":"1399815403","file4":"1399815407","file5":"1399815408","file3":"1399815406"},"map_files_photo_id_array":[{"photo_id":"1399815408","filename":"file5"},{"photo_id":"1399815405","filename":"file2"},{"photo_id":"1399815407","filename":"file4"},{"photo_id":"1399815404","filename":"file1"},{"photo_id":"1399815403","filename":"file0"},{"photo_id":"1399815406","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815404":["hashtag1","hashtag2"]},{"1399815407":["hashtag1","hashtag2"]},{"1399815406":["hashtag1","hashtag2"]},{"1399815403":["hashtag1","hashtag2"]},{"1399815405":["hashtag1","hashtag2"]},{"1399815408":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815404, 1399815407, 1399815406, 1399815403, 1399815405, 1399815408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67947745323181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:28:22.274683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/42/image_17122025_17_43_06_10724.jpg', '/home/pi/Desktop/images/17122025/17/43/image_17122025_17_43_16_10055.jpg', '/home/pi/Desktop/images/17122025/17/43/image_17122025_17_43_35_9641.jpg', '/home/pi/Desktop/images/17122025/17/43/image_17122025_17_43_46_10680.jpg', '/home/pi/Desktop/images/17122025/17/43/image_17122025_17_43_55_9495.jpg', '/home/pi/Desktop/images/17122025/17/43/image_17122025_17_44_05_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/42/image_17122025_17_43_06_10724.jpg
/home/pi/Desktop/images/17122025/17/43/image_17122025_17_43_16_10055.jpg
/home/pi/Desktop/images/17122025/17/43/image_17122025_17_43_35_9641.jpg
/home/pi/Desktop/images/17122025/17/43/image_17122025_17_43_46_10680.jpg
/home/pi/Desktop/images/17122025/17/43/image_17122025_17_43_55_9495.jpg
/home/pi/Desktop/images/17122025/17/43/image_17122025_17_44_05_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":["1399815413","1399815422","1399815425","1399815427","1399815421","1399815417"],"photo_ids_order":["1399815413","1399815417","1399815421","1399815422","1399815425","1399815427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c53dcc500bfc22a30260142ffe63aec.jpg","text":"TemporaryFile(/tmp/multipartBody6928992742739418341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992563236,"filename":"image_17122025_17_43_06_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6994896fa4be16d247751c5243a4352e.jpg","text":"TemporaryFile(/tmp/multipartBody1450558777632544090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992563236,"filename":"image_17122025_17_43_46_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e231ab216df350249839c9effd0aafe4.jpg","text":"TemporaryFile(/tmp/multipartBody1967160914962962329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992563236,"filename":"image_17122025_17_43_55_9495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45b3f8e90585c02511052001cafb314a.jpg","text":"TemporaryFile(/tmp/multipartBody2741424723910049888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992563236,"filename":"image_17122025_17_44_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db53f7b6e9d528984c77aa638c784ed2.jpg","text":"TemporaryFile(/tmp/multipartBody4423531189635553422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992563236,"filename":"image_17122025_17_43_35_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6699f7870505c495a8739c253e0497e5.jpg","text":"TemporaryFile(/tmp/multipartBody8720638515210189365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992563236,"filename":"image_17122025_17_43_16_10055.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815421","file1":"1399815417","file0":"1399815413","file4":"1399815425","file5":"1399815427","file3":"1399815422"},"map_files_photo_id_array":[{"photo_id":"1399815427","filename":"file5"},{"photo_id":"1399815421","filename":"file2"},{"photo_id":"1399815425","filename":"file4"},{"photo_id":"1399815417","filename":"file1"},{"photo_id":"1399815413","filename":"file0"},{"photo_id":"1399815422","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815413":["hashtag1","hashtag2"]},{"1399815422":["hashtag1","hashtag2"]},{"1399815425":["hashtag1","hashtag2"]},{"1399815427":["hashtag1","hashtag2"]},{"1399815421":["hashtag1","hashtag2"]},{"1399815417":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815413, 1399815422, 1399815425, 1399815427, 1399815421, 1399815417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67644953727722 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:29:03.152891
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/44/image_17122025_17_44_16_10804.jpg', '/home/pi/Desktop/images/17122025/17/44/image_17122025_17_44_25_9665.jpg', '/home/pi/Desktop/images/17122025/17/44/image_17122025_17_44_50_14715.jpg', '/home/pi/Desktop/images/17122025/17/44/image_17122025_17_44_56_5800.jpg', '/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_14_10036.jpg', '/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_24_10335.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/44/image_17122025_17_44_16_10804.jpg
/home/pi/Desktop/images/17122025/17/44/image_17122025_17_44_25_9665.jpg
/home/pi/Desktop/images/17122025/17/44/image_17122025_17_44_50_14715.jpg
/home/pi/Desktop/images/17122025/17/44/image_17122025_17_44_56_5800.jpg
/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_14_10036.jpg
/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_24_10335.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815443","1399815437","1399815442","1399815445","1399815439","1399815435"],"photo_ids_order":["1399815435","1399815437","1399815439","1399815442","1399815443","1399815445"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/199c143cc356cc79077fbbabdc64e3de.jpg","text":"TemporaryFile(/tmp/multipartBody2672338378035629512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992604074,"filename":"image_17122025_17_46_14_10036.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69fe1ea4086df29490d75a702b1e305f.jpg","text":"TemporaryFile(/tmp/multipartBody4359364821036693672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992604074,"filename":"image_17122025_17_44_25_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d74166241c1201c3d730b25277b626c.jpg","text":"TemporaryFile(/tmp/multipartBody2686896356342446250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992604074,"filename":"image_17122025_17_44_56_5800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85c5519e177a61fd3d2677ea275bf51a.jpg","text":"TemporaryFile(/tmp/multipartBody5859216181060439528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992604074,"filename":"image_17122025_17_46_24_10335.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f76bdd25a4655b80901e4b846c8f23b6.jpg","text":"TemporaryFile(/tmp/multipartBody7235618352027380534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992604074,"filename":"image_17122025_17_44_50_14715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bdeada553298217076ecd374e1c173b.jpg","text":"TemporaryFile(/tmp/multipartBody7348175694272035666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992604074,"filename":"image_17122025_17_44_16_10804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815439","file1":"1399815437","file0":"1399815435","file4":"1399815443","file5":"1399815445","file3":"1399815442"},"map_files_photo_id_array":[{"photo_id":"1399815445","filename":"file5"},{"photo_id":"1399815439","filename":"file2"},{"photo_id":"1399815443","filename":"file4"},{"photo_id":"1399815437","filename":"file1"},{"photo_id":"1399815435","filename":"file0"},{"photo_id":"1399815442","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815443":["hashtag1","hashtag2"]},{"1399815437":["hashtag1","hashtag2"]},{"1399815442":["hashtag1","hashtag2"]},{"1399815445":["hashtag1","hashtag2"]},{"1399815439":["hashtag1","hashtag2"]},{"1399815435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815443, 1399815437, 1399815442, 1399815445, 1399815439, 1399815435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46254897117615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:29:42.381988
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_18_1621.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_19_1637.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_21_1709.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_23_1641.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_28_5255.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_29_1555.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_18_1621.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_19_1637.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_21_1709.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_23_1641.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_28_5255.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_29_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":["1399815461","1399815463","1399815451","1399815465","1399815462","1399815464"],"photo_ids_order":["1399815451","1399815461","1399815462","1399815463","1399815464","1399815465"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/267e42bc5c2fd8f9c158dd2794949799.jpg","text":"TemporaryFile(/tmp/multipartBody3489385176106611196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992643624,"filename":"image_07112025_20_41_19_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a6d72141d075731c99dd9d1077daa8f.jpg","text":"TemporaryFile(/tmp/multipartBody6873564149254641222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992643624,"filename":"image_07112025_20_41_23_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e6af44d1637cb97b6d2d3139dddc9f5.jpg","text":"TemporaryFile(/tmp/multipartBody5245840265591391986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992643624,"filename":"image_07112025_20_41_18_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/089814b705d62236470edd4f25d2f129.jpg","text":"TemporaryFile(/tmp/multipartBody8998652669766368875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992643624,"filename":"image_07112025_20_41_29_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bcc7c5b8cba398fd9eb783a06d62763.jpg","text":"TemporaryFile(/tmp/multipartBody8870950212904420408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992643624,"filename":"image_07112025_20_41_21_1709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34481c4b1c6a8ca1a335c49aa91bf13e.jpg","text":"TemporaryFile(/tmp/multipartBody4066993740772861350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992643624,"filename":"image_07112025_20_41_28_5255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815462","file1":"1399815461","file0":"1399815451","file4":"1399815464","file5":"1399815465","file3":"1399815463"},"map_files_photo_id_array":[{"photo_id":"1399815465","filename":"file5"},{"photo_id":"1399815462","filename":"file2"},{"photo_id":"1399815464","filename":"file4"},{"photo_id":"1399815461","filename":"file1"},{"photo_id":"1399815451","filename":"file0"},{"photo_id":"1399815463","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815461":["hashtag1","hashtag2"]},{"1399815463":["hashtag1","hashtag2"]},{"1399815451":["hashtag1","hashtag2"]},{"1399815465":["hashtag1","hashtag2"]},{"1399815462":["hashtag1","hashtag2"]},{"1399815464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815461, 1399815463, 1399815451, 1399815465, 1399815462, 1399815464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.56955027580261 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:30:22.665148
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_48_23143.jpg', '/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_50_2929.jpg', '/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_54_3948.jpg', '/home/pi/Desktop/images/17122025/17/46/image_17122025_17_47_04_9773.jpg', '/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_15_10809.jpg', '/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_25_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_48_23143.jpg
/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_50_2929.jpg
/home/pi/Desktop/images/17122025/17/46/image_17122025_17_46_54_3948.jpg
/home/pi/Desktop/images/17122025/17/46/image_17122025_17_47_04_9773.jpg
/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_15_10809.jpg
/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_25_9634.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815475","1399815469","1399815478","1399815471","1399815473","1399815467"],"photo_ids_order":["1399815467","1399815469","1399815471","1399815473","1399815475","1399815478"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bdd58f32d5bc24bc4ea50f0b13aab29.jpg","text":"TemporaryFile(/tmp/multipartBody8583095314061879338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992683552,"filename":"image_17122025_17_47_15_10809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c576996729e6f5e1d77d2c609a6b17c.jpg","text":"TemporaryFile(/tmp/multipartBody6244283368786463689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992683552,"filename":"image_17122025_17_46_50_2929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b51979d92de748891d531a13e6d0f55c.jpg","text":"TemporaryFile(/tmp/multipartBody2759842065462943152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992683552,"filename":"image_17122025_17_47_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e429ed4889b6ba9ce42d32266972a89.jpg","text":"TemporaryFile(/tmp/multipartBody2661884812593698047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992683552,"filename":"image_17122025_17_46_54_3948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eccbb37ac78ce7eef37b4bc2eef5beaf.jpg","text":"TemporaryFile(/tmp/multipartBody4539190855774705094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992683552,"filename":"image_17122025_17_47_04_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2172d1963e5cc461741b85c9fa9fff41.jpg","text":"TemporaryFile(/tmp/multipartBody9032378748412336534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992683552,"filename":"image_17122025_17_46_48_23143.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815471","file1":"1399815469","file0":"1399815467","file4":"1399815475","file5":"1399815478","file3":"1399815473"},"map_files_photo_id_array":[{"photo_id":"1399815478","filename":"file5"},{"photo_id":"1399815471","filename":"file2"},{"photo_id":"1399815475","filename":"file4"},{"photo_id":"1399815469","filename":"file1"},{"photo_id":"1399815467","filename":"file0"},{"photo_id":"1399815473","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815475":["hashtag1","hashtag2"]},{"1399815469":["hashtag1","hashtag2"]},{"1399815478":["hashtag1","hashtag2"]},{"1399815471":["hashtag1","hashtag2"]},{"1399815473":["hashtag1","hashtag2"]},{"1399815467":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815475, 1399815469, 1399815478, 1399815471, 1399815473, 1399815467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.106953144073486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:31:02.539604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_34_9846.jpg', '/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_45_10096.jpg', '/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_54_9754.jpg', '/home/pi/Desktop/images/17122025/17/47/image_17122025_17_48_05_10659.jpg', '/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_15_9650.jpg', '/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_24_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_34_9846.jpg
/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_45_10096.jpg
/home/pi/Desktop/images/17122025/17/47/image_17122025_17_47_54_9754.jpg
/home/pi/Desktop/images/17122025/17/47/image_17122025_17_48_05_10659.jpg
/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_15_9650.jpg
/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_24_9741.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815500","1399815503","1399815505","1399815483","1399815507","1399815491"],"photo_ids_order":["1399815483","1399815491","1399815500","1399815503","1399815505","1399815507"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/880485030fae5239e262cd27985e5370.jpg","text":"TemporaryFile(/tmp/multipartBody6917837521369367941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992723721,"filename":"image_17122025_17_47_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3d6a535270b665014940faa2d49c7ef.jpg","text":"TemporaryFile(/tmp/multipartBody2641361377826276276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992723721,"filename":"image_17122025_17_48_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a7339945b0d128b029a013f84f911f0.jpg","text":"TemporaryFile(/tmp/multipartBody1452440501001522237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992723721,"filename":"image_17122025_17_48_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c50d98a31cab17605eded0c4addc911d.jpg","text":"TemporaryFile(/tmp/multipartBody5151779985050143583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992723721,"filename":"image_17122025_17_47_34_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc41c59b04c00e2a1f727d424ea83353.jpg","text":"TemporaryFile(/tmp/multipartBody6027167802087003759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992723721,"filename":"image_17122025_17_48_24_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96dc1413f518490730b1bd29ce3f07fe.jpg","text":"TemporaryFile(/tmp/multipartBody8087961888547997983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992723721,"filename":"image_17122025_17_47_45_10096.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815500","file1":"1399815491","file0":"1399815483","file4":"1399815505","file5":"1399815507","file3":"1399815503"},"map_files_photo_id_array":[{"photo_id":"1399815507","filename":"file5"},{"photo_id":"1399815500","filename":"file2"},{"photo_id":"1399815505","filename":"file4"},{"photo_id":"1399815491","filename":"file1"},{"photo_id":"1399815483","filename":"file0"},{"photo_id":"1399815503","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815500":["hashtag1","hashtag2"]},{"1399815503":["hashtag1","hashtag2"]},{"1399815505":["hashtag1","hashtag2"]},{"1399815483":["hashtag1","hashtag2"]},{"1399815507":["hashtag1","hashtag2"]},{"1399815491":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815500, 1399815503, 1399815505, 1399815483, 1399815507, 1399815491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95986247062683 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:31:41.771141
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_33_1608.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_34_1694.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_36_1723.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_44_1619.jpg', '/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_47_1594.jpg', '/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_07_3011.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_33_1608.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_34_1694.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_36_1723.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_44_1619.jpg
/home/pi/Desktop/images/07112025/20/41/image_07112025_20_41_47_1594.jpg
/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_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":["1399815515","1399815511","1399815517","1399815516","1399815519","1399815513"],"photo_ids_order":["1399815511","1399815513","1399815515","1399815516","1399815517","1399815519"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99c2221049633bdccc57aa224219ee6c.jpg","text":"TemporaryFile(/tmp/multipartBody6178175666516399142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992762785,"filename":"image_07112025_20_41_36_1723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/439790f11754e2a7e4f2998bf0918f54.jpg","text":"TemporaryFile(/tmp/multipartBody9139148453515239756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992762785,"filename":"image_07112025_20_41_33_1608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/190532df0306139288d1175ac8f16520.jpg","text":"TemporaryFile(/tmp/multipartBody4713949300625742574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992762785,"filename":"image_07112025_20_41_47_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c3ced69700f2581e10fedcbe35d4a67.jpg","text":"TemporaryFile(/tmp/multipartBody3424186269907100395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992762785,"filename":"image_07112025_20_41_44_1619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72e24509480c5e1a2039f02d086c2f3b.jpg","text":"TemporaryFile(/tmp/multipartBody4495649931668212024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992762785,"filename":"image_07112025_20_43_07_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e015107063ccee9d183432848c8563b.jpg","text":"TemporaryFile(/tmp/multipartBody1647633018742873896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992762785,"filename":"image_07112025_20_41_34_1694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815515","file1":"1399815513","file0":"1399815511","file4":"1399815517","file5":"1399815519","file3":"1399815516"},"map_files_photo_id_array":[{"photo_id":"1399815519","filename":"file5"},{"photo_id":"1399815515","filename":"file2"},{"photo_id":"1399815517","filename":"file4"},{"photo_id":"1399815513","filename":"file1"},{"photo_id":"1399815511","filename":"file0"},{"photo_id":"1399815516","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815515":["hashtag1","hashtag2"]},{"1399815511":["hashtag1","hashtag2"]},{"1399815517":["hashtag1","hashtag2"]},{"1399815516":["hashtag1","hashtag2"]},{"1399815519":["hashtag1","hashtag2"]},{"1399815513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815515, 1399815511, 1399815517, 1399815516, 1399815519, 1399815513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.425779581069946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 18:32:32.034604
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:32:41.941552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_13_2547.jpg', '/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_16_2821.jpg', '/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_33_17590.jpg', '/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_35_1650.jpg', '/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_36_1689.jpg', '/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_38_1628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_13_2547.jpg
/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_16_2821.jpg
/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_33_17590.jpg
/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_35_1650.jpg
/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_36_1689.jpg
/home/pi/Desktop/images/07112025/20/43/image_07112025_20_43_38_1628.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815536","1399815538","1399815526","1399815535","1399815537","1399815539"],"photo_ids_order":["1399815526","1399815535","1399815536","1399815537","1399815538","1399815539"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f3c183127ffdd7077cc0ba32830ff22.jpg","text":"TemporaryFile(/tmp/multipartBody3799733512568407629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992823098,"filename":"image_07112025_20_43_33_17590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d939b8332a1b7cd3fac63bb03ac96cb.jpg","text":"TemporaryFile(/tmp/multipartBody4198807606639094523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992823098,"filename":"image_07112025_20_43_36_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa3cfa6a97f25fc452e86c9605fb875a.jpg","text":"TemporaryFile(/tmp/multipartBody9017594927656795538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992823098,"filename":"image_07112025_20_43_13_2547.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b20dcbc792f87a9f64edb3cffec94c92.jpg","text":"TemporaryFile(/tmp/multipartBody1966016171754733758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992823098,"filename":"image_07112025_20_43_16_2821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0800c628bb0d4738ff86d347a0dc884.jpg","text":"TemporaryFile(/tmp/multipartBody8672652836005360687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992823098,"filename":"image_07112025_20_43_35_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95b800bfe16c58efe4e4e981c23863bc.jpg","text":"TemporaryFile(/tmp/multipartBody7232933663178587249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992823098,"filename":"image_07112025_20_43_38_1628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815536","file1":"1399815535","file0":"1399815526","file4":"1399815538","file5":"1399815539","file3":"1399815537"},"map_files_photo_id_array":[{"photo_id":"1399815539","filename":"file5"},{"photo_id":"1399815536","filename":"file2"},{"photo_id":"1399815538","filename":"file4"},{"photo_id":"1399815535","filename":"file1"},{"photo_id":"1399815526","filename":"file0"},{"photo_id":"1399815537","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815536":["hashtag1","hashtag2"]},{"1399815538":["hashtag1","hashtag2"]},{"1399815526":["hashtag1","hashtag2"]},{"1399815535":["hashtag1","hashtag2"]},{"1399815537":["hashtag1","hashtag2"]},{"1399815539":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815536, 1399815538, 1399815526, 1399815535, 1399815537, 1399815539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.742997884750366 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:33:22.249612
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_34_9817.jpg', '/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_45_10763.jpg', '/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_54_9333.jpg', '/home/pi/Desktop/images/17122025/17/48/image_17122025_17_49_04_10004.jpg', '/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_15_10580.jpg', '/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_24_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_34_9817.jpg
/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_45_10763.jpg
/home/pi/Desktop/images/17122025/17/48/image_17122025_17_48_54_9333.jpg
/home/pi/Desktop/images/17122025/17/48/image_17122025_17_49_04_10004.jpg
/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_15_10580.jpg
/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_24_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815542","1399815544","1399815546","1399815549","1399815540","1399815551"],"photo_ids_order":["1399815540","1399815542","1399815544","1399815546","1399815549","1399815551"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f29a60f6585c14c2983fcd78c5641eb7.jpg","text":"TemporaryFile(/tmp/multipartBody7344397416882139477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992863373,"filename":"image_17122025_17_48_45_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/335b8d68bef87702d1da4ba60c535173.jpg","text":"TemporaryFile(/tmp/multipartBody1070364118911634391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992863373,"filename":"image_17122025_17_48_54_9333.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84f950e50cdbdbc287bfcb09b899c7d3.jpg","text":"TemporaryFile(/tmp/multipartBody6741897079475954339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992863373,"filename":"image_17122025_17_49_04_10004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fda506380c20b6fff831c2af3a7f569.jpg","text":"TemporaryFile(/tmp/multipartBody4066739267157323889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992863373,"filename":"image_17122025_17_49_15_10580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a75f4a04ac8e281f217869cd4513bd79.jpg","text":"TemporaryFile(/tmp/multipartBody2358237513714444723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992863373,"filename":"image_17122025_17_48_34_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdfe8f5fb72d845c7923f8f876d7160a.jpg","text":"TemporaryFile(/tmp/multipartBody4221250355479314433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992863373,"filename":"image_17122025_17_49_24_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815544","file1":"1399815542","file0":"1399815540","file4":"1399815549","file5":"1399815551","file3":"1399815546"},"map_files_photo_id_array":[{"photo_id":"1399815551","filename":"file5"},{"photo_id":"1399815544","filename":"file2"},{"photo_id":"1399815549","filename":"file4"},{"photo_id":"1399815542","filename":"file1"},{"photo_id":"1399815540","filename":"file0"},{"photo_id":"1399815546","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815542":["hashtag1","hashtag2"]},{"1399815544":["hashtag1","hashtag2"]},{"1399815546":["hashtag1","hashtag2"]},{"1399815549":["hashtag1","hashtag2"]},{"1399815540":["hashtag1","hashtag2"]},{"1399815551":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815542, 1399815544, 1399815546, 1399815549, 1399815540, 1399815551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.001386880874634 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:34:03.210947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_35_10515.jpg', '/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_45_9799.jpg', '/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_55_9800.jpg', '/home/pi/Desktop/images/17122025/17/51/image_17122025_17_51_24_10004.jpg', '/home/pi/Desktop/images/17122025/17/51/image_17122025_17_51_35_10844.jpg', '/home/pi/Desktop/images/17122025/17/51/image_17122025_17_51_54_10225.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_35_10515.jpg
/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_45_9799.jpg
/home/pi/Desktop/images/17122025/17/49/image_17122025_17_49_55_9800.jpg
/home/pi/Desktop/images/17122025/17/51/image_17122025_17_51_24_10004.jpg
/home/pi/Desktop/images/17122025/17/51/image_17122025_17_51_35_10844.jpg
/home/pi/Desktop/images/17122025/17/51/image_17122025_17_51_54_10225.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815554","1399815556","1399815553","1399815552","1399815555","1399815558"],"photo_ids_order":["1399815552","1399815553","1399815554","1399815555","1399815556","1399815558"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3564dd138f3eb4facc526ec04a5b738d.jpg","text":"TemporaryFile(/tmp/multipartBody4469039972767350930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992904135,"filename":"image_17122025_17_49_55_9800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d653b9a1e47dd7866c3c14dd40ddf847.jpg","text":"TemporaryFile(/tmp/multipartBody5503663900141456740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992904135,"filename":"image_17122025_17_51_35_10844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/662bfd8b64c4b01e25af0c35de59a13e.jpg","text":"TemporaryFile(/tmp/multipartBody1510743662046576542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992904135,"filename":"image_17122025_17_49_45_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c8c730f3990a78515fbcf3602215b7a.jpg","text":"TemporaryFile(/tmp/multipartBody309163370033836875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992904135,"filename":"image_17122025_17_49_35_10515.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95c981165acbc3acaecd93ec0c1e5402.jpg","text":"TemporaryFile(/tmp/multipartBody6657256877338816229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992904135,"filename":"image_17122025_17_51_24_10004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6322c31bcbd6b9508b63c7f0535ea666.jpg","text":"TemporaryFile(/tmp/multipartBody1922085772553452302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992904135,"filename":"image_17122025_17_51_54_10225.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815554","file1":"1399815553","file0":"1399815552","file4":"1399815556","file5":"1399815558","file3":"1399815555"},"map_files_photo_id_array":[{"photo_id":"1399815558","filename":"file5"},{"photo_id":"1399815554","filename":"file2"},{"photo_id":"1399815556","filename":"file4"},{"photo_id":"1399815553","filename":"file1"},{"photo_id":"1399815552","filename":"file0"},{"photo_id":"1399815555","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815554":["hashtag1","hashtag2"]},{"1399815556":["hashtag1","hashtag2"]},{"1399815553":["hashtag1","hashtag2"]},{"1399815552":["hashtag1","hashtag2"]},{"1399815555":["hashtag1","hashtag2"]},{"1399815558":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815554, 1399815556, 1399815553, 1399815552, 1399815555, 1399815558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14992713928223 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:34:42.450423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_07_3010.jpg', '/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_11_3654.jpg', '/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_14_2716.jpg', '/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_44_2923.jpg', '/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_46_1665.jpg', '/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_48_1612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_07_3010.jpg
/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_11_3654.jpg
/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_14_2716.jpg
/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_44_2923.jpg
/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_46_1665.jpg
/home/pi/Desktop/images/07112025/20/45/image_07112025_20_45_48_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":["1399815586","1399815577","1399815579","1399815573","1399815576","1399815575"],"photo_ids_order":["1399815573","1399815575","1399815576","1399815577","1399815579","1399815586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91553dcaf3fc5525482ae11e97e6f8c9.jpg","text":"TemporaryFile(/tmp/multipartBody7447870167348252400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992943464,"filename":"image_07112025_20_45_48_1612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eab2294120fd3731515c8d04fecca0e4.jpg","text":"TemporaryFile(/tmp/multipartBody3859801637971215334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992943464,"filename":"image_07112025_20_45_44_2923.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/507099e17ff2af8681193e3e5f0e728d.jpg","text":"TemporaryFile(/tmp/multipartBody3327032781995561861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992943464,"filename":"image_07112025_20_45_46_1665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1dbbd720520b237074f7cb28e372b10.jpg","text":"TemporaryFile(/tmp/multipartBody4032114657863641506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992943464,"filename":"image_07112025_20_45_07_3010.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc6104667b6f872cb85c3ae9db35aa3e.jpg","text":"TemporaryFile(/tmp/multipartBody1972613751352296115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992943464,"filename":"image_07112025_20_45_14_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/264dff7cdfa4634e1bc1cd85af28bf44.jpg","text":"TemporaryFile(/tmp/multipartBody4091801897035767547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765992943464,"filename":"image_07112025_20_45_11_3654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815576","file1":"1399815575","file0":"1399815573","file4":"1399815579","file5":"1399815586","file3":"1399815577"},"map_files_photo_id_array":[{"photo_id":"1399815586","filename":"file5"},{"photo_id":"1399815576","filename":"file2"},{"photo_id":"1399815579","filename":"file4"},{"photo_id":"1399815575","filename":"file1"},{"photo_id":"1399815573","filename":"file0"},{"photo_id":"1399815577","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815586":["hashtag1","hashtag2"]},{"1399815577":["hashtag1","hashtag2"]},{"1399815579":["hashtag1","hashtag2"]},{"1399815573":["hashtag1","hashtag2"]},{"1399815576":["hashtag1","hashtag2"]},{"1399815575":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815586, 1399815577, 1399815579, 1399815573, 1399815576, 1399815575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.906450510025024 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:35:22.796971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/51/image_17122025_17_52_04_9752.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_15_10334.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_24_9819.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_34_9574.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_45_10633.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_54_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/51/image_17122025_17_52_04_9752.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_15_10334.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_24_9819.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_34_9574.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_45_10633.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_54_9629.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0010595321655273 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 18:35:32.692308
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:35:42.670710
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_03_14747.jpg', '/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_18_3138.jpg', '/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_22_1629.jpg', '/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_24_1702.jpg', '/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_29_3573.jpg', '/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_31_1822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_03_14747.jpg
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_18_3138.jpg
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_22_1629.jpg
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_24_1702.jpg
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_29_3573.jpg
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_31_1822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815605","1399815604","1399815607","1399815600","1399815603","1399815606"],"photo_ids_order":["1399815600","1399815603","1399815604","1399815605","1399815606","1399815607"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59abd2de23c3b7dd87e2ca3b6af70ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3611960752246230046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993003678,"filename":"image_07112025_20_46_24_1702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb2591fdebaa9a050ced4360af54a0a0.jpg","text":"TemporaryFile(/tmp/multipartBody2084208718209285756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993003678,"filename":"image_07112025_20_46_22_1629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ff16e0b022faeea0d76ff6e32905819.jpg","text":"TemporaryFile(/tmp/multipartBody6340427707332595887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993003678,"filename":"image_07112025_20_46_31_1822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b0a81c44f61ebd5d065f9584c044405.jpg","text":"TemporaryFile(/tmp/multipartBody1352313467449166118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993003678,"filename":"image_07112025_20_46_03_14747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bab520c518634891c00ac245347824af.jpg","text":"TemporaryFile(/tmp/multipartBody8325984243301767406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993003678,"filename":"image_07112025_20_46_18_3138.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35814da5182d5b72a9beadef62299110.jpg","text":"TemporaryFile(/tmp/multipartBody8485513754070721125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993003678,"filename":"image_07112025_20_46_29_3573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815604","file1":"1399815603","file0":"1399815600","file4":"1399815606","file5":"1399815607","file3":"1399815605"},"map_files_photo_id_array":[{"photo_id":"1399815607","filename":"file5"},{"photo_id":"1399815604","filename":"file2"},{"photo_id":"1399815606","filename":"file4"},{"photo_id":"1399815603","filename":"file1"},{"photo_id":"1399815600","filename":"file0"},{"photo_id":"1399815605","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815605":["hashtag1","hashtag2"]},{"1399815604":["hashtag1","hashtag2"]},{"1399815607":["hashtag1","hashtag2"]},{"1399815600":["hashtag1","hashtag2"]},{"1399815603":["hashtag1","hashtag2"]},{"1399815606":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815605, 1399815604, 1399815607, 1399815600, 1399815603, 1399815606)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.547059059143066 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 18:36:31.980332
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:36:41.986128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_33_1729.jpg', '/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_35_1802.jpg', '/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_36_1684.jpg', '/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_54_1555.jpg', '/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_59_1642.jpg', '/home/pi/Desktop/images/07112025/20/47/image_07112025_20_47_01_1680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_33_1729.jpg
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_35_1802.jpg
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_36_1684.jpg
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_54_1555.jpg
/home/pi/Desktop/images/07112025/20/46/image_07112025_20_46_59_1642.jpg
/home/pi/Desktop/images/07112025/20/47/image_07112025_20_47_01_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":["1399815632","1399815620","1399815637","1399815622","1399815613","1399815618"],"photo_ids_order":["1399815613","1399815618","1399815620","1399815622","1399815632","1399815637"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b01cda9fedc4ce65c79047d86b545b40.jpg","text":"TemporaryFile(/tmp/multipartBody5554959392425012371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993063000,"filename":"image_07112025_20_46_59_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff8b95395ec9da69bfdbd22ececc19c1.jpg","text":"TemporaryFile(/tmp/multipartBody2172378022792818682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993063000,"filename":"image_07112025_20_46_36_1684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/841e20c13db3b1de6afacfebe6491c8e.jpg","text":"TemporaryFile(/tmp/multipartBody2318622700215009478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993063000,"filename":"image_07112025_20_47_01_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31be22c3133c2860f78ed25e42fe2560.jpg","text":"TemporaryFile(/tmp/multipartBody1035261075801498403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993063000,"filename":"image_07112025_20_46_54_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4feddbb6cb4b14a7c6a2c5514c959fe9.jpg","text":"TemporaryFile(/tmp/multipartBody1714598503139123587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993063000,"filename":"image_07112025_20_46_33_1729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3de44ddfd70e10cb15421631f332463.jpg","text":"TemporaryFile(/tmp/multipartBody5760167732228538715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993063000,"filename":"image_07112025_20_46_35_1802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815620","file1":"1399815618","file0":"1399815613","file4":"1399815632","file5":"1399815637","file3":"1399815622"},"map_files_photo_id_array":[{"photo_id":"1399815637","filename":"file5"},{"photo_id":"1399815620","filename":"file2"},{"photo_id":"1399815632","filename":"file4"},{"photo_id":"1399815618","filename":"file1"},{"photo_id":"1399815613","filename":"file0"},{"photo_id":"1399815622","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815632":["hashtag1","hashtag2"]},{"1399815620":["hashtag1","hashtag2"]},{"1399815637":["hashtag1","hashtag2"]},{"1399815622":["hashtag1","hashtag2"]},{"1399815613":["hashtag1","hashtag2"]},{"1399815618":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815632, 1399815620, 1399815637, 1399815622, 1399815613, 1399815618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.48907399177551 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:37:22.342934
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/51/image_17122025_17_52_04_9752.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_15_10334.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_24_9819.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_34_9574.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_45_10633.jpg', '/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_54_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/51/image_17122025_17_52_04_9752.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_15_10334.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_24_9819.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_34_9574.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_45_10633.jpg
/home/pi/Desktop/images/17122025/17/52/image_17122025_17_52_54_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815670","1399815667","1399815661","1399815664","1399815672","1399815666"],"photo_ids_order":["1399815661","1399815664","1399815666","1399815667","1399815670","1399815672"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3069b7d8f85d6f7a41ce1eb88271dc05.jpg","text":"TemporaryFile(/tmp/multipartBody6824832069952428517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993103282,"filename":"image_17122025_17_52_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6db61e5881d78fa29ee101964afb70c0.jpg","text":"TemporaryFile(/tmp/multipartBody8452114495259075701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993103282,"filename":"image_17122025_17_52_34_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb4534b6a83c3fbb54bc24bb4c1bb0b0.jpg","text":"TemporaryFile(/tmp/multipartBody286562880659886575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993103282,"filename":"image_17122025_17_52_04_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/564aace511e6abee4339ca5333b5d25d.jpg","text":"TemporaryFile(/tmp/multipartBody3475153549486155535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993103282,"filename":"image_17122025_17_52_15_10334.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78dd556057aa8a2015620e25a24faa07.jpg","text":"TemporaryFile(/tmp/multipartBody7458472639524423208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993103282,"filename":"image_17122025_17_52_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a476944dbe2262587c5874eeedd15b36.jpg","text":"TemporaryFile(/tmp/multipartBody2499669882195029518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993103282,"filename":"image_17122025_17_52_24_9819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815666","file1":"1399815664","file0":"1399815661","file4":"1399815670","file5":"1399815672","file3":"1399815667"},"map_files_photo_id_array":[{"photo_id":"1399815672","filename":"file5"},{"photo_id":"1399815666","filename":"file2"},{"photo_id":"1399815670","filename":"file4"},{"photo_id":"1399815664","filename":"file1"},{"photo_id":"1399815661","filename":"file0"},{"photo_id":"1399815667","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815670":["hashtag1","hashtag2"]},{"1399815667":["hashtag1","hashtag2"]},{"1399815661":["hashtag1","hashtag2"]},{"1399815664":["hashtag1","hashtag2"]},{"1399815672":["hashtag1","hashtag2"]},{"1399815666":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815670, 1399815667, 1399815661, 1399815664, 1399815672, 1399815666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93388319015503 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:38:02.795058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_05_10445.jpg', '/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_14_9633.jpg', '/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_24_9656.jpg', '/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_35_10725.jpg', '/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_54_9822.jpg', '/home/pi/Desktop/images/17122025/17/53/image_17122025_17_54_04_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_05_10445.jpg
/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_14_9633.jpg
/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_24_9656.jpg
/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_35_10725.jpg
/home/pi/Desktop/images/17122025/17/53/image_17122025_17_53_54_9822.jpg
/home/pi/Desktop/images/17122025/17/53/image_17122025_17_54_04_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":["1399815694","1399815688","1399815696","1399815690","1399815692","1399815698"],"photo_ids_order":["1399815688","1399815690","1399815692","1399815694","1399815696","1399815698"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/213abe0da9fc8a7453d1adad1e7c1187.jpg","text":"TemporaryFile(/tmp/multipartBody7066318496888437162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993143698,"filename":"image_17122025_17_53_35_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53d6d789724f03bafc6723f188bd7bd9.jpg","text":"TemporaryFile(/tmp/multipartBody2910046688198822912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993143698,"filename":"image_17122025_17_53_05_10445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51802513eb62235b592601354d62226d.jpg","text":"TemporaryFile(/tmp/multipartBody1162021118083383155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993143698,"filename":"image_17122025_17_53_54_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e96f5fcdb8e3842b92eb46e720661db.jpg","text":"TemporaryFile(/tmp/multipartBody5798997705018783426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993143698,"filename":"image_17122025_17_53_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f79e474237b36c694691592abebc2505.jpg","text":"TemporaryFile(/tmp/multipartBody7508983461486418019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993143698,"filename":"image_17122025_17_53_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cd30ed6488edc10a6f09a3e01ca9210.jpg","text":"TemporaryFile(/tmp/multipartBody6250371752177042598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993143698,"filename":"image_17122025_17_54_04_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815692","file1":"1399815690","file0":"1399815688","file4":"1399815696","file5":"1399815698","file3":"1399815694"},"map_files_photo_id_array":[{"photo_id":"1399815698","filename":"file5"},{"photo_id":"1399815692","filename":"file2"},{"photo_id":"1399815696","filename":"file4"},{"photo_id":"1399815690","filename":"file1"},{"photo_id":"1399815688","filename":"file0"},{"photo_id":"1399815694","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815694":["hashtag1","hashtag2"]},{"1399815688":["hashtag1","hashtag2"]},{"1399815696":["hashtag1","hashtag2"]},{"1399815690":["hashtag1","hashtag2"]},{"1399815692":["hashtag1","hashtag2"]},{"1399815698":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815694, 1399815688, 1399815696, 1399815690, 1399815692, 1399815698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87848973274231 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:38:42.453283
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/47/image_07112025_20_47_02_1676.jpg', '/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_40_36550.jpg', '/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_49_9088.jpg', '/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_51_1532.jpg', '/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_56_1766.jpg', '/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_59_1552.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/47/image_07112025_20_47_02_1676.jpg
/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_40_36550.jpg
/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_49_9088.jpg
/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_51_1532.jpg
/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_56_1766.jpg
/home/pi/Desktop/images/07112025/20/48/image_07112025_20_48_59_1552.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815731","1399815728","1399815704","1399815718","1399815727","1399815726"],"photo_ids_order":["1399815704","1399815718","1399815726","1399815727","1399815728","1399815731"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/deb3a0497844a43b5712022da701a183.jpg","text":"TemporaryFile(/tmp/multipartBody7464650330411847297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993183468,"filename":"image_07112025_20_48_59_1552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3f4ac5eb063d7a7e86eaf1cadeac3e2.jpg","text":"TemporaryFile(/tmp/multipartBody7428444071639986238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993183468,"filename":"image_07112025_20_48_56_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6de2dc1019f28e9437f7c22b04547c9.jpg","text":"TemporaryFile(/tmp/multipartBody2934537995230157909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993183468,"filename":"image_07112025_20_47_02_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1db1978a953e0a7770109ec129761b8b.jpg","text":"TemporaryFile(/tmp/multipartBody5610159339430097154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993183468,"filename":"image_07112025_20_48_40_36550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2769d250d1a975053378f6ef7f791f4.jpg","text":"TemporaryFile(/tmp/multipartBody9048191931581542775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993183468,"filename":"image_07112025_20_48_51_1532.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50963ff8561ec39956145e12b2519a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3164694237123508494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993183468,"filename":"image_07112025_20_48_49_9088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815726","file1":"1399815718","file0":"1399815704","file4":"1399815728","file5":"1399815731","file3":"1399815727"},"map_files_photo_id_array":[{"photo_id":"1399815731","filename":"file5"},{"photo_id":"1399815726","filename":"file2"},{"photo_id":"1399815728","filename":"file4"},{"photo_id":"1399815718","filename":"file1"},{"photo_id":"1399815704","filename":"file0"},{"photo_id":"1399815727","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399815731":["hashtag1","hashtag2"]},{"1399815728":["hashtag1","hashtag2"]},{"1399815704":["hashtag1","hashtag2"]},{"1399815718":["hashtag1","hashtag2"]},{"1399815727":["hashtag1","hashtag2"]},{"1399815726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399815731, 1399815728, 1399815704, 1399815718, 1399815727, 1399815726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72080445289612 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:39:22.816927
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/54/image_17122025_17_54_14_9750.jpg', '/home/pi/Desktop/images/17122025/17/54/image_17122025_17_54_25_10696.jpg', '/home/pi/Desktop/images/17122025/17/54/image_17122025_17_54_54_19588.jpg', '/home/pi/Desktop/images/17122025/17/54/image_17122025_17_54_56_1693.jpg', '/home/pi/Desktop/images/17122025/17/55/image_17122025_17_55_14_10056.jpg', '/home/pi/Desktop/images/17122025/17/55/image_17122025_17_55_25_10823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/54/image_17122025_17_54_14_9750.jpg
/home/pi/Desktop/images/17122025/17/54/image_17122025_17_54_25_10696.jpg
/home/pi/Desktop/images/17122025/17/54/image_17122025_17_54_54_19588.jpg
/home/pi/Desktop/images/17122025/17/54/image_17122025_17_54_56_1693.jpg
/home/pi/Desktop/images/17122025/17/55/image_17122025_17_55_14_10056.jpg
/home/pi/Desktop/images/17122025/17/55/image_17122025_17_55_25_10823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815772","1399815775","1399815785","1399815794","1399815788","1399815770"],"photo_ids_order":["1399815770","1399815772","1399815775","1399815785","1399815788","1399815794"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ace8db21a52d9fd4720ac432536798b1.jpg","text":"TemporaryFile(/tmp/multipartBody1203249899538791210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993223731,"filename":"image_17122025_17_54_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fec02dc49a54c4d919e9074c2675c25.jpg","text":"TemporaryFile(/tmp/multipartBody1172667378798618349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993223731,"filename":"image_17122025_17_54_54_19588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce2f6b9ed830662b32671b91052e29fd.jpg","text":"TemporaryFile(/tmp/multipartBody580420141582694927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993223731,"filename":"image_17122025_17_54_56_1693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de9c44b108313d6e931e9e4cf6f4719d.jpg","text":"TemporaryFile(/tmp/multipartBody7706833919187693252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993223731,"filename":"image_17122025_17_55_25_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/122978ea90fd36504ee619668ad18df9.jpg","text":"TemporaryFile(/tmp/multipartBody7631976544146538545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993223731,"filename":"image_17122025_17_55_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbaf54e705514f19c8b808249daddc1f.jpg","text":"TemporaryFile(/tmp/multipartBody8017687253833502494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993223731,"filename":"image_17122025_17_54_14_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815775","file1":"1399815772","file0":"1399815770","file4":"1399815788","file5":"1399815794","file3":"1399815785"},"map_files_photo_id_array":[{"photo_id":"1399815794","filename":"file5"},{"photo_id":"1399815775","filename":"file2"},{"photo_id":"1399815788","filename":"file4"},{"photo_id":"1399815772","filename":"file1"},{"photo_id":"1399815770","filename":"file0"},{"photo_id":"1399815785","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815772":["hashtag1","hashtag2"]},{"1399815775":["hashtag1","hashtag2"]},{"1399815785":["hashtag1","hashtag2"]},{"1399815794":["hashtag1","hashtag2"]},{"1399815788":["hashtag1","hashtag2"]},{"1399815770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815772, 1399815775, 1399815785, 1399815794, 1399815788, 1399815770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0797164440155 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 18:40:11.913581
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:40:21.999326
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/55/image_17122025_17_55_45_10776.jpg', '/home/pi/Desktop/images/17122025/17/55/image_17122025_17_55_54_9828.jpg', '/home/pi/Desktop/images/17122025/17/55/image_17122025_17_56_05_10113.jpg', '/home/pi/Desktop/images/17122025/17/56/image_17122025_17_56_14_9126.jpg', '/home/pi/Desktop/images/17122025/17/56/image_17122025_17_56_34_9967.jpg', '/home/pi/Desktop/images/17122025/17/56/image_17122025_17_56_44_9538.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/55/image_17122025_17_55_45_10776.jpg
/home/pi/Desktop/images/17122025/17/55/image_17122025_17_55_54_9828.jpg
/home/pi/Desktop/images/17122025/17/55/image_17122025_17_56_05_10113.jpg
/home/pi/Desktop/images/17122025/17/56/image_17122025_17_56_14_9126.jpg
/home/pi/Desktop/images/17122025/17/56/image_17122025_17_56_34_9967.jpg
/home/pi/Desktop/images/17122025/17/56/image_17122025_17_56_44_9538.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399815902","1399815913","1399815907","1399815897","1399815900","1399815893"],"photo_ids_order":["1399815893","1399815897","1399815900","1399815902","1399815907","1399815913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f541e281a19fb5009b2d0d11e42a881.jpg","text":"TemporaryFile(/tmp/multipartBody419605152350429611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993283056,"filename":"image_17122025_17_56_14_9126.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5855ab49b0e9c92b148d8fc96cf65cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3130790948272904979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993283056,"filename":"image_17122025_17_56_44_9538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/11ca51dc62feef3b8b46815d70275d81.jpg","text":"TemporaryFile(/tmp/multipartBody6727220224026725974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993283056,"filename":"image_17122025_17_56_34_9967.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/415751e6773897a6702e0896bb7142db.jpg","text":"TemporaryFile(/tmp/multipartBody7558552068844016207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993283056,"filename":"image_17122025_17_55_54_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3696a4cbc0e8e7cf62772175d7dc9b9a.jpg","text":"TemporaryFile(/tmp/multipartBody6388327748555015849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993283056,"filename":"image_17122025_17_56_05_10113.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/110b9cf27f62c5a13a058d6be46b9091.jpg","text":"TemporaryFile(/tmp/multipartBody6335984031536835969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993283056,"filename":"image_17122025_17_55_45_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399815900","file1":"1399815897","file0":"1399815893","file4":"1399815907","file5":"1399815913","file3":"1399815902"},"map_files_photo_id_array":[{"photo_id":"1399815913","filename":"file5"},{"photo_id":"1399815900","filename":"file2"},{"photo_id":"1399815907","filename":"file4"},{"photo_id":"1399815897","filename":"file1"},{"photo_id":"1399815893","filename":"file0"},{"photo_id":"1399815902","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399815902":["hashtag1","hashtag2"]},{"1399815913":["hashtag1","hashtag2"]},{"1399815907":["hashtag1","hashtag2"]},{"1399815897":["hashtag1","hashtag2"]},{"1399815900":["hashtag1","hashtag2"]},{"1399815893":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399815902, 1399815913, 1399815907, 1399815897, 1399815900, 1399815893)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.114444732666016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:41:02.852622
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/56/image_17122025_17_56_54_9844.jpg', '/home/pi/Desktop/images/17122025/17/56/image_17122025_17_57_04_9819.jpg', '/home/pi/Desktop/images/17122025/17/57/image_17122025_17_57_14_10741.jpg', '/home/pi/Desktop/images/17122025/17/57/image_17122025_17_57_34_9910.jpg', '/home/pi/Desktop/images/17122025/17/57/image_17122025_17_57_44_9782.jpg', '/home/pi/Desktop/images/17122025/17/57/image_17122025_17_57_55_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/56/image_17122025_17_56_54_9844.jpg
/home/pi/Desktop/images/17122025/17/56/image_17122025_17_57_04_9819.jpg
/home/pi/Desktop/images/17122025/17/57/image_17122025_17_57_14_10741.jpg
/home/pi/Desktop/images/17122025/17/57/image_17122025_17_57_34_9910.jpg
/home/pi/Desktop/images/17122025/17/57/image_17122025_17_57_44_9782.jpg
/home/pi/Desktop/images/17122025/17/57/image_17122025_17_57_55_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":["1399816228","1399816216","1399816113","1399816064","1399816151","1399816208"],"photo_ids_order":["1399816064","1399816113","1399816151","1399816208","1399816216","1399816228"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec784777fe11a855d22110e79826eb26.jpg","text":"TemporaryFile(/tmp/multipartBody3602150480325806161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993323781,"filename":"image_17122025_17_57_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/540eb075c32bf47f566dcfc4e84dfd88.jpg","text":"TemporaryFile(/tmp/multipartBody6604143497226538439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993323781,"filename":"image_17122025_17_57_44_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/105f29590952cc99ba40025b835bee8d.jpg","text":"TemporaryFile(/tmp/multipartBody5620799326239066078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993323781,"filename":"image_17122025_17_57_04_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d61d3ee93dd9a17a49afb603fab9493.jpg","text":"TemporaryFile(/tmp/multipartBody3224238863803672256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993323781,"filename":"image_17122025_17_56_54_9844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44d3ae4b5e2aba23e811f10d347de079.jpg","text":"TemporaryFile(/tmp/multipartBody1817957420387300991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993323781,"filename":"image_17122025_17_57_14_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85fbb57e3a262f3031aab7cc612a30e3.jpg","text":"TemporaryFile(/tmp/multipartBody5784608454744596977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993323781,"filename":"image_17122025_17_57_34_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816151","file1":"1399816113","file0":"1399816064","file4":"1399816216","file5":"1399816228","file3":"1399816208"},"map_files_photo_id_array":[{"photo_id":"1399816228","filename":"file5"},{"photo_id":"1399816151","filename":"file2"},{"photo_id":"1399816216","filename":"file4"},{"photo_id":"1399816113","filename":"file1"},{"photo_id":"1399816064","filename":"file0"},{"photo_id":"1399816208","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816228":["hashtag1","hashtag2"]},{"1399816216":["hashtag1","hashtag2"]},{"1399816113":["hashtag1","hashtag2"]},{"1399816064":["hashtag1","hashtag2"]},{"1399816151":["hashtag1","hashtag2"]},{"1399816208":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816228, 1399816216, 1399816113, 1399816064, 1399816151, 1399816208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79210948944092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:41:42.103411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/49/image_07112025_20_49_02_1654.jpg', '/home/pi/Desktop/images/07112025/20/49/image_07112025_20_49_04_1648.jpg', '/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_06_3019.jpg', '/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_19_12732.jpg', '/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_22_3034.jpg', '/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_24_1797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/49/image_07112025_20_49_02_1654.jpg
/home/pi/Desktop/images/07112025/20/49/image_07112025_20_49_04_1648.jpg
/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_06_3019.jpg
/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_19_12732.jpg
/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_22_3034.jpg
/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_24_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":["1399816304","1399816306","1399816300","1399816303","1399816305","1399816289"],"photo_ids_order":["1399816289","1399816300","1399816303","1399816304","1399816305","1399816306"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1ccc699872e8992d863a946e478b8c0.jpg","text":"TemporaryFile(/tmp/multipartBody6946178334934071298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993363141,"filename":"image_07112025_20_53_19_12732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/611b3d62c74de489c17683440bd68388.jpg","text":"TemporaryFile(/tmp/multipartBody1424455041485914130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993363141,"filename":"image_07112025_20_53_24_1797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5819253c0276127baa90182ca16d073.jpg","text":"TemporaryFile(/tmp/multipartBody1880097562813356748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993363141,"filename":"image_07112025_20_49_04_1648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13e98fe52e3e51987b0d83af244ca527.jpg","text":"TemporaryFile(/tmp/multipartBody2914545595734372361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993363141,"filename":"image_07112025_20_53_06_3019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/994d04e8eeb484f05fcc37562667e8bd.jpg","text":"TemporaryFile(/tmp/multipartBody7779517384167002960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993363141,"filename":"image_07112025_20_53_22_3034.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd55cba03d28b4e3e4c49f21618d9723.jpg","text":"TemporaryFile(/tmp/multipartBody4191237695563481294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993363141,"filename":"image_07112025_20_49_02_1654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816303","file1":"1399816300","file0":"1399816289","file4":"1399816305","file5":"1399816306","file3":"1399816304"},"map_files_photo_id_array":[{"photo_id":"1399816306","filename":"file5"},{"photo_id":"1399816303","filename":"file2"},{"photo_id":"1399816305","filename":"file4"},{"photo_id":"1399816300","filename":"file1"},{"photo_id":"1399816289","filename":"file0"},{"photo_id":"1399816304","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399816304":["hashtag1","hashtag2"]},{"1399816306":["hashtag1","hashtag2"]},{"1399816300":["hashtag1","hashtag2"]},{"1399816303":["hashtag1","hashtag2"]},{"1399816305":["hashtag1","hashtag2"]},{"1399816289":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399816304, 1399816306, 1399816300, 1399816303, 1399816305, 1399816289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.09270191192627 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:42:22.460333
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/57/image_17122025_17_58_04_9748.jpg', '/home/pi/Desktop/images/17122025/17/58/image_17122025_17_58_24_9642.jpg', '/home/pi/Desktop/images/17122025/17/58/image_17122025_17_58_34_10023.jpg', '/home/pi/Desktop/images/17122025/17/58/image_17122025_17_58_44_10772.jpg', '/home/pi/Desktop/images/17122025/17/58/image_17122025_17_59_04_9686.jpg', '/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_15_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/57/image_17122025_17_58_04_9748.jpg
/home/pi/Desktop/images/17122025/17/58/image_17122025_17_58_24_9642.jpg
/home/pi/Desktop/images/17122025/17/58/image_17122025_17_58_34_10023.jpg
/home/pi/Desktop/images/17122025/17/58/image_17122025_17_58_44_10772.jpg
/home/pi/Desktop/images/17122025/17/58/image_17122025_17_59_04_9686.jpg
/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_15_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816319","1399816312","1399816321","1399816314","1399816326","1399816311"],"photo_ids_order":["1399816311","1399816312","1399816314","1399816319","1399816321","1399816326"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4a88e03f7a31dc07e187668b1db3708.jpg","text":"TemporaryFile(/tmp/multipartBody5464058714627444523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993403741,"filename":"image_17122025_17_58_44_10772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67f074a81c298aba6864e3df0b96824c.jpg","text":"TemporaryFile(/tmp/multipartBody7123021852171227669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993403741,"filename":"image_17122025_17_58_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2792bacd8a7a72adcb76113cb508567c.jpg","text":"TemporaryFile(/tmp/multipartBody329935560059046600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993403741,"filename":"image_17122025_17_59_04_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a795e2ac25ad1e520121ebdc9dfcca1.jpg","text":"TemporaryFile(/tmp/multipartBody1848319298080503863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993403741,"filename":"image_17122025_17_58_34_10023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d72c4282c3e6afb5ae72a17f47ccb93.jpg","text":"TemporaryFile(/tmp/multipartBody6556804688787549826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993403741,"filename":"image_17122025_17_59_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27de33d1f1c5b2bf67abf97e7d7bbb26.jpg","text":"TemporaryFile(/tmp/multipartBody7471209533344716186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993403741,"filename":"image_17122025_17_58_04_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816314","file1":"1399816312","file0":"1399816311","file4":"1399816321","file5":"1399816326","file3":"1399816319"},"map_files_photo_id_array":[{"photo_id":"1399816326","filename":"file5"},{"photo_id":"1399816314","filename":"file2"},{"photo_id":"1399816321","filename":"file4"},{"photo_id":"1399816312","filename":"file1"},{"photo_id":"1399816311","filename":"file0"},{"photo_id":"1399816319","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816319":["hashtag1","hashtag2"]},{"1399816312":["hashtag1","hashtag2"]},{"1399816321":["hashtag1","hashtag2"]},{"1399816314":["hashtag1","hashtag2"]},{"1399816326":["hashtag1","hashtag2"]},{"1399816311":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816319, 1399816312, 1399816321, 1399816314, 1399816326, 1399816311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50422239303589 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:43:03.161273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_24_9739.jpg', '/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_34_9840.jpg', '/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_44_9632.jpg', '/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_55_10773.jpg', '/home/pi/Desktop/images/17122025/18/01/image_17122025_18_01_13_10037.jpg', '/home/pi/Desktop/images/17122025/18/01/image_17122025_18_01_43_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_24_9739.jpg
/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_34_9840.jpg
/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_44_9632.jpg
/home/pi/Desktop/images/17122025/17/59/image_17122025_17_59_55_10773.jpg
/home/pi/Desktop/images/17122025/18/01/image_17122025_18_01_13_10037.jpg
/home/pi/Desktop/images/17122025/18/01/image_17122025_18_01_43_9784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816480","1399816482","1399816485","1399816452","1399816478","1399816412"],"photo_ids_order":["1399816412","1399816452","1399816478","1399816480","1399816482","1399816485"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3963c09f73a950f08f8230fb887d50aa.jpg","text":"TemporaryFile(/tmp/multipartBody3104262179170732639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993444068,"filename":"image_17122025_17_59_55_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a09220e67f514e21d863dff354758faa.jpg","text":"TemporaryFile(/tmp/multipartBody624557295099739818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993444068,"filename":"image_17122025_18_01_13_10037.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61093200c3beb1eb45aad0402c031bd6.jpg","text":"TemporaryFile(/tmp/multipartBody4468720277493427576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993444068,"filename":"image_17122025_18_01_43_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2435e52f0fe3d9409a0440312be5a598.jpg","text":"TemporaryFile(/tmp/multipartBody6724934381967874077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993444068,"filename":"image_17122025_17_59_34_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25f82636e90f46e330fc901292c8b34a.jpg","text":"TemporaryFile(/tmp/multipartBody1224078939172763997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993444068,"filename":"image_17122025_17_59_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b32e62417e69a2a6e5a50eb101bc1fd.jpg","text":"TemporaryFile(/tmp/multipartBody8148679293073768290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993444068,"filename":"image_17122025_17_59_24_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816478","file1":"1399816452","file0":"1399816412","file4":"1399816482","file5":"1399816485","file3":"1399816480"},"map_files_photo_id_array":[{"photo_id":"1399816485","filename":"file5"},{"photo_id":"1399816478","filename":"file2"},{"photo_id":"1399816482","filename":"file4"},{"photo_id":"1399816452","filename":"file1"},{"photo_id":"1399816412","filename":"file0"},{"photo_id":"1399816480","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816480":["hashtag1","hashtag2"]},{"1399816482":["hashtag1","hashtag2"]},{"1399816485":["hashtag1","hashtag2"]},{"1399816452":["hashtag1","hashtag2"]},{"1399816478":["hashtag1","hashtag2"]},{"1399816412":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816480, 1399816482, 1399816485, 1399816452, 1399816478, 1399816412)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.75511860847473 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:43:42.519663
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_29_1891.jpg', '/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_31_1647.jpg', '/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_34_1816.jpg', '/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_40_2671.jpg', '/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_43_3580.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_03_19469.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_29_1891.jpg
/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_31_1647.jpg
/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_34_1816.jpg
/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_40_2671.jpg
/home/pi/Desktop/images/07112025/20/53/image_07112025_20_53_43_3580.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_03_19469.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816492","1399816495","1399816494","1399816497","1399816496","1399816498"],"photo_ids_order":["1399816492","1399816494","1399816495","1399816496","1399816497","1399816498"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e06e855378e4c9d708753b5d833f59f.jpg","text":"TemporaryFile(/tmp/multipartBody5090349530655354936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993483586,"filename":"image_07112025_20_53_29_1891.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/802be03006ca5270054c8e568ba32377.jpg","text":"TemporaryFile(/tmp/multipartBody7242552263002058474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993483586,"filename":"image_07112025_20_53_34_1816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91fcd0e8caeeff4b5c18888f2b050351.jpg","text":"TemporaryFile(/tmp/multipartBody420808836085961140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993483586,"filename":"image_07112025_20_53_31_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36f67878fc7cbdf9922f9ec4559228d5.jpg","text":"TemporaryFile(/tmp/multipartBody1097572126649624492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993483586,"filename":"image_07112025_20_53_43_3580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c339617112eae53ec90f5017b22010ed.jpg","text":"TemporaryFile(/tmp/multipartBody3030030629707252587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993483586,"filename":"image_07112025_20_53_40_2671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6cb05179212cab2d260e5f55a6dd35f.jpg","text":"TemporaryFile(/tmp/multipartBody2158564648894563046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993483586,"filename":"image_07112025_20_54_03_19469.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816495","file1":"1399816494","file0":"1399816492","file4":"1399816497","file5":"1399816498","file3":"1399816496"},"map_files_photo_id_array":[{"photo_id":"1399816498","filename":"file5"},{"photo_id":"1399816495","filename":"file2"},{"photo_id":"1399816497","filename":"file4"},{"photo_id":"1399816494","filename":"file1"},{"photo_id":"1399816492","filename":"file0"},{"photo_id":"1399816496","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399816492":["hashtag1","hashtag2"]},{"1399816495":["hashtag1","hashtag2"]},{"1399816494":["hashtag1","hashtag2"]},{"1399816497":["hashtag1","hashtag2"]},{"1399816496":["hashtag1","hashtag2"]},{"1399816498":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399816492, 1399816495, 1399816494, 1399816497, 1399816496, 1399816498)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.490732192993164 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:44:22.802232
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/01/image_17122025_18_01_53_9786.jpg', '/home/pi/Desktop/images/17122025/18/01/image_17122025_18_02_03_9878.jpg', '/home/pi/Desktop/images/17122025/18/02/image_17122025_18_02_14_10692.jpg', '/home/pi/Desktop/images/17122025/18/02/image_17122025_18_02_43_9887.jpg', '/home/pi/Desktop/images/17122025/18/02/image_17122025_18_02_54_10615.jpg', '/home/pi/Desktop/images/17122025/18/02/image_17122025_18_03_04_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/01/image_17122025_18_01_53_9786.jpg
/home/pi/Desktop/images/17122025/18/01/image_17122025_18_02_03_9878.jpg
/home/pi/Desktop/images/17122025/18/02/image_17122025_18_02_14_10692.jpg
/home/pi/Desktop/images/17122025/18/02/image_17122025_18_02_43_9887.jpg
/home/pi/Desktop/images/17122025/18/02/image_17122025_18_02_54_10615.jpg
/home/pi/Desktop/images/17122025/18/02/image_17122025_18_03_04_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":["1399816504","1399816507","1399816521","1399816524","1399816511","1399816514"],"photo_ids_order":["1399816504","1399816507","1399816511","1399816514","1399816521","1399816524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d5b7e3af067f7396e77cebc83c2ce3e.jpg","text":"TemporaryFile(/tmp/multipartBody8110176684695473080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993523942,"filename":"image_17122025_18_01_53_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d55ce331b1c22caa0efb424f5748080.jpg","text":"TemporaryFile(/tmp/multipartBody794888023787205272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993523942,"filename":"image_17122025_18_02_03_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80bc40a4a259af0e77399abc570b2afa.jpg","text":"TemporaryFile(/tmp/multipartBody2105730756300527398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993523942,"filename":"image_17122025_18_02_54_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/177257e35ed0749931d654101e366919.jpg","text":"TemporaryFile(/tmp/multipartBody4825676851819151633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993523942,"filename":"image_17122025_18_03_04_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59039dfbeb2d563cb04e134783265e5c.jpg","text":"TemporaryFile(/tmp/multipartBody6158211650243787954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993523942,"filename":"image_17122025_18_02_14_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32c8c2ce11e63f6bce27b683f06befac.jpg","text":"TemporaryFile(/tmp/multipartBody6625682983433950692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993523942,"filename":"image_17122025_18_02_43_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816511","file1":"1399816507","file0":"1399816504","file4":"1399816521","file5":"1399816524","file3":"1399816514"},"map_files_photo_id_array":[{"photo_id":"1399816524","filename":"file5"},{"photo_id":"1399816511","filename":"file2"},{"photo_id":"1399816521","filename":"file4"},{"photo_id":"1399816507","filename":"file1"},{"photo_id":"1399816504","filename":"file0"},{"photo_id":"1399816514","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816504":["hashtag1","hashtag2"]},{"1399816507":["hashtag1","hashtag2"]},{"1399816521":["hashtag1","hashtag2"]},{"1399816524":["hashtag1","hashtag2"]},{"1399816511":["hashtag1","hashtag2"]},{"1399816514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816504, 1399816507, 1399816521, 1399816524, 1399816511, 1399816514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.71796226501465 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 10 --only_old 1
2025-12-17 18:45:12.006042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:45:21.964551
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_13_9694.jpg', '/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_23_9700.jpg', '/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_34_10634.jpg', '/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_43_9648.jpg', '/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_54_10626.jpg', '/home/pi/Desktop/images/17122025/18/03/image_17122025_18_04_04_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_13_9694.jpg
/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_23_9700.jpg
/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_34_10634.jpg
/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_43_9648.jpg
/home/pi/Desktop/images/17122025/18/03/image_17122025_18_03_54_10626.jpg
/home/pi/Desktop/images/17122025/18/03/image_17122025_18_04_04_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":["1399816551","1399816545","1399816554","1399816556","1399816559","1399816547"],"photo_ids_order":["1399816545","1399816547","1399816551","1399816554","1399816556","1399816559"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4865302fb5bb0e314b08e21eeb90143d.jpg","text":"TemporaryFile(/tmp/multipartBody8062920500167336520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993582868,"filename":"image_17122025_18_03_34_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65ad6c8b0f0e32f0cbe5090332ac4ced.jpg","text":"TemporaryFile(/tmp/multipartBody3265032595811520995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993582868,"filename":"image_17122025_18_03_13_9694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4457642f682f0d6add5ba4074628366d.jpg","text":"TemporaryFile(/tmp/multipartBody4970515924802805750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993582868,"filename":"image_17122025_18_03_43_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7d9b806a1d83f73a11e09e6befe17a5.jpg","text":"TemporaryFile(/tmp/multipartBody3204950819871307756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993582868,"filename":"image_17122025_18_03_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b94f9cc259a8664edfd2ab71c9e42c73.jpg","text":"TemporaryFile(/tmp/multipartBody4799614502356751284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993582868,"filename":"image_17122025_18_04_04_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33968a724ef4134c9e369ec0b15c73a8.jpg","text":"TemporaryFile(/tmp/multipartBody4072547728213589070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993582868,"filename":"image_17122025_18_03_23_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816551","file1":"1399816547","file0":"1399816545","file4":"1399816556","file5":"1399816559","file3":"1399816554"},"map_files_photo_id_array":[{"photo_id":"1399816559","filename":"file5"},{"photo_id":"1399816551","filename":"file2"},{"photo_id":"1399816556","filename":"file4"},{"photo_id":"1399816547","filename":"file1"},{"photo_id":"1399816545","filename":"file0"},{"photo_id":"1399816554","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816551":["hashtag1","hashtag2"]},{"1399816545":["hashtag1","hashtag2"]},{"1399816554":["hashtag1","hashtag2"]},{"1399816556":["hashtag1","hashtag2"]},{"1399816559":["hashtag1","hashtag2"]},{"1399816547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816551, 1399816545, 1399816554, 1399816556, 1399816559, 1399816547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.656006813049316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:46:02.646770
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/04/image_17122025_18_04_23_9810.jpg', '/home/pi/Desktop/images/17122025/18/04/image_17122025_18_04_34_10663.jpg', '/home/pi/Desktop/images/17122025/18/04/image_17122025_18_04_53_9683.jpg', '/home/pi/Desktop/images/17122025/18/04/image_17122025_18_05_03_9769.jpg', '/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_14_10795.jpg', '/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_24_9890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/04/image_17122025_18_04_23_9810.jpg
/home/pi/Desktop/images/17122025/18/04/image_17122025_18_04_34_10663.jpg
/home/pi/Desktop/images/17122025/18/04/image_17122025_18_04_53_9683.jpg
/home/pi/Desktop/images/17122025/18/04/image_17122025_18_05_03_9769.jpg
/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_14_10795.jpg
/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_24_9890.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816567","1399816561","1399816569","1399816563","1399816572","1399816565"],"photo_ids_order":["1399816561","1399816563","1399816565","1399816567","1399816569","1399816572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d5eea000d1399b1cf95eed364c2320c.jpg","text":"TemporaryFile(/tmp/multipartBody4452571199779486415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993623544,"filename":"image_17122025_18_05_03_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b931407f17f99e3c7f2d5ed6278a8cf.jpg","text":"TemporaryFile(/tmp/multipartBody2553548186402237609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993623544,"filename":"image_17122025_18_04_23_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb43819d154c11091e17f2cb79ee8229.jpg","text":"TemporaryFile(/tmp/multipartBody5492501976558674497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993623544,"filename":"image_17122025_18_05_14_10795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b2d5aa7bf6b3f3c694eed5655208ca3.jpg","text":"TemporaryFile(/tmp/multipartBody5083445489503229700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993623544,"filename":"image_17122025_18_04_34_10663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e88d57920c9bf3a3cdc47c0298977559.jpg","text":"TemporaryFile(/tmp/multipartBody5335029026603194853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993623544,"filename":"image_17122025_18_05_24_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b02db195498a352662ce153eba848610.jpg","text":"TemporaryFile(/tmp/multipartBody4566457168629448886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993623544,"filename":"image_17122025_18_04_53_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816565","file1":"1399816563","file0":"1399816561","file4":"1399816569","file5":"1399816572","file3":"1399816567"},"map_files_photo_id_array":[{"photo_id":"1399816572","filename":"file5"},{"photo_id":"1399816565","filename":"file2"},{"photo_id":"1399816569","filename":"file4"},{"photo_id":"1399816563","filename":"file1"},{"photo_id":"1399816561","filename":"file0"},{"photo_id":"1399816567","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816567":["hashtag1","hashtag2"]},{"1399816561":["hashtag1","hashtag2"]},{"1399816569":["hashtag1","hashtag2"]},{"1399816563":["hashtag1","hashtag2"]},{"1399816572":["hashtag1","hashtag2"]},{"1399816565":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816567, 1399816561, 1399816569, 1399816563, 1399816572, 1399816565)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30966663360596 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:46:42.200138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_04_1566.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_08_1875.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_11_1680.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_13_1755.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_14_1720.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_16_1561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_04_1566.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_08_1875.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_11_1680.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_13_1755.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_14_1720.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_16_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":["1399816585","1399816588","1399816587","1399816581","1399816584","1399816586"],"photo_ids_order":["1399816581","1399816584","1399816585","1399816586","1399816587","1399816588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e5577fa950cd69dc4fdc72a0d48cb43.jpg","text":"TemporaryFile(/tmp/multipartBody1728733271784460068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993663215,"filename":"image_07112025_20_54_11_1680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c42e9d0b4dc72711c670a0b911ff779d.jpg","text":"TemporaryFile(/tmp/multipartBody3019526541808566660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993663215,"filename":"image_07112025_20_54_16_1561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1d3228fe72d485fae5298594f23c97d.jpg","text":"TemporaryFile(/tmp/multipartBody6414770203596803541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993663215,"filename":"image_07112025_20_54_14_1720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e8568b6a6d333d48c8c2e410c7586a5.jpg","text":"TemporaryFile(/tmp/multipartBody520840720407805561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993663215,"filename":"image_07112025_20_54_04_1566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/803d14561f8cf28aa7f142278e279cb0.jpg","text":"TemporaryFile(/tmp/multipartBody2779915096242305459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993663215,"filename":"image_07112025_20_54_08_1875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f2f9e77f296f03427692757ab42a3a0.jpg","text":"TemporaryFile(/tmp/multipartBody414297880804100545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993663215,"filename":"image_07112025_20_54_13_1755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816585","file1":"1399816584","file0":"1399816581","file4":"1399816587","file5":"1399816588","file3":"1399816586"},"map_files_photo_id_array":[{"photo_id":"1399816588","filename":"file5"},{"photo_id":"1399816585","filename":"file2"},{"photo_id":"1399816587","filename":"file4"},{"photo_id":"1399816584","filename":"file1"},{"photo_id":"1399816581","filename":"file0"},{"photo_id":"1399816586","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399816585":["hashtag1","hashtag2"]},{"1399816588":["hashtag1","hashtag2"]},{"1399816587":["hashtag1","hashtag2"]},{"1399816581":["hashtag1","hashtag2"]},{"1399816584":["hashtag1","hashtag2"]},{"1399816586":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399816585, 1399816588, 1399816587, 1399816581, 1399816584, 1399816586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.361095666885376 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:47:22.394021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_34_9760.jpg', '/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_44_9921.jpg', '/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_53_9890.jpg', '/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_14_10643.jpg', '/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_24_9775.jpg', '/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_34_9823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_34_9760.jpg
/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_44_9921.jpg
/home/pi/Desktop/images/17122025/18/05/image_17122025_18_05_53_9890.jpg
/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_14_10643.jpg
/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_24_9775.jpg
/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_34_9823.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816601","1399816603","1399816593","1399816599","1399816595","1399816597"],"photo_ids_order":["1399816593","1399816595","1399816597","1399816599","1399816601","1399816603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ff5733a56d4bc4dfe0389416dd0d0ee.jpg","text":"TemporaryFile(/tmp/multipartBody4025623005342465283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993703541,"filename":"image_17122025_18_06_24_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbea2f43788007b4fc2b777dc2752334.jpg","text":"TemporaryFile(/tmp/multipartBody1250389495280437895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993703541,"filename":"image_17122025_18_06_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e64c15fdb46f2b24f429cc3ef2c33c4.jpg","text":"TemporaryFile(/tmp/multipartBody9216554497910914096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993703541,"filename":"image_17122025_18_05_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a010342217ce283b0a19e88c127d4a2c.jpg","text":"TemporaryFile(/tmp/multipartBody2580577949235751893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993703541,"filename":"image_17122025_18_06_14_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9100707211a51af2d8127cb566c2530.jpg","text":"TemporaryFile(/tmp/multipartBody6831302020170995493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993703541,"filename":"image_17122025_18_05_44_9921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1553612c97803b2058995e8e86f84c4c.jpg","text":"TemporaryFile(/tmp/multipartBody3495517936889043189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993703541,"filename":"image_17122025_18_05_53_9890.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816597","file1":"1399816595","file0":"1399816593","file4":"1399816601","file5":"1399816603","file3":"1399816599"},"map_files_photo_id_array":[{"photo_id":"1399816603","filename":"file5"},{"photo_id":"1399816597","filename":"file2"},{"photo_id":"1399816601","filename":"file4"},{"photo_id":"1399816595","filename":"file1"},{"photo_id":"1399816593","filename":"file0"},{"photo_id":"1399816599","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816601":["hashtag1","hashtag2"]},{"1399816603":["hashtag1","hashtag2"]},{"1399816593":["hashtag1","hashtag2"]},{"1399816599":["hashtag1","hashtag2"]},{"1399816595":["hashtag1","hashtag2"]},{"1399816597":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816601, 1399816603, 1399816593, 1399816599, 1399816595, 1399816597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40011119842529 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:48:02.966507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_43_9721.jpg', '/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_54_10691.jpg', '/home/pi/Desktop/images/17122025/18/06/image_17122025_18_07_04_9571.jpg', '/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_13_9665.jpg', '/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_24_10758.jpg', '/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_34_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_43_9721.jpg
/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_54_10691.jpg
/home/pi/Desktop/images/17122025/18/06/image_17122025_18_07_04_9571.jpg
/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_13_9665.jpg
/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_24_10758.jpg
/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_34_9845.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7754781246185303 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 18:48:12.516659
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:48:22.677096
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_43_9721.jpg', '/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_54_10691.jpg', '/home/pi/Desktop/images/17122025/18/06/image_17122025_18_07_04_9571.jpg', '/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_13_9665.jpg', '/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_24_10758.jpg', '/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_34_9845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_43_9721.jpg
/home/pi/Desktop/images/17122025/18/06/image_17122025_18_06_54_10691.jpg
/home/pi/Desktop/images/17122025/18/06/image_17122025_18_07_04_9571.jpg
/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_13_9665.jpg
/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_24_10758.jpg
/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_34_9845.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816627","1399816621","1399816629","1399816614","1399816617","1399816619"],"photo_ids_order":["1399816614","1399816617","1399816619","1399816621","1399816627","1399816629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a47b17ec9a1fbfefcde0ae25c72f3365.jpg","text":"TemporaryFile(/tmp/multipartBody5442471199696598483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993763631,"filename":"image_17122025_18_07_24_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/403752bfc239dbaa23136a970a85169b.jpg","text":"TemporaryFile(/tmp/multipartBody4048964987419096402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993763631,"filename":"image_17122025_18_07_13_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abeca45032b0e9c673959899bbc621fc.jpg","text":"TemporaryFile(/tmp/multipartBody215256118108900430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993763631,"filename":"image_17122025_18_07_34_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/276662886181026a59446fe936766743.jpg","text":"TemporaryFile(/tmp/multipartBody7051714353484516067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993763631,"filename":"image_17122025_18_06_43_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/007e3dd09f7d71ee7e03904c979fef6e.jpg","text":"TemporaryFile(/tmp/multipartBody5141369484773352320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993763631,"filename":"image_17122025_18_06_54_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c36a36b96c67bd095c49e075dbcc664.jpg","text":"TemporaryFile(/tmp/multipartBody8830459584164513568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993763631,"filename":"image_17122025_18_07_04_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816619","file1":"1399816617","file0":"1399816614","file4":"1399816627","file5":"1399816629","file3":"1399816621"},"map_files_photo_id_array":[{"photo_id":"1399816629","filename":"file5"},{"photo_id":"1399816619","filename":"file2"},{"photo_id":"1399816627","filename":"file4"},{"photo_id":"1399816617","filename":"file1"},{"photo_id":"1399816614","filename":"file0"},{"photo_id":"1399816621","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816627":["hashtag1","hashtag2"]},{"1399816621":["hashtag1","hashtag2"]},{"1399816629":["hashtag1","hashtag2"]},{"1399816614":["hashtag1","hashtag2"]},{"1399816617":["hashtag1","hashtag2"]},{"1399816619":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816627, 1399816621, 1399816629, 1399816614, 1399816617, 1399816619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50163555145264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:49:03.694595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_44_9751.jpg', '/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_53_9917.jpg', '/home/pi/Desktop/images/17122025/18/07/image_17122025_18_08_03_9649.jpg', '/home/pi/Desktop/images/17122025/18/08/image_17122025_18_08_14_10595.jpg', '/home/pi/Desktop/images/17122025/18/08/image_17122025_18_08_24_9845.jpg', '/home/pi/Desktop/images/17122025/18/08/image_17122025_18_08_43_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_44_9751.jpg
/home/pi/Desktop/images/17122025/18/07/image_17122025_18_07_53_9917.jpg
/home/pi/Desktop/images/17122025/18/07/image_17122025_18_08_03_9649.jpg
/home/pi/Desktop/images/17122025/18/08/image_17122025_18_08_14_10595.jpg
/home/pi/Desktop/images/17122025/18/08/image_17122025_18_08_24_9845.jpg
/home/pi/Desktop/images/17122025/18/08/image_17122025_18_08_43_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":["1399816798","1399816648","1399816686","1399816761","1399816839","1399816725"],"photo_ids_order":["1399816648","1399816686","1399816725","1399816761","1399816798","1399816839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36494ef1df5a5155903b315c266b1d7f.jpg","text":"TemporaryFile(/tmp/multipartBody2002431909454756804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993804743,"filename":"image_17122025_18_08_24_9845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d01f50bd8565a23ba2d3882188c22f5.jpg","text":"TemporaryFile(/tmp/multipartBody5278766666703184399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993804743,"filename":"image_17122025_18_07_44_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f488f9cd857111dd71ca55ec7170229.jpg","text":"TemporaryFile(/tmp/multipartBody1085623716112629428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993804743,"filename":"image_17122025_18_07_53_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6dc8836fb7f1cac5ef09ea93e2bf35d5.jpg","text":"TemporaryFile(/tmp/multipartBody1888363919443455904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993804743,"filename":"image_17122025_18_08_14_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9932172056e8d1712abfe093bab7fb1.jpg","text":"TemporaryFile(/tmp/multipartBody605000351804778706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993804743,"filename":"image_17122025_18_08_43_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/482198dfab60995f1abd969267c6288a.jpg","text":"TemporaryFile(/tmp/multipartBody462465785396110688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993804743,"filename":"image_17122025_18_08_03_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816725","file1":"1399816686","file0":"1399816648","file4":"1399816798","file5":"1399816839","file3":"1399816761"},"map_files_photo_id_array":[{"photo_id":"1399816839","filename":"file5"},{"photo_id":"1399816725","filename":"file2"},{"photo_id":"1399816798","filename":"file4"},{"photo_id":"1399816686","filename":"file1"},{"photo_id":"1399816648","filename":"file0"},{"photo_id":"1399816761","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816798":["hashtag1","hashtag2"]},{"1399816648":["hashtag1","hashtag2"]},{"1399816686":["hashtag1","hashtag2"]},{"1399816761":["hashtag1","hashtag2"]},{"1399816839":["hashtag1","hashtag2"]},{"1399816725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816798, 1399816648, 1399816686, 1399816761, 1399816839, 1399816725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.491520166397095 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:49:42.835603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_18_1742.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_19_1639.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_23_1590.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_25_2753.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_28_2666.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_31_2806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_18_1742.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_19_1639.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_23_1590.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_25_2753.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_28_2666.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_31_2806.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816912","1399816903","1399816911","1399816913","1399816901","1399816910"],"photo_ids_order":["1399816901","1399816903","1399816910","1399816911","1399816912","1399816913"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbd436ce61ddd5a6c9f6ac495e72b201.jpg","text":"TemporaryFile(/tmp/multipartBody1688335871445989434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993843835,"filename":"image_07112025_20_54_28_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac05e3615cff204e95d7812ff8a01ac5.jpg","text":"TemporaryFile(/tmp/multipartBody4197026599922930919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993843835,"filename":"image_07112025_20_54_19_1639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e3a13ef27ae1ca06228fb110714a34a.jpg","text":"TemporaryFile(/tmp/multipartBody4996834128563585184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993843835,"filename":"image_07112025_20_54_25_2753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1386a0357dfde08a82a155112d96e950.jpg","text":"TemporaryFile(/tmp/multipartBody1491290447243460884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993843835,"filename":"image_07112025_20_54_31_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4c5d8b28b701ef240f0292b8d919aee.jpg","text":"TemporaryFile(/tmp/multipartBody2480066421278977815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993843835,"filename":"image_07112025_20_54_18_1742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67715a55ab2c5537f3ff14cccdca4a37.jpg","text":"TemporaryFile(/tmp/multipartBody911254576873375795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993843835,"filename":"image_07112025_20_54_23_1590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816910","file1":"1399816903","file0":"1399816901","file4":"1399816912","file5":"1399816913","file3":"1399816911"},"map_files_photo_id_array":[{"photo_id":"1399816913","filename":"file5"},{"photo_id":"1399816910","filename":"file2"},{"photo_id":"1399816912","filename":"file4"},{"photo_id":"1399816903","filename":"file1"},{"photo_id":"1399816901","filename":"file0"},{"photo_id":"1399816911","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399816912":["hashtag1","hashtag2"]},{"1399816903":["hashtag1","hashtag2"]},{"1399816911":["hashtag1","hashtag2"]},{"1399816913":["hashtag1","hashtag2"]},{"1399816901":["hashtag1","hashtag2"]},{"1399816910":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399816912, 1399816903, 1399816911, 1399816913, 1399816901, 1399816910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.13384985923767 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:50:22.172942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/08/image_17122025_18_08_54_10631.jpg', '/home/pi/Desktop/images/17122025/18/09/image_17122025_18_09_13_9682.jpg', '/home/pi/Desktop/images/17122025/18/09/image_17122025_18_09_24_10635.jpg', '/home/pi/Desktop/images/17122025/18/09/image_17122025_18_09_33_9759.jpg', '/home/pi/Desktop/images/17122025/18/09/image_17122025_18_10_03_9745.jpg', '/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_13_9929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/08/image_17122025_18_08_54_10631.jpg
/home/pi/Desktop/images/17122025/18/09/image_17122025_18_09_13_9682.jpg
/home/pi/Desktop/images/17122025/18/09/image_17122025_18_09_24_10635.jpg
/home/pi/Desktop/images/17122025/18/09/image_17122025_18_09_33_9759.jpg
/home/pi/Desktop/images/17122025/18/09/image_17122025_18_10_03_9745.jpg
/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_13_9929.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816942","1399816927","1399816920","1399816923","1399816934","1399816925"],"photo_ids_order":["1399816920","1399816923","1399816925","1399816927","1399816934","1399816942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48cb89abcdcff114ea7235835f8ce0ac.jpg","text":"TemporaryFile(/tmp/multipartBody3479244517424280808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993883639,"filename":"image_17122025_18_10_13_9929.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69b9c9f4184ac94180fd8e039a1aa2c9.jpg","text":"TemporaryFile(/tmp/multipartBody3060419753294397779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993883639,"filename":"image_17122025_18_09_33_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5542d3198117d0c0c3d6ac8fb130f75.jpg","text":"TemporaryFile(/tmp/multipartBody753923298254012517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993883639,"filename":"image_17122025_18_08_54_10631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dd67654c76e45be7d2ae9043809f138.jpg","text":"TemporaryFile(/tmp/multipartBody8677347477713477135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993883639,"filename":"image_17122025_18_09_13_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ce75d31f86f40568a434a3527874e1f.jpg","text":"TemporaryFile(/tmp/multipartBody6282681630557224990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993883639,"filename":"image_17122025_18_10_03_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd12e8642dfba2015804113dae84a132.jpg","text":"TemporaryFile(/tmp/multipartBody4943901517508396880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993883639,"filename":"image_17122025_18_09_24_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816925","file1":"1399816923","file0":"1399816920","file4":"1399816934","file5":"1399816942","file3":"1399816927"},"map_files_photo_id_array":[{"photo_id":"1399816942","filename":"file5"},{"photo_id":"1399816925","filename":"file2"},{"photo_id":"1399816934","filename":"file4"},{"photo_id":"1399816923","filename":"file1"},{"photo_id":"1399816920","filename":"file0"},{"photo_id":"1399816927","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816942":["hashtag1","hashtag2"]},{"1399816927":["hashtag1","hashtag2"]},{"1399816920":["hashtag1","hashtag2"]},{"1399816923":["hashtag1","hashtag2"]},{"1399816934":["hashtag1","hashtag2"]},{"1399816925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816942, 1399816927, 1399816920, 1399816923, 1399816934, 1399816925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.92423057556152 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:51:02.940916
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_23_9787.jpg', '/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_34_10619.jpg', '/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_43_9734.jpg', '/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_53_9605.jpg', '/home/pi/Desktop/images/17122025/18/10/image_17122025_18_11_04_10727.jpg', '/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_13_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_23_9787.jpg
/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_34_10619.jpg
/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_43_9734.jpg
/home/pi/Desktop/images/17122025/18/10/image_17122025_18_10_53_9605.jpg
/home/pi/Desktop/images/17122025/18/10/image_17122025_18_11_04_10727.jpg
/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_13_9626.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816951","1399816953","1399816947","1399816956","1399816944","1399816949"],"photo_ids_order":["1399816944","1399816947","1399816949","1399816951","1399816953","1399816956"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5998188000a0040cbf85cc27875dd195.jpg","text":"TemporaryFile(/tmp/multipartBody5293562514386401000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993923860,"filename":"image_17122025_18_10_53_9605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/767ec3080ff717464f9c47ed623a8ba5.jpg","text":"TemporaryFile(/tmp/multipartBody7266418773035846720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993923860,"filename":"image_17122025_18_11_04_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d647d68939babe9fb54fcb747ee9c703.jpg","text":"TemporaryFile(/tmp/multipartBody2360456893081714069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993923860,"filename":"image_17122025_18_10_34_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee9fd4fe23684dc5a500a823d6e4cdb1.jpg","text":"TemporaryFile(/tmp/multipartBody3574604461384943542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993923860,"filename":"image_17122025_18_11_13_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4489cc1aa02eb6d4d5c88739ec9560b2.jpg","text":"TemporaryFile(/tmp/multipartBody1104684559482268144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993923860,"filename":"image_17122025_18_10_23_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38d15c5dbad9a2590404583cca710721.jpg","text":"TemporaryFile(/tmp/multipartBody7079463688687351086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993923860,"filename":"image_17122025_18_10_43_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816949","file1":"1399816947","file0":"1399816944","file4":"1399816953","file5":"1399816956","file3":"1399816951"},"map_files_photo_id_array":[{"photo_id":"1399816956","filename":"file5"},{"photo_id":"1399816949","filename":"file2"},{"photo_id":"1399816953","filename":"file4"},{"photo_id":"1399816947","filename":"file1"},{"photo_id":"1399816944","filename":"file0"},{"photo_id":"1399816951","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816951":["hashtag1","hashtag2"]},{"1399816953":["hashtag1","hashtag2"]},{"1399816947":["hashtag1","hashtag2"]},{"1399816956":["hashtag1","hashtag2"]},{"1399816944":["hashtag1","hashtag2"]},{"1399816949":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816951, 1399816953, 1399816947, 1399816956, 1399816944, 1399816949)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.779308795928955 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:52:03.066484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_23_9783.jpg', '/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_33_9907.jpg', '/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_44_10703.jpg', '/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_54_9948.jpg', '/home/pi/Desktop/images/17122025/18/11/image_17122025_18_12_04_9806.jpg', '/home/pi/Desktop/images/17122025/18/12/image_17122025_18_12_13_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_23_9783.jpg
/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_33_9907.jpg
/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_44_10703.jpg
/home/pi/Desktop/images/17122025/18/11/image_17122025_18_11_54_9948.jpg
/home/pi/Desktop/images/17122025/18/11/image_17122025_18_12_04_9806.jpg
/home/pi/Desktop/images/17122025/18/12/image_17122025_18_12_13_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":["1399816969","1399816963","1399816971","1399816965","1399816973","1399816967"],"photo_ids_order":["1399816963","1399816965","1399816967","1399816969","1399816971","1399816973"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2479f9c1e794ae3a43fdfda2c9f5f6c.jpg","text":"TemporaryFile(/tmp/multipartBody8850830989129637032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993983956,"filename":"image_17122025_18_11_54_9948.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91430c0d39815b6d2588f1bc681c6405.jpg","text":"TemporaryFile(/tmp/multipartBody6882158937173481158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993983956,"filename":"image_17122025_18_11_23_9783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/108cb20d473c8cb7a95806b26253bbbc.jpg","text":"TemporaryFile(/tmp/multipartBody8131658956078851120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993983956,"filename":"image_17122025_18_12_04_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38e786f64ba935f26751a9e28f80b239.jpg","text":"TemporaryFile(/tmp/multipartBody1685111852708643478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993983956,"filename":"image_17122025_18_11_33_9907.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43b09f83fa63dd2653c04c364123c7b7.jpg","text":"TemporaryFile(/tmp/multipartBody236790958555519999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993983956,"filename":"image_17122025_18_12_13_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9f96ca54337dafef25706fcf0e35b3a.jpg","text":"TemporaryFile(/tmp/multipartBody3373458293653654052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765993983956,"filename":"image_17122025_18_11_44_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816967","file1":"1399816965","file0":"1399816963","file4":"1399816971","file5":"1399816973","file3":"1399816969"},"map_files_photo_id_array":[{"photo_id":"1399816973","filename":"file5"},{"photo_id":"1399816967","filename":"file2"},{"photo_id":"1399816971","filename":"file4"},{"photo_id":"1399816965","filename":"file1"},{"photo_id":"1399816963","filename":"file0"},{"photo_id":"1399816969","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399816969":["hashtag1","hashtag2"]},{"1399816963":["hashtag1","hashtag2"]},{"1399816971":["hashtag1","hashtag2"]},{"1399816965":["hashtag1","hashtag2"]},{"1399816973":["hashtag1","hashtag2"]},{"1399816967":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399816969, 1399816963, 1399816971, 1399816965, 1399816973, 1399816967)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.11381006240845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:52:42.610676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_33_2627.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_37_3698.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_40_2573.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_46_3814.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_49_2666.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_51_2561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_33_2627.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_37_3698.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_40_2573.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_46_3814.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_49_2666.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_51_2561.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399816981","1399816984","1399816978","1399816983","1399816986","1399816985"],"photo_ids_order":["1399816978","1399816981","1399816983","1399816984","1399816985","1399816986"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17885b40efc1fe6c22fbdf348ad10e0f.jpg","text":"TemporaryFile(/tmp/multipartBody7294334841805429426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994023624,"filename":"image_07112025_20_54_37_3698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/197f0bf76cf47b8dc88b415b9da4b0ea.jpg","text":"TemporaryFile(/tmp/multipartBody9116435307110214584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994023624,"filename":"image_07112025_20_54_46_3814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de1d47b5b2dc29d05a766cb307e6ca17.jpg","text":"TemporaryFile(/tmp/multipartBody7492173050424530146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994023624,"filename":"image_07112025_20_54_33_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a6ddb3bc75475223b7cf4908da056b4.jpg","text":"TemporaryFile(/tmp/multipartBody1397927295987763289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994023624,"filename":"image_07112025_20_54_40_2573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4726589dac38d496899f15907f1cdf50.jpg","text":"TemporaryFile(/tmp/multipartBody3269174589457283568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994023624,"filename":"image_07112025_20_54_51_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fc19b37290416fa96942a49cf5f2481.jpg","text":"TemporaryFile(/tmp/multipartBody2179828631156898786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994023624,"filename":"image_07112025_20_54_49_2666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399816983","file1":"1399816981","file0":"1399816978","file4":"1399816985","file5":"1399816986","file3":"1399816984"},"map_files_photo_id_array":[{"photo_id":"1399816986","filename":"file5"},{"photo_id":"1399816983","filename":"file2"},{"photo_id":"1399816985","filename":"file4"},{"photo_id":"1399816981","filename":"file1"},{"photo_id":"1399816978","filename":"file0"},{"photo_id":"1399816984","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399816981":["hashtag1","hashtag2"]},{"1399816984":["hashtag1","hashtag2"]},{"1399816978":["hashtag1","hashtag2"]},{"1399816983":["hashtag1","hashtag2"]},{"1399816986":["hashtag1","hashtag2"]},{"1399816985":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399816981, 1399816984, 1399816978, 1399816983, 1399816986, 1399816985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.723180294036865 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:53:21.908890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/12/image_17122025_18_12_23_10060.jpg', '/home/pi/Desktop/images/17122025/18/12/image_17122025_18_12_54_10404.jpg', '/home/pi/Desktop/images/17122025/18/12/image_17122025_18_13_04_9760.jpg', '/home/pi/Desktop/images/17122025/18/13/image_17122025_18_13_13_9606.jpg', '/home/pi/Desktop/images/17122025/18/13/image_17122025_18_13_23_9853.jpg', '/home/pi/Desktop/images/17122025/18/13/image_17122025_18_13_44_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/12/image_17122025_18_12_23_10060.jpg
/home/pi/Desktop/images/17122025/18/12/image_17122025_18_12_54_10404.jpg
/home/pi/Desktop/images/17122025/18/12/image_17122025_18_13_04_9760.jpg
/home/pi/Desktop/images/17122025/18/13/image_17122025_18_13_13_9606.jpg
/home/pi/Desktop/images/17122025/18/13/image_17122025_18_13_23_9853.jpg
/home/pi/Desktop/images/17122025/18/13/image_17122025_18_13_44_9745.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399817002","1399817001","1399817004","1399817012","1399817009","1399817006"],"photo_ids_order":["1399817001","1399817002","1399817004","1399817006","1399817009","1399817012"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d69373f854ec28e7d952815d1cdac41.jpg","text":"TemporaryFile(/tmp/multipartBody7543092528833032522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994062831,"filename":"image_17122025_18_12_54_10404.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7fa5101542e8eded405384c1466e343.jpg","text":"TemporaryFile(/tmp/multipartBody7287605803094292218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994062831,"filename":"image_17122025_18_12_23_10060.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb3ee579511c54e03bb02d6433d44f7c.jpg","text":"TemporaryFile(/tmp/multipartBody5029454893007647178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994062831,"filename":"image_17122025_18_13_04_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82f70995fb941f3298a81b86d6523987.jpg","text":"TemporaryFile(/tmp/multipartBody969955753025726466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994062831,"filename":"image_17122025_18_13_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5987693250fa3892eab5c0c79e20f824.jpg","text":"TemporaryFile(/tmp/multipartBody2136484315780018990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994062831,"filename":"image_17122025_18_13_23_9853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b34e366467759547c57a619998e6248.jpg","text":"TemporaryFile(/tmp/multipartBody5488422340329056309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994062831,"filename":"image_17122025_18_13_13_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399817004","file1":"1399817002","file0":"1399817001","file4":"1399817009","file5":"1399817012","file3":"1399817006"},"map_files_photo_id_array":[{"photo_id":"1399817012","filename":"file5"},{"photo_id":"1399817004","filename":"file2"},{"photo_id":"1399817009","filename":"file4"},{"photo_id":"1399817002","filename":"file1"},{"photo_id":"1399817001","filename":"file0"},{"photo_id":"1399817006","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399817002":["hashtag1","hashtag2"]},{"1399817001":["hashtag1","hashtag2"]},{"1399817004":["hashtag1","hashtag2"]},{"1399817012":["hashtag1","hashtag2"]},{"1399817009":["hashtag1","hashtag2"]},{"1399817006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399817002, 1399817001, 1399817004, 1399817012, 1399817009, 1399817006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.362849712371826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:54:02.717288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/13/image_17122025_18_13_53_9762.jpg', '/home/pi/Desktop/images/17122025/18/13/image_17122025_18_14_04_10595.jpg', '/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_14_9633.jpg', '/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_23_9552.jpg', '/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_34_10764.jpg', '/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_44_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/13/image_17122025_18_13_53_9762.jpg
/home/pi/Desktop/images/17122025/18/13/image_17122025_18_14_04_10595.jpg
/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_14_9633.jpg
/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_23_9552.jpg
/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_34_10764.jpg
/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_44_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399817030","1399817033","1399817027","1399817021","1399817024","1399817018"],"photo_ids_order":["1399817018","1399817021","1399817024","1399817027","1399817030","1399817033"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af3b7c8112026e7206d3b44d68619256.jpg","text":"TemporaryFile(/tmp/multipartBody5868716689129724633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994103663,"filename":"image_17122025_18_14_34_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5038ddcee6e2dbeca110cfef38b6e10a.jpg","text":"TemporaryFile(/tmp/multipartBody9151605034797984532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994103663,"filename":"image_17122025_18_14_44_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bc20fac0d5673071eaf736e95dd0805.jpg","text":"TemporaryFile(/tmp/multipartBody1759759176177755827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994103663,"filename":"image_17122025_18_14_23_9552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e14ddcc51bca93121a974676df8adedc.jpg","text":"TemporaryFile(/tmp/multipartBody3187737460309061272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994103663,"filename":"image_17122025_18_14_04_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/760f832fc717ea47161117056302e897.jpg","text":"TemporaryFile(/tmp/multipartBody6432754150240007774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994103663,"filename":"image_17122025_18_14_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27f9c0f214f9a4c212c0b59e44152c79.jpg","text":"TemporaryFile(/tmp/multipartBody796138154138592413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994103663,"filename":"image_17122025_18_13_53_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399817024","file1":"1399817021","file0":"1399817018","file4":"1399817030","file5":"1399817033","file3":"1399817027"},"map_files_photo_id_array":[{"photo_id":"1399817033","filename":"file5"},{"photo_id":"1399817024","filename":"file2"},{"photo_id":"1399817030","filename":"file4"},{"photo_id":"1399817021","filename":"file1"},{"photo_id":"1399817018","filename":"file0"},{"photo_id":"1399817027","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399817030":["hashtag1","hashtag2"]},{"1399817033":["hashtag1","hashtag2"]},{"1399817027":["hashtag1","hashtag2"]},{"1399817021":["hashtag1","hashtag2"]},{"1399817024":["hashtag1","hashtag2"]},{"1399817018":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399817030, 1399817033, 1399817027, 1399817021, 1399817024, 1399817018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12353777885437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:54:42.031974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_55_3613.jpg', '/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_58_2639.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_06_2607.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_10_3653.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_13_2721.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_15_2657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_55_3613.jpg
/home/pi/Desktop/images/07112025/20/54/image_07112025_20_54_58_2639.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_06_2607.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_10_3653.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_13_2721.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_15_2657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399817050","1399817044","1399817046","1399817048","1399817042","1399817041"],"photo_ids_order":["1399817041","1399817042","1399817044","1399817046","1399817048","1399817050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79380319d9b8b8086319d27e63a913f2.jpg","text":"TemporaryFile(/tmp/multipartBody8490626441492996151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994143055,"filename":"image_07112025_20_55_15_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21f727aaf111715f1d29663f3ab3f1b2.jpg","text":"TemporaryFile(/tmp/multipartBody3390295782361782385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994143055,"filename":"image_07112025_20_55_06_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1b8e391aefc78d6ffd64baf3a77b7bb.jpg","text":"TemporaryFile(/tmp/multipartBody1566085595715082481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994143055,"filename":"image_07112025_20_55_10_3653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21675e8d4be1086945487726493a5b9f.jpg","text":"TemporaryFile(/tmp/multipartBody3245885200064460196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994143055,"filename":"image_07112025_20_55_13_2721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2b57d14596da540e339e3f4a322cc0f.jpg","text":"TemporaryFile(/tmp/multipartBody5078231373904441235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994143055,"filename":"image_07112025_20_54_58_2639.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d683df31135c5b533e9313830f04c1f1.jpg","text":"TemporaryFile(/tmp/multipartBody3357602669474329508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994143055,"filename":"image_07112025_20_54_55_3613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399817044","file1":"1399817042","file0":"1399817041","file4":"1399817048","file5":"1399817050","file3":"1399817046"},"map_files_photo_id_array":[{"photo_id":"1399817050","filename":"file5"},{"photo_id":"1399817044","filename":"file2"},{"photo_id":"1399817048","filename":"file4"},{"photo_id":"1399817042","filename":"file1"},{"photo_id":"1399817041","filename":"file0"},{"photo_id":"1399817046","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399817050":["hashtag1","hashtag2"]},{"1399817044":["hashtag1","hashtag2"]},{"1399817046":["hashtag1","hashtag2"]},{"1399817048":["hashtag1","hashtag2"]},{"1399817042":["hashtag1","hashtag2"]},{"1399817041":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399817050, 1399817044, 1399817046, 1399817048, 1399817042, 1399817041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51876187324524 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 18:55:22.410942
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_54_9815.jpg', '/home/pi/Desktop/images/17122025/18/14/image_17122025_18_15_03_9648.jpg', '/home/pi/Desktop/images/17122025/18/15/image_17122025_18_15_14_10726.jpg', '/home/pi/Desktop/images/17122025/18/15/image_17122025_18_15_24_9758.jpg', '/home/pi/Desktop/images/17122025/18/15/image_17122025_18_15_34_10042.jpg', '/home/pi/Desktop/images/17122025/18/15/image_17122025_18_15_53_9791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/14/image_17122025_18_14_54_9815.jpg
/home/pi/Desktop/images/17122025/18/14/image_17122025_18_15_03_9648.jpg
/home/pi/Desktop/images/17122025/18/15/image_17122025_18_15_14_10726.jpg
/home/pi/Desktop/images/17122025/18/15/image_17122025_18_15_24_9758.jpg
/home/pi/Desktop/images/17122025/18/15/image_17122025_18_15_34_10042.jpg
/home/pi/Desktop/images/17122025/18/15/image_17122025_18_15_53_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":["1399817059","1399817064","1399817067","1399817066","1399817062","1399817056"],"photo_ids_order":["1399817056","1399817059","1399817062","1399817064","1399817066","1399817067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/360fc6fd201777b15bcd29e733054e30.jpg","text":"TemporaryFile(/tmp/multipartBody9150667231882417614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994183332,"filename":"image_17122025_18_15_03_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bce3e34e4d2616b52b9ec3129197d20c.jpg","text":"TemporaryFile(/tmp/multipartBody4224457467571681402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994183332,"filename":"image_17122025_18_15_24_9758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72c0e7f2238f0bc235f2374f2213f636.jpg","text":"TemporaryFile(/tmp/multipartBody1885920989737081912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994183332,"filename":"image_17122025_18_15_53_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68bc7ac4664281be7d1f412f0b7c905b.jpg","text":"TemporaryFile(/tmp/multipartBody2393086126821360761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994183332,"filename":"image_17122025_18_15_34_10042.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b8444575d570f3f8cab41258ce2e392.jpg","text":"TemporaryFile(/tmp/multipartBody6438054212179024908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994183332,"filename":"image_17122025_18_15_14_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d33bd889550d2fc36dca97c6723231a1.jpg","text":"TemporaryFile(/tmp/multipartBody4475914886216552381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994183332,"filename":"image_17122025_18_14_54_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399817062","file1":"1399817059","file0":"1399817056","file4":"1399817066","file5":"1399817067","file3":"1399817064"},"map_files_photo_id_array":[{"photo_id":"1399817067","filename":"file5"},{"photo_id":"1399817062","filename":"file2"},{"photo_id":"1399817066","filename":"file4"},{"photo_id":"1399817059","filename":"file1"},{"photo_id":"1399817056","filename":"file0"},{"photo_id":"1399817064","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399817059":["hashtag1","hashtag2"]},{"1399817064":["hashtag1","hashtag2"]},{"1399817067":["hashtag1","hashtag2"]},{"1399817066":["hashtag1","hashtag2"]},{"1399817062":["hashtag1","hashtag2"]},{"1399817056":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399817059, 1399817064, 1399817067, 1399817066, 1399817062, 1399817056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.172295331954956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:56:02.921765
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/15/image_17122025_18_16_04_10794.jpg', '/home/pi/Desktop/images/17122025/18/16/image_17122025_18_16_14_9677.jpg', '/home/pi/Desktop/images/17122025/18/16/image_17122025_18_16_23_9759.jpg', '/home/pi/Desktop/images/17122025/18/16/image_17122025_18_16_44_10830.jpg', '/home/pi/Desktop/images/17122025/18/16/image_17122025_18_16_54_9735.jpg', '/home/pi/Desktop/images/17122025/18/17/image_17122025_18_17_13_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/15/image_17122025_18_16_04_10794.jpg
/home/pi/Desktop/images/17122025/18/16/image_17122025_18_16_14_9677.jpg
/home/pi/Desktop/images/17122025/18/16/image_17122025_18_16_23_9759.jpg
/home/pi/Desktop/images/17122025/18/16/image_17122025_18_16_44_10830.jpg
/home/pi/Desktop/images/17122025/18/16/image_17122025_18_16_54_9735.jpg
/home/pi/Desktop/images/17122025/18/17/image_17122025_18_17_13_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":["1399817070","1399817073","1399817076","1399817084","1399817080","1399817068"],"photo_ids_order":["1399817068","1399817070","1399817073","1399817076","1399817080","1399817084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba0e37593bd0b4a77fba1a31dc3f533c.jpg","text":"TemporaryFile(/tmp/multipartBody4357258545152364532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994224024,"filename":"image_17122025_18_16_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70c1904be8880b222bf20923047848cf.jpg","text":"TemporaryFile(/tmp/multipartBody5542915304445487654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994224024,"filename":"image_17122025_18_16_23_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f816aa3605bc96c13f6742d89c62826a.jpg","text":"TemporaryFile(/tmp/multipartBody1347920040205411523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994224024,"filename":"image_17122025_18_16_44_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01ec01f0891295d698dda95d6890b8ad.jpg","text":"TemporaryFile(/tmp/multipartBody981827171771079650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994224024,"filename":"image_17122025_18_17_13_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ae854d899bef3c95c0122ffad55722d.jpg","text":"TemporaryFile(/tmp/multipartBody4670565151877920994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994224024,"filename":"image_17122025_18_16_54_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59e4facd2875a6e4e671301d6b3aaa3a.jpg","text":"TemporaryFile(/tmp/multipartBody5571558009200720231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994224024,"filename":"image_17122025_18_16_04_10794.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399817073","file1":"1399817070","file0":"1399817068","file4":"1399817080","file5":"1399817084","file3":"1399817076"},"map_files_photo_id_array":[{"photo_id":"1399817084","filename":"file5"},{"photo_id":"1399817073","filename":"file2"},{"photo_id":"1399817080","filename":"file4"},{"photo_id":"1399817070","filename":"file1"},{"photo_id":"1399817068","filename":"file0"},{"photo_id":"1399817076","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399817070":["hashtag1","hashtag2"]},{"1399817073":["hashtag1","hashtag2"]},{"1399817076":["hashtag1","hashtag2"]},{"1399817084":["hashtag1","hashtag2"]},{"1399817080":["hashtag1","hashtag2"]},{"1399817068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399817070, 1399817073, 1399817076, 1399817084, 1399817080, 1399817068)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.01134014129639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:57:03.372740
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/17/image_17122025_18_17_24_10682.jpg', '/home/pi/Desktop/images/17122025/18/17/image_17122025_18_17_33_9611.jpg', '/home/pi/Desktop/images/17122025/18/17/image_17122025_18_18_04_10653.jpg', '/home/pi/Desktop/images/17122025/18/18/image_17122025_18_18_23_9716.jpg', '/home/pi/Desktop/images/17122025/18/18/image_17122025_18_18_34_10280.jpg', '/home/pi/Desktop/images/17122025/18/18/image_17122025_18_18_43_9288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/17/image_17122025_18_17_24_10682.jpg
/home/pi/Desktop/images/17122025/18/17/image_17122025_18_17_33_9611.jpg
/home/pi/Desktop/images/17122025/18/17/image_17122025_18_18_04_10653.jpg
/home/pi/Desktop/images/17122025/18/18/image_17122025_18_18_23_9716.jpg
/home/pi/Desktop/images/17122025/18/18/image_17122025_18_18_34_10280.jpg
/home/pi/Desktop/images/17122025/18/18/image_17122025_18_18_43_9288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399817097","1399817109","1399817100","1399817103","1399817106","1399817111"],"photo_ids_order":["1399817097","1399817100","1399817103","1399817106","1399817109","1399817111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d67ec1a12dca43f6d07ad522a74101b8.jpg","text":"TemporaryFile(/tmp/multipartBody4329459814315443814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994284432,"filename":"image_17122025_18_17_24_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5ac16db590cbed314b7eb5882c61c153.jpg","text":"TemporaryFile(/tmp/multipartBody1331162244823861431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994284432,"filename":"image_17122025_18_18_34_10280.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a405bf42dca6581793aa36c8d932da5.jpg","text":"TemporaryFile(/tmp/multipartBody4491135191345652089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994284432,"filename":"image_17122025_18_17_33_9611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/305bf5c3679d3b4aa9dd6e3d0188a8f3.jpg","text":"TemporaryFile(/tmp/multipartBody912320226424729927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994284432,"filename":"image_17122025_18_18_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57097234bb3dcafbac1703557191cf9a.jpg","text":"TemporaryFile(/tmp/multipartBody3955411574705449936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994284432,"filename":"image_17122025_18_18_23_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2aeb9422b878a3b695f9e949cc77c979.jpg","text":"TemporaryFile(/tmp/multipartBody4900403260676226525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994284432,"filename":"image_17122025_18_18_43_9288.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399817103","file1":"1399817100","file0":"1399817097","file4":"1399817109","file5":"1399817111","file3":"1399817106"},"map_files_photo_id_array":[{"photo_id":"1399817111","filename":"file5"},{"photo_id":"1399817103","filename":"file2"},{"photo_id":"1399817109","filename":"file4"},{"photo_id":"1399817100","filename":"file1"},{"photo_id":"1399817097","filename":"file0"},{"photo_id":"1399817106","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399817097":["hashtag1","hashtag2"]},{"1399817109":["hashtag1","hashtag2"]},{"1399817100":["hashtag1","hashtag2"]},{"1399817103":["hashtag1","hashtag2"]},{"1399817106":["hashtag1","hashtag2"]},{"1399817111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399817097, 1399817109, 1399817100, 1399817103, 1399817106, 1399817111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.838831186294556 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 18:57:42.741838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_22_2671.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_28_3671.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_31_2650.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_33_2539.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_37_3608.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_43_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_22_2671.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_28_3671.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_31_2650.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_33_2539.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_37_3608.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_43_3617.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399817122","1399817116","1399817124","1399817118","1399817120","1399817114"],"photo_ids_order":["1399817114","1399817116","1399817118","1399817120","1399817122","1399817124"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6cfb066fe2f018e480fac423be80379.jpg","text":"TemporaryFile(/tmp/multipartBody3765385645831502671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994323756,"filename":"image_07112025_20_55_37_3608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5b8df4a10a726c3c7d771bf82eebb7c.jpg","text":"TemporaryFile(/tmp/multipartBody3679546637136113946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994323756,"filename":"image_07112025_20_55_28_3671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9377eca24b9e1005d9855f2656e595e0.jpg","text":"TemporaryFile(/tmp/multipartBody8350206090013299193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994323756,"filename":"image_07112025_20_55_43_3617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b09939bec5980fa07bb4468aeed4dc6.jpg","text":"TemporaryFile(/tmp/multipartBody5064155414327300311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994323756,"filename":"image_07112025_20_55_31_2650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f8b401b8ff3d96443121268cddcbe68.jpg","text":"TemporaryFile(/tmp/multipartBody4592652308088747562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994323756,"filename":"image_07112025_20_55_33_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68224207931447868b04b09d6b925e47.jpg","text":"TemporaryFile(/tmp/multipartBody6957230631034725094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994323756,"filename":"image_07112025_20_55_22_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399817118","file1":"1399817116","file0":"1399817114","file4":"1399817122","file5":"1399817124","file3":"1399817120"},"map_files_photo_id_array":[{"photo_id":"1399817124","filename":"file5"},{"photo_id":"1399817118","filename":"file2"},{"photo_id":"1399817122","filename":"file4"},{"photo_id":"1399817116","filename":"file1"},{"photo_id":"1399817114","filename":"file0"},{"photo_id":"1399817120","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399817122":["hashtag1","hashtag2"]},{"1399817116":["hashtag1","hashtag2"]},{"1399817124":["hashtag1","hashtag2"]},{"1399817118":["hashtag1","hashtag2"]},{"1399817120":["hashtag1","hashtag2"]},{"1399817114":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399817122, 1399817116, 1399817124, 1399817118, 1399817120, 1399817114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1459527015686 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 18:59:03.127092
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/18/image_17122025_18_18_54_10687.jpg', '/home/pi/Desktop/images/17122025/18/18/image_17122025_18_19_03_9703.jpg', '/home/pi/Desktop/images/17122025/18/19/image_17122025_18_19_13_9850.jpg', '/home/pi/Desktop/images/17122025/18/19/image_17122025_18_19_43_9703.jpg', '/home/pi/Desktop/images/17122025/18/19/image_17122025_18_19_53_9826.jpg', '/home/pi/Desktop/images/17122025/18/19/image_17122025_18_20_04_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/18/image_17122025_18_18_54_10687.jpg
/home/pi/Desktop/images/17122025/18/18/image_17122025_18_19_03_9703.jpg
/home/pi/Desktop/images/17122025/18/19/image_17122025_18_19_13_9850.jpg
/home/pi/Desktop/images/17122025/18/19/image_17122025_18_19_43_9703.jpg
/home/pi/Desktop/images/17122025/18/19/image_17122025_18_19_53_9826.jpg
/home/pi/Desktop/images/17122025/18/19/image_17122025_18_20_04_10643.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":["1399818081","1399818362","1399818157","1399818002","1399818268","1399817903"],"photo_ids_order":["1399817903","1399818002","1399818081","1399818157","1399818268","1399818362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e2cade7755f896ba483f68fb7509eb9.jpg","text":"TemporaryFile(/tmp/multipartBody7540994047116074023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994404223,"filename":"image_17122025_18_19_13_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82853ffc7d6c12d5268537bc5a0a15a5.jpg","text":"TemporaryFile(/tmp/multipartBody2564835580015456210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994404223,"filename":"image_17122025_18_20_04_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0de76f1f13bd68b62ef9bebe53a79bb8.jpg","text":"TemporaryFile(/tmp/multipartBody438211839053758907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994404223,"filename":"image_17122025_18_19_43_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d697f5943ebb5575606ab6d2e8072a7.jpg","text":"TemporaryFile(/tmp/multipartBody5944116233010343503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994404223,"filename":"image_17122025_18_19_03_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2b3bf8dd5962f8c2f91952bfcf05685.jpg","text":"TemporaryFile(/tmp/multipartBody1242127665135222547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994404223,"filename":"image_17122025_18_19_53_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4c24a3df8f354faf19a1b1a613f683e.jpg","text":"TemporaryFile(/tmp/multipartBody2954340707486690427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994404223,"filename":"image_17122025_18_18_54_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399818081","file1":"1399818002","file0":"1399817903","file4":"1399818268","file5":"1399818362","file3":"1399818157"},"map_files_photo_id_array":[{"photo_id":"1399818362","filename":"file5"},{"photo_id":"1399818081","filename":"file2"},{"photo_id":"1399818268","filename":"file4"},{"photo_id":"1399818002","filename":"file1"},{"photo_id":"1399817903","filename":"file0"},{"photo_id":"1399818157","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399818081":["hashtag1","hashtag2"]},{"1399818362":["hashtag1","hashtag2"]},{"1399818157":["hashtag1","hashtag2"]},{"1399818002":["hashtag1","hashtag2"]},{"1399818268":["hashtag1","hashtag2"]},{"1399817903":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399818081, 1399818362, 1399818157, 1399818002, 1399818268, 1399817903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.60674333572388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:00:02.900189
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/20/image_17122025_18_20_14_9810.jpg', '/home/pi/Desktop/images/17122025/18/20/image_17122025_18_20_23_9649.jpg', '/home/pi/Desktop/images/17122025/18/20/image_17122025_18_20_44_9754.jpg', '/home/pi/Desktop/images/17122025/18/20/image_17122025_18_20_53_9825.jpg', '/home/pi/Desktop/images/17122025/18/20/image_17122025_18_21_03_9691.jpg', '/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_14_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/20/image_17122025_18_20_14_9810.jpg
/home/pi/Desktop/images/17122025/18/20/image_17122025_18_20_23_9649.jpg
/home/pi/Desktop/images/17122025/18/20/image_17122025_18_20_44_9754.jpg
/home/pi/Desktop/images/17122025/18/20/image_17122025_18_20_53_9825.jpg
/home/pi/Desktop/images/17122025/18/20/image_17122025_18_21_03_9691.jpg
/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_14_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":["1399818480","1399818545","1399818506","1399818589","1399818478","1399818643"],"photo_ids_order":["1399818478","1399818480","1399818506","1399818545","1399818589","1399818643"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/298a5610aef212221bf021bcea7b8e7b.jpg","text":"TemporaryFile(/tmp/multipartBody6692499500388734557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994463794,"filename":"image_17122025_18_20_23_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6b3551af38c558d10083e086d928926.jpg","text":"TemporaryFile(/tmp/multipartBody1336287175276109591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994463794,"filename":"image_17122025_18_20_53_9825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf45373c7ed1940489d8e1aebfa21516.jpg","text":"TemporaryFile(/tmp/multipartBody7331124476859481175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994463794,"filename":"image_17122025_18_20_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ebf87b5cc63959f7321380cde5b6a89.jpg","text":"TemporaryFile(/tmp/multipartBody7501445820105857064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994463794,"filename":"image_17122025_18_21_03_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d85059cb86eb69805230d957c7b2f6be.jpg","text":"TemporaryFile(/tmp/multipartBody5815207432483342200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994463794,"filename":"image_17122025_18_20_14_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3c602b5d83d4ac4241087c2cafce83a.jpg","text":"TemporaryFile(/tmp/multipartBody3523881341781200964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994463794,"filename":"image_17122025_18_21_14_10700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399818506","file1":"1399818480","file0":"1399818478","file4":"1399818589","file5":"1399818643","file3":"1399818545"},"map_files_photo_id_array":[{"photo_id":"1399818643","filename":"file5"},{"photo_id":"1399818506","filename":"file2"},{"photo_id":"1399818589","filename":"file4"},{"photo_id":"1399818480","filename":"file1"},{"photo_id":"1399818478","filename":"file0"},{"photo_id":"1399818545","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399818480":["hashtag1","hashtag2"]},{"1399818545":["hashtag1","hashtag2"]},{"1399818506":["hashtag1","hashtag2"]},{"1399818589":["hashtag1","hashtag2"]},{"1399818478":["hashtag1","hashtag2"]},{"1399818643":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399818480, 1399818545, 1399818506, 1399818589, 1399818478, 1399818643)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.917316913604736 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:01:03.281779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_24_9776.jpg', '/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_33_9703.jpg', '/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_43_9762.jpg', '/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_53_10112.jpg', '/home/pi/Desktop/images/17122025/18/21/image_17122025_18_22_04_10804.jpg', '/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_14_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_24_9776.jpg
/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_33_9703.jpg
/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_43_9762.jpg
/home/pi/Desktop/images/17122025/18/21/image_17122025_18_21_53_10112.jpg
/home/pi/Desktop/images/17122025/18/21/image_17122025_18_22_04_10804.jpg
/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_14_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":["1399819512","1399819410","1399819261","1399819306","1399819344","1399819473"],"photo_ids_order":["1399819261","1399819306","1399819344","1399819410","1399819473","1399819512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ccb1434d631eb5c1b7854cc759bbd019.jpg","text":"TemporaryFile(/tmp/multipartBody4112039474220326515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994524199,"filename":"image_17122025_18_22_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c77cb9729dc35179db83a8bac31da41d.jpg","text":"TemporaryFile(/tmp/multipartBody7247039547958270299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994524199,"filename":"image_17122025_18_21_53_10112.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be145064c783155a05aad3c00ab09740.jpg","text":"TemporaryFile(/tmp/multipartBody7363608595330422748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994524199,"filename":"image_17122025_18_21_24_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff45950f31325196c7b3a3abfd3aceef.jpg","text":"TemporaryFile(/tmp/multipartBody6600975577360093640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994524199,"filename":"image_17122025_18_21_33_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b16ec3ab51c6c73c9cf9cbf239196c09.jpg","text":"TemporaryFile(/tmp/multipartBody2440448441320717385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994524199,"filename":"image_17122025_18_21_43_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/888fdd408c244931e2fabd9b05554db6.jpg","text":"TemporaryFile(/tmp/multipartBody1648861405514924725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994524199,"filename":"image_17122025_18_22_04_10804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399819344","file1":"1399819306","file0":"1399819261","file4":"1399819473","file5":"1399819512","file3":"1399819410"},"map_files_photo_id_array":[{"photo_id":"1399819512","filename":"file5"},{"photo_id":"1399819344","filename":"file2"},{"photo_id":"1399819473","filename":"file4"},{"photo_id":"1399819306","filename":"file1"},{"photo_id":"1399819261","filename":"file0"},{"photo_id":"1399819410","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399819512":["hashtag1","hashtag2"]},{"1399819410":["hashtag1","hashtag2"]},{"1399819261":["hashtag1","hashtag2"]},{"1399819306":["hashtag1","hashtag2"]},{"1399819344":["hashtag1","hashtag2"]},{"1399819473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399819512, 1399819410, 1399819261, 1399819306, 1399819344, 1399819473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19910287857056 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:01:42.692504
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_46_2765.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_49_2702.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_51_2662.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_55_3803.jpg', '/home/pi/Desktop/images/07112025/20/55/image_07112025_20_56_00_2587.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_04_3596.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_46_2765.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_49_2702.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_51_2662.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_55_55_3803.jpg
/home/pi/Desktop/images/07112025/20/55/image_07112025_20_56_00_2587.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_04_3596.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399819682","1399819679","1399819681","1399819675","1399819678","1399819680"],"photo_ids_order":["1399819675","1399819678","1399819679","1399819680","1399819681","1399819682"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bb3aa2232deee6929a74ef512feec0b.jpg","text":"TemporaryFile(/tmp/multipartBody6677953075709933636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994563767,"filename":"image_07112025_20_56_04_3596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbe36222afc9fa614fab76b90f1ae818.jpg","text":"TemporaryFile(/tmp/multipartBody8553241386664355806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994563767,"filename":"image_07112025_20_55_51_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d84ce0fb1de187609cb9ec80ea00b1e4.jpg","text":"TemporaryFile(/tmp/multipartBody1366705668005059899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994563767,"filename":"image_07112025_20_56_00_2587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/428c3036f2be4698af3d7ed0f4ddca50.jpg","text":"TemporaryFile(/tmp/multipartBody1338384223710993889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994563767,"filename":"image_07112025_20_55_46_2765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69a9fd5cb1253b1b54339c791ab30f8c.jpg","text":"TemporaryFile(/tmp/multipartBody2208783644892996025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994563767,"filename":"image_07112025_20_55_49_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58852dc9058836ac819b5bb17521edd6.jpg","text":"TemporaryFile(/tmp/multipartBody4923252815201666016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994563767,"filename":"image_07112025_20_55_55_3803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399819679","file1":"1399819678","file0":"1399819675","file4":"1399819681","file5":"1399819682","file3":"1399819680"},"map_files_photo_id_array":[{"photo_id":"1399819682","filename":"file5"},{"photo_id":"1399819679","filename":"file2"},{"photo_id":"1399819681","filename":"file4"},{"photo_id":"1399819678","filename":"file1"},{"photo_id":"1399819675","filename":"file0"},{"photo_id":"1399819680","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399819682":["hashtag1","hashtag2"]},{"1399819679":["hashtag1","hashtag2"]},{"1399819681":["hashtag1","hashtag2"]},{"1399819675":["hashtag1","hashtag2"]},{"1399819678":["hashtag1","hashtag2"]},{"1399819680":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399819682, 1399819679, 1399819681, 1399819675, 1399819678, 1399819680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6377272605896 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:02:21.975383
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_24_10379.jpg', '/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_34_9671.jpg', '/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_43_9698.jpg', '/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_53_9892.jpg', '/home/pi/Desktop/images/17122025/18/22/image_17122025_18_23_04_10720.jpg', '/home/pi/Desktop/images/17122025/18/23/image_17122025_18_23_14_9602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_24_10379.jpg
/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_34_9671.jpg
/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_43_9698.jpg
/home/pi/Desktop/images/17122025/18/22/image_17122025_18_22_53_9892.jpg
/home/pi/Desktop/images/17122025/18/22/image_17122025_18_23_04_10720.jpg
/home/pi/Desktop/images/17122025/18/23/image_17122025_18_23_14_9602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399819800","1399819837","1399819872","1399819683","1399819758","1399819722"],"photo_ids_order":["1399819683","1399819722","1399819758","1399819800","1399819837","1399819872"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a644c8747c00c4a55a4939e5b1fd1f41.jpg","text":"TemporaryFile(/tmp/multipartBody1464374590673890482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994603282,"filename":"image_17122025_18_22_53_9892.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ccc40dc9cedc58688c5b3e775a09c3e.jpg","text":"TemporaryFile(/tmp/multipartBody3414471943760697417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994603282,"filename":"image_17122025_18_23_04_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce40db22781a7fcdd76084605d5f5861.jpg","text":"TemporaryFile(/tmp/multipartBody6383275533339927328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994603282,"filename":"image_17122025_18_23_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4e24e9d8fa9bfdc0c83a927be2efa5e.jpg","text":"TemporaryFile(/tmp/multipartBody6811542428289374176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994603282,"filename":"image_17122025_18_22_24_10379.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/98ba40fdc060103b44a2c35ee211dd2c.jpg","text":"TemporaryFile(/tmp/multipartBody3287500361487638305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994603282,"filename":"image_17122025_18_22_43_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d34daaff5c9bd196f98eb5ff918a583e.jpg","text":"TemporaryFile(/tmp/multipartBody6133996321038017749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994603282,"filename":"image_17122025_18_22_34_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399819758","file1":"1399819722","file0":"1399819683","file4":"1399819837","file5":"1399819872","file3":"1399819800"},"map_files_photo_id_array":[{"photo_id":"1399819872","filename":"file5"},{"photo_id":"1399819758","filename":"file2"},{"photo_id":"1399819837","filename":"file4"},{"photo_id":"1399819722","filename":"file1"},{"photo_id":"1399819683","filename":"file0"},{"photo_id":"1399819800","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399819800":["hashtag1","hashtag2"]},{"1399819837":["hashtag1","hashtag2"]},{"1399819872":["hashtag1","hashtag2"]},{"1399819683":["hashtag1","hashtag2"]},{"1399819758":["hashtag1","hashtag2"]},{"1399819722":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399819800, 1399819837, 1399819872, 1399819683, 1399819758, 1399819722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.63627529144287 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 10 --only_old 1
2025-12-17 19:03:12.134683
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:03:22.200095
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/23/image_17122025_18_23_23_9623.jpg', '/home/pi/Desktop/images/17122025/18/23/image_17122025_18_23_43_9617.jpg', '/home/pi/Desktop/images/17122025/18/24/image_17122025_18_24_14_10611.jpg', '/home/pi/Desktop/images/17122025/18/24/image_17122025_18_24_34_10050.jpg', '/home/pi/Desktop/images/17122025/18/24/image_17122025_18_24_43_9705.jpg', '/home/pi/Desktop/images/17122025/18/24/image_17122025_18_24_54_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/23/image_17122025_18_23_23_9623.jpg
/home/pi/Desktop/images/17122025/18/23/image_17122025_18_23_43_9617.jpg
/home/pi/Desktop/images/17122025/18/24/image_17122025_18_24_14_10611.jpg
/home/pi/Desktop/images/17122025/18/24/image_17122025_18_24_34_10050.jpg
/home/pi/Desktop/images/17122025/18/24/image_17122025_18_24_43_9705.jpg
/home/pi/Desktop/images/17122025/18/24/image_17122025_18_24_54_10694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399820190","1399820070","1399820232","1399820112","1399820275","1399820149"],"photo_ids_order":["1399820070","1399820112","1399820149","1399820190","1399820232","1399820275"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f614f3a1905625f468d67508cffe9a76.jpg","text":"TemporaryFile(/tmp/multipartBody7498939308399603100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994663520,"filename":"image_17122025_18_24_34_10050.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2de408bcfb663165c200f99601659d7c.jpg","text":"TemporaryFile(/tmp/multipartBody650391265617499472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994663520,"filename":"image_17122025_18_23_23_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b404e940d6842584a0c71b9d0d2bb2d.jpg","text":"TemporaryFile(/tmp/multipartBody3947945565019751817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994663520,"filename":"image_17122025_18_24_43_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59b353c0b9978c0090e4d823ad2f9e05.jpg","text":"TemporaryFile(/tmp/multipartBody2433208822240453626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994663520,"filename":"image_17122025_18_23_43_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8ac1a6c8706c8cc5802a82d9f461b76.jpg","text":"TemporaryFile(/tmp/multipartBody1501713197529801024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994663520,"filename":"image_17122025_18_24_54_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4683a4c1418b0044cc9fb2fab3454a7.jpg","text":"TemporaryFile(/tmp/multipartBody8401010327755123263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994663520,"filename":"image_17122025_18_24_14_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399820149","file1":"1399820112","file0":"1399820070","file4":"1399820232","file5":"1399820275","file3":"1399820190"},"map_files_photo_id_array":[{"photo_id":"1399820275","filename":"file5"},{"photo_id":"1399820149","filename":"file2"},{"photo_id":"1399820232","filename":"file4"},{"photo_id":"1399820112","filename":"file1"},{"photo_id":"1399820070","filename":"file0"},{"photo_id":"1399820190","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399820190":["hashtag1","hashtag2"]},{"1399820070":["hashtag1","hashtag2"]},{"1399820232":["hashtag1","hashtag2"]},{"1399820112":["hashtag1","hashtag2"]},{"1399820275":["hashtag1","hashtag2"]},{"1399820149":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399820190, 1399820070, 1399820232, 1399820112, 1399820275, 1399820149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.0090754032135 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:04:12.487075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:04:22.661004
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_13_9603.jpg', '/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_34_10793.jpg', '/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_44_9708.jpg', '/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_53_9757.jpg', '/home/pi/Desktop/images/17122025/18/25/image_17122025_18_26_03_9781.jpg', '/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_14_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_13_9603.jpg
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_34_10793.jpg
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_44_9708.jpg
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_53_9757.jpg
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_26_03_9781.jpg
/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_14_10723.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.827556848526001 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:04:32.535400
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:04:42.479951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_09_2820.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_13_3642.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_16_2654.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_18_2674.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_22_3733.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_25_2696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_09_2820.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_13_3642.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_16_2654.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_18_2674.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_22_3733.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_25_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":["1399820553","1399820556","1399820565","1399820564","1399820600","1399820563"],"photo_ids_order":["1399820553","1399820556","1399820563","1399820564","1399820565","1399820600"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87ec258ccdd7e21fc1dddc9c0d0120c2.jpg","text":"TemporaryFile(/tmp/multipartBody8404505395101847398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994743531,"filename":"image_07112025_20_56_09_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02ff655afb3eb36b167e36a864292ec8.jpg","text":"TemporaryFile(/tmp/multipartBody2962212113864909729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994743531,"filename":"image_07112025_20_56_13_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61beb27986625c7fbdc2a4c0b9928026.jpg","text":"TemporaryFile(/tmp/multipartBody7185767056202723019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994743531,"filename":"image_07112025_20_56_22_3733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3e090d8f69fa5814fa55f5faf4261ba.jpg","text":"TemporaryFile(/tmp/multipartBody8036083643033104989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994743531,"filename":"image_07112025_20_56_18_2674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4f614acc30605b6dea88b9484dd4709.jpg","text":"TemporaryFile(/tmp/multipartBody7384831159575807831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994743531,"filename":"image_07112025_20_56_25_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5e29427a1dd6f122ed2a8bc4c5d9366.jpg","text":"TemporaryFile(/tmp/multipartBody4692583431777846297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994743531,"filename":"image_07112025_20_56_16_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399820563","file1":"1399820556","file0":"1399820553","file4":"1399820565","file5":"1399820600","file3":"1399820564"},"map_files_photo_id_array":[{"photo_id":"1399820600","filename":"file5"},{"photo_id":"1399820563","filename":"file2"},{"photo_id":"1399820565","filename":"file4"},{"photo_id":"1399820556","filename":"file1"},{"photo_id":"1399820553","filename":"file0"},{"photo_id":"1399820564","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399820553":["hashtag1","hashtag2"]},{"1399820556":["hashtag1","hashtag2"]},{"1399820565":["hashtag1","hashtag2"]},{"1399820564":["hashtag1","hashtag2"]},{"1399820600":["hashtag1","hashtag2"]},{"1399820563":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399820553, 1399820556, 1399820565, 1399820564, 1399820600, 1399820563)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.222835302352905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:05:22.738693
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_13_9603.jpg', '/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_34_10793.jpg', '/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_44_9708.jpg', '/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_53_9757.jpg', '/home/pi/Desktop/images/17122025/18/25/image_17122025_18_26_03_9781.jpg', '/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_14_10723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_13_9603.jpg
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_34_10793.jpg
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_44_9708.jpg
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_25_53_9757.jpg
/home/pi/Desktop/images/17122025/18/25/image_17122025_18_26_03_9781.jpg
/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_14_10723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399820780","1399820825","1399820810","1399820782","1399820764","1399820725"],"photo_ids_order":["1399820725","1399820764","1399820780","1399820782","1399820810","1399820825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a5d77caaa4515d52d066f6bba23c6ef.jpg","text":"TemporaryFile(/tmp/multipartBody2460481969919622960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994783810,"filename":"image_17122025_18_25_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55c395bcd78b44b031d3a8625304ab94.jpg","text":"TemporaryFile(/tmp/multipartBody3208697856989040729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994783810,"filename":"image_17122025_18_26_14_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/227254a12c8948c71e8b4510856992ea.jpg","text":"TemporaryFile(/tmp/multipartBody7163965254782220651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994783810,"filename":"image_17122025_18_26_03_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/480c3f3a4301283ae87032a82fd4faec.jpg","text":"TemporaryFile(/tmp/multipartBody3851585616925848816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994783810,"filename":"image_17122025_18_25_53_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5bb4afdf69246473f96f3253490e4bc.jpg","text":"TemporaryFile(/tmp/multipartBody4014757677051379399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994783810,"filename":"image_17122025_18_25_34_10793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/050627151b4c487d1b5d9e5d04dba39f.jpg","text":"TemporaryFile(/tmp/multipartBody4194978048732818204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994783810,"filename":"image_17122025_18_25_13_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399820780","file1":"1399820764","file0":"1399820725","file4":"1399820810","file5":"1399820825","file3":"1399820782"},"map_files_photo_id_array":[{"photo_id":"1399820825","filename":"file5"},{"photo_id":"1399820780","filename":"file2"},{"photo_id":"1399820810","filename":"file4"},{"photo_id":"1399820764","filename":"file1"},{"photo_id":"1399820725","filename":"file0"},{"photo_id":"1399820782","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399820780":["hashtag1","hashtag2"]},{"1399820825":["hashtag1","hashtag2"]},{"1399820810":["hashtag1","hashtag2"]},{"1399820782":["hashtag1","hashtag2"]},{"1399820764":["hashtag1","hashtag2"]},{"1399820725":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399820780, 1399820825, 1399820810, 1399820782, 1399820764, 1399820725)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.430092573165894 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:06:12.049869
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:06:21.924140
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_24_9645.jpg', '/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_33_9570.jpg', '/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_44_10818.jpg', '/home/pi/Desktop/images/17122025/18/26/image_17122025_18_27_03_9627.jpg', '/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_14_10726.jpg', '/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_24_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_24_9645.jpg
/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_33_9570.jpg
/home/pi/Desktop/images/17122025/18/26/image_17122025_18_26_44_10818.jpg
/home/pi/Desktop/images/17122025/18/26/image_17122025_18_27_03_9627.jpg
/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_14_10726.jpg
/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_24_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":["1399820892","1399820888","1399820882","1399820885","1399820890","1399820887"],"photo_ids_order":["1399820882","1399820885","1399820887","1399820888","1399820890","1399820892"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/966cf36e027fba94cdcf205385194acc.jpg","text":"TemporaryFile(/tmp/multipartBody3299493541465462797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994842868,"filename":"image_17122025_18_27_24_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc9543f96cd2540828ba521995658e33.jpg","text":"TemporaryFile(/tmp/multipartBody4597479791220689178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994842868,"filename":"image_17122025_18_27_03_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b79476ea4d503bb0466da125ec904da7.jpg","text":"TemporaryFile(/tmp/multipartBody3443741711322362687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994842868,"filename":"image_17122025_18_26_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac16baadb4f04d90b2d7f0778e14212d.jpg","text":"TemporaryFile(/tmp/multipartBody8228984969960252421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994842868,"filename":"image_17122025_18_26_33_9570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe396c0e41f8c4eeaf1a2587e87b9b1f.jpg","text":"TemporaryFile(/tmp/multipartBody8060675913768553033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994842868,"filename":"image_17122025_18_27_14_10726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce022690e9b9091dec98852dc62a0f15.jpg","text":"TemporaryFile(/tmp/multipartBody3297276148894505305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994842868,"filename":"image_17122025_18_26_44_10818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399820887","file1":"1399820885","file0":"1399820882","file4":"1399820890","file5":"1399820892","file3":"1399820888"},"map_files_photo_id_array":[{"photo_id":"1399820892","filename":"file5"},{"photo_id":"1399820887","filename":"file2"},{"photo_id":"1399820890","filename":"file4"},{"photo_id":"1399820885","filename":"file1"},{"photo_id":"1399820882","filename":"file0"},{"photo_id":"1399820888","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399820892":["hashtag1","hashtag2"]},{"1399820888":["hashtag1","hashtag2"]},{"1399820882":["hashtag1","hashtag2"]},{"1399820885":["hashtag1","hashtag2"]},{"1399820890":["hashtag1","hashtag2"]},{"1399820887":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399820892, 1399820888, 1399820882, 1399820885, 1399820890, 1399820887)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.70240378379822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:07:02.806019
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_33_9706.jpg', '/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_43_9755.jpg', '/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_54_10772.jpg', '/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_14_9977.jpg', '/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_24_10228.jpg', '/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_33_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_33_9706.jpg
/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_43_9755.jpg
/home/pi/Desktop/images/17122025/18/27/image_17122025_18_27_54_10772.jpg
/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_14_9977.jpg
/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_24_10228.jpg
/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_33_9722.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399820913","1399820927","1399820915","1399820917","1399820911","1399820914"],"photo_ids_order":["1399820911","1399820913","1399820914","1399820915","1399820917","1399820927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6111caa8ccb6422a456a30b1c77c5b5d.jpg","text":"TemporaryFile(/tmp/multipartBody2051383480408175909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994883704,"filename":"image_17122025_18_27_43_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8698b7234a1aca8989629b2d051c7243.jpg","text":"TemporaryFile(/tmp/multipartBody9221015360437113294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994883704,"filename":"image_17122025_18_28_33_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/179d1e3f92e30735fbdcd87fc3587beb.jpg","text":"TemporaryFile(/tmp/multipartBody5140096024487622003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994883704,"filename":"image_17122025_18_28_14_9977.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/388a37b389090e1238e6f85ec7bf7c84.jpg","text":"TemporaryFile(/tmp/multipartBody6761770882062754276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994883704,"filename":"image_17122025_18_28_24_10228.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/215fdd898b7b8530b4847440b0b512bb.jpg","text":"TemporaryFile(/tmp/multipartBody501779515042671297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994883704,"filename":"image_17122025_18_27_33_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4cf27bc5c11c0f7611194acadd984b2.jpg","text":"TemporaryFile(/tmp/multipartBody2661727600493850900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994883704,"filename":"image_17122025_18_27_54_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399820914","file1":"1399820913","file0":"1399820911","file4":"1399820917","file5":"1399820927","file3":"1399820915"},"map_files_photo_id_array":[{"photo_id":"1399820927","filename":"file5"},{"photo_id":"1399820914","filename":"file2"},{"photo_id":"1399820917","filename":"file4"},{"photo_id":"1399820913","filename":"file1"},{"photo_id":"1399820911","filename":"file0"},{"photo_id":"1399820915","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399820913":["hashtag1","hashtag2"]},{"1399820927":["hashtag1","hashtag2"]},{"1399820915":["hashtag1","hashtag2"]},{"1399820917":["hashtag1","hashtag2"]},{"1399820911":["hashtag1","hashtag2"]},{"1399820914":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399820913, 1399820927, 1399820915, 1399820917, 1399820911, 1399820914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.17759323120117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:08:03.072246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_43_9771.jpg', '/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_54_10674.jpg', '/home/pi/Desktop/images/17122025/18/28/image_17122025_18_29_04_9767.jpg', '/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_13_9649.jpg', '/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_24_10570.jpg', '/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_34_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_43_9771.jpg
/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_54_10674.jpg
/home/pi/Desktop/images/17122025/18/28/image_17122025_18_29_04_9767.jpg
/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_13_9649.jpg
/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_24_10570.jpg
/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_34_9718.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7670590877532959 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:08:12.550360
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:08:22.617911
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_43_9771.jpg', '/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_54_10674.jpg', '/home/pi/Desktop/images/17122025/18/28/image_17122025_18_29_04_9767.jpg', '/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_13_9649.jpg', '/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_24_10570.jpg', '/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_34_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_43_9771.jpg
/home/pi/Desktop/images/17122025/18/28/image_17122025_18_28_54_10674.jpg
/home/pi/Desktop/images/17122025/18/28/image_17122025_18_29_04_9767.jpg
/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_13_9649.jpg
/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_24_10570.jpg
/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_34_9718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399820985","1399820964","1399820967","1399820960","1399820957","1399820962"],"photo_ids_order":["1399820957","1399820960","1399820962","1399820964","1399820967","1399820985"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b81793760df14d681232dc00c146efcb.jpg","text":"TemporaryFile(/tmp/multipartBody6168533137178218553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994963942,"filename":"image_17122025_18_29_34_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f32d9b6ba8d998854825d4822c3c9527.jpg","text":"TemporaryFile(/tmp/multipartBody7816952593188317842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994963942,"filename":"image_17122025_18_29_13_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8812d5b6632424697a125a94e377ed13.jpg","text":"TemporaryFile(/tmp/multipartBody7530232481214899441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994963942,"filename":"image_17122025_18_29_24_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3627215a2d82c0dc957da2060616701e.jpg","text":"TemporaryFile(/tmp/multipartBody1654354507765385779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994963942,"filename":"image_17122025_18_28_54_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23daf9b69bbe5e62cce82450aa82588f.jpg","text":"TemporaryFile(/tmp/multipartBody6871520686836446095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994963942,"filename":"image_17122025_18_28_43_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fe32c3df86fca79c83027bdcc58a5db.jpg","text":"TemporaryFile(/tmp/multipartBody4230656707836305193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765994963942,"filename":"image_17122025_18_29_04_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399820962","file1":"1399820960","file0":"1399820957","file4":"1399820967","file5":"1399820985","file3":"1399820964"},"map_files_photo_id_array":[{"photo_id":"1399820985","filename":"file5"},{"photo_id":"1399820962","filename":"file2"},{"photo_id":"1399820967","filename":"file4"},{"photo_id":"1399820960","filename":"file1"},{"photo_id":"1399820957","filename":"file0"},{"photo_id":"1399820964","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399820985":["hashtag1","hashtag2"]},{"1399820964":["hashtag1","hashtag2"]},{"1399820967":["hashtag1","hashtag2"]},{"1399820960":["hashtag1","hashtag2"]},{"1399820957":["hashtag1","hashtag2"]},{"1399820962":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399820985, 1399820964, 1399820967, 1399820960, 1399820957, 1399820962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.47747206687927 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:09:03.695830
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_43_9714.jpg', '/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_53_9666.jpg', '/home/pi/Desktop/images/17122025/18/31/image_17122025_18_31_14_10040.jpg', '/home/pi/Desktop/images/17122025/18/31/image_17122025_18_31_44_9626.jpg', '/home/pi/Desktop/images/17122025/18/31/image_17122025_18_32_05_10053.jpg', '/home/pi/Desktop/images/17122025/18/32/image_17122025_18_32_14_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_43_9714.jpg
/home/pi/Desktop/images/17122025/18/29/image_17122025_18_29_53_9666.jpg
/home/pi/Desktop/images/17122025/18/31/image_17122025_18_31_14_10040.jpg
/home/pi/Desktop/images/17122025/18/31/image_17122025_18_31_44_9626.jpg
/home/pi/Desktop/images/17122025/18/31/image_17122025_18_32_05_10053.jpg
/home/pi/Desktop/images/17122025/18/32/image_17122025_18_32_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":["1399821000","1399821003","1399821005","1399821010","1399821013","1399821007"],"photo_ids_order":["1399821000","1399821003","1399821005","1399821007","1399821010","1399821013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee357ef691d4ed360f3cc960ce5c675a.jpg","text":"TemporaryFile(/tmp/multipartBody596337458484499834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995004678,"filename":"image_17122025_18_29_43_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7ddeda0129b2e4ca6f453d09e8111f0.jpg","text":"TemporaryFile(/tmp/multipartBody3258274812162786634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995004678,"filename":"image_17122025_18_29_53_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6040fd21bd82df506bd92e0cbc110799.jpg","text":"TemporaryFile(/tmp/multipartBody8926587907110392063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995004678,"filename":"image_17122025_18_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/2025/12/17/6a9d22a770cf90fde22ce5908f7c706c.jpg","text":"TemporaryFile(/tmp/multipartBody353922066424907255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995004678,"filename":"image_17122025_18_32_05_10053.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86414b2e283e1b6820f05e0d366bf615.jpg","text":"TemporaryFile(/tmp/multipartBody9103080255250666305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995004678,"filename":"image_17122025_18_32_14_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03119a031f7375b503648bca58a54d9c.jpg","text":"TemporaryFile(/tmp/multipartBody7722571774871812951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995004678,"filename":"image_17122025_18_31_44_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821005","file1":"1399821003","file0":"1399821000","file4":"1399821010","file5":"1399821013","file3":"1399821007"},"map_files_photo_id_array":[{"photo_id":"1399821013","filename":"file5"},{"photo_id":"1399821005","filename":"file2"},{"photo_id":"1399821010","filename":"file4"},{"photo_id":"1399821003","filename":"file1"},{"photo_id":"1399821000","filename":"file0"},{"photo_id":"1399821007","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821000":["hashtag1","hashtag2"]},{"1399821003":["hashtag1","hashtag2"]},{"1399821005":["hashtag1","hashtag2"]},{"1399821010":["hashtag1","hashtag2"]},{"1399821013":["hashtag1","hashtag2"]},{"1399821007":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821000, 1399821003, 1399821005, 1399821010, 1399821013, 1399821007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22072505950928 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:09:42.704330
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_27_2619.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_34_2675.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_37_2750.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_39_2638.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_43_3606.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_45_2655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_27_2619.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_34_2675.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_37_2750.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_39_2638.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_43_3606.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_45_2655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399821024","1399821023","1399821026","1399821022","1399821025","1399821019"],"photo_ids_order":["1399821019","1399821022","1399821023","1399821024","1399821025","1399821026"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd89eef459ddd5a4415145f465ed184c.jpg","text":"TemporaryFile(/tmp/multipartBody5051164976042091148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995043710,"filename":"image_07112025_20_56_39_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83d483dba9528a322dcb3465ea872eca.jpg","text":"TemporaryFile(/tmp/multipartBody2054044517933930331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995043710,"filename":"image_07112025_20_56_37_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae260c0cbe95d1543aca51f08cee1f33.jpg","text":"TemporaryFile(/tmp/multipartBody6107830236528069932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995043710,"filename":"image_07112025_20_56_45_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1b0464929a5f9adcad30600758a3460.jpg","text":"TemporaryFile(/tmp/multipartBody6170876426208253457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995043710,"filename":"image_07112025_20_56_34_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2704809a15b16c84eedcfeee0e279891.jpg","text":"TemporaryFile(/tmp/multipartBody3069133838824428363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995043710,"filename":"image_07112025_20_56_43_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4122b936a3cd54392376ff75d9b6db6b.jpg","text":"TemporaryFile(/tmp/multipartBody713405361324521456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995043710,"filename":"image_07112025_20_56_27_2619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821023","file1":"1399821022","file0":"1399821019","file4":"1399821025","file5":"1399821026","file3":"1399821024"},"map_files_photo_id_array":[{"photo_id":"1399821026","filename":"file5"},{"photo_id":"1399821023","filename":"file2"},{"photo_id":"1399821025","filename":"file4"},{"photo_id":"1399821022","filename":"file1"},{"photo_id":"1399821019","filename":"file0"},{"photo_id":"1399821024","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399821024":["hashtag1","hashtag2"]},{"1399821023":["hashtag1","hashtag2"]},{"1399821026":["hashtag1","hashtag2"]},{"1399821022":["hashtag1","hashtag2"]},{"1399821025":["hashtag1","hashtag2"]},{"1399821019":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399821024, 1399821023, 1399821026, 1399821022, 1399821025, 1399821019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.53955817222595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:10:22.010668
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/32/image_17122025_18_32_24_9937.jpg', '/home/pi/Desktop/images/17122025/18/32/image_17122025_18_32_44_9694.jpg', '/home/pi/Desktop/images/17122025/18/32/image_17122025_18_32_55_10709.jpg', '/home/pi/Desktop/images/17122025/18/32/image_17122025_18_33_04_9646.jpg', '/home/pi/Desktop/images/17122025/18/33/image_17122025_18_33_14_9671.jpg', '/home/pi/Desktop/images/17122025/18/33/image_17122025_18_33_24_9893.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/32/image_17122025_18_32_24_9937.jpg
/home/pi/Desktop/images/17122025/18/32/image_17122025_18_32_44_9694.jpg
/home/pi/Desktop/images/17122025/18/32/image_17122025_18_32_55_10709.jpg
/home/pi/Desktop/images/17122025/18/32/image_17122025_18_33_04_9646.jpg
/home/pi/Desktop/images/17122025/18/33/image_17122025_18_33_14_9671.jpg
/home/pi/Desktop/images/17122025/18/33/image_17122025_18_33_24_9893.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399821054","1399821048","1399821033","1399821040","1399821043","1399821037"],"photo_ids_order":["1399821033","1399821037","1399821040","1399821043","1399821048","1399821054"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff570e24ec818abcb54ad0b1e8f21f00.jpg","text":"TemporaryFile(/tmp/multipartBody1235521031265448102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995083070,"filename":"image_17122025_18_33_24_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1a0b3ef71b140948350e980d9191707.jpg","text":"TemporaryFile(/tmp/multipartBody2652340403701388515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995083070,"filename":"image_17122025_18_33_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3e6fb8cb68d0f7150246e48bd546a3d.jpg","text":"TemporaryFile(/tmp/multipartBody5899716151565865092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995083070,"filename":"image_17122025_18_32_24_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fdd536fbc8d2e3fc04e9592118fa962.jpg","text":"TemporaryFile(/tmp/multipartBody2862390868086934235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995083070,"filename":"image_17122025_18_32_55_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16d7879cdbced04b33a29822c7e83f89.jpg","text":"TemporaryFile(/tmp/multipartBody8212416762396683237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995083070,"filename":"image_17122025_18_33_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e4483dcd0f632fed83b7d6e8fdaab1f.jpg","text":"TemporaryFile(/tmp/multipartBody2933236052212908857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995083070,"filename":"image_17122025_18_32_44_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821040","file1":"1399821037","file0":"1399821033","file4":"1399821048","file5":"1399821054","file3":"1399821043"},"map_files_photo_id_array":[{"photo_id":"1399821054","filename":"file5"},{"photo_id":"1399821040","filename":"file2"},{"photo_id":"1399821048","filename":"file4"},{"photo_id":"1399821037","filename":"file1"},{"photo_id":"1399821033","filename":"file0"},{"photo_id":"1399821043","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821054":["hashtag1","hashtag2"]},{"1399821048":["hashtag1","hashtag2"]},{"1399821033":["hashtag1","hashtag2"]},{"1399821040":["hashtag1","hashtag2"]},{"1399821043":["hashtag1","hashtag2"]},{"1399821037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821054, 1399821048, 1399821033, 1399821040, 1399821043, 1399821037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24684405326843 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:11:02.800314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/33/image_17122025_18_33_34_9928.jpg', '/home/pi/Desktop/images/17122025/18/33/image_17122025_18_33_54_9856.jpg', '/home/pi/Desktop/images/17122025/18/33/image_17122025_18_34_04_9811.jpg', '/home/pi/Desktop/images/17122025/18/34/image_17122025_18_34_25_10676.jpg', '/home/pi/Desktop/images/17122025/18/34/image_17122025_18_34_35_9850.jpg', '/home/pi/Desktop/images/17122025/18/34/image_17122025_18_34_44_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/33/image_17122025_18_33_34_9928.jpg
/home/pi/Desktop/images/17122025/18/33/image_17122025_18_33_54_9856.jpg
/home/pi/Desktop/images/17122025/18/33/image_17122025_18_34_04_9811.jpg
/home/pi/Desktop/images/17122025/18/34/image_17122025_18_34_25_10676.jpg
/home/pi/Desktop/images/17122025/18/34/image_17122025_18_34_35_9850.jpg
/home/pi/Desktop/images/17122025/18/34/image_17122025_18_34_44_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":["1399821074","1399821083","1399821056","1399821058","1399821078","1399821057"],"photo_ids_order":["1399821056","1399821057","1399821058","1399821074","1399821078","1399821083"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91983a3705fa7298bd053e4c5eba11f4.jpg","text":"TemporaryFile(/tmp/multipartBody424167517440657841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995123694,"filename":"image_17122025_18_34_25_10676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/699ca3ab4fda4c34a18be0d4a3e712b8.jpg","text":"TemporaryFile(/tmp/multipartBody9161027850811169992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995123694,"filename":"image_17122025_18_34_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58223e63fa6b3881fa3fa051efa16dfc.jpg","text":"TemporaryFile(/tmp/multipartBody4166764076564711060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995123694,"filename":"image_17122025_18_33_34_9928.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9bbe9078597f8f17d063892fcf5fba3d.jpg","text":"TemporaryFile(/tmp/multipartBody1392982909869170466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995123694,"filename":"image_17122025_18_34_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7e6e8f02427c9d4647b261da20964d5.jpg","text":"TemporaryFile(/tmp/multipartBody6938295666614008623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995123694,"filename":"image_17122025_18_34_35_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4e4c2d68f3955f8624bc7febc0d9439.jpg","text":"TemporaryFile(/tmp/multipartBody2637306894396118249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995123694,"filename":"image_17122025_18_33_54_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821058","file1":"1399821057","file0":"1399821056","file4":"1399821078","file5":"1399821083","file3":"1399821074"},"map_files_photo_id_array":[{"photo_id":"1399821083","filename":"file5"},{"photo_id":"1399821058","filename":"file2"},{"photo_id":"1399821078","filename":"file4"},{"photo_id":"1399821057","filename":"file1"},{"photo_id":"1399821056","filename":"file0"},{"photo_id":"1399821074","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821074":["hashtag1","hashtag2"]},{"1399821083":["hashtag1","hashtag2"]},{"1399821056":["hashtag1","hashtag2"]},{"1399821058":["hashtag1","hashtag2"]},{"1399821078":["hashtag1","hashtag2"]},{"1399821057":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821074, 1399821083, 1399821056, 1399821058, 1399821078, 1399821057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.752683877944946 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:12:02.936967
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/34/image_17122025_18_34_54_9625.jpg', '/home/pi/Desktop/images/17122025/18/34/image_17122025_18_35_04_10581.jpg', '/home/pi/Desktop/images/17122025/18/35/image_17122025_18_35_14_9656.jpg', '/home/pi/Desktop/images/17122025/18/35/image_17122025_18_35_24_9838.jpg', '/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_25_9903.jpg', '/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_34_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/34/image_17122025_18_34_54_9625.jpg
/home/pi/Desktop/images/17122025/18/34/image_17122025_18_35_04_10581.jpg
/home/pi/Desktop/images/17122025/18/35/image_17122025_18_35_14_9656.jpg
/home/pi/Desktop/images/17122025/18/35/image_17122025_18_35_24_9838.jpg
/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_25_9903.jpg
/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_34_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399821098","1399821102","1399821092","1399821094","1399821100","1399821096"],"photo_ids_order":["1399821092","1399821094","1399821096","1399821098","1399821100","1399821102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab869cc453683ca4418df95dbc14baac.jpg","text":"TemporaryFile(/tmp/multipartBody1143619859401167986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995183829,"filename":"image_17122025_18_35_24_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c33c596a9fe29ca7f5f271947f0dee8a.jpg","text":"TemporaryFile(/tmp/multipartBody7069460554885134247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995183829,"filename":"image_17122025_18_36_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d57b8212e91ceb47a2b168ad721d780.jpg","text":"TemporaryFile(/tmp/multipartBody5779953481736234949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995183829,"filename":"image_17122025_18_34_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f74157b2697bec02d380ed636a337891.jpg","text":"TemporaryFile(/tmp/multipartBody4913716727539694833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995183829,"filename":"image_17122025_18_35_04_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/206784bff6967dc8f77ddbea6fc80cd3.jpg","text":"TemporaryFile(/tmp/multipartBody3263244967656245315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995183829,"filename":"image_17122025_18_36_25_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e12f58b7d7db1e23a4f1e151058823f.jpg","text":"TemporaryFile(/tmp/multipartBody3575859134319326625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995183829,"filename":"image_17122025_18_35_14_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821096","file1":"1399821094","file0":"1399821092","file4":"1399821100","file5":"1399821102","file3":"1399821098"},"map_files_photo_id_array":[{"photo_id":"1399821102","filename":"file5"},{"photo_id":"1399821096","filename":"file2"},{"photo_id":"1399821100","filename":"file4"},{"photo_id":"1399821094","filename":"file1"},{"photo_id":"1399821092","filename":"file0"},{"photo_id":"1399821098","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821098":["hashtag1","hashtag2"]},{"1399821102":["hashtag1","hashtag2"]},{"1399821092":["hashtag1","hashtag2"]},{"1399821094":["hashtag1","hashtag2"]},{"1399821100":["hashtag1","hashtag2"]},{"1399821096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821098, 1399821102, 1399821092, 1399821094, 1399821100, 1399821096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70504307746887 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:12:42.379115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_52_3544.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_54_2665.jpg', '/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_58_3706.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_01_2613.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_03_2783.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_06_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_52_3544.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_54_2665.jpg
/home/pi/Desktop/images/07112025/20/56/image_07112025_20_56_58_3706.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_01_2613.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_03_2783.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_06_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399821140","1399821134","1399821137","1399821151","1399821145","1399821142"],"photo_ids_order":["1399821134","1399821137","1399821140","1399821142","1399821145","1399821151"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a5cbd602471753e8f1cb6b94dd362a4.jpg","text":"TemporaryFile(/tmp/multipartBody8552893164568604525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995223462,"filename":"image_07112025_20_56_58_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6dca9dcdf68845b14f0eaa8b84600eb.jpg","text":"TemporaryFile(/tmp/multipartBody3207669834904272110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995223462,"filename":"image_07112025_20_56_52_3544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d69b95165766648d8e8ebf32c49dc234.jpg","text":"TemporaryFile(/tmp/multipartBody1813029401343965555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995223462,"filename":"image_07112025_20_56_54_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59a57a031a01df120bb3fea2d6460c05.jpg","text":"TemporaryFile(/tmp/multipartBody7893877609938279249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995223462,"filename":"image_07112025_20_57_06_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/421d94c46ed34a1f5a6c3f557baa2e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7259329619987276034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995223462,"filename":"image_07112025_20_57_03_2783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/439ba0ea036a435ccf0525f714fffad4.jpg","text":"TemporaryFile(/tmp/multipartBody5401765349868000948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995223462,"filename":"image_07112025_20_57_01_2613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821140","file1":"1399821137","file0":"1399821134","file4":"1399821145","file5":"1399821151","file3":"1399821142"},"map_files_photo_id_array":[{"photo_id":"1399821151","filename":"file5"},{"photo_id":"1399821140","filename":"file2"},{"photo_id":"1399821145","filename":"file4"},{"photo_id":"1399821137","filename":"file1"},{"photo_id":"1399821134","filename":"file0"},{"photo_id":"1399821142","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399821140":["hashtag1","hashtag2"]},{"1399821134":["hashtag1","hashtag2"]},{"1399821137":["hashtag1","hashtag2"]},{"1399821151":["hashtag1","hashtag2"]},{"1399821145":["hashtag1","hashtag2"]},{"1399821142":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399821140, 1399821134, 1399821137, 1399821151, 1399821145, 1399821142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.794269323349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:13:22.649913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_44_9628.jpg', '/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_55_10780.jpg', '/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_14_9788.jpg', '/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_24_9809.jpg', '/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_35_10680.jpg', '/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_44_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_44_9628.jpg
/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_55_10780.jpg
/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_14_9788.jpg
/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_24_9809.jpg
/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_35_10680.jpg
/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_44_9584.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8234760761260986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:13:32.763982
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:13:42.653664
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_12_2690.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_15_2713.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_22_2690.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_30_2632.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_33_2717.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_37_3667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_12_2690.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_15_2713.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_22_2690.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_30_2632.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_33_2717.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_37_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":["1399821296","1399821300","1399821299","1399821298","1399821294","1399821297"],"photo_ids_order":["1399821294","1399821296","1399821297","1399821298","1399821299","1399821300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0cd4ebc7b14461a334d5be7b4a289d1.jpg","text":"TemporaryFile(/tmp/multipartBody9001966299836227984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995283704,"filename":"image_07112025_20_57_15_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4785a708fd92cc30cff88f87c3e7151e.jpg","text":"TemporaryFile(/tmp/multipartBody8910458020833112528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995283704,"filename":"image_07112025_20_57_37_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e73d78360d8b60638aa6de530150e787.jpg","text":"TemporaryFile(/tmp/multipartBody1135036487846329004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995283704,"filename":"image_07112025_20_57_33_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3bf440d4421195d036c9e822ca7d451.jpg","text":"TemporaryFile(/tmp/multipartBody5998949124156649165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995283704,"filename":"image_07112025_20_57_30_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc01e898c44c971d5d75df4c622369bf.jpg","text":"TemporaryFile(/tmp/multipartBody3750688006606306003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995283704,"filename":"image_07112025_20_57_12_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c784c83ecbaa6692f84ea5797ffea8d0.jpg","text":"TemporaryFile(/tmp/multipartBody2736346489642581107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995283704,"filename":"image_07112025_20_57_22_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821297","file1":"1399821296","file0":"1399821294","file4":"1399821299","file5":"1399821300","file3":"1399821298"},"map_files_photo_id_array":[{"photo_id":"1399821300","filename":"file5"},{"photo_id":"1399821297","filename":"file2"},{"photo_id":"1399821299","filename":"file4"},{"photo_id":"1399821296","filename":"file1"},{"photo_id":"1399821294","filename":"file0"},{"photo_id":"1399821298","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399821296":["hashtag1","hashtag2"]},{"1399821300":["hashtag1","hashtag2"]},{"1399821299":["hashtag1","hashtag2"]},{"1399821298":["hashtag1","hashtag2"]},{"1399821294":["hashtag1","hashtag2"]},{"1399821297":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399821296, 1399821300, 1399821299, 1399821298, 1399821294, 1399821297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.765565156936646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:14:22.009846
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_44_9628.jpg', '/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_55_10780.jpg', '/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_14_9788.jpg', '/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_24_9809.jpg', '/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_35_10680.jpg', '/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_44_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_44_9628.jpg
/home/pi/Desktop/images/17122025/18/36/image_17122025_18_36_55_10780.jpg
/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_14_9788.jpg
/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_24_9809.jpg
/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_35_10680.jpg
/home/pi/Desktop/images/17122025/18/37/image_17122025_18_37_44_9584.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399821324","1399821312","1399821315","1399821317","1399821305","1399821308"],"photo_ids_order":["1399821305","1399821308","1399821312","1399821315","1399821317","1399821324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61ab5cdb1b08c79826c1433acba48dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5328192047411944619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995322932,"filename":"image_17122025_18_37_44_9584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b780ea1c23595e7399adbab378f7a814.jpg","text":"TemporaryFile(/tmp/multipartBody2454271462029656694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995322932,"filename":"image_17122025_18_37_14_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e7cf4bcbad9efd8c4d6f6f24e54009e.jpg","text":"TemporaryFile(/tmp/multipartBody2417836407645145186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995322932,"filename":"image_17122025_18_37_24_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58fcce26846060dc23809588193983dc.jpg","text":"TemporaryFile(/tmp/multipartBody8973595663104010524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995322932,"filename":"image_17122025_18_37_35_10680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c09f81e30f4ec6400cafc4ce673e9831.jpg","text":"TemporaryFile(/tmp/multipartBody7526266131001374587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995322932,"filename":"image_17122025_18_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/2025/12/17/3b4257a03ef582ad8d5fb67db84f8bdb.jpg","text":"TemporaryFile(/tmp/multipartBody7395445865791464979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995322932,"filename":"image_17122025_18_36_55_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821312","file1":"1399821308","file0":"1399821305","file4":"1399821317","file5":"1399821324","file3":"1399821315"},"map_files_photo_id_array":[{"photo_id":"1399821324","filename":"file5"},{"photo_id":"1399821312","filename":"file2"},{"photo_id":"1399821317","filename":"file4"},{"photo_id":"1399821308","filename":"file1"},{"photo_id":"1399821305","filename":"file0"},{"photo_id":"1399821315","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821324":["hashtag1","hashtag2"]},{"1399821312":["hashtag1","hashtag2"]},{"1399821315":["hashtag1","hashtag2"]},{"1399821317":["hashtag1","hashtag2"]},{"1399821305":["hashtag1","hashtag2"]},{"1399821308":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821324, 1399821312, 1399821315, 1399821317, 1399821305, 1399821308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.894850969314575 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:15:02.809259
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/38/image_17122025_18_38_15_10560.jpg', '/home/pi/Desktop/images/17122025/18/39/image_17122025_18_39_24_9767.jpg', '/home/pi/Desktop/images/17122025/18/39/image_17122025_18_39_35_10694.jpg', '/home/pi/Desktop/images/17122025/18/39/image_17122025_18_39_44_9775.jpg', '/home/pi/Desktop/images/17122025/18/39/image_17122025_18_39_54_9892.jpg', '/home/pi/Desktop/images/17122025/18/39/image_17122025_18_40_04_9682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/38/image_17122025_18_38_15_10560.jpg
/home/pi/Desktop/images/17122025/18/39/image_17122025_18_39_24_9767.jpg
/home/pi/Desktop/images/17122025/18/39/image_17122025_18_39_35_10694.jpg
/home/pi/Desktop/images/17122025/18/39/image_17122025_18_39_44_9775.jpg
/home/pi/Desktop/images/17122025/18/39/image_17122025_18_39_54_9892.jpg
/home/pi/Desktop/images/17122025/18/39/image_17122025_18_40_04_9682.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399821350","1399821353","1399821347","1399821356","1399821352","1399821354"],"photo_ids_order":["1399821347","1399821350","1399821352","1399821353","1399821354","1399821356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4d7f7595485187ac99cf3bdfc6a10af.jpg","text":"TemporaryFile(/tmp/multipartBody6458083225212777481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995363708,"filename":"image_17122025_18_39_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd2b37e42836280883c03d90cf082eef.jpg","text":"TemporaryFile(/tmp/multipartBody584207751632175702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995363708,"filename":"image_17122025_18_39_44_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e67f41a2e54a27baf1d187b5f5a7837f.jpg","text":"TemporaryFile(/tmp/multipartBody2298652148699430820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995363708,"filename":"image_17122025_18_38_15_10560.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bf1295e5f6c12b969cfef7297ea7b89.jpg","text":"TemporaryFile(/tmp/multipartBody6669735416095076697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995363708,"filename":"image_17122025_18_40_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c70db72ab9d62e60de4af3c12d6f0530.jpg","text":"TemporaryFile(/tmp/multipartBody6676283812496390367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995363708,"filename":"image_17122025_18_39_35_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3cd87bb9d08777f0e57dacc801587d34.jpg","text":"TemporaryFile(/tmp/multipartBody171248651355243360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995363708,"filename":"image_17122025_18_39_54_9892.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821352","file1":"1399821350","file0":"1399821347","file4":"1399821354","file5":"1399821356","file3":"1399821353"},"map_files_photo_id_array":[{"photo_id":"1399821356","filename":"file5"},{"photo_id":"1399821352","filename":"file2"},{"photo_id":"1399821354","filename":"file4"},{"photo_id":"1399821350","filename":"file1"},{"photo_id":"1399821347","filename":"file0"},{"photo_id":"1399821353","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821350":["hashtag1","hashtag2"]},{"1399821353":["hashtag1","hashtag2"]},{"1399821347":["hashtag1","hashtag2"]},{"1399821356":["hashtag1","hashtag2"]},{"1399821352":["hashtag1","hashtag2"]},{"1399821354":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821350, 1399821353, 1399821347, 1399821356, 1399821352, 1399821354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.02029514312744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:15:42.167585
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_40_2914.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_42_2678.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_45_2598.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_52_2905.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_54_2612.jpg', '/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_58_3704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_40_2914.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_42_2678.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_45_2598.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_52_2905.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_54_2612.jpg
/home/pi/Desktop/images/07112025/20/57/image_07112025_20_57_58_3704.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399821371","1399821365","1399821374","1399821373","1399821370","1399821372"],"photo_ids_order":["1399821365","1399821370","1399821371","1399821372","1399821373","1399821374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad93ca7e9444437f620f7cab368b7a2b.jpg","text":"TemporaryFile(/tmp/multipartBody7661998310442662627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995403181,"filename":"image_07112025_20_57_45_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/003de598b968ee618fa80326e74c58a9.jpg","text":"TemporaryFile(/tmp/multipartBody8939425922765741480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995403181,"filename":"image_07112025_20_57_40_2914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddc9ecf2cf3bdb81677890c99f65e408.jpg","text":"TemporaryFile(/tmp/multipartBody6744283306220655569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995403181,"filename":"image_07112025_20_57_58_3704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10376f9dfeb92b25438880062f12b0ba.jpg","text":"TemporaryFile(/tmp/multipartBody1638265443558818774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995403181,"filename":"image_07112025_20_57_54_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16130b07455cb07656fee71055889308.jpg","text":"TemporaryFile(/tmp/multipartBody2950236856875280689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995403181,"filename":"image_07112025_20_57_42_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/334bb3cdd22bd8aa93fea6b593c1b09b.jpg","text":"TemporaryFile(/tmp/multipartBody610484890232790176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995403181,"filename":"image_07112025_20_57_52_2905.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821371","file1":"1399821370","file0":"1399821365","file4":"1399821373","file5":"1399821374","file3":"1399821372"},"map_files_photo_id_array":[{"photo_id":"1399821374","filename":"file5"},{"photo_id":"1399821371","filename":"file2"},{"photo_id":"1399821373","filename":"file4"},{"photo_id":"1399821370","filename":"file1"},{"photo_id":"1399821365","filename":"file0"},{"photo_id":"1399821372","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399821371":["hashtag1","hashtag2"]},{"1399821365":["hashtag1","hashtag2"]},{"1399821374":["hashtag1","hashtag2"]},{"1399821373":["hashtag1","hashtag2"]},{"1399821370":["hashtag1","hashtag2"]},{"1399821372":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399821371, 1399821365, 1399821374, 1399821373, 1399821370, 1399821372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50092577934265 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:16:22.409080
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_15_10642.jpg', '/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_25_9803.jpg', '/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_34_9710.jpg', '/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_44_9635.jpg', '/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_55_10769.jpg', '/home/pi/Desktop/images/17122025/18/40/image_17122025_18_41_04_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_15_10642.jpg
/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_25_9803.jpg
/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_34_9710.jpg
/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_44_9635.jpg
/home/pi/Desktop/images/17122025/18/40/image_17122025_18_40_55_10769.jpg
/home/pi/Desktop/images/17122025/18/40/image_17122025_18_41_04_9765.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399821417","1399821419","1399821404","1399821430","1399821415","1399821435"],"photo_ids_order":["1399821404","1399821415","1399821417","1399821419","1399821430","1399821435"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72f97c238af5dd48fa06241c2783b831.jpg","text":"TemporaryFile(/tmp/multipartBody4962072270021010979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995443459,"filename":"image_17122025_18_40_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6df333b87a0889000ac56cf759e205ef.jpg","text":"TemporaryFile(/tmp/multipartBody1400349522676208725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995443459,"filename":"image_17122025_18_40_44_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57386013bc41d3cacd2c700f72cc235b.jpg","text":"TemporaryFile(/tmp/multipartBody4555983394275384429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995443459,"filename":"image_17122025_18_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/2025/12/17/c5fce635fda21da0711544759fbcb9df.jpg","text":"TemporaryFile(/tmp/multipartBody8414926610134038250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995443459,"filename":"image_17122025_18_40_55_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c3725660b93b401868ba84976ee01f5.jpg","text":"TemporaryFile(/tmp/multipartBody7135368863895730473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995443459,"filename":"image_17122025_18_40_25_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e30d3b054f073167829ed28ad7804199.jpg","text":"TemporaryFile(/tmp/multipartBody8084462552269382078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995443459,"filename":"image_17122025_18_41_04_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821417","file1":"1399821415","file0":"1399821404","file4":"1399821430","file5":"1399821435","file3":"1399821419"},"map_files_photo_id_array":[{"photo_id":"1399821435","filename":"file5"},{"photo_id":"1399821417","filename":"file2"},{"photo_id":"1399821430","filename":"file4"},{"photo_id":"1399821415","filename":"file1"},{"photo_id":"1399821404","filename":"file0"},{"photo_id":"1399821419","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821417":["hashtag1","hashtag2"]},{"1399821419":["hashtag1","hashtag2"]},{"1399821404":["hashtag1","hashtag2"]},{"1399821430":["hashtag1","hashtag2"]},{"1399821415":["hashtag1","hashtag2"]},{"1399821435":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821417, 1399821419, 1399821404, 1399821430, 1399821415, 1399821435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.312575817108154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:17:03.326968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/41/image_17122025_18_41_14_9707.jpg', '/home/pi/Desktop/images/17122025/18/41/image_17122025_18_41_34_9903.jpg', '/home/pi/Desktop/images/17122025/18/41/image_17122025_18_41_45_10673.jpg', '/home/pi/Desktop/images/17122025/18/41/image_17122025_18_41_54_9634.jpg', '/home/pi/Desktop/images/17122025/18/41/image_17122025_18_42_04_9937.jpg', '/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_14_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/41/image_17122025_18_41_14_9707.jpg
/home/pi/Desktop/images/17122025/18/41/image_17122025_18_41_34_9903.jpg
/home/pi/Desktop/images/17122025/18/41/image_17122025_18_41_45_10673.jpg
/home/pi/Desktop/images/17122025/18/41/image_17122025_18_41_54_9634.jpg
/home/pi/Desktop/images/17122025/18/41/image_17122025_18_42_04_9937.jpg
/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_14_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":["1399821459","1399821461","1399821455","1399821463","1399821457","1399821453"],"photo_ids_order":["1399821453","1399821455","1399821457","1399821459","1399821461","1399821463"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7810ba6511a3566fe49d3f1635b68fbd.jpg","text":"TemporaryFile(/tmp/multipartBody4516768973320390109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995484233,"filename":"image_17122025_18_41_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae06f2d2b962a4b35d8722b9317c0998.jpg","text":"TemporaryFile(/tmp/multipartBody4914933958458889551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995484233,"filename":"image_17122025_18_42_04_9937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c580e55505849ff7e642407910056900.jpg","text":"TemporaryFile(/tmp/multipartBody9038293114758582798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995484233,"filename":"image_17122025_18_41_34_9903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88bba0709933b75178fdaa85ebcee12d.jpg","text":"TemporaryFile(/tmp/multipartBody3341940549407502882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995484233,"filename":"image_17122025_18_42_14_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa3d9d057e5a01303955aa03028d8135.jpg","text":"TemporaryFile(/tmp/multipartBody2881359827272456682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995484233,"filename":"image_17122025_18_41_45_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f117b766c21a55f38a8b2461f93aa8ae.jpg","text":"TemporaryFile(/tmp/multipartBody6509176169441664944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995484233,"filename":"image_17122025_18_41_14_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821457","file1":"1399821455","file0":"1399821453","file4":"1399821461","file5":"1399821463","file3":"1399821459"},"map_files_photo_id_array":[{"photo_id":"1399821463","filename":"file5"},{"photo_id":"1399821457","filename":"file2"},{"photo_id":"1399821461","filename":"file4"},{"photo_id":"1399821455","filename":"file1"},{"photo_id":"1399821453","filename":"file0"},{"photo_id":"1399821459","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821459":["hashtag1","hashtag2"]},{"1399821461":["hashtag1","hashtag2"]},{"1399821455":["hashtag1","hashtag2"]},{"1399821463":["hashtag1","hashtag2"]},{"1399821457":["hashtag1","hashtag2"]},{"1399821453":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821459, 1399821461, 1399821455, 1399821463, 1399821457, 1399821453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14236092567444 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:17:42.627166
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_01_2608.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_03_2716.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_07_3655.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_10_2828.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_12_2598.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_15_2784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_01_2608.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_03_2716.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_07_3655.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_10_2828.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_12_2598.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_15_2784.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399821686","1399821603","1399821685","1399821565","1399821675","1399821639"],"photo_ids_order":["1399821565","1399821603","1399821639","1399821675","1399821685","1399821686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c8c3a29c11ffcd31c56d3b4e89b02bf.jpg","text":"TemporaryFile(/tmp/multipartBody8233273893836796663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995523632,"filename":"image_07112025_20_58_15_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a661814be09319e724dc3bc221527c55.jpg","text":"TemporaryFile(/tmp/multipartBody8330830319065287508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995523632,"filename":"image_07112025_20_58_03_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c584fb2315d0777ba4aec2d527131398.jpg","text":"TemporaryFile(/tmp/multipartBody8350827191288000164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995523632,"filename":"image_07112025_20_58_12_2598.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e71c535a6f14d0455422339d342e6068.jpg","text":"TemporaryFile(/tmp/multipartBody109502315412196799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995523632,"filename":"image_07112025_20_58_01_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/659450bace8083ca6ae3e1c1cf4f162d.jpg","text":"TemporaryFile(/tmp/multipartBody4734910571721675168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995523632,"filename":"image_07112025_20_58_10_2828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/743f003d2b4ebe98e3ad4df8e9258fd2.jpg","text":"TemporaryFile(/tmp/multipartBody1038908347473001015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995523632,"filename":"image_07112025_20_58_07_3655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821639","file1":"1399821603","file0":"1399821565","file4":"1399821685","file5":"1399821686","file3":"1399821675"},"map_files_photo_id_array":[{"photo_id":"1399821686","filename":"file5"},{"photo_id":"1399821639","filename":"file2"},{"photo_id":"1399821685","filename":"file4"},{"photo_id":"1399821603","filename":"file1"},{"photo_id":"1399821565","filename":"file0"},{"photo_id":"1399821675","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399821686":["hashtag1","hashtag2"]},{"1399821603":["hashtag1","hashtag2"]},{"1399821685":["hashtag1","hashtag2"]},{"1399821565":["hashtag1","hashtag2"]},{"1399821675":["hashtag1","hashtag2"]},{"1399821639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399821686, 1399821603, 1399821685, 1399821565, 1399821675, 1399821639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.856510639190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:18:21.888110
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_25_10647.jpg', '/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_35_9864.jpg', '/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_44_9775.jpg', '/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_54_9602.jpg', '/home/pi/Desktop/images/17122025/18/42/image_17122025_18_43_05_10708.jpg', '/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_14_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_25_10647.jpg
/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_35_9864.jpg
/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_44_9775.jpg
/home/pi/Desktop/images/17122025/18/42/image_17122025_18_42_54_9602.jpg
/home/pi/Desktop/images/17122025/18/42/image_17122025_18_43_05_10708.jpg
/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_14_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":["1399821766","1399821775","1399821736","1399821745","1399821739","1399821780"],"photo_ids_order":["1399821736","1399821739","1399821745","1399821766","1399821775","1399821780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f6978df998b5b66b3a00c48d6ff5a78.jpg","text":"TemporaryFile(/tmp/multipartBody3791897346799861281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995563186,"filename":"image_17122025_18_42_54_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a62a0fa676d58542efa2f6e8bf85ff2f.jpg","text":"TemporaryFile(/tmp/multipartBody3633531493779306875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995563186,"filename":"image_17122025_18_43_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b17eca8be0d8140cef7b2a3c30eedbc6.jpg","text":"TemporaryFile(/tmp/multipartBody6965967386939034536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995563186,"filename":"image_17122025_18_42_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0782b11d3acdb45618c8c47cbe17fcad.jpg","text":"TemporaryFile(/tmp/multipartBody4007934796141555205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995563186,"filename":"image_17122025_18_42_44_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fc9a7018526dc8b6d67e614a34b2090.jpg","text":"TemporaryFile(/tmp/multipartBody474791132942776424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995563186,"filename":"image_17122025_18_42_35_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2071ff3e57cf618f9d19aba85bdc27e.jpg","text":"TemporaryFile(/tmp/multipartBody7099309050138821365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995563186,"filename":"image_17122025_18_43_14_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821745","file1":"1399821739","file0":"1399821736","file4":"1399821775","file5":"1399821780","file3":"1399821766"},"map_files_photo_id_array":[{"photo_id":"1399821780","filename":"file5"},{"photo_id":"1399821745","filename":"file2"},{"photo_id":"1399821775","filename":"file4"},{"photo_id":"1399821739","filename":"file1"},{"photo_id":"1399821736","filename":"file0"},{"photo_id":"1399821766","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821766":["hashtag1","hashtag2"]},{"1399821775":["hashtag1","hashtag2"]},{"1399821736":["hashtag1","hashtag2"]},{"1399821745":["hashtag1","hashtag2"]},{"1399821739":["hashtag1","hashtag2"]},{"1399821780":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821766, 1399821775, 1399821736, 1399821745, 1399821739, 1399821780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60542559623718 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:19:02.888006
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_24_9736.jpg', '/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_35_10706.jpg', '/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_44_9708.jpg', '/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_54_9625.jpg', '/home/pi/Desktop/images/17122025/18/43/image_17122025_18_44_04_9762.jpg', '/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_15_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_24_9736.jpg
/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_35_10706.jpg
/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_44_9708.jpg
/home/pi/Desktop/images/17122025/18/43/image_17122025_18_43_54_9625.jpg
/home/pi/Desktop/images/17122025/18/43/image_17122025_18_44_04_9762.jpg
/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_15_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":["1399821921","1399821953","1399821941","1399821883","1399821937","1399821951"],"photo_ids_order":["1399821883","1399821921","1399821937","1399821941","1399821951","1399821953"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6db1875516d5c01a7578bc9da08d62f6.jpg","text":"TemporaryFile(/tmp/multipartBody198817678427037683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995603912,"filename":"image_17122025_18_43_35_10706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99f8a033a764a52438ca68429c5c6ae4.jpg","text":"TemporaryFile(/tmp/multipartBody533371047089338822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995603912,"filename":"image_17122025_18_44_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6df23048fd8121834baccad08af37fa9.jpg","text":"TemporaryFile(/tmp/multipartBody7640698363715546395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995603912,"filename":"image_17122025_18_43_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85747cc17c48604fb8b723ea4e749bd6.jpg","text":"TemporaryFile(/tmp/multipartBody1981020663768175378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995603912,"filename":"image_17122025_18_43_24_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/778eb900d7cc0ce063a321b45e6d92ef.jpg","text":"TemporaryFile(/tmp/multipartBody6886113724594774237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995603912,"filename":"image_17122025_18_43_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62fe088f6c274d0902deac97c273d596.jpg","text":"TemporaryFile(/tmp/multipartBody750108273690020114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995603912,"filename":"image_17122025_18_44_04_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399821937","file1":"1399821921","file0":"1399821883","file4":"1399821951","file5":"1399821953","file3":"1399821941"},"map_files_photo_id_array":[{"photo_id":"1399821953","filename":"file5"},{"photo_id":"1399821937","filename":"file2"},{"photo_id":"1399821951","filename":"file4"},{"photo_id":"1399821921","filename":"file1"},{"photo_id":"1399821883","filename":"file0"},{"photo_id":"1399821941","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399821921":["hashtag1","hashtag2"]},{"1399821953":["hashtag1","hashtag2"]},{"1399821941":["hashtag1","hashtag2"]},{"1399821883":["hashtag1","hashtag2"]},{"1399821937":["hashtag1","hashtag2"]},{"1399821951":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399821921, 1399821953, 1399821941, 1399821883, 1399821937, 1399821951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.502219915390015 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:19:42.083406
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_21_2653.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_24_2711.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_30_2637.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_34_3620.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_43_3634.jpg', '/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_52_3724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_21_2653.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_24_2711.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_30_2637.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_34_3620.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_43_3634.jpg
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_58_52_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":["1399822101","1399822139","1399822177","1399822062","1399822221","1399822023"],"photo_ids_order":["1399822023","1399822062","1399822101","1399822139","1399822177","1399822221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af5eeeed29dee7a562582f7f956f0438.jpg","text":"TemporaryFile(/tmp/multipartBody8421178552143404200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995643087,"filename":"image_07112025_20_58_30_2637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c7df7ffeebd7a4850910aa094015e6d.jpg","text":"TemporaryFile(/tmp/multipartBody6987724846713779579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995643087,"filename":"image_07112025_20_58_34_3620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83c69227af574585a656b8d0c4bc5a76.jpg","text":"TemporaryFile(/tmp/multipartBody2613472356524757592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995643087,"filename":"image_07112025_20_58_43_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd42e949fd5b513792370f96d888103e.jpg","text":"TemporaryFile(/tmp/multipartBody8604085569506139515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995643087,"filename":"image_07112025_20_58_24_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c122ee5aaf765a07839d358be407bf13.jpg","text":"TemporaryFile(/tmp/multipartBody4665071970209178636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995643087,"filename":"image_07112025_20_58_52_3724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f1c32bfa72d2caaf6ddbe7177d2594c.jpg","text":"TemporaryFile(/tmp/multipartBody5658734638020196913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995643087,"filename":"image_07112025_20_58_21_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822101","file1":"1399822062","file0":"1399822023","file4":"1399822177","file5":"1399822221","file3":"1399822139"},"map_files_photo_id_array":[{"photo_id":"1399822221","filename":"file5"},{"photo_id":"1399822101","filename":"file2"},{"photo_id":"1399822177","filename":"file4"},{"photo_id":"1399822062","filename":"file1"},{"photo_id":"1399822023","filename":"file0"},{"photo_id":"1399822139","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399822101":["hashtag1","hashtag2"]},{"1399822139":["hashtag1","hashtag2"]},{"1399822177":["hashtag1","hashtag2"]},{"1399822062":["hashtag1","hashtag2"]},{"1399822221":["hashtag1","hashtag2"]},{"1399822023":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399822101, 1399822139, 1399822177, 1399822062, 1399822221, 1399822023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.42101287841797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:20:22.479815
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_24_9821.jpg', '/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_34_9818.jpg', '/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_44_10288.jpg', '/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_54_9715.jpg', '/home/pi/Desktop/images/17122025/18/44/image_17122025_18_45_04_9752.jpg', '/home/pi/Desktop/images/17122025/18/45/image_17122025_18_45_14_10432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_24_9821.jpg
/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_34_9818.jpg
/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_44_10288.jpg
/home/pi/Desktop/images/17122025/18/44/image_17122025_18_44_54_9715.jpg
/home/pi/Desktop/images/17122025/18/44/image_17122025_18_45_04_9752.jpg
/home/pi/Desktop/images/17122025/18/45/image_17122025_18_45_14_10432.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822283","1399822316","1399822297","1399822309","1399822300","1399822305"],"photo_ids_order":["1399822283","1399822297","1399822300","1399822305","1399822309","1399822316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b44043d8dfdf41d43561a92fb1cd914.jpg","text":"TemporaryFile(/tmp/multipartBody1377128881247806024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995683402,"filename":"image_17122025_18_44_24_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/634d2b0a20a37c6b90b6a31a2166d01c.jpg","text":"TemporaryFile(/tmp/multipartBody7058675511388251779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995683402,"filename":"image_17122025_18_45_14_10432.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79f459a63f1a7fbb21b3a3028550b9f6.jpg","text":"TemporaryFile(/tmp/multipartBody9079272324762517920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995683402,"filename":"image_17122025_18_44_34_9818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d3a492f40359088e3fd4d9344186dbb.jpg","text":"TemporaryFile(/tmp/multipartBody5846300370432120519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995683402,"filename":"image_17122025_18_45_04_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b59ed7151a4e5455ea726b8a0d2a8da0.jpg","text":"TemporaryFile(/tmp/multipartBody2386033796177897949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995683402,"filename":"image_17122025_18_44_44_10288.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3acc870f4f5271871144f8e738e53129.jpg","text":"TemporaryFile(/tmp/multipartBody7531379820627818606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995683402,"filename":"image_17122025_18_44_54_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822300","file1":"1399822297","file0":"1399822283","file4":"1399822309","file5":"1399822316","file3":"1399822305"},"map_files_photo_id_array":[{"photo_id":"1399822316","filename":"file5"},{"photo_id":"1399822300","filename":"file2"},{"photo_id":"1399822309","filename":"file4"},{"photo_id":"1399822297","filename":"file1"},{"photo_id":"1399822283","filename":"file0"},{"photo_id":"1399822305","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822283":["hashtag1","hashtag2"]},{"1399822316":["hashtag1","hashtag2"]},{"1399822297":["hashtag1","hashtag2"]},{"1399822309":["hashtag1","hashtag2"]},{"1399822300":["hashtag1","hashtag2"]},{"1399822305":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822283, 1399822316, 1399822297, 1399822309, 1399822300, 1399822305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.078787088394165 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:21:03.050089
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/45/image_17122025_18_45_24_9769.jpg', '/home/pi/Desktop/images/17122025/18/45/image_17122025_18_45_34_9832.jpg', '/home/pi/Desktop/images/17122025/18/45/image_17122025_18_46_04_9774.jpg', '/home/pi/Desktop/images/17122025/18/46/image_17122025_18_46_14_9850.jpg', '/home/pi/Desktop/images/17122025/18/46/image_17122025_18_46_35_10750.jpg', '/home/pi/Desktop/images/17122025/18/46/image_17122025_18_46_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/45/image_17122025_18_45_24_9769.jpg
/home/pi/Desktop/images/17122025/18/45/image_17122025_18_45_34_9832.jpg
/home/pi/Desktop/images/17122025/18/45/image_17122025_18_46_04_9774.jpg
/home/pi/Desktop/images/17122025/18/46/image_17122025_18_46_14_9850.jpg
/home/pi/Desktop/images/17122025/18/46/image_17122025_18_46_35_10750.jpg
/home/pi/Desktop/images/17122025/18/46/image_17122025_18_46_54_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":["1399822331","1399822325","1399822333","1399822327","1399822332","1399822329"],"photo_ids_order":["1399822325","1399822327","1399822329","1399822331","1399822332","1399822333"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/233aea121a8b3724bc042ab047375737.jpg","text":"TemporaryFile(/tmp/multipartBody3148284013884346777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995724019,"filename":"image_17122025_18_46_14_9850.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36a97df238dde9a6a60ec62c89f58e3a.jpg","text":"TemporaryFile(/tmp/multipartBody98307006580858692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995724019,"filename":"image_17122025_18_45_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f85cb186020352ac243ab22482c3412.jpg","text":"TemporaryFile(/tmp/multipartBody9004076452883460525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995724019,"filename":"image_17122025_18_46_54_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40dd47c962b81cb98ab9f7d4db1a31d5.jpg","text":"TemporaryFile(/tmp/multipartBody1929968604435701793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995724019,"filename":"image_17122025_18_45_34_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae5a2f58ecbc8b023d43b7089e3292a8.jpg","text":"TemporaryFile(/tmp/multipartBody5194718557645732228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995724019,"filename":"image_17122025_18_46_35_10750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1acab05a0c2969625e00a83915b0b952.jpg","text":"TemporaryFile(/tmp/multipartBody7728678653641186419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995724019,"filename":"image_17122025_18_46_04_9774.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822329","file1":"1399822327","file0":"1399822325","file4":"1399822332","file5":"1399822333","file3":"1399822331"},"map_files_photo_id_array":[{"photo_id":"1399822333","filename":"file5"},{"photo_id":"1399822329","filename":"file2"},{"photo_id":"1399822332","filename":"file4"},{"photo_id":"1399822327","filename":"file1"},{"photo_id":"1399822325","filename":"file0"},{"photo_id":"1399822331","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822331":["hashtag1","hashtag2"]},{"1399822325":["hashtag1","hashtag2"]},{"1399822333":["hashtag1","hashtag2"]},{"1399822327":["hashtag1","hashtag2"]},{"1399822332":["hashtag1","hashtag2"]},{"1399822329":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822331, 1399822325, 1399822333, 1399822327, 1399822332, 1399822329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.538305044174194 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:21:42.588483
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/58/image_07112025_20_59_01_3594.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_04_2740.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_06_2642.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_10_3666.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_13_2701.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_15_2744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/58/image_07112025_20_59_01_3594.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_04_2740.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_06_2642.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_10_3666.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_13_2701.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_15_2744.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822355","1399822346","1399822351","1399822339","1399822356","1399822344"],"photo_ids_order":["1399822339","1399822344","1399822346","1399822351","1399822355","1399822356"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4417b3348187a38c6ed588fe7b3148ed.jpg","text":"TemporaryFile(/tmp/multipartBody4736534969661132771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995763645,"filename":"image_07112025_20_59_13_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/faa7861790a8313b3fe1be5ff8374aac.jpg","text":"TemporaryFile(/tmp/multipartBody3616799340971499916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995763645,"filename":"image_07112025_20_59_06_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/048222c0b4eb03f089ab39a3762e3643.jpg","text":"TemporaryFile(/tmp/multipartBody194584489427796211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995763645,"filename":"image_07112025_20_59_10_3666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3ec2105ea84ec11d68cd44b704aad50.jpg","text":"TemporaryFile(/tmp/multipartBody8644665120403337573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995763645,"filename":"image_07112025_20_59_01_3594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e0f37a2525d594a673f8adf7f6c6ed1.jpg","text":"TemporaryFile(/tmp/multipartBody1113294496765127549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995763645,"filename":"image_07112025_20_59_15_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b9471f9f8785a6316254e9d6e1149fc.jpg","text":"TemporaryFile(/tmp/multipartBody6327330923747607409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995763645,"filename":"image_07112025_20_59_04_2740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822346","file1":"1399822344","file0":"1399822339","file4":"1399822355","file5":"1399822356","file3":"1399822351"},"map_files_photo_id_array":[{"photo_id":"1399822356","filename":"file5"},{"photo_id":"1399822346","filename":"file2"},{"photo_id":"1399822355","filename":"file4"},{"photo_id":"1399822344","filename":"file1"},{"photo_id":"1399822339","filename":"file0"},{"photo_id":"1399822351","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399822355":["hashtag1","hashtag2"]},{"1399822346":["hashtag1","hashtag2"]},{"1399822351":["hashtag1","hashtag2"]},{"1399822339":["hashtag1","hashtag2"]},{"1399822356":["hashtag1","hashtag2"]},{"1399822344":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399822355, 1399822346, 1399822351, 1399822339, 1399822356, 1399822344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25391459465027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:22:21.867056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/46/image_17122025_18_47_05_10679.jpg', '/home/pi/Desktop/images/17122025/18/47/image_17122025_18_47_24_9878.jpg', '/home/pi/Desktop/images/17122025/18/47/image_17122025_18_47_34_9740.jpg', '/home/pi/Desktop/images/17122025/18/47/image_17122025_18_47_45_10781.jpg', '/home/pi/Desktop/images/17122025/18/47/image_17122025_18_47_55_9772.jpg', '/home/pi/Desktop/images/17122025/18/48/image_17122025_18_48_24_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/46/image_17122025_18_47_05_10679.jpg
/home/pi/Desktop/images/17122025/18/47/image_17122025_18_47_24_9878.jpg
/home/pi/Desktop/images/17122025/18/47/image_17122025_18_47_34_9740.jpg
/home/pi/Desktop/images/17122025/18/47/image_17122025_18_47_45_10781.jpg
/home/pi/Desktop/images/17122025/18/47/image_17122025_18_47_55_9772.jpg
/home/pi/Desktop/images/17122025/18/48/image_17122025_18_48_24_9824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822370","1399822367","1399822372","1399822360","1399822363","1399822374"],"photo_ids_order":["1399822360","1399822363","1399822367","1399822370","1399822372","1399822374"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d393e7ed089d9d20a0f47d2e7788542c.jpg","text":"TemporaryFile(/tmp/multipartBody6583920173647207799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995802925,"filename":"image_17122025_18_47_45_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a73eae2dabb2646a79d88b1ca2dcc72.jpg","text":"TemporaryFile(/tmp/multipartBody8320007614724991597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995802925,"filename":"image_17122025_18_47_34_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/858f91c9b01094e068e807dea76f70a0.jpg","text":"TemporaryFile(/tmp/multipartBody5586194924658635733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995802925,"filename":"image_17122025_18_47_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0401a26eca91b32013c98ce1d0eec2cf.jpg","text":"TemporaryFile(/tmp/multipartBody1506961196290441825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995802925,"filename":"image_17122025_18_47_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/684e13371b68a38d1e78d3c1af82b19f.jpg","text":"TemporaryFile(/tmp/multipartBody6597732068207040005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995802925,"filename":"image_17122025_18_47_24_9878.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/437de63047e6874a99a37e3ec6f99819.jpg","text":"TemporaryFile(/tmp/multipartBody7187736399172164872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995802925,"filename":"image_17122025_18_48_24_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822367","file1":"1399822363","file0":"1399822360","file4":"1399822372","file5":"1399822374","file3":"1399822370"},"map_files_photo_id_array":[{"photo_id":"1399822374","filename":"file5"},{"photo_id":"1399822367","filename":"file2"},{"photo_id":"1399822372","filename":"file4"},{"photo_id":"1399822363","filename":"file1"},{"photo_id":"1399822360","filename":"file0"},{"photo_id":"1399822370","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822370":["hashtag1","hashtag2"]},{"1399822367":["hashtag1","hashtag2"]},{"1399822372":["hashtag1","hashtag2"]},{"1399822360":["hashtag1","hashtag2"]},{"1399822363":["hashtag1","hashtag2"]},{"1399822374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822370, 1399822367, 1399822372, 1399822360, 1399822363, 1399822374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.79556369781494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:23:02.856586
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/48/image_17122025_18_48_34_9865.jpg', '/home/pi/Desktop/images/17122025/18/48/image_17122025_18_48_45_10691.jpg', '/home/pi/Desktop/images/17122025/18/48/image_17122025_18_48_54_9625.jpg', '/home/pi/Desktop/images/17122025/18/48/image_17122025_18_49_04_9787.jpg', '/home/pi/Desktop/images/17122025/18/49/image_17122025_18_49_24_10621.jpg', '/home/pi/Desktop/images/17122025/18/49/image_17122025_18_49_34_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/48/image_17122025_18_48_34_9865.jpg
/home/pi/Desktop/images/17122025/18/48/image_17122025_18_48_45_10691.jpg
/home/pi/Desktop/images/17122025/18/48/image_17122025_18_48_54_9625.jpg
/home/pi/Desktop/images/17122025/18/48/image_17122025_18_49_04_9787.jpg
/home/pi/Desktop/images/17122025/18/49/image_17122025_18_49_24_10621.jpg
/home/pi/Desktop/images/17122025/18/49/image_17122025_18_49_34_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":["1399822382","1399822376","1399822379","1399822378","1399822380","1399822377"],"photo_ids_order":["1399822376","1399822377","1399822378","1399822379","1399822380","1399822382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20cbe30e115c49b7dcc46b22a3fcc423.jpg","text":"TemporaryFile(/tmp/multipartBody725965917487850485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995843776,"filename":"image_17122025_18_49_34_9562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6236ef8f4f8e034b5a594fe735b3654f.jpg","text":"TemporaryFile(/tmp/multipartBody3129956549689094802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995843776,"filename":"image_17122025_18_48_34_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06913db4a08c613d054f2c68eb3fd967.jpg","text":"TemporaryFile(/tmp/multipartBody1819761525826360366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995843776,"filename":"image_17122025_18_49_04_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b89fff536f1180864d88b0b2ba53811b.jpg","text":"TemporaryFile(/tmp/multipartBody6919797351079824272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995843776,"filename":"image_17122025_18_48_54_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cb97cbfd08fecbb880b6e489e2b62c5.jpg","text":"TemporaryFile(/tmp/multipartBody7699173757402354471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995843776,"filename":"image_17122025_18_49_24_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14e0db7726cb417b139dfb5e1feea7e0.jpg","text":"TemporaryFile(/tmp/multipartBody7017885352168371605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995843776,"filename":"image_17122025_18_48_45_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822378","file1":"1399822377","file0":"1399822376","file4":"1399822380","file5":"1399822382","file3":"1399822379"},"map_files_photo_id_array":[{"photo_id":"1399822382","filename":"file5"},{"photo_id":"1399822378","filename":"file2"},{"photo_id":"1399822380","filename":"file4"},{"photo_id":"1399822377","filename":"file1"},{"photo_id":"1399822376","filename":"file0"},{"photo_id":"1399822379","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822382":["hashtag1","hashtag2"]},{"1399822376":["hashtag1","hashtag2"]},{"1399822379":["hashtag1","hashtag2"]},{"1399822378":["hashtag1","hashtag2"]},{"1399822380":["hashtag1","hashtag2"]},{"1399822377":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822382, 1399822376, 1399822379, 1399822378, 1399822380, 1399822377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.01029181480408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:23:42.081121
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_22_3576.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_27_2682.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_33_2788.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_37_3703.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_39_2701.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_45_3609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_22_3576.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_27_2682.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_33_2788.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_37_3703.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_39_2701.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_45_3609.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822421","1399822400","1399822420","1399822391","1399822419","1399822388"],"photo_ids_order":["1399822388","1399822391","1399822400","1399822419","1399822420","1399822421"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18248b6882a994c0fb8db3ca124d46d9.jpg","text":"TemporaryFile(/tmp/multipartBody7645003329709893559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995883123,"filename":"image_07112025_20_59_45_3609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9f924a9f28f462731e1f4926a159b0a.jpg","text":"TemporaryFile(/tmp/multipartBody9023175459866914400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995883123,"filename":"image_07112025_20_59_33_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23fa5831fc86be1775b136d82cc139a5.jpg","text":"TemporaryFile(/tmp/multipartBody8783725284405547029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995883123,"filename":"image_07112025_20_59_39_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e73832136c2f5f5c00c2b987b6fd8990.jpg","text":"TemporaryFile(/tmp/multipartBody6158393400939175688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995883123,"filename":"image_07112025_20_59_27_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7b049495100fd683ec9c3c2bebb5716.jpg","text":"TemporaryFile(/tmp/multipartBody8476193175622711370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995883123,"filename":"image_07112025_20_59_37_3703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cc368076fcb869029d8455759d2d0c3.jpg","text":"TemporaryFile(/tmp/multipartBody2969765971829174841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995883123,"filename":"image_07112025_20_59_22_3576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822400","file1":"1399822391","file0":"1399822388","file4":"1399822420","file5":"1399822421","file3":"1399822419"},"map_files_photo_id_array":[{"photo_id":"1399822421","filename":"file5"},{"photo_id":"1399822400","filename":"file2"},{"photo_id":"1399822420","filename":"file4"},{"photo_id":"1399822391","filename":"file1"},{"photo_id":"1399822388","filename":"file0"},{"photo_id":"1399822419","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399822421":["hashtag1","hashtag2"]},{"1399822400":["hashtag1","hashtag2"]},{"1399822420":["hashtag1","hashtag2"]},{"1399822391":["hashtag1","hashtag2"]},{"1399822419":["hashtag1","hashtag2"]},{"1399822388":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399822421, 1399822400, 1399822420, 1399822391, 1399822419, 1399822388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.838568449020386 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:24:22.356791
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/49/image_17122025_18_49_45_10632.jpg', '/home/pi/Desktop/images/17122025/18/49/image_17122025_18_49_54_9714.jpg', '/home/pi/Desktop/images/17122025/18/49/image_17122025_18_50_04_9795.jpg', '/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_14_9790.jpg', '/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_25_10621.jpg', '/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_34_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/49/image_17122025_18_49_45_10632.jpg
/home/pi/Desktop/images/17122025/18/49/image_17122025_18_49_54_9714.jpg
/home/pi/Desktop/images/17122025/18/49/image_17122025_18_50_04_9795.jpg
/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_14_9790.jpg
/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_25_10621.jpg
/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_34_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822430","1399822424","1399822427","1399822432","1399822434","1399822422"],"photo_ids_order":["1399822422","1399822424","1399822427","1399822430","1399822432","1399822434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07e9bce591396bb0c7457b355524acb5.jpg","text":"TemporaryFile(/tmp/multipartBody6781546997860180779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995923573,"filename":"image_17122025_18_50_14_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd1ca8c90ae59642b1f606b01fe9b8ef.jpg","text":"TemporaryFile(/tmp/multipartBody2320740607694430586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995923573,"filename":"image_17122025_18_49_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/175fce69419bc1a31b745df7299dec0c.jpg","text":"TemporaryFile(/tmp/multipartBody1527463918765281398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995923573,"filename":"image_17122025_18_50_04_9795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf706cba1c1282ad6c15f8c2d70a5428.jpg","text":"TemporaryFile(/tmp/multipartBody294423806255112530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995923573,"filename":"image_17122025_18_50_25_10621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48803323f957c3978c56fec84cfe0b6e.jpg","text":"TemporaryFile(/tmp/multipartBody8150396728957400890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995923573,"filename":"image_17122025_18_50_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c1c9e858ec3fcdcf29a3dddd04a0d7e.jpg","text":"TemporaryFile(/tmp/multipartBody1813098393174850514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995923573,"filename":"image_17122025_18_49_45_10632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822427","file1":"1399822424","file0":"1399822422","file4":"1399822432","file5":"1399822434","file3":"1399822430"},"map_files_photo_id_array":[{"photo_id":"1399822434","filename":"file5"},{"photo_id":"1399822427","filename":"file2"},{"photo_id":"1399822432","filename":"file4"},{"photo_id":"1399822424","filename":"file1"},{"photo_id":"1399822422","filename":"file0"},{"photo_id":"1399822430","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822430":["hashtag1","hashtag2"]},{"1399822424":["hashtag1","hashtag2"]},{"1399822427":["hashtag1","hashtag2"]},{"1399822432":["hashtag1","hashtag2"]},{"1399822434":["hashtag1","hashtag2"]},{"1399822422":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822430, 1399822424, 1399822427, 1399822432, 1399822434, 1399822422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46587800979614 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:25:03.129687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_44_9708.jpg', '/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_55_10795.jpg', '/home/pi/Desktop/images/17122025/18/50/image_17122025_18_51_04_9737.jpg', '/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_14_9729.jpg', '/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_24_9797.jpg', '/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_35_10779.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_44_9708.jpg
/home/pi/Desktop/images/17122025/18/50/image_17122025_18_50_55_10795.jpg
/home/pi/Desktop/images/17122025/18/50/image_17122025_18_51_04_9737.jpg
/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_14_9729.jpg
/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_24_9797.jpg
/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_35_10779.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822442","1399822436","1399822439","1399822438","1399822440","1399822437"],"photo_ids_order":["1399822436","1399822437","1399822438","1399822439","1399822440","1399822442"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cbaec3754e5369e0e510b3be55b2268.jpg","text":"TemporaryFile(/tmp/multipartBody7965193787338209792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995964064,"filename":"image_17122025_18_51_35_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2c3f251a5a13dbc266017552c398f00.jpg","text":"TemporaryFile(/tmp/multipartBody5958986075276822094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995964064,"filename":"image_17122025_18_50_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88571fdc3a658d774beec3d30ba9d480.jpg","text":"TemporaryFile(/tmp/multipartBody2210918975525505778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995964064,"filename":"image_17122025_18_51_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/080bdcdcc8f8293d5b0acf7764fe558e.jpg","text":"TemporaryFile(/tmp/multipartBody1997488852098905501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995964064,"filename":"image_17122025_18_51_04_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37161974c0d5cf93618afc92d2fe1e0a.jpg","text":"TemporaryFile(/tmp/multipartBody5993288587014222806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995964064,"filename":"image_17122025_18_51_24_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a54da6f833a88934fe052c1de48502a.jpg","text":"TemporaryFile(/tmp/multipartBody8364919643262953410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765995964064,"filename":"image_17122025_18_50_55_10795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822438","file1":"1399822437","file0":"1399822436","file4":"1399822440","file5":"1399822442","file3":"1399822439"},"map_files_photo_id_array":[{"photo_id":"1399822442","filename":"file5"},{"photo_id":"1399822438","filename":"file2"},{"photo_id":"1399822440","filename":"file4"},{"photo_id":"1399822437","filename":"file1"},{"photo_id":"1399822436","filename":"file0"},{"photo_id":"1399822439","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822442":["hashtag1","hashtag2"]},{"1399822436":["hashtag1","hashtag2"]},{"1399822439":["hashtag1","hashtag2"]},{"1399822438":["hashtag1","hashtag2"]},{"1399822440":["hashtag1","hashtag2"]},{"1399822437":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822442, 1399822436, 1399822439, 1399822438, 1399822440, 1399822437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.241337060928345 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:25:42.528769
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_48_2633.jpg', '/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_52_3660.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_07_3211.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_10_2860.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_16_2669.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_19_2716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_48_2633.jpg
/home/pi/Desktop/images/07112025/20/59/image_07112025_20_59_52_3660.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_07_3211.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_10_2860.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_16_2669.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_19_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":["1399822454","1399822451","1399822448","1399822453","1399822452","1399822455"],"photo_ids_order":["1399822448","1399822451","1399822452","1399822453","1399822454","1399822455"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9009ffb9da1f92a2ac31b1e5baf6e628.jpg","text":"TemporaryFile(/tmp/multipartBody5534359706477941312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996003543,"filename":"image_07112025_21_00_16_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39809e6a82585e6e1a3ee3a12784d7a7.jpg","text":"TemporaryFile(/tmp/multipartBody7107647458094604836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996003543,"filename":"image_07112025_20_59_52_3660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87c11608081eca67d2a6f1b381a901b5.jpg","text":"TemporaryFile(/tmp/multipartBody4600705348717651082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996003543,"filename":"image_07112025_20_59_48_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a6fc6dae19ade71466b6077aa611474.jpg","text":"TemporaryFile(/tmp/multipartBody1987458281644329240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996003543,"filename":"image_07112025_21_00_10_2860.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03327ea28c2b8929a418d09e2221f9fa.jpg","text":"TemporaryFile(/tmp/multipartBody7895150242737019031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996003543,"filename":"image_07112025_21_00_07_3211.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6ec84c43669dc03c070430a2150fbcd.jpg","text":"TemporaryFile(/tmp/multipartBody3359263440996565426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996003543,"filename":"image_07112025_21_00_19_2716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822452","file1":"1399822451","file0":"1399822448","file4":"1399822454","file5":"1399822455","file3":"1399822453"},"map_files_photo_id_array":[{"photo_id":"1399822455","filename":"file5"},{"photo_id":"1399822452","filename":"file2"},{"photo_id":"1399822454","filename":"file4"},{"photo_id":"1399822451","filename":"file1"},{"photo_id":"1399822448","filename":"file0"},{"photo_id":"1399822453","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399822454":["hashtag1","hashtag2"]},{"1399822451":["hashtag1","hashtag2"]},{"1399822448":["hashtag1","hashtag2"]},{"1399822453":["hashtag1","hashtag2"]},{"1399822452":["hashtag1","hashtag2"]},{"1399822455":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399822454, 1399822451, 1399822448, 1399822453, 1399822452, 1399822455)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14911866188049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:26:22.830614
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_44_9652.jpg', '/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_54_9782.jpg', '/home/pi/Desktop/images/17122025/18/51/image_17122025_18_52_04_9827.jpg', '/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_24_9643.jpg', '/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_34_9812.jpg', '/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_44_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_44_9652.jpg
/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_54_9782.jpg
/home/pi/Desktop/images/17122025/18/51/image_17122025_18_52_04_9827.jpg
/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_24_9643.jpg
/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_34_9812.jpg
/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_44_9797.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2637827396392822 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:26:32.807859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:26:42.753642
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_23_3513.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_25_2793.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_28_2777.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_32_3675.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_35_2634.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_37_2666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_23_3513.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_25_2793.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_28_2777.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_32_3675.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_35_2634.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_37_2666.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822469","1399822483","1399822486","1399822488","1399822485","1399822487"],"photo_ids_order":["1399822469","1399822483","1399822485","1399822486","1399822487","1399822488"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f8af89bde62e2438b352e8a2068edab.jpg","text":"TemporaryFile(/tmp/multipartBody8313044017504708470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996063787,"filename":"image_07112025_21_00_23_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38d1fd42783d625e4758e76e33dc8d38.jpg","text":"TemporaryFile(/tmp/multipartBody3361339557927163296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996063787,"filename":"image_07112025_21_00_25_2793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2a32612b0e443515f9550982135c217.jpg","text":"TemporaryFile(/tmp/multipartBody3660324671590443615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996063787,"filename":"image_07112025_21_00_32_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be951c6bd27ce633bb8bcce94ce8bf9f.jpg","text":"TemporaryFile(/tmp/multipartBody1592868999616278680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996063787,"filename":"image_07112025_21_00_37_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1687b10f8637e462949b1df8c8a3df93.jpg","text":"TemporaryFile(/tmp/multipartBody8366918271147715981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996063787,"filename":"image_07112025_21_00_28_2777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbf9293b70a49f0ad872623e31a90106.jpg","text":"TemporaryFile(/tmp/multipartBody878301909671828413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996063787,"filename":"image_07112025_21_00_35_2634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822485","file1":"1399822483","file0":"1399822469","file4":"1399822487","file5":"1399822488","file3":"1399822486"},"map_files_photo_id_array":[{"photo_id":"1399822488","filename":"file5"},{"photo_id":"1399822485","filename":"file2"},{"photo_id":"1399822487","filename":"file4"},{"photo_id":"1399822483","filename":"file1"},{"photo_id":"1399822469","filename":"file0"},{"photo_id":"1399822486","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399822469":["hashtag1","hashtag2"]},{"1399822483":["hashtag1","hashtag2"]},{"1399822486":["hashtag1","hashtag2"]},{"1399822488":["hashtag1","hashtag2"]},{"1399822485":["hashtag1","hashtag2"]},{"1399822487":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399822469, 1399822483, 1399822486, 1399822488, 1399822485, 1399822487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.76287078857422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:27:22.015154
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_44_9652.jpg', '/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_54_9782.jpg', '/home/pi/Desktop/images/17122025/18/51/image_17122025_18_52_04_9827.jpg', '/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_24_9643.jpg', '/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_34_9812.jpg', '/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_44_9797.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_44_9652.jpg
/home/pi/Desktop/images/17122025/18/51/image_17122025_18_51_54_9782.jpg
/home/pi/Desktop/images/17122025/18/51/image_17122025_18_52_04_9827.jpg
/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_24_9643.jpg
/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_34_9812.jpg
/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_44_9797.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822496","1399822498","1399822492","1399822501","1399822494","1399822490"],"photo_ids_order":["1399822490","1399822492","1399822494","1399822496","1399822498","1399822501"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e20b43f92ce724dca9c1d0f9a76b78d2.jpg","text":"TemporaryFile(/tmp/multipartBody5701496983713909536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996103206,"filename":"image_17122025_18_52_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f27d9e2136a3cf053aca8d9ea0ef337.jpg","text":"TemporaryFile(/tmp/multipartBody1767208278652476499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996103206,"filename":"image_17122025_18_52_34_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07759a8c22a5e362399cf4bfb19cd644.jpg","text":"TemporaryFile(/tmp/multipartBody4975100532207581162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996103206,"filename":"image_17122025_18_51_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/890c4b19ba803dbcf764650baa74f7c9.jpg","text":"TemporaryFile(/tmp/multipartBody611420998167021775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996103206,"filename":"image_17122025_18_52_44_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a664fd77532c587eceacb03715384fa.jpg","text":"TemporaryFile(/tmp/multipartBody7989816710153923503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996103206,"filename":"image_17122025_18_52_04_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/227a1eb05b0d6b27be423b8a235618e7.jpg","text":"TemporaryFile(/tmp/multipartBody9192067534569182437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996103206,"filename":"image_17122025_18_51_44_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822494","file1":"1399822492","file0":"1399822490","file4":"1399822498","file5":"1399822501","file3":"1399822496"},"map_files_photo_id_array":[{"photo_id":"1399822501","filename":"file5"},{"photo_id":"1399822494","filename":"file2"},{"photo_id":"1399822498","filename":"file4"},{"photo_id":"1399822492","filename":"file1"},{"photo_id":"1399822490","filename":"file0"},{"photo_id":"1399822496","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822496":["hashtag1","hashtag2"]},{"1399822498":["hashtag1","hashtag2"]},{"1399822492":["hashtag1","hashtag2"]},{"1399822501":["hashtag1","hashtag2"]},{"1399822494":["hashtag1","hashtag2"]},{"1399822490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822496, 1399822498, 1399822492, 1399822501, 1399822494, 1399822490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.98623299598694 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:28:02.673241
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_55_10701.jpg', '/home/pi/Desktop/images/17122025/18/52/image_17122025_18_53_04_9770.jpg', '/home/pi/Desktop/images/17122025/18/53/image_17122025_18_53_14_9667.jpg', '/home/pi/Desktop/images/17122025/18/53/image_17122025_18_53_24_9836.jpg', '/home/pi/Desktop/images/17122025/18/53/image_17122025_18_53_34_10649.jpg', '/home/pi/Desktop/images/17122025/18/53/image_17122025_18_53_44_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/52/image_17122025_18_52_55_10701.jpg
/home/pi/Desktop/images/17122025/18/52/image_17122025_18_53_04_9770.jpg
/home/pi/Desktop/images/17122025/18/53/image_17122025_18_53_14_9667.jpg
/home/pi/Desktop/images/17122025/18/53/image_17122025_18_53_24_9836.jpg
/home/pi/Desktop/images/17122025/18/53/image_17122025_18_53_34_10649.jpg
/home/pi/Desktop/images/17122025/18/53/image_17122025_18_53_44_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":["1399822520","1399822502","1399822522","1399822513","1399822515","1399822503"],"photo_ids_order":["1399822502","1399822503","1399822513","1399822515","1399822520","1399822522"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15fb9716e51680431f7c089cc7d75db3.jpg","text":"TemporaryFile(/tmp/multipartBody2554045166187990168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996143559,"filename":"image_17122025_18_53_34_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e401aad3a4839d4946c14a919d7c5ce9.jpg","text":"TemporaryFile(/tmp/multipartBody1122024025065656938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996143559,"filename":"image_17122025_18_52_55_10701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7af635bbcdff64b012273c15847ec8ef.jpg","text":"TemporaryFile(/tmp/multipartBody2261196376098856330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996143559,"filename":"image_17122025_18_53_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cac3c9c2b10d32f8c5bbdc7b641bbcfc.jpg","text":"TemporaryFile(/tmp/multipartBody4699356937593219167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996143559,"filename":"image_17122025_18_53_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca3754d1ade78e479fedd40ff2b4a609.jpg","text":"TemporaryFile(/tmp/multipartBody388153343893905936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996143559,"filename":"image_17122025_18_53_24_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1112c0a2c0f2904222c444e616020853.jpg","text":"TemporaryFile(/tmp/multipartBody577268542262005751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996143559,"filename":"image_17122025_18_53_04_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822513","file1":"1399822503","file0":"1399822502","file4":"1399822520","file5":"1399822522","file3":"1399822515"},"map_files_photo_id_array":[{"photo_id":"1399822522","filename":"file5"},{"photo_id":"1399822513","filename":"file2"},{"photo_id":"1399822520","filename":"file4"},{"photo_id":"1399822503","filename":"file1"},{"photo_id":"1399822502","filename":"file0"},{"photo_id":"1399822515","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822520":["hashtag1","hashtag2"]},{"1399822502":["hashtag1","hashtag2"]},{"1399822522":["hashtag1","hashtag2"]},{"1399822513":["hashtag1","hashtag2"]},{"1399822515":["hashtag1","hashtag2"]},{"1399822503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822520, 1399822502, 1399822522, 1399822513, 1399822515, 1399822503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.369749307632446 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:28:42.238783
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_41_3676.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_44_2789.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_49_2624.jpg', '/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_55_2698.jpg', '/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_01_2903.jpg', '/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_05_3725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_41_3676.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_44_2789.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_49_2624.jpg
/home/pi/Desktop/images/07112025/21/00/image_07112025_21_00_55_2698.jpg
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_01_2903.jpg
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_05_3725.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822544","1399822547","1399822546","1399822549","1399822542","1399822545"],"photo_ids_order":["1399822542","1399822544","1399822545","1399822546","1399822547","1399822549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db4c32ecfb3d77dcb6b03d7489263564.jpg","text":"TemporaryFile(/tmp/multipartBody2044163316644096657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996183379,"filename":"image_07112025_21_00_44_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a926793b9b18f627f55016df5dfadda.jpg","text":"TemporaryFile(/tmp/multipartBody4520073447762543688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996183379,"filename":"image_07112025_21_01_01_2903.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a2ba5d62f47c319e438c5278899dcc9.jpg","text":"TemporaryFile(/tmp/multipartBody7094884362932603198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996183379,"filename":"image_07112025_21_00_55_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f01ce6edf13a83f04d0577a424d8c2d9.jpg","text":"TemporaryFile(/tmp/multipartBody9086317843051402986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996183379,"filename":"image_07112025_21_01_05_3725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c94ce4d1fcaf0e1e433d772ebc74ebb0.jpg","text":"TemporaryFile(/tmp/multipartBody6163194139127976615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996183379,"filename":"image_07112025_21_00_41_3676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb726d3f44b2f4caf5509ae24c6d30af.jpg","text":"TemporaryFile(/tmp/multipartBody1704746588562619570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996183379,"filename":"image_07112025_21_00_49_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822545","file1":"1399822544","file0":"1399822542","file4":"1399822547","file5":"1399822549","file3":"1399822546"},"map_files_photo_id_array":[{"photo_id":"1399822549","filename":"file5"},{"photo_id":"1399822545","filename":"file2"},{"photo_id":"1399822547","filename":"file4"},{"photo_id":"1399822544","filename":"file1"},{"photo_id":"1399822542","filename":"file0"},{"photo_id":"1399822546","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399822544":["hashtag1","hashtag2"]},{"1399822547":["hashtag1","hashtag2"]},{"1399822546":["hashtag1","hashtag2"]},{"1399822549":["hashtag1","hashtag2"]},{"1399822542":["hashtag1","hashtag2"]},{"1399822545":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399822544, 1399822547, 1399822546, 1399822549, 1399822542, 1399822545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.616796016693115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:29:22.528579
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/53/image_17122025_18_54_04_10623.jpg', '/home/pi/Desktop/images/17122025/18/54/image_17122025_18_54_14_9613.jpg', '/home/pi/Desktop/images/17122025/18/54/image_17122025_18_54_24_9742.jpg', '/home/pi/Desktop/images/17122025/18/54/image_17122025_18_54_54_9837.jpg', '/home/pi/Desktop/images/17122025/18/54/image_17122025_18_55_04_9842.jpg', '/home/pi/Desktop/images/17122025/18/55/image_17122025_18_55_24_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/53/image_17122025_18_54_04_10623.jpg
/home/pi/Desktop/images/17122025/18/54/image_17122025_18_54_14_9613.jpg
/home/pi/Desktop/images/17122025/18/54/image_17122025_18_54_24_9742.jpg
/home/pi/Desktop/images/17122025/18/54/image_17122025_18_54_54_9837.jpg
/home/pi/Desktop/images/17122025/18/54/image_17122025_18_55_04_9842.jpg
/home/pi/Desktop/images/17122025/18/55/image_17122025_18_55_24_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822559","1399822564","1399822567","1399822561","1399822555","1399822557"],"photo_ids_order":["1399822555","1399822557","1399822559","1399822561","1399822564","1399822567"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7defb4e5787a1f58d6c91f65f97d797a.jpg","text":"TemporaryFile(/tmp/multipartBody418319720706812732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996223457,"filename":"image_17122025_18_54_24_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0fde2b8aef6eab61645b9d9ee48834f.jpg","text":"TemporaryFile(/tmp/multipartBody4534960702517657680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996223457,"filename":"image_17122025_18_55_04_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42cc8cda4cfd16a2d16add7d8b771884.jpg","text":"TemporaryFile(/tmp/multipartBody2195371520783530289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996223457,"filename":"image_17122025_18_55_24_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07b6ef5ad0fa98d739e1d698e144894c.jpg","text":"TemporaryFile(/tmp/multipartBody1566671853789796935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996223457,"filename":"image_17122025_18_54_54_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/625030eace8fb1a4e4b75447bf423920.jpg","text":"TemporaryFile(/tmp/multipartBody206842228681156374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996223457,"filename":"image_17122025_18_54_04_10623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/968255be2bf6994132d1cb0dad7e010d.jpg","text":"TemporaryFile(/tmp/multipartBody3600890243833677833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996223457,"filename":"image_17122025_18_54_14_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822559","file1":"1399822557","file0":"1399822555","file4":"1399822564","file5":"1399822567","file3":"1399822561"},"map_files_photo_id_array":[{"photo_id":"1399822567","filename":"file5"},{"photo_id":"1399822559","filename":"file2"},{"photo_id":"1399822564","filename":"file4"},{"photo_id":"1399822557","filename":"file1"},{"photo_id":"1399822555","filename":"file0"},{"photo_id":"1399822561","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822559":["hashtag1","hashtag2"]},{"1399822564":["hashtag1","hashtag2"]},{"1399822567":["hashtag1","hashtag2"]},{"1399822561":["hashtag1","hashtag2"]},{"1399822555":["hashtag1","hashtag2"]},{"1399822557":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822559, 1399822564, 1399822567, 1399822561, 1399822555, 1399822557)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 39.822160720825195 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:30:12.722852
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:30:22.776599
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/55/image_17122025_18_56_04_9775.jpg', '/home/pi/Desktop/images/17122025/18/56/image_17122025_18_56_15_10784.jpg', '/home/pi/Desktop/images/17122025/18/56/image_17122025_18_56_24_9709.jpg', '/home/pi/Desktop/images/17122025/18/56/image_17122025_18_56_34_9714.jpg', '/home/pi/Desktop/images/17122025/18/56/image_17122025_18_57_04_9760.jpg', '/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_14_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/55/image_17122025_18_56_04_9775.jpg
/home/pi/Desktop/images/17122025/18/56/image_17122025_18_56_15_10784.jpg
/home/pi/Desktop/images/17122025/18/56/image_17122025_18_56_24_9709.jpg
/home/pi/Desktop/images/17122025/18/56/image_17122025_18_56_34_9714.jpg
/home/pi/Desktop/images/17122025/18/56/image_17122025_18_57_04_9760.jpg
/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_14_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":["1399822580","1399822577","1399822573","1399822575","1399822569","1399822571"],"photo_ids_order":["1399822569","1399822571","1399822573","1399822575","1399822577","1399822580"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5fd6a5825205d50fc64b926f4ef39084.jpg","text":"TemporaryFile(/tmp/multipartBody6655773901955125828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996283680,"filename":"image_17122025_18_57_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab7354c7d1522cc72ff4b369212f7506.jpg","text":"TemporaryFile(/tmp/multipartBody2125454490529865957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996283680,"filename":"image_17122025_18_57_04_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7d171104dcf42e93a279ca404d7e60c.jpg","text":"TemporaryFile(/tmp/multipartBody2444563117892725122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996283680,"filename":"image_17122025_18_56_24_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b40e0497573a788beec171b26375184f.jpg","text":"TemporaryFile(/tmp/multipartBody770179907627647521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996283680,"filename":"image_17122025_18_56_34_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84ad91e315425d5caba39c7dbd1aa3dc.jpg","text":"TemporaryFile(/tmp/multipartBody3735297899619706020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996283680,"filename":"image_17122025_18_56_04_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89eae04f8e6b0d3ef8db06aa6dd37e11.jpg","text":"TemporaryFile(/tmp/multipartBody2115069361359027301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996283680,"filename":"image_17122025_18_56_15_10784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822573","file1":"1399822571","file0":"1399822569","file4":"1399822577","file5":"1399822580","file3":"1399822575"},"map_files_photo_id_array":[{"photo_id":"1399822580","filename":"file5"},{"photo_id":"1399822573","filename":"file2"},{"photo_id":"1399822577","filename":"file4"},{"photo_id":"1399822571","filename":"file1"},{"photo_id":"1399822569","filename":"file0"},{"photo_id":"1399822575","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822580":["hashtag1","hashtag2"]},{"1399822577":["hashtag1","hashtag2"]},{"1399822573":["hashtag1","hashtag2"]},{"1399822575":["hashtag1","hashtag2"]},{"1399822569":["hashtag1","hashtag2"]},{"1399822571":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822580, 1399822577, 1399822573, 1399822575, 1399822569, 1399822571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.510714292526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:31:02.825864
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_24_9667.jpg', '/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_34_10613.jpg', '/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_44_9849.jpg', '/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_54_9646.jpg', '/home/pi/Desktop/images/17122025/18/57/image_17122025_18_58_04_9955.jpg', '/home/pi/Desktop/images/17122025/18/58/image_17122025_18_58_14_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_24_9667.jpg
/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_34_10613.jpg
/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_44_9849.jpg
/home/pi/Desktop/images/17122025/18/57/image_17122025_18_57_54_9646.jpg
/home/pi/Desktop/images/17122025/18/57/image_17122025_18_58_04_9955.jpg
/home/pi/Desktop/images/17122025/18/58/image_17122025_18_58_14_10570.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":["1399822640","1399822631","1399822612","1399822642","1399822624","1399822603"],"photo_ids_order":["1399822603","1399822612","1399822624","1399822631","1399822640","1399822642"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c80eb45fc5c23ece1a1aade88fac15f8.jpg","text":"TemporaryFile(/tmp/multipartBody8291397145426345523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996323853,"filename":"image_17122025_18_58_04_9955.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18ee155bccbd3715ac6efdcbfb78e86f.jpg","text":"TemporaryFile(/tmp/multipartBody7063522166254782739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996323853,"filename":"image_17122025_18_57_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36d28b51f4b6e0e8e0e3a57fcee4fe5d.jpg","text":"TemporaryFile(/tmp/multipartBody1647050339158852236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996323853,"filename":"image_17122025_18_57_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca30d38881bb538229c0b822ea8863ac.jpg","text":"TemporaryFile(/tmp/multipartBody5542577849198440771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996323853,"filename":"image_17122025_18_58_14_10570.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0486b425d572835077edd199a3833d09.jpg","text":"TemporaryFile(/tmp/multipartBody8202279533056192650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996323853,"filename":"image_17122025_18_57_44_9849.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e2f9e218188e5a073445c9b60c9fd3b.jpg","text":"TemporaryFile(/tmp/multipartBody2556071387406533124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996323853,"filename":"image_17122025_18_57_24_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822624","file1":"1399822612","file0":"1399822603","file4":"1399822640","file5":"1399822642","file3":"1399822631"},"map_files_photo_id_array":[{"photo_id":"1399822642","filename":"file5"},{"photo_id":"1399822624","filename":"file2"},{"photo_id":"1399822640","filename":"file4"},{"photo_id":"1399822612","filename":"file1"},{"photo_id":"1399822603","filename":"file0"},{"photo_id":"1399822631","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822640":["hashtag1","hashtag2"]},{"1399822631":["hashtag1","hashtag2"]},{"1399822612":["hashtag1","hashtag2"]},{"1399822642":["hashtag1","hashtag2"]},{"1399822624":["hashtag1","hashtag2"]},{"1399822603":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822640, 1399822631, 1399822612, 1399822642, 1399822624, 1399822603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.93939757347107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:32:02.745027
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/58/image_17122025_18_58_24_9851.jpg', '/home/pi/Desktop/images/17122025/18/58/image_17122025_18_58_45_10652.jpg', '/home/pi/Desktop/images/17122025/18/58/image_17122025_18_59_04_9376.jpg', '/home/pi/Desktop/images/17122025/18/59/image_17122025_18_59_15_10712.jpg', '/home/pi/Desktop/images/17122025/18/59/image_17122025_18_59_24_9603.jpg', '/home/pi/Desktop/images/17122025/18/59/image_17122025_18_59_45_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/58/image_17122025_18_58_24_9851.jpg
/home/pi/Desktop/images/17122025/18/58/image_17122025_18_58_45_10652.jpg
/home/pi/Desktop/images/17122025/18/58/image_17122025_18_59_04_9376.jpg
/home/pi/Desktop/images/17122025/18/59/image_17122025_18_59_15_10712.jpg
/home/pi/Desktop/images/17122025/18/59/image_17122025_18_59_24_9603.jpg
/home/pi/Desktop/images/17122025/18/59/image_17122025_18_59_45_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":["1399822760","1399822754","1399822756","1399822744","1399822785","1399822758"],"photo_ids_order":["1399822744","1399822754","1399822756","1399822758","1399822760","1399822785"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dc7db8116cb4242b8fc8c958e8fe8e0.jpg","text":"TemporaryFile(/tmp/multipartBody1670553313010706289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996383655,"filename":"image_17122025_18_59_24_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3476785fe22e5f09cf0d3ecadf987c9.jpg","text":"TemporaryFile(/tmp/multipartBody7682417637826105513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996383655,"filename":"image_17122025_18_58_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1874988120e9a91e4235865456d0ecac.jpg","text":"TemporaryFile(/tmp/multipartBody1473986359652651256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996383655,"filename":"image_17122025_18_59_04_9376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c27d74ddba416dab5f21dc4aac09243b.jpg","text":"TemporaryFile(/tmp/multipartBody4931978722457186987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996383655,"filename":"image_17122025_18_58_24_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aef3aabf86e24c0661ddf8939960ef56.jpg","text":"TemporaryFile(/tmp/multipartBody1447238418131233382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996383655,"filename":"image_17122025_18_59_45_10768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31e1998d584b7eca0812dc20461a3694.jpg","text":"TemporaryFile(/tmp/multipartBody4013094456543246627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996383655,"filename":"image_17122025_18_59_15_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822756","file1":"1399822754","file0":"1399822744","file4":"1399822760","file5":"1399822785","file3":"1399822758"},"map_files_photo_id_array":[{"photo_id":"1399822785","filename":"file5"},{"photo_id":"1399822756","filename":"file2"},{"photo_id":"1399822760","filename":"file4"},{"photo_id":"1399822754","filename":"file1"},{"photo_id":"1399822744","filename":"file0"},{"photo_id":"1399822758","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822760":["hashtag1","hashtag2"]},{"1399822754":["hashtag1","hashtag2"]},{"1399822756":["hashtag1","hashtag2"]},{"1399822744":["hashtag1","hashtag2"]},{"1399822785":["hashtag1","hashtag2"]},{"1399822758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822760, 1399822754, 1399822756, 1399822744, 1399822785, 1399822758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73919320106506 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:32:42.317966
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_13_2774.jpg', '/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_17_3788.jpg', '/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_22_5023.jpg', '/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_34_2670.jpg', '/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_40_2649.jpg', '/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_43_2853.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_13_2774.jpg
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_17_3788.jpg
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_22_5023.jpg
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_34_2670.jpg
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_40_2649.jpg
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_43_2853.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822826","1399822829","1399822828","1399822878","1399822863","1399822877"],"photo_ids_order":["1399822826","1399822828","1399822829","1399822863","1399822877","1399822878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec7c31015e6b2942ca8e27f2fd81c59e.jpg","text":"TemporaryFile(/tmp/multipartBody4710773143376873658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996423325,"filename":"image_07112025_21_01_13_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2bcc40eb4663c1e4dabb6020ad964ec.jpg","text":"TemporaryFile(/tmp/multipartBody1322206421190492175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996423325,"filename":"image_07112025_21_01_22_5023.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6efe70bdd2f8d23030c5e3cba17fa117.jpg","text":"TemporaryFile(/tmp/multipartBody5492538635363363592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996423325,"filename":"image_07112025_21_01_17_3788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e770d91d5e8cf27f870d38aad8119c2.jpg","text":"TemporaryFile(/tmp/multipartBody3259862571949341501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996423325,"filename":"image_07112025_21_01_43_2853.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6428aac1f79dac6dcb5c8f74f61b048e.jpg","text":"TemporaryFile(/tmp/multipartBody7448626155010447505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996423325,"filename":"image_07112025_21_01_34_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4185fa9dba670c0d056b55247200859f.jpg","text":"TemporaryFile(/tmp/multipartBody7288540724917526286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996423325,"filename":"image_07112025_21_01_40_2649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822829","file1":"1399822828","file0":"1399822826","file4":"1399822877","file5":"1399822878","file3":"1399822863"},"map_files_photo_id_array":[{"photo_id":"1399822878","filename":"file5"},{"photo_id":"1399822829","filename":"file2"},{"photo_id":"1399822877","filename":"file4"},{"photo_id":"1399822828","filename":"file1"},{"photo_id":"1399822826","filename":"file0"},{"photo_id":"1399822863","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399822826":["hashtag1","hashtag2"]},{"1399822829":["hashtag1","hashtag2"]},{"1399822828":["hashtag1","hashtag2"]},{"1399822878":["hashtag1","hashtag2"]},{"1399822863":["hashtag1","hashtag2"]},{"1399822877":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399822826, 1399822829, 1399822828, 1399822878, 1399822863, 1399822877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.022576332092285 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:33:22.628192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/18/59/image_17122025_18_59_55_9860.jpg', '/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_14_10055.jpg', '/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_25_10854.jpg', '/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_35_9784.jpg', '/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_45_9738.jpg', '/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_54_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/18/59/image_17122025_18_59_55_9860.jpg
/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_14_10055.jpg
/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_25_10854.jpg
/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_35_9784.jpg
/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_45_9738.jpg
/home/pi/Desktop/images/17122025/19/00/image_17122025_19_00_54_9710.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822891","1399822894","1399822885","1399822887","1399822889","1399822883"],"photo_ids_order":["1399822883","1399822885","1399822887","1399822889","1399822891","1399822894"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f8e18aecf1ebde8f0c7545903cf6bcc.jpg","text":"TemporaryFile(/tmp/multipartBody8336145075363383944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996463761,"filename":"image_17122025_19_00_45_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5b9a4d44e449eae12f562fc01490fee.jpg","text":"TemporaryFile(/tmp/multipartBody6680262610843938247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996463761,"filename":"image_17122025_19_00_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a3e6b5fb2cf3787c9cc831b113603c4.jpg","text":"TemporaryFile(/tmp/multipartBody7562517314666307497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996463761,"filename":"image_17122025_19_00_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40f1f00358a40838aa277a1ea66c4a23.jpg","text":"TemporaryFile(/tmp/multipartBody1835617269858544411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996463761,"filename":"image_17122025_19_00_25_10854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c00381980a35ccf304916f79290182fd.jpg","text":"TemporaryFile(/tmp/multipartBody4188027536075624529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996463761,"filename":"image_17122025_19_00_35_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b87533aadb54f95a495082b74248faf.jpg","text":"TemporaryFile(/tmp/multipartBody6909591193350694209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996463761,"filename":"image_17122025_18_59_55_9860.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822887","file1":"1399822885","file0":"1399822883","file4":"1399822891","file5":"1399822894","file3":"1399822889"},"map_files_photo_id_array":[{"photo_id":"1399822894","filename":"file5"},{"photo_id":"1399822887","filename":"file2"},{"photo_id":"1399822891","filename":"file4"},{"photo_id":"1399822885","filename":"file1"},{"photo_id":"1399822883","filename":"file0"},{"photo_id":"1399822889","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822891":["hashtag1","hashtag2"]},{"1399822894":["hashtag1","hashtag2"]},{"1399822885":["hashtag1","hashtag2"]},{"1399822887":["hashtag1","hashtag2"]},{"1399822889":["hashtag1","hashtag2"]},{"1399822883":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822891, 1399822894, 1399822885, 1399822887, 1399822889, 1399822883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.30249500274658 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:34:02.470302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/00/image_17122025_19_01_05_10834.jpg', '/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_15_9734.jpg', '/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_34_9790.jpg', '/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_55_10774.jpg', '/home/pi/Desktop/images/17122025/19/01/image_17122025_19_02_05_9755.jpg', '/home/pi/Desktop/images/17122025/19/02/image_17122025_19_02_25_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/00/image_17122025_19_01_05_10834.jpg
/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_15_9734.jpg
/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_34_9790.jpg
/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_55_10774.jpg
/home/pi/Desktop/images/17122025/19/01/image_17122025_19_02_05_9755.jpg
/home/pi/Desktop/images/17122025/19/02/image_17122025_19_02_25_10703.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7832350730895996 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:34:11.865786
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:34:21.851059
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/00/image_17122025_19_01_05_10834.jpg', '/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_15_9734.jpg', '/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_34_9790.jpg', '/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_55_10774.jpg', '/home/pi/Desktop/images/17122025/19/01/image_17122025_19_02_05_9755.jpg', '/home/pi/Desktop/images/17122025/19/02/image_17122025_19_02_25_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/00/image_17122025_19_01_05_10834.jpg
/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_15_9734.jpg
/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_34_9790.jpg
/home/pi/Desktop/images/17122025/19/01/image_17122025_19_01_55_10774.jpg
/home/pi/Desktop/images/17122025/19/01/image_17122025_19_02_05_9755.jpg
/home/pi/Desktop/images/17122025/19/02/image_17122025_19_02_25_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":["1399822922","1399822916","1399822918","1399822912","1399822906","1399822902"],"photo_ids_order":["1399822902","1399822906","1399822912","1399822916","1399822918","1399822922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e5b4657c60e41336c6c36ec22c10c9d.jpg","text":"TemporaryFile(/tmp/multipartBody9176153656365851128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996522760,"filename":"image_17122025_19_02_25_10703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59d95f5049e5b84b8151b2180ecb3649.jpg","text":"TemporaryFile(/tmp/multipartBody955938019507606016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996522760,"filename":"image_17122025_19_01_55_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d86fad3d0f5a54ed91bb7914eda0cbb0.jpg","text":"TemporaryFile(/tmp/multipartBody3098893863800266360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996522760,"filename":"image_17122025_19_02_05_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/533c435efac58178d2df49c0c8371e0e.jpg","text":"TemporaryFile(/tmp/multipartBody8749625356783989446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996522760,"filename":"image_17122025_19_01_34_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0c2962b288a622c2561d60dded79c91.jpg","text":"TemporaryFile(/tmp/multipartBody7611703257747526624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996522760,"filename":"image_17122025_19_01_15_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dec2d39908f52b26f0f6852263d08fcc.jpg","text":"TemporaryFile(/tmp/multipartBody5756243905664637092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996522760,"filename":"image_17122025_19_01_05_10834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822912","file1":"1399822906","file0":"1399822902","file4":"1399822918","file5":"1399822922","file3":"1399822916"},"map_files_photo_id_array":[{"photo_id":"1399822922","filename":"file5"},{"photo_id":"1399822912","filename":"file2"},{"photo_id":"1399822918","filename":"file4"},{"photo_id":"1399822906","filename":"file1"},{"photo_id":"1399822902","filename":"file0"},{"photo_id":"1399822916","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822922":["hashtag1","hashtag2"]},{"1399822916":["hashtag1","hashtag2"]},{"1399822918":["hashtag1","hashtag2"]},{"1399822912":["hashtag1","hashtag2"]},{"1399822906":["hashtag1","hashtag2"]},{"1399822902":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822922, 1399822916, 1399822918, 1399822912, 1399822906, 1399822902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.87594652175903 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:35:02.615348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/02/image_17122025_19_02_35_9902.jpg', '/home/pi/Desktop/images/17122025/19/02/image_17122025_19_02_54_9673.jpg', '/home/pi/Desktop/images/17122025/19/02/image_17122025_19_03_05_10611.jpg', '/home/pi/Desktop/images/17122025/19/03/image_17122025_19_03_15_9778.jpg', '/home/pi/Desktop/images/17122025/19/03/image_17122025_19_03_24_9600.jpg', '/home/pi/Desktop/images/17122025/19/03/image_17122025_19_03_35_10150.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/02/image_17122025_19_02_35_9902.jpg
/home/pi/Desktop/images/17122025/19/02/image_17122025_19_02_54_9673.jpg
/home/pi/Desktop/images/17122025/19/02/image_17122025_19_03_05_10611.jpg
/home/pi/Desktop/images/17122025/19/03/image_17122025_19_03_15_9778.jpg
/home/pi/Desktop/images/17122025/19/03/image_17122025_19_03_24_9600.jpg
/home/pi/Desktop/images/17122025/19/03/image_17122025_19_03_35_10150.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822931","1399822925","1399822936","1399822933","1399822927","1399822929"],"photo_ids_order":["1399822925","1399822927","1399822929","1399822931","1399822933","1399822936"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a02ac9562bbf1ab57d4fd9e2adb3c689.jpg","text":"TemporaryFile(/tmp/multipartBody2250123251981921458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996563521,"filename":"image_17122025_19_03_15_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f22ea8187e9a85a02887d7ba1687c5dc.jpg","text":"TemporaryFile(/tmp/multipartBody8661277141146877197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996563521,"filename":"image_17122025_19_02_35_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f293e5df21b4ed70bfd638a5360cdba5.jpg","text":"TemporaryFile(/tmp/multipartBody563653053789212711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996563521,"filename":"image_17122025_19_03_35_10150.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/189132a23c6d25e8a8a91aed6d252cb2.jpg","text":"TemporaryFile(/tmp/multipartBody2695275007546291163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996563521,"filename":"image_17122025_19_03_24_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5001e725f29e79d633582e2d608aad23.jpg","text":"TemporaryFile(/tmp/multipartBody8970089475916134350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996563521,"filename":"image_17122025_19_02_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87d9db2706477e6e08afec810945c48b.jpg","text":"TemporaryFile(/tmp/multipartBody1799721915629340547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996563521,"filename":"image_17122025_19_03_05_10611.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822929","file1":"1399822927","file0":"1399822925","file4":"1399822933","file5":"1399822936","file3":"1399822931"},"map_files_photo_id_array":[{"photo_id":"1399822936","filename":"file5"},{"photo_id":"1399822929","filename":"file2"},{"photo_id":"1399822933","filename":"file4"},{"photo_id":"1399822927","filename":"file1"},{"photo_id":"1399822925","filename":"file0"},{"photo_id":"1399822931","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399822931":["hashtag1","hashtag2"]},{"1399822925":["hashtag1","hashtag2"]},{"1399822936":["hashtag1","hashtag2"]},{"1399822933":["hashtag1","hashtag2"]},{"1399822927":["hashtag1","hashtag2"]},{"1399822929":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399822931, 1399822925, 1399822936, 1399822933, 1399822927, 1399822929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.140827655792236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:35:42.037971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_46_2551.jpg', '/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_50_3777.jpg', '/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_10_2763.jpg', '/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_13_2553.jpg', '/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_22_2689.jpg', '/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_28_2773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_46_2551.jpg
/home/pi/Desktop/images/07112025/21/01/image_07112025_21_01_50_3777.jpg
/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_10_2763.jpg
/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_13_2553.jpg
/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_22_2689.jpg
/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_28_2773.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399822946","1399822949","1399822942","1399822948","1399822968","1399822962"],"photo_ids_order":["1399822942","1399822946","1399822948","1399822949","1399822962","1399822968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca246060ffc70bbed32d7176f59c3711.jpg","text":"TemporaryFile(/tmp/multipartBody1539438771229500009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996603044,"filename":"image_07112025_21_01_50_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2acd24a9dab629d1b9aaf4f36fe9619b.jpg","text":"TemporaryFile(/tmp/multipartBody6811914432148438716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996603044,"filename":"image_07112025_21_02_13_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/680d8bb5c30b657b236ceda6781380d9.jpg","text":"TemporaryFile(/tmp/multipartBody260011295674683954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996603044,"filename":"image_07112025_21_01_46_2551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ae1a1f994786b897f23d2a28696ab04.jpg","text":"TemporaryFile(/tmp/multipartBody6944470685436162178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996603044,"filename":"image_07112025_21_02_10_2763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7d3e39e5f877e98b58512ea823aa970.jpg","text":"TemporaryFile(/tmp/multipartBody131753333741161743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996603044,"filename":"image_07112025_21_02_28_2773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d53908b9e7dc37d3e30eeb03a5098b89.jpg","text":"TemporaryFile(/tmp/multipartBody3367038293375146752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996603044,"filename":"image_07112025_21_02_22_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399822948","file1":"1399822946","file0":"1399822942","file4":"1399822962","file5":"1399822968","file3":"1399822949"},"map_files_photo_id_array":[{"photo_id":"1399822968","filename":"file5"},{"photo_id":"1399822948","filename":"file2"},{"photo_id":"1399822962","filename":"file4"},{"photo_id":"1399822946","filename":"file1"},{"photo_id":"1399822942","filename":"file0"},{"photo_id":"1399822949","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399822946":["hashtag1","hashtag2"]},{"1399822949":["hashtag1","hashtag2"]},{"1399822942":["hashtag1","hashtag2"]},{"1399822948":["hashtag1","hashtag2"]},{"1399822968":["hashtag1","hashtag2"]},{"1399822962":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399822946, 1399822949, 1399822942, 1399822948, 1399822968, 1399822962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16582775115967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:36:22.255263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_15_9687.jpg', '/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_25_10701.jpg', '/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_35_9543.jpg', '/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_44_9701.jpg', '/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_55_10711.jpg', '/home/pi/Desktop/images/17122025/19/04/image_17122025_19_05_05_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_15_9687.jpg
/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_25_10701.jpg
/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_35_9543.jpg
/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_44_9701.jpg
/home/pi/Desktop/images/17122025/19/04/image_17122025_19_04_55_10711.jpg
/home/pi/Desktop/images/17122025/19/04/image_17122025_19_05_05_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":["1399823006","1399823003","1399823008","1399822995","1399823001","1399822997"],"photo_ids_order":["1399822995","1399822997","1399823001","1399823003","1399823006","1399823008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10171fb917ac204c552197fa1be6932b.jpg","text":"TemporaryFile(/tmp/multipartBody4495877952471753330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996643411,"filename":"image_17122025_19_04_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9238d651568449fc9fa6757e6cbf0c99.jpg","text":"TemporaryFile(/tmp/multipartBody1809973405028758321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996643411,"filename":"image_17122025_19_04_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/43c4e9d5c395c9c4fcd770607c43ddfb.jpg","text":"TemporaryFile(/tmp/multipartBody8809738385961104170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996643411,"filename":"image_17122025_19_05_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/deee85382a7412f316ecbe2635048c90.jpg","text":"TemporaryFile(/tmp/multipartBody1669430601050225674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996643411,"filename":"image_17122025_19_04_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/191b8b320a10efae6a40171925363045.jpg","text":"TemporaryFile(/tmp/multipartBody8893376660147557821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996643411,"filename":"image_17122025_19_04_35_9543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee9aec0bafa04719271050457eead1fe.jpg","text":"TemporaryFile(/tmp/multipartBody7802271834568551842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996643411,"filename":"image_17122025_19_04_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823001","file1":"1399822997","file0":"1399822995","file4":"1399823006","file5":"1399823008","file3":"1399823003"},"map_files_photo_id_array":[{"photo_id":"1399823008","filename":"file5"},{"photo_id":"1399823001","filename":"file2"},{"photo_id":"1399823006","filename":"file4"},{"photo_id":"1399822997","filename":"file1"},{"photo_id":"1399822995","filename":"file0"},{"photo_id":"1399823003","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823006":["hashtag1","hashtag2"]},{"1399823003":["hashtag1","hashtag2"]},{"1399823008":["hashtag1","hashtag2"]},{"1399822995":["hashtag1","hashtag2"]},{"1399823001":["hashtag1","hashtag2"]},{"1399822997":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823006, 1399823003, 1399823008, 1399822995, 1399823001, 1399822997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.90515685081482 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:37:03.148806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/05/image_17122025_19_05_15_9793.jpg', '/home/pi/Desktop/images/17122025/19/05/image_17122025_19_05_24_9667.jpg', '/home/pi/Desktop/images/17122025/19/05/image_17122025_19_05_45_9587.jpg', '/home/pi/Desktop/images/17122025/19/05/image_17122025_19_06_05_10764.jpg', '/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_15_9662.jpg', '/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_25_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/05/image_17122025_19_05_15_9793.jpg
/home/pi/Desktop/images/17122025/19/05/image_17122025_19_05_24_9667.jpg
/home/pi/Desktop/images/17122025/19/05/image_17122025_19_05_45_9587.jpg
/home/pi/Desktop/images/17122025/19/05/image_17122025_19_06_05_10764.jpg
/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_15_9662.jpg
/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_25_9816.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823027","1399823023","1399823017","1399823032","1399823029","1399823025"],"photo_ids_order":["1399823017","1399823023","1399823025","1399823027","1399823029","1399823032"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d60488fab8c3f580f15709b40e187749.jpg","text":"TemporaryFile(/tmp/multipartBody7094518239707185753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996684054,"filename":"image_17122025_19_06_05_10764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19d5526158cc1398a95fac3906d7dcd6.jpg","text":"TemporaryFile(/tmp/multipartBody657483996393547899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996684054,"filename":"image_17122025_19_05_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee1bb7be306ebe403bc494261185eb1e.jpg","text":"TemporaryFile(/tmp/multipartBody3657882021882258907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996684054,"filename":"image_17122025_19_05_15_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5eb8413b81a60f6a3badb9a725e751c3.jpg","text":"TemporaryFile(/tmp/multipartBody1925816941516291878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996684054,"filename":"image_17122025_19_06_25_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7d0964fd4dbfc4c2f34a16ea7917466.jpg","text":"TemporaryFile(/tmp/multipartBody4526097612269405513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996684054,"filename":"image_17122025_19_06_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8718f58ce70713b5d537a0b971abd46f.jpg","text":"TemporaryFile(/tmp/multipartBody5747989537772358790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996684054,"filename":"image_17122025_19_05_45_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823025","file1":"1399823023","file0":"1399823017","file4":"1399823029","file5":"1399823032","file3":"1399823027"},"map_files_photo_id_array":[{"photo_id":"1399823032","filename":"file5"},{"photo_id":"1399823025","filename":"file2"},{"photo_id":"1399823029","filename":"file4"},{"photo_id":"1399823023","filename":"file1"},{"photo_id":"1399823017","filename":"file0"},{"photo_id":"1399823027","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823027":["hashtag1","hashtag2"]},{"1399823023":["hashtag1","hashtag2"]},{"1399823017":["hashtag1","hashtag2"]},{"1399823032":["hashtag1","hashtag2"]},{"1399823029":["hashtag1","hashtag2"]},{"1399823025":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823027, 1399823023, 1399823017, 1399823032, 1399823029, 1399823025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.96756625175476 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:37:42.614511
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_52_1843.jpg', '/home/pi/Desktop/images/07112025/21/03/image_07112025_21_03_12_1750.jpg', '/home/pi/Desktop/images/07112025/21/03/image_07112025_21_03_13_1632.jpg', '/home/pi/Desktop/images/07112025/21/03/image_07112025_21_03_16_2660.jpg', '/home/pi/Desktop/images/07112025/21/03/image_07112025_21_03_20_3656.jpg', '/home/pi/Desktop/images/07112025/21/04/image_07112025_21_04_01_2703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/02/image_07112025_21_02_52_1843.jpg
/home/pi/Desktop/images/07112025/21/03/image_07112025_21_03_12_1750.jpg
/home/pi/Desktop/images/07112025/21/03/image_07112025_21_03_13_1632.jpg
/home/pi/Desktop/images/07112025/21/03/image_07112025_21_03_16_2660.jpg
/home/pi/Desktop/images/07112025/21/03/image_07112025_21_03_20_3656.jpg
/home/pi/Desktop/images/07112025/21/04/image_07112025_21_04_01_2703.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823041","1399823044","1399823043","1399823042","1399823045","1399823039"],"photo_ids_order":["1399823039","1399823041","1399823042","1399823043","1399823044","1399823045"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/212135709a7e1db6d18e4d752ed3c178.jpg","text":"TemporaryFile(/tmp/multipartBody5509347784118261075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996723622,"filename":"image_07112025_21_03_12_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/194f3bb9a9d88974ccc651fcb242a5fe.jpg","text":"TemporaryFile(/tmp/multipartBody6683856700440545073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996723622,"filename":"image_07112025_21_03_20_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/931348d7939524d7caa74e3a2630b2f9.jpg","text":"TemporaryFile(/tmp/multipartBody1838647092922899630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996723622,"filename":"image_07112025_21_03_16_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6089d9e0d58a0e345e7638bc9dd4a47c.jpg","text":"TemporaryFile(/tmp/multipartBody8711841074786112991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996723622,"filename":"image_07112025_21_03_13_1632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cbef0065fec926da22949c76e159c597.jpg","text":"TemporaryFile(/tmp/multipartBody5909851552528662068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996723622,"filename":"image_07112025_21_04_01_2703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b60ab9c703261a44c0ec5562490a3d4c.jpg","text":"TemporaryFile(/tmp/multipartBody4033165517488445482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996723622,"filename":"image_07112025_21_02_52_1843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823042","file1":"1399823041","file0":"1399823039","file4":"1399823044","file5":"1399823045","file3":"1399823043"},"map_files_photo_id_array":[{"photo_id":"1399823045","filename":"file5"},{"photo_id":"1399823042","filename":"file2"},{"photo_id":"1399823044","filename":"file4"},{"photo_id":"1399823041","filename":"file1"},{"photo_id":"1399823039","filename":"file0"},{"photo_id":"1399823043","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399823041":["hashtag1","hashtag2"]},{"1399823044":["hashtag1","hashtag2"]},{"1399823043":["hashtag1","hashtag2"]},{"1399823042":["hashtag1","hashtag2"]},{"1399823045":["hashtag1","hashtag2"]},{"1399823039":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399823041, 1399823044, 1399823043, 1399823042, 1399823045, 1399823039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70896673202515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:38:21.884298
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_34_9701.jpg', '/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_45_10733.jpg', '/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_55_9698.jpg', '/home/pi/Desktop/images/17122025/19/06/image_17122025_19_07_05_9890.jpg', '/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_15_9987.jpg', '/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_24_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_34_9701.jpg
/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_45_10733.jpg
/home/pi/Desktop/images/17122025/19/06/image_17122025_19_06_55_9698.jpg
/home/pi/Desktop/images/17122025/19/06/image_17122025_19_07_05_9890.jpg
/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_15_9987.jpg
/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_24_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":["1399823053","1399823050","1399823067","1399823055","1399823057","1399823051"],"photo_ids_order":["1399823050","1399823051","1399823053","1399823055","1399823057","1399823067"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4fc94849af747b816217094ea1f43f45.jpg","text":"TemporaryFile(/tmp/multipartBody1344907221410034554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996763109,"filename":"image_17122025_19_06_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3c172a7393e382ce8171f21d10935a7.jpg","text":"TemporaryFile(/tmp/multipartBody1996780336148132659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996763109,"filename":"image_17122025_19_06_34_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b38edd046142130bf9409f0b08ffb27.jpg","text":"TemporaryFile(/tmp/multipartBody2942473981951971481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996763109,"filename":"image_17122025_19_07_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3261c724b4b15c1c3ed1d4383c05079.jpg","text":"TemporaryFile(/tmp/multipartBody6368381352610628924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996763109,"filename":"image_17122025_19_07_05_9890.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35c58fa267e90546d862eb463aeac86c.jpg","text":"TemporaryFile(/tmp/multipartBody1786339850591130197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996763109,"filename":"image_17122025_19_07_15_9987.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74c7647f09f379cfeb2e5db59037547c.jpg","text":"TemporaryFile(/tmp/multipartBody5399653925578416525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996763109,"filename":"image_17122025_19_06_45_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823053","file1":"1399823051","file0":"1399823050","file4":"1399823057","file5":"1399823067","file3":"1399823055"},"map_files_photo_id_array":[{"photo_id":"1399823067","filename":"file5"},{"photo_id":"1399823053","filename":"file2"},{"photo_id":"1399823057","filename":"file4"},{"photo_id":"1399823051","filename":"file1"},{"photo_id":"1399823050","filename":"file0"},{"photo_id":"1399823055","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823053":["hashtag1","hashtag2"]},{"1399823050":["hashtag1","hashtag2"]},{"1399823067":["hashtag1","hashtag2"]},{"1399823055":["hashtag1","hashtag2"]},{"1399823057":["hashtag1","hashtag2"]},{"1399823051":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823053, 1399823050, 1399823067, 1399823055, 1399823057, 1399823051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.917784214019775 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:39:03.067807
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_35_10672.jpg', '/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_45_9834.jpg', '/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_54_9588.jpg', '/home/pi/Desktop/images/17122025/19/07/image_17122025_19_08_05_10549.jpg', '/home/pi/Desktop/images/17122025/19/08/image_17122025_19_08_15_9851.jpg', '/home/pi/Desktop/images/17122025/19/08/image_17122025_19_08_25_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_35_10672.jpg
/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_45_9834.jpg
/home/pi/Desktop/images/17122025/19/07/image_17122025_19_07_54_9588.jpg
/home/pi/Desktop/images/17122025/19/07/image_17122025_19_08_05_10549.jpg
/home/pi/Desktop/images/17122025/19/08/image_17122025_19_08_15_9851.jpg
/home/pi/Desktop/images/17122025/19/08/image_17122025_19_08_25_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":["1399823080","1399823082","1399823076","1399823073","1399823084","1399823078"],"photo_ids_order":["1399823073","1399823076","1399823078","1399823080","1399823082","1399823084"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4a53d13f2508a077ba895bbaa09c51f.jpg","text":"TemporaryFile(/tmp/multipartBody7952265113804023758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996804131,"filename":"image_17122025_19_08_05_10549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12453c22dfd10ca919e58f8b2e498723.jpg","text":"TemporaryFile(/tmp/multipartBody5947168740320073239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996804131,"filename":"image_17122025_19_08_15_9851.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f72b06e9476250d700163bb658fbe4d3.jpg","text":"TemporaryFile(/tmp/multipartBody1071297117207535201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996804131,"filename":"image_17122025_19_07_45_9834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21f80d584290b16f68bc19fae7609368.jpg","text":"TemporaryFile(/tmp/multipartBody1853102906520410191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996804131,"filename":"image_17122025_19_07_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ed93c684f974cfc512fe4d90cd3bfd1.jpg","text":"TemporaryFile(/tmp/multipartBody551737141733849278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996804131,"filename":"image_17122025_19_08_25_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0dc0aec73a9a467331f71dc8b597d3b.jpg","text":"TemporaryFile(/tmp/multipartBody9170911626209437353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996804131,"filename":"image_17122025_19_07_54_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823078","file1":"1399823076","file0":"1399823073","file4":"1399823082","file5":"1399823084","file3":"1399823080"},"map_files_photo_id_array":[{"photo_id":"1399823084","filename":"file5"},{"photo_id":"1399823078","filename":"file2"},{"photo_id":"1399823082","filename":"file4"},{"photo_id":"1399823076","filename":"file1"},{"photo_id":"1399823073","filename":"file0"},{"photo_id":"1399823080","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823080":["hashtag1","hashtag2"]},{"1399823082":["hashtag1","hashtag2"]},{"1399823076":["hashtag1","hashtag2"]},{"1399823073":["hashtag1","hashtag2"]},{"1399823084":["hashtag1","hashtag2"]},{"1399823078":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823080, 1399823082, 1399823076, 1399823073, 1399823084, 1399823078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.40769720077515 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:40:02.888031
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/08/image_17122025_19_08_45_10782.jpg', '/home/pi/Desktop/images/17122025/19/08/image_17122025_19_08_54_9325.jpg', '/home/pi/Desktop/images/17122025/19/08/image_17122025_19_09_05_10733.jpg', '/home/pi/Desktop/images/17122025/19/09/image_17122025_19_09_15_9643.jpg', '/home/pi/Desktop/images/17122025/19/09/image_17122025_19_09_25_9689.jpg', '/home/pi/Desktop/images/17122025/19/09/image_17122025_19_09_45_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/08/image_17122025_19_08_45_10782.jpg
/home/pi/Desktop/images/17122025/19/08/image_17122025_19_08_54_9325.jpg
/home/pi/Desktop/images/17122025/19/08/image_17122025_19_09_05_10733.jpg
/home/pi/Desktop/images/17122025/19/09/image_17122025_19_09_15_9643.jpg
/home/pi/Desktop/images/17122025/19/09/image_17122025_19_09_25_9689.jpg
/home/pi/Desktop/images/17122025/19/09/image_17122025_19_09_45_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823102","1399823094","1399823097","1399823091","1399823093","1399823099"],"photo_ids_order":["1399823091","1399823093","1399823094","1399823097","1399823099","1399823102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f585fb14cfb0db443c90899b01d82afd.jpg","text":"TemporaryFile(/tmp/multipartBody491364725026728909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996863783,"filename":"image_17122025_19_09_45_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/efa5c3962c0eb95d6a6632a55f1df3eb.jpg","text":"TemporaryFile(/tmp/multipartBody3969475274546666737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996863783,"filename":"image_17122025_19_09_05_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dcaed499dfe5c76d8c3b7ea5049288ec.jpg","text":"TemporaryFile(/tmp/multipartBody9018634877667268070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996863783,"filename":"image_17122025_19_09_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d55de7a78302458b77405f6af33effa.jpg","text":"TemporaryFile(/tmp/multipartBody7799759981238096854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996863783,"filename":"image_17122025_19_08_45_10782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b7c9ce514a8245a7bf465bf35ad3902.jpg","text":"TemporaryFile(/tmp/multipartBody864623329342915436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996863783,"filename":"image_17122025_19_08_54_9325.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e1f0ba1289562063e66a083dca9710b.jpg","text":"TemporaryFile(/tmp/multipartBody5248761564193742027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996863783,"filename":"image_17122025_19_09_25_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823094","file1":"1399823093","file0":"1399823091","file4":"1399823099","file5":"1399823102","file3":"1399823097"},"map_files_photo_id_array":[{"photo_id":"1399823102","filename":"file5"},{"photo_id":"1399823094","filename":"file2"},{"photo_id":"1399823099","filename":"file4"},{"photo_id":"1399823093","filename":"file1"},{"photo_id":"1399823091","filename":"file0"},{"photo_id":"1399823097","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823102":["hashtag1","hashtag2"]},{"1399823094":["hashtag1","hashtag2"]},{"1399823097":["hashtag1","hashtag2"]},{"1399823091":["hashtag1","hashtag2"]},{"1399823093":["hashtag1","hashtag2"]},{"1399823099":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823102, 1399823094, 1399823097, 1399823091, 1399823093, 1399823099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.51032590866089 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:40:42.485440
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/04/image_07112025_21_04_05_3795.jpg', '/home/pi/Desktop/images/07112025/21/04/image_07112025_21_04_36_1766.jpg', '/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_01_24651.jpg', '/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_23_1762.jpg', '/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_26_1635.jpg', '/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_28_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/04/image_07112025_21_04_05_3795.jpg
/home/pi/Desktop/images/07112025/21/04/image_07112025_21_04_36_1766.jpg
/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_01_24651.jpg
/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_23_1762.jpg
/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_26_1635.jpg
/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_28_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823111","1399823114","1399823110","1399823107","1399823109","1399823123"],"photo_ids_order":["1399823107","1399823109","1399823110","1399823111","1399823114","1399823123"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41000f261131e2e3a8e4325bfe9c4be8.jpg","text":"TemporaryFile(/tmp/multipartBody2930276848285215570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996903519,"filename":"image_07112025_21_05_23_1762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a28fae6b452767dc5139a468aa871ae.jpg","text":"TemporaryFile(/tmp/multipartBody1559638231687015607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996903519,"filename":"image_07112025_21_05_26_1635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c3bc1453926a8b3b815d1a26be79c5a.jpg","text":"TemporaryFile(/tmp/multipartBody8494911316054960249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996903519,"filename":"image_07112025_21_05_01_24651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a34745ee2c5c2cd678a25c0ad8d8437.jpg","text":"TemporaryFile(/tmp/multipartBody7185144996596981588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996903519,"filename":"image_07112025_21_04_05_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/912fe0bee4f5e2a854a264480c5785e1.jpg","text":"TemporaryFile(/tmp/multipartBody6344643392464469388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996903519,"filename":"image_07112025_21_04_36_1766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f80d74460ae11e4592c9dbbd8409ec3.jpg","text":"TemporaryFile(/tmp/multipartBody2304159021213795543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996903519,"filename":"image_07112025_21_05_28_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823110","file1":"1399823109","file0":"1399823107","file4":"1399823114","file5":"1399823123","file3":"1399823111"},"map_files_photo_id_array":[{"photo_id":"1399823123","filename":"file5"},{"photo_id":"1399823110","filename":"file2"},{"photo_id":"1399823114","filename":"file4"},{"photo_id":"1399823109","filename":"file1"},{"photo_id":"1399823107","filename":"file0"},{"photo_id":"1399823111","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399823111":["hashtag1","hashtag2"]},{"1399823114":["hashtag1","hashtag2"]},{"1399823110":["hashtag1","hashtag2"]},{"1399823107":["hashtag1","hashtag2"]},{"1399823109":["hashtag1","hashtag2"]},{"1399823123":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399823111, 1399823114, 1399823110, 1399823107, 1399823109, 1399823123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.39890766143799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:41:22.745725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/09/image_17122025_19_09_55_9753.jpg', '/home/pi/Desktop/images/17122025/19/10/image_17122025_19_10_55_10057.jpg', '/home/pi/Desktop/images/17122025/19/10/image_17122025_19_11_05_10086.jpg', '/home/pi/Desktop/images/17122025/19/11/image_17122025_19_11_14_9756.jpg', '/home/pi/Desktop/images/17122025/19/11/image_17122025_19_11_35_9723.jpg', '/home/pi/Desktop/images/17122025/19/11/image_17122025_19_11_45_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/09/image_17122025_19_09_55_9753.jpg
/home/pi/Desktop/images/17122025/19/10/image_17122025_19_10_55_10057.jpg
/home/pi/Desktop/images/17122025/19/10/image_17122025_19_11_05_10086.jpg
/home/pi/Desktop/images/17122025/19/11/image_17122025_19_11_14_9756.jpg
/home/pi/Desktop/images/17122025/19/11/image_17122025_19_11_35_9723.jpg
/home/pi/Desktop/images/17122025/19/11/image_17122025_19_11_45_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":["1399823135","1399823129","1399823137","1399823133","1399823141","1399823144"],"photo_ids_order":["1399823129","1399823133","1399823135","1399823137","1399823141","1399823144"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/962d4c955543ed3b16b0d4abc6ce133a.jpg","text":"TemporaryFile(/tmp/multipartBody6686667545669632740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996943994,"filename":"image_17122025_19_11_05_10086.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4d0f6c4101c98bba446b02a293ada39.jpg","text":"TemporaryFile(/tmp/multipartBody8267565987309883258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996943994,"filename":"image_17122025_19_09_55_9753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03bc1d27b4c976c99202b2e89083a968.jpg","text":"TemporaryFile(/tmp/multipartBody1965231421379736460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996943994,"filename":"image_17122025_19_11_14_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fad7f98decbb524f4813476cc04bedd0.jpg","text":"TemporaryFile(/tmp/multipartBody742876820182845714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996943994,"filename":"image_17122025_19_10_55_10057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5d4981f687d2446ac1b870b2c281ae6.jpg","text":"TemporaryFile(/tmp/multipartBody8055523270760681687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996943994,"filename":"image_17122025_19_11_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7b6e2caf87c6d8c221cd31dd8ffa3f6.jpg","text":"TemporaryFile(/tmp/multipartBody4079195946599261172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765996943994,"filename":"image_17122025_19_11_45_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823135","file1":"1399823133","file0":"1399823129","file4":"1399823141","file5":"1399823144","file3":"1399823137"},"map_files_photo_id_array":[{"photo_id":"1399823144","filename":"file5"},{"photo_id":"1399823135","filename":"file2"},{"photo_id":"1399823141","filename":"file4"},{"photo_id":"1399823133","filename":"file1"},{"photo_id":"1399823129","filename":"file0"},{"photo_id":"1399823137","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823135":["hashtag1","hashtag2"]},{"1399823129":["hashtag1","hashtag2"]},{"1399823137":["hashtag1","hashtag2"]},{"1399823133":["hashtag1","hashtag2"]},{"1399823141":["hashtag1","hashtag2"]},{"1399823144":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823135, 1399823129, 1399823137, 1399823133, 1399823141, 1399823144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.24062371253967 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:42:11.978930
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:42:22.002448
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/11/image_17122025_19_11_54_9757.jpg', '/home/pi/Desktop/images/17122025/19/11/image_17122025_19_12_05_10847.jpg', '/home/pi/Desktop/images/17122025/19/12/image_17122025_19_12_15_9663.jpg', '/home/pi/Desktop/images/17122025/19/12/image_17122025_19_12_25_9682.jpg', '/home/pi/Desktop/images/17122025/19/12/image_17122025_19_12_35_10697.jpg', '/home/pi/Desktop/images/17122025/19/12/image_17122025_19_12_45_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/11/image_17122025_19_11_54_9757.jpg
/home/pi/Desktop/images/17122025/19/11/image_17122025_19_12_05_10847.jpg
/home/pi/Desktop/images/17122025/19/12/image_17122025_19_12_15_9663.jpg
/home/pi/Desktop/images/17122025/19/12/image_17122025_19_12_25_9682.jpg
/home/pi/Desktop/images/17122025/19/12/image_17122025_19_12_35_10697.jpg
/home/pi/Desktop/images/17122025/19/12/image_17122025_19_12_45_9690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823161","1399823158","1399823154","1399823148","1399823156","1399823150"],"photo_ids_order":["1399823148","1399823150","1399823154","1399823156","1399823158","1399823161"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/199b7e904bafdee807aa1cc2c5a15066.jpg","text":"TemporaryFile(/tmp/multipartBody547308747103757381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997002907,"filename":"image_17122025_19_12_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e6cde6e476a9e50b15a2daef34b737a.jpg","text":"TemporaryFile(/tmp/multipartBody2944234842896627003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997002907,"filename":"image_17122025_19_12_35_10697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1b00e25d2a6a57c8e7e231b2110e3dd.jpg","text":"TemporaryFile(/tmp/multipartBody5149725587834338195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997002907,"filename":"image_17122025_19_12_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de114efcd61639088b81419ebb8238d3.jpg","text":"TemporaryFile(/tmp/multipartBody2401681352924485299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997002907,"filename":"image_17122025_19_11_54_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/479a0984dbed5e6b1a8aeca69094aa25.jpg","text":"TemporaryFile(/tmp/multipartBody5338421683170074627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997002907,"filename":"image_17122025_19_12_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bb1e6fb9565d63b59c043d948728594.jpg","text":"TemporaryFile(/tmp/multipartBody7754129826018521581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997002907,"filename":"image_17122025_19_12_05_10847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823154","file1":"1399823150","file0":"1399823148","file4":"1399823158","file5":"1399823161","file3":"1399823156"},"map_files_photo_id_array":[{"photo_id":"1399823161","filename":"file5"},{"photo_id":"1399823154","filename":"file2"},{"photo_id":"1399823158","filename":"file4"},{"photo_id":"1399823150","filename":"file1"},{"photo_id":"1399823148","filename":"file0"},{"photo_id":"1399823156","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823161":["hashtag1","hashtag2"]},{"1399823158":["hashtag1","hashtag2"]},{"1399823154":["hashtag1","hashtag2"]},{"1399823148":["hashtag1","hashtag2"]},{"1399823156":["hashtag1","hashtag2"]},{"1399823150":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823161, 1399823158, 1399823154, 1399823148, 1399823156, 1399823150)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32553744316101 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:43:02.840350
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/13/image_17122025_19_13_14_9863.jpg', '/home/pi/Desktop/images/17122025/19/13/image_17122025_19_13_25_10776.jpg', '/home/pi/Desktop/images/17122025/19/13/image_17122025_19_13_35_9636.jpg', '/home/pi/Desktop/images/17122025/19/13/image_17122025_19_13_45_9809.jpg', '/home/pi/Desktop/images/17122025/19/13/image_17122025_19_14_05_10737.jpg', '/home/pi/Desktop/images/17122025/19/14/image_17122025_19_14_15_9746.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/13/image_17122025_19_13_14_9863.jpg
/home/pi/Desktop/images/17122025/19/13/image_17122025_19_13_25_10776.jpg
/home/pi/Desktop/images/17122025/19/13/image_17122025_19_13_35_9636.jpg
/home/pi/Desktop/images/17122025/19/13/image_17122025_19_13_45_9809.jpg
/home/pi/Desktop/images/17122025/19/13/image_17122025_19_14_05_10737.jpg
/home/pi/Desktop/images/17122025/19/14/image_17122025_19_14_15_9746.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823170","1399823172","1399823166","1399823174","1399823168","1399823177"],"photo_ids_order":["1399823166","1399823168","1399823170","1399823172","1399823174","1399823177"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73bff753b98922b22ec85c9407d080cd.jpg","text":"TemporaryFile(/tmp/multipartBody5764827946899302323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997043729,"filename":"image_17122025_19_13_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d999a47407fcaeb0984b4227663e583.jpg","text":"TemporaryFile(/tmp/multipartBody8791789212786225348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997043729,"filename":"image_17122025_19_13_45_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46bdd877117536051d860b6944799574.jpg","text":"TemporaryFile(/tmp/multipartBody5014994428373804532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997043729,"filename":"image_17122025_19_13_14_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c13aa7154de7bba76e12d3762e309c6.jpg","text":"TemporaryFile(/tmp/multipartBody9196631189191031445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997043729,"filename":"image_17122025_19_14_05_10737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5e2a38e876a005701e2225826143a7f.jpg","text":"TemporaryFile(/tmp/multipartBody6498298819138949436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997043729,"filename":"image_17122025_19_13_25_10776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd0613f72077b77c4bf865b965459ec6.jpg","text":"TemporaryFile(/tmp/multipartBody4857276125168035923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997043729,"filename":"image_17122025_19_14_15_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823170","file1":"1399823168","file0":"1399823166","file4":"1399823174","file5":"1399823177","file3":"1399823172"},"map_files_photo_id_array":[{"photo_id":"1399823177","filename":"file5"},{"photo_id":"1399823170","filename":"file2"},{"photo_id":"1399823174","filename":"file4"},{"photo_id":"1399823168","filename":"file1"},{"photo_id":"1399823166","filename":"file0"},{"photo_id":"1399823172","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823170":["hashtag1","hashtag2"]},{"1399823172":["hashtag1","hashtag2"]},{"1399823166":["hashtag1","hashtag2"]},{"1399823174":["hashtag1","hashtag2"]},{"1399823168":["hashtag1","hashtag2"]},{"1399823177":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823170, 1399823172, 1399823166, 1399823174, 1399823168, 1399823177)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.694029331207275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:43:42.363226
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_31_1520.jpg', '/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_33_1676.jpg', '/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_37_1937.jpg', '/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_59_22078.jpg', '/home/pi/Desktop/images/07112025/21/06/image_07112025_21_06_13_1727.jpg', '/home/pi/Desktop/images/07112025/21/06/image_07112025_21_06_55_42606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_31_1520.jpg
/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_33_1676.jpg
/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_37_1937.jpg
/home/pi/Desktop/images/07112025/21/05/image_07112025_21_05_59_22078.jpg
/home/pi/Desktop/images/07112025/21/06/image_07112025_21_06_13_1727.jpg
/home/pi/Desktop/images/07112025/21/06/image_07112025_21_06_55_42606.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823185","1399823196","1399823184","1399823192","1399823186","1399823183"],"photo_ids_order":["1399823183","1399823184","1399823185","1399823186","1399823192","1399823196"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/458731a8374519eb5ed2271e8bd8f626.jpg","text":"TemporaryFile(/tmp/multipartBody9210276494746328303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997083398,"filename":"image_07112025_21_05_37_1937.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/795c27af648d257203103620e3641919.jpg","text":"TemporaryFile(/tmp/multipartBody2232180240238534365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997083398,"filename":"image_07112025_21_06_55_42606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/949ea08b14f50bb4c2621b09378f977e.jpg","text":"TemporaryFile(/tmp/multipartBody721456068022726137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997083398,"filename":"image_07112025_21_05_33_1676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef2600f7d739633c14334aed9fe0e362.jpg","text":"TemporaryFile(/tmp/multipartBody1082904537714680726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997083398,"filename":"image_07112025_21_06_13_1727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36f6fed874b8bd4621fe0efb024ce0c4.jpg","text":"TemporaryFile(/tmp/multipartBody7780434586722052034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997083398,"filename":"image_07112025_21_05_59_22078.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42cb6b2ea64648ec9dc29f2f46ec632c.jpg","text":"TemporaryFile(/tmp/multipartBody136047318585364328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997083398,"filename":"image_07112025_21_05_31_1520.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823185","file1":"1399823184","file0":"1399823183","file4":"1399823192","file5":"1399823196","file3":"1399823186"},"map_files_photo_id_array":[{"photo_id":"1399823196","filename":"file5"},{"photo_id":"1399823185","filename":"file2"},{"photo_id":"1399823192","filename":"file4"},{"photo_id":"1399823184","filename":"file1"},{"photo_id":"1399823183","filename":"file0"},{"photo_id":"1399823186","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399823185":["hashtag1","hashtag2"]},{"1399823196":["hashtag1","hashtag2"]},{"1399823184":["hashtag1","hashtag2"]},{"1399823192":["hashtag1","hashtag2"]},{"1399823186":["hashtag1","hashtag2"]},{"1399823183":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399823185, 1399823196, 1399823184, 1399823192, 1399823186, 1399823183)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.123841524124146 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:44:22.724261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/14/image_17122025_19_14_25_9973.jpg', '/home/pi/Desktop/images/17122025/19/14/image_17122025_19_14_34_9544.jpg', '/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_15_9755.jpg', '/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_25_10641.jpg', '/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_35_9754.jpg', '/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_45_10165.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/14/image_17122025_19_14_25_9973.jpg
/home/pi/Desktop/images/17122025/19/14/image_17122025_19_14_34_9544.jpg
/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_15_9755.jpg
/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_25_10641.jpg
/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_35_9754.jpg
/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_45_10165.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823225","1399823234","1399823239","1399823244","1399823238","1399823229"],"photo_ids_order":["1399823225","1399823229","1399823234","1399823238","1399823239","1399823244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0593b7bc51b6752b4a94cbbf3e3db3f4.jpg","text":"TemporaryFile(/tmp/multipartBody607787384203120838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997123637,"filename":"image_17122025_19_14_25_9973.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3cdf92ace427c4704b0b676c9973aad3.jpg","text":"TemporaryFile(/tmp/multipartBody4307565292519925144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997123637,"filename":"image_17122025_19_15_15_9755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90f90b2880217094491015b98190d4a4.jpg","text":"TemporaryFile(/tmp/multipartBody7490822695996235814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997123637,"filename":"image_17122025_19_15_35_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a48806f250cd3762bd08b2b9721fd1c4.jpg","text":"TemporaryFile(/tmp/multipartBody3089698901179785461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997123637,"filename":"image_17122025_19_15_45_10165.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60b73ef20fb7c80c7bca55bad1492d55.jpg","text":"TemporaryFile(/tmp/multipartBody6818592484464089754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997123637,"filename":"image_17122025_19_15_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e08d5ffa9f3c204361ba7d541df13386.jpg","text":"TemporaryFile(/tmp/multipartBody6072712717407086102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997123637,"filename":"image_17122025_19_14_34_9544.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823234","file1":"1399823229","file0":"1399823225","file4":"1399823239","file5":"1399823244","file3":"1399823238"},"map_files_photo_id_array":[{"photo_id":"1399823244","filename":"file5"},{"photo_id":"1399823234","filename":"file2"},{"photo_id":"1399823239","filename":"file4"},{"photo_id":"1399823229","filename":"file1"},{"photo_id":"1399823225","filename":"file0"},{"photo_id":"1399823238","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823225":["hashtag1","hashtag2"]},{"1399823234":["hashtag1","hashtag2"]},{"1399823239":["hashtag1","hashtag2"]},{"1399823244":["hashtag1","hashtag2"]},{"1399823238":["hashtag1","hashtag2"]},{"1399823229":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823225, 1399823234, 1399823239, 1399823244, 1399823238, 1399823229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.98430895805359 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:45:02.426968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_55_9651.jpg', '/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_14_9835.jpg', '/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_25_10873.jpg', '/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_35_9711.jpg', '/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_45_9730.jpg', '/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/15/image_17122025_19_15_55_9651.jpg
/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_14_9835.jpg
/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_25_10873.jpg
/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_35_9711.jpg
/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_45_9730.jpg
/home/pi/Desktop/images/17122025/19/16/image_17122025_19_16_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":["1399823252","1399823251","1399823254","1399823253","1399823249","1399823258"],"photo_ids_order":["1399823249","1399823251","1399823252","1399823253","1399823254","1399823258"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/869458c591747ca9ab7401c009f096dd.jpg","text":"TemporaryFile(/tmp/multipartBody3336760829168379330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997163327,"filename":"image_17122025_19_16_25_10873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24fb0e21832b05f63abc98f97bd766f3.jpg","text":"TemporaryFile(/tmp/multipartBody439609323845134593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997163327,"filename":"image_17122025_19_16_14_9835.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9df7f3271e11b4303d043ab2103b3f6a.jpg","text":"TemporaryFile(/tmp/multipartBody1221205086946054134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997163327,"filename":"image_17122025_19_16_45_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdeb5484fb981afab289f0bb55aad333.jpg","text":"TemporaryFile(/tmp/multipartBody9127266756901898349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997163327,"filename":"image_17122025_19_16_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d5b429863d8fbeea60e1fe0dff5c2de.jpg","text":"TemporaryFile(/tmp/multipartBody1783283628090689319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997163327,"filename":"image_17122025_19_15_55_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60bb36ca9d7880926ce99649d6b2f44b.jpg","text":"TemporaryFile(/tmp/multipartBody1636585813323157821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997163327,"filename":"image_17122025_19_16_54_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823252","file1":"1399823251","file0":"1399823249","file4":"1399823254","file5":"1399823258","file3":"1399823253"},"map_files_photo_id_array":[{"photo_id":"1399823258","filename":"file5"},{"photo_id":"1399823252","filename":"file2"},{"photo_id":"1399823254","filename":"file4"},{"photo_id":"1399823251","filename":"file1"},{"photo_id":"1399823249","filename":"file0"},{"photo_id":"1399823253","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823252":["hashtag1","hashtag2"]},{"1399823251":["hashtag1","hashtag2"]},{"1399823254":["hashtag1","hashtag2"]},{"1399823253":["hashtag1","hashtag2"]},{"1399823249":["hashtag1","hashtag2"]},{"1399823258":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823252, 1399823251, 1399823254, 1399823253, 1399823249, 1399823258)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70319485664368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:45:41.889435
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/06/image_07112025_21_06_59_1808.jpg', '/home/pi/Desktop/images/07112025/21/06/image_07112025_21_07_00_1678.jpg', '/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_07_3450.jpg', '/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_09_1695.jpg', '/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_26_1666.jpg', '/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_39_12837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/06/image_07112025_21_06_59_1808.jpg
/home/pi/Desktop/images/07112025/21/06/image_07112025_21_07_00_1678.jpg
/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_07_3450.jpg
/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_09_1695.jpg
/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_26_1666.jpg
/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_39_12837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823269","1399823271","1399823265","1399823268","1399823267","1399823270"],"photo_ids_order":["1399823265","1399823267","1399823268","1399823269","1399823270","1399823271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb6d2b2e7342dbec14b40c4f7e467433.jpg","text":"TemporaryFile(/tmp/multipartBody2855273542279891438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997202977,"filename":"image_07112025_21_07_09_1695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f68f385f835650bae221ee31fb8b10cf.jpg","text":"TemporaryFile(/tmp/multipartBody2796355747200265058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997202977,"filename":"image_07112025_21_07_39_12837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d40281caa5c27dc1054cfaf67667745e.jpg","text":"TemporaryFile(/tmp/multipartBody6394017921505509976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997202977,"filename":"image_07112025_21_06_59_1808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10d9574161e05eeaf73db5ff4a8eecde.jpg","text":"TemporaryFile(/tmp/multipartBody2601543390223135699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997202977,"filename":"image_07112025_21_07_07_3450.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a43cf8c57bd84cfa347fb67efee6817.jpg","text":"TemporaryFile(/tmp/multipartBody8546043880523583995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997202977,"filename":"image_07112025_21_07_00_1678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1c366b216fdff2f015102cf480aa7a5.jpg","text":"TemporaryFile(/tmp/multipartBody5101137236641268771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997202977,"filename":"image_07112025_21_07_26_1666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823268","file1":"1399823267","file0":"1399823265","file4":"1399823270","file5":"1399823271","file3":"1399823269"},"map_files_photo_id_array":[{"photo_id":"1399823271","filename":"file5"},{"photo_id":"1399823268","filename":"file2"},{"photo_id":"1399823270","filename":"file4"},{"photo_id":"1399823267","filename":"file1"},{"photo_id":"1399823265","filename":"file0"},{"photo_id":"1399823269","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399823269":["hashtag1","hashtag2"]},{"1399823271":["hashtag1","hashtag2"]},{"1399823265":["hashtag1","hashtag2"]},{"1399823268":["hashtag1","hashtag2"]},{"1399823267":["hashtag1","hashtag2"]},{"1399823270":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399823269, 1399823271, 1399823265, 1399823268, 1399823267, 1399823270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80469083786011 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:46:22.213670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/16/image_17122025_19_17_05_10766.jpg', '/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_15_9696.jpg', '/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_25_9808.jpg', '/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_35_10642.jpg', '/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_45_9630.jpg', '/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_55_9978.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/16/image_17122025_19_17_05_10766.jpg
/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_15_9696.jpg
/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_25_9808.jpg
/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_35_10642.jpg
/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_45_9630.jpg
/home/pi/Desktop/images/17122025/19/17/image_17122025_19_17_55_9978.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823284","1399823289","1399823280","1399823288","1399823282","1399823276"],"photo_ids_order":["1399823276","1399823280","1399823282","1399823284","1399823288","1399823289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d044b6ac70af1ee124f8a9476a296d0b.jpg","text":"TemporaryFile(/tmp/multipartBody1229603027053664220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997243532,"filename":"image_17122025_19_17_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e6fe15ebd10af2e43f542848e953c76.jpg","text":"TemporaryFile(/tmp/multipartBody712683040456826340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997243532,"filename":"image_17122025_19_17_55_9978.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46954a9da4ac9f3ed9f91da820196fdf.jpg","text":"TemporaryFile(/tmp/multipartBody3841064340795243145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997243532,"filename":"image_17122025_19_17_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c65d3c50d6ddfdb33338a0e705fe226.jpg","text":"TemporaryFile(/tmp/multipartBody1372468327811821115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997243532,"filename":"image_17122025_19_17_45_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90151011107ea2f25ea043521f4c0462.jpg","text":"TemporaryFile(/tmp/multipartBody3159317548365731080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997243532,"filename":"image_17122025_19_17_25_9808.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cde6b10f9ec843fdcc10b78cbe40298b.jpg","text":"TemporaryFile(/tmp/multipartBody5309039591345709830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997243532,"filename":"image_17122025_19_17_05_10766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823282","file1":"1399823280","file0":"1399823276","file4":"1399823288","file5":"1399823289","file3":"1399823284"},"map_files_photo_id_array":[{"photo_id":"1399823289","filename":"file5"},{"photo_id":"1399823282","filename":"file2"},{"photo_id":"1399823288","filename":"file4"},{"photo_id":"1399823280","filename":"file1"},{"photo_id":"1399823276","filename":"file0"},{"photo_id":"1399823284","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823284":["hashtag1","hashtag2"]},{"1399823289":["hashtag1","hashtag2"]},{"1399823280":["hashtag1","hashtag2"]},{"1399823288":["hashtag1","hashtag2"]},{"1399823282":["hashtag1","hashtag2"]},{"1399823276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823284, 1399823289, 1399823280, 1399823288, 1399823282, 1399823276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.7279257774353 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:47:03.022187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/17/image_17122025_19_18_05_9701.jpg', '/home/pi/Desktop/images/17122025/19/18/image_17122025_19_18_25_10943.jpg', '/home/pi/Desktop/images/17122025/19/18/image_17122025_19_18_35_9731.jpg', '/home/pi/Desktop/images/17122025/19/18/image_17122025_19_18_55_10355.jpg', '/home/pi/Desktop/images/17122025/19/18/image_17122025_19_19_05_9655.jpg', '/home/pi/Desktop/images/17122025/19/19/image_17122025_19_19_14_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/17/image_17122025_19_18_05_9701.jpg
/home/pi/Desktop/images/17122025/19/18/image_17122025_19_18_25_10943.jpg
/home/pi/Desktop/images/17122025/19/18/image_17122025_19_18_35_9731.jpg
/home/pi/Desktop/images/17122025/19/18/image_17122025_19_18_55_10355.jpg
/home/pi/Desktop/images/17122025/19/18/image_17122025_19_19_05_9655.jpg
/home/pi/Desktop/images/17122025/19/19/image_17122025_19_19_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":["1399823306","1399823293","1399823308","1399823302","1399823310","1399823304"],"photo_ids_order":["1399823293","1399823302","1399823304","1399823306","1399823308","1399823310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3fa66637c60facc3d0873af9004c6e9.jpg","text":"TemporaryFile(/tmp/multipartBody3556082004647841147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997283931,"filename":"image_17122025_19_18_55_10355.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce85e3889ba577b75faf05776265fc19.jpg","text":"TemporaryFile(/tmp/multipartBody5253472606775971104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997283931,"filename":"image_17122025_19_18_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff418a57023b4b093fad80655aa47907.jpg","text":"TemporaryFile(/tmp/multipartBody7442044486010274393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997283931,"filename":"image_17122025_19_19_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65936c1a893c6cfa2f78b90134603571.jpg","text":"TemporaryFile(/tmp/multipartBody3839239625185995936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997283931,"filename":"image_17122025_19_18_25_10943.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42405a143c6d2f626e8e5ea12f3a87fd.jpg","text":"TemporaryFile(/tmp/multipartBody3850255261146085432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997283931,"filename":"image_17122025_19_19_14_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca88a51ae75cce2b11f4883d5ebfec27.jpg","text":"TemporaryFile(/tmp/multipartBody3607446692543971750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997283931,"filename":"image_17122025_19_18_35_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823304","file1":"1399823302","file0":"1399823293","file4":"1399823308","file5":"1399823310","file3":"1399823306"},"map_files_photo_id_array":[{"photo_id":"1399823310","filename":"file5"},{"photo_id":"1399823304","filename":"file2"},{"photo_id":"1399823308","filename":"file4"},{"photo_id":"1399823302","filename":"file1"},{"photo_id":"1399823293","filename":"file0"},{"photo_id":"1399823306","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823306":["hashtag1","hashtag2"]},{"1399823293":["hashtag1","hashtag2"]},{"1399823308":["hashtag1","hashtag2"]},{"1399823302":["hashtag1","hashtag2"]},{"1399823310":["hashtag1","hashtag2"]},{"1399823304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823306, 1399823293, 1399823308, 1399823302, 1399823310, 1399823304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69917845726013 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:47:42.311531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_41_1609.jpg', '/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_15_3426.jpg', '/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_21_3601.jpg', '/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_24_3056.jpg', '/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_32_7885.jpg', '/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_35_1641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/07/image_07112025_21_07_41_1609.jpg
/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_15_3426.jpg
/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_21_3601.jpg
/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_24_3056.jpg
/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_32_7885.jpg
/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_35_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":["1399823324","1399823320","1399823317","1399823319","1399823322","1399823321"],"photo_ids_order":["1399823317","1399823319","1399823320","1399823321","1399823322","1399823324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e53cc3441e152e11e7831fed6c3669e1.jpg","text":"TemporaryFile(/tmp/multipartBody2867283426070683806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997323344,"filename":"image_07112025_21_10_35_1641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7953d0cbcf9022ac018b293791b1fc0.jpg","text":"TemporaryFile(/tmp/multipartBody5863957117786620932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997323344,"filename":"image_07112025_21_10_21_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a6220eacbc5eba6a9c4e9de84339095.jpg","text":"TemporaryFile(/tmp/multipartBody6247983403312224215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997323344,"filename":"image_07112025_21_07_41_1609.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0813a440256e64af89800a6172ce7487.jpg","text":"TemporaryFile(/tmp/multipartBody4148706407340029507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997323344,"filename":"image_07112025_21_10_15_3426.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f6548041c22f52e0f7de2e9e7cf7c7e.jpg","text":"TemporaryFile(/tmp/multipartBody1511323551992560415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997323344,"filename":"image_07112025_21_10_32_7885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40175d5f2dcf5330d55e1c053fe78291.jpg","text":"TemporaryFile(/tmp/multipartBody6312004349934272707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997323344,"filename":"image_07112025_21_10_24_3056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823320","file1":"1399823319","file0":"1399823317","file4":"1399823322","file5":"1399823324","file3":"1399823321"},"map_files_photo_id_array":[{"photo_id":"1399823324","filename":"file5"},{"photo_id":"1399823320","filename":"file2"},{"photo_id":"1399823322","filename":"file4"},{"photo_id":"1399823319","filename":"file1"},{"photo_id":"1399823317","filename":"file0"},{"photo_id":"1399823321","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399823324":["hashtag1","hashtag2"]},{"1399823320":["hashtag1","hashtag2"]},{"1399823317":["hashtag1","hashtag2"]},{"1399823319":["hashtag1","hashtag2"]},{"1399823322":["hashtag1","hashtag2"]},{"1399823321":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399823324, 1399823320, 1399823317, 1399823319, 1399823322, 1399823321)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.413089990615845 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:48:22.562782
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/19/image_17122025_19_19_25_10781.jpg', '/home/pi/Desktop/images/17122025/19/19/image_17122025_19_19_35_9723.jpg', '/home/pi/Desktop/images/17122025/19/19/image_17122025_19_19_44_9577.jpg', '/home/pi/Desktop/images/17122025/19/19/image_17122025_19_20_05_9751.jpg', '/home/pi/Desktop/images/17122025/19/20/image_17122025_19_20_15_9676.jpg', '/home/pi/Desktop/images/17122025/19/20/image_17122025_19_20_35_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/19/image_17122025_19_19_25_10781.jpg
/home/pi/Desktop/images/17122025/19/19/image_17122025_19_19_35_9723.jpg
/home/pi/Desktop/images/17122025/19/19/image_17122025_19_19_44_9577.jpg
/home/pi/Desktop/images/17122025/19/19/image_17122025_19_20_05_9751.jpg
/home/pi/Desktop/images/17122025/19/20/image_17122025_19_20_15_9676.jpg
/home/pi/Desktop/images/17122025/19/20/image_17122025_19_20_35_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823330","1399823333","1399823335","1399823337","1399823354","1399823348"],"photo_ids_order":["1399823330","1399823333","1399823335","1399823337","1399823348","1399823354"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70a675b3049797dc18b4760054e4f14b.jpg","text":"TemporaryFile(/tmp/multipartBody3858834062577874978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997363550,"filename":"image_17122025_19_19_25_10781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5201fb0ab5e0f9666a643cd7fc46602.jpg","text":"TemporaryFile(/tmp/multipartBody6500391260747896771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997363550,"filename":"image_17122025_19_19_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4419264494f7ed3b50ffe5f4e4d149b7.jpg","text":"TemporaryFile(/tmp/multipartBody1066781746986441643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997363550,"filename":"image_17122025_19_19_44_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f308139d34a1a8bc30493ac682291a4.jpg","text":"TemporaryFile(/tmp/multipartBody3348338580366729151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997363550,"filename":"image_17122025_19_20_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40109aaa171965ebd9566be7d90dec97.jpg","text":"TemporaryFile(/tmp/multipartBody9085017469189767459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997363550,"filename":"image_17122025_19_20_35_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d631de298aa0a23ccf3c90d47af437d1.jpg","text":"TemporaryFile(/tmp/multipartBody1853681675329212685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997363550,"filename":"image_17122025_19_20_15_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823335","file1":"1399823333","file0":"1399823330","file4":"1399823348","file5":"1399823354","file3":"1399823337"},"map_files_photo_id_array":[{"photo_id":"1399823354","filename":"file5"},{"photo_id":"1399823335","filename":"file2"},{"photo_id":"1399823348","filename":"file4"},{"photo_id":"1399823333","filename":"file1"},{"photo_id":"1399823330","filename":"file0"},{"photo_id":"1399823337","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823330":["hashtag1","hashtag2"]},{"1399823333":["hashtag1","hashtag2"]},{"1399823335":["hashtag1","hashtag2"]},{"1399823337":["hashtag1","hashtag2"]},{"1399823354":["hashtag1","hashtag2"]},{"1399823348":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823330, 1399823333, 1399823335, 1399823337, 1399823354, 1399823348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.957120180130005 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:49:02.879969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/20/image_17122025_19_20_45_9745.jpg', '/home/pi/Desktop/images/17122025/19/20/image_17122025_19_20_55_9694.jpg', '/home/pi/Desktop/images/17122025/19/20/image_17122025_19_21_05_10119.jpg', '/home/pi/Desktop/images/17122025/19/21/image_17122025_19_21_14_9655.jpg', '/home/pi/Desktop/images/17122025/19/21/image_17122025_19_21_45_9699.jpg', '/home/pi/Desktop/images/17122025/19/21/image_17122025_19_21_55_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/20/image_17122025_19_20_45_9745.jpg
/home/pi/Desktop/images/17122025/19/20/image_17122025_19_20_55_9694.jpg
/home/pi/Desktop/images/17122025/19/20/image_17122025_19_21_05_10119.jpg
/home/pi/Desktop/images/17122025/19/21/image_17122025_19_21_14_9655.jpg
/home/pi/Desktop/images/17122025/19/21/image_17122025_19_21_45_9699.jpg
/home/pi/Desktop/images/17122025/19/21/image_17122025_19_21_55_9743.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":["1399823359","1399823361","1399823355","1399823364","1399823367","1399823357"],"photo_ids_order":["1399823355","1399823357","1399823359","1399823361","1399823364","1399823367"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2e429c90faf9c3d456030b996efe3d2.jpg","text":"TemporaryFile(/tmp/multipartBody4908951576603943761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997403936,"filename":"image_17122025_19_21_05_10119.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c73977f0183e882a50d387b67f5f79c6.jpg","text":"TemporaryFile(/tmp/multipartBody5034957193761861971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997403936,"filename":"image_17122025_19_21_14_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2029103e723c91e122da56a780f5441a.jpg","text":"TemporaryFile(/tmp/multipartBody6756942041968660472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997403936,"filename":"image_17122025_19_20_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b139be7a7d1771a4f9a2c4c27c616cd.jpg","text":"TemporaryFile(/tmp/multipartBody2021037504539444077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997403936,"filename":"image_17122025_19_21_45_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74b4fd0f13d2cbcededea2a3151cf870.jpg","text":"TemporaryFile(/tmp/multipartBody2833069591025841354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997403936,"filename":"image_17122025_19_21_55_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e99c2e5429beb48c8be96dee8ec158bd.jpg","text":"TemporaryFile(/tmp/multipartBody1837213007629561554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997403936,"filename":"image_17122025_19_20_55_9694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823359","file1":"1399823357","file0":"1399823355","file4":"1399823364","file5":"1399823367","file3":"1399823361"},"map_files_photo_id_array":[{"photo_id":"1399823367","filename":"file5"},{"photo_id":"1399823359","filename":"file2"},{"photo_id":"1399823364","filename":"file4"},{"photo_id":"1399823357","filename":"file1"},{"photo_id":"1399823355","filename":"file0"},{"photo_id":"1399823361","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823359":["hashtag1","hashtag2"]},{"1399823361":["hashtag1","hashtag2"]},{"1399823355":["hashtag1","hashtag2"]},{"1399823364":["hashtag1","hashtag2"]},{"1399823367":["hashtag1","hashtag2"]},{"1399823357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823359, 1399823361, 1399823355, 1399823364, 1399823367, 1399823357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.22387742996216 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:50:02.602972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/21/image_17122025_19_22_05_9981.jpg', '/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_15_10646.jpg', '/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_25_9737.jpg', '/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_35_9796.jpg', '/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_44_9656.jpg', '/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_55_10780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/21/image_17122025_19_22_05_9981.jpg
/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_15_10646.jpg
/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_25_9737.jpg
/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_35_9796.jpg
/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_44_9656.jpg
/home/pi/Desktop/images/17122025/19/22/image_17122025_19_22_55_10780.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":["1399823389","1399823380","1399823377","1399823391","1399823384","1399823375"],"photo_ids_order":["1399823375","1399823377","1399823380","1399823384","1399823389","1399823391"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c115996f07c43cddf3e218f1e12b3084.jpg","text":"TemporaryFile(/tmp/multipartBody6156080699479058433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997468604,"filename":"image_17122025_19_22_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cddbc1d3b70ccc6878ac7cef4b0944f.jpg","text":"TemporaryFile(/tmp/multipartBody3974645381417974933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997468604,"filename":"image_17122025_19_22_25_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e99c57eb0678d643b51a988b3f52ea96.jpg","text":"TemporaryFile(/tmp/multipartBody5134595309128541641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997468604,"filename":"image_17122025_19_22_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08adff88d3fb3a4502a0fdcf200edf0c.jpg","text":"TemporaryFile(/tmp/multipartBody4827487727262329825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997468604,"filename":"image_17122025_19_22_55_10780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c428b7b56cbe30c2c7eef7ce8b79ff31.jpg","text":"TemporaryFile(/tmp/multipartBody2699297533382906275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997468604,"filename":"image_17122025_19_22_35_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f1072f709b274d414e4602eb7cdad2b.jpg","text":"TemporaryFile(/tmp/multipartBody2834776751916054624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997468604,"filename":"image_17122025_19_22_05_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823380","file1":"1399823377","file0":"1399823375","file4":"1399823389","file5":"1399823391","file3":"1399823384"},"map_files_photo_id_array":[{"photo_id":"1399823391","filename":"file5"},{"photo_id":"1399823380","filename":"file2"},{"photo_id":"1399823389","filename":"file4"},{"photo_id":"1399823377","filename":"file1"},{"photo_id":"1399823375","filename":"file0"},{"photo_id":"1399823384","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823389":["hashtag1","hashtag2"]},{"1399823380":["hashtag1","hashtag2"]},{"1399823377":["hashtag1","hashtag2"]},{"1399823391":["hashtag1","hashtag2"]},{"1399823384":["hashtag1","hashtag2"]},{"1399823375":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823389, 1399823380, 1399823377, 1399823391, 1399823384, 1399823375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.97103691101074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:51:02.930670
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/22/image_17122025_19_23_05_9765.jpg', '/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_15_9826.jpg', '/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_24_9667.jpg', '/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_35_10710.jpg', '/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_45_9986.jpg', '/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_55_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/22/image_17122025_19_23_05_9765.jpg
/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_15_9826.jpg
/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_24_9667.jpg
/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_35_10710.jpg
/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_45_9986.jpg
/home/pi/Desktop/images/17122025/19/23/image_17122025_19_23_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":["1399823411","1399823414","1399823413","1399823407","1399823416","1399823409"],"photo_ids_order":["1399823407","1399823409","1399823411","1399823413","1399823414","1399823416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82d3a469ccbc8f7c0fc009723f016565.jpg","text":"TemporaryFile(/tmp/multipartBody862453561599632608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997523847,"filename":"image_17122025_19_23_24_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d841998d2ef7a0b80302b01eef0473c.jpg","text":"TemporaryFile(/tmp/multipartBody2032857233588709172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997523847,"filename":"image_17122025_19_23_45_9986.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3e58be55e337db54a5f405fb963e569.jpg","text":"TemporaryFile(/tmp/multipartBody4001287461348555706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997523847,"filename":"image_17122025_19_23_35_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dd667b37c37ad93aaa7c1b516b4eeea.jpg","text":"TemporaryFile(/tmp/multipartBody1424788967060721907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997523847,"filename":"image_17122025_19_23_05_9765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7447e9c041ff6711e371e444ff37edc.jpg","text":"TemporaryFile(/tmp/multipartBody8897396602254582255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997523847,"filename":"image_17122025_19_23_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1a16249c17ceec0f33cfc8f66ca9429.jpg","text":"TemporaryFile(/tmp/multipartBody6284635495037048019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997523847,"filename":"image_17122025_19_23_15_9826.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823411","file1":"1399823409","file0":"1399823407","file4":"1399823414","file5":"1399823416","file3":"1399823413"},"map_files_photo_id_array":[{"photo_id":"1399823416","filename":"file5"},{"photo_id":"1399823411","filename":"file2"},{"photo_id":"1399823414","filename":"file4"},{"photo_id":"1399823409","filename":"file1"},{"photo_id":"1399823407","filename":"file0"},{"photo_id":"1399823413","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823411":["hashtag1","hashtag2"]},{"1399823414":["hashtag1","hashtag2"]},{"1399823413":["hashtag1","hashtag2"]},{"1399823407":["hashtag1","hashtag2"]},{"1399823416":["hashtag1","hashtag2"]},{"1399823409":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823411, 1399823414, 1399823413, 1399823407, 1399823416, 1399823409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.83884334564209 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:51:42.411618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_42_3582.jpg', '/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_48_2630.jpg', '/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_51_3755.jpg', '/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_01_7142.jpg', '/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_04_1504.jpg', '/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_17_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_42_3582.jpg
/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_48_2630.jpg
/home/pi/Desktop/images/07112025/21/10/image_07112025_21_10_51_3755.jpg
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_01_7142.jpg
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_04_1504.jpg
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_17_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823426","1399823425","1399823422","1399823424","1399823427","1399823429"],"photo_ids_order":["1399823422","1399823424","1399823425","1399823426","1399823427","1399823429"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e1339ae696ea62180d1b5956208acc3.jpg","text":"TemporaryFile(/tmp/multipartBody5990726373404702270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997563417,"filename":"image_07112025_21_11_01_7142.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3ff51d723130b579eb5ffbae5b7e3a7.jpg","text":"TemporaryFile(/tmp/multipartBody8347146141891119752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997563417,"filename":"image_07112025_21_10_51_3755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80264647a9c1c1468a31c37279a70b47.jpg","text":"TemporaryFile(/tmp/multipartBody180348385353427438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997563417,"filename":"image_07112025_21_10_42_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/221e5ff7cbeb79ad1de7a8842207102b.jpg","text":"TemporaryFile(/tmp/multipartBody4777002718199784044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997563417,"filename":"image_07112025_21_10_48_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9972aefc8620f527f561679fe4fa5976.jpg","text":"TemporaryFile(/tmp/multipartBody2734540662583908144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997563417,"filename":"image_07112025_21_11_04_1504.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5084c12ca215d88137a041fd382d4780.jpg","text":"TemporaryFile(/tmp/multipartBody7888532064011697506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997563417,"filename":"image_07112025_21_11_17_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823425","file1":"1399823424","file0":"1399823422","file4":"1399823427","file5":"1399823429","file3":"1399823426"},"map_files_photo_id_array":[{"photo_id":"1399823429","filename":"file5"},{"photo_id":"1399823425","filename":"file2"},{"photo_id":"1399823427","filename":"file4"},{"photo_id":"1399823424","filename":"file1"},{"photo_id":"1399823422","filename":"file0"},{"photo_id":"1399823426","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399823426":["hashtag1","hashtag2"]},{"1399823425":["hashtag1","hashtag2"]},{"1399823422":["hashtag1","hashtag2"]},{"1399823424":["hashtag1","hashtag2"]},{"1399823427":["hashtag1","hashtag2"]},{"1399823429":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399823426, 1399823425, 1399823422, 1399823424, 1399823427, 1399823429)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.907001972198486 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:52:22.693885
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/23/image_17122025_19_24_04_9608.jpg', '/home/pi/Desktop/images/17122025/19/24/image_17122025_19_24_15_10651.jpg', '/home/pi/Desktop/images/17122025/19/24/image_17122025_19_24_25_9787.jpg', '/home/pi/Desktop/images/17122025/19/24/image_17122025_19_24_44_9742.jpg', '/home/pi/Desktop/images/17122025/19/24/image_17122025_19_25_05_9647.jpg', '/home/pi/Desktop/images/17122025/19/25/image_17122025_19_25_15_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/23/image_17122025_19_24_04_9608.jpg
/home/pi/Desktop/images/17122025/19/24/image_17122025_19_24_15_10651.jpg
/home/pi/Desktop/images/17122025/19/24/image_17122025_19_24_25_9787.jpg
/home/pi/Desktop/images/17122025/19/24/image_17122025_19_24_44_9742.jpg
/home/pi/Desktop/images/17122025/19/24/image_17122025_19_25_05_9647.jpg
/home/pi/Desktop/images/17122025/19/25/image_17122025_19_25_15_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":["1399823476","1399823463","1399823436","1399823433","1399823459","1399823447"],"photo_ids_order":["1399823433","1399823436","1399823447","1399823459","1399823463","1399823476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6bbe0da648fe5499754190e0eb4bc432.jpg","text":"TemporaryFile(/tmp/multipartBody3350981250461001764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997604020,"filename":"image_17122025_19_25_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87c33d468c843393fd35ab026b6144b1.jpg","text":"TemporaryFile(/tmp/multipartBody5664078372043053097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997604020,"filename":"image_17122025_19_25_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e29134d4a1cc8381bd692bacf96c4f0b.jpg","text":"TemporaryFile(/tmp/multipartBody2788239562620247420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997604020,"filename":"image_17122025_19_24_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02cafea6764e65d9d292e5f181dcf1a2.jpg","text":"TemporaryFile(/tmp/multipartBody2759132937283908019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997604020,"filename":"image_17122025_19_24_04_9608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/215f543e94c139804a6c878a81008aa1.jpg","text":"TemporaryFile(/tmp/multipartBody6018283897784299978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997604020,"filename":"image_17122025_19_24_44_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0cc23ae2095ebd92fff609d205834886.jpg","text":"TemporaryFile(/tmp/multipartBody7648161334543837174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997604020,"filename":"image_17122025_19_24_25_9787.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823447","file1":"1399823436","file0":"1399823433","file4":"1399823463","file5":"1399823476","file3":"1399823459"},"map_files_photo_id_array":[{"photo_id":"1399823476","filename":"file5"},{"photo_id":"1399823447","filename":"file2"},{"photo_id":"1399823463","filename":"file4"},{"photo_id":"1399823436","filename":"file1"},{"photo_id":"1399823433","filename":"file0"},{"photo_id":"1399823459","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823476":["hashtag1","hashtag2"]},{"1399823463":["hashtag1","hashtag2"]},{"1399823436":["hashtag1","hashtag2"]},{"1399823433":["hashtag1","hashtag2"]},{"1399823459":["hashtag1","hashtag2"]},{"1399823447":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823476, 1399823463, 1399823436, 1399823433, 1399823459, 1399823447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.700578689575195 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 10 --only_old 1
2025-12-17 19:53:11.957479
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:53:22.018750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/25/image_17122025_19_25_35_9702.jpg', '/home/pi/Desktop/images/17122025/19/25/image_17122025_19_26_05_10630.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_25_9696.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_34_9823.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_45_10705.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_55_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/25/image_17122025_19_25_35_9702.jpg
/home/pi/Desktop/images/17122025/19/25/image_17122025_19_26_05_10630.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_25_9696.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_34_9823.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_45_10705.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_55_9806.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.2069072723388672 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:53:31.945419
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:53:42.012352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_24_2682.jpg', '/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_33_9644.jpg', '/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_35_1678.jpg', '/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_51_6130.jpg', '/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_53_1519.jpg', '/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_57_3695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_24_2682.jpg
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_33_9644.jpg
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_35_1678.jpg
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_51_6130.jpg
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_53_1519.jpg
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_11_57_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":["1399823516","1399823512","1399823506","1399823515","1399823514","1399823513"],"photo_ids_order":["1399823506","1399823512","1399823513","1399823514","1399823515","1399823516"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e819619e2238c5fb76d2310d4730c18d.jpg","text":"TemporaryFile(/tmp/multipartBody3932566180637700118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997683227,"filename":"image_07112025_21_11_57_3695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/271f54a2e647a590dba5de994ef7704f.jpg","text":"TemporaryFile(/tmp/multipartBody828008650200189892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997683227,"filename":"image_07112025_21_11_33_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e75ad8623067a24563beeee94af35367.jpg","text":"TemporaryFile(/tmp/multipartBody6272149772663480119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997683227,"filename":"image_07112025_21_11_24_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95f6e06f1fa9495b85c28a5e5c1f3606.jpg","text":"TemporaryFile(/tmp/multipartBody3177105971459868997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997683227,"filename":"image_07112025_21_11_53_1519.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/835b0880e38fc5551cf7e3fdfcdf0856.jpg","text":"TemporaryFile(/tmp/multipartBody5940381308144356915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997683227,"filename":"image_07112025_21_11_51_6130.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c18747bea3d96f9346992a259e39373.jpg","text":"TemporaryFile(/tmp/multipartBody6646878680632540676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997683227,"filename":"image_07112025_21_11_35_1678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823513","file1":"1399823512","file0":"1399823506","file4":"1399823515","file5":"1399823516","file3":"1399823514"},"map_files_photo_id_array":[{"photo_id":"1399823516","filename":"file5"},{"photo_id":"1399823513","filename":"file2"},{"photo_id":"1399823515","filename":"file4"},{"photo_id":"1399823512","filename":"file1"},{"photo_id":"1399823506","filename":"file0"},{"photo_id":"1399823514","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399823516":["hashtag1","hashtag2"]},{"1399823512":["hashtag1","hashtag2"]},{"1399823506":["hashtag1","hashtag2"]},{"1399823515":["hashtag1","hashtag2"]},{"1399823514":["hashtag1","hashtag2"]},{"1399823513":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399823516, 1399823512, 1399823506, 1399823515, 1399823514, 1399823513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10989499092102 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:54:22.339116
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/25/image_17122025_19_25_35_9702.jpg', '/home/pi/Desktop/images/17122025/19/25/image_17122025_19_26_05_10630.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_25_9696.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_34_9823.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_45_10705.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_55_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/25/image_17122025_19_25_35_9702.jpg
/home/pi/Desktop/images/17122025/19/25/image_17122025_19_26_05_10630.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_25_9696.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_34_9823.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_45_10705.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_55_9806.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.0990912914276123 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:54:32.365302
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:54:42.223890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/11/image_07112025_21_12_00_1627.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_07_4244.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_11_4004.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_12_1681.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_19_7173.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_21_1644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/11/image_07112025_21_12_00_1627.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_07_4244.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_11_4004.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_12_1681.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_19_7173.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_21_1644.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823537","1399823548","1399823544","1399823546","1399823549","1399823540"],"photo_ids_order":["1399823537","1399823540","1399823544","1399823546","1399823548","1399823549"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0246372782cfbf2c4b462b1d4b1dcc4.jpg","text":"TemporaryFile(/tmp/multipartBody6580182103834926467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997745058,"filename":"image_07112025_21_12_00_1627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa68d4171bcf281e5e5a4b3c987e51ab.jpg","text":"TemporaryFile(/tmp/multipartBody2094741846235029864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997745058,"filename":"image_07112025_21_12_19_7173.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fa902753656fe6e135a6321b2c92c8b.jpg","text":"TemporaryFile(/tmp/multipartBody4118400468515563942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997745058,"filename":"image_07112025_21_12_11_4004.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4236a57cdf7c5a9ad9911c78d6dbf953.jpg","text":"TemporaryFile(/tmp/multipartBody6553537398023225825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997745058,"filename":"image_07112025_21_12_12_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3ce690064bfa59a0edb14542fcb7f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2349671309900817616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997745058,"filename":"image_07112025_21_12_21_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbdd75d4d598dab1f7ca1a349c6cd335.jpg","text":"TemporaryFile(/tmp/multipartBody6354202151345710479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997745058,"filename":"image_07112025_21_12_07_4244.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823544","file1":"1399823540","file0":"1399823537","file4":"1399823548","file5":"1399823549","file3":"1399823546"},"map_files_photo_id_array":[{"photo_id":"1399823549","filename":"file5"},{"photo_id":"1399823544","filename":"file2"},{"photo_id":"1399823548","filename":"file4"},{"photo_id":"1399823540","filename":"file1"},{"photo_id":"1399823537","filename":"file0"},{"photo_id":"1399823546","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399823537":["hashtag1","hashtag2"]},{"1399823548":["hashtag1","hashtag2"]},{"1399823544":["hashtag1","hashtag2"]},{"1399823546":["hashtag1","hashtag2"]},{"1399823549":["hashtag1","hashtag2"]},{"1399823540":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399823537, 1399823548, 1399823544, 1399823546, 1399823549, 1399823540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.0069694519043 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 19:55:32.513521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:55:42.454950
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_25_3577.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_31_4339.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_32_1801.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_38_1673.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_39_1652.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_41_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_25_3577.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_31_4339.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_32_1801.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_38_1673.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_39_1652.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_41_1659.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.895458459854126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:56:03.240925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/25/image_17122025_19_25_35_9702.jpg', '/home/pi/Desktop/images/17122025/19/25/image_17122025_19_26_05_10630.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_25_9696.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_34_9823.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_45_10705.jpg', '/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_55_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/25/image_17122025_19_25_35_9702.jpg
/home/pi/Desktop/images/17122025/19/25/image_17122025_19_26_05_10630.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_25_9696.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_34_9823.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_45_10705.jpg
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_26_55_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":["1399823569","1399823572","1399823565","1399823568","1399823570","1399823567"],"photo_ids_order":["1399823565","1399823567","1399823568","1399823569","1399823570","1399823572"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5817f42cda526a60bd7615d4f319a81.jpg","text":"TemporaryFile(/tmp/multipartBody670300618325891945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997824125,"filename":"image_17122025_19_26_34_9823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa8aa3ba94bb54b7697d660dc42bbe32.jpg","text":"TemporaryFile(/tmp/multipartBody2942683525439026125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997824125,"filename":"image_17122025_19_26_55_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f690af9dada5f112394f43c6ebfb63a6.jpg","text":"TemporaryFile(/tmp/multipartBody3857496014097272261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997824125,"filename":"image_17122025_19_25_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b712b91520a413c2f65ed6b4a1692230.jpg","text":"TemporaryFile(/tmp/multipartBody4611589908494442720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997824125,"filename":"image_17122025_19_26_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc9877a68e04e6fc4f92154f459da98b.jpg","text":"TemporaryFile(/tmp/multipartBody6966383427188904557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997824125,"filename":"image_17122025_19_26_45_10705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3cd46aa71e028db3e8d482f8ab788815.jpg","text":"TemporaryFile(/tmp/multipartBody3055365038204506812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997824125,"filename":"image_17122025_19_26_05_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823568","file1":"1399823567","file0":"1399823565","file4":"1399823570","file5":"1399823572","file3":"1399823569"},"map_files_photo_id_array":[{"photo_id":"1399823572","filename":"file5"},{"photo_id":"1399823568","filename":"file2"},{"photo_id":"1399823570","filename":"file4"},{"photo_id":"1399823567","filename":"file1"},{"photo_id":"1399823565","filename":"file0"},{"photo_id":"1399823569","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823569":["hashtag1","hashtag2"]},{"1399823572":["hashtag1","hashtag2"]},{"1399823565":["hashtag1","hashtag2"]},{"1399823568":["hashtag1","hashtag2"]},{"1399823570":["hashtag1","hashtag2"]},{"1399823567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823569, 1399823572, 1399823565, 1399823568, 1399823570, 1399823567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.325299978256226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 19:56:42.677991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_25_3577.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_31_4339.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_32_1801.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_38_1673.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_39_1652.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_41_1659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_25_3577.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_31_4339.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_32_1801.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_38_1673.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_39_1652.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_41_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":["1399823587","1399823583","1399823592","1399823589","1399823585","1399823588"],"photo_ids_order":["1399823583","1399823585","1399823587","1399823588","1399823589","1399823592"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba3270c3d7458c6271ba7a705d86c8f0.jpg","text":"TemporaryFile(/tmp/multipartBody4829264213207727773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997863558,"filename":"image_07112025_21_12_32_1801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab17f3fda7fa8fe6dde5046481e5b4ad.jpg","text":"TemporaryFile(/tmp/multipartBody351800333119507873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997863558,"filename":"image_07112025_21_12_25_3577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12945c9f4875465c13e7dcfc90af5bc1.jpg","text":"TemporaryFile(/tmp/multipartBody8925346218974545050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997863558,"filename":"image_07112025_21_12_41_1659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2dd508e2b0ed91aa5af88f374b38fef1.jpg","text":"TemporaryFile(/tmp/multipartBody1766839021348951596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997863558,"filename":"image_07112025_21_12_39_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5daec034307f8582cedf40067279d14.jpg","text":"TemporaryFile(/tmp/multipartBody6408070002048239739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997863558,"filename":"image_07112025_21_12_31_4339.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d811790c03c97f119de20c24333ca8c4.jpg","text":"TemporaryFile(/tmp/multipartBody2374147388841049541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997863558,"filename":"image_07112025_21_12_38_1673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823587","file1":"1399823585","file0":"1399823583","file4":"1399823589","file5":"1399823592","file3":"1399823588"},"map_files_photo_id_array":[{"photo_id":"1399823592","filename":"file5"},{"photo_id":"1399823587","filename":"file2"},{"photo_id":"1399823589","filename":"file4"},{"photo_id":"1399823585","filename":"file1"},{"photo_id":"1399823583","filename":"file0"},{"photo_id":"1399823588","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399823587":["hashtag1","hashtag2"]},{"1399823583":["hashtag1","hashtag2"]},{"1399823592":["hashtag1","hashtag2"]},{"1399823589":["hashtag1","hashtag2"]},{"1399823585":["hashtag1","hashtag2"]},{"1399823588":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399823587, 1399823583, 1399823592, 1399823589, 1399823585, 1399823588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40960454940796 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 19:57:21.913225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/26/image_17122025_19_27_05_9745.jpg', '/home/pi/Desktop/images/17122025/19/27/image_17122025_19_27_14_9762.jpg', '/home/pi/Desktop/images/17122025/19/27/image_17122025_19_28_05_10706.jpg', '/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_15_9620.jpg', '/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_25_9822.jpg', '/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_34_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/26/image_17122025_19_27_05_9745.jpg
/home/pi/Desktop/images/17122025/19/27/image_17122025_19_27_14_9762.jpg
/home/pi/Desktop/images/17122025/19/27/image_17122025_19_28_05_10706.jpg
/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_15_9620.jpg
/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_25_9822.jpg
/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_34_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399823692","1399823596","1399823599","1399823653","1399823617","1399823601"],"photo_ids_order":["1399823596","1399823599","1399823601","1399823617","1399823653","1399823692"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c0962064a0d9b5200544fd2b2d339b7.jpg","text":"TemporaryFile(/tmp/multipartBody7895069881713546194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997902851,"filename":"image_17122025_19_28_34_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/139017e3bcf1ae79a79e1e42bdf13f7d.jpg","text":"TemporaryFile(/tmp/multipartBody4028897256057928540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997902851,"filename":"image_17122025_19_27_05_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/145b3b7145e489bdc7aa143df541eafc.jpg","text":"TemporaryFile(/tmp/multipartBody2090517049075305517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997902851,"filename":"image_17122025_19_27_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81e471a93e69cceb97f9b547db50abb2.jpg","text":"TemporaryFile(/tmp/multipartBody7126438357310674365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997902851,"filename":"image_17122025_19_28_25_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/838ad7228af3f3f74d96184941781361.jpg","text":"TemporaryFile(/tmp/multipartBody7367082894804572358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997902851,"filename":"image_17122025_19_28_15_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22295209588e5bddd5fb6d85b470f99c.jpg","text":"TemporaryFile(/tmp/multipartBody2655511650101968620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765997902851,"filename":"image_17122025_19_28_05_10706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399823601","file1":"1399823599","file0":"1399823596","file4":"1399823653","file5":"1399823692","file3":"1399823617"},"map_files_photo_id_array":[{"photo_id":"1399823692","filename":"file5"},{"photo_id":"1399823601","filename":"file2"},{"photo_id":"1399823653","filename":"file4"},{"photo_id":"1399823599","filename":"file1"},{"photo_id":"1399823596","filename":"file0"},{"photo_id":"1399823617","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399823692":["hashtag1","hashtag2"]},{"1399823596":["hashtag1","hashtag2"]},{"1399823599":["hashtag1","hashtag2"]},{"1399823653":["hashtag1","hashtag2"]},{"1399823617":["hashtag1","hashtag2"]},{"1399823601":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399823692, 1399823596, 1399823599, 1399823653, 1399823617, 1399823601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.28225302696228 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 19:59:03.162712
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_45_10729.jpg', '/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_55_9950.jpg', '/home/pi/Desktop/images/17122025/19/28/image_17122025_19_29_05_9846.jpg', '/home/pi/Desktop/images/17122025/19/29/image_17122025_19_29_15_9754.jpg', '/home/pi/Desktop/images/17122025/19/29/image_17122025_19_29_25_10664.jpg', '/home/pi/Desktop/images/17122025/19/29/image_17122025_19_29_55_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_45_10729.jpg
/home/pi/Desktop/images/17122025/19/28/image_17122025_19_28_55_9950.jpg
/home/pi/Desktop/images/17122025/19/28/image_17122025_19_29_05_9846.jpg
/home/pi/Desktop/images/17122025/19/29/image_17122025_19_29_15_9754.jpg
/home/pi/Desktop/images/17122025/19/29/image_17122025_19_29_25_10664.jpg
/home/pi/Desktop/images/17122025/19/29/image_17122025_19_29_55_9836.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":["1399824331","1399824409","1399824450","1399824369","1399824293","1399824248"],"photo_ids_order":["1399824248","1399824293","1399824331","1399824369","1399824409","1399824450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05dff4604b68bc8a29146065cfe84577.jpg","text":"TemporaryFile(/tmp/multipartBody7630016491285797021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998004512,"filename":"image_17122025_19_29_05_9846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e9430c773f1da640404b46e187f9d0b.jpg","text":"TemporaryFile(/tmp/multipartBody3323997457276406142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998004512,"filename":"image_17122025_19_29_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d219d438d9ba346e95dad9668bb8f7bb.jpg","text":"TemporaryFile(/tmp/multipartBody7763283900038953248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998004512,"filename":"image_17122025_19_29_55_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcf3f4c42bab2cb3287fdadb50d27025.jpg","text":"TemporaryFile(/tmp/multipartBody8779994813284096907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998004512,"filename":"image_17122025_19_29_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f77808a98bf560258d8177db90a5af5.jpg","text":"TemporaryFile(/tmp/multipartBody386523071834968762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998004512,"filename":"image_17122025_19_28_55_9950.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f8444fa9d9ed10bff6ede2071083b21.jpg","text":"TemporaryFile(/tmp/multipartBody2101833340682375847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998004512,"filename":"image_17122025_19_28_45_10729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399824331","file1":"1399824293","file0":"1399824248","file4":"1399824409","file5":"1399824450","file3":"1399824369"},"map_files_photo_id_array":[{"photo_id":"1399824450","filename":"file5"},{"photo_id":"1399824331","filename":"file2"},{"photo_id":"1399824409","filename":"file4"},{"photo_id":"1399824293","filename":"file1"},{"photo_id":"1399824248","filename":"file0"},{"photo_id":"1399824369","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399824331":["hashtag1","hashtag2"]},{"1399824409":["hashtag1","hashtag2"]},{"1399824450":["hashtag1","hashtag2"]},{"1399824369":["hashtag1","hashtag2"]},{"1399824293":["hashtag1","hashtag2"]},{"1399824248":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399824331, 1399824409, 1399824450, 1399824369, 1399824293, 1399824248)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59148406982422 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:00:02.967884
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/30/image_17122025_19_30_25_10663.jpg', '/home/pi/Desktop/images/17122025/19/30/image_17122025_19_30_34_9486.jpg', '/home/pi/Desktop/images/17122025/19/30/image_17122025_19_30_45_10718.jpg', '/home/pi/Desktop/images/17122025/19/30/image_17122025_19_30_55_9744.jpg', '/home/pi/Desktop/images/17122025/19/30/image_17122025_19_31_05_10238.jpg', '/home/pi/Desktop/images/17122025/19/31/image_17122025_19_31_24_9803.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/30/image_17122025_19_30_25_10663.jpg
/home/pi/Desktop/images/17122025/19/30/image_17122025_19_30_34_9486.jpg
/home/pi/Desktop/images/17122025/19/30/image_17122025_19_30_45_10718.jpg
/home/pi/Desktop/images/17122025/19/30/image_17122025_19_30_55_9744.jpg
/home/pi/Desktop/images/17122025/19/30/image_17122025_19_31_05_10238.jpg
/home/pi/Desktop/images/17122025/19/31/image_17122025_19_31_24_9803.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":["1399824556","1399824601","1399824507","1399824641","1399824515","1399824503"],"photo_ids_order":["1399824503","1399824507","1399824515","1399824556","1399824601","1399824641"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fe10cdb733b6ee156d9876d7059e1d2.jpg","text":"TemporaryFile(/tmp/multipartBody4157724927259459585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998064340,"filename":"image_17122025_19_30_55_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe7634cb8b59932a84fc074f8296c7bc.jpg","text":"TemporaryFile(/tmp/multipartBody6701371054717019523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998064340,"filename":"image_17122025_19_31_05_10238.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/229e068e593f57b979d799c0d294bfe3.jpg","text":"TemporaryFile(/tmp/multipartBody6847955743875874834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998064340,"filename":"image_17122025_19_30_34_9486.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e65450152e7a61535a2e8f65baa84ee7.jpg","text":"TemporaryFile(/tmp/multipartBody4962028090678008774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998064340,"filename":"image_17122025_19_31_24_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd66c418f6784ff62221bac430ec55d9.jpg","text":"TemporaryFile(/tmp/multipartBody5955889595355434847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998064340,"filename":"image_17122025_19_30_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7687029c44608e2ad4e453ed56993536.jpg","text":"TemporaryFile(/tmp/multipartBody6795990649220919590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998064340,"filename":"image_17122025_19_30_25_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399824515","file1":"1399824507","file0":"1399824503","file4":"1399824601","file5":"1399824641","file3":"1399824556"},"map_files_photo_id_array":[{"photo_id":"1399824641","filename":"file5"},{"photo_id":"1399824515","filename":"file2"},{"photo_id":"1399824601","filename":"file4"},{"photo_id":"1399824507","filename":"file1"},{"photo_id":"1399824503","filename":"file0"},{"photo_id":"1399824556","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399824556":["hashtag1","hashtag2"]},{"1399824601":["hashtag1","hashtag2"]},{"1399824507":["hashtag1","hashtag2"]},{"1399824641":["hashtag1","hashtag2"]},{"1399824515":["hashtag1","hashtag2"]},{"1399824503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399824556, 1399824601, 1399824507, 1399824641, 1399824515, 1399824503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.77718448638916 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:01:03.303881
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/31/image_17122025_19_31_35_10584.jpg', '/home/pi/Desktop/images/17122025/19/31/image_17122025_19_31_45_9651.jpg', '/home/pi/Desktop/images/17122025/19/31/image_17122025_19_31_54_9638.jpg', '/home/pi/Desktop/images/17122025/19/31/image_17122025_19_32_05_10659.jpg', '/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_15_9775.jpg', '/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_25_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/31/image_17122025_19_31_35_10584.jpg
/home/pi/Desktop/images/17122025/19/31/image_17122025_19_31_45_9651.jpg
/home/pi/Desktop/images/17122025/19/31/image_17122025_19_31_54_9638.jpg
/home/pi/Desktop/images/17122025/19/31/image_17122025_19_32_05_10659.jpg
/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_15_9775.jpg
/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_25_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":["1399825098","1399824946","1399825020","1399824896","1399825060","1399824982"],"photo_ids_order":["1399824896","1399824946","1399824982","1399825020","1399825060","1399825098"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63a72b97c7d4abddf841e7020655a5c8.jpg","text":"TemporaryFile(/tmp/multipartBody9120692208035416785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998124383,"filename":"image_17122025_19_32_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f914280d93898d6a3456777f7fb88b7c.jpg","text":"TemporaryFile(/tmp/multipartBody701765079074875631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998124383,"filename":"image_17122025_19_31_45_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56011b00674f49016821edb2a64e84cd.jpg","text":"TemporaryFile(/tmp/multipartBody4804018378895020595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998124383,"filename":"image_17122025_19_32_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a3ed983ff56333302e1adfe354b50334.jpg","text":"TemporaryFile(/tmp/multipartBody7113566049055818663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998124383,"filename":"image_17122025_19_31_35_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b526cbc7f8ec798d9e76deef90aa2439.jpg","text":"TemporaryFile(/tmp/multipartBody3195758625114398094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998124383,"filename":"image_17122025_19_32_15_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a815a1da58f3c28076da78a229e03c78.jpg","text":"TemporaryFile(/tmp/multipartBody9154769133600322458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998124383,"filename":"image_17122025_19_31_54_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399824982","file1":"1399824946","file0":"1399824896","file4":"1399825060","file5":"1399825098","file3":"1399825020"},"map_files_photo_id_array":[{"photo_id":"1399825098","filename":"file5"},{"photo_id":"1399824982","filename":"file2"},{"photo_id":"1399825060","filename":"file4"},{"photo_id":"1399824946","filename":"file1"},{"photo_id":"1399824896","filename":"file0"},{"photo_id":"1399825020","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399825098":["hashtag1","hashtag2"]},{"1399824946":["hashtag1","hashtag2"]},{"1399825020":["hashtag1","hashtag2"]},{"1399824896":["hashtag1","hashtag2"]},{"1399825060":["hashtag1","hashtag2"]},{"1399824982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399825098, 1399824946, 1399825020, 1399824896, 1399825060, 1399824982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.43838715553284 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:01:42.723178
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_43_1636.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_44_1543.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_49_1674.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_51_1596.jpg', '/home/pi/Desktop/images/07112025/21/12/image_07112025_21_13_00_3057.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_06_2715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_43_1636.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_44_1543.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_49_1674.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_12_51_1596.jpg
/home/pi/Desktop/images/07112025/21/12/image_07112025_21_13_00_3057.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_06_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":["1399825383","1399825308","1399825236","1399825419","1399825343","1399825273"],"photo_ids_order":["1399825236","1399825273","1399825308","1399825343","1399825383","1399825419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ba58f17d5fc0a880f891445de04d7bb.jpg","text":"TemporaryFile(/tmp/multipartBody175030178648170657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998165737,"filename":"image_07112025_21_13_00_3057.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13b2648801bee2d35ab6a9a2d04f3d5b.jpg","text":"TemporaryFile(/tmp/multipartBody8386014112652395721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998165737,"filename":"image_07112025_21_12_49_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3df4fb8a3f6fa6358f3c98514630ad3a.jpg","text":"TemporaryFile(/tmp/multipartBody6955330343510118706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998165737,"filename":"image_07112025_21_12_43_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/966238549ab0fc54981f9055e5c1e186.jpg","text":"TemporaryFile(/tmp/multipartBody8451371957731215477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998165737,"filename":"image_07112025_21_13_06_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/649e26f363754304d9dbece9d1981c3f.jpg","text":"TemporaryFile(/tmp/multipartBody2230767791745058343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998165737,"filename":"image_07112025_21_12_51_1596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/879a267fe3914e943b845c76ce117f09.jpg","text":"TemporaryFile(/tmp/multipartBody4978531625814863982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998165737,"filename":"image_07112025_21_12_44_1543.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399825308","file1":"1399825273","file0":"1399825236","file4":"1399825383","file5":"1399825419","file3":"1399825343"},"map_files_photo_id_array":[{"photo_id":"1399825419","filename":"file5"},{"photo_id":"1399825308","filename":"file2"},{"photo_id":"1399825383","filename":"file4"},{"photo_id":"1399825273","filename":"file1"},{"photo_id":"1399825236","filename":"file0"},{"photo_id":"1399825343","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399825383":["hashtag1","hashtag2"]},{"1399825308":["hashtag1","hashtag2"]},{"1399825236":["hashtag1","hashtag2"]},{"1399825419":["hashtag1","hashtag2"]},{"1399825343":["hashtag1","hashtag2"]},{"1399825273":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399825383, 1399825308, 1399825236, 1399825419, 1399825343, 1399825273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.876850605010986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:02:31.965083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:02:41.902133
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_09_2799.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_18_1684.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_26_7275.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_29_1701.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_33_4666.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_35_1752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_09_2799.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_18_1684.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_26_7275.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_29_1701.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_33_4666.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_35_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":["1399825636","1399825641","1399825644","1399825646","1399825658","1399825639"],"photo_ids_order":["1399825636","1399825639","1399825641","1399825644","1399825646","1399825658"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9bb57389651aa5295bdd364dbf833dd.jpg","text":"TemporaryFile(/tmp/multipartBody3722221293710714803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998223424,"filename":"image_07112025_21_13_09_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c47b33bc4c9f074d47e98745f5cd7bc.jpg","text":"TemporaryFile(/tmp/multipartBody3531730795523381480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998223424,"filename":"image_07112025_21_13_26_7275.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79ccb314b93f5d0146e1f2d13c103479.jpg","text":"TemporaryFile(/tmp/multipartBody7416920438524841734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998223424,"filename":"image_07112025_21_13_29_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91a979f37dc3681eb2fb48f97b6aa90a.jpg","text":"TemporaryFile(/tmp/multipartBody2391015231920283965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998223424,"filename":"image_07112025_21_13_33_4666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea89f92805db10c6a9227bb2e4f3d46f.jpg","text":"TemporaryFile(/tmp/multipartBody3980162639632436354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998223424,"filename":"image_07112025_21_13_35_1752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7c3a430a94af934736575ac4f9ba93e.jpg","text":"TemporaryFile(/tmp/multipartBody1686619187262709897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998223424,"filename":"image_07112025_21_13_18_1684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399825641","file1":"1399825639","file0":"1399825636","file4":"1399825646","file5":"1399825658","file3":"1399825644"},"map_files_photo_id_array":[{"photo_id":"1399825658","filename":"file5"},{"photo_id":"1399825641","filename":"file2"},{"photo_id":"1399825646","filename":"file4"},{"photo_id":"1399825639","filename":"file1"},{"photo_id":"1399825636","filename":"file0"},{"photo_id":"1399825644","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399825636":["hashtag1","hashtag2"]},{"1399825641":["hashtag1","hashtag2"]},{"1399825644":["hashtag1","hashtag2"]},{"1399825646":["hashtag1","hashtag2"]},{"1399825658":["hashtag1","hashtag2"]},{"1399825639":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399825636, 1399825641, 1399825644, 1399825646, 1399825658, 1399825639)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.34815168380737 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:03:32.127994
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:03:42.066960
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_50_3376.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_52_1555.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_53_1671.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_58_1642.jpg', '/home/pi/Desktop/images/07112025/21/13/image_07112025_21_14_00_1620.jpg', '/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_02_1632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_50_3376.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_52_1555.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_53_1671.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_13_58_1642.jpg
/home/pi/Desktop/images/07112025/21/13/image_07112025_21_14_00_1620.jpg
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_02_1632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399825947","1399825880","1399825874","1399825937","1399825916","1399825993"],"photo_ids_order":["1399825874","1399825880","1399825916","1399825937","1399825947","1399825993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60ce2dafcb7cae382b72a28675dfa6ae.jpg","text":"TemporaryFile(/tmp/multipartBody6638009991573084209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998283369,"filename":"image_07112025_21_14_00_1620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5578eabb985a711c5fa3ce847a058b17.jpg","text":"TemporaryFile(/tmp/multipartBody3926732467562394838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998283369,"filename":"image_07112025_21_13_52_1555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e751a0a6b54be50064e4eb6e11a3923.jpg","text":"TemporaryFile(/tmp/multipartBody7996455380303924768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998283369,"filename":"image_07112025_21_13_50_3376.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/882703415c3013d835e21adc3f1c2d55.jpg","text":"TemporaryFile(/tmp/multipartBody1417997166347809025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998283369,"filename":"image_07112025_21_13_58_1642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f20f27a55c497709bc71d07b9a626690.jpg","text":"TemporaryFile(/tmp/multipartBody4116702704128630504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998283369,"filename":"image_07112025_21_13_53_1671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4de210d672c2ff243aeb30410371d747.jpg","text":"TemporaryFile(/tmp/multipartBody2474349557280768418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998283369,"filename":"image_07112025_21_14_02_1632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399825916","file1":"1399825880","file0":"1399825874","file4":"1399825947","file5":"1399825993","file3":"1399825937"},"map_files_photo_id_array":[{"photo_id":"1399825993","filename":"file5"},{"photo_id":"1399825916","filename":"file2"},{"photo_id":"1399825947","filename":"file4"},{"photo_id":"1399825880","filename":"file1"},{"photo_id":"1399825874","filename":"file0"},{"photo_id":"1399825937","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399825947":["hashtag1","hashtag2"]},{"1399825880":["hashtag1","hashtag2"]},{"1399825874":["hashtag1","hashtag2"]},{"1399825937":["hashtag1","hashtag2"]},{"1399825916":["hashtag1","hashtag2"]},{"1399825993":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399825947, 1399825880, 1399825874, 1399825937, 1399825916, 1399825993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.40925669670105 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:04:32.440294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:04:42.359474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_03_1633.jpg', '/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_18_12171.jpg', '/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_20_1651.jpg', '/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_24_1751.jpg', '/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_27_1731.jpg', '/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_31_2262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_03_1633.jpg
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_18_12171.jpg
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_20_1651.jpg
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_24_1751.jpg
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_27_1731.jpg
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_31_2262.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826046","1399826061","1399826063","1399826057","1399826066","1399826062"],"photo_ids_order":["1399826046","1399826057","1399826061","1399826062","1399826063","1399826066"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57a66b86365bc3d9a0d0abbf83ce8f10.jpg","text":"TemporaryFile(/tmp/multipartBody5642652716119945050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998343832,"filename":"image_07112025_21_14_03_1633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f40db96960cd32cc54478fa97026d4f.jpg","text":"TemporaryFile(/tmp/multipartBody6362445053302291172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998343832,"filename":"image_07112025_21_14_20_1651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e041e03e2af0c229870d60dcf4ef5287.jpg","text":"TemporaryFile(/tmp/multipartBody1107462260662061541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998343832,"filename":"image_07112025_21_14_27_1731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a58b0dde56b7f2a9b65301d9cd05a2f.jpg","text":"TemporaryFile(/tmp/multipartBody1465662809489705705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998343832,"filename":"image_07112025_21_14_18_12171.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95f354295ab4e466620613ce83bf15df.jpg","text":"TemporaryFile(/tmp/multipartBody3679347848542708781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998343832,"filename":"image_07112025_21_14_31_2262.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/915b26f6cd152a2f9706824a4c9b5bb7.jpg","text":"TemporaryFile(/tmp/multipartBody4722348950296693087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998343832,"filename":"image_07112025_21_14_24_1751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826061","file1":"1399826057","file0":"1399826046","file4":"1399826063","file5":"1399826066","file3":"1399826062"},"map_files_photo_id_array":[{"photo_id":"1399826066","filename":"file5"},{"photo_id":"1399826061","filename":"file2"},{"photo_id":"1399826063","filename":"file4"},{"photo_id":"1399826057","filename":"file1"},{"photo_id":"1399826046","filename":"file0"},{"photo_id":"1399826062","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399826046":["hashtag1","hashtag2"]},{"1399826061":["hashtag1","hashtag2"]},{"1399826063":["hashtag1","hashtag2"]},{"1399826057":["hashtag1","hashtag2"]},{"1399826066":["hashtag1","hashtag2"]},{"1399826062":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399826046, 1399826061, 1399826063, 1399826057, 1399826066, 1399826062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32033944129944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:05:32.634288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:05:42.557672
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_32_1634.jpg', '/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_35_2606.jpg', '/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_56_2625.jpg', '/home/pi/Desktop/images/07112025/21/14/image_07112025_21_15_00_3794.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_03_2754.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_05_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_32_1634.jpg
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_35_2606.jpg
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_14_56_2625.jpg
/home/pi/Desktop/images/07112025/21/14/image_07112025_21_15_00_3794.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_03_2754.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_05_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826085","1399826090","1399826086","1399826077","1399826088","1399826082"],"photo_ids_order":["1399826077","1399826082","1399826085","1399826086","1399826088","1399826090"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa44f59f8ed9a39cbb21542ef7d7dfb4.jpg","text":"TemporaryFile(/tmp/multipartBody602715584095739533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998404018,"filename":"image_07112025_21_14_56_2625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/251eb3239f80114912c351c317544d6f.jpg","text":"TemporaryFile(/tmp/multipartBody6477000204654831975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998404018,"filename":"image_07112025_21_15_05_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e21189d5199e31403f12d50c3d6962fe.jpg","text":"TemporaryFile(/tmp/multipartBody2674086834089933243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998404018,"filename":"image_07112025_21_15_00_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/560c501ed27a40aa0381c43256e3c16c.jpg","text":"TemporaryFile(/tmp/multipartBody138811527037136065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998404018,"filename":"image_07112025_21_14_32_1634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cec1e6297276b02d9be924442c17bbde.jpg","text":"TemporaryFile(/tmp/multipartBody7223593785575469367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998404018,"filename":"image_07112025_21_15_03_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/789f5e60bcb53caf023aa1cf047bbb76.jpg","text":"TemporaryFile(/tmp/multipartBody5347353150568297770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998404018,"filename":"image_07112025_21_14_35_2606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826085","file1":"1399826082","file0":"1399826077","file4":"1399826088","file5":"1399826090","file3":"1399826086"},"map_files_photo_id_array":[{"photo_id":"1399826090","filename":"file5"},{"photo_id":"1399826085","filename":"file2"},{"photo_id":"1399826088","filename":"file4"},{"photo_id":"1399826082","filename":"file1"},{"photo_id":"1399826077","filename":"file0"},{"photo_id":"1399826086","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399826085":["hashtag1","hashtag2"]},{"1399826090":["hashtag1","hashtag2"]},{"1399826086":["hashtag1","hashtag2"]},{"1399826077":["hashtag1","hashtag2"]},{"1399826088":["hashtag1","hashtag2"]},{"1399826082":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399826085, 1399826090, 1399826086, 1399826077, 1399826088, 1399826082)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.89118933677673 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:06:31.849554
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:06:41.821038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_08_2755.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_14_2690.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_17_2628.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_21_3823.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_24_2816.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_26_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_08_2755.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_14_2690.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_17_2628.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_21_3823.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_24_2816.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_26_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: 0.9080493450164795 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:07:02.621717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_34_9626.jpg', '/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_45_10991.jpg', '/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_55_9815.jpg', '/home/pi/Desktop/images/17122025/19/32/image_17122025_19_33_05_9693.jpg', '/home/pi/Desktop/images/17122025/19/33/image_17122025_19_33_24_9774.jpg', '/home/pi/Desktop/images/17122025/19/33/image_17122025_19_33_35_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_34_9626.jpg
/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_45_10991.jpg
/home/pi/Desktop/images/17122025/19/32/image_17122025_19_32_55_9815.jpg
/home/pi/Desktop/images/17122025/19/32/image_17122025_19_33_05_9693.jpg
/home/pi/Desktop/images/17122025/19/33/image_17122025_19_33_24_9774.jpg
/home/pi/Desktop/images/17122025/19/33/image_17122025_19_33_35_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":["1399826109","1399826106","1399826111","1399826108","1399826104","1399826107"],"photo_ids_order":["1399826104","1399826106","1399826107","1399826108","1399826109","1399826111"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18e5f036f6c5ed4426dfc341b7606469.jpg","text":"TemporaryFile(/tmp/multipartBody6845013155173260849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998483564,"filename":"image_17122025_19_33_24_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cf53802f839bd6dba2800cd167d2b45.jpg","text":"TemporaryFile(/tmp/multipartBody3877444873303772031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998483564,"filename":"image_17122025_19_32_45_10991.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/888f9b268d4bfd80341a150a1674ca4e.jpg","text":"TemporaryFile(/tmp/multipartBody5133149486862293623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998483564,"filename":"image_17122025_19_33_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b35185cf512da598c9c72430ee14078.jpg","text":"TemporaryFile(/tmp/multipartBody4658584123464791507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998483564,"filename":"image_17122025_19_33_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/241fe27d5e3618aadd47a7e2eabd686d.jpg","text":"TemporaryFile(/tmp/multipartBody5214696909497499659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998483564,"filename":"image_17122025_19_32_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/233015a28d821b3940e2c6c1cde8ddd8.jpg","text":"TemporaryFile(/tmp/multipartBody2353405685132171919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998483564,"filename":"image_17122025_19_32_55_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826107","file1":"1399826106","file0":"1399826104","file4":"1399826109","file5":"1399826111","file3":"1399826108"},"map_files_photo_id_array":[{"photo_id":"1399826111","filename":"file5"},{"photo_id":"1399826107","filename":"file2"},{"photo_id":"1399826109","filename":"file4"},{"photo_id":"1399826106","filename":"file1"},{"photo_id":"1399826104","filename":"file0"},{"photo_id":"1399826108","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826109":["hashtag1","hashtag2"]},{"1399826106":["hashtag1","hashtag2"]},{"1399826111":["hashtag1","hashtag2"]},{"1399826108":["hashtag1","hashtag2"]},{"1399826104":["hashtag1","hashtag2"]},{"1399826107":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826109, 1399826106, 1399826111, 1399826108, 1399826104, 1399826107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27569317817688 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:07:42.071426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_08_2755.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_14_2690.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_17_2628.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_21_3823.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_24_2816.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_26_2756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_08_2755.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_14_2690.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_17_2628.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_21_3823.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_24_2816.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_26_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":["1399826127","1399826118","1399826120","1399826116","1399826125","1399826119"],"photo_ids_order":["1399826116","1399826118","1399826119","1399826120","1399826125","1399826127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22112367423d40d3a9e846bf7eeaa245.jpg","text":"TemporaryFile(/tmp/multipartBody1040218547762315513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998522933,"filename":"image_07112025_21_15_26_2756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20ba9bd3150547bd5f16a3e326759158.jpg","text":"TemporaryFile(/tmp/multipartBody3485408885620002725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998522933,"filename":"image_07112025_21_15_14_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3b8f6a378354650d277e424f891a0ad.jpg","text":"TemporaryFile(/tmp/multipartBody66305222252245344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998522933,"filename":"image_07112025_21_15_21_3823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6665b6fdb5319f9b685ebf63a360e208.jpg","text":"TemporaryFile(/tmp/multipartBody2677154229369178637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998522933,"filename":"image_07112025_21_15_08_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d278ec7b85bcacca50167e8e7aeecfa.jpg","text":"TemporaryFile(/tmp/multipartBody6594873889894849145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998522933,"filename":"image_07112025_21_15_24_2816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5afb4e04102538a0dc8a9da508031835.jpg","text":"TemporaryFile(/tmp/multipartBody5314777195314583964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998522933,"filename":"image_07112025_21_15_17_2628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826119","file1":"1399826118","file0":"1399826116","file4":"1399826125","file5":"1399826127","file3":"1399826120"},"map_files_photo_id_array":[{"photo_id":"1399826127","filename":"file5"},{"photo_id":"1399826119","filename":"file2"},{"photo_id":"1399826125","filename":"file4"},{"photo_id":"1399826118","filename":"file1"},{"photo_id":"1399826116","filename":"file0"},{"photo_id":"1399826120","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399826127":["hashtag1","hashtag2"]},{"1399826118":["hashtag1","hashtag2"]},{"1399826120":["hashtag1","hashtag2"]},{"1399826116":["hashtag1","hashtag2"]},{"1399826125":["hashtag1","hashtag2"]},{"1399826119":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399826127, 1399826118, 1399826120, 1399826116, 1399826125, 1399826119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.48533248901367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:08:22.366794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/33/image_17122025_19_33_45_9680.jpg', '/home/pi/Desktop/images/17122025/19/33/image_17122025_19_33_54_9757.jpg', '/home/pi/Desktop/images/17122025/19/33/image_17122025_19_34_05_10712.jpg', '/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_15_9747.jpg', '/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_25_9819.jpg', '/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_35_9952.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/33/image_17122025_19_33_45_9680.jpg
/home/pi/Desktop/images/17122025/19/33/image_17122025_19_33_54_9757.jpg
/home/pi/Desktop/images/17122025/19/33/image_17122025_19_34_05_10712.jpg
/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_15_9747.jpg
/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_25_9819.jpg
/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_35_9952.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826130","1399826136","1399826138","1399826146","1399826140","1399826134"],"photo_ids_order":["1399826130","1399826134","1399826136","1399826138","1399826140","1399826146"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9012858e2754c39bb7bdc6ba56850f02.jpg","text":"TemporaryFile(/tmp/multipartBody1572593212872739426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998563344,"filename":"image_17122025_19_33_45_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0fc73b13cfee1c6721d36cc5e17487e3.jpg","text":"TemporaryFile(/tmp/multipartBody8967647324298224544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998563344,"filename":"image_17122025_19_34_05_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/414b832359a1bfb3816104e26ce408e9.jpg","text":"TemporaryFile(/tmp/multipartBody512922609290547796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998563344,"filename":"image_17122025_19_34_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a3501d68950e1cf0083fba335a50902.jpg","text":"TemporaryFile(/tmp/multipartBody5876843033675059897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998563344,"filename":"image_17122025_19_34_35_9952.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac453e6ca102e247341889802739f074.jpg","text":"TemporaryFile(/tmp/multipartBody4395737861280899618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998563344,"filename":"image_17122025_19_34_25_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df7a8c763a22ed037dfb0b1d37b8040a.jpg","text":"TemporaryFile(/tmp/multipartBody7126811113696149514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998563344,"filename":"image_17122025_19_33_54_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826136","file1":"1399826134","file0":"1399826130","file4":"1399826140","file5":"1399826146","file3":"1399826138"},"map_files_photo_id_array":[{"photo_id":"1399826146","filename":"file5"},{"photo_id":"1399826136","filename":"file2"},{"photo_id":"1399826140","filename":"file4"},{"photo_id":"1399826134","filename":"file1"},{"photo_id":"1399826130","filename":"file0"},{"photo_id":"1399826138","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826130":["hashtag1","hashtag2"]},{"1399826136":["hashtag1","hashtag2"]},{"1399826138":["hashtag1","hashtag2"]},{"1399826146":["hashtag1","hashtag2"]},{"1399826140":["hashtag1","hashtag2"]},{"1399826134":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826130, 1399826136, 1399826138, 1399826146, 1399826140, 1399826134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.789849042892456 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:09:03.577056
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_44_9821.jpg', '/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_54_9787.jpg', '/home/pi/Desktop/images/17122025/19/35/image_17122025_19_35_15_9640.jpg', '/home/pi/Desktop/images/17122025/19/35/image_17122025_19_35_24_9601.jpg', '/home/pi/Desktop/images/17122025/19/35/image_17122025_19_35_35_10539.jpg', '/home/pi/Desktop/images/17122025/19/35/image_17122025_19_35_55_10186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_44_9821.jpg
/home/pi/Desktop/images/17122025/19/34/image_17122025_19_34_54_9787.jpg
/home/pi/Desktop/images/17122025/19/35/image_17122025_19_35_15_9640.jpg
/home/pi/Desktop/images/17122025/19/35/image_17122025_19_35_24_9601.jpg
/home/pi/Desktop/images/17122025/19/35/image_17122025_19_35_35_10539.jpg
/home/pi/Desktop/images/17122025/19/35/image_17122025_19_35_55_10186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826151","1399826171","1399826153","1399826164","1399826155","1399826169"],"photo_ids_order":["1399826151","1399826153","1399826155","1399826164","1399826169","1399826171"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffb26ee6e4fe6a5467fbd81cfde759cf.jpg","text":"TemporaryFile(/tmp/multipartBody5777728030733167902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998604610,"filename":"image_17122025_19_34_44_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75e151302e5d1636ff8c1787b009ffcb.jpg","text":"TemporaryFile(/tmp/multipartBody5766226520235541444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998604610,"filename":"image_17122025_19_35_55_10186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a352d0e0e9f1d07b9c9b5ef2e7a6ba71.jpg","text":"TemporaryFile(/tmp/multipartBody3117945685007964205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998604610,"filename":"image_17122025_19_34_54_9787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffc8cd0f60d10a83e2dee8e2dcfb222c.jpg","text":"TemporaryFile(/tmp/multipartBody8950634784201409524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998604610,"filename":"image_17122025_19_35_24_9601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd5a695bddb0956f9daaaf88d811505a.jpg","text":"TemporaryFile(/tmp/multipartBody5148192770129728937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998604610,"filename":"image_17122025_19_35_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5d8e996778c546fc8109e37e79dca14.jpg","text":"TemporaryFile(/tmp/multipartBody2299057192860805588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998604610,"filename":"image_17122025_19_35_35_10539.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826155","file1":"1399826153","file0":"1399826151","file4":"1399826169","file5":"1399826171","file3":"1399826164"},"map_files_photo_id_array":[{"photo_id":"1399826171","filename":"file5"},{"photo_id":"1399826155","filename":"file2"},{"photo_id":"1399826169","filename":"file4"},{"photo_id":"1399826153","filename":"file1"},{"photo_id":"1399826151","filename":"file0"},{"photo_id":"1399826164","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826151":["hashtag1","hashtag2"]},{"1399826171":["hashtag1","hashtag2"]},{"1399826153":["hashtag1","hashtag2"]},{"1399826164":["hashtag1","hashtag2"]},{"1399826155":["hashtag1","hashtag2"]},{"1399826169":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826151, 1399826171, 1399826153, 1399826164, 1399826155, 1399826169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65528583526611 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:09:42.495215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_33_3599.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_38_2646.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_42_3667.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_44_2702.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_53_2697.jpg', '/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_56_2557.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_33_3599.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_38_2646.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_42_3667.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_44_2702.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_53_2697.jpg
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_15_56_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":["1399826208","1399826210","1399826204","1399826207","1399826209","1399826193"],"photo_ids_order":["1399826193","1399826204","1399826207","1399826208","1399826209","1399826210"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/72d93a7737436f61bdf9c8efb41819cd.jpg","text":"TemporaryFile(/tmp/multipartBody5497528494307982886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998643542,"filename":"image_07112025_21_15_44_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b62284882f7c82cf2f1f4a52e608a64.jpg","text":"TemporaryFile(/tmp/multipartBody6287949247331313835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998643542,"filename":"image_07112025_21_15_56_2557.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5ec87d872a65e2b0845d890aecd9d03.jpg","text":"TemporaryFile(/tmp/multipartBody6676141063504875908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998643542,"filename":"image_07112025_21_15_38_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e10fa65d7f999379e44cef946518bde8.jpg","text":"TemporaryFile(/tmp/multipartBody4898953634506433939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998643542,"filename":"image_07112025_21_15_42_3667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8f8e13422758bab1b48403c121869d7.jpg","text":"TemporaryFile(/tmp/multipartBody2701744905490240826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998643542,"filename":"image_07112025_21_15_53_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4f34d870869da4174f012c44b66a649c.jpg","text":"TemporaryFile(/tmp/multipartBody4941991552079726395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998643542,"filename":"image_07112025_21_15_33_3599.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826207","file1":"1399826204","file0":"1399826193","file4":"1399826209","file5":"1399826210","file3":"1399826208"},"map_files_photo_id_array":[{"photo_id":"1399826210","filename":"file5"},{"photo_id":"1399826207","filename":"file2"},{"photo_id":"1399826209","filename":"file4"},{"photo_id":"1399826204","filename":"file1"},{"photo_id":"1399826193","filename":"file0"},{"photo_id":"1399826208","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399826208":["hashtag1","hashtag2"]},{"1399826210":["hashtag1","hashtag2"]},{"1399826204":["hashtag1","hashtag2"]},{"1399826207":["hashtag1","hashtag2"]},{"1399826209":["hashtag1","hashtag2"]},{"1399826193":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399826208, 1399826210, 1399826204, 1399826207, 1399826209, 1399826193)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.77117705345154 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:10:22.686426
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/36/image_17122025_19_36_14_9791.jpg', '/home/pi/Desktop/images/17122025/19/36/image_17122025_19_36_25_10779.jpg', '/home/pi/Desktop/images/17122025/19/36/image_17122025_19_36_44_9643.jpg', '/home/pi/Desktop/images/17122025/19/37/image_17122025_19_37_24_9663.jpg', '/home/pi/Desktop/images/17122025/19/37/image_17122025_19_37_35_10660.jpg', '/home/pi/Desktop/images/17122025/19/37/image_17122025_19_37_44_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/36/image_17122025_19_36_14_9791.jpg
/home/pi/Desktop/images/17122025/19/36/image_17122025_19_36_25_10779.jpg
/home/pi/Desktop/images/17122025/19/36/image_17122025_19_36_44_9643.jpg
/home/pi/Desktop/images/17122025/19/37/image_17122025_19_37_24_9663.jpg
/home/pi/Desktop/images/17122025/19/37/image_17122025_19_37_35_10660.jpg
/home/pi/Desktop/images/17122025/19/37/image_17122025_19_37_44_9680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826301","1399826288","1399826273","1399826216","1399826254","1399826280"],"photo_ids_order":["1399826216","1399826254","1399826273","1399826280","1399826288","1399826301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/347110eb4ac8cfd8712da553a8de3243.jpg","text":"TemporaryFile(/tmp/multipartBody889253019854790872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998683650,"filename":"image_17122025_19_37_44_9680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/432f776e20ae672b45f0a679eeb6cfee.jpg","text":"TemporaryFile(/tmp/multipartBody6698107988991313489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998683650,"filename":"image_17122025_19_37_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/346783f731259de1491077494f3a0a58.jpg","text":"TemporaryFile(/tmp/multipartBody6833322953709028860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998683650,"filename":"image_17122025_19_36_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/979b6130dfdd1f01972b8024b4a8e975.jpg","text":"TemporaryFile(/tmp/multipartBody2607032096561673799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998683650,"filename":"image_17122025_19_36_14_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a398bba9fe984ad553f4cc3c4ec097ff.jpg","text":"TemporaryFile(/tmp/multipartBody7966840130916203449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998683650,"filename":"image_17122025_19_36_25_10779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a67456cc84f0f9b291b4eeb7c616d5d6.jpg","text":"TemporaryFile(/tmp/multipartBody2298674693930754980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998683650,"filename":"image_17122025_19_37_24_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826273","file1":"1399826254","file0":"1399826216","file4":"1399826288","file5":"1399826301","file3":"1399826280"},"map_files_photo_id_array":[{"photo_id":"1399826301","filename":"file5"},{"photo_id":"1399826273","filename":"file2"},{"photo_id":"1399826288","filename":"file4"},{"photo_id":"1399826254","filename":"file1"},{"photo_id":"1399826216","filename":"file0"},{"photo_id":"1399826280","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826301":["hashtag1","hashtag2"]},{"1399826288":["hashtag1","hashtag2"]},{"1399826273":["hashtag1","hashtag2"]},{"1399826216":["hashtag1","hashtag2"]},{"1399826254":["hashtag1","hashtag2"]},{"1399826280":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826301, 1399826288, 1399826273, 1399826216, 1399826254, 1399826280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.01439619064331 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:11:02.550729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/37/image_17122025_19_38_05_10687.jpg', '/home/pi/Desktop/images/17122025/19/38/image_17122025_19_38_15_9671.jpg', '/home/pi/Desktop/images/17122025/19/38/image_17122025_19_38_24_9733.jpg', '/home/pi/Desktop/images/17122025/19/38/image_17122025_19_38_54_9555.jpg', '/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_24_9579.jpg', '/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_35_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/37/image_17122025_19_38_05_10687.jpg
/home/pi/Desktop/images/17122025/19/38/image_17122025_19_38_15_9671.jpg
/home/pi/Desktop/images/17122025/19/38/image_17122025_19_38_24_9733.jpg
/home/pi/Desktop/images/17122025/19/38/image_17122025_19_38_54_9555.jpg
/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_24_9579.jpg
/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_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":["1399826310","1399826304","1399826324","1399826306","1399826308","1399826302"],"photo_ids_order":["1399826302","1399826304","1399826306","1399826308","1399826310","1399826324"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/695af0d7fac935d2453236adb794cf47.jpg","text":"TemporaryFile(/tmp/multipartBody5129850254776782646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998723480,"filename":"image_17122025_19_39_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99912f9543ddc002e59770a9c54ff1dd.jpg","text":"TemporaryFile(/tmp/multipartBody1914274166601301285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998723480,"filename":"image_17122025_19_38_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04ad0df2666010a1dc52d506444e9452.jpg","text":"TemporaryFile(/tmp/multipartBody7467997531973592660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998723480,"filename":"image_17122025_19_39_35_10616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5255469480a07808e24a74c15fe8a27.jpg","text":"TemporaryFile(/tmp/multipartBody3286071986902018605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998723480,"filename":"image_17122025_19_38_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/44cc4bae4b9f0c5eee9f3b0fdf14f416.jpg","text":"TemporaryFile(/tmp/multipartBody2592573261442692758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998723480,"filename":"image_17122025_19_38_54_9555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4a8ffe04d75457d7ee9b7ad8ecd85bc.jpg","text":"TemporaryFile(/tmp/multipartBody3204264837039617259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998723480,"filename":"image_17122025_19_38_05_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826306","file1":"1399826304","file0":"1399826302","file4":"1399826310","file5":"1399826324","file3":"1399826308"},"map_files_photo_id_array":[{"photo_id":"1399826324","filename":"file5"},{"photo_id":"1399826306","filename":"file2"},{"photo_id":"1399826310","filename":"file4"},{"photo_id":"1399826304","filename":"file1"},{"photo_id":"1399826302","filename":"file0"},{"photo_id":"1399826308","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826310":["hashtag1","hashtag2"]},{"1399826304":["hashtag1","hashtag2"]},{"1399826324":["hashtag1","hashtag2"]},{"1399826306":["hashtag1","hashtag2"]},{"1399826308":["hashtag1","hashtag2"]},{"1399826302":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826310, 1399826304, 1399826324, 1399826306, 1399826308, 1399826302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.22765612602234 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:11:41.999335
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/15/image_07112025_21_16_00_3629.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_05_2834.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_08_2699.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_11_3623.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_20_2667.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_26_2654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/15/image_07112025_21_16_00_3629.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_05_2834.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_08_2699.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_11_3623.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_20_2667.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_26_2654.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826415","1399826435","1399826426","1399826437","1399826431","1399826425"],"photo_ids_order":["1399826415","1399826425","1399826426","1399826431","1399826435","1399826437"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6acdbc27e54cb136e2c404e1394b9a8.jpg","text":"TemporaryFile(/tmp/multipartBody6031258969440865598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998763028,"filename":"image_07112025_21_16_00_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46e23f1cb8ff548a0fd794434de3439b.jpg","text":"TemporaryFile(/tmp/multipartBody1444039073462533390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998763028,"filename":"image_07112025_21_16_20_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e749f1227a4893fef1e294808b482038.jpg","text":"TemporaryFile(/tmp/multipartBody3496382173074351628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998763028,"filename":"image_07112025_21_16_08_2699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55542cc27415678cddace92bcfb53121.jpg","text":"TemporaryFile(/tmp/multipartBody7038386046215138126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998763028,"filename":"image_07112025_21_16_26_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67abc7fa2422345506747239ab9196bd.jpg","text":"TemporaryFile(/tmp/multipartBody3583979672166238818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998763028,"filename":"image_07112025_21_16_11_3623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58bb0715901359d1e21915e7fb5fd982.jpg","text":"TemporaryFile(/tmp/multipartBody2611618725590097920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998763028,"filename":"image_07112025_21_16_05_2834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826426","file1":"1399826425","file0":"1399826415","file4":"1399826435","file5":"1399826437","file3":"1399826431"},"map_files_photo_id_array":[{"photo_id":"1399826437","filename":"file5"},{"photo_id":"1399826426","filename":"file2"},{"photo_id":"1399826435","filename":"file4"},{"photo_id":"1399826425","filename":"file1"},{"photo_id":"1399826415","filename":"file0"},{"photo_id":"1399826431","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399826415":["hashtag1","hashtag2"]},{"1399826435":["hashtag1","hashtag2"]},{"1399826426":["hashtag1","hashtag2"]},{"1399826437":["hashtag1","hashtag2"]},{"1399826431":["hashtag1","hashtag2"]},{"1399826425":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399826415, 1399826435, 1399826426, 1399826437, 1399826431, 1399826425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97984218597412 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:12:22.248165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_45_9733.jpg', '/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_55_9803.jpg', '/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_15_10934.jpg', '/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_25_9577.jpg', '/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_35_10111.jpg', '/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_44_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_45_9733.jpg
/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_55_9803.jpg
/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_15_10934.jpg
/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_25_9577.jpg
/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_35_10111.jpg
/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_44_9657.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.8425946235656738 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:12:32.237271
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:12:42.228446
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_32_2691.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_35_2844.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_39_3587.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_41_2561.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_44_2592.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_48_3702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_32_2691.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_35_2844.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_39_3587.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_41_2561.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_44_2592.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_48_3702.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826460","1399826465","1399826468","1399826462","1399826476","1399826464"],"photo_ids_order":["1399826460","1399826462","1399826464","1399826465","1399826468","1399826476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac9909d3e4b4cd4cb1a04885b0fc487e.jpg","text":"TemporaryFile(/tmp/multipartBody6606000072468581001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998823281,"filename":"image_07112025_21_16_32_2691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f61b32c232527a1b8bc3dee6b7ad69d.jpg","text":"TemporaryFile(/tmp/multipartBody4081810953835967503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998823281,"filename":"image_07112025_21_16_41_2561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ce1855de84d7bc930c123ffc50856cb.jpg","text":"TemporaryFile(/tmp/multipartBody6944584668611871838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998823281,"filename":"image_07112025_21_16_44_2592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad0ba939e8798e495b2da8e026de1d08.jpg","text":"TemporaryFile(/tmp/multipartBody2165343181618570949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998823281,"filename":"image_07112025_21_16_35_2844.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa360dc179b1e486df33540468e7b3c0.jpg","text":"TemporaryFile(/tmp/multipartBody6501810342551819283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998823281,"filename":"image_07112025_21_16_48_3702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dbf5aa273f2a3293e92e2a8dc57bad89.jpg","text":"TemporaryFile(/tmp/multipartBody45342667737277768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998823281,"filename":"image_07112025_21_16_39_3587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826464","file1":"1399826462","file0":"1399826460","file4":"1399826468","file5":"1399826476","file3":"1399826465"},"map_files_photo_id_array":[{"photo_id":"1399826476","filename":"file5"},{"photo_id":"1399826464","filename":"file2"},{"photo_id":"1399826468","filename":"file4"},{"photo_id":"1399826462","filename":"file1"},{"photo_id":"1399826460","filename":"file0"},{"photo_id":"1399826465","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399826460":["hashtag1","hashtag2"]},{"1399826465":["hashtag1","hashtag2"]},{"1399826468":["hashtag1","hashtag2"]},{"1399826462":["hashtag1","hashtag2"]},{"1399826476":["hashtag1","hashtag2"]},{"1399826464":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399826460, 1399826465, 1399826468, 1399826462, 1399826476, 1399826464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.27356028556824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:13:22.514624
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_45_9733.jpg', '/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_55_9803.jpg', '/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_15_10934.jpg', '/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_25_9577.jpg', '/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_35_10111.jpg', '/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_44_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_45_9733.jpg
/home/pi/Desktop/images/17122025/19/39/image_17122025_19_39_55_9803.jpg
/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_15_10934.jpg
/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_25_9577.jpg
/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_35_10111.jpg
/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_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":["1399826495","1399826489","1399826491","1399826482","1399826485","1399826487"],"photo_ids_order":["1399826482","1399826485","1399826487","1399826489","1399826491","1399826495"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41221413ad58ec965e232f793fe5ba8b.jpg","text":"TemporaryFile(/tmp/multipartBody5848956049581269543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998863679,"filename":"image_17122025_19_40_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32bb4e01d67559567351e0ae1d037aa6.jpg","text":"TemporaryFile(/tmp/multipartBody7695631732270045869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998863679,"filename":"image_17122025_19_40_25_9577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/faf8a7c431df52cd4107e07babfec2cb.jpg","text":"TemporaryFile(/tmp/multipartBody2712170490436330224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998863679,"filename":"image_17122025_19_40_35_10111.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/565bd58c388958d4b2bc0e7b9333e57a.jpg","text":"TemporaryFile(/tmp/multipartBody2691721240504911261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998863679,"filename":"image_17122025_19_39_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66fef2d8c428ed14c4b8ffd6f4fd2642.jpg","text":"TemporaryFile(/tmp/multipartBody6697222961532190117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998863679,"filename":"image_17122025_19_39_55_9803.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9216efee48ad971387074f5c89a69868.jpg","text":"TemporaryFile(/tmp/multipartBody3378055466049106977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998863679,"filename":"image_17122025_19_40_15_10934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826487","file1":"1399826485","file0":"1399826482","file4":"1399826491","file5":"1399826495","file3":"1399826489"},"map_files_photo_id_array":[{"photo_id":"1399826495","filename":"file5"},{"photo_id":"1399826487","filename":"file2"},{"photo_id":"1399826491","filename":"file4"},{"photo_id":"1399826485","filename":"file1"},{"photo_id":"1399826482","filename":"file0"},{"photo_id":"1399826489","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826495":["hashtag1","hashtag2"]},{"1399826489":["hashtag1","hashtag2"]},{"1399826491":["hashtag1","hashtag2"]},{"1399826482":["hashtag1","hashtag2"]},{"1399826485":["hashtag1","hashtag2"]},{"1399826487":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826495, 1399826489, 1399826491, 1399826482, 1399826485, 1399826487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.789488077163696 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:14:03.338373
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_54_9676.jpg', '/home/pi/Desktop/images/17122025/19/41/image_17122025_19_41_24_9778.jpg', '/home/pi/Desktop/images/17122025/19/41/image_17122025_19_41_34_9700.jpg', '/home/pi/Desktop/images/17122025/19/41/image_17122025_19_41_45_10742.jpg', '/home/pi/Desktop/images/17122025/19/41/image_17122025_19_42_04_9657.jpg', '/home/pi/Desktop/images/17122025/19/42/image_17122025_19_42_25_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/40/image_17122025_19_40_54_9676.jpg
/home/pi/Desktop/images/17122025/19/41/image_17122025_19_41_24_9778.jpg
/home/pi/Desktop/images/17122025/19/41/image_17122025_19_41_34_9700.jpg
/home/pi/Desktop/images/17122025/19/41/image_17122025_19_41_45_10742.jpg
/home/pi/Desktop/images/17122025/19/41/image_17122025_19_42_04_9657.jpg
/home/pi/Desktop/images/17122025/19/42/image_17122025_19_42_25_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":["1399826505","1399826514","1399826518","1399826500","1399826499","1399826503"],"photo_ids_order":["1399826499","1399826500","1399826503","1399826505","1399826514","1399826518"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08953b6e812c961aa2b700e0c33e5252.jpg","text":"TemporaryFile(/tmp/multipartBody3374008461905884021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998904238,"filename":"image_17122025_19_41_45_10742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab7852edde29e1bb91e92d5b4602b6aa.jpg","text":"TemporaryFile(/tmp/multipartBody6125993113827559404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998904238,"filename":"image_17122025_19_42_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6cb7bcc3634826db40dd13090f050881.jpg","text":"TemporaryFile(/tmp/multipartBody8764653709478749124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998904238,"filename":"image_17122025_19_42_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f27f8aec73e04752aa4c0bf49db4c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7059291668271257372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998904238,"filename":"image_17122025_19_41_24_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c27ec35ed7b50e6fb9b4240d09c0a54d.jpg","text":"TemporaryFile(/tmp/multipartBody2099262253095992545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998904238,"filename":"image_17122025_19_40_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ea19fb380856608ed19bc672a2d0280.jpg","text":"TemporaryFile(/tmp/multipartBody300804291900747130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998904238,"filename":"image_17122025_19_41_34_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826503","file1":"1399826500","file0":"1399826499","file4":"1399826514","file5":"1399826518","file3":"1399826505"},"map_files_photo_id_array":[{"photo_id":"1399826518","filename":"file5"},{"photo_id":"1399826503","filename":"file2"},{"photo_id":"1399826514","filename":"file4"},{"photo_id":"1399826500","filename":"file1"},{"photo_id":"1399826499","filename":"file0"},{"photo_id":"1399826505","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826505":["hashtag1","hashtag2"]},{"1399826514":["hashtag1","hashtag2"]},{"1399826518":["hashtag1","hashtag2"]},{"1399826500":["hashtag1","hashtag2"]},{"1399826499":["hashtag1","hashtag2"]},{"1399826503":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826505, 1399826514, 1399826518, 1399826500, 1399826499, 1399826503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.587419271469116 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:14:42.619293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_50_2698.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_53_2594.jpg', '/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_57_3768.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_06_3601.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_08_2583.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_17_9207.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_50_2698.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_53_2594.jpg
/home/pi/Desktop/images/07112025/21/16/image_07112025_21_16_57_3768.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_06_3601.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_08_2583.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_17_9207.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826589","1399826540","1399826542","1399826551","1399826533","1399826527"],"photo_ids_order":["1399826527","1399826533","1399826540","1399826542","1399826551","1399826589"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce73367a81fce8591b8cefb77b4bdb37.jpg","text":"TemporaryFile(/tmp/multipartBody2218071086632477373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998943628,"filename":"image_07112025_21_17_17_9207.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2ef149d30ec5548292908fe042166dc.jpg","text":"TemporaryFile(/tmp/multipartBody7054150328185274927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998943628,"filename":"image_07112025_21_16_57_3768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64077ef2797c09c3b8f78eb2d54a43b0.jpg","text":"TemporaryFile(/tmp/multipartBody5346986442970981195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998943628,"filename":"image_07112025_21_17_06_3601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2ce4ec8e02d2113dea1ebd5ba6ecd68.jpg","text":"TemporaryFile(/tmp/multipartBody2265894475517925028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998943628,"filename":"image_07112025_21_17_08_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3294ad376ee82df17b9c1d1dcff7c0a2.jpg","text":"TemporaryFile(/tmp/multipartBody2813457083329928188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998943628,"filename":"image_07112025_21_16_53_2594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d85585f16fdee298e11a9e7678461762.jpg","text":"TemporaryFile(/tmp/multipartBody4810173188476008615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998943628,"filename":"image_07112025_21_16_50_2698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826540","file1":"1399826533","file0":"1399826527","file4":"1399826551","file5":"1399826589","file3":"1399826542"},"map_files_photo_id_array":[{"photo_id":"1399826589","filename":"file5"},{"photo_id":"1399826540","filename":"file2"},{"photo_id":"1399826551","filename":"file4"},{"photo_id":"1399826533","filename":"file1"},{"photo_id":"1399826527","filename":"file0"},{"photo_id":"1399826542","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399826589":["hashtag1","hashtag2"]},{"1399826540":["hashtag1","hashtag2"]},{"1399826542":["hashtag1","hashtag2"]},{"1399826551":["hashtag1","hashtag2"]},{"1399826533":["hashtag1","hashtag2"]},{"1399826527":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399826589, 1399826540, 1399826542, 1399826551, 1399826533, 1399826527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.73737692832947 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:15:21.901258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/42/image_17122025_19_42_34_9597.jpg', '/home/pi/Desktop/images/17122025/19/42/image_17122025_19_42_55_9662.jpg', '/home/pi/Desktop/images/17122025/19/42/image_17122025_19_43_04_9614.jpg', '/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_14_10145.jpg', '/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_24_9876.jpg', '/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_35_10703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/42/image_17122025_19_42_34_9597.jpg
/home/pi/Desktop/images/17122025/19/42/image_17122025_19_42_55_9662.jpg
/home/pi/Desktop/images/17122025/19/42/image_17122025_19_43_04_9614.jpg
/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_14_10145.jpg
/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_24_9876.jpg
/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_35_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":["1399826688","1399826681","1399826684","1399826692","1399826695","1399826707"],"photo_ids_order":["1399826681","1399826684","1399826688","1399826692","1399826695","1399826707"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33e1007f364898edf994050176bc7cb5.jpg","text":"TemporaryFile(/tmp/multipartBody8393592104289899560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998983150,"filename":"image_17122025_19_43_04_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d62dc64e85fd7600b73c5fce63e23fb6.jpg","text":"TemporaryFile(/tmp/multipartBody7749581696035095842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998983150,"filename":"image_17122025_19_42_34_9597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94b24fa967229cebe5f7b11578f8ddfc.jpg","text":"TemporaryFile(/tmp/multipartBody5258380781202263857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998983150,"filename":"image_17122025_19_42_55_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63f7b0ca72ef99e718f0e42d1b500101.jpg","text":"TemporaryFile(/tmp/multipartBody6571381591490768066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998983150,"filename":"image_17122025_19_43_14_10145.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac95f662fc08b9ca36e743937daf13b1.jpg","text":"TemporaryFile(/tmp/multipartBody7239073439600387155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998983150,"filename":"image_17122025_19_43_24_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da0248ca8e8457c05b94bed82e3c566b.jpg","text":"TemporaryFile(/tmp/multipartBody2500249608760269500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765998983150,"filename":"image_17122025_19_43_35_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826688","file1":"1399826684","file0":"1399826681","file4":"1399826695","file5":"1399826707","file3":"1399826692"},"map_files_photo_id_array":[{"photo_id":"1399826707","filename":"file5"},{"photo_id":"1399826688","filename":"file2"},{"photo_id":"1399826695","filename":"file4"},{"photo_id":"1399826684","filename":"file1"},{"photo_id":"1399826681","filename":"file0"},{"photo_id":"1399826692","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826688":["hashtag1","hashtag2"]},{"1399826681":["hashtag1","hashtag2"]},{"1399826684":["hashtag1","hashtag2"]},{"1399826692":["hashtag1","hashtag2"]},{"1399826695":["hashtag1","hashtag2"]},{"1399826707":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826688, 1399826681, 1399826684, 1399826692, 1399826695, 1399826707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.32743048667908 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:16:02.543430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_45_9706.jpg', '/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_54_9662.jpg', '/home/pi/Desktop/images/17122025/19/43/image_17122025_19_44_04_9813.jpg', '/home/pi/Desktop/images/17122025/19/44/image_17122025_19_44_15_10644.jpg', '/home/pi/Desktop/images/17122025/19/44/image_17122025_19_44_25_9842.jpg', '/home/pi/Desktop/images/17122025/19/44/image_17122025_19_44_34_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_45_9706.jpg
/home/pi/Desktop/images/17122025/19/43/image_17122025_19_43_54_9662.jpg
/home/pi/Desktop/images/17122025/19/43/image_17122025_19_44_04_9813.jpg
/home/pi/Desktop/images/17122025/19/44/image_17122025_19_44_15_10644.jpg
/home/pi/Desktop/images/17122025/19/44/image_17122025_19_44_25_9842.jpg
/home/pi/Desktop/images/17122025/19/44/image_17122025_19_44_34_9629.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826826","1399826783","1399826858","1399826846","1399826869","1399826812"],"photo_ids_order":["1399826783","1399826812","1399826826","1399826846","1399826858","1399826869"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f7c954d1d77645e345dfbc829eede3d.jpg","text":"TemporaryFile(/tmp/multipartBody6004567121155788545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999023437,"filename":"image_17122025_19_44_04_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b58227889dab3b1559f7333e8ed4f22b.jpg","text":"TemporaryFile(/tmp/multipartBody1024330081966025211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999023437,"filename":"image_17122025_19_43_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb9746b2148763d2494d63537b224e7c.jpg","text":"TemporaryFile(/tmp/multipartBody7166393534862173946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999023437,"filename":"image_17122025_19_44_25_9842.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea682a1d88242f63fe7a81c655d8f742.jpg","text":"TemporaryFile(/tmp/multipartBody1352535838591368206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999023437,"filename":"image_17122025_19_44_15_10644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4847f6e35e0f7e8b4435942e0494c406.jpg","text":"TemporaryFile(/tmp/multipartBody8502480843330210335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999023437,"filename":"image_17122025_19_44_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f816940142bfeeb8d715006fb064ecd2.jpg","text":"TemporaryFile(/tmp/multipartBody5283390249865349419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999023437,"filename":"image_17122025_19_43_54_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826826","file1":"1399826812","file0":"1399826783","file4":"1399826858","file5":"1399826869","file3":"1399826846"},"map_files_photo_id_array":[{"photo_id":"1399826869","filename":"file5"},{"photo_id":"1399826826","filename":"file2"},{"photo_id":"1399826858","filename":"file4"},{"photo_id":"1399826812","filename":"file1"},{"photo_id":"1399826783","filename":"file0"},{"photo_id":"1399826846","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826826":["hashtag1","hashtag2"]},{"1399826783":["hashtag1","hashtag2"]},{"1399826858":["hashtag1","hashtag2"]},{"1399826846":["hashtag1","hashtag2"]},{"1399826869":["hashtag1","hashtag2"]},{"1399826812":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826826, 1399826783, 1399826858, 1399826846, 1399826869, 1399826812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.3578143119812 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:16:42.108281
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_19_1673.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_21_1575.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_22_1637.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_24_1683.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_27_2652.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_29_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_19_1673.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_21_1575.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_22_1637.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_24_1683.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_27_2652.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_29_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826925","1399826913","1399826912","1399826915","1399826909","1399826914"],"photo_ids_order":["1399826909","1399826912","1399826913","1399826914","1399826915","1399826925"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26e6da46383bf1795566efcaecf1d128.jpg","text":"TemporaryFile(/tmp/multipartBody4335200578864438176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999063114,"filename":"image_07112025_21_17_29_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95dde7272fd1c2015600e703eea3825e.jpg","text":"TemporaryFile(/tmp/multipartBody8492995379491829051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999063114,"filename":"image_07112025_21_17_22_1637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e81cedcefcc191a1f814402f6ccd46e9.jpg","text":"TemporaryFile(/tmp/multipartBody2885412220564968426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999063114,"filename":"image_07112025_21_17_21_1575.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec9317e6e074474d5094675d4d203baf.jpg","text":"TemporaryFile(/tmp/multipartBody8668365898728018392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999063114,"filename":"image_07112025_21_17_27_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f33ede22c67e404560fe9c847f59bc3d.jpg","text":"TemporaryFile(/tmp/multipartBody4383400239066083494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999063114,"filename":"image_07112025_21_17_19_1673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be5d91d574c4aa425b67394c68c6dd02.jpg","text":"TemporaryFile(/tmp/multipartBody1049924102110765306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999063114,"filename":"image_07112025_21_17_24_1683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826913","file1":"1399826912","file0":"1399826909","file4":"1399826915","file5":"1399826925","file3":"1399826914"},"map_files_photo_id_array":[{"photo_id":"1399826925","filename":"file5"},{"photo_id":"1399826913","filename":"file2"},{"photo_id":"1399826915","filename":"file4"},{"photo_id":"1399826912","filename":"file1"},{"photo_id":"1399826909","filename":"file0"},{"photo_id":"1399826914","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399826925":["hashtag1","hashtag2"]},{"1399826913":["hashtag1","hashtag2"]},{"1399826912":["hashtag1","hashtag2"]},{"1399826915":["hashtag1","hashtag2"]},{"1399826909":["hashtag1","hashtag2"]},{"1399826914":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399826925, 1399826913, 1399826912, 1399826915, 1399826909, 1399826914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.0101842880249 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:17:22.347112
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/44/image_17122025_19_44_45_10710.jpg', '/home/pi/Desktop/images/17122025/19/44/image_17122025_19_45_04_9625.jpg', '/home/pi/Desktop/images/17122025/19/45/image_17122025_19_45_25_9720.jpg', '/home/pi/Desktop/images/17122025/19/45/image_17122025_19_45_35_9712.jpg', '/home/pi/Desktop/images/17122025/19/45/image_17122025_19_45_44_9756.jpg', '/home/pi/Desktop/images/17122025/19/45/image_17122025_19_45_55_10223.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/44/image_17122025_19_44_45_10710.jpg
/home/pi/Desktop/images/17122025/19/44/image_17122025_19_45_04_9625.jpg
/home/pi/Desktop/images/17122025/19/45/image_17122025_19_45_25_9720.jpg
/home/pi/Desktop/images/17122025/19/45/image_17122025_19_45_35_9712.jpg
/home/pi/Desktop/images/17122025/19/45/image_17122025_19_45_44_9756.jpg
/home/pi/Desktop/images/17122025/19/45/image_17122025_19_45_55_10223.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826958","1399826943","1399826952","1399826940","1399826945","1399826956"],"photo_ids_order":["1399826940","1399826943","1399826945","1399826952","1399826956","1399826958"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20a1d5407ef89108d08876a06848ec3c.jpg","text":"TemporaryFile(/tmp/multipartBody6822052638171761074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999103461,"filename":"image_17122025_19_45_55_10223.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/783cb0c5c527f226da3b86e8630e061d.jpg","text":"TemporaryFile(/tmp/multipartBody6109504513757750310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999103461,"filename":"image_17122025_19_45_04_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e80468bbb0402aa3756b0233b88c7de9.jpg","text":"TemporaryFile(/tmp/multipartBody4440270896068949622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999103461,"filename":"image_17122025_19_45_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd80ae8ee0aa16e385ae046328fab62d.jpg","text":"TemporaryFile(/tmp/multipartBody3589346302647856755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999103461,"filename":"image_17122025_19_44_45_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e96c2ef5cb660b70a7e5c8a23a1e603.jpg","text":"TemporaryFile(/tmp/multipartBody7962999591604104027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999103461,"filename":"image_17122025_19_45_25_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/641c6f71bc2b67b976eba11de76eb3db.jpg","text":"TemporaryFile(/tmp/multipartBody2446552042865677950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999103461,"filename":"image_17122025_19_45_44_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826945","file1":"1399826943","file0":"1399826940","file4":"1399826956","file5":"1399826958","file3":"1399826952"},"map_files_photo_id_array":[{"photo_id":"1399826958","filename":"file5"},{"photo_id":"1399826945","filename":"file2"},{"photo_id":"1399826956","filename":"file4"},{"photo_id":"1399826943","filename":"file1"},{"photo_id":"1399826940","filename":"file0"},{"photo_id":"1399826952","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826958":["hashtag1","hashtag2"]},{"1399826943":["hashtag1","hashtag2"]},{"1399826952":["hashtag1","hashtag2"]},{"1399826940":["hashtag1","hashtag2"]},{"1399826945":["hashtag1","hashtag2"]},{"1399826956":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826958, 1399826943, 1399826952, 1399826940, 1399826945, 1399826956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.955540895462036 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:18:12.650500
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:18:22.756955
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/46/image_17122025_19_47_05_10669.jpg', '/home/pi/Desktop/images/17122025/19/47/image_17122025_19_47_15_9696.jpg', '/home/pi/Desktop/images/17122025/19/47/image_17122025_19_47_35_10681.jpg', '/home/pi/Desktop/images/17122025/19/47/image_17122025_19_47_45_9685.jpg', '/home/pi/Desktop/images/17122025/19/47/image_17122025_19_47_54_9705.jpg', '/home/pi/Desktop/images/17122025/19/47/image_17122025_19_48_04_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/46/image_17122025_19_47_05_10669.jpg
/home/pi/Desktop/images/17122025/19/47/image_17122025_19_47_15_9696.jpg
/home/pi/Desktop/images/17122025/19/47/image_17122025_19_47_35_10681.jpg
/home/pi/Desktop/images/17122025/19/47/image_17122025_19_47_45_9685.jpg
/home/pi/Desktop/images/17122025/19/47/image_17122025_19_47_54_9705.jpg
/home/pi/Desktop/images/17122025/19/47/image_17122025_19_48_04_9910.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826979","1399826972","1399826981","1399826965","1399826974","1399826976"],"photo_ids_order":["1399826965","1399826972","1399826974","1399826976","1399826979","1399826981"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/caddb073b5a22ba1bd8e9271500077c7.jpg","text":"TemporaryFile(/tmp/multipartBody5767138536945641206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999163655,"filename":"image_17122025_19_47_54_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a6e25d2a1ea3ca2da638f7d9a5f248e.jpg","text":"TemporaryFile(/tmp/multipartBody803345925960672474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999163655,"filename":"image_17122025_19_47_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9d26bb5315d3a1f0850ebf1b1dcab83.jpg","text":"TemporaryFile(/tmp/multipartBody859898012167728502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999163655,"filename":"image_17122025_19_48_04_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1dccad565b034f806100d2953a80f067.jpg","text":"TemporaryFile(/tmp/multipartBody6551683035223572895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999163655,"filename":"image_17122025_19_47_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b131143f119b4d78937f9b85324fec4f.jpg","text":"TemporaryFile(/tmp/multipartBody3179167982941488665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999163655,"filename":"image_17122025_19_47_35_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9df156ecd3ea640a384063562ef9136.jpg","text":"TemporaryFile(/tmp/multipartBody2602268885753153563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999163655,"filename":"image_17122025_19_47_45_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826974","file1":"1399826972","file0":"1399826965","file4":"1399826979","file5":"1399826981","file3":"1399826976"},"map_files_photo_id_array":[{"photo_id":"1399826981","filename":"file5"},{"photo_id":"1399826974","filename":"file2"},{"photo_id":"1399826979","filename":"file4"},{"photo_id":"1399826972","filename":"file1"},{"photo_id":"1399826965","filename":"file0"},{"photo_id":"1399826976","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826979":["hashtag1","hashtag2"]},{"1399826972":["hashtag1","hashtag2"]},{"1399826981":["hashtag1","hashtag2"]},{"1399826965":["hashtag1","hashtag2"]},{"1399826974":["hashtag1","hashtag2"]},{"1399826976":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826979, 1399826972, 1399826981, 1399826965, 1399826974, 1399826976)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.1108603477478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:19:02.806215
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_15_10664.jpg', '/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_25_9781.jpg', '/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_34_9869.jpg', '/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_44_9737.jpg', '/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_54_10009.jpg', '/home/pi/Desktop/images/17122025/19/48/image_17122025_19_49_05_10869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_15_10664.jpg
/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_25_9781.jpg
/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_34_9869.jpg
/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_44_9737.jpg
/home/pi/Desktop/images/17122025/19/48/image_17122025_19_48_54_10009.jpg
/home/pi/Desktop/images/17122025/19/48/image_17122025_19_49_05_10869.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399826999","1399826996","1399826989","1399826994","1399826997","1399826982"],"photo_ids_order":["1399826982","1399826989","1399826994","1399826996","1399826997","1399826999"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41a7109f57aee727d51946ee82425c74.jpg","text":"TemporaryFile(/tmp/multipartBody7092037522718761848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999203709,"filename":"image_17122025_19_49_05_10869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78b0f0302a81cd3c94d7876f3fa7f850.jpg","text":"TemporaryFile(/tmp/multipartBody3001714113379970552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999203709,"filename":"image_17122025_19_48_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ddd3d1281b6659c85dd8cb36a3eb6e3.jpg","text":"TemporaryFile(/tmp/multipartBody5170252649292481394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999203709,"filename":"image_17122025_19_48_25_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7579477277f408a8fdaccf8af5e20bb8.jpg","text":"TemporaryFile(/tmp/multipartBody5778581032546047801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999203709,"filename":"image_17122025_19_48_34_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ee5749e198dbe845dd72cb597828eaf.jpg","text":"TemporaryFile(/tmp/multipartBody3874911382721452047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999203709,"filename":"image_17122025_19_48_54_10009.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b49eb87ffe2f0bf9cbf83a4cff1f321.jpg","text":"TemporaryFile(/tmp/multipartBody994819913490226012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999203709,"filename":"image_17122025_19_48_15_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399826994","file1":"1399826989","file0":"1399826982","file4":"1399826997","file5":"1399826999","file3":"1399826996"},"map_files_photo_id_array":[{"photo_id":"1399826999","filename":"file5"},{"photo_id":"1399826994","filename":"file2"},{"photo_id":"1399826997","filename":"file4"},{"photo_id":"1399826989","filename":"file1"},{"photo_id":"1399826982","filename":"file0"},{"photo_id":"1399826996","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399826999":["hashtag1","hashtag2"]},{"1399826996":["hashtag1","hashtag2"]},{"1399826989":["hashtag1","hashtag2"]},{"1399826994":["hashtag1","hashtag2"]},{"1399826997":["hashtag1","hashtag2"]},{"1399826982":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399826999, 1399826996, 1399826989, 1399826994, 1399826997, 1399826982)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.25303936004639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:19:41.830655
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_32_2883.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_44_2632.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_48_3773.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_50_2732.jpg', '/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_59_8979.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_01_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_32_2883.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_44_2632.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_48_3773.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_50_2732.jpg
/home/pi/Desktop/images/07112025/21/17/image_07112025_21_17_59_8979.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_01_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827009","1399827003","1399827011","1399827013","1399827010","1399827007"],"photo_ids_order":["1399827003","1399827007","1399827009","1399827010","1399827011","1399827013"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8f719cd497e45c45fed426dd967877d.jpg","text":"TemporaryFile(/tmp/multipartBody7604403742912491923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999242840,"filename":"image_07112025_21_17_48_3773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2749e834776928010ecefa1a6bf48c7f.jpg","text":"TemporaryFile(/tmp/multipartBody5045495530869619791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999242840,"filename":"image_07112025_21_17_32_2883.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cde00bb91dadb964581cb9a025681115.jpg","text":"TemporaryFile(/tmp/multipartBody3561607869999197878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999242840,"filename":"image_07112025_21_17_59_8979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/588af07e84c1322ba552513b5bf25e14.jpg","text":"TemporaryFile(/tmp/multipartBody6762834429498319087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999242840,"filename":"image_07112025_21_18_01_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc8dc47e293a01fd47f05f7f44b2191c.jpg","text":"TemporaryFile(/tmp/multipartBody9050694056303516817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999242840,"filename":"image_07112025_21_17_50_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/512494fd01551c5bfffca1c6936d2432.jpg","text":"TemporaryFile(/tmp/multipartBody8878647937339990261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999242840,"filename":"image_07112025_21_17_44_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827009","file1":"1399827007","file0":"1399827003","file4":"1399827011","file5":"1399827013","file3":"1399827010"},"map_files_photo_id_array":[{"photo_id":"1399827013","filename":"file5"},{"photo_id":"1399827009","filename":"file2"},{"photo_id":"1399827011","filename":"file4"},{"photo_id":"1399827007","filename":"file1"},{"photo_id":"1399827003","filename":"file0"},{"photo_id":"1399827010","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399827009":["hashtag1","hashtag2"]},{"1399827003":["hashtag1","hashtag2"]},{"1399827011":["hashtag1","hashtag2"]},{"1399827013":["hashtag1","hashtag2"]},{"1399827010":["hashtag1","hashtag2"]},{"1399827007":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399827009, 1399827003, 1399827011, 1399827013, 1399827010, 1399827007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.78327393531799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:20:22.165091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/49/image_17122025_19_49_15_9708.jpg', '/home/pi/Desktop/images/17122025/19/49/image_17122025_19_49_25_9818.jpg', '/home/pi/Desktop/images/17122025/19/49/image_17122025_19_49_34_9707.jpg', '/home/pi/Desktop/images/17122025/19/49/image_17122025_19_50_05_10006.jpg', '/home/pi/Desktop/images/17122025/19/50/image_17122025_19_50_14_9641.jpg', '/home/pi/Desktop/images/17122025/19/50/image_17122025_19_50_24_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/49/image_17122025_19_49_15_9708.jpg
/home/pi/Desktop/images/17122025/19/49/image_17122025_19_49_25_9818.jpg
/home/pi/Desktop/images/17122025/19/49/image_17122025_19_49_34_9707.jpg
/home/pi/Desktop/images/17122025/19/49/image_17122025_19_50_05_10006.jpg
/home/pi/Desktop/images/17122025/19/50/image_17122025_19_50_14_9641.jpg
/home/pi/Desktop/images/17122025/19/50/image_17122025_19_50_24_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":["1399827068","1399827026","1399827049","1399827063","1399827066","1399827030"],"photo_ids_order":["1399827026","1399827030","1399827049","1399827063","1399827066","1399827068"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fe1f99193f4753ae4f527f1faefb66b.jpg","text":"TemporaryFile(/tmp/multipartBody444812330801281896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999283196,"filename":"image_17122025_19_50_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4baf21700d228057f3f3ff9970763bc2.jpg","text":"TemporaryFile(/tmp/multipartBody414623545883680249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999283196,"filename":"image_17122025_19_49_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/060bf534db88280b7f32e075958eaee0.jpg","text":"TemporaryFile(/tmp/multipartBody3192568347934542174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999283196,"filename":"image_17122025_19_49_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16b2d74894cab92ca8590c23f7bcf575.jpg","text":"TemporaryFile(/tmp/multipartBody2987161094478317971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999283196,"filename":"image_17122025_19_50_05_10006.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e7c4be1300975dcf58648081aa4c096.jpg","text":"TemporaryFile(/tmp/multipartBody916022225770408188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999283196,"filename":"image_17122025_19_50_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5c11832a04a0d02b0173735c5ec77eb.jpg","text":"TemporaryFile(/tmp/multipartBody1320497366558189213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999283196,"filename":"image_17122025_19_49_25_9818.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827049","file1":"1399827030","file0":"1399827026","file4":"1399827066","file5":"1399827068","file3":"1399827063"},"map_files_photo_id_array":[{"photo_id":"1399827068","filename":"file5"},{"photo_id":"1399827049","filename":"file2"},{"photo_id":"1399827066","filename":"file4"},{"photo_id":"1399827030","filename":"file1"},{"photo_id":"1399827026","filename":"file0"},{"photo_id":"1399827063","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827068":["hashtag1","hashtag2"]},{"1399827026":["hashtag1","hashtag2"]},{"1399827049":["hashtag1","hashtag2"]},{"1399827063":["hashtag1","hashtag2"]},{"1399827066":["hashtag1","hashtag2"]},{"1399827030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827068, 1399827026, 1399827049, 1399827063, 1399827066, 1399827030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.5845000743866 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 10 --only_old 1
2025-12-17 20:21:12.244261
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:21:22.477082
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/50/image_17122025_19_50_35_10698.jpg', '/home/pi/Desktop/images/17122025/19/50/image_17122025_19_51_05_10611.jpg', '/home/pi/Desktop/images/17122025/19/51/image_17122025_19_51_15_9832.jpg', '/home/pi/Desktop/images/17122025/19/51/image_17122025_19_51_24_9633.jpg', '/home/pi/Desktop/images/17122025/19/51/image_17122025_19_51_35_10531.jpg', '/home/pi/Desktop/images/17122025/19/51/image_17122025_19_52_05_9866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/50/image_17122025_19_50_35_10698.jpg
/home/pi/Desktop/images/17122025/19/50/image_17122025_19_51_05_10611.jpg
/home/pi/Desktop/images/17122025/19/51/image_17122025_19_51_15_9832.jpg
/home/pi/Desktop/images/17122025/19/51/image_17122025_19_51_24_9633.jpg
/home/pi/Desktop/images/17122025/19/51/image_17122025_19_51_35_10531.jpg
/home/pi/Desktop/images/17122025/19/51/image_17122025_19_52_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":["1399827137","1399827259","1399827220","1399827301","1399827180","1399827096"],"photo_ids_order":["1399827096","1399827137","1399827180","1399827220","1399827259","1399827301"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/820c257fba453ed118bb897964688b73.jpg","text":"TemporaryFile(/tmp/multipartBody652087757279463610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999343792,"filename":"image_17122025_19_51_05_10611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3534adc500e1cd889f1deb59bf902087.jpg","text":"TemporaryFile(/tmp/multipartBody8619386964302031116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999343792,"filename":"image_17122025_19_51_35_10531.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/883a12da7e8c131f184809aadf5612d0.jpg","text":"TemporaryFile(/tmp/multipartBody4306645737496353794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999343792,"filename":"image_17122025_19_51_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1465a42bd0cfbc8101a086144794b7f1.jpg","text":"TemporaryFile(/tmp/multipartBody5243946712593121652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999343792,"filename":"image_17122025_19_52_05_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6da5c4405fcd0f54634bcd7efcc48de.jpg","text":"TemporaryFile(/tmp/multipartBody2683978454374575108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999343792,"filename":"image_17122025_19_51_15_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c868fe808f7782f91ea5f01dd3bdf0b.jpg","text":"TemporaryFile(/tmp/multipartBody1039930912263455144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999343792,"filename":"image_17122025_19_50_35_10698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827180","file1":"1399827137","file0":"1399827096","file4":"1399827259","file5":"1399827301","file3":"1399827220"},"map_files_photo_id_array":[{"photo_id":"1399827301","filename":"file5"},{"photo_id":"1399827180","filename":"file2"},{"photo_id":"1399827259","filename":"file4"},{"photo_id":"1399827137","filename":"file1"},{"photo_id":"1399827096","filename":"file0"},{"photo_id":"1399827220","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827137":["hashtag1","hashtag2"]},{"1399827259":["hashtag1","hashtag2"]},{"1399827220":["hashtag1","hashtag2"]},{"1399827301":["hashtag1","hashtag2"]},{"1399827180":["hashtag1","hashtag2"]},{"1399827096":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827137, 1399827259, 1399827220, 1399827301, 1399827180, 1399827096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.811699867248535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:22:02.951267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/52/image_17122025_19_52_44_9726.jpg', '/home/pi/Desktop/images/17122025/19/52/image_17122025_19_52_54_9707.jpg', '/home/pi/Desktop/images/17122025/19/52/image_17122025_19_53_05_10599.jpg', '/home/pi/Desktop/images/17122025/19/53/image_17122025_19_53_14_9585.jpg', '/home/pi/Desktop/images/17122025/19/53/image_17122025_19_53_54_9576.jpg', '/home/pi/Desktop/images/17122025/19/53/image_17122025_19_54_05_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/52/image_17122025_19_52_44_9726.jpg
/home/pi/Desktop/images/17122025/19/52/image_17122025_19_52_54_9707.jpg
/home/pi/Desktop/images/17122025/19/52/image_17122025_19_53_05_10599.jpg
/home/pi/Desktop/images/17122025/19/53/image_17122025_19_53_14_9585.jpg
/home/pi/Desktop/images/17122025/19/53/image_17122025_19_53_54_9576.jpg
/home/pi/Desktop/images/17122025/19/53/image_17122025_19_54_05_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":["1399827417","1399827419","1399827422","1399827421","1399827412","1399827415"],"photo_ids_order":["1399827412","1399827415","1399827417","1399827419","1399827421","1399827422"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a42e8f959f69554340e35f4d74e7c214.jpg","text":"TemporaryFile(/tmp/multipartBody5934342635564392213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999383825,"filename":"image_17122025_19_53_05_10599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb8f9f5bc4da92ad494fb480d659e1ec.jpg","text":"TemporaryFile(/tmp/multipartBody700488925143761701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999383825,"filename":"image_17122025_19_53_14_9585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e70ddb8ac6128b4d50bdedb58bef73a8.jpg","text":"TemporaryFile(/tmp/multipartBody3596733314197545991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999383825,"filename":"image_17122025_19_54_05_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a08eca6bc4b50ee05ba9d1140c80d53.jpg","text":"TemporaryFile(/tmp/multipartBody4748055397803565178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999383825,"filename":"image_17122025_19_53_54_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a46030e412eb54a70d808400568407df.jpg","text":"TemporaryFile(/tmp/multipartBody5859233152640411481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999383825,"filename":"image_17122025_19_52_44_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e6e521b901eb15d712437dd1321272f.jpg","text":"TemporaryFile(/tmp/multipartBody2615971441716674581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999383825,"filename":"image_17122025_19_52_54_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827417","file1":"1399827415","file0":"1399827412","file4":"1399827421","file5":"1399827422","file3":"1399827419"},"map_files_photo_id_array":[{"photo_id":"1399827422","filename":"file5"},{"photo_id":"1399827417","filename":"file2"},{"photo_id":"1399827421","filename":"file4"},{"photo_id":"1399827415","filename":"file1"},{"photo_id":"1399827412","filename":"file0"},{"photo_id":"1399827419","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827417":["hashtag1","hashtag2"]},{"1399827419":["hashtag1","hashtag2"]},{"1399827422":["hashtag1","hashtag2"]},{"1399827421":["hashtag1","hashtag2"]},{"1399827412":["hashtag1","hashtag2"]},{"1399827415":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827417, 1399827419, 1399827422, 1399827421, 1399827412, 1399827415)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.388330698013306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:22:42.454365
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_06_5073.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_08_1722.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_10_2301.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_12_1621.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_13_1671.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_15_1650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_06_5073.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_08_1722.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_10_2301.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_12_1621.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_13_1671.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_15_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":["1399827446","1399827440","1399827434","1399827460","1399827444","1399827453"],"photo_ids_order":["1399827434","1399827440","1399827444","1399827446","1399827453","1399827460"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a77f530a66bc9e009c7f2f909ff6e73e.jpg","text":"TemporaryFile(/tmp/multipartBody4542287144434664267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999423782,"filename":"image_07112025_21_18_12_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8ab812b934aafe79fdaec6d77ea8473.jpg","text":"TemporaryFile(/tmp/multipartBody7900293917187813689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999423782,"filename":"image_07112025_21_18_08_1722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/909cb55289c0423bd312ef89d1ebe5f5.jpg","text":"TemporaryFile(/tmp/multipartBody4123094890996575664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999423782,"filename":"image_07112025_21_18_06_5073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8384a63d234533f852026c8cde9393af.jpg","text":"TemporaryFile(/tmp/multipartBody958554904516202485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999423782,"filename":"image_07112025_21_18_15_1650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51d120f2885b55aae8177b7b6da8708c.jpg","text":"TemporaryFile(/tmp/multipartBody4738108750275796436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999423782,"filename":"image_07112025_21_18_10_2301.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59854e5f7039e78feeb035a6717c7f01.jpg","text":"TemporaryFile(/tmp/multipartBody759016109714781711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999423782,"filename":"image_07112025_21_18_13_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827444","file1":"1399827440","file0":"1399827434","file4":"1399827453","file5":"1399827460","file3":"1399827446"},"map_files_photo_id_array":[{"photo_id":"1399827460","filename":"file5"},{"photo_id":"1399827444","filename":"file2"},{"photo_id":"1399827453","filename":"file4"},{"photo_id":"1399827440","filename":"file1"},{"photo_id":"1399827434","filename":"file0"},{"photo_id":"1399827446","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399827446":["hashtag1","hashtag2"]},{"1399827440":["hashtag1","hashtag2"]},{"1399827434":["hashtag1","hashtag2"]},{"1399827460":["hashtag1","hashtag2"]},{"1399827444":["hashtag1","hashtag2"]},{"1399827453":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399827446, 1399827440, 1399827434, 1399827460, 1399827444, 1399827453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.2319610118866 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:23:32.866695
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:23:42.748878
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_17_1708.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_20_3530.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_27_3744.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_32_2609.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_35_2736.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_38_3672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_17_1708.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_20_3530.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_27_3744.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_32_2609.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_35_2736.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_38_3672.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827470","1399827467","1399827472","1399827475","1399827477","1399827474"],"photo_ids_order":["1399827467","1399827470","1399827472","1399827474","1399827475","1399827477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bd18a42ae17a5c8a400d9b2f3778be0.jpg","text":"TemporaryFile(/tmp/multipartBody5453020279264620522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999483751,"filename":"image_07112025_21_18_20_3530.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f156702f98b55f7252dd60491122f01d.jpg","text":"TemporaryFile(/tmp/multipartBody2738873838252874156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999483751,"filename":"image_07112025_21_18_17_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/297ce275520022b7cd7110616294de9d.jpg","text":"TemporaryFile(/tmp/multipartBody5424017307811374449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999483751,"filename":"image_07112025_21_18_27_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9eeeb6a3771c1b6e567943c1a34f1e00.jpg","text":"TemporaryFile(/tmp/multipartBody5269080885926107829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999483751,"filename":"image_07112025_21_18_35_2736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94af7b1c3f1a32e834dd7c2964a50b51.jpg","text":"TemporaryFile(/tmp/multipartBody7646269645076083746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999483751,"filename":"image_07112025_21_18_38_3672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/deab19d05e3f64eb57e6ea3d60e682b1.jpg","text":"TemporaryFile(/tmp/multipartBody4136124163173721888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999483751,"filename":"image_07112025_21_18_32_2609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827472","file1":"1399827470","file0":"1399827467","file4":"1399827475","file5":"1399827477","file3":"1399827474"},"map_files_photo_id_array":[{"photo_id":"1399827477","filename":"file5"},{"photo_id":"1399827472","filename":"file2"},{"photo_id":"1399827475","filename":"file4"},{"photo_id":"1399827470","filename":"file1"},{"photo_id":"1399827467","filename":"file0"},{"photo_id":"1399827474","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399827470":["hashtag1","hashtag2"]},{"1399827467":["hashtag1","hashtag2"]},{"1399827472":["hashtag1","hashtag2"]},{"1399827475":["hashtag1","hashtag2"]},{"1399827477":["hashtag1","hashtag2"]},{"1399827474":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399827470, 1399827467, 1399827472, 1399827475, 1399827477, 1399827474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.454134702682495 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:24:22.018907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/54/image_17122025_19_54_15_9668.jpg', '/home/pi/Desktop/images/17122025/19/54/image_17122025_19_54_24_9704.jpg', '/home/pi/Desktop/images/17122025/19/54/image_17122025_19_54_45_9632.jpg', '/home/pi/Desktop/images/17122025/19/55/image_17122025_19_55_15_9748.jpg', '/home/pi/Desktop/images/17122025/19/55/image_17122025_19_55_45_10776.jpg', '/home/pi/Desktop/images/17122025/19/55/image_17122025_19_56_05_9867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/54/image_17122025_19_54_15_9668.jpg
/home/pi/Desktop/images/17122025/19/54/image_17122025_19_54_24_9704.jpg
/home/pi/Desktop/images/17122025/19/54/image_17122025_19_54_45_9632.jpg
/home/pi/Desktop/images/17122025/19/55/image_17122025_19_55_15_9748.jpg
/home/pi/Desktop/images/17122025/19/55/image_17122025_19_55_45_10776.jpg
/home/pi/Desktop/images/17122025/19/55/image_17122025_19_56_05_9867.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827491","1399827488","1399827482","1399827485","1399827502","1399827495"],"photo_ids_order":["1399827482","1399827485","1399827488","1399827491","1399827495","1399827502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/530898bf4c2a2921082f6862c843b01b.jpg","text":"TemporaryFile(/tmp/multipartBody2496467871366380833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999523171,"filename":"image_17122025_19_55_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3798da869758a124a16862b54eb62ea7.jpg","text":"TemporaryFile(/tmp/multipartBody5764603003413102173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999523171,"filename":"image_17122025_19_54_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/848705a6b443260d4567b1582c6794ab.jpg","text":"TemporaryFile(/tmp/multipartBody6380770960656415323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999523171,"filename":"image_17122025_19_54_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a333ad2a29d0076671a64627655d4cbe.jpg","text":"TemporaryFile(/tmp/multipartBody3311694123241956665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999523171,"filename":"image_17122025_19_54_24_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd11757772acc3724b25ff23beed252c.jpg","text":"TemporaryFile(/tmp/multipartBody3819041558615847268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999523171,"filename":"image_17122025_19_56_05_9867.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18982c0ede89c8e9576b495e7cdc647f.jpg","text":"TemporaryFile(/tmp/multipartBody2689567931080397228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999523171,"filename":"image_17122025_19_55_45_10776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827488","file1":"1399827485","file0":"1399827482","file4":"1399827495","file5":"1399827502","file3":"1399827491"},"map_files_photo_id_array":[{"photo_id":"1399827502","filename":"file5"},{"photo_id":"1399827488","filename":"file2"},{"photo_id":"1399827495","filename":"file4"},{"photo_id":"1399827485","filename":"file1"},{"photo_id":"1399827482","filename":"file0"},{"photo_id":"1399827491","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827491":["hashtag1","hashtag2"]},{"1399827488":["hashtag1","hashtag2"]},{"1399827482":["hashtag1","hashtag2"]},{"1399827485":["hashtag1","hashtag2"]},{"1399827502":["hashtag1","hashtag2"]},{"1399827495":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827491, 1399827488, 1399827482, 1399827485, 1399827502, 1399827495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.18890976905823 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:25:02.890413
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_14_9810.jpg', '/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_25_10172.jpg', '/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_34_9748.jpg', '/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_45_10626.jpg', '/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_55_9665.jpg', '/home/pi/Desktop/images/17122025/19/57/image_17122025_19_57_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_14_9810.jpg
/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_25_10172.jpg
/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_34_9748.jpg
/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_45_10626.jpg
/home/pi/Desktop/images/17122025/19/56/image_17122025_19_56_55_9665.jpg
/home/pi/Desktop/images/17122025/19/57/image_17122025_19_57_14_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":["1399827516","1399827510","1399827518","1399827521","1399827515","1399827513"],"photo_ids_order":["1399827510","1399827513","1399827515","1399827516","1399827518","1399827521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b580688c1384e135e42595031c7fa0a.jpg","text":"TemporaryFile(/tmp/multipartBody6222321305733888572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999563769,"filename":"image_17122025_19_56_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb6fc1142b19b70edb0093ddf143388f.jpg","text":"TemporaryFile(/tmp/multipartBody7659161838883699666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999563769,"filename":"image_17122025_19_56_14_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9532e96b5baa7ff26fc05455df10e73.jpg","text":"TemporaryFile(/tmp/multipartBody7168018283496117011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999563769,"filename":"image_17122025_19_56_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/084c258d1e538e5258ae114c2ae621e2.jpg","text":"TemporaryFile(/tmp/multipartBody8913093671249271114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999563769,"filename":"image_17122025_19_57_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd66d93f0054df6eb43c9bdcd2c165f2.jpg","text":"TemporaryFile(/tmp/multipartBody471093180268178917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999563769,"filename":"image_17122025_19_56_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82fbdee438a5426a0c6239b44c57fca2.jpg","text":"TemporaryFile(/tmp/multipartBody1226494554518502354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999563769,"filename":"image_17122025_19_56_25_10172.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827515","file1":"1399827513","file0":"1399827510","file4":"1399827518","file5":"1399827521","file3":"1399827516"},"map_files_photo_id_array":[{"photo_id":"1399827521","filename":"file5"},{"photo_id":"1399827515","filename":"file2"},{"photo_id":"1399827518","filename":"file4"},{"photo_id":"1399827513","filename":"file1"},{"photo_id":"1399827510","filename":"file0"},{"photo_id":"1399827516","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827516":["hashtag1","hashtag2"]},{"1399827510":["hashtag1","hashtag2"]},{"1399827518":["hashtag1","hashtag2"]},{"1399827521":["hashtag1","hashtag2"]},{"1399827515":["hashtag1","hashtag2"]},{"1399827513":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827516, 1399827510, 1399827518, 1399827521, 1399827515, 1399827513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.2081196308136 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:25:42.098616
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_41_2710.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_44_2543.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_47_3576.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_50_2612.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_53_2832.jpg', '/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_56_3730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_41_2710.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_44_2543.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_47_3576.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_50_2612.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_53_2832.jpg
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_56_3730.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827536","1399827533","1399827527","1399827532","1399827531","1399827534"],"photo_ids_order":["1399827527","1399827531","1399827532","1399827533","1399827534","1399827536"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/601ef0edc4192370cce3b0a0fe0ed75f.jpg","text":"TemporaryFile(/tmp/multipartBody2149402984074975234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999603150,"filename":"image_07112025_21_18_56_3730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81829150421c5bbf351935e4ee5baf3f.jpg","text":"TemporaryFile(/tmp/multipartBody2178328651583896194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999603150,"filename":"image_07112025_21_18_50_2612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b98030ebd56de53015446c091aba207.jpg","text":"TemporaryFile(/tmp/multipartBody8984699784713287607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999603150,"filename":"image_07112025_21_18_41_2710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ff0d173b4915c6dba4a069232076739.jpg","text":"TemporaryFile(/tmp/multipartBody5448014992489037239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999603150,"filename":"image_07112025_21_18_47_3576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/75f7c12c8cb0a0d3cca67a00ac286166.jpg","text":"TemporaryFile(/tmp/multipartBody847461851564350546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999603150,"filename":"image_07112025_21_18_44_2543.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e03390fb2a8e9ac1420fd5059be36db0.jpg","text":"TemporaryFile(/tmp/multipartBody624506020297216131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999603150,"filename":"image_07112025_21_18_53_2832.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827532","file1":"1399827531","file0":"1399827527","file4":"1399827534","file5":"1399827536","file3":"1399827533"},"map_files_photo_id_array":[{"photo_id":"1399827536","filename":"file5"},{"photo_id":"1399827532","filename":"file2"},{"photo_id":"1399827534","filename":"file4"},{"photo_id":"1399827531","filename":"file1"},{"photo_id":"1399827527","filename":"file0"},{"photo_id":"1399827533","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399827536":["hashtag1","hashtag2"]},{"1399827533":["hashtag1","hashtag2"]},{"1399827527":["hashtag1","hashtag2"]},{"1399827532":["hashtag1","hashtag2"]},{"1399827531":["hashtag1","hashtag2"]},{"1399827534":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399827536, 1399827533, 1399827527, 1399827532, 1399827531, 1399827534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.40746998786926 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:26:22.516501
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/57/image_17122025_19_57_24_10177.jpg', '/home/pi/Desktop/images/17122025/19/57/image_17122025_19_57_34_9840.jpg', '/home/pi/Desktop/images/17122025/19/57/image_17122025_19_57_44_9926.jpg', '/home/pi/Desktop/images/17122025/19/57/image_17122025_19_58_05_9790.jpg', '/home/pi/Desktop/images/17122025/19/58/image_17122025_19_58_14_9637.jpg', '/home/pi/Desktop/images/17122025/19/58/image_17122025_19_58_24_9856.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/57/image_17122025_19_57_24_10177.jpg
/home/pi/Desktop/images/17122025/19/57/image_17122025_19_57_34_9840.jpg
/home/pi/Desktop/images/17122025/19/57/image_17122025_19_57_44_9926.jpg
/home/pi/Desktop/images/17122025/19/57/image_17122025_19_58_05_9790.jpg
/home/pi/Desktop/images/17122025/19/58/image_17122025_19_58_14_9637.jpg
/home/pi/Desktop/images/17122025/19/58/image_17122025_19_58_24_9856.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827542","1399827539","1399827547","1399827556","1399827544","1399827540"],"photo_ids_order":["1399827539","1399827540","1399827542","1399827544","1399827547","1399827556"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d308fc8a171225d3318cd22c43be833e.jpg","text":"TemporaryFile(/tmp/multipartBody8852970449113036637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999643430,"filename":"image_17122025_19_57_44_9926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d8fcf2511ac6d94eb669f7aeb02f9c6.jpg","text":"TemporaryFile(/tmp/multipartBody6409533176011221973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999643430,"filename":"image_17122025_19_57_24_10177.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c36278c18179f5058c20ddd08ce95fb.jpg","text":"TemporaryFile(/tmp/multipartBody7195200946520945692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999643430,"filename":"image_17122025_19_58_14_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afd709c47daa6c0fe62c9b9194e6bdd2.jpg","text":"TemporaryFile(/tmp/multipartBody2370977836307304502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999643430,"filename":"image_17122025_19_58_24_9856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/13bc58495a74fc888f1bace88752bd39.jpg","text":"TemporaryFile(/tmp/multipartBody3036926569903269065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999643430,"filename":"image_17122025_19_58_05_9790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebdcbd967a07bff8d921ed173e647c93.jpg","text":"TemporaryFile(/tmp/multipartBody8757930621174671655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999643430,"filename":"image_17122025_19_57_34_9840.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827542","file1":"1399827540","file0":"1399827539","file4":"1399827547","file5":"1399827556","file3":"1399827544"},"map_files_photo_id_array":[{"photo_id":"1399827556","filename":"file5"},{"photo_id":"1399827542","filename":"file2"},{"photo_id":"1399827547","filename":"file4"},{"photo_id":"1399827540","filename":"file1"},{"photo_id":"1399827539","filename":"file0"},{"photo_id":"1399827544","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827542":["hashtag1","hashtag2"]},{"1399827539":["hashtag1","hashtag2"]},{"1399827547":["hashtag1","hashtag2"]},{"1399827556":["hashtag1","hashtag2"]},{"1399827544":["hashtag1","hashtag2"]},{"1399827540":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827542, 1399827539, 1399827547, 1399827556, 1399827544, 1399827540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.14049816131592 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:27:03.188325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/19/58/image_17122025_19_59_04_9576.jpg', '/home/pi/Desktop/images/17122025/19/59/image_17122025_19_59_15_10679.jpg', '/home/pi/Desktop/images/17122025/19/59/image_17122025_19_59_25_9750.jpg', '/home/pi/Desktop/images/17122025/19/59/image_17122025_19_59_34_9652.jpg', '/home/pi/Desktop/images/17122025/19/59/image_17122025_19_59_45_10634.jpg', '/home/pi/Desktop/images/17122025/19/59/image_17122025_20_00_05_9869.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/19/58/image_17122025_19_59_04_9576.jpg
/home/pi/Desktop/images/17122025/19/59/image_17122025_19_59_15_10679.jpg
/home/pi/Desktop/images/17122025/19/59/image_17122025_19_59_25_9750.jpg
/home/pi/Desktop/images/17122025/19/59/image_17122025_19_59_34_9652.jpg
/home/pi/Desktop/images/17122025/19/59/image_17122025_19_59_45_10634.jpg
/home/pi/Desktop/images/17122025/19/59/image_17122025_20_00_05_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":["1399827566","1399827571","1399827565","1399827568","1399827570","1399827567"],"photo_ids_order":["1399827565","1399827566","1399827567","1399827568","1399827570","1399827571"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a5f22329a2e0e08d12a3b3b1bb2a783.jpg","text":"TemporaryFile(/tmp/multipartBody962811437008161129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999684086,"filename":"image_17122025_19_59_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad7892ba4af40745808becc3dc5efd59.jpg","text":"TemporaryFile(/tmp/multipartBody7980096299980344946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999684086,"filename":"image_17122025_20_00_05_9869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec077f95ec8d8d2c09fe22fe13dbf15f.jpg","text":"TemporaryFile(/tmp/multipartBody1237590709699794558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999684086,"filename":"image_17122025_19_59_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2186039e7836ff52ef360268814100ad.jpg","text":"TemporaryFile(/tmp/multipartBody5586940570007046478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999684086,"filename":"image_17122025_19_59_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c773c9195653b79021443ff085f6c39.jpg","text":"TemporaryFile(/tmp/multipartBody4972578541309352527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999684086,"filename":"image_17122025_19_59_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e8b71fdcc8d8783cd8b753515d21a73.jpg","text":"TemporaryFile(/tmp/multipartBody560763566653878267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999684086,"filename":"image_17122025_19_59_25_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827567","file1":"1399827566","file0":"1399827565","file4":"1399827570","file5":"1399827571","file3":"1399827568"},"map_files_photo_id_array":[{"photo_id":"1399827571","filename":"file5"},{"photo_id":"1399827567","filename":"file2"},{"photo_id":"1399827570","filename":"file4"},{"photo_id":"1399827566","filename":"file1"},{"photo_id":"1399827565","filename":"file0"},{"photo_id":"1399827568","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827566":["hashtag1","hashtag2"]},{"1399827571":["hashtag1","hashtag2"]},{"1399827565":["hashtag1","hashtag2"]},{"1399827568":["hashtag1","hashtag2"]},{"1399827570":["hashtag1","hashtag2"]},{"1399827567":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827566, 1399827571, 1399827565, 1399827568, 1399827570, 1399827567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.840614795684814 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:27:42.608999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_59_2577.jpg', '/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_02_3532.jpg', '/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_05_2535.jpg', '/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_08_2630.jpg', '/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_11_3645.jpg', '/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_26_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/18/image_07112025_21_18_59_2577.jpg
/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_02_3532.jpg
/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_05_2535.jpg
/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_08_2630.jpg
/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_11_3645.jpg
/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_26_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":["1399827593","1399827587","1399827581","1399827577","1399827592","1399827580"],"photo_ids_order":["1399827577","1399827580","1399827581","1399827587","1399827592","1399827593"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79815cb510f7a97a1a6c34ed111c2586.jpg","text":"TemporaryFile(/tmp/multipartBody4360074400763238374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999723653,"filename":"image_07112025_21_19_26_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f47ec3b8cb45c1afe30003857015acb3.jpg","text":"TemporaryFile(/tmp/multipartBody6458825466028905086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999723653,"filename":"image_07112025_21_19_08_2630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f628125857030cba6f84a234d14aacd.jpg","text":"TemporaryFile(/tmp/multipartBody1630377323751530142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999723653,"filename":"image_07112025_21_19_05_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fd2370a2fd8b0a5df03bfa2ce6ce31d.jpg","text":"TemporaryFile(/tmp/multipartBody39059602210043562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999723653,"filename":"image_07112025_21_18_59_2577.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4aeaf14a6f114d333fd3a16a516e48eb.jpg","text":"TemporaryFile(/tmp/multipartBody4377109588978304773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999723653,"filename":"image_07112025_21_19_11_3645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e0ff47f28f271ceffc40b545448286b.jpg","text":"TemporaryFile(/tmp/multipartBody3546755444178209528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999723653,"filename":"image_07112025_21_19_02_3532.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827581","file1":"1399827580","file0":"1399827577","file4":"1399827592","file5":"1399827593","file3":"1399827587"},"map_files_photo_id_array":[{"photo_id":"1399827593","filename":"file5"},{"photo_id":"1399827581","filename":"file2"},{"photo_id":"1399827592","filename":"file4"},{"photo_id":"1399827580","filename":"file1"},{"photo_id":"1399827577","filename":"file0"},{"photo_id":"1399827587","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399827593":["hashtag1","hashtag2"]},{"1399827587":["hashtag1","hashtag2"]},{"1399827581":["hashtag1","hashtag2"]},{"1399827577":["hashtag1","hashtag2"]},{"1399827592":["hashtag1","hashtag2"]},{"1399827580":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399827593, 1399827587, 1399827581, 1399827577, 1399827592, 1399827580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51166248321533 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:28:21.924854
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_15_10018.jpg', '/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_24_9769.jpg', '/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_34_9799.jpg', '/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_55_9797.jpg', '/home/pi/Desktop/images/17122025/20/00/image_17122025_20_01_04_9688.jpg', '/home/pi/Desktop/images/17122025/20/01/image_17122025_20_01_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_15_10018.jpg
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_24_9769.jpg
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_34_9799.jpg
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_55_9797.jpg
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_01_04_9688.jpg
/home/pi/Desktop/images/17122025/20/01/image_17122025_20_01_14_9733.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.7928271293640137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:28:31.852777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:28:41.798237
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_54_28585.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_12_17998.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_14_1861.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_16_1710.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_17_1681.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_19_1799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/19/image_07112025_21_19_54_28585.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_12_17998.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_14_1861.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_16_1710.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_17_1681.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_19_1799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827609","1399827620","1399827608","1399827628","1399827604","1399827607"],"photo_ids_order":["1399827604","1399827607","1399827608","1399827609","1399827620","1399827628"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aaf2a2fb1e708d78b3ba8deaf56c08d9.jpg","text":"TemporaryFile(/tmp/multipartBody4150432294529756739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999782790,"filename":"image_07112025_21_20_16_1710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94afa4588e5ded376ecbdeaaa0cb6403.jpg","text":"TemporaryFile(/tmp/multipartBody3240880542853892326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999782790,"filename":"image_07112025_21_20_17_1681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f6dbd58165eee5c7fe482769f7f4230.jpg","text":"TemporaryFile(/tmp/multipartBody231709566982533807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999782790,"filename":"image_07112025_21_20_14_1861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1ae32d4755f6ee09300c8e9c18ef917.jpg","text":"TemporaryFile(/tmp/multipartBody8130183623320476048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999782790,"filename":"image_07112025_21_20_19_1799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d4f1f0d9c76d51e6c4a8fe5fd7e292a.jpg","text":"TemporaryFile(/tmp/multipartBody363181022355058583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999782790,"filename":"image_07112025_21_19_54_28585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0dc6f416cf6b1bb54130bf937ee5d16c.jpg","text":"TemporaryFile(/tmp/multipartBody623178100249293889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999782790,"filename":"image_07112025_21_20_12_17998.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827608","file1":"1399827607","file0":"1399827604","file4":"1399827620","file5":"1399827628","file3":"1399827609"},"map_files_photo_id_array":[{"photo_id":"1399827628","filename":"file5"},{"photo_id":"1399827608","filename":"file2"},{"photo_id":"1399827620","filename":"file4"},{"photo_id":"1399827607","filename":"file1"},{"photo_id":"1399827604","filename":"file0"},{"photo_id":"1399827609","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399827609":["hashtag1","hashtag2"]},{"1399827620":["hashtag1","hashtag2"]},{"1399827608":["hashtag1","hashtag2"]},{"1399827628":["hashtag1","hashtag2"]},{"1399827604":["hashtag1","hashtag2"]},{"1399827607":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399827609, 1399827620, 1399827608, 1399827628, 1399827604, 1399827607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23266267776489 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:29:22.051488
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_15_10018.jpg', '/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_24_9769.jpg', '/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_34_9799.jpg', '/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_55_9797.jpg', '/home/pi/Desktop/images/17122025/20/00/image_17122025_20_01_04_9688.jpg', '/home/pi/Desktop/images/17122025/20/01/image_17122025_20_01_14_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_15_10018.jpg
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_24_9769.jpg
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_34_9799.jpg
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_00_55_9797.jpg
/home/pi/Desktop/images/17122025/20/00/image_17122025_20_01_04_9688.jpg
/home/pi/Desktop/images/17122025/20/01/image_17122025_20_01_14_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":["1399827636","1399827635","1399827638","1399827646","1399827640","1399827634"],"photo_ids_order":["1399827634","1399827635","1399827636","1399827638","1399827640","1399827646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52ed01673f9afdf00743e9af2f37909a.jpg","text":"TemporaryFile(/tmp/multipartBody4106457229133417707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999822980,"filename":"image_17122025_20_00_34_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2009df5dc023ea7ac9c33140e289543.jpg","text":"TemporaryFile(/tmp/multipartBody691297567639736911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999822980,"filename":"image_17122025_20_00_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87e9aae1b02c839f57f7e77f085657d8.jpg","text":"TemporaryFile(/tmp/multipartBody4306722250361831350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999822980,"filename":"image_17122025_20_00_55_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a1d4424c80dc106ce39b71b1d8230f3.jpg","text":"TemporaryFile(/tmp/multipartBody2414885286038362223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999822980,"filename":"image_17122025_20_01_14_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/baf3b4c71504c644a2f36b40bf1fce7b.jpg","text":"TemporaryFile(/tmp/multipartBody4957692610471726186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999822980,"filename":"image_17122025_20_01_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23d9058971ab1e9f0682437e5ee3783a.jpg","text":"TemporaryFile(/tmp/multipartBody4799871031025506541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999822980,"filename":"image_17122025_20_00_15_10018.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827636","file1":"1399827635","file0":"1399827634","file4":"1399827640","file5":"1399827646","file3":"1399827638"},"map_files_photo_id_array":[{"photo_id":"1399827646","filename":"file5"},{"photo_id":"1399827636","filename":"file2"},{"photo_id":"1399827640","filename":"file4"},{"photo_id":"1399827635","filename":"file1"},{"photo_id":"1399827634","filename":"file0"},{"photo_id":"1399827638","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827636":["hashtag1","hashtag2"]},{"1399827635":["hashtag1","hashtag2"]},{"1399827638":["hashtag1","hashtag2"]},{"1399827646":["hashtag1","hashtag2"]},{"1399827640":["hashtag1","hashtag2"]},{"1399827634":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827636, 1399827635, 1399827638, 1399827646, 1399827640, 1399827634)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.58356428146362 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:30:02.703344
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/01/image_17122025_20_01_25_10709.jpg', '/home/pi/Desktop/images/17122025/20/01/image_17122025_20_01_35_9811.jpg', '/home/pi/Desktop/images/17122025/20/01/image_17122025_20_02_04_9967.jpg', '/home/pi/Desktop/images/17122025/20/02/image_17122025_20_02_25_9657.jpg', '/home/pi/Desktop/images/17122025/20/02/image_17122025_20_02_34_9612.jpg', '/home/pi/Desktop/images/17122025/20/02/image_17122025_20_02_45_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/01/image_17122025_20_01_25_10709.jpg
/home/pi/Desktop/images/17122025/20/01/image_17122025_20_01_35_9811.jpg
/home/pi/Desktop/images/17122025/20/01/image_17122025_20_02_04_9967.jpg
/home/pi/Desktop/images/17122025/20/02/image_17122025_20_02_25_9657.jpg
/home/pi/Desktop/images/17122025/20/02/image_17122025_20_02_34_9612.jpg
/home/pi/Desktop/images/17122025/20/02/image_17122025_20_02_45_10641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827653","1399827656","1399827659","1399827658","1399827661","1399827657"],"photo_ids_order":["1399827653","1399827656","1399827657","1399827658","1399827659","1399827661"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d41cff2202fd8efedff2ec7a97e760a0.jpg","text":"TemporaryFile(/tmp/multipartBody3124702550673931956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999863575,"filename":"image_17122025_20_01_25_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/931d7a0f03cc14a030b4ec3c5a46f2e8.jpg","text":"TemporaryFile(/tmp/multipartBody3589599283911901072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999863575,"filename":"image_17122025_20_01_35_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bdb95e821e74217b3490ad45dd660bf.jpg","text":"TemporaryFile(/tmp/multipartBody2096036705688652737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999863575,"filename":"image_17122025_20_02_34_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90973a2bb14f8351479409326394f379.jpg","text":"TemporaryFile(/tmp/multipartBody190016749727506151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999863575,"filename":"image_17122025_20_02_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/becf25b54cf77bf09803a53c21469692.jpg","text":"TemporaryFile(/tmp/multipartBody3279475442294855045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999863575,"filename":"image_17122025_20_02_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f06bc9c67cd48a43541e0d13795165a.jpg","text":"TemporaryFile(/tmp/multipartBody9155884009567025806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999863575,"filename":"image_17122025_20_02_04_9967.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827657","file1":"1399827656","file0":"1399827653","file4":"1399827659","file5":"1399827661","file3":"1399827658"},"map_files_photo_id_array":[{"photo_id":"1399827661","filename":"file5"},{"photo_id":"1399827657","filename":"file2"},{"photo_id":"1399827659","filename":"file4"},{"photo_id":"1399827656","filename":"file1"},{"photo_id":"1399827653","filename":"file0"},{"photo_id":"1399827658","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827653":["hashtag1","hashtag2"]},{"1399827656":["hashtag1","hashtag2"]},{"1399827659":["hashtag1","hashtag2"]},{"1399827658":["hashtag1","hashtag2"]},{"1399827661":["hashtag1","hashtag2"]},{"1399827657":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827653, 1399827656, 1399827659, 1399827658, 1399827661, 1399827657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55371904373169 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:30:42.313905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_21_1716.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_24_3182.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_35_1645.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_36_1750.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_38_1691.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_40_1714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_21_1716.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_24_3182.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_35_1645.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_36_1750.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_38_1691.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_40_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":["1399827686","1399827683","1399827682","1399827681","1399827675","1399827666"],"photo_ids_order":["1399827666","1399827675","1399827681","1399827682","1399827683","1399827686"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c042de8bc13a6b7297ac4597676564cf.jpg","text":"TemporaryFile(/tmp/multipartBody4079313322935546096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999903322,"filename":"image_07112025_21_20_40_1714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb376dcf7aac4a71392544c1f45c8784.jpg","text":"TemporaryFile(/tmp/multipartBody8588078383872996334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999903322,"filename":"image_07112025_21_20_38_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b64f105236b092d2b2f1502d1d0d8f95.jpg","text":"TemporaryFile(/tmp/multipartBody5822875351640335318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999903322,"filename":"image_07112025_21_20_36_1750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d0dcc188106990bb3f8b5726e90873d.jpg","text":"TemporaryFile(/tmp/multipartBody998625370450456475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999903322,"filename":"image_07112025_21_20_35_1645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/191fed19f857e6101693357e6118e85e.jpg","text":"TemporaryFile(/tmp/multipartBody19461302133159792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999903322,"filename":"image_07112025_21_20_24_3182.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/581ce21d8c18e98880796675edb8be7c.jpg","text":"TemporaryFile(/tmp/multipartBody7376042140531139213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999903322,"filename":"image_07112025_21_20_21_1716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827681","file1":"1399827675","file0":"1399827666","file4":"1399827683","file5":"1399827686","file3":"1399827682"},"map_files_photo_id_array":[{"photo_id":"1399827686","filename":"file5"},{"photo_id":"1399827681","filename":"file2"},{"photo_id":"1399827683","filename":"file4"},{"photo_id":"1399827675","filename":"file1"},{"photo_id":"1399827666","filename":"file0"},{"photo_id":"1399827682","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399827686":["hashtag1","hashtag2"]},{"1399827683":["hashtag1","hashtag2"]},{"1399827682":["hashtag1","hashtag2"]},{"1399827681":["hashtag1","hashtag2"]},{"1399827675":["hashtag1","hashtag2"]},{"1399827666":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399827686, 1399827683, 1399827682, 1399827681, 1399827675, 1399827666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.585511922836304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:31:22.599848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_14_9660.jpg', '/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_24_9877.jpg', '/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_34_10061.jpg', '/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_45_10747.jpg', '/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_55_9628.jpg', '/home/pi/Desktop/images/17122025/20/04/image_17122025_20_04_25_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_14_9660.jpg
/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_24_9877.jpg
/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_34_10061.jpg
/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_45_10747.jpg
/home/pi/Desktop/images/17122025/20/03/image_17122025_20_03_55_9628.jpg
/home/pi/Desktop/images/17122025/20/04/image_17122025_20_04_25_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":["1399827702","1399827716","1399827719","1399827721","1399827718","1399827726"],"photo_ids_order":["1399827702","1399827716","1399827718","1399827719","1399827721","1399827726"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c542ab104ac4fc986e7a7163fe0e6b5.jpg","text":"TemporaryFile(/tmp/multipartBody7229258130455184391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999943822,"filename":"image_17122025_20_03_14_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb7e59efb13f225e48bf64661ca81e04.jpg","text":"TemporaryFile(/tmp/multipartBody4051950530664028727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999943822,"filename":"image_17122025_20_03_24_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c49c0c5ad17486464efe1a7b9b117401.jpg","text":"TemporaryFile(/tmp/multipartBody5752878813093542451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999943822,"filename":"image_17122025_20_03_45_10747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e51cbcb8f4b0f3f5040cd157b5cc6dee.jpg","text":"TemporaryFile(/tmp/multipartBody3160637143175849441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999943822,"filename":"image_17122025_20_03_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f105652b865359c203d1a6d17f03eaad.jpg","text":"TemporaryFile(/tmp/multipartBody4359948378640221220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999943822,"filename":"image_17122025_20_03_34_10061.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4eead23e631e679ce4c872cb2ad86a4f.jpg","text":"TemporaryFile(/tmp/multipartBody6008056197806510750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1765999943822,"filename":"image_17122025_20_04_25_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827718","file1":"1399827716","file0":"1399827702","file4":"1399827721","file5":"1399827726","file3":"1399827719"},"map_files_photo_id_array":[{"photo_id":"1399827726","filename":"file5"},{"photo_id":"1399827718","filename":"file2"},{"photo_id":"1399827721","filename":"file4"},{"photo_id":"1399827716","filename":"file1"},{"photo_id":"1399827702","filename":"file0"},{"photo_id":"1399827719","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827702":["hashtag1","hashtag2"]},{"1399827716":["hashtag1","hashtag2"]},{"1399827719":["hashtag1","hashtag2"]},{"1399827721":["hashtag1","hashtag2"]},{"1399827718":["hashtag1","hashtag2"]},{"1399827726":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827702, 1399827716, 1399827719, 1399827721, 1399827718, 1399827726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.841724157333374 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:32:11.774853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:32:21.902847
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/04/image_17122025_20_04_35_9686.jpg', '/home/pi/Desktop/images/17122025/20/04/image_17122025_20_04_44_9743.jpg', '/home/pi/Desktop/images/17122025/20/04/image_17122025_20_04_55_10638.jpg', '/home/pi/Desktop/images/17122025/20/04/image_17122025_20_05_05_9839.jpg', '/home/pi/Desktop/images/17122025/20/05/image_17122025_20_05_15_9821.jpg', '/home/pi/Desktop/images/17122025/20/05/image_17122025_20_05_34_9684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/04/image_17122025_20_04_35_9686.jpg
/home/pi/Desktop/images/17122025/20/04/image_17122025_20_04_44_9743.jpg
/home/pi/Desktop/images/17122025/20/04/image_17122025_20_04_55_10638.jpg
/home/pi/Desktop/images/17122025/20/04/image_17122025_20_05_05_9839.jpg
/home/pi/Desktop/images/17122025/20/05/image_17122025_20_05_15_9821.jpg
/home/pi/Desktop/images/17122025/20/05/image_17122025_20_05_34_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":["1399827743","1399827737","1399827731","1399827745","1399827748","1399827733"],"photo_ids_order":["1399827731","1399827733","1399827737","1399827743","1399827745","1399827748"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a96c17fba264a4ec7e15832e8f3058a0.jpg","text":"TemporaryFile(/tmp/multipartBody7404354188534776696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000002795,"filename":"image_17122025_20_05_05_9839.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9462cc11422764e4b9513afca66f8679.jpg","text":"TemporaryFile(/tmp/multipartBody2992921146177758156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000002795,"filename":"image_17122025_20_04_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e669602c149ae20293241382fb5892d.jpg","text":"TemporaryFile(/tmp/multipartBody7771906892466125010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000002795,"filename":"image_17122025_20_04_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/826913c41cf49b4f58750ed3d6a26691.jpg","text":"TemporaryFile(/tmp/multipartBody1786219103849885767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000002795,"filename":"image_17122025_20_05_15_9821.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4cf8b70e57e1b3f5a81aa201942a745.jpg","text":"TemporaryFile(/tmp/multipartBody4826055716632008479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000002795,"filename":"image_17122025_20_05_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4970ada992c717521dac8a0276c93b10.jpg","text":"TemporaryFile(/tmp/multipartBody6078545587313164939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000002795,"filename":"image_17122025_20_04_44_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827737","file1":"1399827733","file0":"1399827731","file4":"1399827745","file5":"1399827748","file3":"1399827743"},"map_files_photo_id_array":[{"photo_id":"1399827748","filename":"file5"},{"photo_id":"1399827737","filename":"file2"},{"photo_id":"1399827745","filename":"file4"},{"photo_id":"1399827733","filename":"file1"},{"photo_id":"1399827731","filename":"file0"},{"photo_id":"1399827743","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827743":["hashtag1","hashtag2"]},{"1399827737":["hashtag1","hashtag2"]},{"1399827731":["hashtag1","hashtag2"]},{"1399827745":["hashtag1","hashtag2"]},{"1399827748":["hashtag1","hashtag2"]},{"1399827733":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827743, 1399827737, 1399827731, 1399827745, 1399827748, 1399827733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23766303062439 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:33:02.797273
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/05/image_17122025_20_05_45_10670.jpg', '/home/pi/Desktop/images/17122025/20/05/image_17122025_20_05_55_9646.jpg', '/home/pi/Desktop/images/17122025/20/05/image_17122025_20_06_04_9788.jpg', '/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_14_9782.jpg', '/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_24_10011.jpg', '/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_34_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/05/image_17122025_20_05_45_10670.jpg
/home/pi/Desktop/images/17122025/20/05/image_17122025_20_05_55_9646.jpg
/home/pi/Desktop/images/17122025/20/05/image_17122025_20_06_04_9788.jpg
/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_14_9782.jpg
/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_24_10011.jpg
/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_34_9914.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827773","1399827767","1399827763","1399827769","1399827771","1399827765"],"photo_ids_order":["1399827763","1399827765","1399827767","1399827769","1399827771","1399827773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fbfa2766c846ebc16a163f9f573a5ca.jpg","text":"TemporaryFile(/tmp/multipartBody4688171535765269314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000043691,"filename":"image_17122025_20_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/2025/12/17/a2405e3f1810a1333f15b943425563c3.jpg","text":"TemporaryFile(/tmp/multipartBody5712577199222983365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000043691,"filename":"image_17122025_20_06_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc8191cd40bbe584ee025db03aaaf247.jpg","text":"TemporaryFile(/tmp/multipartBody366456697743399110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000043691,"filename":"image_17122025_20_05_45_10670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/225b39fc7394c84839dfebfbf56d5b05.jpg","text":"TemporaryFile(/tmp/multipartBody2467644818474313854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000043691,"filename":"image_17122025_20_06_14_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa8fed5af5963c2e07a57ad6fa098c44.jpg","text":"TemporaryFile(/tmp/multipartBody7883376294288375768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000043691,"filename":"image_17122025_20_06_24_10011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7063ae45a80a84e2fa8db96e5fdfc42.jpg","text":"TemporaryFile(/tmp/multipartBody1936654307970430949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000043691,"filename":"image_17122025_20_05_55_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827767","file1":"1399827765","file0":"1399827763","file4":"1399827771","file5":"1399827773","file3":"1399827769"},"map_files_photo_id_array":[{"photo_id":"1399827773","filename":"file5"},{"photo_id":"1399827767","filename":"file2"},{"photo_id":"1399827771","filename":"file4"},{"photo_id":"1399827765","filename":"file1"},{"photo_id":"1399827763","filename":"file0"},{"photo_id":"1399827769","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827773":["hashtag1","hashtag2"]},{"1399827767":["hashtag1","hashtag2"]},{"1399827763":["hashtag1","hashtag2"]},{"1399827769":["hashtag1","hashtag2"]},{"1399827771":["hashtag1","hashtag2"]},{"1399827765":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827773, 1399827767, 1399827763, 1399827769, 1399827771, 1399827765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.559075355529785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:33:42.065030
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_42_1856.jpg', '/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_45_1630.jpg', '/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_17_2758.jpg', '/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_19_2585.jpg', '/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_23_3688.jpg', '/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_35_12022.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_42_1856.jpg
/home/pi/Desktop/images/07112025/21/20/image_07112025_21_20_45_1630.jpg
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_17_2758.jpg
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_19_2585.jpg
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_23_3688.jpg
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_35_12022.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827785","1399827781","1399827784","1399827778","1399827786","1399827783"],"photo_ids_order":["1399827778","1399827781","1399827783","1399827784","1399827785","1399827786"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81852d29b773b1dbee1ecfcd8d0185b8.jpg","text":"TemporaryFile(/tmp/multipartBody1176928322137753479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000083069,"filename":"image_07112025_21_22_23_3688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac6971d17e1f59b27e55744b0f8fa57a.jpg","text":"TemporaryFile(/tmp/multipartBody5240274642300290001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000083069,"filename":"image_07112025_21_20_45_1630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0afa85c5a2a95cdc033a042135eaeab4.jpg","text":"TemporaryFile(/tmp/multipartBody5848045643786612795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000083069,"filename":"image_07112025_21_22_19_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41c6e0f7fcd4b64a508e135ba60ed959.jpg","text":"TemporaryFile(/tmp/multipartBody5526828827700640178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000083069,"filename":"image_07112025_21_20_42_1856.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2226a49866ae839478798de58a885058.jpg","text":"TemporaryFile(/tmp/multipartBody2845269753267338802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000083069,"filename":"image_07112025_21_22_35_12022.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a88aea94d49285b2a079a7259f40f973.jpg","text":"TemporaryFile(/tmp/multipartBody8913816042654264625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000083069,"filename":"image_07112025_21_22_17_2758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827783","file1":"1399827781","file0":"1399827778","file4":"1399827785","file5":"1399827786","file3":"1399827784"},"map_files_photo_id_array":[{"photo_id":"1399827786","filename":"file5"},{"photo_id":"1399827783","filename":"file2"},{"photo_id":"1399827785","filename":"file4"},{"photo_id":"1399827781","filename":"file1"},{"photo_id":"1399827778","filename":"file0"},{"photo_id":"1399827784","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399827785":["hashtag1","hashtag2"]},{"1399827781":["hashtag1","hashtag2"]},{"1399827784":["hashtag1","hashtag2"]},{"1399827778":["hashtag1","hashtag2"]},{"1399827786":["hashtag1","hashtag2"]},{"1399827783":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399827785, 1399827781, 1399827784, 1399827778, 1399827786, 1399827783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03305172920227 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:34:22.351123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_45_10898.jpg', '/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_55_9695.jpg', '/home/pi/Desktop/images/17122025/20/06/image_17122025_20_07_05_9727.jpg', '/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_14_9621.jpg', '/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_25_10888.jpg', '/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_35_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_45_10898.jpg
/home/pi/Desktop/images/17122025/20/06/image_17122025_20_06_55_9695.jpg
/home/pi/Desktop/images/17122025/20/06/image_17122025_20_07_05_9727.jpg
/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_14_9621.jpg
/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_25_10888.jpg
/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_35_9673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827791","1399827794","1399827796","1399827811","1399827808","1399827805"],"photo_ids_order":["1399827791","1399827794","1399827796","1399827805","1399827808","1399827811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/885702f318daf7d31ce85aca52280565.jpg","text":"TemporaryFile(/tmp/multipartBody1114572887173017352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000123359,"filename":"image_17122025_20_06_45_10898.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90214abbecbaf25824c1e119460c7ceb.jpg","text":"TemporaryFile(/tmp/multipartBody3861486449543934309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000123359,"filename":"image_17122025_20_06_55_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/598d6979b13404a63d16ced81d6fb65b.jpg","text":"TemporaryFile(/tmp/multipartBody7776320252008814530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000123359,"filename":"image_17122025_20_07_05_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7d02f9fb40e614964432276937433e15.jpg","text":"TemporaryFile(/tmp/multipartBody8206664402246810720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000123359,"filename":"image_17122025_20_07_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a79ae3fe1a47abe2da912671f5e0f248.jpg","text":"TemporaryFile(/tmp/multipartBody57758113791619762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000123359,"filename":"image_17122025_20_07_25_10888.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8a072d462c7e2c8950d25e0425d4b88.jpg","text":"TemporaryFile(/tmp/multipartBody5398433944348031032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000123359,"filename":"image_17122025_20_07_14_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827796","file1":"1399827794","file0":"1399827791","file4":"1399827808","file5":"1399827811","file3":"1399827805"},"map_files_photo_id_array":[{"photo_id":"1399827811","filename":"file5"},{"photo_id":"1399827796","filename":"file2"},{"photo_id":"1399827808","filename":"file4"},{"photo_id":"1399827794","filename":"file1"},{"photo_id":"1399827791","filename":"file0"},{"photo_id":"1399827805","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827791":["hashtag1","hashtag2"]},{"1399827794":["hashtag1","hashtag2"]},{"1399827796":["hashtag1","hashtag2"]},{"1399827811":["hashtag1","hashtag2"]},{"1399827808":["hashtag1","hashtag2"]},{"1399827805":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827791, 1399827794, 1399827796, 1399827811, 1399827808, 1399827805)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.59352254867554 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 10 --only_old 1
2025-12-17 20:35:12.537249
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:35:22.531266
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_45_9816.jpg', '/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_54_9690.jpg', '/home/pi/Desktop/images/17122025/20/07/image_17122025_20_08_05_10792.jpg', '/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_24_9690.jpg', '/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_34_9820.jpg', '/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_45_10837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_45_9816.jpg
/home/pi/Desktop/images/17122025/20/07/image_17122025_20_07_54_9690.jpg
/home/pi/Desktop/images/17122025/20/07/image_17122025_20_08_05_10792.jpg
/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_24_9690.jpg
/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_34_9820.jpg
/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_45_10837.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827833","1399827842","1399827830","1399827835","1399827829","1399827837"],"photo_ids_order":["1399827829","1399827830","1399827833","1399827835","1399827837","1399827842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95895ed702264747a2da1eddcbb09dfd.jpg","text":"TemporaryFile(/tmp/multipartBody5015825843186542000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000183569,"filename":"image_17122025_20_08_05_10792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87f3327a4c106d66ab09857c00570ee4.jpg","text":"TemporaryFile(/tmp/multipartBody7279233656275167137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000183569,"filename":"image_17122025_20_08_45_10837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c464f2ab335db86a5b938b0dab6e8747.jpg","text":"TemporaryFile(/tmp/multipartBody2831155426688243060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000183569,"filename":"image_17122025_20_07_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7c6dd74df2b2f5a8babe45e522d0b3f.jpg","text":"TemporaryFile(/tmp/multipartBody7529747351138431501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000183569,"filename":"image_17122025_20_08_24_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d43aaf9d6c10ace78b01b46fe08f3dec.jpg","text":"TemporaryFile(/tmp/multipartBody3797237876001412557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000183569,"filename":"image_17122025_20_07_45_9816.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef30ec3809f16f8b524ec9566a69ed53.jpg","text":"TemporaryFile(/tmp/multipartBody1013921451338665217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000183569,"filename":"image_17122025_20_08_34_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827833","file1":"1399827830","file0":"1399827829","file4":"1399827837","file5":"1399827842","file3":"1399827835"},"map_files_photo_id_array":[{"photo_id":"1399827842","filename":"file5"},{"photo_id":"1399827833","filename":"file2"},{"photo_id":"1399827837","filename":"file4"},{"photo_id":"1399827830","filename":"file1"},{"photo_id":"1399827829","filename":"file0"},{"photo_id":"1399827835","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827833":["hashtag1","hashtag2"]},{"1399827842":["hashtag1","hashtag2"]},{"1399827830":["hashtag1","hashtag2"]},{"1399827835":["hashtag1","hashtag2"]},{"1399827829":["hashtag1","hashtag2"]},{"1399827837":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827833, 1399827842, 1399827830, 1399827835, 1399827829, 1399827837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.03400254249573 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:36:03.099352
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_55_9699.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_14_9887.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_24_9876.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_44_9625.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_54_9784.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_10_05_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_55_9699.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_14_9887.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_24_9876.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_44_9625.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_54_9784.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_10_05_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.7624790668487549 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:36:12.663306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:36:22.733144
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_55_9699.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_14_9887.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_24_9876.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_44_9625.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_54_9784.jpg', '/home/pi/Desktop/images/17122025/20/09/image_17122025_20_10_05_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/08/image_17122025_20_08_55_9699.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_14_9887.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_24_9876.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_44_9625.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_09_54_9784.jpg
/home/pi/Desktop/images/17122025/20/09/image_17122025_20_10_05_10763.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827863","1399827866","1399827857","1399827853","1399827861","1399827855"],"photo_ids_order":["1399827853","1399827855","1399827857","1399827861","1399827863","1399827866"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a5c81b5bf3511f35e1cc13d49e70232.jpg","text":"TemporaryFile(/tmp/multipartBody7867383205357120071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000243763,"filename":"image_17122025_20_09_54_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1879070000fe0b9fec59b574a0e6329d.jpg","text":"TemporaryFile(/tmp/multipartBody3323658135094227188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000243763,"filename":"image_17122025_20_10_05_10763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80bc763adbecd9a0fa1557cc19f0a412.jpg","text":"TemporaryFile(/tmp/multipartBody6292459723371900813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000243763,"filename":"image_17122025_20_09_24_9876.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/804e11fb91284914266a18ce04e3f6c2.jpg","text":"TemporaryFile(/tmp/multipartBody8740807632510230880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000243763,"filename":"image_17122025_20_08_55_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd3d133eaecffed510591914f8655374.jpg","text":"TemporaryFile(/tmp/multipartBody5733974991130477027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000243763,"filename":"image_17122025_20_09_44_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1bf9455ab039f9d45ac48a421fd5f8e.jpg","text":"TemporaryFile(/tmp/multipartBody6527505347086932762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000243763,"filename":"image_17122025_20_09_14_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827857","file1":"1399827855","file0":"1399827853","file4":"1399827863","file5":"1399827866","file3":"1399827861"},"map_files_photo_id_array":[{"photo_id":"1399827866","filename":"file5"},{"photo_id":"1399827857","filename":"file2"},{"photo_id":"1399827863","filename":"file4"},{"photo_id":"1399827855","filename":"file1"},{"photo_id":"1399827853","filename":"file0"},{"photo_id":"1399827861","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827863":["hashtag1","hashtag2"]},{"1399827866":["hashtag1","hashtag2"]},{"1399827857":["hashtag1","hashtag2"]},{"1399827853":["hashtag1","hashtag2"]},{"1399827861":["hashtag1","hashtag2"]},{"1399827855":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827863, 1399827866, 1399827857, 1399827853, 1399827861, 1399827855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60904026031494 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:37:02.501268
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_15_9699.jpg', '/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_25_10375.jpg', '/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_35_9649.jpg', '/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_44_9678.jpg', '/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_54_9754.jpg', '/home/pi/Desktop/images/17122025/20/10/image_17122025_20_11_05_10618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_15_9699.jpg
/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_25_10375.jpg
/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_35_9649.jpg
/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_44_9678.jpg
/home/pi/Desktop/images/17122025/20/10/image_17122025_20_10_54_9754.jpg
/home/pi/Desktop/images/17122025/20/10/image_17122025_20_11_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
 val : 1 : upload photos already in processing! 
<Response [200]>
b'{"photo_ids":["1399827878","1399827872","1399827874","1399827868","1399827876","1399827870"],"photo_ids_order":["1399827868","1399827870","1399827872","1399827874","1399827876","1399827878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b7780a0e34c52ecf66ee900d0af9899.jpg","text":"TemporaryFile(/tmp/multipartBody6775616091305628925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000283374,"filename":"image_17122025_20_11_05_10618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21b9293601cd91decaca64218284176d.jpg","text":"TemporaryFile(/tmp/multipartBody6504441561990104824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000283374,"filename":"image_17122025_20_10_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82d3e92f0b0e08952f2275195f894abe.jpg","text":"TemporaryFile(/tmp/multipartBody4967262462369905264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000283374,"filename":"image_17122025_20_10_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf3ba28f8a951cdeec110299fe4fafa2.jpg","text":"TemporaryFile(/tmp/multipartBody2777428790963767252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000283374,"filename":"image_17122025_20_10_15_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb7d8aa6fc35b9ecdd21ddf68771a148.jpg","text":"TemporaryFile(/tmp/multipartBody5079103165150780824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000283374,"filename":"image_17122025_20_10_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/850dc8067c9d7a9d57e330f35e9194a2.jpg","text":"TemporaryFile(/tmp/multipartBody1299528507831440759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000283374,"filename":"image_17122025_20_10_25_10375.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827872","file1":"1399827870","file0":"1399827868","file4":"1399827876","file5":"1399827878","file3":"1399827874"},"map_files_photo_id_array":[{"photo_id":"1399827878","filename":"file5"},{"photo_id":"1399827872","filename":"file2"},{"photo_id":"1399827876","filename":"file4"},{"photo_id":"1399827870","filename":"file1"},{"photo_id":"1399827868","filename":"file0"},{"photo_id":"1399827874","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827878":["hashtag1","hashtag2"]},{"1399827872":["hashtag1","hashtag2"]},{"1399827874":["hashtag1","hashtag2"]},{"1399827868":["hashtag1","hashtag2"]},{"1399827876":["hashtag1","hashtag2"]},{"1399827870":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827878, 1399827872, 1399827874, 1399827868, 1399827876, 1399827870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.775532484054565 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:38:02.523225
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/11/image_17122025_20_11_14_9654.jpg', '/home/pi/Desktop/images/17122025/20/11/image_17122025_20_11_35_10926.jpg', '/home/pi/Desktop/images/17122025/20/11/image_17122025_20_11_45_9709.jpg', '/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_15_9633.jpg', '/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_25_9744.jpg', '/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_34_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/11/image_17122025_20_11_14_9654.jpg
/home/pi/Desktop/images/17122025/20/11/image_17122025_20_11_35_10926.jpg
/home/pi/Desktop/images/17122025/20/11/image_17122025_20_11_45_9709.jpg
/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_15_9633.jpg
/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_25_9744.jpg
/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_34_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":["1399827884","1399827905","1399827886","1399827907","1399827897","1399827904"],"photo_ids_order":["1399827884","1399827886","1399827897","1399827904","1399827905","1399827907"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5d539dbf02f4f43228d47f305185bfa.jpg","text":"TemporaryFile(/tmp/multipartBody4771083289000615550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000343389,"filename":"image_17122025_20_11_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/324ac76679828a82885011cbec14a986.jpg","text":"TemporaryFile(/tmp/multipartBody7267249490171806247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000343389,"filename":"image_17122025_20_12_25_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74f61e2017dc73bb099d1601a6b7be24.jpg","text":"TemporaryFile(/tmp/multipartBody1308818716431315277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000343389,"filename":"image_17122025_20_11_35_10926.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52d0acbf9e3dc0e4cfbe3a2bcc085333.jpg","text":"TemporaryFile(/tmp/multipartBody6716327514593842311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000343389,"filename":"image_17122025_20_12_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c076da25eb955d09d61683b9fdfa2717.jpg","text":"TemporaryFile(/tmp/multipartBody135591263623034910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000343389,"filename":"image_17122025_20_11_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53220bea3c14ec75ccbb9dcf6eafafb2.jpg","text":"TemporaryFile(/tmp/multipartBody7009498857701619017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000343389,"filename":"image_17122025_20_12_15_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827897","file1":"1399827886","file0":"1399827884","file4":"1399827905","file5":"1399827907","file3":"1399827904"},"map_files_photo_id_array":[{"photo_id":"1399827907","filename":"file5"},{"photo_id":"1399827897","filename":"file2"},{"photo_id":"1399827905","filename":"file4"},{"photo_id":"1399827886","filename":"file1"},{"photo_id":"1399827884","filename":"file0"},{"photo_id":"1399827904","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827884":["hashtag1","hashtag2"]},{"1399827905":["hashtag1","hashtag2"]},{"1399827886":["hashtag1","hashtag2"]},{"1399827907":["hashtag1","hashtag2"]},{"1399827897":["hashtag1","hashtag2"]},{"1399827904":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827884, 1399827905, 1399827886, 1399827907, 1399827897, 1399827904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17537021636963 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:38:42.095469
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_39_4425.jpg', '/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_41_1631.jpg', '/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_44_1701.jpg', '/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_48_1647.jpg', '/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_53_1563.jpg', '/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_55_2568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_39_4425.jpg
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_41_1631.jpg
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_44_1701.jpg
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_48_1647.jpg
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_53_1563.jpg
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_55_2568.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827927","1399827915","1399827926","1399827920","1399827925","1399827918"],"photo_ids_order":["1399827915","1399827918","1399827920","1399827925","1399827926","1399827927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aadbb6d5f0204bf7271682b5d5b706f1.jpg","text":"TemporaryFile(/tmp/multipartBody6278627917986732015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000383103,"filename":"image_07112025_21_22_55_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8975137a20a58d4cbf6920bbe4c9982c.jpg","text":"TemporaryFile(/tmp/multipartBody4160617241900003045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000383103,"filename":"image_07112025_21_22_39_4425.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09e2a4fe9f0d0fc9614483f021f1afe5.jpg","text":"TemporaryFile(/tmp/multipartBody6191709809825151424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000383103,"filename":"image_07112025_21_22_53_1563.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21579165d489ebe4cc17125ad84ca76f.jpg","text":"TemporaryFile(/tmp/multipartBody6785228011968367575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000383103,"filename":"image_07112025_21_22_44_1701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2743607677e54e21f1797521e163b17b.jpg","text":"TemporaryFile(/tmp/multipartBody2011655554883462935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000383103,"filename":"image_07112025_21_22_48_1647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f39fa65b649e7f120cf03a77d04e68ac.jpg","text":"TemporaryFile(/tmp/multipartBody7726653486990175942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000383103,"filename":"image_07112025_21_22_41_1631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827920","file1":"1399827918","file0":"1399827915","file4":"1399827926","file5":"1399827927","file3":"1399827925"},"map_files_photo_id_array":[{"photo_id":"1399827927","filename":"file5"},{"photo_id":"1399827920","filename":"file2"},{"photo_id":"1399827926","filename":"file4"},{"photo_id":"1399827918","filename":"file1"},{"photo_id":"1399827915","filename":"file0"},{"photo_id":"1399827925","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399827927":["hashtag1","hashtag2"]},{"1399827915":["hashtag1","hashtag2"]},{"1399827926":["hashtag1","hashtag2"]},{"1399827920":["hashtag1","hashtag2"]},{"1399827925":["hashtag1","hashtag2"]},{"1399827918":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399827927, 1399827915, 1399827926, 1399827920, 1399827925, 1399827918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.46346616744995 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:39:22.428456
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_45_10659.jpg', '/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_55_9798.jpg', '/home/pi/Desktop/images/17122025/20/12/image_17122025_20_13_05_9827.jpg', '/home/pi/Desktop/images/17122025/20/13/image_17122025_20_13_14_9775.jpg', '/home/pi/Desktop/images/17122025/20/13/image_17122025_20_13_35_9695.jpg', '/home/pi/Desktop/images/17122025/20/13/image_17122025_20_13_54_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_45_10659.jpg
/home/pi/Desktop/images/17122025/20/12/image_17122025_20_12_55_9798.jpg
/home/pi/Desktop/images/17122025/20/12/image_17122025_20_13_05_9827.jpg
/home/pi/Desktop/images/17122025/20/13/image_17122025_20_13_14_9775.jpg
/home/pi/Desktop/images/17122025/20/13/image_17122025_20_13_35_9695.jpg
/home/pi/Desktop/images/17122025/20/13/image_17122025_20_13_54_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":["1399827932","1399827937","1399827934","1399827942","1399827939","1399827930"],"photo_ids_order":["1399827930","1399827932","1399827934","1399827937","1399827939","1399827942"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5effb82a33693aba294ed512374773c3.jpg","text":"TemporaryFile(/tmp/multipartBody256340725890480126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000423504,"filename":"image_17122025_20_12_55_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19f2fc7cc3ec9f800053f7294aae119b.jpg","text":"TemporaryFile(/tmp/multipartBody1767745387466996487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000423504,"filename":"image_17122025_20_13_14_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4babd929d7b9ec27d933f704eb6d9c8a.jpg","text":"TemporaryFile(/tmp/multipartBody630245846762021162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000423504,"filename":"image_17122025_20_13_05_9827.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffa2db0fb28ff22897dd87868482d994.jpg","text":"TemporaryFile(/tmp/multipartBody7808435633371687675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000423504,"filename":"image_17122025_20_13_54_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e483face5c113f508340fbe39b240900.jpg","text":"TemporaryFile(/tmp/multipartBody6048964518408145833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000423504,"filename":"image_17122025_20_13_35_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a1fce5dbd2c5599a346785a9898d872.jpg","text":"TemporaryFile(/tmp/multipartBody8531495035424689746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000423504,"filename":"image_17122025_20_12_45_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827934","file1":"1399827932","file0":"1399827930","file4":"1399827939","file5":"1399827942","file3":"1399827937"},"map_files_photo_id_array":[{"photo_id":"1399827942","filename":"file5"},{"photo_id":"1399827934","filename":"file2"},{"photo_id":"1399827939","filename":"file4"},{"photo_id":"1399827932","filename":"file1"},{"photo_id":"1399827930","filename":"file0"},{"photo_id":"1399827937","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827932":["hashtag1","hashtag2"]},{"1399827937":["hashtag1","hashtag2"]},{"1399827934":["hashtag1","hashtag2"]},{"1399827942":["hashtag1","hashtag2"]},{"1399827939":["hashtag1","hashtag2"]},{"1399827930":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827932, 1399827937, 1399827934, 1399827942, 1399827939, 1399827930)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 42.29909539222717 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:40:12.553630
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:40:22.541628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/13/image_17122025_20_14_05_10679.jpg', '/home/pi/Desktop/images/17122025/20/14/image_17122025_20_14_24_9734.jpg', '/home/pi/Desktop/images/17122025/20/14/image_17122025_20_14_34_9852.jpg', '/home/pi/Desktop/images/17122025/20/14/image_17122025_20_14_45_10712.jpg', '/home/pi/Desktop/images/17122025/20/14/image_17122025_20_14_55_9910.jpg', '/home/pi/Desktop/images/17122025/20/14/image_17122025_20_15_05_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/13/image_17122025_20_14_05_10679.jpg
/home/pi/Desktop/images/17122025/20/14/image_17122025_20_14_24_9734.jpg
/home/pi/Desktop/images/17122025/20/14/image_17122025_20_14_34_9852.jpg
/home/pi/Desktop/images/17122025/20/14/image_17122025_20_14_45_10712.jpg
/home/pi/Desktop/images/17122025/20/14/image_17122025_20_14_55_9910.jpg
/home/pi/Desktop/images/17122025/20/14/image_17122025_20_15_05_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":["1399827950","1399827947","1399827982","1399827952","1399827954","1399827963"],"photo_ids_order":["1399827947","1399827950","1399827952","1399827954","1399827963","1399827982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c67623e41cf97e431cf573b581177bc.jpg","text":"TemporaryFile(/tmp/multipartBody1596139817334939083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000483598,"filename":"image_17122025_20_14_24_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c6309a4a83989a2a0231556a4ae07aef.jpg","text":"TemporaryFile(/tmp/multipartBody5504677991299684457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000483598,"filename":"image_17122025_20_14_05_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ba3f8d8f12d73a11e490679daa08182.jpg","text":"TemporaryFile(/tmp/multipartBody1758493613441362866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000483598,"filename":"image_17122025_20_15_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d664b8725dd0d2c1bbec2531b8fcd23.jpg","text":"TemporaryFile(/tmp/multipartBody9115591823434846470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000483598,"filename":"image_17122025_20_14_34_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31cf35f666bcb34bec095858ae18b0ac.jpg","text":"TemporaryFile(/tmp/multipartBody1071189916065107126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000483598,"filename":"image_17122025_20_14_45_10712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc004fd087c8371a8ca4bd579873a312.jpg","text":"TemporaryFile(/tmp/multipartBody1898055369563279810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000483598,"filename":"image_17122025_20_14_55_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827952","file1":"1399827950","file0":"1399827947","file4":"1399827963","file5":"1399827982","file3":"1399827954"},"map_files_photo_id_array":[{"photo_id":"1399827982","filename":"file5"},{"photo_id":"1399827952","filename":"file2"},{"photo_id":"1399827963","filename":"file4"},{"photo_id":"1399827950","filename":"file1"},{"photo_id":"1399827947","filename":"file0"},{"photo_id":"1399827954","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827950":["hashtag1","hashtag2"]},{"1399827947":["hashtag1","hashtag2"]},{"1399827982":["hashtag1","hashtag2"]},{"1399827952":["hashtag1","hashtag2"]},{"1399827954":["hashtag1","hashtag2"]},{"1399827963":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827950, 1399827947, 1399827982, 1399827952, 1399827954, 1399827963)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42426776885986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:41:03.305652
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/15/image_17122025_20_15_14_9736.jpg', '/home/pi/Desktop/images/17122025/20/15/image_17122025_20_15_24_9826.jpg', '/home/pi/Desktop/images/17122025/20/15/image_17122025_20_15_35_10667.jpg', '/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_15_9650.jpg', '/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_24_9764.jpg', '/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_35_10361.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/15/image_17122025_20_15_14_9736.jpg
/home/pi/Desktop/images/17122025/20/15/image_17122025_20_15_24_9826.jpg
/home/pi/Desktop/images/17122025/20/15/image_17122025_20_15_35_10667.jpg
/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_15_9650.jpg
/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_24_9764.jpg
/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_35_10361.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399827992","1399827991","1399827994","1399828000","1399827990","1399827993"],"photo_ids_order":["1399827990","1399827991","1399827992","1399827993","1399827994","1399828000"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7beea826168c325e1d0c8afe1495e543.jpg","text":"TemporaryFile(/tmp/multipartBody5993667240331217690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000524206,"filename":"image_17122025_20_15_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e2d8ea992fd2dd2acbab65d5c9cd9c6.jpg","text":"TemporaryFile(/tmp/multipartBody5260797641149098049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000524206,"filename":"image_17122025_20_15_24_9826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5bb370e02672543503bc0f7d9814b3e.jpg","text":"TemporaryFile(/tmp/multipartBody6109882514893633584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000524206,"filename":"image_17122025_20_16_24_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b8a7b3f174ba9b8ec7954d3bfab47ad.jpg","text":"TemporaryFile(/tmp/multipartBody5418097032943911931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000524206,"filename":"image_17122025_20_16_35_10361.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d61c6e0a0ebecb9d088ec69a2bccca9.jpg","text":"TemporaryFile(/tmp/multipartBody9031294353789929105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000524206,"filename":"image_17122025_20_15_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19fda6604a1f48ba444864835aa18b3b.jpg","text":"TemporaryFile(/tmp/multipartBody7528382733055976409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000524206,"filename":"image_17122025_20_16_15_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399827992","file1":"1399827991","file0":"1399827990","file4":"1399827994","file5":"1399828000","file3":"1399827993"},"map_files_photo_id_array":[{"photo_id":"1399828000","filename":"file5"},{"photo_id":"1399827992","filename":"file2"},{"photo_id":"1399827994","filename":"file4"},{"photo_id":"1399827991","filename":"file1"},{"photo_id":"1399827990","filename":"file0"},{"photo_id":"1399827993","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399827992":["hashtag1","hashtag2"]},{"1399827991":["hashtag1","hashtag2"]},{"1399827994":["hashtag1","hashtag2"]},{"1399828000":["hashtag1","hashtag2"]},{"1399827990":["hashtag1","hashtag2"]},{"1399827993":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399827992, 1399827991, 1399827994, 1399828000, 1399827990, 1399827993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36892914772034 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:41:42.785309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_59_3689.jpg', '/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_02_2698.jpg', '/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_04_2696.jpg', '/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_07_2792.jpg', '/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_11_3572.jpg', '/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_27_16366.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/22/image_07112025_21_22_59_3689.jpg
/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_02_2698.jpg
/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_04_2696.jpg
/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_07_2792.jpg
/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_11_3572.jpg
/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_27_16366.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399828043","1399828013","1399828136","1399828095","1399828017","1399828169"],"photo_ids_order":["1399828013","1399828017","1399828043","1399828095","1399828136","1399828169"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e7479b02f7d68ce34d3ded6b49d5083.jpg","text":"TemporaryFile(/tmp/multipartBody4744353311038626888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000563793,"filename":"image_07112025_21_23_04_2696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37e50882ded87f2b7f922eaa83abb30b.jpg","text":"TemporaryFile(/tmp/multipartBody1419298400505996273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000563793,"filename":"image_07112025_21_22_59_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d3a3350abd542e63506de7d7ac45817.jpg","text":"TemporaryFile(/tmp/multipartBody955227452885528101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000563793,"filename":"image_07112025_21_23_11_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b08276c137a06b33ffa5d1ad917179a.jpg","text":"TemporaryFile(/tmp/multipartBody8267150782321294645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000563793,"filename":"image_07112025_21_23_07_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba4de5f037afa04c636fa4bf9f898ae6.jpg","text":"TemporaryFile(/tmp/multipartBody3446226556955517429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000563793,"filename":"image_07112025_21_23_02_2698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c31afcf65469040e8304edb01e2954b2.jpg","text":"TemporaryFile(/tmp/multipartBody5267804958878774054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000563793,"filename":"image_07112025_21_23_27_16366.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399828043","file1":"1399828017","file0":"1399828013","file4":"1399828136","file5":"1399828169","file3":"1399828095"},"map_files_photo_id_array":[{"photo_id":"1399828169","filename":"file5"},{"photo_id":"1399828043","filename":"file2"},{"photo_id":"1399828136","filename":"file4"},{"photo_id":"1399828017","filename":"file1"},{"photo_id":"1399828013","filename":"file0"},{"photo_id":"1399828095","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399828043":["hashtag1","hashtag2"]},{"1399828013":["hashtag1","hashtag2"]},{"1399828136":["hashtag1","hashtag2"]},{"1399828095":["hashtag1","hashtag2"]},{"1399828017":["hashtag1","hashtag2"]},{"1399828169":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399828043, 1399828013, 1399828136, 1399828095, 1399828017, 1399828169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.37560749053955 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:42:22.079843
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_54_9840.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_15_9875.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_25_9667.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_34_9710.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_45_10713.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_55_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_54_9840.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_15_9875.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_25_9667.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_34_9710.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_45_10713.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_55_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.9668097496032715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:42:32.163306
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:42:44.838267
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_59_32152.jpg', '/home/pi/Desktop/images/07112025/21/24/image_07112025_21_24_01_1694.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_10_3635.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_13_2845.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_16_2516.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_19_3673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/23/image_07112025_21_23_59_32152.jpg
/home/pi/Desktop/images/07112025/21/24/image_07112025_21_24_01_1694.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_10_3635.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_13_2845.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_16_2516.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_19_3673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399828226","1399828334","1399828301","1399828333","1399828204","1399828263"],"photo_ids_order":["1399828204","1399828226","1399828263","1399828301","1399828333","1399828334"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06f5ce5c183ffc9253759b603759dc09.jpg","text":"TemporaryFile(/tmp/multipartBody7976811460711752448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000625857,"filename":"image_07112025_21_24_01_1694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c213d9cedd88aa98419530b34556d0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2457801182003228049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000625857,"filename":"image_07112025_21_25_19_3673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69d463d62103cbce636d4e1a7063f001.jpg","text":"TemporaryFile(/tmp/multipartBody1992630621246660433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000625857,"filename":"image_07112025_21_25_13_2845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9331da2a6861bb0d1a4adc0fca01099.jpg","text":"TemporaryFile(/tmp/multipartBody8689568534440067773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000625857,"filename":"image_07112025_21_25_16_2516.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e18448e3ec4cbfbca5441907cd044ea.jpg","text":"TemporaryFile(/tmp/multipartBody2240505497957266254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000625857,"filename":"image_07112025_21_23_59_32152.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26adf795a4a2a4df1fbc4a96e21f8887.jpg","text":"TemporaryFile(/tmp/multipartBody2586014676598116160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000625857,"filename":"image_07112025_21_25_10_3635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399828263","file1":"1399828226","file0":"1399828204","file4":"1399828333","file5":"1399828334","file3":"1399828301"},"map_files_photo_id_array":[{"photo_id":"1399828334","filename":"file5"},{"photo_id":"1399828263","filename":"file2"},{"photo_id":"1399828333","filename":"file4"},{"photo_id":"1399828226","filename":"file1"},{"photo_id":"1399828204","filename":"file0"},{"photo_id":"1399828301","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399828226":["hashtag1","hashtag2"]},{"1399828334":["hashtag1","hashtag2"]},{"1399828301":["hashtag1","hashtag2"]},{"1399828333":["hashtag1","hashtag2"]},{"1399828204":["hashtag1","hashtag2"]},{"1399828263":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399828226, 1399828334, 1399828301, 1399828333, 1399828204, 1399828263)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83468246459961 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:43:22.111221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_54_9840.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_15_9875.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_25_9667.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_34_9710.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_45_10713.jpg', '/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_55_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/16/image_17122025_20_16_54_9840.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_15_9875.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_25_9667.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_34_9710.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_45_10713.jpg
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_17_55_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":["1399828396","1399828400","1399828369","1399828398","1399828371","1399828388"],"photo_ids_order":["1399828369","1399828371","1399828388","1399828396","1399828398","1399828400"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cebf4157fc7f9773afd6829d46cca6da.jpg","text":"TemporaryFile(/tmp/multipartBody6566951083616814579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000663251,"filename":"image_17122025_20_17_34_9710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8efa2f315cabb3cf95d607da48b653ed.jpg","text":"TemporaryFile(/tmp/multipartBody1536153060227611687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000663251,"filename":"image_17122025_20_17_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ae908868ef0d8a6e1685521af336812.jpg","text":"TemporaryFile(/tmp/multipartBody4198522971624445561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000663251,"filename":"image_17122025_20_16_54_9840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e056bfd7a0ebbbe1e9852720739a3178.jpg","text":"TemporaryFile(/tmp/multipartBody3803485032272951813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000663251,"filename":"image_17122025_20_17_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a5739221d42015263ad38948f861d1c.jpg","text":"TemporaryFile(/tmp/multipartBody2843732147655393314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000663251,"filename":"image_17122025_20_17_15_9875.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/823a1cf7b7ce267d3c18e7f5c79421b6.jpg","text":"TemporaryFile(/tmp/multipartBody5255190755299243018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000663251,"filename":"image_17122025_20_17_25_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399828388","file1":"1399828371","file0":"1399828369","file4":"1399828398","file5":"1399828400","file3":"1399828396"},"map_files_photo_id_array":[{"photo_id":"1399828400","filename":"file5"},{"photo_id":"1399828388","filename":"file2"},{"photo_id":"1399828398","filename":"file4"},{"photo_id":"1399828371","filename":"file1"},{"photo_id":"1399828369","filename":"file0"},{"photo_id":"1399828396","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399828396":["hashtag1","hashtag2"]},{"1399828400":["hashtag1","hashtag2"]},{"1399828369":["hashtag1","hashtag2"]},{"1399828398":["hashtag1","hashtag2"]},{"1399828371":["hashtag1","hashtag2"]},{"1399828388":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399828396, 1399828400, 1399828369, 1399828398, 1399828371, 1399828388)","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.40397834777832 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:44:22.289160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/17/image_17122025_20_18_04_9749.jpg', '/home/pi/Desktop/images/17122025/20/18/image_17122025_20_18_14_9716.jpg', '/home/pi/Desktop/images/17122025/20/18/image_17122025_20_18_35_9750.jpg', '/home/pi/Desktop/images/17122025/20/18/image_17122025_20_18_54_9804.jpg', '/home/pi/Desktop/images/17122025/20/18/image_17122025_20_19_05_10841.jpg', '/home/pi/Desktop/images/17122025/20/19/image_17122025_20_19_25_9799.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/17/image_17122025_20_18_04_9749.jpg
/home/pi/Desktop/images/17122025/20/18/image_17122025_20_18_14_9716.jpg
/home/pi/Desktop/images/17122025/20/18/image_17122025_20_18_35_9750.jpg
/home/pi/Desktop/images/17122025/20/18/image_17122025_20_18_54_9804.jpg
/home/pi/Desktop/images/17122025/20/18/image_17122025_20_19_05_10841.jpg
/home/pi/Desktop/images/17122025/20/19/image_17122025_20_19_25_9799.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399828475","1399828463","1399828480","1399828465","1399828461","1399828478"],"photo_ids_order":["1399828461","1399828463","1399828465","1399828475","1399828478","1399828480"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7aa6ec2668f51e97c1e30c6fa91a94d4.jpg","text":"TemporaryFile(/tmp/multipartBody970125839045762742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000723401,"filename":"image_17122025_20_18_54_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5837c225c446b0a84abf612e128d91cf.jpg","text":"TemporaryFile(/tmp/multipartBody7494355096005485838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000723401,"filename":"image_17122025_20_18_14_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/007fe6ef50b45a2f0b9a2a5fff018d67.jpg","text":"TemporaryFile(/tmp/multipartBody5083596827132790586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000723401,"filename":"image_17122025_20_19_25_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eef518032b844bf56811956e1adb67b6.jpg","text":"TemporaryFile(/tmp/multipartBody7960577250240084651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000723401,"filename":"image_17122025_20_18_35_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2be37cbd350739224a41f256b1acce0d.jpg","text":"TemporaryFile(/tmp/multipartBody3400643769929887683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000723401,"filename":"image_17122025_20_18_04_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00369d3d9d096d8e10e026f7cfba45af.jpg","text":"TemporaryFile(/tmp/multipartBody1252564006604048822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000723401,"filename":"image_17122025_20_19_05_10841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399828465","file1":"1399828463","file0":"1399828461","file4":"1399828478","file5":"1399828480","file3":"1399828475"},"map_files_photo_id_array":[{"photo_id":"1399828480","filename":"file5"},{"photo_id":"1399828465","filename":"file2"},{"photo_id":"1399828478","filename":"file4"},{"photo_id":"1399828463","filename":"file1"},{"photo_id":"1399828461","filename":"file0"},{"photo_id":"1399828475","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399828475":["hashtag1","hashtag2"]},{"1399828463":["hashtag1","hashtag2"]},{"1399828480":["hashtag1","hashtag2"]},{"1399828465":["hashtag1","hashtag2"]},{"1399828461":["hashtag1","hashtag2"]},{"1399828478":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399828475, 1399828463, 1399828480, 1399828465, 1399828461, 1399828478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.27908372879028 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 10 --only_old 1
2025-12-17 20:45:12.057999
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:45:22.173552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/19/image_17122025_20_19_45_10571.jpg', '/home/pi/Desktop/images/17122025/20/19/image_17122025_20_19_54_9634.jpg', '/home/pi/Desktop/images/17122025/20/19/image_17122025_20_20_04_9731.jpg', '/home/pi/Desktop/images/17122025/20/20/image_17122025_20_20_15_10727.jpg', '/home/pi/Desktop/images/17122025/20/20/image_17122025_20_20_25_9684.jpg', '/home/pi/Desktop/images/17122025/20/20/image_17122025_20_20_34_9603.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/19/image_17122025_20_19_45_10571.jpg
/home/pi/Desktop/images/17122025/20/19/image_17122025_20_19_54_9634.jpg
/home/pi/Desktop/images/17122025/20/19/image_17122025_20_20_04_9731.jpg
/home/pi/Desktop/images/17122025/20/20/image_17122025_20_20_15_10727.jpg
/home/pi/Desktop/images/17122025/20/20/image_17122025_20_20_25_9684.jpg
/home/pi/Desktop/images/17122025/20/20/image_17122025_20_20_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":["1399828492","1399828486","1399828494","1399828488","1399828506","1399828490"],"photo_ids_order":["1399828486","1399828488","1399828490","1399828492","1399828494","1399828506"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb848c24490f0e307aececf6494b6018.jpg","text":"TemporaryFile(/tmp/multipartBody7856311734852553280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000783335,"filename":"image_17122025_20_20_15_10727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b271098d7fb129368120dac6bad0c938.jpg","text":"TemporaryFile(/tmp/multipartBody164193993860087852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000783335,"filename":"image_17122025_20_19_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92056bcb653eb79d1459fbe299bf8f04.jpg","text":"TemporaryFile(/tmp/multipartBody9210054379878510774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000783335,"filename":"image_17122025_20_20_25_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a01b8ab24113d0023675115deb6cd05.jpg","text":"TemporaryFile(/tmp/multipartBody8127592030299964851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000783335,"filename":"image_17122025_20_19_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7510ca08ad49a81c6ae2c98b5cb3a786.jpg","text":"TemporaryFile(/tmp/multipartBody5410650132810480394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000783335,"filename":"image_17122025_20_20_34_9603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bed895ff42911498380c4a8ae58f221.jpg","text":"TemporaryFile(/tmp/multipartBody2092464065732279130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000783335,"filename":"image_17122025_20_20_04_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399828490","file1":"1399828488","file0":"1399828486","file4":"1399828494","file5":"1399828506","file3":"1399828492"},"map_files_photo_id_array":[{"photo_id":"1399828506","filename":"file5"},{"photo_id":"1399828490","filename":"file2"},{"photo_id":"1399828494","filename":"file4"},{"photo_id":"1399828488","filename":"file1"},{"photo_id":"1399828486","filename":"file0"},{"photo_id":"1399828492","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399828492":["hashtag1","hashtag2"]},{"1399828486":["hashtag1","hashtag2"]},{"1399828494":["hashtag1","hashtag2"]},{"1399828488":["hashtag1","hashtag2"]},{"1399828506":["hashtag1","hashtag2"]},{"1399828490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399828492, 1399828486, 1399828494, 1399828488, 1399828506, 1399828490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33434557914734 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:46:02.714260
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/20/image_17122025_20_20_55_9693.jpg', '/home/pi/Desktop/images/17122025/20/20/image_17122025_20_21_04_9713.jpg', '/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_15_10569.jpg', '/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_25_9652.jpg', '/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_34_9751.jpg', '/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_45_10756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/20/image_17122025_20_20_55_9693.jpg
/home/pi/Desktop/images/17122025/20/20/image_17122025_20_21_04_9713.jpg
/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_15_10569.jpg
/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_25_9652.jpg
/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_34_9751.jpg
/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_45_10756.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":["1399828532","1399828540","1399828534","1399828560","1399828566","1399828533"],"photo_ids_order":["1399828532","1399828533","1399828534","1399828540","1399828560","1399828566"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5046e56c6a03d3e5aba123290d1eb36.jpg","text":"TemporaryFile(/tmp/multipartBody2414221535039791237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000826125,"filename":"image_17122025_20_20_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ea21d065db2be2bf741cde9a10228c0.jpg","text":"TemporaryFile(/tmp/multipartBody1739585508869694420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000826125,"filename":"image_17122025_20_21_25_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86f5efaf4e9d87f0a83acb63aa1f4dde.jpg","text":"TemporaryFile(/tmp/multipartBody6751881558626164788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000826125,"filename":"image_17122025_20_21_15_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3eac60e4713e67c80289a8e64e429a5.jpg","text":"TemporaryFile(/tmp/multipartBody4998644332897595217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000826125,"filename":"image_17122025_20_21_34_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2e2b6ff8223023b0059a0281257f9ba.jpg","text":"TemporaryFile(/tmp/multipartBody5425851424417819957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000826125,"filename":"image_17122025_20_21_45_10756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93312e7b4985c93bd0d7594e3392b4d8.jpg","text":"TemporaryFile(/tmp/multipartBody5568481450925098594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000826125,"filename":"image_17122025_20_21_04_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399828534","file1":"1399828533","file0":"1399828532","file4":"1399828560","file5":"1399828566","file3":"1399828540"},"map_files_photo_id_array":[{"photo_id":"1399828566","filename":"file5"},{"photo_id":"1399828534","filename":"file2"},{"photo_id":"1399828560","filename":"file4"},{"photo_id":"1399828533","filename":"file1"},{"photo_id":"1399828532","filename":"file0"},{"photo_id":"1399828540","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399828532":["hashtag1","hashtag2"]},{"1399828540":["hashtag1","hashtag2"]},{"1399828534":["hashtag1","hashtag2"]},{"1399828560":["hashtag1","hashtag2"]},{"1399828566":["hashtag1","hashtag2"]},{"1399828533":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399828532, 1399828540, 1399828534, 1399828560, 1399828566, 1399828533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.02212047576904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:47:03.227021
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_55_9604.jpg', '/home/pi/Desktop/images/17122025/20/21/image_17122025_20_22_04_9697.jpg', '/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_14_9912.jpg', '/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_25_10695.jpg', '/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_35_9704.jpg', '/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_45_9774.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/21/image_17122025_20_21_55_9604.jpg
/home/pi/Desktop/images/17122025/20/21/image_17122025_20_22_04_9697.jpg
/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_14_9912.jpg
/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_25_10695.jpg
/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_35_9704.jpg
/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_45_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":["1399828751","1399828760","1399828661","1399828736","1399828699","1399828758"],"photo_ids_order":["1399828661","1399828699","1399828736","1399828751","1399828758","1399828760"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be8ad9820193a1c9a2f7ee531eecc33c.jpg","text":"TemporaryFile(/tmp/multipartBody8484587638083111310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000884098,"filename":"image_17122025_20_22_25_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88f620deab0715997e9f0036bb326128.jpg","text":"TemporaryFile(/tmp/multipartBody8665652107374316242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000884098,"filename":"image_17122025_20_22_45_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/337be40593bda49e3b2829bdb87f8340.jpg","text":"TemporaryFile(/tmp/multipartBody9031996963574634330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000884098,"filename":"image_17122025_20_21_55_9604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2adff28e765698b3138f89f7727119f8.jpg","text":"TemporaryFile(/tmp/multipartBody3278965870215796001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000884098,"filename":"image_17122025_20_22_14_9912.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4973a8eb32512272a453f9963761cfe1.jpg","text":"TemporaryFile(/tmp/multipartBody2104354000479874230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000884098,"filename":"image_17122025_20_22_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc0b3d88d8732b00d2e0bf7b69bf9a81.jpg","text":"TemporaryFile(/tmp/multipartBody4076288383922446822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000884098,"filename":"image_17122025_20_22_35_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399828736","file1":"1399828699","file0":"1399828661","file4":"1399828758","file5":"1399828760","file3":"1399828751"},"map_files_photo_id_array":[{"photo_id":"1399828760","filename":"file5"},{"photo_id":"1399828736","filename":"file2"},{"photo_id":"1399828758","filename":"file4"},{"photo_id":"1399828699","filename":"file1"},{"photo_id":"1399828661","filename":"file0"},{"photo_id":"1399828751","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399828751":["hashtag1","hashtag2"]},{"1399828760":["hashtag1","hashtag2"]},{"1399828661":["hashtag1","hashtag2"]},{"1399828736":["hashtag1","hashtag2"]},{"1399828699":["hashtag1","hashtag2"]},{"1399828758":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399828751, 1399828760, 1399828661, 1399828736, 1399828699, 1399828758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.41923975944519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:47:42.658545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_26_6240.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_37_11413.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_39_1638.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_40_1618.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_42_1677.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_44_1726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_26_6240.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_37_11413.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_39_1638.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_40_1618.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_42_1677.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_44_1726.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399828772","1399828766","1399828769","1399828771","1399828770","1399828773"],"photo_ids_order":["1399828766","1399828769","1399828770","1399828771","1399828772","1399828773"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac087083ee0691fe6e7ba5e1d51007ce.jpg","text":"TemporaryFile(/tmp/multipartBody2155118690162225227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000923675,"filename":"image_07112025_21_25_42_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/891ba4af5a57a9e2511904656ecc12f6.jpg","text":"TemporaryFile(/tmp/multipartBody8254588756268309446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000923675,"filename":"image_07112025_21_25_26_6240.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/23d79632b5ea2b159bacf3991887df8a.jpg","text":"TemporaryFile(/tmp/multipartBody7199630224868075433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000923675,"filename":"image_07112025_21_25_37_11413.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22333f954065ad33732e9b039792009b.jpg","text":"TemporaryFile(/tmp/multipartBody4535297174287979164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000923675,"filename":"image_07112025_21_25_40_1618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca83c7f2f3d4372511ab0ca6cba756fa.jpg","text":"TemporaryFile(/tmp/multipartBody4283291023205648466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000923675,"filename":"image_07112025_21_25_39_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52c7331ef61f106437dde5731ea814d7.jpg","text":"TemporaryFile(/tmp/multipartBody1883498168236802292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000923675,"filename":"image_07112025_21_25_44_1726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399828770","file1":"1399828769","file0":"1399828766","file4":"1399828772","file5":"1399828773","file3":"1399828771"},"map_files_photo_id_array":[{"photo_id":"1399828773","filename":"file5"},{"photo_id":"1399828770","filename":"file2"},{"photo_id":"1399828772","filename":"file4"},{"photo_id":"1399828769","filename":"file1"},{"photo_id":"1399828766","filename":"file0"},{"photo_id":"1399828771","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399828772":["hashtag1","hashtag2"]},{"1399828766":["hashtag1","hashtag2"]},{"1399828769":["hashtag1","hashtag2"]},{"1399828771":["hashtag1","hashtag2"]},{"1399828770":["hashtag1","hashtag2"]},{"1399828773":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399828772, 1399828766, 1399828769, 1399828771, 1399828770, 1399828773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.185669898986816 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:48:21.973873
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_54_9663.jpg', '/home/pi/Desktop/images/17122025/20/22/image_17122025_20_23_05_10632.jpg', '/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_14_9586.jpg', '/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_25_10649.jpg', '/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_35_9704.jpg', '/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_54_9663.jpg
/home/pi/Desktop/images/17122025/20/22/image_17122025_20_23_05_10632.jpg
/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_14_9586.jpg
/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_25_10649.jpg
/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_35_9704.jpg
/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_44_9640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.7955524921417236 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:48:31.996289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:48:41.892348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_51_7386.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_53_1537.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_54_1662.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_56_1656.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_58_1677.jpg', '/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_59_1674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_51_7386.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_53_1537.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_54_1662.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_56_1656.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_58_1677.jpg
/home/pi/Desktop/images/07112025/21/25/image_07112025_21_25_59_1674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829044","1399828945","1399829031","1399829037","1399829030","1399828997"],"photo_ids_order":["1399828945","1399828997","1399829030","1399829031","1399829037","1399829044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95bde71efa3b91d0469c1f7b228c4e40.jpg","text":"TemporaryFile(/tmp/multipartBody6705244237259621461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000982902,"filename":"image_07112025_21_25_59_1674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39e54df07960e426efa299e900b6c7c3.jpg","text":"TemporaryFile(/tmp/multipartBody1802638834171624541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000982902,"filename":"image_07112025_21_25_51_7386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f34973b05a55468a4b8e68c08c73e7a.jpg","text":"TemporaryFile(/tmp/multipartBody3171302289808573378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000982902,"filename":"image_07112025_21_25_56_1656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/660dc4926764c6b1cdaeac13b0950dc5.jpg","text":"TemporaryFile(/tmp/multipartBody2933988042903479638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000982902,"filename":"image_07112025_21_25_58_1677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/355a07d8be376a236135ad10912b974a.jpg","text":"TemporaryFile(/tmp/multipartBody4846931339749226582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000982902,"filename":"image_07112025_21_25_54_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8155cbbceba0732ca2c25b2ec2cd4809.jpg","text":"TemporaryFile(/tmp/multipartBody8039865484759996166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766000982902,"filename":"image_07112025_21_25_53_1537.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829030","file1":"1399828997","file0":"1399828945","file4":"1399829037","file5":"1399829044","file3":"1399829031"},"map_files_photo_id_array":[{"photo_id":"1399829044","filename":"file5"},{"photo_id":"1399829030","filename":"file2"},{"photo_id":"1399829037","filename":"file4"},{"photo_id":"1399828997","filename":"file1"},{"photo_id":"1399828945","filename":"file0"},{"photo_id":"1399829031","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399829044":["hashtag1","hashtag2"]},{"1399828945":["hashtag1","hashtag2"]},{"1399829031":["hashtag1","hashtag2"]},{"1399829037":["hashtag1","hashtag2"]},{"1399829030":["hashtag1","hashtag2"]},{"1399828997":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399829044, 1399828945, 1399829031, 1399829037, 1399829030, 1399828997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.422157526016235 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:49:22.202521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_54_9663.jpg', '/home/pi/Desktop/images/17122025/20/22/image_17122025_20_23_05_10632.jpg', '/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_14_9586.jpg', '/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_25_10649.jpg', '/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_35_9704.jpg', '/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_44_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/22/image_17122025_20_22_54_9663.jpg
/home/pi/Desktop/images/17122025/20/22/image_17122025_20_23_05_10632.jpg
/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_14_9586.jpg
/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_25_10649.jpg
/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_35_9704.jpg
/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_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":["1399829048","1399829050","1399829056","1399829052","1399829046","1399829045"],"photo_ids_order":["1399829045","1399829046","1399829048","1399829050","1399829052","1399829056"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e632ed6c21ac25e215ed0066cfc49d6.jpg","text":"TemporaryFile(/tmp/multipartBody9059547278868672682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001023102,"filename":"image_17122025_20_23_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02829d6637e03f1f048524fd281749c7.jpg","text":"TemporaryFile(/tmp/multipartBody6329263520588962600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001023102,"filename":"image_17122025_20_23_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e598d9e2729fe6b4a991682c9a1fdf1.jpg","text":"TemporaryFile(/tmp/multipartBody8863204056659171300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001023102,"filename":"image_17122025_20_23_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2d0e3b9c8f62dbac153d86709022c11.jpg","text":"TemporaryFile(/tmp/multipartBody8958204668547388782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001023102,"filename":"image_17122025_20_23_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c22d3accf03eae499b19481387928ad6.jpg","text":"TemporaryFile(/tmp/multipartBody6111035224148845203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001023102,"filename":"image_17122025_20_23_05_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/550d77ee74b7e7df5bb4c2d2146b4ea6.jpg","text":"TemporaryFile(/tmp/multipartBody6295609688441396397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001023102,"filename":"image_17122025_20_22_54_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829048","file1":"1399829046","file0":"1399829045","file4":"1399829052","file5":"1399829056","file3":"1399829050"},"map_files_photo_id_array":[{"photo_id":"1399829056","filename":"file5"},{"photo_id":"1399829048","filename":"file2"},{"photo_id":"1399829052","filename":"file4"},{"photo_id":"1399829046","filename":"file1"},{"photo_id":"1399829045","filename":"file0"},{"photo_id":"1399829050","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829048":["hashtag1","hashtag2"]},{"1399829050":["hashtag1","hashtag2"]},{"1399829056":["hashtag1","hashtag2"]},{"1399829052":["hashtag1","hashtag2"]},{"1399829046":["hashtag1","hashtag2"]},{"1399829045":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829048, 1399829050, 1399829056, 1399829052, 1399829046, 1399829045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.176663398742676 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:50:02.762802
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_55_10650.jpg', '/home/pi/Desktop/images/17122025/20/24/image_17122025_20_24_54_9682.jpg', '/home/pi/Desktop/images/17122025/20/24/image_17122025_20_25_05_10797.jpg', '/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_15_9778.jpg', '/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_24_9647.jpg', '/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_35_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/23/image_17122025_20_23_55_10650.jpg
/home/pi/Desktop/images/17122025/20/24/image_17122025_20_24_54_9682.jpg
/home/pi/Desktop/images/17122025/20/24/image_17122025_20_25_05_10797.jpg
/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_15_9778.jpg
/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_24_9647.jpg
/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_35_10743.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829065","1399829068","1399829070","1399829067","1399829063","1399829066"],"photo_ids_order":["1399829063","1399829065","1399829066","1399829067","1399829068","1399829070"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e899e8c595d146ba7558fc04d1f3d8f.jpg","text":"TemporaryFile(/tmp/multipartBody4644047872254054490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001063614,"filename":"image_17122025_20_24_54_9682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cd8514adf461504b7d0f55bc421d410c.jpg","text":"TemporaryFile(/tmp/multipartBody8968480915568219268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001063614,"filename":"image_17122025_20_25_24_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c34422894323e0a64b5f2ed8d820b09a.jpg","text":"TemporaryFile(/tmp/multipartBody6821918158979644112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001063614,"filename":"image_17122025_20_25_35_10743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36442cae05f78481e5d2fac27e433578.jpg","text":"TemporaryFile(/tmp/multipartBody4566677880808908935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001063614,"filename":"image_17122025_20_25_15_9778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0f3e44f99e1b2c1fbc407d4a38b612a.jpg","text":"TemporaryFile(/tmp/multipartBody6235779913790933110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001063614,"filename":"image_17122025_20_23_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/babbd6fa9ace665d19b3c406f4294341.jpg","text":"TemporaryFile(/tmp/multipartBody7211039019098039865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001063614,"filename":"image_17122025_20_25_05_10797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829066","file1":"1399829065","file0":"1399829063","file4":"1399829068","file5":"1399829070","file3":"1399829067"},"map_files_photo_id_array":[{"photo_id":"1399829070","filename":"file5"},{"photo_id":"1399829066","filename":"file2"},{"photo_id":"1399829068","filename":"file4"},{"photo_id":"1399829065","filename":"file1"},{"photo_id":"1399829063","filename":"file0"},{"photo_id":"1399829067","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829065":["hashtag1","hashtag2"]},{"1399829068":["hashtag1","hashtag2"]},{"1399829070":["hashtag1","hashtag2"]},{"1399829067":["hashtag1","hashtag2"]},{"1399829063":["hashtag1","hashtag2"]},{"1399829066":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829065, 1399829068, 1399829070, 1399829067, 1399829063, 1399829066)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.60957360267639 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:50:42.336537
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/26/image_07112025_21_26_01_1501.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_07_3011.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_11_3747.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_13_2583.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_18_4607.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_20_1677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/26/image_07112025_21_26_01_1501.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_07_3011.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_11_3747.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_13_2583.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_18_4607.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_20_1677.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829080","1399829094","1399829091","1399829090","1399829093","1399829096"],"photo_ids_order":["1399829080","1399829090","1399829091","1399829093","1399829094","1399829096"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b422672a49dda31a9035c0bbc3b84a2.jpg","text":"TemporaryFile(/tmp/multipartBody775664053126452956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001103337,"filename":"image_07112025_21_26_01_1501.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84e60e01fb0e1b849a492a66e4c01508.jpg","text":"TemporaryFile(/tmp/multipartBody8723412787678613153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001103337,"filename":"image_07112025_21_29_18_4607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bc9319ecf821fa9b38b1f5e0235ad76.jpg","text":"TemporaryFile(/tmp/multipartBody6820529684800065393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001103337,"filename":"image_07112025_21_29_11_3747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8119621ceebc556a53e4c1add5bb0a4a.jpg","text":"TemporaryFile(/tmp/multipartBody7724582197425742751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001103337,"filename":"image_07112025_21_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/2025/12/17/66a879ebb5fb0c69186e4c180020e6e9.jpg","text":"TemporaryFile(/tmp/multipartBody3593833616396453058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001103337,"filename":"image_07112025_21_29_13_2583.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ada28e5b658ff654c6258a800e41a7e.jpg","text":"TemporaryFile(/tmp/multipartBody7815803028895569101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001103337,"filename":"image_07112025_21_29_20_1677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829091","file1":"1399829090","file0":"1399829080","file4":"1399829094","file5":"1399829096","file3":"1399829093"},"map_files_photo_id_array":[{"photo_id":"1399829096","filename":"file5"},{"photo_id":"1399829091","filename":"file2"},{"photo_id":"1399829094","filename":"file4"},{"photo_id":"1399829090","filename":"file1"},{"photo_id":"1399829080","filename":"file0"},{"photo_id":"1399829093","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399829080":["hashtag1","hashtag2"]},{"1399829094":["hashtag1","hashtag2"]},{"1399829091":["hashtag1","hashtag2"]},{"1399829090":["hashtag1","hashtag2"]},{"1399829093":["hashtag1","hashtag2"]},{"1399829096":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399829080, 1399829094, 1399829091, 1399829090, 1399829093, 1399829096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.772979736328125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:51:24.958257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_45_9556.jpg', '/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_54_9730.jpg', '/home/pi/Desktop/images/17122025/20/25/image_17122025_20_26_04_9812.jpg', '/home/pi/Desktop/images/17122025/20/26/image_17122025_20_26_15_10690.jpg', '/home/pi/Desktop/images/17122025/20/26/image_17122025_20_26_25_9726.jpg', '/home/pi/Desktop/images/17122025/20/26/image_17122025_20_26_45_10822.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_45_9556.jpg
/home/pi/Desktop/images/17122025/20/25/image_17122025_20_25_54_9730.jpg
/home/pi/Desktop/images/17122025/20/25/image_17122025_20_26_04_9812.jpg
/home/pi/Desktop/images/17122025/20/26/image_17122025_20_26_15_10690.jpg
/home/pi/Desktop/images/17122025/20/26/image_17122025_20_26_25_9726.jpg
/home/pi/Desktop/images/17122025/20/26/image_17122025_20_26_45_10822.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829098","1399829102","1399829110","1399829104","1399829107","1399829100"],"photo_ids_order":["1399829098","1399829100","1399829102","1399829104","1399829107","1399829110"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34598161c8b2db8dd183bbf8b2f14c99.jpg","text":"TemporaryFile(/tmp/multipartBody8555636074197279294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001145872,"filename":"image_17122025_20_25_45_9556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de49006cfdff4bcb5ec14070559af9dc.jpg","text":"TemporaryFile(/tmp/multipartBody2425776901167603963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001145872,"filename":"image_17122025_20_26_04_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/228b7df21f24df03ed4f754a517bb53e.jpg","text":"TemporaryFile(/tmp/multipartBody1034653185142499473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001145872,"filename":"image_17122025_20_26_45_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ddf46f36d99df1b0d5fd2dd31a49084.jpg","text":"TemporaryFile(/tmp/multipartBody1922199577187661994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001145872,"filename":"image_17122025_20_26_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2b800cb8f546725dad1ee8a31fcce0d.jpg","text":"TemporaryFile(/tmp/multipartBody8843277466489967470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001145872,"filename":"image_17122025_20_26_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ec391e6db38d274ebeba984216d6bab.jpg","text":"TemporaryFile(/tmp/multipartBody7136628225745704741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001145872,"filename":"image_17122025_20_25_54_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829102","file1":"1399829100","file0":"1399829098","file4":"1399829107","file5":"1399829110","file3":"1399829104"},"map_files_photo_id_array":[{"photo_id":"1399829110","filename":"file5"},{"photo_id":"1399829102","filename":"file2"},{"photo_id":"1399829107","filename":"file4"},{"photo_id":"1399829100","filename":"file1"},{"photo_id":"1399829098","filename":"file0"},{"photo_id":"1399829104","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829098":["hashtag1","hashtag2"]},{"1399829102":["hashtag1","hashtag2"]},{"1399829110":["hashtag1","hashtag2"]},{"1399829104":["hashtag1","hashtag2"]},{"1399829107":["hashtag1","hashtag2"]},{"1399829100":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829098, 1399829102, 1399829110, 1399829104, 1399829107, 1399829100)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30497169494629 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 20:52:12.000489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:52:22.085506
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/26/image_17122025_20_26_55_9666.jpg', '/home/pi/Desktop/images/17122025/20/26/image_17122025_20_27_04_9678.jpg', '/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_14_9677.jpg', '/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_25_10702.jpg', '/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_35_9763.jpg', '/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_44_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/26/image_17122025_20_26_55_9666.jpg
/home/pi/Desktop/images/17122025/20/26/image_17122025_20_27_04_9678.jpg
/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_14_9677.jpg
/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_25_10702.jpg
/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_35_9763.jpg
/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_44_9633.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829145","1399829139","1399829147","1399829156","1399829141","1399829159"],"photo_ids_order":["1399829139","1399829141","1399829145","1399829147","1399829156","1399829159"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/297187cf3aaf9789edf05f956c14a50d.jpg","text":"TemporaryFile(/tmp/multipartBody1357317185611924695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001203275,"filename":"image_17122025_20_27_14_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9a7a1693142bba87475910aa50f6541.jpg","text":"TemporaryFile(/tmp/multipartBody954502493142074283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001203275,"filename":"image_17122025_20_26_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fae157e1c93d61682f0654170f8f0204.jpg","text":"TemporaryFile(/tmp/multipartBody7522184654840432889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001203275,"filename":"image_17122025_20_27_25_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f4259398d0539c82c3769081e1e33f2.jpg","text":"TemporaryFile(/tmp/multipartBody2367383277605482193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001203275,"filename":"image_17122025_20_27_35_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7714db276472d68ae3b6d881fde1a37.jpg","text":"TemporaryFile(/tmp/multipartBody2655559816308163488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001203275,"filename":"image_17122025_20_27_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52c93ca416a97bf09c57559259eb22a2.jpg","text":"TemporaryFile(/tmp/multipartBody6559345822832126299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001203275,"filename":"image_17122025_20_27_44_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829145","file1":"1399829141","file0":"1399829139","file4":"1399829156","file5":"1399829159","file3":"1399829147"},"map_files_photo_id_array":[{"photo_id":"1399829159","filename":"file5"},{"photo_id":"1399829145","filename":"file2"},{"photo_id":"1399829156","filename":"file4"},{"photo_id":"1399829141","filename":"file1"},{"photo_id":"1399829139","filename":"file0"},{"photo_id":"1399829147","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829145":["hashtag1","hashtag2"]},{"1399829139":["hashtag1","hashtag2"]},{"1399829147":["hashtag1","hashtag2"]},{"1399829156":["hashtag1","hashtag2"]},{"1399829141":["hashtag1","hashtag2"]},{"1399829159":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829145, 1399829139, 1399829147, 1399829156, 1399829141, 1399829159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.78205943107605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:53:02.912167
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_55_10662.jpg', '/home/pi/Desktop/images/17122025/20/27/image_17122025_20_28_05_9669.jpg', '/home/pi/Desktop/images/17122025/20/28/image_17122025_20_28_25_10679.jpg', '/home/pi/Desktop/images/17122025/20/28/image_17122025_20_28_44_9654.jpg', '/home/pi/Desktop/images/17122025/20/28/image_17122025_20_29_05_10614.jpg', '/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_15_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/27/image_17122025_20_27_55_10662.jpg
/home/pi/Desktop/images/17122025/20/27/image_17122025_20_28_05_9669.jpg
/home/pi/Desktop/images/17122025/20/28/image_17122025_20_28_25_10679.jpg
/home/pi/Desktop/images/17122025/20/28/image_17122025_20_28_44_9654.jpg
/home/pi/Desktop/images/17122025/20/28/image_17122025_20_29_05_10614.jpg
/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_15_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":["1399829164","1399829200","1399829163","1399829271","1399829165","1399829234"],"photo_ids_order":["1399829163","1399829164","1399829165","1399829200","1399829234","1399829271"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/45369ec8079ae6a0972d6da5f8475c66.jpg","text":"TemporaryFile(/tmp/multipartBody5478217263377604065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001243782,"filename":"image_17122025_20_28_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30e6c0961eb91ebe90ee59e555efcd03.jpg","text":"TemporaryFile(/tmp/multipartBody6550064336559299041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001243782,"filename":"image_17122025_20_28_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e1e38102f8f7ce2b2df78eb89a079c3.jpg","text":"TemporaryFile(/tmp/multipartBody781412721552640899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001243782,"filename":"image_17122025_20_27_55_10662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b8cc86a40cad52b14a422c46cbfdcbb.jpg","text":"TemporaryFile(/tmp/multipartBody9082468706366469435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001243782,"filename":"image_17122025_20_29_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84de0650cf2bd8cf466b2de70ffafa3f.jpg","text":"TemporaryFile(/tmp/multipartBody6472542181946421141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001243782,"filename":"image_17122025_20_28_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f330ed1ca06015618d2b683c25d4697d.jpg","text":"TemporaryFile(/tmp/multipartBody5311378424403131098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001243782,"filename":"image_17122025_20_29_05_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829165","file1":"1399829164","file0":"1399829163","file4":"1399829234","file5":"1399829271","file3":"1399829200"},"map_files_photo_id_array":[{"photo_id":"1399829271","filename":"file5"},{"photo_id":"1399829165","filename":"file2"},{"photo_id":"1399829234","filename":"file4"},{"photo_id":"1399829164","filename":"file1"},{"photo_id":"1399829163","filename":"file0"},{"photo_id":"1399829200","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829164":["hashtag1","hashtag2"]},{"1399829200":["hashtag1","hashtag2"]},{"1399829163":["hashtag1","hashtag2"]},{"1399829271":["hashtag1","hashtag2"]},{"1399829165":["hashtag1","hashtag2"]},{"1399829234":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829164, 1399829200, 1399829163, 1399829271, 1399829165, 1399829234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64142107963562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:53:42.264256
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_22_2675.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_26_3603.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_29_2843.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_31_2635.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_34_2622.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_38_3611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_22_2675.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_26_3603.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_29_2843.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_31_2635.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_34_2622.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_38_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":["1399829405","1399829416","1399829376","1399829415","1399829372","1399829375"],"photo_ids_order":["1399829372","1399829375","1399829376","1399829405","1399829415","1399829416"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40bd3b0f55fc3d67392541810be65ffb.jpg","text":"TemporaryFile(/tmp/multipartBody7469772355308348990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001283259,"filename":"image_07112025_21_29_31_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e465bedd9c546f3adfe88d37167ec99.jpg","text":"TemporaryFile(/tmp/multipartBody4272182313320025460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001283259,"filename":"image_07112025_21_29_38_3611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a6078e68cd5683bde749da8b9351229.jpg","text":"TemporaryFile(/tmp/multipartBody9005926342519073648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001283259,"filename":"image_07112025_21_29_29_2843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97a9a2d7f4088caea357fc58bce34677.jpg","text":"TemporaryFile(/tmp/multipartBody5095760253881264645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001283259,"filename":"image_07112025_21_29_34_2622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c79e8dcc6eddd9ed7071f5336cf86244.jpg","text":"TemporaryFile(/tmp/multipartBody4094434939844707234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001283259,"filename":"image_07112025_21_29_22_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37dd3846c1bc1c7e311f62e641e9f88f.jpg","text":"TemporaryFile(/tmp/multipartBody4007352486771035321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001283259,"filename":"image_07112025_21_29_26_3603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829376","file1":"1399829375","file0":"1399829372","file4":"1399829415","file5":"1399829416","file3":"1399829405"},"map_files_photo_id_array":[{"photo_id":"1399829416","filename":"file5"},{"photo_id":"1399829376","filename":"file2"},{"photo_id":"1399829415","filename":"file4"},{"photo_id":"1399829375","filename":"file1"},{"photo_id":"1399829372","filename":"file0"},{"photo_id":"1399829405","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399829405":["hashtag1","hashtag2"]},{"1399829416":["hashtag1","hashtag2"]},{"1399829376":["hashtag1","hashtag2"]},{"1399829415":["hashtag1","hashtag2"]},{"1399829372":["hashtag1","hashtag2"]},{"1399829375":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399829405, 1399829416, 1399829376, 1399829415, 1399829372, 1399829375)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80782341957092 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:54:22.526945
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_24_9734.jpg', '/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_35_10728.jpg', '/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_45_9784.jpg', '/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_55_9918.jpg', '/home/pi/Desktop/images/17122025/20/29/image_17122025_20_30_04_9746.jpg', '/home/pi/Desktop/images/17122025/20/30/image_17122025_20_30_25_10467.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_24_9734.jpg
/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_35_10728.jpg
/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_45_9784.jpg
/home/pi/Desktop/images/17122025/20/29/image_17122025_20_29_55_9918.jpg
/home/pi/Desktop/images/17122025/20/29/image_17122025_20_30_04_9746.jpg
/home/pi/Desktop/images/17122025/20/30/image_17122025_20_30_25_10467.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829491","1399829446","1399829529","1399829457","1399829525","1399829441"],"photo_ids_order":["1399829441","1399829446","1399829457","1399829491","1399829525","1399829529"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e44a84de217d4e304d2124a181c6051a.jpg","text":"TemporaryFile(/tmp/multipartBody1765146889375251445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001323558,"filename":"image_17122025_20_29_55_9918.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64aeee31e1739ca06f5c50a8ef8acb80.jpg","text":"TemporaryFile(/tmp/multipartBody4421726646251011397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001323558,"filename":"image_17122025_20_29_35_10728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4171dafc451f26b2241fe494c6a5083e.jpg","text":"TemporaryFile(/tmp/multipartBody8434535474160415356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001323558,"filename":"image_17122025_20_30_25_10467.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcbb2db5020ad11a6fde0aa2768a8552.jpg","text":"TemporaryFile(/tmp/multipartBody4871168419093784947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001323558,"filename":"image_17122025_20_29_45_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f01ad25f30258f6abbc2a840504b4587.jpg","text":"TemporaryFile(/tmp/multipartBody2217889473926541544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001323558,"filename":"image_17122025_20_30_04_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f6fcd08c265c800d16a439e0e95f8f1.jpg","text":"TemporaryFile(/tmp/multipartBody16747802699385569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001323558,"filename":"image_17122025_20_29_24_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829457","file1":"1399829446","file0":"1399829441","file4":"1399829525","file5":"1399829529","file3":"1399829491"},"map_files_photo_id_array":[{"photo_id":"1399829529","filename":"file5"},{"photo_id":"1399829457","filename":"file2"},{"photo_id":"1399829525","filename":"file4"},{"photo_id":"1399829446","filename":"file1"},{"photo_id":"1399829441","filename":"file0"},{"photo_id":"1399829491","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829491":["hashtag1","hashtag2"]},{"1399829446":["hashtag1","hashtag2"]},{"1399829529":["hashtag1","hashtag2"]},{"1399829457":["hashtag1","hashtag2"]},{"1399829525":["hashtag1","hashtag2"]},{"1399829441":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829491, 1399829446, 1399829529, 1399829457, 1399829525, 1399829441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.27012753486633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:55:03.297458
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/30/image_17122025_20_30_34_9619.jpg', '/home/pi/Desktop/images/17122025/20/30/image_17122025_20_30_45_10759.jpg', '/home/pi/Desktop/images/17122025/20/30/image_17122025_20_31_04_9616.jpg', '/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_15_10589.jpg', '/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_25_9616.jpg', '/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_34_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/30/image_17122025_20_30_34_9619.jpg
/home/pi/Desktop/images/17122025/20/30/image_17122025_20_30_45_10759.jpg
/home/pi/Desktop/images/17122025/20/30/image_17122025_20_31_04_9616.jpg
/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_15_10589.jpg
/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_25_9616.jpg
/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_34_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":["1399829609","1399829611","1399829605","1399829608","1399829613","1399829607"],"photo_ids_order":["1399829605","1399829607","1399829608","1399829609","1399829611","1399829613"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0331b15e8e25723eb9743a8371ec4dc6.jpg","text":"TemporaryFile(/tmp/multipartBody2348046872233024435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001364206,"filename":"image_17122025_20_31_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1863938a9ab30aebcf2bfa84d0d7480b.jpg","text":"TemporaryFile(/tmp/multipartBody4997517448801440523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001364206,"filename":"image_17122025_20_31_25_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/181ae71b909e540553fc3d6a2241c721.jpg","text":"TemporaryFile(/tmp/multipartBody4480305557570390140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001364206,"filename":"image_17122025_20_30_34_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9edbc1443702fe2aeb7dbcc46d8f95d.jpg","text":"TemporaryFile(/tmp/multipartBody6078949701962051233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001364206,"filename":"image_17122025_20_31_04_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32c3f90f817e8f740a337f213e01883b.jpg","text":"TemporaryFile(/tmp/multipartBody3106389192654883349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001364206,"filename":"image_17122025_20_31_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/734606418fea1f98c13e9cd74885021f.jpg","text":"TemporaryFile(/tmp/multipartBody4814062817208996009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001364206,"filename":"image_17122025_20_30_45_10759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829608","file1":"1399829607","file0":"1399829605","file4":"1399829611","file5":"1399829613","file3":"1399829609"},"map_files_photo_id_array":[{"photo_id":"1399829613","filename":"file5"},{"photo_id":"1399829608","filename":"file2"},{"photo_id":"1399829611","filename":"file4"},{"photo_id":"1399829607","filename":"file1"},{"photo_id":"1399829605","filename":"file0"},{"photo_id":"1399829609","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829609":["hashtag1","hashtag2"]},{"1399829611":["hashtag1","hashtag2"]},{"1399829605":["hashtag1","hashtag2"]},{"1399829608":["hashtag1","hashtag2"]},{"1399829613":["hashtag1","hashtag2"]},{"1399829607":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829609, 1399829611, 1399829605, 1399829608, 1399829613, 1399829607)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.490793228149414 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:55:42.674262
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_40_2611.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_43_2798.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_49_6186.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_51_1580.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_53_1768.jpg', '/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_55_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_40_2611.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_43_2798.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_49_6186.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_51_1580.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_53_1768.jpg
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_55_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829621","1399829623","1399829617","1399829622","1399829625","1399829619"],"photo_ids_order":["1399829617","1399829619","1399829621","1399829622","1399829623","1399829625"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2081b0727c9f480f232df178d92b7bcb.jpg","text":"TemporaryFile(/tmp/multipartBody7910419313717037188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001403686,"filename":"image_07112025_21_29_49_6186.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d9ef1ba42002cdd930f60e6a65381a3.jpg","text":"TemporaryFile(/tmp/multipartBody3655540135380276290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001403686,"filename":"image_07112025_21_29_53_1768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bdafa559c9e4510f9a36afa591233e0.jpg","text":"TemporaryFile(/tmp/multipartBody198944166990386061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001403686,"filename":"image_07112025_21_29_40_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40e3bdd796d583d3c608962b4b2abff6.jpg","text":"TemporaryFile(/tmp/multipartBody1734003549104321060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001403686,"filename":"image_07112025_21_29_51_1580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e71701ff0348acca3fd744c6cb522824.jpg","text":"TemporaryFile(/tmp/multipartBody8797578211790472257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001403686,"filename":"image_07112025_21_29_55_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/353f2daff1b4e93463df4596ea910c62.jpg","text":"TemporaryFile(/tmp/multipartBody1116483668270199280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001403686,"filename":"image_07112025_21_29_43_2798.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829621","file1":"1399829619","file0":"1399829617","file4":"1399829623","file5":"1399829625","file3":"1399829622"},"map_files_photo_id_array":[{"photo_id":"1399829625","filename":"file5"},{"photo_id":"1399829621","filename":"file2"},{"photo_id":"1399829623","filename":"file4"},{"photo_id":"1399829619","filename":"file1"},{"photo_id":"1399829617","filename":"file0"},{"photo_id":"1399829622","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399829621":["hashtag1","hashtag2"]},{"1399829623":["hashtag1","hashtag2"]},{"1399829617":["hashtag1","hashtag2"]},{"1399829622":["hashtag1","hashtag2"]},{"1399829625":["hashtag1","hashtag2"]},{"1399829619":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399829621, 1399829623, 1399829617, 1399829622, 1399829625, 1399829619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15089511871338 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 20:56:21.956991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_45_10662.jpg', '/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_55_9626.jpg', '/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_15_10651.jpg', '/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_25_9663.jpg', '/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_35_9817.jpg', '/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_44_9843.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_45_10662.jpg
/home/pi/Desktop/images/17122025/20/31/image_17122025_20_31_55_9626.jpg
/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_15_10651.jpg
/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_25_9663.jpg
/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_35_9817.jpg
/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_44_9843.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829635","1399829629","1399829638","1399829631","1399829633","1399829627"],"photo_ids_order":["1399829627","1399829629","1399829631","1399829633","1399829635","1399829638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5b6a2cc36e01d6512590bb23e9c7947.jpg","text":"TemporaryFile(/tmp/multipartBody6023951162368261992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001442948,"filename":"image_17122025_20_32_35_9817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e3b58ed728b9e4a679ebeb78d63540d.jpg","text":"TemporaryFile(/tmp/multipartBody7938921890509831972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001442948,"filename":"image_17122025_20_31_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1838c5f6e72d04366017c8831b3445e2.jpg","text":"TemporaryFile(/tmp/multipartBody7552676403270790728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001442948,"filename":"image_17122025_20_32_44_9843.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88135be8aa883c044ef6c4ce75818316.jpg","text":"TemporaryFile(/tmp/multipartBody1218064484283894005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001442948,"filename":"image_17122025_20_32_15_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e75a35366698fc4bb938b92446c1809e.jpg","text":"TemporaryFile(/tmp/multipartBody7550837004496722461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001442948,"filename":"image_17122025_20_32_25_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5560fc8c32dbbadc8e2530e1fe756a44.jpg","text":"TemporaryFile(/tmp/multipartBody8107894644854829134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001442948,"filename":"image_17122025_20_31_45_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829631","file1":"1399829629","file0":"1399829627","file4":"1399829635","file5":"1399829638","file3":"1399829633"},"map_files_photo_id_array":[{"photo_id":"1399829638","filename":"file5"},{"photo_id":"1399829631","filename":"file2"},{"photo_id":"1399829635","filename":"file4"},{"photo_id":"1399829629","filename":"file1"},{"photo_id":"1399829627","filename":"file0"},{"photo_id":"1399829633","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829635":["hashtag1","hashtag2"]},{"1399829629":["hashtag1","hashtag2"]},{"1399829638":["hashtag1","hashtag2"]},{"1399829631":["hashtag1","hashtag2"]},{"1399829633":["hashtag1","hashtag2"]},{"1399829627":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829635, 1399829629, 1399829638, 1399829631, 1399829633, 1399829627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95148777961731 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:57:02.929964
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_54_9772.jpg', '/home/pi/Desktop/images/17122025/20/32/image_17122025_20_33_05_10787.jpg', '/home/pi/Desktop/images/17122025/20/33/image_17122025_20_33_15_9726.jpg', '/home/pi/Desktop/images/17122025/20/33/image_17122025_20_33_34_9847.jpg', '/home/pi/Desktop/images/17122025/20/33/image_17122025_20_33_55_9655.jpg', '/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_15_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/32/image_17122025_20_32_54_9772.jpg
/home/pi/Desktop/images/17122025/20/32/image_17122025_20_33_05_10787.jpg
/home/pi/Desktop/images/17122025/20/33/image_17122025_20_33_15_9726.jpg
/home/pi/Desktop/images/17122025/20/33/image_17122025_20_33_34_9847.jpg
/home/pi/Desktop/images/17122025/20/33/image_17122025_20_33_55_9655.jpg
/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_15_10667.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829641","1399829644","1399829646","1399829640","1399829643","1399829642"],"photo_ids_order":["1399829640","1399829641","1399829642","1399829643","1399829644","1399829646"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/caa5d4404a1f181915479ee20eca996c.jpg","text":"TemporaryFile(/tmp/multipartBody7801283413671998175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001483816,"filename":"image_17122025_20_33_05_10787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/891cda6d1d0aaef5d7817f5685d95b05.jpg","text":"TemporaryFile(/tmp/multipartBody3783829022301589593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001483816,"filename":"image_17122025_20_33_55_9655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6cebf11370d0b29fa48b580b5a82e62b.jpg","text":"TemporaryFile(/tmp/multipartBody4895280630849566412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001483816,"filename":"image_17122025_20_34_15_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c01e5084d7e99134fa913134d308f28b.jpg","text":"TemporaryFile(/tmp/multipartBody3758355481310125992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001483816,"filename":"image_17122025_20_32_54_9772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55e2c3538adf3081a19245f00efbe896.jpg","text":"TemporaryFile(/tmp/multipartBody1461213111813019211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001483816,"filename":"image_17122025_20_33_34_9847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a948c13d567ba623f80b1d467dc24fc7.jpg","text":"TemporaryFile(/tmp/multipartBody8013352033495930860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001483816,"filename":"image_17122025_20_33_15_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829642","file1":"1399829641","file0":"1399829640","file4":"1399829644","file5":"1399829646","file3":"1399829643"},"map_files_photo_id_array":[{"photo_id":"1399829646","filename":"file5"},{"photo_id":"1399829642","filename":"file2"},{"photo_id":"1399829644","filename":"file4"},{"photo_id":"1399829641","filename":"file1"},{"photo_id":"1399829640","filename":"file0"},{"photo_id":"1399829643","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829641":["hashtag1","hashtag2"]},{"1399829644":["hashtag1","hashtag2"]},{"1399829646":["hashtag1","hashtag2"]},{"1399829640":["hashtag1","hashtag2"]},{"1399829643":["hashtag1","hashtag2"]},{"1399829642":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829641, 1399829644, 1399829646, 1399829640, 1399829643, 1399829642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.488815784454346 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 20:57:42.308800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_58_2766.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_07_3013.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_11_3791.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_14_2652.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_16_2899.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_19_2662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/29/image_07112025_21_29_58_2766.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_07_3013.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_11_3791.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_14_2652.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_16_2899.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_19_2662.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399829761","1399829859","1399829721","1399829802","1399829858","1399829837"],"photo_ids_order":["1399829721","1399829761","1399829802","1399829837","1399829858","1399829859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c32d90cca464e5bd276aee8e985369f5.jpg","text":"TemporaryFile(/tmp/multipartBody4976463410564005918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001523328,"filename":"image_07112025_21_30_07_3013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46dacd487c92d002545cd132c5241b78.jpg","text":"TemporaryFile(/tmp/multipartBody8528326976265429460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001523328,"filename":"image_07112025_21_30_19_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58ccb9765500d14fb4db7c6483ea350a.jpg","text":"TemporaryFile(/tmp/multipartBody2004101390580249480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001523328,"filename":"image_07112025_21_29_58_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c4f4d9749b461883b7e2ad25df37811.jpg","text":"TemporaryFile(/tmp/multipartBody1453231825512467136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001523328,"filename":"image_07112025_21_30_11_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c117ab2b4e81fe233e346a199de6a83b.jpg","text":"TemporaryFile(/tmp/multipartBody2104089596076671330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001523328,"filename":"image_07112025_21_30_16_2899.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4c8511f3be810a6c73a029bc26e235f.jpg","text":"TemporaryFile(/tmp/multipartBody9055245763129155091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001523328,"filename":"image_07112025_21_30_14_2652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399829802","file1":"1399829761","file0":"1399829721","file4":"1399829858","file5":"1399829859","file3":"1399829837"},"map_files_photo_id_array":[{"photo_id":"1399829859","filename":"file5"},{"photo_id":"1399829802","filename":"file2"},{"photo_id":"1399829858","filename":"file4"},{"photo_id":"1399829761","filename":"file1"},{"photo_id":"1399829721","filename":"file0"},{"photo_id":"1399829837","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399829761":["hashtag1","hashtag2"]},{"1399829859":["hashtag1","hashtag2"]},{"1399829721":["hashtag1","hashtag2"]},{"1399829802":["hashtag1","hashtag2"]},{"1399829858":["hashtag1","hashtag2"]},{"1399829837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399829761, 1399829859, 1399829721, 1399829802, 1399829858, 1399829837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.245262145996094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 20:59:03.577123
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_25_9700.jpg', '/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_34_9809.jpg', '/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_44_9785.jpg', '/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_55_10695.jpg', '/home/pi/Desktop/images/17122025/20/34/image_17122025_20_35_05_9691.jpg', '/home/pi/Desktop/images/17122025/20/35/image_17122025_20_35_35_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_25_9700.jpg
/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_34_9809.jpg
/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_44_9785.jpg
/home/pi/Desktop/images/17122025/20/34/image_17122025_20_34_55_10695.jpg
/home/pi/Desktop/images/17122025/20/34/image_17122025_20_35_05_9691.jpg
/home/pi/Desktop/images/17122025/20/35/image_17122025_20_35_35_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":["1399829994","1399830186","1399830106","1399830069","1399830144","1399830030"],"photo_ids_order":["1399829994","1399830030","1399830069","1399830106","1399830144","1399830186"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8e3a9dcb62f61b685ee9b1f26ab3da9.jpg","text":"TemporaryFile(/tmp/multipartBody6708532323952054936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001604645,"filename":"image_17122025_20_34_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f843c73dc8588b178dc854dbc4fde17c.jpg","text":"TemporaryFile(/tmp/multipartBody3285904534509010758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001604645,"filename":"image_17122025_20_35_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc27c749f86cdcb593c3b921fab2a1d7.jpg","text":"TemporaryFile(/tmp/multipartBody9051102981355237772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001604645,"filename":"image_17122025_20_34_55_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c37b3aaeb703547c026e5a7967a56514.jpg","text":"TemporaryFile(/tmp/multipartBody8351447437443044061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001604645,"filename":"image_17122025_20_34_44_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8ddca19c9a1bb3bc9012ffb0d524668c.jpg","text":"TemporaryFile(/tmp/multipartBody3769040492121286607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001604645,"filename":"image_17122025_20_35_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c5247c2a56157d180927c8ffb51fdf4.jpg","text":"TemporaryFile(/tmp/multipartBody3757086407102220297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001604645,"filename":"image_17122025_20_34_34_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399830069","file1":"1399830030","file0":"1399829994","file4":"1399830144","file5":"1399830186","file3":"1399830106"},"map_files_photo_id_array":[{"photo_id":"1399830186","filename":"file5"},{"photo_id":"1399830069","filename":"file2"},{"photo_id":"1399830144","filename":"file4"},{"photo_id":"1399830030","filename":"file1"},{"photo_id":"1399829994","filename":"file0"},{"photo_id":"1399830106","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399829994":["hashtag1","hashtag2"]},{"1399830186":["hashtag1","hashtag2"]},{"1399830106":["hashtag1","hashtag2"]},{"1399830069":["hashtag1","hashtag2"]},{"1399830144":["hashtag1","hashtag2"]},{"1399830030":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399829994, 1399830186, 1399830106, 1399830069, 1399830144, 1399830030)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 49.61489391326904 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:00:02.430838
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/35/image_17122025_20_35_44_9630.jpg', '/home/pi/Desktop/images/17122025/20/35/image_17122025_20_35_55_10596.jpg', '/home/pi/Desktop/images/17122025/20/35/image_17122025_20_36_05_9709.jpg', '/home/pi/Desktop/images/17122025/20/36/image_17122025_20_36_14_9677.jpg', '/home/pi/Desktop/images/17122025/20/36/image_17122025_20_36_44_9689.jpg', '/home/pi/Desktop/images/17122025/20/36/image_17122025_20_36_54_9896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/35/image_17122025_20_35_44_9630.jpg
/home/pi/Desktop/images/17122025/20/35/image_17122025_20_35_55_10596.jpg
/home/pi/Desktop/images/17122025/20/35/image_17122025_20_36_05_9709.jpg
/home/pi/Desktop/images/17122025/20/36/image_17122025_20_36_14_9677.jpg
/home/pi/Desktop/images/17122025/20/36/image_17122025_20_36_44_9689.jpg
/home/pi/Desktop/images/17122025/20/36/image_17122025_20_36_54_9896.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399830647","1399830533","1399830457","1399830495","1399830607","1399830572"],"photo_ids_order":["1399830457","1399830495","1399830533","1399830572","1399830607","1399830647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fe9da1382ca48d511c79ef20b7c87cd.jpg","text":"TemporaryFile(/tmp/multipartBody5699672605134363149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001663300,"filename":"image_17122025_20_36_54_9896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01383e3408c87b33a8e06a7eb6c265aa.jpg","text":"TemporaryFile(/tmp/multipartBody5824701494402853993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001663300,"filename":"image_17122025_20_36_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0e8c4dc5878de07b0422b4659d8a079.jpg","text":"TemporaryFile(/tmp/multipartBody5243370562766788724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001663300,"filename":"image_17122025_20_35_44_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65a81a4425c176b6a8ebf9c1603ca243.jpg","text":"TemporaryFile(/tmp/multipartBody519441569494807599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001663300,"filename":"image_17122025_20_35_55_10596.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9df401b7256253bc0c0122debe189a91.jpg","text":"TemporaryFile(/tmp/multipartBody7786131754873690974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001663300,"filename":"image_17122025_20_36_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e9a054d253099120aa79fa66b966cbd.jpg","text":"TemporaryFile(/tmp/multipartBody1710521538282025173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001663300,"filename":"image_17122025_20_36_14_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399830533","file1":"1399830495","file0":"1399830457","file4":"1399830607","file5":"1399830647","file3":"1399830572"},"map_files_photo_id_array":[{"photo_id":"1399830647","filename":"file5"},{"photo_id":"1399830533","filename":"file2"},{"photo_id":"1399830607","filename":"file4"},{"photo_id":"1399830495","filename":"file1"},{"photo_id":"1399830457","filename":"file0"},{"photo_id":"1399830572","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399830647":["hashtag1","hashtag2"]},{"1399830533":["hashtag1","hashtag2"]},{"1399830457":["hashtag1","hashtag2"]},{"1399830495":["hashtag1","hashtag2"]},{"1399830607":["hashtag1","hashtag2"]},{"1399830572":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399830647, 1399830533, 1399830457, 1399830495, 1399830607, 1399830572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.86723566055298 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:00:42.025272
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_23_3789.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_28_2777.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_31_2745.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_35_3770.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_38_2775.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_43_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_23_3789.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_28_2777.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_31_2745.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_35_3770.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_38_2775.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_43_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":["1399830734","1399830725","1399830728","1399830811","1399830771","1399830726"],"photo_ids_order":["1399830725","1399830726","1399830728","1399830734","1399830771","1399830811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/388225422d2220a7a9fa5306a052d0d8.jpg","text":"TemporaryFile(/tmp/multipartBody6497075215177787304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001703032,"filename":"image_07112025_21_30_35_3770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa77ef83b6bd78e22512d4a77baea1c8.jpg","text":"TemporaryFile(/tmp/multipartBody1109372020773380764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001703032,"filename":"image_07112025_21_30_23_3789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/482420c430eacfb4f3733c614a2ace96.jpg","text":"TemporaryFile(/tmp/multipartBody4064399502954677250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001703032,"filename":"image_07112025_21_30_31_2745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/33bd16e25544009602403b5ebdf458dd.jpg","text":"TemporaryFile(/tmp/multipartBody1641305086032497219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001703032,"filename":"image_07112025_21_30_43_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/acd2b9f0e26c3645018b178b8a5939d6.jpg","text":"TemporaryFile(/tmp/multipartBody8067021593948150731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001703032,"filename":"image_07112025_21_30_38_2775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05e5424e15c6cb36baafe1c50f0a0591.jpg","text":"TemporaryFile(/tmp/multipartBody5143172279717016937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001703032,"filename":"image_07112025_21_30_28_2777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399830728","file1":"1399830726","file0":"1399830725","file4":"1399830771","file5":"1399830811","file3":"1399830734"},"map_files_photo_id_array":[{"photo_id":"1399830811","filename":"file5"},{"photo_id":"1399830728","filename":"file2"},{"photo_id":"1399830771","filename":"file4"},{"photo_id":"1399830726","filename":"file1"},{"photo_id":"1399830725","filename":"file0"},{"photo_id":"1399830734","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399830734":["hashtag1","hashtag2"]},{"1399830725":["hashtag1","hashtag2"]},{"1399830728":["hashtag1","hashtag2"]},{"1399830811":["hashtag1","hashtag2"]},{"1399830771":["hashtag1","hashtag2"]},{"1399830726":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399830734, 1399830725, 1399830728, 1399830811, 1399830771, 1399830726)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.04307270050049 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:01:22.324745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/36/image_17122025_20_37_05_10896.jpg', '/home/pi/Desktop/images/17122025/20/37/image_17122025_20_37_15_9748.jpg', '/home/pi/Desktop/images/17122025/20/37/image_17122025_20_37_34_9741.jpg', '/home/pi/Desktop/images/17122025/20/37/image_17122025_20_37_45_10642.jpg', '/home/pi/Desktop/images/17122025/20/37/image_17122025_20_38_04_9720.jpg', '/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_14_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/36/image_17122025_20_37_05_10896.jpg
/home/pi/Desktop/images/17122025/20/37/image_17122025_20_37_15_9748.jpg
/home/pi/Desktop/images/17122025/20/37/image_17122025_20_37_34_9741.jpg
/home/pi/Desktop/images/17122025/20/37/image_17122025_20_37_45_10642.jpg
/home/pi/Desktop/images/17122025/20/37/image_17122025_20_38_04_9720.jpg
/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_14_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":["1399831207","1399831065","1399830987","1399831026","1399830951","1399831124"],"photo_ids_order":["1399830951","1399830987","1399831026","1399831065","1399831124","1399831207"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/951b317fb3f16bd27fe9737589869b87.jpg","text":"TemporaryFile(/tmp/multipartBody4454251178865189593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001743415,"filename":"image_17122025_20_38_14_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/268fefa61379bf41928cbc64e168bc24.jpg","text":"TemporaryFile(/tmp/multipartBody861109944077853599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001743415,"filename":"image_17122025_20_37_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a1c20a9f6fbc5cc8eb19aa2c8bf6023.jpg","text":"TemporaryFile(/tmp/multipartBody5112801180802657298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001743415,"filename":"image_17122025_20_37_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c364092a2e1dbfd7c185e82a594ce16.jpg","text":"TemporaryFile(/tmp/multipartBody4063935607465261084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001743415,"filename":"image_17122025_20_37_34_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82e036f110d02eec431d16ecc35c6549.jpg","text":"TemporaryFile(/tmp/multipartBody7097600674673574062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001743415,"filename":"image_17122025_20_37_05_10896.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3472a74d850e9cb15db9d95225d34d50.jpg","text":"TemporaryFile(/tmp/multipartBody5259775867253499087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001743415,"filename":"image_17122025_20_38_04_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399831026","file1":"1399830987","file0":"1399830951","file4":"1399831124","file5":"1399831207","file3":"1399831065"},"map_files_photo_id_array":[{"photo_id":"1399831207","filename":"file5"},{"photo_id":"1399831026","filename":"file2"},{"photo_id":"1399831124","filename":"file4"},{"photo_id":"1399830987","filename":"file1"},{"photo_id":"1399830951","filename":"file0"},{"photo_id":"1399831065","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399831207":["hashtag1","hashtag2"]},{"1399831065":["hashtag1","hashtag2"]},{"1399830987":["hashtag1","hashtag2"]},{"1399831026":["hashtag1","hashtag2"]},{"1399830951":["hashtag1","hashtag2"]},{"1399831124":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399831207, 1399831065, 1399830987, 1399831026, 1399830951, 1399831124)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.503284215927124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:02:02.927405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_25_10725.jpg', '/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_35_9740.jpg', '/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_45_10169.jpg', '/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_55_9832.jpg', '/home/pi/Desktop/images/17122025/20/38/image_17122025_20_39_04_9750.jpg', '/home/pi/Desktop/images/17122025/20/39/image_17122025_20_39_14_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_25_10725.jpg
/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_35_9740.jpg
/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_45_10169.jpg
/home/pi/Desktop/images/17122025/20/38/image_17122025_20_38_55_9832.jpg
/home/pi/Desktop/images/17122025/20/38/image_17122025_20_39_04_9750.jpg
/home/pi/Desktop/images/17122025/20/39/image_17122025_20_39_14_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":["1399831765","1399831531","1399831600","1399831671","1399831713","1399831451"],"photo_ids_order":["1399831451","1399831531","1399831600","1399831671","1399831713","1399831765"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d3bae293ca698587f7987d6b1fd4e5e.jpg","text":"TemporaryFile(/tmp/multipartBody4082704735579143701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001783833,"filename":"image_17122025_20_39_14_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e197fcdc6fc1bb445c6d65324a5b0a9.jpg","text":"TemporaryFile(/tmp/multipartBody3581411417181827800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001783833,"filename":"image_17122025_20_38_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3add021c44c019f2207d646265496a8.jpg","text":"TemporaryFile(/tmp/multipartBody646287683105808771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001783833,"filename":"image_17122025_20_38_45_10169.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8c61098c732f8ab33f9e9f31afd9763.jpg","text":"TemporaryFile(/tmp/multipartBody1522180683739126664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001783833,"filename":"image_17122025_20_38_55_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f96249eba58601cc48786ba9bd5ce51.jpg","text":"TemporaryFile(/tmp/multipartBody8325634639570465200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001783833,"filename":"image_17122025_20_39_04_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e4c8ac6890ec7f12b4518bf9f077a64.jpg","text":"TemporaryFile(/tmp/multipartBody7203744440654898340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001783833,"filename":"image_17122025_20_38_25_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399831600","file1":"1399831531","file0":"1399831451","file4":"1399831713","file5":"1399831765","file3":"1399831671"},"map_files_photo_id_array":[{"photo_id":"1399831765","filename":"file5"},{"photo_id":"1399831600","filename":"file2"},{"photo_id":"1399831713","filename":"file4"},{"photo_id":"1399831531","filename":"file1"},{"photo_id":"1399831451","filename":"file0"},{"photo_id":"1399831671","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399831765":["hashtag1","hashtag2"]},{"1399831531":["hashtag1","hashtag2"]},{"1399831600":["hashtag1","hashtag2"]},{"1399831671":["hashtag1","hashtag2"]},{"1399831713":["hashtag1","hashtag2"]},{"1399831451":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399831765, 1399831531, 1399831600, 1399831671, 1399831713, 1399831451)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74648904800415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:02:42.533422
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_47_3646.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_50_2819.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_52_2580.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_56_3662.jpg', '/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_58_2626.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_02_3553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_47_3646.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_50_2819.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_52_2580.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_56_3662.jpg
/home/pi/Desktop/images/07112025/21/30/image_07112025_21_30_58_2626.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_02_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":["1399831916","1399831936","1399831939","1399831933","1399831938","1399831937"],"photo_ids_order":["1399831916","1399831933","1399831936","1399831937","1399831938","1399831939"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1172ebeaf308b0b63894b92443480bd5.jpg","text":"TemporaryFile(/tmp/multipartBody2874072837302139930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001823541,"filename":"image_07112025_21_30_47_3646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/451bbf4d28cf63d2ce381558b83dcff0.jpg","text":"TemporaryFile(/tmp/multipartBody3989357546841631405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001823541,"filename":"image_07112025_21_30_52_2580.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb6e829f3c74f0bef813781a72a0dbbd.jpg","text":"TemporaryFile(/tmp/multipartBody6953893524132871309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001823541,"filename":"image_07112025_21_31_02_3553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5460f0d0cd7238ce67f64c5b082e5d80.jpg","text":"TemporaryFile(/tmp/multipartBody5831585027217103075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001823541,"filename":"image_07112025_21_30_50_2819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48c959cfeb7d1b2a2c98cac00f72b93d.jpg","text":"TemporaryFile(/tmp/multipartBody277509374382912805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001823541,"filename":"image_07112025_21_30_58_2626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fbaf02c9487f6ffaaa5e3b2a477e823e.jpg","text":"TemporaryFile(/tmp/multipartBody6035972770065740012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001823541,"filename":"image_07112025_21_30_56_3662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399831936","file1":"1399831933","file0":"1399831916","file4":"1399831938","file5":"1399831939","file3":"1399831937"},"map_files_photo_id_array":[{"photo_id":"1399831939","filename":"file5"},{"photo_id":"1399831936","filename":"file2"},{"photo_id":"1399831938","filename":"file4"},{"photo_id":"1399831933","filename":"file1"},{"photo_id":"1399831916","filename":"file0"},{"photo_id":"1399831937","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399831916":["hashtag1","hashtag2"]},{"1399831936":["hashtag1","hashtag2"]},{"1399831939":["hashtag1","hashtag2"]},{"1399831933":["hashtag1","hashtag2"]},{"1399831938":["hashtag1","hashtag2"]},{"1399831937":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399831916, 1399831936, 1399831939, 1399831933, 1399831938, 1399831937)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.580525398254395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:03:22.840688
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/39/image_17122025_20_39_44_9786.jpg', '/home/pi/Desktop/images/17122025/20/39/image_17122025_20_39_55_10651.jpg', '/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_05_9751.jpg', '/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_15_9757.jpg', '/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_35_10693.jpg', '/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_45_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/39/image_17122025_20_39_44_9786.jpg
/home/pi/Desktop/images/17122025/20/39/image_17122025_20_39_55_10651.jpg
/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_05_9751.jpg
/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_15_9757.jpg
/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_35_10693.jpg
/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_45_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":["1399832128","1399831987","1399832142","1399832054","1399832156","1399832092"],"photo_ids_order":["1399831987","1399832054","1399832092","1399832128","1399832142","1399832156"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34e60f496fd702fa4904e213c450c000.jpg","text":"TemporaryFile(/tmp/multipartBody8666084595764370747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001864170,"filename":"image_17122025_20_40_15_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/161c42b3a9fcd6d1d11612bb5488149d.jpg","text":"TemporaryFile(/tmp/multipartBody4315741647584436340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001864170,"filename":"image_17122025_20_39_44_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c20158752acbed880a84d4dbc7eb89c8.jpg","text":"TemporaryFile(/tmp/multipartBody2392797072313547026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001864170,"filename":"image_17122025_20_40_35_10693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/048bceb50c90b332a8150161f8677670.jpg","text":"TemporaryFile(/tmp/multipartBody320322605875007830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001864170,"filename":"image_17122025_20_39_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b06a39f88f7a574b853c1d122473d9cc.jpg","text":"TemporaryFile(/tmp/multipartBody5517748098901879207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001864170,"filename":"image_17122025_20_40_45_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed90fe64783b0f27bf60819ec669f6df.jpg","text":"TemporaryFile(/tmp/multipartBody5184386586893357840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001864170,"filename":"image_17122025_20_40_05_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832092","file1":"1399832054","file0":"1399831987","file4":"1399832142","file5":"1399832156","file3":"1399832128"},"map_files_photo_id_array":[{"photo_id":"1399832156","filename":"file5"},{"photo_id":"1399832092","filename":"file2"},{"photo_id":"1399832142","filename":"file4"},{"photo_id":"1399832054","filename":"file1"},{"photo_id":"1399831987","filename":"file0"},{"photo_id":"1399832128","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832128":["hashtag1","hashtag2"]},{"1399831987":["hashtag1","hashtag2"]},{"1399832142":["hashtag1","hashtag2"]},{"1399832054":["hashtag1","hashtag2"]},{"1399832156":["hashtag1","hashtag2"]},{"1399832092":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832128, 1399831987, 1399832142, 1399832054, 1399832156, 1399832092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.7698769569397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:04:11.961289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:04:22.023296
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_54_9662.jpg', '/home/pi/Desktop/images/17122025/20/40/image_17122025_20_41_04_9683.jpg', '/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_15_10641.jpg', '/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_24_9684.jpg', '/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_34_9706.jpg', '/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_45_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/40/image_17122025_20_40_54_9662.jpg
/home/pi/Desktop/images/17122025/20/40/image_17122025_20_41_04_9683.jpg
/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_15_10641.jpg
/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_24_9684.jpg
/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_34_9706.jpg
/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_45_10717.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832221","1399832215","1399832211","1399832217","1399832210","1399832213"],"photo_ids_order":["1399832210","1399832211","1399832213","1399832215","1399832217","1399832221"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2bcdf20df7619d949a0fe527a12110c.jpg","text":"TemporaryFile(/tmp/multipartBody6336467684737015324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001922894,"filename":"image_17122025_20_41_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b96895847f014166f26c67d494bb8419.jpg","text":"TemporaryFile(/tmp/multipartBody4807146472390152552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001922894,"filename":"image_17122025_20_41_24_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b055f38987ef05395a322f3bcfe809f4.jpg","text":"TemporaryFile(/tmp/multipartBody9074892567357069613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001922894,"filename":"image_17122025_20_41_04_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00af5f11179937f30ba92adf13d02152.jpg","text":"TemporaryFile(/tmp/multipartBody4297157294474721726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001922894,"filename":"image_17122025_20_41_34_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d60abc2b94e67710da94fe206175b35.jpg","text":"TemporaryFile(/tmp/multipartBody7302378254523180685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001922894,"filename":"image_17122025_20_40_54_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f82c32e8ebfea06a6e31b62b4a38517.jpg","text":"TemporaryFile(/tmp/multipartBody1713045313534225070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001922894,"filename":"image_17122025_20_41_15_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832213","file1":"1399832211","file0":"1399832210","file4":"1399832217","file5":"1399832221","file3":"1399832215"},"map_files_photo_id_array":[{"photo_id":"1399832221","filename":"file5"},{"photo_id":"1399832213","filename":"file2"},{"photo_id":"1399832217","filename":"file4"},{"photo_id":"1399832211","filename":"file1"},{"photo_id":"1399832210","filename":"file0"},{"photo_id":"1399832215","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832221":["hashtag1","hashtag2"]},{"1399832215":["hashtag1","hashtag2"]},{"1399832211":["hashtag1","hashtag2"]},{"1399832217":["hashtag1","hashtag2"]},{"1399832210":["hashtag1","hashtag2"]},{"1399832213":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832221, 1399832215, 1399832211, 1399832217, 1399832210, 1399832213)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21338868141174 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:05:02.882474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_55_9715.jpg', '/home/pi/Desktop/images/17122025/20/41/image_17122025_20_42_04_9669.jpg', '/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_15_10760.jpg', '/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_25_9568.jpg', '/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_34_9677.jpg', '/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_45_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/41/image_17122025_20_41_55_9715.jpg
/home/pi/Desktop/images/17122025/20/41/image_17122025_20_42_04_9669.jpg
/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_15_10760.jpg
/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_25_9568.jpg
/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_34_9677.jpg
/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_45_10657.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832245","1399832227","1399832244","1399832235","1399832246","1399832243"],"photo_ids_order":["1399832227","1399832235","1399832243","1399832244","1399832245","1399832246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3527a5bf4f0a760bd81474084a24906c.jpg","text":"TemporaryFile(/tmp/multipartBody147213017541175486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001963969,"filename":"image_17122025_20_42_34_9677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3538a02104ff060c4d01f1d44bb002f6.jpg","text":"TemporaryFile(/tmp/multipartBody7946275277042526356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001963969,"filename":"image_17122025_20_41_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c709f6b59ac6ea0bc0e9d68850ba3c1.jpg","text":"TemporaryFile(/tmp/multipartBody7268058917974001727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001963969,"filename":"image_17122025_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/2025/12/17/fac28ed300bbfc7ae6c7041c16324904.jpg","text":"TemporaryFile(/tmp/multipartBody5557265455932748685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001963969,"filename":"image_17122025_20_42_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/36acf27df6f254c775f98c6b9826709c.jpg","text":"TemporaryFile(/tmp/multipartBody1747068103151811433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001963969,"filename":"image_17122025_20_42_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/845829fa30e810e3921a0dd643a4b2cc.jpg","text":"TemporaryFile(/tmp/multipartBody1892756306683336310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766001963969,"filename":"image_17122025_20_42_15_10760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832243","file1":"1399832235","file0":"1399832227","file4":"1399832245","file5":"1399832246","file3":"1399832244"},"map_files_photo_id_array":[{"photo_id":"1399832246","filename":"file5"},{"photo_id":"1399832243","filename":"file2"},{"photo_id":"1399832245","filename":"file4"},{"photo_id":"1399832235","filename":"file1"},{"photo_id":"1399832227","filename":"file0"},{"photo_id":"1399832244","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832245":["hashtag1","hashtag2"]},{"1399832227":["hashtag1","hashtag2"]},{"1399832244":["hashtag1","hashtag2"]},{"1399832235":["hashtag1","hashtag2"]},{"1399832246":["hashtag1","hashtag2"]},{"1399832243":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832245, 1399832227, 1399832244, 1399832235, 1399832246, 1399832243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.76555371284485 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:05:42.404263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_05_2646.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_07_2643.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_11_3586.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_14_2689.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_19_2686.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_23_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_05_2646.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_07_2643.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_11_3586.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_14_2689.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_19_2686.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_23_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":["1399832251","1399832254","1399832248","1399832250","1399832247","1399832252"],"photo_ids_order":["1399832247","1399832248","1399832250","1399832251","1399832252","1399832254"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9723447afd2b2385dcc864ebda984483.jpg","text":"TemporaryFile(/tmp/multipartBody8338376984829809904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002003457,"filename":"image_07112025_21_31_14_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48b21b12ef20b68e9b9ca8fb5c2a2c2c.jpg","text":"TemporaryFile(/tmp/multipartBody5070104655446650145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002003457,"filename":"image_07112025_21_31_23_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6438e374a88e0b0ebda68a44140abbdf.jpg","text":"TemporaryFile(/tmp/multipartBody4411970776165391716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002003457,"filename":"image_07112025_21_31_07_2643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9e9dc7485b610d8245b61578b771a19.jpg","text":"TemporaryFile(/tmp/multipartBody3061162339788628011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002003457,"filename":"image_07112025_21_31_11_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5492002d738de9975c7b533c3755f6ff.jpg","text":"TemporaryFile(/tmp/multipartBody7430611961325629211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002003457,"filename":"image_07112025_21_31_05_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b53873e465031896a3a90f2929e1d662.jpg","text":"TemporaryFile(/tmp/multipartBody323445316997665676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002003457,"filename":"image_07112025_21_31_19_2686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832250","file1":"1399832248","file0":"1399832247","file4":"1399832252","file5":"1399832254","file3":"1399832251"},"map_files_photo_id_array":[{"photo_id":"1399832254","filename":"file5"},{"photo_id":"1399832250","filename":"file2"},{"photo_id":"1399832252","filename":"file4"},{"photo_id":"1399832248","filename":"file1"},{"photo_id":"1399832247","filename":"file0"},{"photo_id":"1399832251","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832251":["hashtag1","hashtag2"]},{"1399832254":["hashtag1","hashtag2"]},{"1399832248":["hashtag1","hashtag2"]},{"1399832250":["hashtag1","hashtag2"]},{"1399832247":["hashtag1","hashtag2"]},{"1399832252":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832251, 1399832254, 1399832248, 1399832250, 1399832247, 1399832252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.26660418510437 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:06:22.609156
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_55_9828.jpg', '/home/pi/Desktop/images/17122025/20/42/image_17122025_20_43_05_9807.jpg', '/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_15_10021.jpg', '/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_25_10187.jpg', '/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_34_9666.jpg', '/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_45_10269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/42/image_17122025_20_42_55_9828.jpg
/home/pi/Desktop/images/17122025/20/42/image_17122025_20_43_05_9807.jpg
/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_15_10021.jpg
/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_25_10187.jpg
/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_34_9666.jpg
/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_45_10269.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832266","1399832260","1399832262","1399832276","1399832258","1399832257"],"photo_ids_order":["1399832257","1399832258","1399832260","1399832262","1399832266","1399832276"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c26693cdf3a0c907f624a32a7acefd0b.jpg","text":"TemporaryFile(/tmp/multipartBody8383855890953562489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002043469,"filename":"image_17122025_20_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/2025/12/17/33c625d5b06bbf4e37e98f5c6a351222.jpg","text":"TemporaryFile(/tmp/multipartBody6964206894166487445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002043469,"filename":"image_17122025_20_43_15_10021.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c75fd66b2acc0de353dc99d4fe5c4f3b.jpg","text":"TemporaryFile(/tmp/multipartBody5034973505968239511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002043469,"filename":"image_17122025_20_43_25_10187.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d738e5638a6138775092ab88ba230a41.jpg","text":"TemporaryFile(/tmp/multipartBody8512053475730027541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002043469,"filename":"image_17122025_20_43_45_10269.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d13ae8a97a8409572e74be922355499.jpg","text":"TemporaryFile(/tmp/multipartBody1006400801042157961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002043469,"filename":"image_17122025_20_43_05_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa4fb187c69c195b8a04f565722aeaba.jpg","text":"TemporaryFile(/tmp/multipartBody3724845128231298514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002043469,"filename":"image_17122025_20_42_55_9828.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832260","file1":"1399832258","file0":"1399832257","file4":"1399832266","file5":"1399832276","file3":"1399832262"},"map_files_photo_id_array":[{"photo_id":"1399832276","filename":"file5"},{"photo_id":"1399832260","filename":"file2"},{"photo_id":"1399832266","filename":"file4"},{"photo_id":"1399832258","filename":"file1"},{"photo_id":"1399832257","filename":"file0"},{"photo_id":"1399832262","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832266":["hashtag1","hashtag2"]},{"1399832260":["hashtag1","hashtag2"]},{"1399832262":["hashtag1","hashtag2"]},{"1399832276":["hashtag1","hashtag2"]},{"1399832258":["hashtag1","hashtag2"]},{"1399832257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832266, 1399832260, 1399832262, 1399832276, 1399832258, 1399832257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.15277671813965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:07:02.427020
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_55_10081.jpg', '/home/pi/Desktop/images/17122025/20/43/image_17122025_20_44_04_9685.jpg', '/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_14_9935.jpg', '/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_25_10309.jpg', '/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_35_9793.jpg', '/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_44_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/43/image_17122025_20_43_55_10081.jpg
/home/pi/Desktop/images/17122025/20/43/image_17122025_20_44_04_9685.jpg
/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_14_9935.jpg
/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_25_10309.jpg
/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_35_9793.jpg
/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_44_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":["1399832287","1399832280","1399832282","1399832285","1399832284","1399832278"],"photo_ids_order":["1399832278","1399832280","1399832282","1399832284","1399832285","1399832287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2a058dd7ea150760259137b4661305b.jpg","text":"TemporaryFile(/tmp/multipartBody5753991204407035729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002083316,"filename":"image_17122025_20_44_44_9770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0002fcaeef351b85bb0f13ae69d8b6ad.jpg","text":"TemporaryFile(/tmp/multipartBody83402407773435478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002083316,"filename":"image_17122025_20_44_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b3c7b6d727c75438d5ace749f06a0ba.jpg","text":"TemporaryFile(/tmp/multipartBody449273287207544721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002083316,"filename":"image_17122025_20_44_14_9935.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1434a26283c9b02641f6a3641c80015.jpg","text":"TemporaryFile(/tmp/multipartBody5835291901157551935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002083316,"filename":"image_17122025_20_44_35_9793.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c58df615c00a821d4fdfe3d4540e8b72.jpg","text":"TemporaryFile(/tmp/multipartBody8132458575557628371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002083316,"filename":"image_17122025_20_44_25_10309.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/545882a487c662438176e13c097b2bf7.jpg","text":"TemporaryFile(/tmp/multipartBody1744775798784599912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002083316,"filename":"image_17122025_20_43_55_10081.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832282","file1":"1399832280","file0":"1399832278","file4":"1399832285","file5":"1399832287","file3":"1399832284"},"map_files_photo_id_array":[{"photo_id":"1399832287","filename":"file5"},{"photo_id":"1399832282","filename":"file2"},{"photo_id":"1399832285","filename":"file4"},{"photo_id":"1399832280","filename":"file1"},{"photo_id":"1399832278","filename":"file0"},{"photo_id":"1399832284","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832287":["hashtag1","hashtag2"]},{"1399832280":["hashtag1","hashtag2"]},{"1399832282":["hashtag1","hashtag2"]},{"1399832285":["hashtag1","hashtag2"]},{"1399832284":["hashtag1","hashtag2"]},{"1399832278":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832287, 1399832280, 1399832282, 1399832285, 1399832284, 1399832278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05281209945679 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:07:41.797257
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_25_2785.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_28_2634.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_32_3817.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_35_2669.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_37_2708.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_41_3697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_25_2785.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_28_2634.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_32_3817.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_35_2669.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_37_2708.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_41_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":["1399832298","1399832292","1399832295","1399832297","1399832300","1399832299"],"photo_ids_order":["1399832292","1399832295","1399832297","1399832298","1399832299","1399832300"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/323b37a470e53bf0396cc6558f8f8718.jpg","text":"TemporaryFile(/tmp/multipartBody4380699345266192910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002122799,"filename":"image_07112025_21_31_35_2669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d38d8647fa6769bbe4e860247b767935.jpg","text":"TemporaryFile(/tmp/multipartBody1365525049187900180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002122799,"filename":"image_07112025_21_31_25_2785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1993589c01eb9e4cf4feb8b3978b09c.jpg","text":"TemporaryFile(/tmp/multipartBody5760918240199704318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002122799,"filename":"image_07112025_21_31_28_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70aefd70e7f8f8d8e92959516a5a4cf5.jpg","text":"TemporaryFile(/tmp/multipartBody6531135419325981435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002122799,"filename":"image_07112025_21_31_32_3817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2158588ec8b328a0af5dadd1490fc091.jpg","text":"TemporaryFile(/tmp/multipartBody4763975155250996234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002122799,"filename":"image_07112025_21_31_41_3697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f4591de017f6b9d2fb3b4d20286de326.jpg","text":"TemporaryFile(/tmp/multipartBody4140052398693740038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002122799,"filename":"image_07112025_21_31_37_2708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832297","file1":"1399832295","file0":"1399832292","file4":"1399832299","file5":"1399832300","file3":"1399832298"},"map_files_photo_id_array":[{"photo_id":"1399832300","filename":"file5"},{"photo_id":"1399832297","filename":"file2"},{"photo_id":"1399832299","filename":"file4"},{"photo_id":"1399832295","filename":"file1"},{"photo_id":"1399832292","filename":"file0"},{"photo_id":"1399832298","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832298":["hashtag1","hashtag2"]},{"1399832292":["hashtag1","hashtag2"]},{"1399832295":["hashtag1","hashtag2"]},{"1399832297":["hashtag1","hashtag2"]},{"1399832300":["hashtag1","hashtag2"]},{"1399832299":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832298, 1399832292, 1399832295, 1399832297, 1399832300, 1399832299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.57574534416199 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:08:22.151983
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_55_10684.jpg', '/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_05_9549.jpg', '/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_14_9628.jpg', '/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_25_10669.jpg', '/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_35_9742.jpg', '/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_44_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/44/image_17122025_20_44_55_10684.jpg
/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_05_9549.jpg
/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_14_9628.jpg
/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_25_10669.jpg
/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_35_9742.jpg
/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_44_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":["1399832311","1399832304","1399832313","1399832307","1399832316","1399832309"],"photo_ids_order":["1399832304","1399832307","1399832309","1399832311","1399832313","1399832316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ccccb58c77874bd2a23ccbc52cd8ea0a.jpg","text":"TemporaryFile(/tmp/multipartBody3499551283338921566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002163219,"filename":"image_17122025_20_45_25_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f7c796385c3f6ed1c0d580a869dcf4e.jpg","text":"TemporaryFile(/tmp/multipartBody1491954053137436252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002163219,"filename":"image_17122025_20_44_55_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55c0e4440268c3f2f99af5d0a50825ba.jpg","text":"TemporaryFile(/tmp/multipartBody1658507164172645584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002163219,"filename":"image_17122025_20_45_35_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/662c2e4c3a4a1047053488b9a51691b2.jpg","text":"TemporaryFile(/tmp/multipartBody7529168925557163625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002163219,"filename":"image_17122025_20_45_05_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf2d85e94767d97704995e5c697a6283.jpg","text":"TemporaryFile(/tmp/multipartBody4817916879762421961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002163219,"filename":"image_17122025_20_45_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14f22126d808aec4e07f7d810633acd7.jpg","text":"TemporaryFile(/tmp/multipartBody6579843771943730648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002163219,"filename":"image_17122025_20_45_14_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832309","file1":"1399832307","file0":"1399832304","file4":"1399832313","file5":"1399832316","file3":"1399832311"},"map_files_photo_id_array":[{"photo_id":"1399832316","filename":"file5"},{"photo_id":"1399832309","filename":"file2"},{"photo_id":"1399832313","filename":"file4"},{"photo_id":"1399832307","filename":"file1"},{"photo_id":"1399832304","filename":"file0"},{"photo_id":"1399832311","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832311":["hashtag1","hashtag2"]},{"1399832304":["hashtag1","hashtag2"]},{"1399832313":["hashtag1","hashtag2"]},{"1399832307":["hashtag1","hashtag2"]},{"1399832316":["hashtag1","hashtag2"]},{"1399832309":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832311, 1399832304, 1399832313, 1399832307, 1399832316, 1399832309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42437243461609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:09:03.014651
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_55_10681.jpg', '/home/pi/Desktop/images/17122025/20/45/image_17122025_20_46_05_9675.jpg', '/home/pi/Desktop/images/17122025/20/46/image_17122025_20_46_14_9758.jpg', '/home/pi/Desktop/images/17122025/20/46/image_17122025_20_46_25_10758.jpg', '/home/pi/Desktop/images/17122025/20/47/image_17122025_20_47_15_10124.jpg', '/home/pi/Desktop/images/17122025/20/47/image_17122025_20_47_35_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/45/image_17122025_20_45_55_10681.jpg
/home/pi/Desktop/images/17122025/20/45/image_17122025_20_46_05_9675.jpg
/home/pi/Desktop/images/17122025/20/46/image_17122025_20_46_14_9758.jpg
/home/pi/Desktop/images/17122025/20/46/image_17122025_20_46_25_10758.jpg
/home/pi/Desktop/images/17122025/20/47/image_17122025_20_47_15_10124.jpg
/home/pi/Desktop/images/17122025/20/47/image_17122025_20_47_35_9757.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832335","1399832329","1399832317","1399832331","1399832325","1399832327"],"photo_ids_order":["1399832317","1399832325","1399832327","1399832329","1399832331","1399832335"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86ca331b6605e7cc21f22da56752cde6.jpg","text":"TemporaryFile(/tmp/multipartBody7735989999032792330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002204036,"filename":"image_17122025_20_47_35_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55414557c2f228f30290948f52820d67.jpg","text":"TemporaryFile(/tmp/multipartBody1902912128860309370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002204036,"filename":"image_17122025_20_46_25_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc1b9c12929c1985de754ec7d3d8310c.jpg","text":"TemporaryFile(/tmp/multipartBody5511632205306857095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002204036,"filename":"image_17122025_20_45_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ab38887c8daa812662eddba8d90d5f9.jpg","text":"TemporaryFile(/tmp/multipartBody3448312134658633389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002204036,"filename":"image_17122025_20_47_15_10124.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1efb1ff04ec4d3cc6745630ee1f6081c.jpg","text":"TemporaryFile(/tmp/multipartBody3723714731026304212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002204036,"filename":"image_17122025_20_46_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/638266a48ce6904abe07d2b34cd1ab5a.jpg","text":"TemporaryFile(/tmp/multipartBody7671804821942925778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002204036,"filename":"image_17122025_20_46_14_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832327","file1":"1399832325","file0":"1399832317","file4":"1399832331","file5":"1399832335","file3":"1399832329"},"map_files_photo_id_array":[{"photo_id":"1399832335","filename":"file5"},{"photo_id":"1399832327","filename":"file2"},{"photo_id":"1399832331","filename":"file4"},{"photo_id":"1399832325","filename":"file1"},{"photo_id":"1399832317","filename":"file0"},{"photo_id":"1399832329","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832335":["hashtag1","hashtag2"]},{"1399832329":["hashtag1","hashtag2"]},{"1399832317":["hashtag1","hashtag2"]},{"1399832331":["hashtag1","hashtag2"]},{"1399832325":["hashtag1","hashtag2"]},{"1399832327":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832335, 1399832329, 1399832317, 1399832331, 1399832325, 1399832327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11976885795593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:09:42.273773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_44_2784.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_46_2746.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_49_2714.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_56_2674.jpg', '/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_58_2605.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_02_3707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_44_2784.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_46_2746.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_49_2714.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_56_2674.jpg
/home/pi/Desktop/images/07112025/21/31/image_07112025_21_31_58_2605.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_02_3707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832344","1399832347","1399832340","1399832343","1399832346","1399832345"],"photo_ids_order":["1399832340","1399832343","1399832344","1399832345","1399832346","1399832347"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c4fdac23197fcfc5cd14d42f7466e12.jpg","text":"TemporaryFile(/tmp/multipartBody3188829747503139618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002243316,"filename":"image_07112025_21_31_49_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/66adb3ff0c73da9d5ed25ef7381f4768.jpg","text":"TemporaryFile(/tmp/multipartBody4915557794847077642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002243316,"filename":"image_07112025_21_32_02_3707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64dd577dcf4b2d5af701e046867cd491.jpg","text":"TemporaryFile(/tmp/multipartBody8098579610946000727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002243316,"filename":"image_07112025_21_31_44_2784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68ce0d125ebed05b9b34c2d7d3c9e157.jpg","text":"TemporaryFile(/tmp/multipartBody9110235259172090789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002243316,"filename":"image_07112025_21_31_46_2746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb0425e46a62afaf8cc22da8e03817db.jpg","text":"TemporaryFile(/tmp/multipartBody2610282682098274313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002243316,"filename":"image_07112025_21_31_58_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ffc7811c0d83efe703113b4f34c0154.jpg","text":"TemporaryFile(/tmp/multipartBody7784960944816728438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002243316,"filename":"image_07112025_21_31_56_2674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832344","file1":"1399832343","file0":"1399832340","file4":"1399832346","file5":"1399832347","file3":"1399832345"},"map_files_photo_id_array":[{"photo_id":"1399832347","filename":"file5"},{"photo_id":"1399832344","filename":"file2"},{"photo_id":"1399832346","filename":"file4"},{"photo_id":"1399832343","filename":"file1"},{"photo_id":"1399832340","filename":"file0"},{"photo_id":"1399832345","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832344":["hashtag1","hashtag2"]},{"1399832347":["hashtag1","hashtag2"]},{"1399832340":["hashtag1","hashtag2"]},{"1399832343":["hashtag1","hashtag2"]},{"1399832346":["hashtag1","hashtag2"]},{"1399832345":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832344, 1399832347, 1399832340, 1399832343, 1399832346, 1399832345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70742344856262 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:10:22.494819
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/47/image_17122025_20_47_45_10070.jpg', '/home/pi/Desktop/images/17122025/20/47/image_17122025_20_48_04_9861.jpg', '/home/pi/Desktop/images/17122025/20/48/image_17122025_20_48_15_10767.jpg', '/home/pi/Desktop/images/17122025/20/48/image_17122025_20_48_25_9902.jpg', '/home/pi/Desktop/images/17122025/20/48/image_17122025_20_48_35_9622.jpg', '/home/pi/Desktop/images/17122025/20/48/image_17122025_20_48_44_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/47/image_17122025_20_47_45_10070.jpg
/home/pi/Desktop/images/17122025/20/47/image_17122025_20_48_04_9861.jpg
/home/pi/Desktop/images/17122025/20/48/image_17122025_20_48_15_10767.jpg
/home/pi/Desktop/images/17122025/20/48/image_17122025_20_48_25_9902.jpg
/home/pi/Desktop/images/17122025/20/48/image_17122025_20_48_35_9622.jpg
/home/pi/Desktop/images/17122025/20/48/image_17122025_20_48_44_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":["1399832371","1399832368","1399832361","1399832366","1399832354","1399832357"],"photo_ids_order":["1399832354","1399832357","1399832361","1399832366","1399832368","1399832371"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d2afe923b3b96addcb239b44f7d6163.jpg","text":"TemporaryFile(/tmp/multipartBody8094852043047432086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002283540,"filename":"image_17122025_20_48_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bd22769974c16eaf10d56b5227da770.jpg","text":"TemporaryFile(/tmp/multipartBody8236059933030804057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002283540,"filename":"image_17122025_20_48_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac6578148900adf1c9da840571d8c013.jpg","text":"TemporaryFile(/tmp/multipartBody7349227694134178424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002283540,"filename":"image_17122025_20_48_15_10767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e621d1db19a3fbd7dde3796dd5f09b2d.jpg","text":"TemporaryFile(/tmp/multipartBody6473320574781520569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002283540,"filename":"image_17122025_20_48_25_9902.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29aecfe972fb0202444c1bdff0921f6f.jpg","text":"TemporaryFile(/tmp/multipartBody5315507342918402513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002283540,"filename":"image_17122025_20_47_45_10070.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ec6098be997d83e88998329f5cb873db.jpg","text":"TemporaryFile(/tmp/multipartBody7446495071195037663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002283540,"filename":"image_17122025_20_48_04_9861.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832361","file1":"1399832357","file0":"1399832354","file4":"1399832368","file5":"1399832371","file3":"1399832366"},"map_files_photo_id_array":[{"photo_id":"1399832371","filename":"file5"},{"photo_id":"1399832361","filename":"file2"},{"photo_id":"1399832368","filename":"file4"},{"photo_id":"1399832357","filename":"file1"},{"photo_id":"1399832354","filename":"file0"},{"photo_id":"1399832366","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832371":["hashtag1","hashtag2"]},{"1399832368":["hashtag1","hashtag2"]},{"1399832361":["hashtag1","hashtag2"]},{"1399832366":["hashtag1","hashtag2"]},{"1399832354":["hashtag1","hashtag2"]},{"1399832357":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832371, 1399832368, 1399832361, 1399832366, 1399832354, 1399832357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.29355525970459 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:11:02.429940
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/48/image_17122025_20_49_05_9718.jpg', '/home/pi/Desktop/images/17122025/20/49/image_17122025_20_49_14_9675.jpg', '/home/pi/Desktop/images/17122025/20/49/image_17122025_20_49_25_10729.jpg', '/home/pi/Desktop/images/17122025/20/49/image_17122025_20_49_35_9623.jpg', '/home/pi/Desktop/images/17122025/20/49/image_17122025_20_49_54_10003.jpg', '/home/pi/Desktop/images/17122025/20/50/image_17122025_20_50_15_9752.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/48/image_17122025_20_49_05_9718.jpg
/home/pi/Desktop/images/17122025/20/49/image_17122025_20_49_14_9675.jpg
/home/pi/Desktop/images/17122025/20/49/image_17122025_20_49_25_10729.jpg
/home/pi/Desktop/images/17122025/20/49/image_17122025_20_49_35_9623.jpg
/home/pi/Desktop/images/17122025/20/49/image_17122025_20_49_54_10003.jpg
/home/pi/Desktop/images/17122025/20/50/image_17122025_20_50_15_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":["1399832379","1399832382","1399832376","1399832372","1399832375","1399832374"],"photo_ids_order":["1399832372","1399832374","1399832375","1399832376","1399832379","1399832382"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e59441d2689f9441bb32a28791c843b.jpg","text":"TemporaryFile(/tmp/multipartBody1139744634095119846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002323302,"filename":"image_17122025_20_49_54_10003.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02b77744a2d58a93b992404b1c34627b.jpg","text":"TemporaryFile(/tmp/multipartBody5230059318214177461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002323302,"filename":"image_17122025_20_50_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00a1d9c2f3d92dd0066fa8cca3af99b9.jpg","text":"TemporaryFile(/tmp/multipartBody7673670928327254403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002323302,"filename":"image_17122025_20_49_35_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3eb722dc35781e08ce2955e2d39aa2b1.jpg","text":"TemporaryFile(/tmp/multipartBody7510364371385435913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002323302,"filename":"image_17122025_20_49_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42481863237fe749f3b30b96fb22ef9f.jpg","text":"TemporaryFile(/tmp/multipartBody929974456149075746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002323302,"filename":"image_17122025_20_49_25_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1e7ffd0c4187adea19073c4e607ef75.jpg","text":"TemporaryFile(/tmp/multipartBody2214405226141869992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002323302,"filename":"image_17122025_20_49_14_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832375","file1":"1399832374","file0":"1399832372","file4":"1399832379","file5":"1399832382","file3":"1399832376"},"map_files_photo_id_array":[{"photo_id":"1399832382","filename":"file5"},{"photo_id":"1399832375","filename":"file2"},{"photo_id":"1399832379","filename":"file4"},{"photo_id":"1399832374","filename":"file1"},{"photo_id":"1399832372","filename":"file0"},{"photo_id":"1399832376","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832379":["hashtag1","hashtag2"]},{"1399832382":["hashtag1","hashtag2"]},{"1399832376":["hashtag1","hashtag2"]},{"1399832372":["hashtag1","hashtag2"]},{"1399832375":["hashtag1","hashtag2"]},{"1399832374":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832379, 1399832382, 1399832376, 1399832372, 1399832375, 1399832374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.085997343063354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:11:41.833972
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_05_2694.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_07_2681.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_11_3677.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_14_2623.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_16_2607.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_20_3669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_05_2694.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_07_2681.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_11_3677.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_14_2623.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_16_2607.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_20_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":["1399832391","1399832394","1399832396","1399832393","1399832395","1399832389"],"photo_ids_order":["1399832389","1399832391","1399832393","1399832394","1399832395","1399832396"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b113b19f2d3af3b18620cd96bc4c9ac.jpg","text":"TemporaryFile(/tmp/multipartBody6166542386108842469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002362844,"filename":"image_07112025_21_32_07_2681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/363aa4334b0f530c4b551ef721db0596.jpg","text":"TemporaryFile(/tmp/multipartBody6761561714362726715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002362844,"filename":"image_07112025_21_32_14_2623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c5f6aad39876e33312d274a4d3b16d9.jpg","text":"TemporaryFile(/tmp/multipartBody7711580554423765724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002362844,"filename":"image_07112025_21_32_20_3669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0286e71e247f40c1ebb62dfe530e877e.jpg","text":"TemporaryFile(/tmp/multipartBody5920893084882831709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002362844,"filename":"image_07112025_21_32_11_3677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/733c6af945767e650f89cd4509df57f0.jpg","text":"TemporaryFile(/tmp/multipartBody7730090271172600334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002362844,"filename":"image_07112025_21_32_16_2607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1e523aece64ab6bc87a27ee6697f040.jpg","text":"TemporaryFile(/tmp/multipartBody4167568948904151136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002362844,"filename":"image_07112025_21_32_05_2694.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832393","file1":"1399832391","file0":"1399832389","file4":"1399832395","file5":"1399832396","file3":"1399832394"},"map_files_photo_id_array":[{"photo_id":"1399832396","filename":"file5"},{"photo_id":"1399832393","filename":"file2"},{"photo_id":"1399832395","filename":"file4"},{"photo_id":"1399832391","filename":"file1"},{"photo_id":"1399832389","filename":"file0"},{"photo_id":"1399832394","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832391":["hashtag1","hashtag2"]},{"1399832394":["hashtag1","hashtag2"]},{"1399832396":["hashtag1","hashtag2"]},{"1399832393":["hashtag1","hashtag2"]},{"1399832395":["hashtag1","hashtag2"]},{"1399832389":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832391, 1399832394, 1399832396, 1399832393, 1399832395, 1399832389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.572787284851074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:12:22.079621
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/50/image_17122025_20_50_24_9588.jpg', '/home/pi/Desktop/images/17122025/20/50/image_17122025_20_50_35_10755.jpg', '/home/pi/Desktop/images/17122025/20/50/image_17122025_20_50_45_9599.jpg', '/home/pi/Desktop/images/17122025/20/50/image_17122025_20_51_05_10769.jpg', '/home/pi/Desktop/images/17122025/20/51/image_17122025_20_51_15_9837.jpg', '/home/pi/Desktop/images/17122025/20/51/image_17122025_20_51_55_9767.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/50/image_17122025_20_50_24_9588.jpg
/home/pi/Desktop/images/17122025/20/50/image_17122025_20_50_35_10755.jpg
/home/pi/Desktop/images/17122025/20/50/image_17122025_20_50_45_9599.jpg
/home/pi/Desktop/images/17122025/20/50/image_17122025_20_51_05_10769.jpg
/home/pi/Desktop/images/17122025/20/51/image_17122025_20_51_15_9837.jpg
/home/pi/Desktop/images/17122025/20/51/image_17122025_20_51_55_9767.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832407","1399832401","1399832403","1399832415","1399832409","1399832411"],"photo_ids_order":["1399832401","1399832403","1399832407","1399832409","1399832411","1399832415"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c569bfcfdadbdd6504c257085125dcf.jpg","text":"TemporaryFile(/tmp/multipartBody7656613811391714927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002402982,"filename":"image_17122025_20_50_45_9599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c51076c8af0b56aa451e9585108e733.jpg","text":"TemporaryFile(/tmp/multipartBody6673748976743805015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002402982,"filename":"image_17122025_20_50_24_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a174d1e9659d6ae46631e50e9711c7a6.jpg","text":"TemporaryFile(/tmp/multipartBody8400619962529512288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002402982,"filename":"image_17122025_20_50_35_10755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f53521f490093eb6d38b48bf559f9ca.jpg","text":"TemporaryFile(/tmp/multipartBody4310186479278242668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002402982,"filename":"image_17122025_20_51_55_9767.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a143d0b66b5cfe3308ff1e0b5521700c.jpg","text":"TemporaryFile(/tmp/multipartBody898782714509606630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002402982,"filename":"image_17122025_20_51_05_10769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d9a25fcbe8ed77a687b57b6a54cd4c2.jpg","text":"TemporaryFile(/tmp/multipartBody6492233904758413739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002402982,"filename":"image_17122025_20_51_15_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832407","file1":"1399832403","file0":"1399832401","file4":"1399832411","file5":"1399832415","file3":"1399832409"},"map_files_photo_id_array":[{"photo_id":"1399832415","filename":"file5"},{"photo_id":"1399832407","filename":"file2"},{"photo_id":"1399832411","filename":"file4"},{"photo_id":"1399832403","filename":"file1"},{"photo_id":"1399832401","filename":"file0"},{"photo_id":"1399832409","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832407":["hashtag1","hashtag2"]},{"1399832401":["hashtag1","hashtag2"]},{"1399832403":["hashtag1","hashtag2"]},{"1399832415":["hashtag1","hashtag2"]},{"1399832409":["hashtag1","hashtag2"]},{"1399832411":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832407, 1399832401, 1399832403, 1399832415, 1399832409, 1399832411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95719003677368 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:13:02.920334
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/52/image_17122025_20_52_14_9776.jpg', '/home/pi/Desktop/images/17122025/20/52/image_17122025_20_52_25_10772.jpg', '/home/pi/Desktop/images/17122025/20/52/image_17122025_20_52_45_10619.jpg', '/home/pi/Desktop/images/17122025/20/52/image_17122025_20_52_54_9468.jpg', '/home/pi/Desktop/images/17122025/20/52/image_17122025_20_53_04_9866.jpg', '/home/pi/Desktop/images/17122025/20/53/image_17122025_20_53_15_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/52/image_17122025_20_52_14_9776.jpg
/home/pi/Desktop/images/17122025/20/52/image_17122025_20_52_25_10772.jpg
/home/pi/Desktop/images/17122025/20/52/image_17122025_20_52_45_10619.jpg
/home/pi/Desktop/images/17122025/20/52/image_17122025_20_52_54_9468.jpg
/home/pi/Desktop/images/17122025/20/52/image_17122025_20_53_04_9866.jpg
/home/pi/Desktop/images/17122025/20/53/image_17122025_20_53_15_10695.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832434","1399832428","1399832430","1399832424","1399832432","1399832426"],"photo_ids_order":["1399832424","1399832426","1399832428","1399832430","1399832432","1399832434"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a454652e60bd38c24a31e81f8d36c261.jpg","text":"TemporaryFile(/tmp/multipartBody4550372681081250432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002443840,"filename":"image_17122025_20_53_15_10695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8bc0ca6a798b7bf9fa7d0cf534f90f1.jpg","text":"TemporaryFile(/tmp/multipartBody7667291904015524248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002443840,"filename":"image_17122025_20_52_45_10619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdc7be7c47a6c511b6a3886ce1045dc3.jpg","text":"TemporaryFile(/tmp/multipartBody3303627357270181746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002443840,"filename":"image_17122025_20_52_54_9468.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/745a5f44b1613feb612d8040752b2642.jpg","text":"TemporaryFile(/tmp/multipartBody1841392251948015270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002443840,"filename":"image_17122025_20_52_14_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffc6e3e2e040424a567cead6d067c21d.jpg","text":"TemporaryFile(/tmp/multipartBody9220181174662703677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002443840,"filename":"image_17122025_20_53_04_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65c452bdb29f6615fe74559372f81824.jpg","text":"TemporaryFile(/tmp/multipartBody7482849691746644399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002443840,"filename":"image_17122025_20_52_25_10772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832428","file1":"1399832426","file0":"1399832424","file4":"1399832432","file5":"1399832434","file3":"1399832430"},"map_files_photo_id_array":[{"photo_id":"1399832434","filename":"file5"},{"photo_id":"1399832428","filename":"file2"},{"photo_id":"1399832432","filename":"file4"},{"photo_id":"1399832426","filename":"file1"},{"photo_id":"1399832424","filename":"file0"},{"photo_id":"1399832430","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832434":["hashtag1","hashtag2"]},{"1399832428":["hashtag1","hashtag2"]},{"1399832430":["hashtag1","hashtag2"]},{"1399832424":["hashtag1","hashtag2"]},{"1399832432":["hashtag1","hashtag2"]},{"1399832426":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832434, 1399832428, 1399832430, 1399832424, 1399832432, 1399832426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.6605589389801 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:13:42.276514
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_22_2571.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_25_2558.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_29_3635.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_31_2648.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_34_2807.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_44_3586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_22_2571.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_25_2558.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_29_3635.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_31_2648.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_34_2807.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_44_3586.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":["1399832443","1399832449","1399832440","1399832454","1399832442","1399832444"],"photo_ids_order":["1399832440","1399832442","1399832443","1399832444","1399832449","1399832454"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/389991330cfd48e745103d28eff38d00.jpg","text":"TemporaryFile(/tmp/multipartBody7343551564700215126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002483283,"filename":"image_07112025_21_32_29_3635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/719962a0d1136a67c1468571ba0f9eae.jpg","text":"TemporaryFile(/tmp/multipartBody8148229152030528901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002483283,"filename":"image_07112025_21_32_34_2807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00b2ab00e63bd7b4007a1994f8af8f54.jpg","text":"TemporaryFile(/tmp/multipartBody3687497193007080365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002483283,"filename":"image_07112025_21_32_22_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b7c46f88479bc53ab8493e089988e0e.jpg","text":"TemporaryFile(/tmp/multipartBody892119502548517430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002483283,"filename":"image_07112025_21_32_44_3586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4b3b6c5658e49e0fb376d435305fb66.jpg","text":"TemporaryFile(/tmp/multipartBody2755779130339522097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002483283,"filename":"image_07112025_21_32_25_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a3762d43b3c64446e0da04a98a99364.jpg","text":"TemporaryFile(/tmp/multipartBody404241899421711875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002483283,"filename":"image_07112025_21_32_31_2648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832443","file1":"1399832442","file0":"1399832440","file4":"1399832449","file5":"1399832454","file3":"1399832444"},"map_files_photo_id_array":[{"photo_id":"1399832454","filename":"file5"},{"photo_id":"1399832443","filename":"file2"},{"photo_id":"1399832449","filename":"file4"},{"photo_id":"1399832442","filename":"file1"},{"photo_id":"1399832440","filename":"file0"},{"photo_id":"1399832444","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832443":["hashtag1","hashtag2"]},{"1399832449":["hashtag1","hashtag2"]},{"1399832440":["hashtag1","hashtag2"]},{"1399832454":["hashtag1","hashtag2"]},{"1399832442":["hashtag1","hashtag2"]},{"1399832444":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832443, 1399832449, 1399832440, 1399832454, 1399832442, 1399832444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.56827330589294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:15:03.359828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/53/image_17122025_20_53_25_9717.jpg', '/home/pi/Desktop/images/17122025/20/53/image_17122025_20_53_35_9819.jpg', '/home/pi/Desktop/images/17122025/20/53/image_17122025_20_53_44_9703.jpg', '/home/pi/Desktop/images/17122025/20/53/image_17122025_20_54_04_9231.jpg', '/home/pi/Desktop/images/17122025/20/54/image_17122025_20_54_14_9802.jpg', '/home/pi/Desktop/images/17122025/20/54/image_17122025_20_54_35_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/53/image_17122025_20_53_25_9717.jpg
/home/pi/Desktop/images/17122025/20/53/image_17122025_20_53_35_9819.jpg
/home/pi/Desktop/images/17122025/20/53/image_17122025_20_53_44_9703.jpg
/home/pi/Desktop/images/17122025/20/53/image_17122025_20_54_04_9231.jpg
/home/pi/Desktop/images/17122025/20/54/image_17122025_20_54_14_9802.jpg
/home/pi/Desktop/images/17122025/20/54/image_17122025_20_54_35_9775.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832472","1399832466","1399832469","1399832477","1399832471","1399832474"],"photo_ids_order":["1399832466","1399832469","1399832471","1399832472","1399832474","1399832477"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffed09d238f9480b484ead389727744f.jpg","text":"TemporaryFile(/tmp/multipartBody1145355981266824053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002564126,"filename":"image_17122025_20_54_04_9231.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34a667a9c0d1b98785711af6afddc2aa.jpg","text":"TemporaryFile(/tmp/multipartBody2859664968488188352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002564126,"filename":"image_17122025_20_53_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b04646b864b0c73d545f9ecd720cf33.jpg","text":"TemporaryFile(/tmp/multipartBody8039954511135802015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002564126,"filename":"image_17122025_20_53_35_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db5d72dfeb1216ef9068340d93200d56.jpg","text":"TemporaryFile(/tmp/multipartBody5120682944572525409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002564126,"filename":"image_17122025_20_54_35_9775.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b439ea8b869dadeed4bf952e0512283.jpg","text":"TemporaryFile(/tmp/multipartBody4643293293806761667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002564126,"filename":"image_17122025_20_53_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e14971cf44503165fbcf4342db9096cc.jpg","text":"TemporaryFile(/tmp/multipartBody4873525879047824038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002564126,"filename":"image_17122025_20_54_14_9802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832471","file1":"1399832469","file0":"1399832466","file4":"1399832474","file5":"1399832477","file3":"1399832472"},"map_files_photo_id_array":[{"photo_id":"1399832477","filename":"file5"},{"photo_id":"1399832471","filename":"file2"},{"photo_id":"1399832474","filename":"file4"},{"photo_id":"1399832469","filename":"file1"},{"photo_id":"1399832466","filename":"file0"},{"photo_id":"1399832472","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832472":["hashtag1","hashtag2"]},{"1399832466":["hashtag1","hashtag2"]},{"1399832469":["hashtag1","hashtag2"]},{"1399832477":["hashtag1","hashtag2"]},{"1399832471":["hashtag1","hashtag2"]},{"1399832474":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832472, 1399832466, 1399832469, 1399832477, 1399832471, 1399832474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66854214668274 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:15:42.799704
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_46_2682.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_49_2655.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_53_3668.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_56_2991.jpg', '/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_59_2766.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_01_2558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_46_2682.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_49_2655.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_53_3668.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_56_2991.jpg
/home/pi/Desktop/images/07112025/21/32/image_07112025_21_32_59_2766.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_01_2558.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832490","1399832484","1399832487","1399832489","1399832486","1399832488"],"photo_ids_order":["1399832484","1399832486","1399832487","1399832488","1399832489","1399832490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3decc77a8b1ff6c0cfd5b99db6d2454a.jpg","text":"TemporaryFile(/tmp/multipartBody828669117635086654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002603590,"filename":"image_07112025_21_33_01_2558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f780d920d0c6100a6635acf08820ff60.jpg","text":"TemporaryFile(/tmp/multipartBody4059903025757437105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002603590,"filename":"image_07112025_21_32_46_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e002e1f6d26d8f8d9bbfd140a917789c.jpg","text":"TemporaryFile(/tmp/multipartBody2203964468407237896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002603590,"filename":"image_07112025_21_32_53_3668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f97237f503c220016b31b625d6e6fb31.jpg","text":"TemporaryFile(/tmp/multipartBody2749804923741173863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002603590,"filename":"image_07112025_21_32_59_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/921360ac7b96233a5271633e5748724b.jpg","text":"TemporaryFile(/tmp/multipartBody5628726694517504561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002603590,"filename":"image_07112025_21_32_49_2655.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/659b4fa53d41ab9e8eba0a4d15fef555.jpg","text":"TemporaryFile(/tmp/multipartBody6760589341389172908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002603590,"filename":"image_07112025_21_32_56_2991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832487","file1":"1399832486","file0":"1399832484","file4":"1399832489","file5":"1399832490","file3":"1399832488"},"map_files_photo_id_array":[{"photo_id":"1399832490","filename":"file5"},{"photo_id":"1399832487","filename":"file2"},{"photo_id":"1399832489","filename":"file4"},{"photo_id":"1399832486","filename":"file1"},{"photo_id":"1399832484","filename":"file0"},{"photo_id":"1399832488","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832490":["hashtag1","hashtag2"]},{"1399832484":["hashtag1","hashtag2"]},{"1399832487":["hashtag1","hashtag2"]},{"1399832489":["hashtag1","hashtag2"]},{"1399832486":["hashtag1","hashtag2"]},{"1399832488":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832490, 1399832484, 1399832487, 1399832489, 1399832486, 1399832488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.22763276100159 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:16:22.090513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/54/image_17122025_20_54_44_9678.jpg', '/home/pi/Desktop/images/17122025/20/54/image_17122025_20_54_54_9726.jpg', '/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_15_9713.jpg', '/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_24_9658.jpg', '/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_35_10720.jpg', '/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_45_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/54/image_17122025_20_54_44_9678.jpg
/home/pi/Desktop/images/17122025/20/54/image_17122025_20_54_54_9726.jpg
/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_15_9713.jpg
/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_24_9658.jpg
/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_35_10720.jpg
/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_45_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":["1399832506","1399832496","1399832500","1399832514","1399832498","1399832494"],"photo_ids_order":["1399832494","1399832496","1399832498","1399832500","1399832506","1399832514"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0305c77185d40f1441f894c0aff68dd9.jpg","text":"TemporaryFile(/tmp/multipartBody4091710458005914036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002642797,"filename":"image_17122025_20_55_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ae8f2bcfaf3bb5d5d8d574233ed0304.jpg","text":"TemporaryFile(/tmp/multipartBody8451615602432713373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002642797,"filename":"image_17122025_20_54_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6870f8b9db0598e1cefc221028ed987.jpg","text":"TemporaryFile(/tmp/multipartBody5564900495346368044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002642797,"filename":"image_17122025_20_55_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04b234170e24cd86edc899b38589a893.jpg","text":"TemporaryFile(/tmp/multipartBody1125972625095617051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002642797,"filename":"image_17122025_20_55_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac05a653dee1d0fb96b177b2f3e201fb.jpg","text":"TemporaryFile(/tmp/multipartBody7553670426942620692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002642797,"filename":"image_17122025_20_55_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ced0afc18b017cc0ceb8dcee4e4039c0.jpg","text":"TemporaryFile(/tmp/multipartBody5434294162789282878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002642797,"filename":"image_17122025_20_54_44_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832498","file1":"1399832496","file0":"1399832494","file4":"1399832506","file5":"1399832514","file3":"1399832500"},"map_files_photo_id_array":[{"photo_id":"1399832514","filename":"file5"},{"photo_id":"1399832498","filename":"file2"},{"photo_id":"1399832506","filename":"file4"},{"photo_id":"1399832496","filename":"file1"},{"photo_id":"1399832494","filename":"file0"},{"photo_id":"1399832500","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832506":["hashtag1","hashtag2"]},{"1399832496":["hashtag1","hashtag2"]},{"1399832500":["hashtag1","hashtag2"]},{"1399832514":["hashtag1","hashtag2"]},{"1399832498":["hashtag1","hashtag2"]},{"1399832494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832506, 1399832496, 1399832500, 1399832514, 1399832498, 1399832494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95336866378784 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:17:02.992931
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_54_9730.jpg', '/home/pi/Desktop/images/17122025/20/55/image_17122025_20_56_04_9721.jpg', '/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_15_10682.jpg', '/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_24_9568.jpg', '/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_34_9752.jpg', '/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_44_10114.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/55/image_17122025_20_55_54_9730.jpg
/home/pi/Desktop/images/17122025/20/55/image_17122025_20_56_04_9721.jpg
/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_15_10682.jpg
/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_24_9568.jpg
/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_34_9752.jpg
/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_44_10114.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832536","1399832530","1399832532","1399832541","1399832538","1399832534"],"photo_ids_order":["1399832530","1399832532","1399832534","1399832536","1399832538","1399832541"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b2c08b941dff393b79a262be172b724.jpg","text":"TemporaryFile(/tmp/multipartBody8080544078513714851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002683683,"filename":"image_17122025_20_56_24_9568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f148932c81ecda266d88741d659b90e9.jpg","text":"TemporaryFile(/tmp/multipartBody3296237827551025274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002683683,"filename":"image_17122025_20_55_54_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ee9e1120b51b5307070506990dad144.jpg","text":"TemporaryFile(/tmp/multipartBody6289104620326910432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002683683,"filename":"image_17122025_20_56_04_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3202bc46586653ef2e327c23d24c9637.jpg","text":"TemporaryFile(/tmp/multipartBody7281572790578314593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002683683,"filename":"image_17122025_20_56_44_10114.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adfff437eff5468bb5659f59ee33a5a7.jpg","text":"TemporaryFile(/tmp/multipartBody6682806917931550763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002683683,"filename":"image_17122025_20_56_34_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6abef856a1581695d82cf7b206876c9.jpg","text":"TemporaryFile(/tmp/multipartBody122872087852936879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002683683,"filename":"image_17122025_20_56_15_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832534","file1":"1399832532","file0":"1399832530","file4":"1399832538","file5":"1399832541","file3":"1399832536"},"map_files_photo_id_array":[{"photo_id":"1399832541","filename":"file5"},{"photo_id":"1399832534","filename":"file2"},{"photo_id":"1399832538","filename":"file4"},{"photo_id":"1399832532","filename":"file1"},{"photo_id":"1399832530","filename":"file0"},{"photo_id":"1399832536","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832536":["hashtag1","hashtag2"]},{"1399832530":["hashtag1","hashtag2"]},{"1399832532":["hashtag1","hashtag2"]},{"1399832541":["hashtag1","hashtag2"]},{"1399832538":["hashtag1","hashtag2"]},{"1399832534":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832536, 1399832530, 1399832532, 1399832541, 1399832538, 1399832534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.17843317985535 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:17:42.227086
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_05_3693.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_08_2731.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_10_2610.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_13_2673.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_16_3656.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_19_2670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_05_3693.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_08_2731.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_10_2610.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_13_2673.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_16_3656.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_19_2670.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832551","1399832553","1399832547","1399832552","1399832555","1399832554"],"photo_ids_order":["1399832547","1399832551","1399832552","1399832553","1399832554","1399832555"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83fe6938fc048c828f4092f36b762ad5.jpg","text":"TemporaryFile(/tmp/multipartBody7962299709753826050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002722973,"filename":"image_07112025_21_33_08_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fcf528952a8022e9176ca9fc733cb5d8.jpg","text":"TemporaryFile(/tmp/multipartBody2540681562260779443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002722973,"filename":"image_07112025_21_33_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4aafffe9f3df9f141f4b27f763dcb422.jpg","text":"TemporaryFile(/tmp/multipartBody5885877525926539934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002722973,"filename":"image_07112025_21_33_05_3693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f25ad37ffe36410770a0a395d337833.jpg","text":"TemporaryFile(/tmp/multipartBody5354687779687271201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002722973,"filename":"image_07112025_21_33_10_2610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f8251b981a455a439d4b12b7010f42d.jpg","text":"TemporaryFile(/tmp/multipartBody6186362296634641342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002722973,"filename":"image_07112025_21_33_19_2670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8de2c7f0f7c0bf4f53ca884c35f502d3.jpg","text":"TemporaryFile(/tmp/multipartBody6521473864409968223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002722973,"filename":"image_07112025_21_33_16_3656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832552","file1":"1399832551","file0":"1399832547","file4":"1399832554","file5":"1399832555","file3":"1399832553"},"map_files_photo_id_array":[{"photo_id":"1399832555","filename":"file5"},{"photo_id":"1399832552","filename":"file2"},{"photo_id":"1399832554","filename":"file4"},{"photo_id":"1399832551","filename":"file1"},{"photo_id":"1399832547","filename":"file0"},{"photo_id":"1399832553","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832551":["hashtag1","hashtag2"]},{"1399832553":["hashtag1","hashtag2"]},{"1399832547":["hashtag1","hashtag2"]},{"1399832552":["hashtag1","hashtag2"]},{"1399832555":["hashtag1","hashtag2"]},{"1399832554":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832551, 1399832553, 1399832547, 1399832552, 1399832555, 1399832554)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.764748096466064 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:18:22.517467
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_55_10822.jpg', '/home/pi/Desktop/images/17122025/20/56/image_17122025_20_57_05_9723.jpg', '/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_15_9801.jpg', '/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_24_9759.jpg', '/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_35_10651.jpg', '/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_45_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/56/image_17122025_20_56_55_10822.jpg
/home/pi/Desktop/images/17122025/20/56/image_17122025_20_57_05_9723.jpg
/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_15_9801.jpg
/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_24_9759.jpg
/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_35_10651.jpg
/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_45_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":["1399832578","1399832559","1399832574","1399832561","1399832564","1399832569"],"photo_ids_order":["1399832559","1399832561","1399832564","1399832569","1399832574","1399832578"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e1d374b836d6dba9558612c767f1bf8d.jpg","text":"TemporaryFile(/tmp/multipartBody3781788207387089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002763171,"filename":"image_17122025_20_57_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b1d963818d170afa32702db9a2647ccc.jpg","text":"TemporaryFile(/tmp/multipartBody1029651651169756485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002763171,"filename":"image_17122025_20_56_55_10822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a74ffc41599c33b123ddd97391de7dc3.jpg","text":"TemporaryFile(/tmp/multipartBody6291782271756988017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002763171,"filename":"image_17122025_20_57_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/397a60a359ae7ea39f330dd714288470.jpg","text":"TemporaryFile(/tmp/multipartBody4665246516168878184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002763171,"filename":"image_17122025_20_57_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71da89ed5fec3ea22f4eafad87aa693b.jpg","text":"TemporaryFile(/tmp/multipartBody8220347983027031156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002763171,"filename":"image_17122025_20_57_15_9801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc14aaaa7a448f0a895e7bd8fa627024.jpg","text":"TemporaryFile(/tmp/multipartBody1291491824357941544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002763171,"filename":"image_17122025_20_57_24_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832564","file1":"1399832561","file0":"1399832559","file4":"1399832574","file5":"1399832578","file3":"1399832569"},"map_files_photo_id_array":[{"photo_id":"1399832578","filename":"file5"},{"photo_id":"1399832564","filename":"file2"},{"photo_id":"1399832574","filename":"file4"},{"photo_id":"1399832561","filename":"file1"},{"photo_id":"1399832559","filename":"file0"},{"photo_id":"1399832569","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832578":["hashtag1","hashtag2"]},{"1399832559":["hashtag1","hashtag2"]},{"1399832574":["hashtag1","hashtag2"]},{"1399832561":["hashtag1","hashtag2"]},{"1399832564":["hashtag1","hashtag2"]},{"1399832569":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832578, 1399832559, 1399832574, 1399832561, 1399832564, 1399832569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8541796207428 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:19:03.628143
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_54_9685.jpg', '/home/pi/Desktop/images/17122025/20/57/image_17122025_20_58_04_9776.jpg', '/home/pi/Desktop/images/17122025/20/58/image_17122025_20_58_34_9574.jpg', '/home/pi/Desktop/images/17122025/20/58/image_17122025_20_58_44_9863.jpg', '/home/pi/Desktop/images/17122025/20/58/image_17122025_20_58_55_10771.jpg', '/home/pi/Desktop/images/17122025/20/58/image_17122025_20_59_05_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/57/image_17122025_20_57_54_9685.jpg
/home/pi/Desktop/images/17122025/20/57/image_17122025_20_58_04_9776.jpg
/home/pi/Desktop/images/17122025/20/58/image_17122025_20_58_34_9574.jpg
/home/pi/Desktop/images/17122025/20/58/image_17122025_20_58_44_9863.jpg
/home/pi/Desktop/images/17122025/20/58/image_17122025_20_58_55_10771.jpg
/home/pi/Desktop/images/17122025/20/58/image_17122025_20_59_05_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":["1399832595","1399832598","1399832601","1399832594","1399832591","1399832593"],"photo_ids_order":["1399832591","1399832593","1399832594","1399832595","1399832598","1399832601"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4ad5f549cf8e96dab8cc4a17ab9458d.jpg","text":"TemporaryFile(/tmp/multipartBody8178649019071290668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002804476,"filename":"image_17122025_20_58_44_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78c118a9f4aa4fd3bf3b42d3cc016ee4.jpg","text":"TemporaryFile(/tmp/multipartBody8173930703241180030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002804476,"filename":"image_17122025_20_58_55_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8997c1d5da2254665ad13ddb3fd6723a.jpg","text":"TemporaryFile(/tmp/multipartBody7571172997364201706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002804476,"filename":"image_17122025_20_59_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf139fa3f0fbfcd4be7bd5018e5d3171.jpg","text":"TemporaryFile(/tmp/multipartBody5947451663853622378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002804476,"filename":"image_17122025_20_58_34_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2a0dbd35811b9663d46a731a8c25687.jpg","text":"TemporaryFile(/tmp/multipartBody3100188579475087516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002804476,"filename":"image_17122025_20_57_54_9685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db23929399283125c1198ed2c5c739d0.jpg","text":"TemporaryFile(/tmp/multipartBody5308380108664707568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002804476,"filename":"image_17122025_20_58_04_9776.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832594","file1":"1399832593","file0":"1399832591","file4":"1399832598","file5":"1399832601","file3":"1399832595"},"map_files_photo_id_array":[{"photo_id":"1399832601","filename":"file5"},{"photo_id":"1399832594","filename":"file2"},{"photo_id":"1399832598","filename":"file4"},{"photo_id":"1399832593","filename":"file1"},{"photo_id":"1399832591","filename":"file0"},{"photo_id":"1399832595","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832595":["hashtag1","hashtag2"]},{"1399832598":["hashtag1","hashtag2"]},{"1399832601":["hashtag1","hashtag2"]},{"1399832594":["hashtag1","hashtag2"]},{"1399832591":["hashtag1","hashtag2"]},{"1399832593":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832595, 1399832598, 1399832601, 1399832594, 1399832591, 1399832593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.402257680892944 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:20:02.308549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/20/59/image_17122025_20_59_14_9703.jpg', '/home/pi/Desktop/images/17122025/20/59/image_17122025_20_59_35_10615.jpg', '/home/pi/Desktop/images/17122025/20/59/image_17122025_20_59_45_9740.jpg', '/home/pi/Desktop/images/17122025/20/59/image_17122025_20_59_54_9776.jpg', '/home/pi/Desktop/images/17122025/21/00/image_17122025_21_00_26_10725.jpg', '/home/pi/Desktop/images/17122025/21/00/image_17122025_21_00_35_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/20/59/image_17122025_20_59_14_9703.jpg
/home/pi/Desktop/images/17122025/20/59/image_17122025_20_59_35_10615.jpg
/home/pi/Desktop/images/17122025/20/59/image_17122025_20_59_45_9740.jpg
/home/pi/Desktop/images/17122025/20/59/image_17122025_20_59_54_9776.jpg
/home/pi/Desktop/images/17122025/21/00/image_17122025_21_00_26_10725.jpg
/home/pi/Desktop/images/17122025/21/00/image_17122025_21_00_35_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":["1399832611","1399832613","1399832616","1399832619","1399832612","1399832609"],"photo_ids_order":["1399832609","1399832611","1399832612","1399832613","1399832616","1399832619"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e5edb8f8428476e643b68a4589aa490.jpg","text":"TemporaryFile(/tmp/multipartBody3550712004963725905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002862977,"filename":"image_17122025_20_59_35_10615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7b67b3db3d8671efcc07e5a3bfbcc16c.jpg","text":"TemporaryFile(/tmp/multipartBody5898719256421071186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002862977,"filename":"image_17122025_20_59_54_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cef71c221af3c1d417256eb1841c51b7.jpg","text":"TemporaryFile(/tmp/multipartBody4200281022515622192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002862977,"filename":"image_17122025_21_00_26_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ecd723bd7fbebf5229888e39f241d0d.jpg","text":"TemporaryFile(/tmp/multipartBody604434280605857866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002862977,"filename":"image_17122025_21_00_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0768cf9765f4524aa372ee6bbbcdb6f5.jpg","text":"TemporaryFile(/tmp/multipartBody5790915509899670491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002862977,"filename":"image_17122025_20_59_45_9740.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46a7546dd6b7e227d7f1d29b919e59a4.jpg","text":"TemporaryFile(/tmp/multipartBody5089359087346337130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002862977,"filename":"image_17122025_20_59_14_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832612","file1":"1399832611","file0":"1399832609","file4":"1399832616","file5":"1399832619","file3":"1399832613"},"map_files_photo_id_array":[{"photo_id":"1399832619","filename":"file5"},{"photo_id":"1399832612","filename":"file2"},{"photo_id":"1399832616","filename":"file4"},{"photo_id":"1399832611","filename":"file1"},{"photo_id":"1399832609","filename":"file0"},{"photo_id":"1399832613","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832611":["hashtag1","hashtag2"]},{"1399832613":["hashtag1","hashtag2"]},{"1399832616":["hashtag1","hashtag2"]},{"1399832619":["hashtag1","hashtag2"]},{"1399832612":["hashtag1","hashtag2"]},{"1399832609":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832611, 1399832613, 1399832616, 1399832619, 1399832612, 1399832609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85218524932861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:20:41.916315
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_22_2697.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_26_3728.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_28_2677.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_31_2711.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_37_2600.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_41_3522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_22_2697.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_26_3728.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_28_2677.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_31_2711.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_37_2600.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_41_3522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832632","1399832631","1399832639","1399832630","1399832633","1399832647"],"photo_ids_order":["1399832630","1399832631","1399832632","1399832633","1399832639","1399832647"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d58ce95779bc3cf531b68b1827b810fa.jpg","text":"TemporaryFile(/tmp/multipartBody2802640031797731283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002902693,"filename":"image_07112025_21_33_28_2677.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7229cc70f4aceebfe0db0647b3c639ac.jpg","text":"TemporaryFile(/tmp/multipartBody60639491525228189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002902693,"filename":"image_07112025_21_33_26_3728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/001b37f4d8cf64e0d9e291192b7d236c.jpg","text":"TemporaryFile(/tmp/multipartBody5253245272600044071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002902693,"filename":"image_07112025_21_33_37_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f36aecdc2a9fa84c318c005646fbd60.jpg","text":"TemporaryFile(/tmp/multipartBody3973527279812779801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002902693,"filename":"image_07112025_21_33_22_2697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce55dccfab0f0be8e958283cddc6a113.jpg","text":"TemporaryFile(/tmp/multipartBody8409425243074533821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002902693,"filename":"image_07112025_21_33_31_2711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93b649d77381d7c7445922d334253da8.jpg","text":"TemporaryFile(/tmp/multipartBody6116083631714459684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002902693,"filename":"image_07112025_21_33_41_3522.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832632","file1":"1399832631","file0":"1399832630","file4":"1399832639","file5":"1399832647","file3":"1399832633"},"map_files_photo_id_array":[{"photo_id":"1399832647","filename":"file5"},{"photo_id":"1399832632","filename":"file2"},{"photo_id":"1399832639","filename":"file4"},{"photo_id":"1399832631","filename":"file1"},{"photo_id":"1399832630","filename":"file0"},{"photo_id":"1399832633","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832632":["hashtag1","hashtag2"]},{"1399832631":["hashtag1","hashtag2"]},{"1399832639":["hashtag1","hashtag2"]},{"1399832630":["hashtag1","hashtag2"]},{"1399832633":["hashtag1","hashtag2"]},{"1399832647":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832632, 1399832631, 1399832639, 1399832630, 1399832633, 1399832647)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.50163722038269 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:21:22.138603
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/00/image_17122025_21_00_45_9638.jpg', '/home/pi/Desktop/images/17122025/21/00/image_17122025_21_00_56_10828.jpg', '/home/pi/Desktop/images/17122025/21/00/image_17122025_21_01_06_9632.jpg', '/home/pi/Desktop/images/17122025/21/01/image_17122025_21_01_36_9995.jpg', '/home/pi/Desktop/images/17122025/21/01/image_17122025_21_02_05_9653.jpg', '/home/pi/Desktop/images/17122025/21/02/image_17122025_21_02_16_10663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/00/image_17122025_21_00_45_9638.jpg
/home/pi/Desktop/images/17122025/21/00/image_17122025_21_00_56_10828.jpg
/home/pi/Desktop/images/17122025/21/00/image_17122025_21_01_06_9632.jpg
/home/pi/Desktop/images/17122025/21/01/image_17122025_21_01_36_9995.jpg
/home/pi/Desktop/images/17122025/21/01/image_17122025_21_02_05_9653.jpg
/home/pi/Desktop/images/17122025/21/02/image_17122025_21_02_16_10663.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832659","1399832664","1399832663","1399832657","1399832666","1399832668"],"photo_ids_order":["1399832657","1399832659","1399832663","1399832664","1399832666","1399832668"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/314db3e0e4e4b786d979070ae9e41eb0.jpg","text":"TemporaryFile(/tmp/multipartBody2941675509407966392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002942791,"filename":"image_17122025_21_00_56_10828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f39a652d586727b5f921392670c7edcc.jpg","text":"TemporaryFile(/tmp/multipartBody7855500340472285743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002942791,"filename":"image_17122025_21_01_36_9995.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65bc2e285bc42fc1917fae4c96b1d921.jpg","text":"TemporaryFile(/tmp/multipartBody2430475769379282152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002942791,"filename":"image_17122025_21_01_06_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a05b14e01120efaef434180e24fecbec.jpg","text":"TemporaryFile(/tmp/multipartBody1235087182607463563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002942791,"filename":"image_17122025_21_00_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/165cfb4e4400038723ec9239e3109987.jpg","text":"TemporaryFile(/tmp/multipartBody1912882401321783049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002942791,"filename":"image_17122025_21_02_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99c7f2a13b558fc3ed7203e907e12d43.jpg","text":"TemporaryFile(/tmp/multipartBody8522418134404293298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002942791,"filename":"image_17122025_21_02_16_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832663","file1":"1399832659","file0":"1399832657","file4":"1399832666","file5":"1399832668","file3":"1399832664"},"map_files_photo_id_array":[{"photo_id":"1399832668","filename":"file5"},{"photo_id":"1399832663","filename":"file2"},{"photo_id":"1399832666","filename":"file4"},{"photo_id":"1399832659","filename":"file1"},{"photo_id":"1399832657","filename":"file0"},{"photo_id":"1399832664","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832659":["hashtag1","hashtag2"]},{"1399832664":["hashtag1","hashtag2"]},{"1399832663":["hashtag1","hashtag2"]},{"1399832657":["hashtag1","hashtag2"]},{"1399832666":["hashtag1","hashtag2"]},{"1399832668":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832659, 1399832664, 1399832663, 1399832657, 1399832666, 1399832668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.67937731742859 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:22:02.563187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/02/image_17122025_21_02_25_9713.jpg', '/home/pi/Desktop/images/17122025/21/02/image_17122025_21_02_56_10669.jpg', '/home/pi/Desktop/images/17122025/21/02/image_17122025_21_03_05_9771.jpg', '/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_15_9782.jpg', '/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_25_9812.jpg', '/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_36_10625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/02/image_17122025_21_02_25_9713.jpg
/home/pi/Desktop/images/17122025/21/02/image_17122025_21_02_56_10669.jpg
/home/pi/Desktop/images/17122025/21/02/image_17122025_21_03_05_9771.jpg
/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_15_9782.jpg
/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_25_9812.jpg
/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_36_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":["1399832676","1399832670","1399832675","1399832678","1399832671","1399832674"],"photo_ids_order":["1399832670","1399832671","1399832674","1399832675","1399832676","1399832678"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fac8478e206cb71695ebedfb7f26d963.jpg","text":"TemporaryFile(/tmp/multipartBody6726792408670713754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002983219,"filename":"image_17122025_21_03_25_9812.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2da17dd66744872515b1ad47b7bfdec.jpg","text":"TemporaryFile(/tmp/multipartBody1418486917983134923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002983219,"filename":"image_17122025_21_02_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fea0b16ba9dd1b5133c97052e325bbd5.jpg","text":"TemporaryFile(/tmp/multipartBody873924180368280076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002983219,"filename":"image_17122025_21_03_15_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03634a993477ff05cc219a290e1c847b.jpg","text":"TemporaryFile(/tmp/multipartBody106141775613098325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002983219,"filename":"image_17122025_21_03_36_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f0748f58f70a9cba88ad868d9e941c39.jpg","text":"TemporaryFile(/tmp/multipartBody1060122516596927687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002983219,"filename":"image_17122025_21_02_56_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6d311a117b2dd1e43d2c9408d5c03fe.jpg","text":"TemporaryFile(/tmp/multipartBody1698474294851991960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766002983219,"filename":"image_17122025_21_03_05_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832674","file1":"1399832671","file0":"1399832670","file4":"1399832676","file5":"1399832678","file3":"1399832675"},"map_files_photo_id_array":[{"photo_id":"1399832678","filename":"file5"},{"photo_id":"1399832674","filename":"file2"},{"photo_id":"1399832676","filename":"file4"},{"photo_id":"1399832671","filename":"file1"},{"photo_id":"1399832670","filename":"file0"},{"photo_id":"1399832675","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832676":["hashtag1","hashtag2"]},{"1399832670":["hashtag1","hashtag2"]},{"1399832675":["hashtag1","hashtag2"]},{"1399832678":["hashtag1","hashtag2"]},{"1399832671":["hashtag1","hashtag2"]},{"1399832674":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832676, 1399832670, 1399832675, 1399832678, 1399832671, 1399832674)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.88606142997742 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:22:42.077251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_43_2702.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_50_3664.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_53_2805.jpg', '/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_55_2713.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_01_2829.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_04_3571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_43_2702.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_50_3664.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_53_2805.jpg
/home/pi/Desktop/images/07112025/21/33/image_07112025_21_33_55_2713.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_01_2829.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_04_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":["1399832701","1399832687","1399832690","1399832683","1399832692","1399832686"],"photo_ids_order":["1399832683","1399832686","1399832687","1399832690","1399832692","1399832701"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a465cd284441f377cc7b1d7b173dcac5.jpg","text":"TemporaryFile(/tmp/multipartBody6821883829715650468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003022822,"filename":"image_07112025_21_34_04_3571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a93ebcd25ba1fe136802213ee4aadd68.jpg","text":"TemporaryFile(/tmp/multipartBody5316294544850411482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003022822,"filename":"image_07112025_21_33_53_2805.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf2c89eeb657657210b6d37ed0242c45.jpg","text":"TemporaryFile(/tmp/multipartBody5634359802511844296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003022822,"filename":"image_07112025_21_33_55_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b28460ec9a04b2b24292c1db32b7804c.jpg","text":"TemporaryFile(/tmp/multipartBody4132770401007106042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003022822,"filename":"image_07112025_21_33_43_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f24d2d0a60d0ddd6d4c0cbb9036526ed.jpg","text":"TemporaryFile(/tmp/multipartBody6800154345150087356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003022822,"filename":"image_07112025_21_34_01_2829.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76bd69516b5fc96d099bad07bdce718d.jpg","text":"TemporaryFile(/tmp/multipartBody2390349240260212869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003022822,"filename":"image_07112025_21_33_50_3664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832687","file1":"1399832686","file0":"1399832683","file4":"1399832692","file5":"1399832701","file3":"1399832690"},"map_files_photo_id_array":[{"photo_id":"1399832701","filename":"file5"},{"photo_id":"1399832687","filename":"file2"},{"photo_id":"1399832692","filename":"file4"},{"photo_id":"1399832686","filename":"file1"},{"photo_id":"1399832683","filename":"file0"},{"photo_id":"1399832690","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832701":["hashtag1","hashtag2"]},{"1399832687":["hashtag1","hashtag2"]},{"1399832690":["hashtag1","hashtag2"]},{"1399832683":["hashtag1","hashtag2"]},{"1399832692":["hashtag1","hashtag2"]},{"1399832686":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832701, 1399832687, 1399832690, 1399832683, 1399832692, 1399832686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75699496269226 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:23:22.342437
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_45_9690.jpg', '/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_55_9791.jpg', '/home/pi/Desktop/images/17122025/21/03/image_17122025_21_04_06_10673.jpg', '/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_16_9700.jpg', '/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_25_9670.jpg', '/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_35_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_45_9690.jpg
/home/pi/Desktop/images/17122025/21/03/image_17122025_21_03_55_9791.jpg
/home/pi/Desktop/images/17122025/21/03/image_17122025_21_04_06_10673.jpg
/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_16_9700.jpg
/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_25_9670.jpg
/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_35_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":["1399832734","1399832728","1399832731","1399832730","1399832736","1399832738"],"photo_ids_order":["1399832728","1399832730","1399832731","1399832734","1399832736","1399832738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07c8be7cda0522b0b4d60acff9abd1a8.jpg","text":"TemporaryFile(/tmp/multipartBody6038832464459981816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003063053,"filename":"image_17122025_21_04_16_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78d131d32bc32b61e69ae838522e317a.jpg","text":"TemporaryFile(/tmp/multipartBody1474607139075240552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003063053,"filename":"image_17122025_21_03_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03a67aa447353dd8c0fa94c728fb8051.jpg","text":"TemporaryFile(/tmp/multipartBody2236170683024233514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003063053,"filename":"image_17122025_21_04_06_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bda37c157fdbb1486223af7e50d9330.jpg","text":"TemporaryFile(/tmp/multipartBody6772977291537117950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003063053,"filename":"image_17122025_21_03_55_9791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57a816f06b073c900fc76a70d077b237.jpg","text":"TemporaryFile(/tmp/multipartBody8537801784824664965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003063053,"filename":"image_17122025_21_04_25_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ed03e863dfc3ce32b13918584ac4a3e.jpg","text":"TemporaryFile(/tmp/multipartBody4384129352211197512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003063053,"filename":"image_17122025_21_04_35_9812.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832731","file1":"1399832730","file0":"1399832728","file4":"1399832736","file5":"1399832738","file3":"1399832734"},"map_files_photo_id_array":[{"photo_id":"1399832738","filename":"file5"},{"photo_id":"1399832731","filename":"file2"},{"photo_id":"1399832736","filename":"file4"},{"photo_id":"1399832730","filename":"file1"},{"photo_id":"1399832728","filename":"file0"},{"photo_id":"1399832734","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832734":["hashtag1","hashtag2"]},{"1399832728":["hashtag1","hashtag2"]},{"1399832731":["hashtag1","hashtag2"]},{"1399832730":["hashtag1","hashtag2"]},{"1399832736":["hashtag1","hashtag2"]},{"1399832738":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832734, 1399832728, 1399832731, 1399832730, 1399832736, 1399832738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.24830937385559 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:24:03.329700
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_46_10744.jpg', '/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_55_9700.jpg', '/home/pi/Desktop/images/17122025/21/04/image_17122025_21_05_05_9758.jpg', '/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_15_9730.jpg', '/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_26_10859.jpg', '/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_35_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_46_10744.jpg
/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_55_9700.jpg
/home/pi/Desktop/images/17122025/21/04/image_17122025_21_05_05_9758.jpg
/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_15_9730.jpg
/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_26_10859.jpg
/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_35_9618.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.5880281925201416 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:24:12.687074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:24:22.820515
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_46_10744.jpg', '/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_55_9700.jpg', '/home/pi/Desktop/images/17122025/21/04/image_17122025_21_05_05_9758.jpg', '/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_15_9730.jpg', '/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_26_10859.jpg', '/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_35_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_46_10744.jpg
/home/pi/Desktop/images/17122025/21/04/image_17122025_21_04_55_9700.jpg
/home/pi/Desktop/images/17122025/21/04/image_17122025_21_05_05_9758.jpg
/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_15_9730.jpg
/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_26_10859.jpg
/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_35_9618.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832758","1399832745","1399832754","1399832748","1399832756","1399832750"],"photo_ids_order":["1399832745","1399832748","1399832750","1399832754","1399832756","1399832758"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f552cdb79d50624bfdf2e5b066dfb56.jpg","text":"TemporaryFile(/tmp/multipartBody1097553973838545386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003123523,"filename":"image_17122025_21_05_35_9618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c33a38739df008ef5f59708af22d900e.jpg","text":"TemporaryFile(/tmp/multipartBody4249627476615562077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003123523,"filename":"image_17122025_21_04_46_10744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38f4703f9296fad7aa1069c5a2463338.jpg","text":"TemporaryFile(/tmp/multipartBody267509820578899369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003123523,"filename":"image_17122025_21_05_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9458f96b9efc1f072f83eb4da335f2d8.jpg","text":"TemporaryFile(/tmp/multipartBody3697959567534160225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003123523,"filename":"image_17122025_21_04_55_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f37e4e9f195aa68f1e1cd9de460130c.jpg","text":"TemporaryFile(/tmp/multipartBody6864026455600809399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003123523,"filename":"image_17122025_21_05_26_10859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6df158742b761304be4e92b7d8349fac.jpg","text":"TemporaryFile(/tmp/multipartBody1458851557591751357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003123523,"filename":"image_17122025_21_05_05_9758.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832750","file1":"1399832748","file0":"1399832745","file4":"1399832756","file5":"1399832758","file3":"1399832754"},"map_files_photo_id_array":[{"photo_id":"1399832758","filename":"file5"},{"photo_id":"1399832750","filename":"file2"},{"photo_id":"1399832756","filename":"file4"},{"photo_id":"1399832748","filename":"file1"},{"photo_id":"1399832745","filename":"file0"},{"photo_id":"1399832754","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832758":["hashtag1","hashtag2"]},{"1399832745":["hashtag1","hashtag2"]},{"1399832754":["hashtag1","hashtag2"]},{"1399832748":["hashtag1","hashtag2"]},{"1399832756":["hashtag1","hashtag2"]},{"1399832750":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832758, 1399832745, 1399832754, 1399832748, 1399832756, 1399832750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.053791761398315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:25:02.568784
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_45_9759.jpg', '/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_56_10684.jpg', '/home/pi/Desktop/images/17122025/21/05/image_17122025_21_06_06_9763.jpg', '/home/pi/Desktop/images/17122025/21/06/image_17122025_21_06_36_9905.jpg', '/home/pi/Desktop/images/17122025/21/06/image_17122025_21_06_45_9640.jpg', '/home/pi/Desktop/images/17122025/21/06/image_17122025_21_06_55_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_45_9759.jpg
/home/pi/Desktop/images/17122025/21/05/image_17122025_21_05_56_10684.jpg
/home/pi/Desktop/images/17122025/21/05/image_17122025_21_06_06_9763.jpg
/home/pi/Desktop/images/17122025/21/06/image_17122025_21_06_36_9905.jpg
/home/pi/Desktop/images/17122025/21/06/image_17122025_21_06_45_9640.jpg
/home/pi/Desktop/images/17122025/21/06/image_17122025_21_06_55_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":["1399832761","1399832772","1399832769","1399832774","1399832771","1399832770"],"photo_ids_order":["1399832761","1399832769","1399832770","1399832771","1399832772","1399832774"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a38f1b75ea6f693eed9475e86f05d23d.jpg","text":"TemporaryFile(/tmp/multipartBody7838937476652736343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003163249,"filename":"image_17122025_21_05_45_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2169121280d1cb242f197041677c8c6.jpg","text":"TemporaryFile(/tmp/multipartBody1687761180795673391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003163249,"filename":"image_17122025_21_06_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4234544b1216d48ac3c8cf504275a752.jpg","text":"TemporaryFile(/tmp/multipartBody955393196459098176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003163249,"filename":"image_17122025_21_05_56_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a69b26199e209f721d74f62c28e63e82.jpg","text":"TemporaryFile(/tmp/multipartBody8345141738850548054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003163249,"filename":"image_17122025_21_06_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/388875fc8f372fdf91eb5c0b103fe05c.jpg","text":"TemporaryFile(/tmp/multipartBody4435064020042651706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003163249,"filename":"image_17122025_21_06_36_9905.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3df7bfe8ce422f07e8e40c71328a146.jpg","text":"TemporaryFile(/tmp/multipartBody5580020385654256994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003163249,"filename":"image_17122025_21_06_06_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832770","file1":"1399832769","file0":"1399832761","file4":"1399832772","file5":"1399832774","file3":"1399832771"},"map_files_photo_id_array":[{"photo_id":"1399832774","filename":"file5"},{"photo_id":"1399832770","filename":"file2"},{"photo_id":"1399832772","filename":"file4"},{"photo_id":"1399832769","filename":"file1"},{"photo_id":"1399832761","filename":"file0"},{"photo_id":"1399832771","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832761":["hashtag1","hashtag2"]},{"1399832772":["hashtag1","hashtag2"]},{"1399832769":["hashtag1","hashtag2"]},{"1399832774":["hashtag1","hashtag2"]},{"1399832771":["hashtag1","hashtag2"]},{"1399832770":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832761, 1399832772, 1399832769, 1399832774, 1399832771, 1399832770)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.122061014175415 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:25:41.955995
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_07_2673.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_10_2799.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_13_3629.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_16_2776.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_19_2800.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_22_2789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_07_2673.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_10_2799.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_13_3629.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_16_2776.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_19_2800.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_22_2789.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832784","1399832787","1399832786","1399832782","1399832785","1399832779"],"photo_ids_order":["1399832779","1399832782","1399832784","1399832785","1399832786","1399832787"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6e81d4278e1cf427688253c28cb1a76b.jpg","text":"TemporaryFile(/tmp/multipartBody5796420594130172210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003202701,"filename":"image_07112025_21_34_13_3629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ede9769a1e810c40fa9f8c596eedbf68.jpg","text":"TemporaryFile(/tmp/multipartBody491279758921320812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003202701,"filename":"image_07112025_21_34_22_2789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed65eacab915d3deabb9b502ac2dbf59.jpg","text":"TemporaryFile(/tmp/multipartBody5059657437565097490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003202701,"filename":"image_07112025_21_34_19_2800.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2a278f2e24216dfdc21ba1b2901d635.jpg","text":"TemporaryFile(/tmp/multipartBody6215619153681149183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003202701,"filename":"image_07112025_21_34_10_2799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c38b560a9ac40a6faa0470bba1f6d573.jpg","text":"TemporaryFile(/tmp/multipartBody1788496592786452567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003202701,"filename":"image_07112025_21_34_16_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4a4995e1604432c678ab4c365cc42e4.jpg","text":"TemporaryFile(/tmp/multipartBody3544705810145905548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003202701,"filename":"image_07112025_21_34_07_2673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832784","file1":"1399832782","file0":"1399832779","file4":"1399832786","file5":"1399832787","file3":"1399832785"},"map_files_photo_id_array":[{"photo_id":"1399832787","filename":"file5"},{"photo_id":"1399832784","filename":"file2"},{"photo_id":"1399832786","filename":"file4"},{"photo_id":"1399832782","filename":"file1"},{"photo_id":"1399832779","filename":"file0"},{"photo_id":"1399832785","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832784":["hashtag1","hashtag2"]},{"1399832787":["hashtag1","hashtag2"]},{"1399832786":["hashtag1","hashtag2"]},{"1399832782":["hashtag1","hashtag2"]},{"1399832785":["hashtag1","hashtag2"]},{"1399832779":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832784, 1399832787, 1399832786, 1399832782, 1399832785, 1399832779)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.304850816726685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:26:22.286048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/06/image_17122025_21_07_06_10749.jpg', '/home/pi/Desktop/images/17122025/21/07/image_17122025_21_07_15_9676.jpg', '/home/pi/Desktop/images/17122025/21/07/image_17122025_21_07_25_9719.jpg', '/home/pi/Desktop/images/17122025/21/07/image_17122025_21_07_35_9833.jpg', '/home/pi/Desktop/images/17122025/21/08/image_17122025_21_08_55_9785.jpg', '/home/pi/Desktop/images/17122025/21/08/image_17122025_21_09_06_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/06/image_17122025_21_07_06_10749.jpg
/home/pi/Desktop/images/17122025/21/07/image_17122025_21_07_15_9676.jpg
/home/pi/Desktop/images/17122025/21/07/image_17122025_21_07_25_9719.jpg
/home/pi/Desktop/images/17122025/21/07/image_17122025_21_07_35_9833.jpg
/home/pi/Desktop/images/17122025/21/08/image_17122025_21_08_55_9785.jpg
/home/pi/Desktop/images/17122025/21/08/image_17122025_21_09_06_10739.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832793","1399832799","1399832811","1399832795","1399832797","1399832801"],"photo_ids_order":["1399832793","1399832795","1399832797","1399832799","1399832801","1399832811"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3cb75287cf4ffad52884cb6e66a81c9c.jpg","text":"TemporaryFile(/tmp/multipartBody4190565496883296202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003242948,"filename":"image_17122025_21_07_06_10749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06ab699122e3f35a5e4bec51d241460a.jpg","text":"TemporaryFile(/tmp/multipartBody8659375854481320874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003242948,"filename":"image_17122025_21_07_35_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ae946affea0ae1f327ac59d51dabfa0.jpg","text":"TemporaryFile(/tmp/multipartBody2329102039999580711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003242948,"filename":"image_17122025_21_09_06_10739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f839d491bdad54288b844432f69f45b.jpg","text":"TemporaryFile(/tmp/multipartBody9054962793865373660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003242948,"filename":"image_17122025_21_07_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf5bef11bdff6499db38efca1ed670a1.jpg","text":"TemporaryFile(/tmp/multipartBody2182367129866736831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003242948,"filename":"image_17122025_21_07_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b57a93f6cb86767b36455ef79dffeee1.jpg","text":"TemporaryFile(/tmp/multipartBody1026447159439053913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003242948,"filename":"image_17122025_21_08_55_9785.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832797","file1":"1399832795","file0":"1399832793","file4":"1399832801","file5":"1399832811","file3":"1399832799"},"map_files_photo_id_array":[{"photo_id":"1399832811","filename":"file5"},{"photo_id":"1399832797","filename":"file2"},{"photo_id":"1399832801","filename":"file4"},{"photo_id":"1399832795","filename":"file1"},{"photo_id":"1399832793","filename":"file0"},{"photo_id":"1399832799","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832793":["hashtag1","hashtag2"]},{"1399832799":["hashtag1","hashtag2"]},{"1399832811":["hashtag1","hashtag2"]},{"1399832795":["hashtag1","hashtag2"]},{"1399832797":["hashtag1","hashtag2"]},{"1399832801":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832793, 1399832799, 1399832811, 1399832795, 1399832797, 1399832801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.33360815048218 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:27:03.007974
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_15_9619.jpg', '/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_25_9689.jpg', '/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_36_10756.jpg', '/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_46_9743.jpg', '/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_55_9893.jpg', '/home/pi/Desktop/images/17122025/21/09/image_17122025_21_10_05_9754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_15_9619.jpg
/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_25_9689.jpg
/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_36_10756.jpg
/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_46_9743.jpg
/home/pi/Desktop/images/17122025/21/09/image_17122025_21_09_55_9893.jpg
/home/pi/Desktop/images/17122025/21/09/image_17122025_21_10_05_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":["1399832821","1399832815","1399832826","1399832823","1399832817","1399832819"],"photo_ids_order":["1399832815","1399832817","1399832819","1399832821","1399832823","1399832826"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8fe02d062a8b2d49a2818c3f9be4859.jpg","text":"TemporaryFile(/tmp/multipartBody5312976521757855796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003283678,"filename":"image_17122025_21_09_46_9743.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6c1c5980882154a2748987b207b6ae0.jpg","text":"TemporaryFile(/tmp/multipartBody5116479757001574354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003283678,"filename":"image_17122025_21_09_15_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4a93302b896a4a0d7edd8883aa432f6.jpg","text":"TemporaryFile(/tmp/multipartBody276351839778208638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003283678,"filename":"image_17122025_21_10_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2029660dab84564be1c6e14d6e8cd9f2.jpg","text":"TemporaryFile(/tmp/multipartBody7720067544419900453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003283678,"filename":"image_17122025_21_09_55_9893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08b4562e4645f6a92a84c8ffd8d1e461.jpg","text":"TemporaryFile(/tmp/multipartBody8295395803509943210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003283678,"filename":"image_17122025_21_09_25_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b3e80d8a20e86994171534760b1485b.jpg","text":"TemporaryFile(/tmp/multipartBody2340124930758919900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003283678,"filename":"image_17122025_21_09_36_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832819","file1":"1399832817","file0":"1399832815","file4":"1399832823","file5":"1399832826","file3":"1399832821"},"map_files_photo_id_array":[{"photo_id":"1399832826","filename":"file5"},{"photo_id":"1399832819","filename":"file2"},{"photo_id":"1399832823","filename":"file4"},{"photo_id":"1399832817","filename":"file1"},{"photo_id":"1399832815","filename":"file0"},{"photo_id":"1399832821","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832821":["hashtag1","hashtag2"]},{"1399832815":["hashtag1","hashtag2"]},{"1399832826":["hashtag1","hashtag2"]},{"1399832823":["hashtag1","hashtag2"]},{"1399832817":["hashtag1","hashtag2"]},{"1399832819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832821, 1399832815, 1399832826, 1399832823, 1399832817, 1399832819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1984543800354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:27:42.419533
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_26_3644.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_28_2866.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_35_3787.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_37_2756.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_40_2921.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_47_3714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_26_3644.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_28_2866.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_35_3787.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_37_2756.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_40_2921.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_47_3714.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832836","1399832839","1399832838","1399832832","1399832835","1399832837"],"photo_ids_order":["1399832832","1399832835","1399832836","1399832837","1399832838","1399832839"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a2d32285d9f7b8fade7795e331e217d.jpg","text":"TemporaryFile(/tmp/multipartBody5590691550871035418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003323164,"filename":"image_07112025_21_34_35_3787.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c049818bb9bab979280462d954e0a882.jpg","text":"TemporaryFile(/tmp/multipartBody5115111107604709276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003323164,"filename":"image_07112025_21_34_47_3714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09ded65602fb9a6135363155a6fc6301.jpg","text":"TemporaryFile(/tmp/multipartBody7316331929734324142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003323164,"filename":"image_07112025_21_34_40_2921.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/821cb34550f1340ce5fae764e4df8740.jpg","text":"TemporaryFile(/tmp/multipartBody6741586789393406722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003323164,"filename":"image_07112025_21_34_26_3644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ec55a77c8c91c5b4ba37df7f3c07d2b.jpg","text":"TemporaryFile(/tmp/multipartBody6511303482427747875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003323164,"filename":"image_07112025_21_34_28_2866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b37f84512ccc9cb8190adb710fd4fcf8.jpg","text":"TemporaryFile(/tmp/multipartBody4712575615602331710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003323164,"filename":"image_07112025_21_34_37_2756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832836","file1":"1399832835","file0":"1399832832","file4":"1399832838","file5":"1399832839","file3":"1399832837"},"map_files_photo_id_array":[{"photo_id":"1399832839","filename":"file5"},{"photo_id":"1399832836","filename":"file2"},{"photo_id":"1399832838","filename":"file4"},{"photo_id":"1399832835","filename":"file1"},{"photo_id":"1399832832","filename":"file0"},{"photo_id":"1399832837","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832836":["hashtag1","hashtag2"]},{"1399832839":["hashtag1","hashtag2"]},{"1399832838":["hashtag1","hashtag2"]},{"1399832832":["hashtag1","hashtag2"]},{"1399832835":["hashtag1","hashtag2"]},{"1399832837":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832836, 1399832839, 1399832838, 1399832832, 1399832835, 1399832837)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.968772888183594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:28:32.689397
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:28:53.726134
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_49_2661.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_55_2682.jpg', '/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_58_3625.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_04_2645.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_07_3732.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_10_2766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_49_2661.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_55_2682.jpg
/home/pi/Desktop/images/07112025/21/34/image_07112025_21_34_58_3625.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_04_2645.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_07_3732.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_10_2766.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":["1399832869","1399832860","1399832862","1399832871","1399832867","1399832864"],"photo_ids_order":["1399832860","1399832862","1399832864","1399832867","1399832869","1399832871"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/887349c15c02c3188e42ad18ce62a487.jpg","text":"TemporaryFile(/tmp/multipartBody4669874043127020668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003399579,"filename":"image_07112025_21_35_07_3732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86e18732cf6a00ec813a8508051d503d.jpg","text":"TemporaryFile(/tmp/multipartBody2491316094786401559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003399579,"filename":"image_07112025_21_34_49_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56f98fcc28f26c09cb20a14a21a0731c.jpg","text":"TemporaryFile(/tmp/multipartBody5295081109371535156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003399579,"filename":"image_07112025_21_34_55_2682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/080c22e7e0f0f8014740426d81d3cb84.jpg","text":"TemporaryFile(/tmp/multipartBody3527364822336336578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003399579,"filename":"image_07112025_21_35_10_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e03947a4d3288a0cb0c63fccba2c9acd.jpg","text":"TemporaryFile(/tmp/multipartBody9097656134066872242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003399579,"filename":"image_07112025_21_35_04_2645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0c8049ef123f158e3cc39fa5e70cd490.jpg","text":"TemporaryFile(/tmp/multipartBody4759994462721014633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003399579,"filename":"image_07112025_21_34_58_3625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832864","file1":"1399832862","file0":"1399832860","file4":"1399832869","file5":"1399832871","file3":"1399832867"},"map_files_photo_id_array":[{"photo_id":"1399832871","filename":"file5"},{"photo_id":"1399832864","filename":"file2"},{"photo_id":"1399832869","filename":"file4"},{"photo_id":"1399832862","filename":"file1"},{"photo_id":"1399832860","filename":"file0"},{"photo_id":"1399832867","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832869":["hashtag1","hashtag2"]},{"1399832860":["hashtag1","hashtag2"]},{"1399832862":["hashtag1","hashtag2"]},{"1399832871":["hashtag1","hashtag2"]},{"1399832867":["hashtag1","hashtag2"]},{"1399832864":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832869, 1399832860, 1399832862, 1399832871, 1399832867, 1399832864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.89763307571411 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:29:41.898559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_13_2535.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_16_3565.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_19_2750.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_22_2750.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_25_3658.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_31_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_13_2535.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_16_3565.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_19_2750.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_22_2750.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_25_3658.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_31_2522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832880","1399832883","1399832879","1399832876","1399832881","1399832878"],"photo_ids_order":["1399832876","1399832878","1399832879","1399832880","1399832881","1399832883"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79645f2bd350870522237d118f8178db.jpg","text":"TemporaryFile(/tmp/multipartBody1685441586224569051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003446603,"filename":"image_07112025_21_35_22_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8fe52eb45b233c3af0a76d2c86f8889.jpg","text":"TemporaryFile(/tmp/multipartBody2411105037229514958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003446603,"filename":"image_07112025_21_35_31_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0ed4c65856bb0590d03484d042e8a05a.jpg","text":"TemporaryFile(/tmp/multipartBody4110079419089092135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003446603,"filename":"image_07112025_21_35_19_2750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a642f56c84842764017a578107c199c7.jpg","text":"TemporaryFile(/tmp/multipartBody8485477538607687260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003446603,"filename":"image_07112025_21_35_13_2535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a761702fbb74b1cfbe3d3d23045f4295.jpg","text":"TemporaryFile(/tmp/multipartBody3430494979115099937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003446603,"filename":"image_07112025_21_35_25_3658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b82f74bbc19bb88755c6da1482548a53.jpg","text":"TemporaryFile(/tmp/multipartBody8369464784652267023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003446603,"filename":"image_07112025_21_35_16_3565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832879","file1":"1399832878","file0":"1399832876","file4":"1399832881","file5":"1399832883","file3":"1399832880"},"map_files_photo_id_array":[{"photo_id":"1399832883","filename":"file5"},{"photo_id":"1399832879","filename":"file2"},{"photo_id":"1399832881","filename":"file4"},{"photo_id":"1399832878","filename":"file1"},{"photo_id":"1399832876","filename":"file0"},{"photo_id":"1399832880","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832880":["hashtag1","hashtag2"]},{"1399832883":["hashtag1","hashtag2"]},{"1399832879":["hashtag1","hashtag2"]},{"1399832876":["hashtag1","hashtag2"]},{"1399832881":["hashtag1","hashtag2"]},{"1399832878":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832880, 1399832883, 1399832879, 1399832876, 1399832881, 1399832878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.06313490867615 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:30:32.173402
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:30:42.186595
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_34_3640.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_37_2668.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_40_2649.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_46_2555.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_49_2701.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_52_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_34_3640.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_37_2668.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_40_2649.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_46_2555.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_49_2701.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_52_3665.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6356661319732666 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:31:03.164187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/10/image_17122025_21_10_26_9884.jpg', '/home/pi/Desktop/images/17122025/21/10/image_17122025_21_10_35_9671.jpg', '/home/pi/Desktop/images/17122025/21/10/image_17122025_21_10_45_9813.jpg', '/home/pi/Desktop/images/17122025/21/10/image_17122025_21_11_06_9679.jpg', '/home/pi/Desktop/images/17122025/21/11/image_17122025_21_11_26_10640.jpg', '/home/pi/Desktop/images/17122025/21/11/image_17122025_21_11_45_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/10/image_17122025_21_10_26_9884.jpg
/home/pi/Desktop/images/17122025/21/10/image_17122025_21_10_35_9671.jpg
/home/pi/Desktop/images/17122025/21/10/image_17122025_21_10_45_9813.jpg
/home/pi/Desktop/images/17122025/21/10/image_17122025_21_11_06_9679.jpg
/home/pi/Desktop/images/17122025/21/11/image_17122025_21_11_26_10640.jpg
/home/pi/Desktop/images/17122025/21/11/image_17122025_21_11_45_9742.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832914","1399832908","1399832910","1399832904","1399832912","1399832906"],"photo_ids_order":["1399832904","1399832906","1399832908","1399832910","1399832912","1399832914"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cf52cb0e0157de084b8694193100508.jpg","text":"TemporaryFile(/tmp/multipartBody9209426581750295499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003523929,"filename":"image_17122025_21_11_45_9742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18be3761ab796ced5ff3c9693736d602.jpg","text":"TemporaryFile(/tmp/multipartBody6399678909857870259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003523929,"filename":"image_17122025_21_10_45_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7afade52f1cbc36e332c0738cf4bdec4.jpg","text":"TemporaryFile(/tmp/multipartBody1684338403725929408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003523929,"filename":"image_17122025_21_11_06_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd49188e44d8b53830e84dbf7b03faae.jpg","text":"TemporaryFile(/tmp/multipartBody4930629888321263993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003523929,"filename":"image_17122025_21_10_26_9884.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cba526afe76a3c58e4d87707db94885c.jpg","text":"TemporaryFile(/tmp/multipartBody8856761128109408474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003523929,"filename":"image_17122025_21_11_26_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ea41549284f9931b0b59df8d6537ae7a.jpg","text":"TemporaryFile(/tmp/multipartBody2114487535763552920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003523929,"filename":"image_17122025_21_10_35_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832908","file1":"1399832906","file0":"1399832904","file4":"1399832912","file5":"1399832914","file3":"1399832910"},"map_files_photo_id_array":[{"photo_id":"1399832914","filename":"file5"},{"photo_id":"1399832908","filename":"file2"},{"photo_id":"1399832912","filename":"file4"},{"photo_id":"1399832906","filename":"file1"},{"photo_id":"1399832904","filename":"file0"},{"photo_id":"1399832910","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832914":["hashtag1","hashtag2"]},{"1399832908":["hashtag1","hashtag2"]},{"1399832910":["hashtag1","hashtag2"]},{"1399832904":["hashtag1","hashtag2"]},{"1399832912":["hashtag1","hashtag2"]},{"1399832906":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832914, 1399832908, 1399832910, 1399832904, 1399832912, 1399832906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07458209991455 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:31:42.411098
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_34_3640.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_37_2668.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_40_2649.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_46_2555.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_49_2701.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_52_3665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_34_3640.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_37_2668.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_40_2649.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_46_2555.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_49_2701.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_52_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":["1399832923","1399832925","1399832919","1399832921","1399832924","1399832927"],"photo_ids_order":["1399832919","1399832921","1399832923","1399832924","1399832925","1399832927"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2eda0bfce53a4d4ccf2dedf6126bbdc.jpg","text":"TemporaryFile(/tmp/multipartBody5816376823452912644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003563028,"filename":"image_07112025_21_35_40_2649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d9e17b88a6bfff4bf3f479a3c50e331.jpg","text":"TemporaryFile(/tmp/multipartBody8779764795978161246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003563028,"filename":"image_07112025_21_35_49_2701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cec684f4552c31786399cdaa1443d402.jpg","text":"TemporaryFile(/tmp/multipartBody3079883912365119987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003563028,"filename":"image_07112025_21_35_34_3640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97d972b7cfc4bf3f0b1500ca395a238f.jpg","text":"TemporaryFile(/tmp/multipartBody5545864915291140926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003563028,"filename":"image_07112025_21_35_37_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c4192df5058507d3732f44cd2d6169d.jpg","text":"TemporaryFile(/tmp/multipartBody7393811414719373962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003563028,"filename":"image_07112025_21_35_46_2555.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aabdd506c2c11686321e018d014c03ed.jpg","text":"TemporaryFile(/tmp/multipartBody1560100429721746079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003563028,"filename":"image_07112025_21_35_52_3665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832923","file1":"1399832921","file0":"1399832919","file4":"1399832925","file5":"1399832927","file3":"1399832924"},"map_files_photo_id_array":[{"photo_id":"1399832927","filename":"file5"},{"photo_id":"1399832923","filename":"file2"},{"photo_id":"1399832925","filename":"file4"},{"photo_id":"1399832921","filename":"file1"},{"photo_id":"1399832919","filename":"file0"},{"photo_id":"1399832924","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832923":["hashtag1","hashtag2"]},{"1399832925":["hashtag1","hashtag2"]},{"1399832919":["hashtag1","hashtag2"]},{"1399832921":["hashtag1","hashtag2"]},{"1399832924":["hashtag1","hashtag2"]},{"1399832927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832923, 1399832925, 1399832919, 1399832921, 1399832924, 1399832927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.963961124420166 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:32:22.746773
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/11/image_17122025_21_11_55_9746.jpg', '/home/pi/Desktop/images/17122025/21/12/image_17122025_21_12_36_10495.jpg', '/home/pi/Desktop/images/17122025/21/12/image_17122025_21_13_05_9873.jpg', '/home/pi/Desktop/images/17122025/21/13/image_17122025_21_13_56_10590.jpg', '/home/pi/Desktop/images/17122025/21/14/image_17122025_21_14_15_9658.jpg', '/home/pi/Desktop/images/17122025/21/14/image_17122025_21_14_26_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/11/image_17122025_21_11_55_9746.jpg
/home/pi/Desktop/images/17122025/21/12/image_17122025_21_12_36_10495.jpg
/home/pi/Desktop/images/17122025/21/12/image_17122025_21_13_05_9873.jpg
/home/pi/Desktop/images/17122025/21/13/image_17122025_21_13_56_10590.jpg
/home/pi/Desktop/images/17122025/21/14/image_17122025_21_14_15_9658.jpg
/home/pi/Desktop/images/17122025/21/14/image_17122025_21_14_26_10718.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832947","1399832935","1399832949","1399832943","1399832937","1399832945"],"photo_ids_order":["1399832935","1399832937","1399832943","1399832945","1399832947","1399832949"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17a0197c9a2ce282a6e117fdde2877a7.jpg","text":"TemporaryFile(/tmp/multipartBody5774654898210031730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003603400,"filename":"image_17122025_21_14_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d5838768ae68d22dec322bff85ddb3c.jpg","text":"TemporaryFile(/tmp/multipartBody6510731581868226425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003603400,"filename":"image_17122025_21_11_55_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfd8c73a4439689364fc0d3004cf6ee7.jpg","text":"TemporaryFile(/tmp/multipartBody6245847392194085062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003603400,"filename":"image_17122025_21_14_26_10718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e599625cfaee6f5a319c935d39edecbb.jpg","text":"TemporaryFile(/tmp/multipartBody6795563376347487807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003603400,"filename":"image_17122025_21_13_05_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f880def8a63a7988f17575a9dd41154e.jpg","text":"TemporaryFile(/tmp/multipartBody2431687107804783429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003603400,"filename":"image_17122025_21_12_36_10495.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ac0e09d195dfce64eae38368d24bb53.jpg","text":"TemporaryFile(/tmp/multipartBody6094439789804594896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003603400,"filename":"image_17122025_21_13_56_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832943","file1":"1399832937","file0":"1399832935","file4":"1399832947","file5":"1399832949","file3":"1399832945"},"map_files_photo_id_array":[{"photo_id":"1399832949","filename":"file5"},{"photo_id":"1399832943","filename":"file2"},{"photo_id":"1399832947","filename":"file4"},{"photo_id":"1399832937","filename":"file1"},{"photo_id":"1399832935","filename":"file0"},{"photo_id":"1399832945","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832947":["hashtag1","hashtag2"]},{"1399832935":["hashtag1","hashtag2"]},{"1399832949":["hashtag1","hashtag2"]},{"1399832943":["hashtag1","hashtag2"]},{"1399832937":["hashtag1","hashtag2"]},{"1399832945":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832947, 1399832935, 1399832949, 1399832943, 1399832937, 1399832945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.411189794540405 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:33:02.586490
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/14/image_17122025_21_14_36_9668.jpg', '/home/pi/Desktop/images/17122025/21/14/image_17122025_21_14_56_10627.jpg', '/home/pi/Desktop/images/17122025/21/14/image_17122025_21_15_06_9614.jpg', '/home/pi/Desktop/images/17122025/21/15/image_17122025_21_15_15_9635.jpg', '/home/pi/Desktop/images/17122025/21/15/image_17122025_21_15_35_9657.jpg', '/home/pi/Desktop/images/17122025/21/16/image_17122025_21_16_26_10753.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/14/image_17122025_21_14_36_9668.jpg
/home/pi/Desktop/images/17122025/21/14/image_17122025_21_14_56_10627.jpg
/home/pi/Desktop/images/17122025/21/14/image_17122025_21_15_06_9614.jpg
/home/pi/Desktop/images/17122025/21/15/image_17122025_21_15_15_9635.jpg
/home/pi/Desktop/images/17122025/21/15/image_17122025_21_15_35_9657.jpg
/home/pi/Desktop/images/17122025/21/16/image_17122025_21_16_26_10753.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832968","1399832961","1399832955","1399832963","1399832957","1399832959"],"photo_ids_order":["1399832955","1399832957","1399832959","1399832961","1399832963","1399832968"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce987b8db102cfcc26b51383189f3da9.jpg","text":"TemporaryFile(/tmp/multipartBody5603757134580461489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003643276,"filename":"image_17122025_21_16_26_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb7d48054c5eb3bb944b851d7de262f1.jpg","text":"TemporaryFile(/tmp/multipartBody9122290747798835090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003643276,"filename":"image_17122025_21_15_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bca025cea7cc129fcd25a68f281c9246.jpg","text":"TemporaryFile(/tmp/multipartBody5008734781377129721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003643276,"filename":"image_17122025_21_14_36_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74e2777ed36e47a7a49cd0e96940dcfe.jpg","text":"TemporaryFile(/tmp/multipartBody3393997245391328183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003643276,"filename":"image_17122025_21_15_35_9657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d02934b6270ddfcf1ccd0e7e93a404bb.jpg","text":"TemporaryFile(/tmp/multipartBody3238223353565680355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003643276,"filename":"image_17122025_21_14_56_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/191aab106d69958ce00359ac433aa7a3.jpg","text":"TemporaryFile(/tmp/multipartBody6991330819206765844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003643276,"filename":"image_17122025_21_15_06_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832959","file1":"1399832957","file0":"1399832955","file4":"1399832963","file5":"1399832968","file3":"1399832961"},"map_files_photo_id_array":[{"photo_id":"1399832968","filename":"file5"},{"photo_id":"1399832959","filename":"file2"},{"photo_id":"1399832963","filename":"file4"},{"photo_id":"1399832957","filename":"file1"},{"photo_id":"1399832955","filename":"file0"},{"photo_id":"1399832961","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399832968":["hashtag1","hashtag2"]},{"1399832961":["hashtag1","hashtag2"]},{"1399832955":["hashtag1","hashtag2"]},{"1399832963":["hashtag1","hashtag2"]},{"1399832957":["hashtag1","hashtag2"]},{"1399832959":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399832968, 1399832961, 1399832955, 1399832963, 1399832957, 1399832959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.44522714614868 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:33:41.820825
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_55_2615.jpg', '/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_58_2693.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_01_2802.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_07_2774.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_10_2660.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_13_2689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_55_2615.jpg
/home/pi/Desktop/images/07112025/21/35/image_07112025_21_35_58_2693.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_01_2802.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_07_2774.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_10_2660.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_13_2689.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399832979","1399832978","1399832972","1399832975","1399832980","1399832977"],"photo_ids_order":["1399832972","1399832975","1399832977","1399832978","1399832979","1399832980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/808aaa0ca5e078b5a8eab177fb1992f1.jpg","text":"TemporaryFile(/tmp/multipartBody827342653642919737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003682575,"filename":"image_07112025_21_36_10_2660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f5d344c683bd5dde5f1ac216c4320f0.jpg","text":"TemporaryFile(/tmp/multipartBody8786981756234966473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003682575,"filename":"image_07112025_21_36_07_2774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/022578c4a142fa39018fcdfc0f9c0b83.jpg","text":"TemporaryFile(/tmp/multipartBody1358626136167274802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003682575,"filename":"image_07112025_21_35_55_2615.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/072695b6dd05195487a00a7bc1606db7.jpg","text":"TemporaryFile(/tmp/multipartBody6206780663381794743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003682575,"filename":"image_07112025_21_35_58_2693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/947173e01ebf074848818a37ff346a65.jpg","text":"TemporaryFile(/tmp/multipartBody2057199940319706545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003682575,"filename":"image_07112025_21_36_13_2689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9f314e80a0f2e1b2ee6fcd9c98a87368.jpg","text":"TemporaryFile(/tmp/multipartBody6321581623818418327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003682575,"filename":"image_07112025_21_36_01_2802.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832977","file1":"1399832975","file0":"1399832972","file4":"1399832979","file5":"1399832980","file3":"1399832978"},"map_files_photo_id_array":[{"photo_id":"1399832980","filename":"file5"},{"photo_id":"1399832977","filename":"file2"},{"photo_id":"1399832979","filename":"file4"},{"photo_id":"1399832975","filename":"file1"},{"photo_id":"1399832972","filename":"file0"},{"photo_id":"1399832978","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399832979":["hashtag1","hashtag2"]},{"1399832978":["hashtag1","hashtag2"]},{"1399832972":["hashtag1","hashtag2"]},{"1399832975":["hashtag1","hashtag2"]},{"1399832980":["hashtag1","hashtag2"]},{"1399832977":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399832979, 1399832978, 1399832972, 1399832975, 1399832980, 1399832977)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.79335880279541 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:34:22.199411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/16/image_17122025_21_16_35_9545.jpg', '/home/pi/Desktop/images/17122025/21/16/image_17122025_21_16_45_9777.jpg', '/home/pi/Desktop/images/17122025/21/16/image_17122025_21_17_06_10702.jpg', '/home/pi/Desktop/images/17122025/21/17/image_17122025_21_17_36_10586.jpg', '/home/pi/Desktop/images/17122025/21/17/image_17122025_21_17_46_9819.jpg', '/home/pi/Desktop/images/17122025/21/17/image_17122025_21_18_05_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/16/image_17122025_21_16_35_9545.jpg
/home/pi/Desktop/images/17122025/21/16/image_17122025_21_16_45_9777.jpg
/home/pi/Desktop/images/17122025/21/16/image_17122025_21_17_06_10702.jpg
/home/pi/Desktop/images/17122025/21/17/image_17122025_21_17_36_10586.jpg
/home/pi/Desktop/images/17122025/21/17/image_17122025_21_17_46_9819.jpg
/home/pi/Desktop/images/17122025/21/17/image_17122025_21_18_05_9731.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833001","1399833004","1399832990","1399832984","1399832993","1399832987"],"photo_ids_order":["1399832984","1399832987","1399832990","1399832993","1399833001","1399833004"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b9df7dd5637ab44634cd41fe3511a28.jpg","text":"TemporaryFile(/tmp/multipartBody8997563298165842353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003722846,"filename":"image_17122025_21_17_46_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e5b3b9fbd26e87a711f0734710167e1.jpg","text":"TemporaryFile(/tmp/multipartBody3373491662032722976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003722846,"filename":"image_17122025_21_18_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d894bf00aba5b7b57abfcd85a928d3ce.jpg","text":"TemporaryFile(/tmp/multipartBody7150600730868327602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003722846,"filename":"image_17122025_21_17_06_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cabab101106f5fabfc234d016d2bede.jpg","text":"TemporaryFile(/tmp/multipartBody3113294543342334388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003722846,"filename":"image_17122025_21_16_35_9545.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d19bac50d5a4e8283a2c4162f509a04.jpg","text":"TemporaryFile(/tmp/multipartBody7734345404562950300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003722846,"filename":"image_17122025_21_17_36_10586.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24bfa7862b0b0f555cac19038448fb0d.jpg","text":"TemporaryFile(/tmp/multipartBody6943259790229583183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003722846,"filename":"image_17122025_21_16_45_9777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399832990","file1":"1399832987","file0":"1399832984","file4":"1399833001","file5":"1399833004","file3":"1399832993"},"map_files_photo_id_array":[{"photo_id":"1399833004","filename":"file5"},{"photo_id":"1399832990","filename":"file2"},{"photo_id":"1399833001","filename":"file4"},{"photo_id":"1399832987","filename":"file1"},{"photo_id":"1399832984","filename":"file0"},{"photo_id":"1399832993","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833001":["hashtag1","hashtag2"]},{"1399833004":["hashtag1","hashtag2"]},{"1399832990":["hashtag1","hashtag2"]},{"1399832984":["hashtag1","hashtag2"]},{"1399832993":["hashtag1","hashtag2"]},{"1399832987":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833001, 1399833004, 1399832990, 1399832984, 1399832993, 1399832987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.069265365600586 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:35:03.027734
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/18/image_17122025_21_18_25_9706.jpg', '/home/pi/Desktop/images/17122025/21/18/image_17122025_21_18_35_9574.jpg', '/home/pi/Desktop/images/17122025/21/18/image_17122025_21_18_55_9647.jpg', '/home/pi/Desktop/images/17122025/21/18/image_17122025_21_19_05_9706.jpg', '/home/pi/Desktop/images/17122025/21/19/image_17122025_21_19_16_10752.jpg', '/home/pi/Desktop/images/17122025/21/19/image_17122025_21_19_45_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/18/image_17122025_21_18_25_9706.jpg
/home/pi/Desktop/images/17122025/21/18/image_17122025_21_18_35_9574.jpg
/home/pi/Desktop/images/17122025/21/18/image_17122025_21_18_55_9647.jpg
/home/pi/Desktop/images/17122025/21/18/image_17122025_21_19_05_9706.jpg
/home/pi/Desktop/images/17122025/21/19/image_17122025_21_19_16_10752.jpg
/home/pi/Desktop/images/17122025/21/19/image_17122025_21_19_45_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":["1399833016","1399833010","1399833018","1399833012","1399833021","1399833014"],"photo_ids_order":["1399833010","1399833012","1399833014","1399833016","1399833018","1399833021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/684ab47144e82741346beaf66a82ee99.jpg","text":"TemporaryFile(/tmp/multipartBody6195338615595347422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003763738,"filename":"image_17122025_21_19_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9bebfce9c0effaaee366a7e68f9d8436.jpg","text":"TemporaryFile(/tmp/multipartBody814485307192544441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003763738,"filename":"image_17122025_21_18_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8646035aeb4f5be165673854b0ca49f.jpg","text":"TemporaryFile(/tmp/multipartBody7749217888587918795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003763738,"filename":"image_17122025_21_19_16_10752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8606ebb0d24e12880b73eb51546957b3.jpg","text":"TemporaryFile(/tmp/multipartBody2969487596265856872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003763738,"filename":"image_17122025_21_18_35_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9d241f880d307cd8a334d0683d3dc31d.jpg","text":"TemporaryFile(/tmp/multipartBody5539312368488878254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003763738,"filename":"image_17122025_21_19_45_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80438d70d29fbbb805462d3fa61a7108.jpg","text":"TemporaryFile(/tmp/multipartBody8263594152623879497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003763738,"filename":"image_17122025_21_18_55_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833014","file1":"1399833012","file0":"1399833010","file4":"1399833018","file5":"1399833021","file3":"1399833016"},"map_files_photo_id_array":[{"photo_id":"1399833021","filename":"file5"},{"photo_id":"1399833014","filename":"file2"},{"photo_id":"1399833018","filename":"file4"},{"photo_id":"1399833012","filename":"file1"},{"photo_id":"1399833010","filename":"file0"},{"photo_id":"1399833016","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833016":["hashtag1","hashtag2"]},{"1399833010":["hashtag1","hashtag2"]},{"1399833018":["hashtag1","hashtag2"]},{"1399833012":["hashtag1","hashtag2"]},{"1399833021":["hashtag1","hashtag2"]},{"1399833014":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833016, 1399833010, 1399833018, 1399833012, 1399833021, 1399833014)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.59261775016785 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:35:42.337912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_19_2568.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_22_3574.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_25_2715.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_27_2523.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_31_3753.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_34_2604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_19_2568.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_22_3574.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_25_2715.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_27_2523.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_31_3753.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_34_2604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833030","1399833033","1399833032","1399833026","1399833031","1399833034"],"photo_ids_order":["1399833026","1399833030","1399833031","1399833032","1399833033","1399833034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ac9e513ca5d7fbcc2f65252a2c59925.jpg","text":"TemporaryFile(/tmp/multipartBody27763090268879801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003803079,"filename":"image_07112025_21_36_22_3574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/532fa7b59d0ba455b8de0b715a23ee5b.jpg","text":"TemporaryFile(/tmp/multipartBody3592491777176986610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003803079,"filename":"image_07112025_21_36_31_3753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aee5bf3261474e5a92445c8a81f648e9.jpg","text":"TemporaryFile(/tmp/multipartBody4596773171618718437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003803079,"filename":"image_07112025_21_36_27_2523.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd6734e3d9d1513bc0314ab332950c80.jpg","text":"TemporaryFile(/tmp/multipartBody369517549277512156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003803079,"filename":"image_07112025_21_36_19_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/32814850137a8c17846bc62df324ffc6.jpg","text":"TemporaryFile(/tmp/multipartBody7091975861529469004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003803079,"filename":"image_07112025_21_36_25_2715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e915c3a3dfba69a86c43058bc65b79a5.jpg","text":"TemporaryFile(/tmp/multipartBody812058310579839815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003803079,"filename":"image_07112025_21_36_34_2604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833031","file1":"1399833030","file0":"1399833026","file4":"1399833033","file5":"1399833034","file3":"1399833032"},"map_files_photo_id_array":[{"photo_id":"1399833034","filename":"file5"},{"photo_id":"1399833031","filename":"file2"},{"photo_id":"1399833033","filename":"file4"},{"photo_id":"1399833030","filename":"file1"},{"photo_id":"1399833026","filename":"file0"},{"photo_id":"1399833032","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399833030":["hashtag1","hashtag2"]},{"1399833033":["hashtag1","hashtag2"]},{"1399833032":["hashtag1","hashtag2"]},{"1399833026":["hashtag1","hashtag2"]},{"1399833031":["hashtag1","hashtag2"]},{"1399833034":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399833030, 1399833033, 1399833032, 1399833026, 1399833031, 1399833034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72376728057861 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:36:22.573104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/19/image_17122025_21_19_56_10748.jpg', '/home/pi/Desktop/images/17122025/21/19/image_17122025_21_20_05_9644.jpg', '/home/pi/Desktop/images/17122025/21/21/image_17122025_21_21_16_9767.jpg', '/home/pi/Desktop/images/17122025/21/21/image_17122025_21_21_46_9797.jpg', '/home/pi/Desktop/images/17122025/21/21/image_17122025_21_21_55_9716.jpg', '/home/pi/Desktop/images/17122025/21/21/image_17122025_21_22_05_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/19/image_17122025_21_19_56_10748.jpg
/home/pi/Desktop/images/17122025/21/19/image_17122025_21_20_05_9644.jpg
/home/pi/Desktop/images/17122025/21/21/image_17122025_21_21_16_9767.jpg
/home/pi/Desktop/images/17122025/21/21/image_17122025_21_21_46_9797.jpg
/home/pi/Desktop/images/17122025/21/21/image_17122025_21_21_55_9716.jpg
/home/pi/Desktop/images/17122025/21/21/image_17122025_21_22_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":["1399833048","1399833042","1399833051","1399833045","1399833039","1399833043"],"photo_ids_order":["1399833039","1399833042","1399833043","1399833045","1399833048","1399833051"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9c633bdf4ee415216ec3d66aad7ff48.jpg","text":"TemporaryFile(/tmp/multipartBody4128783269958148384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003843210,"filename":"image_17122025_21_21_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1528088f6115d83ec1616e6c2cc2ea5d.jpg","text":"TemporaryFile(/tmp/multipartBody2529452443837927318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003843210,"filename":"image_17122025_21_20_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eaebb529c5aa1cb4daccdc077485e460.jpg","text":"TemporaryFile(/tmp/multipartBody8840416286631689930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003843210,"filename":"image_17122025_21_22_05_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/824edf91bbce3dfcc8f0ae16b97efbcb.jpg","text":"TemporaryFile(/tmp/multipartBody8432768501955681790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003843210,"filename":"image_17122025_21_21_46_9797.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfda58914621b0701eb42993545a7337.jpg","text":"TemporaryFile(/tmp/multipartBody1250246659247479864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003843210,"filename":"image_17122025_21_19_56_10748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d31945b83851c7faccca0636107bfa5.jpg","text":"TemporaryFile(/tmp/multipartBody4608110064899091942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003843210,"filename":"image_17122025_21_21_16_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833043","file1":"1399833042","file0":"1399833039","file4":"1399833048","file5":"1399833051","file3":"1399833045"},"map_files_photo_id_array":[{"photo_id":"1399833051","filename":"file5"},{"photo_id":"1399833043","filename":"file2"},{"photo_id":"1399833048","filename":"file4"},{"photo_id":"1399833042","filename":"file1"},{"photo_id":"1399833039","filename":"file0"},{"photo_id":"1399833045","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833048":["hashtag1","hashtag2"]},{"1399833042":["hashtag1","hashtag2"]},{"1399833051":["hashtag1","hashtag2"]},{"1399833045":["hashtag1","hashtag2"]},{"1399833039":["hashtag1","hashtag2"]},{"1399833043":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833048, 1399833042, 1399833051, 1399833045, 1399833039, 1399833043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.7960889339447 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:37:02.538877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/22/image_17122025_21_22_15_9719.jpg', '/home/pi/Desktop/images/17122025/21/22/image_17122025_21_22_26_10533.jpg', '/home/pi/Desktop/images/17122025/21/22/image_17122025_21_22_46_10774.jpg', '/home/pi/Desktop/images/17122025/21/22/image_17122025_21_22_56_9731.jpg', '/home/pi/Desktop/images/17122025/21/22/image_17122025_21_23_05_9695.jpg', '/home/pi/Desktop/images/17122025/21/23/image_17122025_21_23_15_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/22/image_17122025_21_22_15_9719.jpg
/home/pi/Desktop/images/17122025/21/22/image_17122025_21_22_26_10533.jpg
/home/pi/Desktop/images/17122025/21/22/image_17122025_21_22_46_10774.jpg
/home/pi/Desktop/images/17122025/21/22/image_17122025_21_22_56_9731.jpg
/home/pi/Desktop/images/17122025/21/22/image_17122025_21_23_05_9695.jpg
/home/pi/Desktop/images/17122025/21/23/image_17122025_21_23_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":["1399833081","1399833075","1399833078","1399833080","1399833074","1399833091"],"photo_ids_order":["1399833074","1399833075","1399833078","1399833080","1399833081","1399833091"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/515f7fc726a24e3fc6a6c1417793495f.jpg","text":"TemporaryFile(/tmp/multipartBody3287197763180755762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003883212,"filename":"image_17122025_21_23_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4bfe7121c7cc33fe76543c31fe585dd1.jpg","text":"TemporaryFile(/tmp/multipartBody6524642015121758233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003883212,"filename":"image_17122025_21_22_26_10533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89c54a62cb61d9c56440011aa8ae00af.jpg","text":"TemporaryFile(/tmp/multipartBody6403501832358742094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003883212,"filename":"image_17122025_21_22_46_10774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/091026bf1937372e3f25952a7df53f6e.jpg","text":"TemporaryFile(/tmp/multipartBody2101715496557041965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003883212,"filename":"image_17122025_21_22_56_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9e3afd2dddeca2c144d627e58be976d.jpg","text":"TemporaryFile(/tmp/multipartBody6967847083661538755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003883212,"filename":"image_17122025_21_22_15_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3eba92f2fb6440ee658f6df7a378cafd.jpg","text":"TemporaryFile(/tmp/multipartBody7638534348580767700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003883212,"filename":"image_17122025_21_23_15_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833078","file1":"1399833075","file0":"1399833074","file4":"1399833081","file5":"1399833091","file3":"1399833080"},"map_files_photo_id_array":[{"photo_id":"1399833091","filename":"file5"},{"photo_id":"1399833078","filename":"file2"},{"photo_id":"1399833081","filename":"file4"},{"photo_id":"1399833075","filename":"file1"},{"photo_id":"1399833074","filename":"file0"},{"photo_id":"1399833080","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833081":["hashtag1","hashtag2"]},{"1399833075":["hashtag1","hashtag2"]},{"1399833078":["hashtag1","hashtag2"]},{"1399833080":["hashtag1","hashtag2"]},{"1399833074":["hashtag1","hashtag2"]},{"1399833091":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833081, 1399833075, 1399833078, 1399833080, 1399833074, 1399833091)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.68630766868591 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:38:02.441325
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/23/image_17122025_21_23_56_10710.jpg', '/home/pi/Desktop/images/17122025/21/23/image_17122025_21_24_06_9770.jpg', '/home/pi/Desktop/images/17122025/21/25/image_17122025_21_26_05_9768.jpg', '/home/pi/Desktop/images/17122025/21/26/image_17122025_21_26_46_10696.jpg', '/home/pi/Desktop/images/17122025/21/26/image_17122025_21_26_56_9820.jpg', '/home/pi/Desktop/images/17122025/21/26/image_17122025_21_27_05_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/23/image_17122025_21_23_56_10710.jpg
/home/pi/Desktop/images/17122025/21/23/image_17122025_21_24_06_9770.jpg
/home/pi/Desktop/images/17122025/21/25/image_17122025_21_26_05_9768.jpg
/home/pi/Desktop/images/17122025/21/26/image_17122025_21_26_46_10696.jpg
/home/pi/Desktop/images/17122025/21/26/image_17122025_21_26_56_9820.jpg
/home/pi/Desktop/images/17122025/21/26/image_17122025_21_27_05_9711.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.162740707397461 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:38:12.038188
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:38:22.010052
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/23/image_17122025_21_23_56_10710.jpg', '/home/pi/Desktop/images/17122025/21/23/image_17122025_21_24_06_9770.jpg', '/home/pi/Desktop/images/17122025/21/25/image_17122025_21_26_05_9768.jpg', '/home/pi/Desktop/images/17122025/21/26/image_17122025_21_26_46_10696.jpg', '/home/pi/Desktop/images/17122025/21/26/image_17122025_21_26_56_9820.jpg', '/home/pi/Desktop/images/17122025/21/26/image_17122025_21_27_05_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/23/image_17122025_21_23_56_10710.jpg
/home/pi/Desktop/images/17122025/21/23/image_17122025_21_24_06_9770.jpg
/home/pi/Desktop/images/17122025/21/25/image_17122025_21_26_05_9768.jpg
/home/pi/Desktop/images/17122025/21/26/image_17122025_21_26_46_10696.jpg
/home/pi/Desktop/images/17122025/21/26/image_17122025_21_26_56_9820.jpg
/home/pi/Desktop/images/17122025/21/26/image_17122025_21_27_05_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":["1399833118","1399833114","1399833108","1399833116","1399833127","1399833112"],"photo_ids_order":["1399833108","1399833112","1399833114","1399833116","1399833118","1399833127"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0f72ced1bdd322876f2699675920aa6c.jpg","text":"TemporaryFile(/tmp/multipartBody6659615494675545826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003962578,"filename":"image_17122025_21_26_56_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a301dea05e7d8c7de47f0df349a8ffb.jpg","text":"TemporaryFile(/tmp/multipartBody8332217831109424266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003962578,"filename":"image_17122025_21_26_05_9768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c0cb93290d18746799fcb2734969a9e.jpg","text":"TemporaryFile(/tmp/multipartBody8662053890163444764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003962578,"filename":"image_17122025_21_23_56_10710.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a0b9a846a1e645a7b32f7d5d44defe15.jpg","text":"TemporaryFile(/tmp/multipartBody7789101900997012367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003962578,"filename":"image_17122025_21_26_46_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3545d47f0c2e2c30bd36666511af20a6.jpg","text":"TemporaryFile(/tmp/multipartBody9193635758984707776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003962578,"filename":"image_17122025_21_27_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58e3a232ad144e384181c3f1e46973af.jpg","text":"TemporaryFile(/tmp/multipartBody2066704041843632185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766003962578,"filename":"image_17122025_21_24_06_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833114","file1":"1399833112","file0":"1399833108","file4":"1399833118","file5":"1399833127","file3":"1399833116"},"map_files_photo_id_array":[{"photo_id":"1399833127","filename":"file5"},{"photo_id":"1399833114","filename":"file2"},{"photo_id":"1399833118","filename":"file4"},{"photo_id":"1399833112","filename":"file1"},{"photo_id":"1399833108","filename":"file0"},{"photo_id":"1399833116","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833118":["hashtag1","hashtag2"]},{"1399833114":["hashtag1","hashtag2"]},{"1399833108":["hashtag1","hashtag2"]},{"1399833116":["hashtag1","hashtag2"]},{"1399833127":["hashtag1","hashtag2"]},{"1399833112":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833118, 1399833114, 1399833108, 1399833116, 1399833127, 1399833112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9545361995697 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:39:03.350894
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/27/image_17122025_21_27_26_10627.jpg', '/home/pi/Desktop/images/17122025/21/27/image_17122025_21_27_35_9652.jpg', '/home/pi/Desktop/images/17122025/21/27/image_17122025_21_27_45_9707.jpg', '/home/pi/Desktop/images/17122025/21/28/image_17122025_21_28_25_9698.jpg', '/home/pi/Desktop/images/17122025/21/28/image_17122025_21_28_46_9757.jpg', '/home/pi/Desktop/images/17122025/21/28/image_17122025_21_28_55_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/27/image_17122025_21_27_26_10627.jpg
/home/pi/Desktop/images/17122025/21/27/image_17122025_21_27_35_9652.jpg
/home/pi/Desktop/images/17122025/21/27/image_17122025_21_27_45_9707.jpg
/home/pi/Desktop/images/17122025/21/28/image_17122025_21_28_25_9698.jpg
/home/pi/Desktop/images/17122025/21/28/image_17122025_21_28_46_9757.jpg
/home/pi/Desktop/images/17122025/21/28/image_17122025_21_28_55_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":["1399833136","1399833132","1399833131","1399833134","1399833130","1399833133"],"photo_ids_order":["1399833130","1399833131","1399833132","1399833133","1399833134","1399833136"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ec5dd7dc2fe05246a2f3d3648a3001f.jpg","text":"TemporaryFile(/tmp/multipartBody2734376189546942992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004004103,"filename":"image_17122025_21_28_55_9651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/07d020c7ba3347f96ad48ce07223e8f7.jpg","text":"TemporaryFile(/tmp/multipartBody203294535009154655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004004103,"filename":"image_17122025_21_27_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/140108b48c4ff18c2fb2f65276d93f10.jpg","text":"TemporaryFile(/tmp/multipartBody4071086568599707497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004004103,"filename":"image_17122025_21_27_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03924eab08531919e4686639fb0222ab.jpg","text":"TemporaryFile(/tmp/multipartBody870271179074215383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004004103,"filename":"image_17122025_21_28_46_9757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f06c9155542dbbe7c318e289ae3d9886.jpg","text":"TemporaryFile(/tmp/multipartBody7292229010703941441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004004103,"filename":"image_17122025_21_27_26_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdeba25ea148493241680cd0951fa53a.jpg","text":"TemporaryFile(/tmp/multipartBody7065882503798942432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004004103,"filename":"image_17122025_21_28_25_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833132","file1":"1399833131","file0":"1399833130","file4":"1399833134","file5":"1399833136","file3":"1399833133"},"map_files_photo_id_array":[{"photo_id":"1399833136","filename":"file5"},{"photo_id":"1399833132","filename":"file2"},{"photo_id":"1399833134","filename":"file4"},{"photo_id":"1399833131","filename":"file1"},{"photo_id":"1399833130","filename":"file0"},{"photo_id":"1399833133","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833136":["hashtag1","hashtag2"]},{"1399833132":["hashtag1","hashtag2"]},{"1399833131":["hashtag1","hashtag2"]},{"1399833134":["hashtag1","hashtag2"]},{"1399833130":["hashtag1","hashtag2"]},{"1399833133":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833136, 1399833132, 1399833131, 1399833134, 1399833130, 1399833133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87012004852295 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:39:42.258753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_37_2798.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_40_3562.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_43_2825.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_46_2717.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_48_2733.jpg', '/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_52_3598.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_37_2798.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_40_3562.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_43_2825.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_46_2717.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_48_2733.jpg
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_52_3598.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833147","1399833141","1399833146","1399833143","1399833145","1399833148"],"photo_ids_order":["1399833141","1399833143","1399833145","1399833146","1399833147","1399833148"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef3c0732f33a06797440a389c429a9c8.jpg","text":"TemporaryFile(/tmp/multipartBody2988875194162075182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004042998,"filename":"image_07112025_21_36_48_2733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/354c680dec3320c6334fa1418aa498f3.jpg","text":"TemporaryFile(/tmp/multipartBody8625777310148092964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004042998,"filename":"image_07112025_21_36_37_2798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad44e131a0786720eeaa332cceac7548.jpg","text":"TemporaryFile(/tmp/multipartBody4778573504735710782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004042998,"filename":"image_07112025_21_36_46_2717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e30ba8657984f2ee18b0f7fc6ce999e.jpg","text":"TemporaryFile(/tmp/multipartBody5946016132118407817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004042998,"filename":"image_07112025_21_36_40_3562.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3d17e29520cd2ef4b0030b879a90228c.jpg","text":"TemporaryFile(/tmp/multipartBody4845107765516933761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004042998,"filename":"image_07112025_21_36_43_2825.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90d0322f97f1bb007196c2f3d04b37fa.jpg","text":"TemporaryFile(/tmp/multipartBody6363717050058790089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004042998,"filename":"image_07112025_21_36_52_3598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833145","file1":"1399833143","file0":"1399833141","file4":"1399833147","file5":"1399833148","file3":"1399833146"},"map_files_photo_id_array":[{"photo_id":"1399833148","filename":"file5"},{"photo_id":"1399833145","filename":"file2"},{"photo_id":"1399833147","filename":"file4"},{"photo_id":"1399833143","filename":"file1"},{"photo_id":"1399833141","filename":"file0"},{"photo_id":"1399833146","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399833147":["hashtag1","hashtag2"]},{"1399833141":["hashtag1","hashtag2"]},{"1399833146":["hashtag1","hashtag2"]},{"1399833143":["hashtag1","hashtag2"]},{"1399833145":["hashtag1","hashtag2"]},{"1399833148":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399833147, 1399833141, 1399833146, 1399833143, 1399833145, 1399833148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.73007559776306 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:40:22.603991
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/29/image_17122025_21_29_26_10421.jpg', '/home/pi/Desktop/images/17122025/21/29/image_17122025_21_29_46_9728.jpg', '/home/pi/Desktop/images/17122025/21/29/image_17122025_21_29_57_11058.jpg', '/home/pi/Desktop/images/17122025/21/30/image_17122025_21_30_14_10054.jpg', '/home/pi/Desktop/images/17122025/21/30/image_17122025_21_30_34_9789.jpg', '/home/pi/Desktop/images/17122025/21/30/image_17122025_21_30_44_9868.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/29/image_17122025_21_29_26_10421.jpg
/home/pi/Desktop/images/17122025/21/29/image_17122025_21_29_46_9728.jpg
/home/pi/Desktop/images/17122025/21/29/image_17122025_21_29_57_11058.jpg
/home/pi/Desktop/images/17122025/21/30/image_17122025_21_30_14_10054.jpg
/home/pi/Desktop/images/17122025/21/30/image_17122025_21_30_34_9789.jpg
/home/pi/Desktop/images/17122025/21/30/image_17122025_21_30_44_9868.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833168","1399833153","1399833150","1399833155","1399833157","1399833151"],"photo_ids_order":["1399833150","1399833151","1399833153","1399833155","1399833157","1399833168"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/538dfdae432a9b249b8cca2b21b4a733.jpg","text":"TemporaryFile(/tmp/multipartBody1898876817176086915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004083238,"filename":"image_17122025_21_30_44_9868.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10b1c58bb31120f1df78f6e40f933c00.jpg","text":"TemporaryFile(/tmp/multipartBody961826350450839006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004083238,"filename":"image_17122025_21_29_57_11058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bbcde6cd9144213f2262615e0d9640c3.jpg","text":"TemporaryFile(/tmp/multipartBody5209284623332431960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004083238,"filename":"image_17122025_21_29_26_10421.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bdc8559f56231f0bc03d6fa994be974.jpg","text":"TemporaryFile(/tmp/multipartBody8917494883549171369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004083238,"filename":"image_17122025_21_30_14_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1994df4f2fe03285cb6834ade1af90a1.jpg","text":"TemporaryFile(/tmp/multipartBody9171195202973600821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004083238,"filename":"image_17122025_21_30_34_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba34b0a148ff966de919258e539b2c08.jpg","text":"TemporaryFile(/tmp/multipartBody5585117448963717146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004083238,"filename":"image_17122025_21_29_46_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833153","file1":"1399833151","file0":"1399833150","file4":"1399833157","file5":"1399833168","file3":"1399833155"},"map_files_photo_id_array":[{"photo_id":"1399833168","filename":"file5"},{"photo_id":"1399833153","filename":"file2"},{"photo_id":"1399833157","filename":"file4"},{"photo_id":"1399833151","filename":"file1"},{"photo_id":"1399833150","filename":"file0"},{"photo_id":"1399833155","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833168":["hashtag1","hashtag2"]},{"1399833153":["hashtag1","hashtag2"]},{"1399833150":["hashtag1","hashtag2"]},{"1399833155":["hashtag1","hashtag2"]},{"1399833157":["hashtag1","hashtag2"]},{"1399833151":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833168, 1399833153, 1399833150, 1399833155, 1399833157, 1399833151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.7448251247406 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:41:03.308347
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/30/image_17122025_21_30_54_9627.jpg', '/home/pi/Desktop/images/17122025/21/30/image_17122025_21_31_04_10807.jpg', '/home/pi/Desktop/images/17122025/21/31/image_17122025_21_31_34_9799.jpg', '/home/pi/Desktop/images/17122025/21/33/image_17122025_21_34_04_9643.jpg', '/home/pi/Desktop/images/17122025/21/34/image_17122025_21_34_34_9652.jpg', '/home/pi/Desktop/images/17122025/21/34/image_17122025_21_34_54_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/30/image_17122025_21_30_54_9627.jpg
/home/pi/Desktop/images/17122025/21/30/image_17122025_21_31_04_10807.jpg
/home/pi/Desktop/images/17122025/21/31/image_17122025_21_31_34_9799.jpg
/home/pi/Desktop/images/17122025/21/33/image_17122025_21_34_04_9643.jpg
/home/pi/Desktop/images/17122025/21/34/image_17122025_21_34_34_9652.jpg
/home/pi/Desktop/images/17122025/21/34/image_17122025_21_34_54_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833192","1399833194","1399833199","1399833187","1399833196","1399833190"],"photo_ids_order":["1399833187","1399833190","1399833192","1399833194","1399833196","1399833199"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c55c52291dfc52f0bbf54efefede85b.jpg","text":"TemporaryFile(/tmp/multipartBody6863125910215768829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004124014,"filename":"image_17122025_21_31_34_9799.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8be0170c70a3651b550de5ea5fdcbb6.jpg","text":"TemporaryFile(/tmp/multipartBody815778886908231991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004124014,"filename":"image_17122025_21_34_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40e5a6026f3b8836138e3633c0062e3c.jpg","text":"TemporaryFile(/tmp/multipartBody2540067126636397981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004124014,"filename":"image_17122025_21_34_54_9623.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d1239dc8fcdafb77dfda1ea10d47062.jpg","text":"TemporaryFile(/tmp/multipartBody1797238009958496176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004124014,"filename":"image_17122025_21_30_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b8279f9814a56a168e291d30e981b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2225358321499745244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004124014,"filename":"image_17122025_21_34_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3883daab4231d2350ffaac66bd7625e4.jpg","text":"TemporaryFile(/tmp/multipartBody5163956619139563898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004124014,"filename":"image_17122025_21_31_04_10807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833192","file1":"1399833190","file0":"1399833187","file4":"1399833196","file5":"1399833199","file3":"1399833194"},"map_files_photo_id_array":[{"photo_id":"1399833199","filename":"file5"},{"photo_id":"1399833192","filename":"file2"},{"photo_id":"1399833196","filename":"file4"},{"photo_id":"1399833190","filename":"file1"},{"photo_id":"1399833187","filename":"file0"},{"photo_id":"1399833194","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833192":["hashtag1","hashtag2"]},{"1399833194":["hashtag1","hashtag2"]},{"1399833199":["hashtag1","hashtag2"]},{"1399833187":["hashtag1","hashtag2"]},{"1399833196":["hashtag1","hashtag2"]},{"1399833190":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833192, 1399833194, 1399833199, 1399833187, 1399833196, 1399833190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84458518028259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:41:42.760925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_55_2668.jpg', '/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_04_2667.jpg', '/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_07_3556.jpg', '/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_13_2614.jpg', '/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_16_3699.jpg', '/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_19_2712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/36/image_07112025_21_36_55_2668.jpg
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_04_2667.jpg
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_07_3556.jpg
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_13_2614.jpg
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_16_3699.jpg
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_19_2712.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833210","1399833213","1399833212","1399833209","1399833206","1399833211"],"photo_ids_order":["1399833206","1399833209","1399833210","1399833211","1399833212","1399833213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5cf00bd188be5ff0345dc50a31a440ae.jpg","text":"TemporaryFile(/tmp/multipartBody3745455868052494358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004163497,"filename":"image_07112025_21_37_07_3556.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b43e246983d8aedbfb448aec7009b32d.jpg","text":"TemporaryFile(/tmp/multipartBody3378005920538194952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004163497,"filename":"image_07112025_21_37_19_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c3dc2ae6e03f427e1ae3331bacf37e84.jpg","text":"TemporaryFile(/tmp/multipartBody3507912144561803885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004163497,"filename":"image_07112025_21_37_16_3699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5e675b952861afcabec59dc5a2b5e207.jpg","text":"TemporaryFile(/tmp/multipartBody927589144164817111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004163497,"filename":"image_07112025_21_37_04_2667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d284b863c6ed43718c59a65d3bb71da.jpg","text":"TemporaryFile(/tmp/multipartBody646064487978017523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004163497,"filename":"image_07112025_21_36_55_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a830616e37955344b33317997f038f0.jpg","text":"TemporaryFile(/tmp/multipartBody813452578473693059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004163497,"filename":"image_07112025_21_37_13_2614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833210","file1":"1399833209","file0":"1399833206","file4":"1399833212","file5":"1399833213","file3":"1399833211"},"map_files_photo_id_array":[{"photo_id":"1399833213","filename":"file5"},{"photo_id":"1399833210","filename":"file2"},{"photo_id":"1399833212","filename":"file4"},{"photo_id":"1399833209","filename":"file1"},{"photo_id":"1399833206","filename":"file0"},{"photo_id":"1399833211","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399833210":["hashtag1","hashtag2"]},{"1399833213":["hashtag1","hashtag2"]},{"1399833212":["hashtag1","hashtag2"]},{"1399833209":["hashtag1","hashtag2"]},{"1399833206":["hashtag1","hashtag2"]},{"1399833211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399833210, 1399833213, 1399833212, 1399833209, 1399833206, 1399833211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2168083190918 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:42:22.040423
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/34/image_17122025_21_35_04_9785.jpg', '/home/pi/Desktop/images/17122025/21/38/image_17122025_21_39_04_9716.jpg', '/home/pi/Desktop/images/17122025/21/39/image_17122025_21_39_54_10757.jpg', '/home/pi/Desktop/images/17122025/21/39/image_17122025_21_40_04_9782.jpg', '/home/pi/Desktop/images/17122025/21/40/image_17122025_21_40_14_9696.jpg', '/home/pi/Desktop/images/17122025/21/40/image_17122025_21_40_23_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/34/image_17122025_21_35_04_9785.jpg
/home/pi/Desktop/images/17122025/21/38/image_17122025_21_39_04_9716.jpg
/home/pi/Desktop/images/17122025/21/39/image_17122025_21_39_54_10757.jpg
/home/pi/Desktop/images/17122025/21/39/image_17122025_21_40_04_9782.jpg
/home/pi/Desktop/images/17122025/21/40/image_17122025_21_40_14_9696.jpg
/home/pi/Desktop/images/17122025/21/40/image_17122025_21_40_23_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":["1399833225","1399833230","1399833227","1399833221","1399833218","1399833223"],"photo_ids_order":["1399833218","1399833221","1399833223","1399833225","1399833227","1399833230"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f22c13ab19f38fc21adc66614b4013a2.jpg","text":"TemporaryFile(/tmp/multipartBody5588443913039067624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004202672,"filename":"image_17122025_21_40_04_9782.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eac37c76b3b3775c2c39911fd44cd8b9.jpg","text":"TemporaryFile(/tmp/multipartBody763553001600825144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004202672,"filename":"image_17122025_21_40_23_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/31c210b2514462d1a87b49e2401938a1.jpg","text":"TemporaryFile(/tmp/multipartBody2396392450151402625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004202672,"filename":"image_17122025_21_40_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/825618cfc4bbfd67e8fdbbffe825efa2.jpg","text":"TemporaryFile(/tmp/multipartBody4703954513576361713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004202672,"filename":"image_17122025_21_39_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d17a19007a23232ae14b8a4e33133501.jpg","text":"TemporaryFile(/tmp/multipartBody8363448726281807493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004202672,"filename":"image_17122025_21_35_04_9785.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6707b424e3660c882931e2a3bb24301.jpg","text":"TemporaryFile(/tmp/multipartBody62877706601035287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004202672,"filename":"image_17122025_21_39_54_10757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833223","file1":"1399833221","file0":"1399833218","file4":"1399833227","file5":"1399833230","file3":"1399833225"},"map_files_photo_id_array":[{"photo_id":"1399833230","filename":"file5"},{"photo_id":"1399833223","filename":"file2"},{"photo_id":"1399833227","filename":"file4"},{"photo_id":"1399833221","filename":"file1"},{"photo_id":"1399833218","filename":"file0"},{"photo_id":"1399833225","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833225":["hashtag1","hashtag2"]},{"1399833230":["hashtag1","hashtag2"]},{"1399833227":["hashtag1","hashtag2"]},{"1399833221":["hashtag1","hashtag2"]},{"1399833218":["hashtag1","hashtag2"]},{"1399833223":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833225, 1399833230, 1399833227, 1399833221, 1399833218, 1399833223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.90304708480835 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:43:12.258890
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:43:22.241959
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/40/image_17122025_21_40_44_9725.jpg', '/home/pi/Desktop/images/17122025/21/40/image_17122025_21_40_54_9698.jpg', '/home/pi/Desktop/images/17122025/21/40/image_17122025_21_41_04_10751.jpg', '/home/pi/Desktop/images/17122025/21/41/image_17122025_21_41_14_9719.jpg', '/home/pi/Desktop/images/17122025/21/41/image_17122025_21_41_24_9848.jpg', '/home/pi/Desktop/images/17122025/21/41/image_17122025_21_41_44_10818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/40/image_17122025_21_40_44_9725.jpg
/home/pi/Desktop/images/17122025/21/40/image_17122025_21_40_54_9698.jpg
/home/pi/Desktop/images/17122025/21/40/image_17122025_21_41_04_10751.jpg
/home/pi/Desktop/images/17122025/21/41/image_17122025_21_41_14_9719.jpg
/home/pi/Desktop/images/17122025/21/41/image_17122025_21_41_24_9848.jpg
/home/pi/Desktop/images/17122025/21/41/image_17122025_21_41_44_10818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833246","1399833240","1399833239","1399833242","1399833236","1399833244"],"photo_ids_order":["1399833236","1399833239","1399833240","1399833242","1399833244","1399833246"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1faf51dd47863ee38b1e71dd9ee5389.jpg","text":"TemporaryFile(/tmp/multipartBody4758437032155517920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004262884,"filename":"image_17122025_21_41_44_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a38102f01068b76b742b180204036f98.jpg","text":"TemporaryFile(/tmp/multipartBody6175193940490342980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004262884,"filename":"image_17122025_21_41_04_10751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b2e7b80e37d68a3fb7cbdd5892f308b.jpg","text":"TemporaryFile(/tmp/multipartBody5103560474561356227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004262884,"filename":"image_17122025_21_40_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a58c25b6dcd8e2c7705f3c9e66a39411.jpg","text":"TemporaryFile(/tmp/multipartBody6731618803571458444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004262884,"filename":"image_17122025_21_41_14_9719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c4635ff902bf4181261f54b2fb2c387.jpg","text":"TemporaryFile(/tmp/multipartBody3421691620583975665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004262884,"filename":"image_17122025_21_40_44_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2eaba5d10fd7cb06bda393baf5150928.jpg","text":"TemporaryFile(/tmp/multipartBody8093708957432032600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004262884,"filename":"image_17122025_21_41_24_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833240","file1":"1399833239","file0":"1399833236","file4":"1399833244","file5":"1399833246","file3":"1399833242"},"map_files_photo_id_array":[{"photo_id":"1399833246","filename":"file5"},{"photo_id":"1399833240","filename":"file2"},{"photo_id":"1399833244","filename":"file4"},{"photo_id":"1399833239","filename":"file1"},{"photo_id":"1399833236","filename":"file0"},{"photo_id":"1399833242","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833246":["hashtag1","hashtag2"]},{"1399833240":["hashtag1","hashtag2"]},{"1399833239":["hashtag1","hashtag2"]},{"1399833242":["hashtag1","hashtag2"]},{"1399833236":["hashtag1","hashtag2"]},{"1399833244":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833246, 1399833240, 1399833239, 1399833242, 1399833236, 1399833244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.186973094940186 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:44:03.473893
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/41/image_17122025_21_42_04_9738.jpg', '/home/pi/Desktop/images/17122025/21/42/image_17122025_21_42_34_9614.jpg', '/home/pi/Desktop/images/17122025/21/42/image_17122025_21_42_53_9730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/41/image_17122025_21_42_04_9738.jpg
/home/pi/Desktop/images/17122025/21/42/image_17122025_21_42_34_9614.jpg
/home/pi/Desktop/images/17122025/21/42/image_17122025_21_42_53_9730.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.43195676803588867 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:44:12.769348
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:44:22.866792
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/41/image_17122025_21_42_04_9738.jpg', '/home/pi/Desktop/images/17122025/21/42/image_17122025_21_42_34_9614.jpg', '/home/pi/Desktop/images/17122025/21/42/image_17122025_21_42_53_9730.jpg', '/home/pi/Desktop/images/17122025/21/43/image_17122025_21_43_14_9754.jpg', '/home/pi/Desktop/images/17122025/21/44/image_17122025_21_44_34_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/41/image_17122025_21_42_04_9738.jpg
/home/pi/Desktop/images/17122025/21/42/image_17122025_21_42_34_9614.jpg
/home/pi/Desktop/images/17122025/21/42/image_17122025_21_42_53_9730.jpg
/home/pi/Desktop/images/17122025/21/43/image_17122025_21_43_14_9754.jpg
/home/pi/Desktop/images/17122025/21/44/image_17122025_21_44_34_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833270","1399833267","1399833255","1399833263","1399833257"],"photo_ids_order":["1399833255","1399833257","1399833263","1399833267","1399833270"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50a72a537605faf6e88e197741ff9238.jpg","text":"TemporaryFile(/tmp/multipartBody3809038715390313943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004323496,"filename":"image_17122025_21_44_34_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e21a5b0d88d548aa4ce4e5e7308fae13.jpg","text":"TemporaryFile(/tmp/multipartBody4325741202629932253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004323496,"filename":"image_17122025_21_43_14_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/122e311fec5da0e3f53b065799084b6a.jpg","text":"TemporaryFile(/tmp/multipartBody6753386137737124305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004323496,"filename":"image_17122025_21_42_04_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c946cbb84fead906863c2989b486ca4.jpg","text":"TemporaryFile(/tmp/multipartBody8861954543857421213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004323496,"filename":"image_17122025_21_42_53_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad28a9a0c2589459727c3694f6427668.jpg","text":"TemporaryFile(/tmp/multipartBody6676126570969833478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004323496,"filename":"image_17122025_21_42_34_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833263","file1":"1399833257","file0":"1399833255","file4":"1399833270","file3":"1399833267"},"map_files_photo_id_array":[{"photo_id":"1399833263","filename":"file2"},{"photo_id":"1399833270","filename":"file4"},{"photo_id":"1399833257","filename":"file1"},{"photo_id":"1399833255","filename":"file0"},{"photo_id":"1399833267","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833270":["hashtag1","hashtag2"]},{"1399833267":["hashtag1","hashtag2"]},{"1399833255":["hashtag1","hashtag2"]},{"1399833263":["hashtag1","hashtag2"]},{"1399833257":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833270, 1399833267, 1399833255, 1399833263, 1399833257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.828370571136475 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:45:03.217687
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:45:12.510951
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:45:22.573777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/44/image_17122025_21_44_54_9866.jpg', '/home/pi/Desktop/images/17122025/21/44/image_17122025_21_45_04_9703.jpg', '/home/pi/Desktop/images/17122025/21/45/image_17122025_21_45_14_9536.jpg', '/home/pi/Desktop/images/17122025/21/45/image_17122025_21_45_34_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/44/image_17122025_21_44_54_9866.jpg
/home/pi/Desktop/images/17122025/21/44/image_17122025_21_45_04_9703.jpg
/home/pi/Desktop/images/17122025/21/45/image_17122025_21_45_14_9536.jpg
/home/pi/Desktop/images/17122025/21/45/image_17122025_21_45_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":["1399833282","1399833284","1399833278","1399833287"],"photo_ids_order":["1399833278","1399833282","1399833284","1399833287"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5f35456ed52d4e10ff77fe13a841706.jpg","text":"TemporaryFile(/tmp/multipartBody8482290259127443573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004383159,"filename":"image_17122025_21_45_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81c8fe2be528ed9717bbe6d987e1a0e7.jpg","text":"TemporaryFile(/tmp/multipartBody7202385043200837232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004383159,"filename":"image_17122025_21_45_14_9536.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/346678ac70848754c9ccaa16ae64b9b3.jpg","text":"TemporaryFile(/tmp/multipartBody2605698832492540345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004383159,"filename":"image_17122025_21_44_54_9866.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4ccc94b988800be7f7835d3f8631f52.jpg","text":"TemporaryFile(/tmp/multipartBody3633395884339508843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004383159,"filename":"image_17122025_21_45_34_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833284","file1":"1399833282","file0":"1399833278","file3":"1399833287"},"map_files_photo_id_array":[{"photo_id":"1399833284","filename":"file2"},{"photo_id":"1399833282","filename":"file1"},{"photo_id":"1399833278","filename":"file0"},{"photo_id":"1399833287","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833282":["hashtag1","hashtag2"]},{"1399833284":["hashtag1","hashtag2"]},{"1399833278":["hashtag1","hashtag2"]},{"1399833287":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833282, 1399833284, 1399833278, 1399833287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.21052050590515 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:46:03.230104
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:46:12.778677
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:46:22.813905
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/45/image_17122025_21_45_54_9830.jpg', '/home/pi/Desktop/images/17122025/21/45/image_17122025_21_46_04_9642.jpg', '/home/pi/Desktop/images/17122025/21/46/image_17122025_21_46_14_9715.jpg', '/home/pi/Desktop/images/17122025/21/46/image_17122025_21_46_34_9713.jpg', '/home/pi/Desktop/images/17122025/21/46/image_17122025_21_46_44_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/45/image_17122025_21_45_54_9830.jpg
/home/pi/Desktop/images/17122025/21/45/image_17122025_21_46_04_9642.jpg
/home/pi/Desktop/images/17122025/21/46/image_17122025_21_46_14_9715.jpg
/home/pi/Desktop/images/17122025/21/46/image_17122025_21_46_34_9713.jpg
/home/pi/Desktop/images/17122025/21/46/image_17122025_21_46_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":["1399833300","1399833298","1399833302","1399833310","1399833304"],"photo_ids_order":["1399833298","1399833300","1399833302","1399833304","1399833310"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/913bb2cbee358354529ee7c6c9c8ffbe.jpg","text":"TemporaryFile(/tmp/multipartBody6253386771464628133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004443406,"filename":"image_17122025_21_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/2025/12/17/b9afc54a73031f1d4893ff11eb0c8631.jpg","text":"TemporaryFile(/tmp/multipartBody5619647578705500307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004443406,"filename":"image_17122025_21_45_54_9830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6a20e50408bff0256477af98e5d16b40.jpg","text":"TemporaryFile(/tmp/multipartBody317196023897665629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004443406,"filename":"image_17122025_21_46_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7d7523e9ba9b188656fc37627968efd.jpg","text":"TemporaryFile(/tmp/multipartBody8481643980576991219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004443406,"filename":"image_17122025_21_46_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46eca21ea2c49b65f8257b2aece8f945.jpg","text":"TemporaryFile(/tmp/multipartBody4515056821728819564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004443406,"filename":"image_17122025_21_46_34_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833302","file1":"1399833300","file0":"1399833298","file4":"1399833310","file3":"1399833304"},"map_files_photo_id_array":[{"photo_id":"1399833302","filename":"file2"},{"photo_id":"1399833310","filename":"file4"},{"photo_id":"1399833300","filename":"file1"},{"photo_id":"1399833298","filename":"file0"},{"photo_id":"1399833304","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833300":["hashtag1","hashtag2"]},{"1399833298":["hashtag1","hashtag2"]},{"1399833302":["hashtag1","hashtag2"]},{"1399833310":["hashtag1","hashtag2"]},{"1399833304":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833300, 1399833298, 1399833302, 1399833310, 1399833304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.23956823348999 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:47:12.239220
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:47:22.418430
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/46/image_17122025_21_46_54_10672.jpg', '/home/pi/Desktop/images/17122025/21/46/image_17122025_21_47_04_9591.jpg', '/home/pi/Desktop/images/17122025/21/47/image_17122025_21_47_24_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/46/image_17122025_21_46_54_10672.jpg
/home/pi/Desktop/images/17122025/21/46/image_17122025_21_47_04_9591.jpg
/home/pi/Desktop/images/17122025/21/47/image_17122025_21_47_24_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":["1399833338","1399833332","1399833335"],"photo_ids_order":["1399833332","1399833335","1399833338"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb41a6dbf43e14f507fccb6c7ad233f4.jpg","text":"TemporaryFile(/tmp/multipartBody2129294579852060103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004502922,"filename":"image_17122025_21_47_24_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2bd6aca3b8bf2b969b019481182f9a90.jpg","text":"TemporaryFile(/tmp/multipartBody2533913227776509806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004502922,"filename":"image_17122025_21_46_54_10672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/190c1b6ae7c6adecc407342efdbd222b.jpg","text":"TemporaryFile(/tmp/multipartBody1573520383183154051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004502922,"filename":"image_17122025_21_47_04_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833338","file1":"1399833335","file0":"1399833332"},"map_files_photo_id_array":[{"photo_id":"1399833338","filename":"file2"},{"photo_id":"1399833335","filename":"file1"},{"photo_id":"1399833332","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833338":["hashtag1","hashtag2"]},{"1399833332":["hashtag1","hashtag2"]},{"1399833335":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833338, 1399833332, 1399833335)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.346653938293457 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:48:02.872553
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:48:13.449507
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:48:22.564404
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/47/image_17122025_21_47_34_9766.jpg', '/home/pi/Desktop/images/17122025/21/47/image_17122025_21_48_04_10754.jpg', '/home/pi/Desktop/images/17122025/21/48/image_17122025_21_48_34_10773.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/47/image_17122025_21_47_34_9766.jpg
/home/pi/Desktop/images/17122025/21/47/image_17122025_21_48_04_10754.jpg
/home/pi/Desktop/images/17122025/21/48/image_17122025_21_48_34_10773.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4025993347167969 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:48:32.656575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:48:42.564947
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_33_7712.jpg', '/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_47_13675.jpg', '/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_48_1765.jpg', '/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_50_1553.jpg', '/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_52_1636.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_02_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_33_7712.jpg
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_47_13675.jpg
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_48_1765.jpg
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_50_1553.jpg
/home/pi/Desktop/images/07112025/21/37/image_07112025_21_37_52_1636.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_02_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":["1399833363","1399833366","1399833362","1399833365","1399833359","1399833364"],"photo_ids_order":["1399833359","1399833362","1399833363","1399833364","1399833365","1399833366"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2a36acc97d20a4e6bbbcfe2a3a0e848.jpg","text":"TemporaryFile(/tmp/multipartBody7629377543962617159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004583303,"filename":"image_07112025_21_37_48_1765.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a6b421b7004441c66c81304dd3f240f.jpg","text":"TemporaryFile(/tmp/multipartBody1888027098826501834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004583303,"filename":"image_07112025_21_38_02_9901.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87a0fa34aef487efdb71cbc63a4a5d29.jpg","text":"TemporaryFile(/tmp/multipartBody7119347253752274397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004583303,"filename":"image_07112025_21_37_47_13675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39219f3478224316d08f613b419c37e5.jpg","text":"TemporaryFile(/tmp/multipartBody819696549648524537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004583303,"filename":"image_07112025_21_37_52_1636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aec3a50973e6e3743365a72dc122cdae.jpg","text":"TemporaryFile(/tmp/multipartBody2540588765723770671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004583303,"filename":"image_07112025_21_37_33_7712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37d55d59228cb728a8067ed20055a49e.jpg","text":"TemporaryFile(/tmp/multipartBody3340000645505730189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004583303,"filename":"image_07112025_21_37_50_1553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833363","file1":"1399833362","file0":"1399833359","file4":"1399833365","file5":"1399833366","file3":"1399833364"},"map_files_photo_id_array":[{"photo_id":"1399833366","filename":"file5"},{"photo_id":"1399833363","filename":"file2"},{"photo_id":"1399833365","filename":"file4"},{"photo_id":"1399833362","filename":"file1"},{"photo_id":"1399833359","filename":"file0"},{"photo_id":"1399833364","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399833363":["hashtag1","hashtag2"]},{"1399833366":["hashtag1","hashtag2"]},{"1399833362":["hashtag1","hashtag2"]},{"1399833365":["hashtag1","hashtag2"]},{"1399833359":["hashtag1","hashtag2"]},{"1399833364":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399833363, 1399833366, 1399833362, 1399833365, 1399833359, 1399833364)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.599231481552124 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:49:22.843187
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/47/image_17122025_21_47_34_9766.jpg', '/home/pi/Desktop/images/17122025/21/47/image_17122025_21_48_04_10754.jpg', '/home/pi/Desktop/images/17122025/21/48/image_17122025_21_48_34_10773.jpg', '/home/pi/Desktop/images/17122025/21/48/image_17122025_21_48_54_9572.jpg', '/home/pi/Desktop/images/17122025/21/48/image_17122025_21_49_04_10658.jpg', '/home/pi/Desktop/images/17122025/21/49/image_17122025_21_49_24_10437.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/47/image_17122025_21_47_34_9766.jpg
/home/pi/Desktop/images/17122025/21/47/image_17122025_21_48_04_10754.jpg
/home/pi/Desktop/images/17122025/21/48/image_17122025_21_48_34_10773.jpg
/home/pi/Desktop/images/17122025/21/48/image_17122025_21_48_54_9572.jpg
/home/pi/Desktop/images/17122025/21/48/image_17122025_21_49_04_10658.jpg
/home/pi/Desktop/images/17122025/21/49/image_17122025_21_49_24_10437.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833375","1399833380","1399833383","1399833377","1399833371","1399833373"],"photo_ids_order":["1399833371","1399833373","1399833375","1399833377","1399833380","1399833383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53966444025b646dacbe6657694dad36.jpg","text":"TemporaryFile(/tmp/multipartBody6319798301142135843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004623486,"filename":"image_17122025_21_48_34_10773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a3fbb50b1bc6cd375bc4e04728c4a52.jpg","text":"TemporaryFile(/tmp/multipartBody8407770934315672792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004623486,"filename":"image_17122025_21_49_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dc1ba5dd1dca8471a42bce307dd145b.jpg","text":"TemporaryFile(/tmp/multipartBody5642159336846460697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004623486,"filename":"image_17122025_21_49_24_10437.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64f028433a555480757f52237b555805.jpg","text":"TemporaryFile(/tmp/multipartBody845153553567360450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004623486,"filename":"image_17122025_21_48_54_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93cfe5389d02fe369ad7c1c01a6b1acd.jpg","text":"TemporaryFile(/tmp/multipartBody5452560230322747223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004623486,"filename":"image_17122025_21_47_34_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a278f0c994a3bf390fc90b32ef10e72.jpg","text":"TemporaryFile(/tmp/multipartBody7689998955414879984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004623486,"filename":"image_17122025_21_48_04_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833375","file1":"1399833373","file0":"1399833371","file4":"1399833380","file5":"1399833383","file3":"1399833377"},"map_files_photo_id_array":[{"photo_id":"1399833383","filename":"file5"},{"photo_id":"1399833375","filename":"file2"},{"photo_id":"1399833380","filename":"file4"},{"photo_id":"1399833373","filename":"file1"},{"photo_id":"1399833371","filename":"file0"},{"photo_id":"1399833377","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833375":["hashtag1","hashtag2"]},{"1399833380":["hashtag1","hashtag2"]},{"1399833383":["hashtag1","hashtag2"]},{"1399833377":["hashtag1","hashtag2"]},{"1399833371":["hashtag1","hashtag2"]},{"1399833373":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833375, 1399833380, 1399833383, 1399833377, 1399833371, 1399833373)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.79110360145569 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:50:12.070264
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:50:22.042075
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/49/image_17122025_21_49_34_9610.jpg', '/home/pi/Desktop/images/17122025/21/49/image_17122025_21_49_44_9678.jpg', '/home/pi/Desktop/images/17122025/21/49/image_17122025_21_49_53_9798.jpg', '/home/pi/Desktop/images/17122025/21/50/image_17122025_21_50_34_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/49/image_17122025_21_49_34_9610.jpg
/home/pi/Desktop/images/17122025/21/49/image_17122025_21_49_44_9678.jpg
/home/pi/Desktop/images/17122025/21/49/image_17122025_21_49_53_9798.jpg
/home/pi/Desktop/images/17122025/21/50/image_17122025_21_50_34_10571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833392","1399833395","1399833389","1399833397"],"photo_ids_order":["1399833389","1399833392","1399833395","1399833397"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d93a34d08d351023130ef07dfc4c591a.jpg","text":"TemporaryFile(/tmp/multipartBody2658812236671754446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004682564,"filename":"image_17122025_21_49_44_9678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e29d2178a75bd9fad3bb6eb3da0138af.jpg","text":"TemporaryFile(/tmp/multipartBody5073115954956194776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004682564,"filename":"image_17122025_21_49_53_9798.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5c05088067def1e4d4f9419690a7f2c.jpg","text":"TemporaryFile(/tmp/multipartBody3770116859392795258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004682564,"filename":"image_17122025_21_49_34_9610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/200899a550d984ee42abcfe755c23691.jpg","text":"TemporaryFile(/tmp/multipartBody5783978906490161214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004682564,"filename":"image_17122025_21_50_34_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833395","file1":"1399833392","file0":"1399833389","file3":"1399833397"},"map_files_photo_id_array":[{"photo_id":"1399833395","filename":"file2"},{"photo_id":"1399833392","filename":"file1"},{"photo_id":"1399833389","filename":"file0"},{"photo_id":"1399833397","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833392":["hashtag1","hashtag2"]},{"1399833395":["hashtag1","hashtag2"]},{"1399833389":["hashtag1","hashtag2"]},{"1399833397":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833392, 1399833395, 1399833389, 1399833397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 29.253217458724976 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:51:02.752912
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 21:51:13.965879
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:51:22.350592
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/50/image_17122025_21_50_54_10189.jpg', '/home/pi/Desktop/images/17122025/21/51/image_17122025_21_51_14_9810.jpg', '/home/pi/Desktop/images/17122025/21/51/image_17122025_21_51_24_9766.jpg', '/home/pi/Desktop/images/17122025/21/51/image_17122025_21_51_34_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/50/image_17122025_21_50_54_10189.jpg
/home/pi/Desktop/images/17122025/21/51/image_17122025_21_51_14_9810.jpg
/home/pi/Desktop/images/17122025/21/51/image_17122025_21_51_24_9766.jpg
/home/pi/Desktop/images/17122025/21/51/image_17122025_21_51_34_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":["1399833427","1399833423","1399833425","1399833419"],"photo_ids_order":["1399833419","1399833423","1399833425","1399833427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6d7444eacd3f5b735572ab20ab93caa.jpg","text":"TemporaryFile(/tmp/multipartBody4013965357048887154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004742865,"filename":"image_17122025_21_51_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f187b2cd62a77ccd13027702db43c8d4.jpg","text":"TemporaryFile(/tmp/multipartBody8241073396875022314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004742865,"filename":"image_17122025_21_51_14_9810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a39724a8ee2d821f1f7ce93051544d5.jpg","text":"TemporaryFile(/tmp/multipartBody7202550634296644251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004742865,"filename":"image_17122025_21_51_24_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d798d2c976ae199bff303fd672860b0a.jpg","text":"TemporaryFile(/tmp/multipartBody5021203365333742614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004742865,"filename":"image_17122025_21_50_54_10189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833425","file1":"1399833423","file0":"1399833419","file3":"1399833427"},"map_files_photo_id_array":[{"photo_id":"1399833425","filename":"file2"},{"photo_id":"1399833423","filename":"file1"},{"photo_id":"1399833419","filename":"file0"},{"photo_id":"1399833427","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833427":["hashtag1","hashtag2"]},{"1399833423":["hashtag1","hashtag2"]},{"1399833425":["hashtag1","hashtag2"]},{"1399833419":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833427, 1399833423, 1399833425, 1399833419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.60302233695984 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:52:05.570848
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 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 10 --only_old 1
2025-12-17 21:52:15.186219
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:52:25.183936
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/51/image_17122025_21_51_54_9627.jpg', '/home/pi/Desktop/images/17122025/21/51/image_17122025_21_52_04_10019.jpg', '/home/pi/Desktop/images/17122025/21/52/image_17122025_21_52_44_10669.jpg', '/home/pi/Desktop/images/17122025/21/52/image_17122025_21_52_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/51/image_17122025_21_51_54_9627.jpg
/home/pi/Desktop/images/17122025/21/51/image_17122025_21_52_04_10019.jpg
/home/pi/Desktop/images/17122025/21/52/image_17122025_21_52_44_10669.jpg
/home/pi/Desktop/images/17122025/21/52/image_17122025_21_52_54_9655.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833441","1399833437","1399833446","1399833448"],"photo_ids_order":["1399833437","1399833441","1399833446","1399833448"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d521916f52f828c79c1fe9f84196bef9.jpg","text":"TemporaryFile(/tmp/multipartBody2548856006503332686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004805725,"filename":"image_17122025_21_52_04_10019.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/195d705b3f2ca041e43c7641406370ad.jpg","text":"TemporaryFile(/tmp/multipartBody5300687446080524381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004805725,"filename":"image_17122025_21_51_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3d8538ec3deedd137d0608f1ee88439.jpg","text":"TemporaryFile(/tmp/multipartBody6314100421840797040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004805725,"filename":"image_17122025_21_52_44_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1d9b69d607919127ff63953f9c0a7c4.jpg","text":"TemporaryFile(/tmp/multipartBody9132045583864087901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004805725,"filename":"image_17122025_21_52_54_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833446","file1":"1399833441","file0":"1399833437","file3":"1399833448"},"map_files_photo_id_array":[{"photo_id":"1399833446","filename":"file2"},{"photo_id":"1399833441","filename":"file1"},{"photo_id":"1399833437","filename":"file0"},{"photo_id":"1399833448","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833441":["hashtag1","hashtag2"]},{"1399833437":["hashtag1","hashtag2"]},{"1399833446":["hashtag1","hashtag2"]},{"1399833448":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833441, 1399833437, 1399833446, 1399833448)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.83330488204956 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:53:02.927042
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:53:12.419800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:53:22.313428
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/52/image_17122025_21_53_04_9636.jpg', '/home/pi/Desktop/images/17122025/21/53/image_17122025_21_53_24_10823.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/52/image_17122025_21_53_04_9636.jpg
/home/pi/Desktop/images/17122025/21/53/image_17122025_21_53_24_10823.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833467","1399833469"],"photo_ids_order":["1399833467","1399833469"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a17b2e62cfbc2e96674b48e0a456708.jpg","text":"TemporaryFile(/tmp/multipartBody6265022081375191025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004862735,"filename":"image_17122025_21_53_04_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f251e18dd5a79495425d04cd089520b4.jpg","text":"TemporaryFile(/tmp/multipartBody2822042209111059647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004862735,"filename":"image_17122025_21_53_24_10823.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399833469","file0":"1399833467"},"map_files_photo_id_array":[{"photo_id":"1399833469","filename":"file1"},{"photo_id":"1399833467","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833467":["hashtag1","hashtag2"]},{"1399833469":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833467, 1399833469)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 2 photos
time to upload: 21.001090049743652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:54:03.205779
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:54:12.581289
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:54:22.481288
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/53/image_17122025_21_53_44_9759.jpg', '/home/pi/Desktop/images/17122025/21/53/image_17122025_21_54_04_10026.jpg', '/home/pi/Desktop/images/17122025/21/54/image_17122025_21_54_14_10715.jpg', '/home/pi/Desktop/images/17122025/21/54/image_17122025_21_54_44_10771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/53/image_17122025_21_53_44_9759.jpg
/home/pi/Desktop/images/17122025/21/53/image_17122025_21_54_04_10026.jpg
/home/pi/Desktop/images/17122025/21/54/image_17122025_21_54_14_10715.jpg
/home/pi/Desktop/images/17122025/21/54/image_17122025_21_54_44_10771.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833489","1399833480","1399833486","1399833484"],"photo_ids_order":["1399833480","1399833484","1399833486","1399833489"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/adfac30d0c3fa77bbbb9cfd6bbaca48d.jpg","text":"TemporaryFile(/tmp/multipartBody1105106978456956912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004922980,"filename":"image_17122025_21_54_44_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52d12cf9ee07ca45fd2d9f3810912314.jpg","text":"TemporaryFile(/tmp/multipartBody356628762520169365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004922980,"filename":"image_17122025_21_53_44_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bfe429da86a95107fc9162cba758e0b4.jpg","text":"TemporaryFile(/tmp/multipartBody1337421462020182570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004922980,"filename":"image_17122025_21_54_14_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f23ded1f5c6938e887278ae0d9f09a00.jpg","text":"TemporaryFile(/tmp/multipartBody2015013345414405892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004922980,"filename":"image_17122025_21_54_04_10026.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833486","file1":"1399833484","file0":"1399833480","file3":"1399833489"},"map_files_photo_id_array":[{"photo_id":"1399833486","filename":"file2"},{"photo_id":"1399833484","filename":"file1"},{"photo_id":"1399833480","filename":"file0"},{"photo_id":"1399833489","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833489":["hashtag1","hashtag2"]},{"1399833480":["hashtag1","hashtag2"]},{"1399833486":["hashtag1","hashtag2"]},{"1399833484":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833489, 1399833480, 1399833486, 1399833484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.634389638900757 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:55:03.454016
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:55:12.647794
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:55:22.733443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/54/image_17122025_21_54_54_9617.jpg', '/home/pi/Desktop/images/17122025/21/55/image_17122025_21_55_24_9871.jpg', '/home/pi/Desktop/images/17122025/21/55/image_17122025_21_55_34_9938.jpg', '/home/pi/Desktop/images/17122025/21/55/image_17122025_21_55_44_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/54/image_17122025_21_54_54_9617.jpg
/home/pi/Desktop/images/17122025/21/55/image_17122025_21_55_24_9871.jpg
/home/pi/Desktop/images/17122025/21/55/image_17122025_21_55_34_9938.jpg
/home/pi/Desktop/images/17122025/21/55/image_17122025_21_55_44_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833510","1399833518","1399833521","1399833514"],"photo_ids_order":["1399833510","1399833514","1399833518","1399833521"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/606e65bd4b96f39fbe08424f57255cb0.jpg","text":"TemporaryFile(/tmp/multipartBody7794060732945629103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004983350,"filename":"image_17122025_21_54_54_9617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5ae124e0ac1670ec4a113effd7bf5b9.jpg","text":"TemporaryFile(/tmp/multipartBody8290901880182491700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004983350,"filename":"image_17122025_21_55_34_9938.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d83fe433e8828f637e72ab9389460d4.jpg","text":"TemporaryFile(/tmp/multipartBody180146491976872090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004983350,"filename":"image_17122025_21_55_44_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01cb333f0f32447a0c3f0e64d0e6fe42.jpg","text":"TemporaryFile(/tmp/multipartBody8603435649669697592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766004983350,"filename":"image_17122025_21_55_24_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833518","file1":"1399833514","file0":"1399833510","file3":"1399833521"},"map_files_photo_id_array":[{"photo_id":"1399833518","filename":"file2"},{"photo_id":"1399833514","filename":"file1"},{"photo_id":"1399833510","filename":"file0"},{"photo_id":"1399833521","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833510":["hashtag1","hashtag2"]},{"1399833518":["hashtag1","hashtag2"]},{"1399833521":["hashtag1","hashtag2"]},{"1399833514":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833510, 1399833518, 1399833521, 1399833514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.957866430282593 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:56:02.502183
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:56:12.006938
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:56:22.087163
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/55/image_17122025_21_55_54_9911.jpg', '/home/pi/Desktop/images/17122025/21/55/image_17122025_21_56_04_10691.jpg', '/home/pi/Desktop/images/17122025/21/56/image_17122025_21_56_14_9606.jpg', '/home/pi/Desktop/images/17122025/21/56/image_17122025_21_56_24_9668.jpg', '/home/pi/Desktop/images/17122025/21/56/image_17122025_21_56_34_10838.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/55/image_17122025_21_55_54_9911.jpg
/home/pi/Desktop/images/17122025/21/55/image_17122025_21_56_04_10691.jpg
/home/pi/Desktop/images/17122025/21/56/image_17122025_21_56_14_9606.jpg
/home/pi/Desktop/images/17122025/21/56/image_17122025_21_56_24_9668.jpg
/home/pi/Desktop/images/17122025/21/56/image_17122025_21_56_34_10838.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833534","1399833536","1399833530","1399833532","1399833538"],"photo_ids_order":["1399833530","1399833532","1399833534","1399833536","1399833538"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9798ec06d39564509fb6e4aca42b8cbf.jpg","text":"TemporaryFile(/tmp/multipartBody4606403251842213654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005042722,"filename":"image_17122025_21_56_14_9606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/48ee7666eeea2046cd0de2b976785f00.jpg","text":"TemporaryFile(/tmp/multipartBody4011030546667022030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005042722,"filename":"image_17122025_21_56_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7973b51e760ebbebc50c99171a67c6df.jpg","text":"TemporaryFile(/tmp/multipartBody5244697302814572869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005042722,"filename":"image_17122025_21_55_54_9911.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9e6bcd86451ffffae1c2d7834fb65b86.jpg","text":"TemporaryFile(/tmp/multipartBody7965679493511616556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005042722,"filename":"image_17122025_21_56_04_10691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50b8179509115fd723edd816d8dcf376.jpg","text":"TemporaryFile(/tmp/multipartBody509440097765379113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005042722,"filename":"image_17122025_21_56_34_10838.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833534","file1":"1399833532","file0":"1399833530","file4":"1399833538","file3":"1399833536"},"map_files_photo_id_array":[{"photo_id":"1399833534","filename":"file2"},{"photo_id":"1399833538","filename":"file4"},{"photo_id":"1399833532","filename":"file1"},{"photo_id":"1399833530","filename":"file0"},{"photo_id":"1399833536","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833534":["hashtag1","hashtag2"]},{"1399833536":["hashtag1","hashtag2"]},{"1399833530":["hashtag1","hashtag2"]},{"1399833532":["hashtag1","hashtag2"]},{"1399833538":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833534, 1399833536, 1399833530, 1399833532, 1399833538)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.43945074081421 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:57:02.916461
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:57:12.250601
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 21:57:22.332793
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/56/image_17122025_21_56_44_9688.jpg', '/home/pi/Desktop/images/17122025/21/56/image_17122025_21_57_04_9752.jpg', '/home/pi/Desktop/images/17122025/21/57/image_17122025_21_57_14_10636.jpg', '/home/pi/Desktop/images/17122025/21/57/image_17122025_21_57_24_9658.jpg', '/home/pi/Desktop/images/17122025/21/57/image_17122025_21_57_34_9872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/56/image_17122025_21_56_44_9688.jpg
/home/pi/Desktop/images/17122025/21/56/image_17122025_21_57_04_9752.jpg
/home/pi/Desktop/images/17122025/21/57/image_17122025_21_57_14_10636.jpg
/home/pi/Desktop/images/17122025/21/57/image_17122025_21_57_24_9658.jpg
/home/pi/Desktop/images/17122025/21/57/image_17122025_21_57_34_9872.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833554","1399833548","1399833551","1399833545","1399833553"],"photo_ids_order":["1399833545","1399833548","1399833551","1399833553","1399833554"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a5aea687ec74f83f285ce64c645952c5.jpg","text":"TemporaryFile(/tmp/multipartBody8415250253901204511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005102929,"filename":"image_17122025_21_57_34_9872.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/89e60d4bcbcff3ccde11b143d1ff90cd.jpg","text":"TemporaryFile(/tmp/multipartBody8554861489502124373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005102929,"filename":"image_17122025_21_57_04_9752.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22146706a07dfa303ced7aada72f3f96.jpg","text":"TemporaryFile(/tmp/multipartBody4011414132717215126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005102929,"filename":"image_17122025_21_57_14_10636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f3fb6549106e6b9ba1a535ec236e33ce.jpg","text":"TemporaryFile(/tmp/multipartBody1120016177592081884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005102929,"filename":"image_17122025_21_56_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35d5a0335e528295cdc7db8928d521e2.jpg","text":"TemporaryFile(/tmp/multipartBody751889346009249965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005102929,"filename":"image_17122025_21_57_24_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833551","file1":"1399833548","file0":"1399833545","file4":"1399833554","file3":"1399833553"},"map_files_photo_id_array":[{"photo_id":"1399833551","filename":"file2"},{"photo_id":"1399833554","filename":"file4"},{"photo_id":"1399833548","filename":"file1"},{"photo_id":"1399833545","filename":"file0"},{"photo_id":"1399833553","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833554":["hashtag1","hashtag2"]},{"1399833548":["hashtag1","hashtag2"]},{"1399833551":["hashtag1","hashtag2"]},{"1399833545":["hashtag1","hashtag2"]},{"1399833553":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833554, 1399833548, 1399833551, 1399833545, 1399833553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.296639919281006 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 21:59:03.613627
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/57/image_17122025_21_57_44_10641.jpg', '/home/pi/Desktop/images/17122025/21/58/image_17122025_21_58_14_9735.jpg', '/home/pi/Desktop/images/17122025/21/58/image_17122025_21_58_24_10817.jpg', '/home/pi/Desktop/images/17122025/21/58/image_17122025_21_58_44_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/57/image_17122025_21_57_44_10641.jpg
/home/pi/Desktop/images/17122025/21/58/image_17122025_21_58_14_9735.jpg
/home/pi/Desktop/images/17122025/21/58/image_17122025_21_58_24_10817.jpg
/home/pi/Desktop/images/17122025/21/58/image_17122025_21_58_44_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":["1399833570","1399833566","1399833586","1399833562"],"photo_ids_order":["1399833562","1399833566","1399833570","1399833586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5b18fdf11592eacfe3982afe22366773.jpg","text":"TemporaryFile(/tmp/multipartBody6869479104276918262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005204283,"filename":"image_17122025_21_58_24_10817.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/deee558346c6d303157c6afa09c72ce0.jpg","text":"TemporaryFile(/tmp/multipartBody7803742532883118720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005204283,"filename":"image_17122025_21_58_14_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e9639f078de786a32298012c6b892697.jpg","text":"TemporaryFile(/tmp/multipartBody7463596596757310913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005204283,"filename":"image_17122025_21_58_44_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8af6a92e2c5c9f4b0ee26b3e934fa456.jpg","text":"TemporaryFile(/tmp/multipartBody6377518852725790095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005204283,"filename":"image_17122025_21_57_44_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833570","file1":"1399833566","file0":"1399833562","file3":"1399833586"},"map_files_photo_id_array":[{"photo_id":"1399833570","filename":"file2"},{"photo_id":"1399833566","filename":"file1"},{"photo_id":"1399833562","filename":"file0"},{"photo_id":"1399833586","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399833570":["hashtag1","hashtag2"]},{"1399833566":["hashtag1","hashtag2"]},{"1399833586":["hashtag1","hashtag2"]},{"1399833562":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399833570, 1399833566, 1399833586, 1399833562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.864579677581787 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 21:59:32.776304
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 21:59:42.779213
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_03_1689.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_07_4208.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_09_1644.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_11_1652.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_13_1847.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_14_1721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_03_1689.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_07_4208.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_09_1644.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_11_1652.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_13_1847.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_14_1721.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399833870","1399833909","1399833788","1399833991","1399833949","1399833829"],"photo_ids_order":["1399833788","1399833829","1399833870","1399833909","1399833949","1399833991"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c424e4a2e04446f6e298f08c42765cbb.jpg","text":"TemporaryFile(/tmp/multipartBody4280679105189825600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005243516,"filename":"image_07112025_21_38_09_1644.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/281ec7f8a5aaf9b5c92b6455a1d21400.jpg","text":"TemporaryFile(/tmp/multipartBody7242451244763077423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005243516,"filename":"image_07112025_21_38_11_1652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/feaec934f521d1d43647626b06e7d9e1.jpg","text":"TemporaryFile(/tmp/multipartBody8726728344214265599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005243516,"filename":"image_07112025_21_38_03_1689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0e31c72836ac25ad91238767e6fcbca.jpg","text":"TemporaryFile(/tmp/multipartBody7226703096150656640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005243516,"filename":"image_07112025_21_38_14_1721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e727243902883d896fb596c267e1f2d9.jpg","text":"TemporaryFile(/tmp/multipartBody4642446647730855691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005243516,"filename":"image_07112025_21_38_13_1847.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cf393687b28d8136c02fb6bb500f24b.jpg","text":"TemporaryFile(/tmp/multipartBody1279325643537128985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005243516,"filename":"image_07112025_21_38_07_4208.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399833870","file1":"1399833829","file0":"1399833788","file4":"1399833949","file5":"1399833991","file3":"1399833909"},"map_files_photo_id_array":[{"photo_id":"1399833991","filename":"file5"},{"photo_id":"1399833870","filename":"file2"},{"photo_id":"1399833949","filename":"file4"},{"photo_id":"1399833829","filename":"file1"},{"photo_id":"1399833788","filename":"file0"},{"photo_id":"1399833909","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399833870":["hashtag1","hashtag2"]},{"1399833909":["hashtag1","hashtag2"]},{"1399833788":["hashtag1","hashtag2"]},{"1399833991":["hashtag1","hashtag2"]},{"1399833949":["hashtag1","hashtag2"]},{"1399833829":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399833870, 1399833909, 1399833788, 1399833991, 1399833949, 1399833829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.391905546188354 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:00:21.919737
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/58/image_17122025_21_58_54_9732.jpg', '/home/pi/Desktop/images/17122025/21/58/image_17122025_21_59_04_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/58/image_17122025_21_58_54_9732.jpg
/home/pi/Desktop/images/17122025/21/58/image_17122025_21_59_04_9744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399834153","1399834111"],"photo_ids_order":["1399834111","1399834153"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f44e0d3b275a77dea2f4da69e5fc3768.jpg","text":"TemporaryFile(/tmp/multipartBody6585290155155945517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005282360,"filename":"image_17122025_21_59_04_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/369af22e5718cf8363e82a8c88b2ce1e.jpg","text":"TemporaryFile(/tmp/multipartBody8126463613126645052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005282360,"filename":"image_17122025_21_58_54_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399834153","file0":"1399834111"},"map_files_photo_id_array":[{"photo_id":"1399834153","filename":"file1"},{"photo_id":"1399834111","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399834153":["hashtag1","hashtag2"]},{"1399834111":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399834153, 1399834111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.043216228485107 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:00:42.001698
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_16_1733.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_18_1512.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_19_1818.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_21_1746.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_23_1502.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_24_1602.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_16_1733.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_18_1512.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_19_1818.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_21_1746.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_23_1502.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_24_1602.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399834230","1399834232","1399834267","1399834234","1399834228","1399834237"],"photo_ids_order":["1399834228","1399834230","1399834232","1399834234","1399834237","1399834267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6abc8498a01bb40159836ab7a5f4b4a7.jpg","text":"TemporaryFile(/tmp/multipartBody1584577993814366935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005302740,"filename":"image_07112025_21_38_18_1512.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5dd6b89848c7516191ead44430f48bed.jpg","text":"TemporaryFile(/tmp/multipartBody8209054096456433499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005302740,"filename":"image_07112025_21_38_19_1818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f23aadae9b9fd7b0497d6cba56a549c0.jpg","text":"TemporaryFile(/tmp/multipartBody4545966100932631131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005302740,"filename":"image_07112025_21_38_24_1602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a945bb26bc3a296352500c936688d532.jpg","text":"TemporaryFile(/tmp/multipartBody7339727640961404776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005302740,"filename":"image_07112025_21_38_21_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b6e876425495c453ffc64d72f82193ae.jpg","text":"TemporaryFile(/tmp/multipartBody2790570487163914475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005302740,"filename":"image_07112025_21_38_16_1733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d18d7bf1ec915a7092471d24b7a085f1.jpg","text":"TemporaryFile(/tmp/multipartBody9144866839825332820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005302740,"filename":"image_07112025_21_38_23_1502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399834232","file1":"1399834230","file0":"1399834228","file4":"1399834237","file5":"1399834267","file3":"1399834234"},"map_files_photo_id_array":[{"photo_id":"1399834267","filename":"file5"},{"photo_id":"1399834232","filename":"file2"},{"photo_id":"1399834237","filename":"file4"},{"photo_id":"1399834230","filename":"file1"},{"photo_id":"1399834228","filename":"file0"},{"photo_id":"1399834234","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399834230":["hashtag1","hashtag2"]},{"1399834232":["hashtag1","hashtag2"]},{"1399834267":["hashtag1","hashtag2"]},{"1399834234":["hashtag1","hashtag2"]},{"1399834228":["hashtag1","hashtag2"]},{"1399834237":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399834230, 1399834232, 1399834267, 1399834234, 1399834228, 1399834237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38719391822815 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:01:22.320823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/21/59/image_17122025_21_59_14_10914.jpg', '/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_13_10038.jpg', '/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_24_10771.jpg', '/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_34_9730.jpg', '/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_43_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/21/59/image_17122025_21_59_14_10914.jpg
/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_13_10038.jpg
/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_24_10771.jpg
/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_34_9730.jpg
/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_43_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":["1399834350","1399834425","1399834427","1399834406","1399834383"],"photo_ids_order":["1399834350","1399834383","1399834406","1399834425","1399834427"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8613a918ea7d72cc73da5e03f6d03981.jpg","text":"TemporaryFile(/tmp/multipartBody8744863796338334114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005342927,"filename":"image_17122025_21_59_14_10914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/550e1bd97b805b08fc286a19e7c38b59.jpg","text":"TemporaryFile(/tmp/multipartBody5499364699363702251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005342927,"filename":"image_17122025_22_01_34_9730.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/001621bc80ab336e7b6f3d201159e7cf.jpg","text":"TemporaryFile(/tmp/multipartBody7055645325907500037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005342927,"filename":"image_17122025_22_01_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2519b529aa1d029c6bfe20093e8181a5.jpg","text":"TemporaryFile(/tmp/multipartBody1418587216723506274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005342927,"filename":"image_17122025_22_01_24_10771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/435b9e8be1ebb459acca9dd5556afd65.jpg","text":"TemporaryFile(/tmp/multipartBody3798944041812166955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005342927,"filename":"image_17122025_22_01_13_10038.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399834406","file1":"1399834383","file0":"1399834350","file4":"1399834427","file3":"1399834425"},"map_files_photo_id_array":[{"photo_id":"1399834406","filename":"file2"},{"photo_id":"1399834427","filename":"file4"},{"photo_id":"1399834383","filename":"file1"},{"photo_id":"1399834350","filename":"file0"},{"photo_id":"1399834425","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399834350":["hashtag1","hashtag2"]},{"1399834425":["hashtag1","hashtag2"]},{"1399834427":["hashtag1","hashtag2"]},{"1399834406":["hashtag1","hashtag2"]},{"1399834383":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399834350, 1399834425, 1399834427, 1399834406, 1399834383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 39.10360264778137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:02:02.848364
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:02:12.345248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:02:22.523798
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_53_9873.jpg', '/home/pi/Desktop/images/17122025/22/02/image_17122025_22_02_14_9764.jpg', '/home/pi/Desktop/images/17122025/22/02/image_17122025_22_02_24_9725.jpg', '/home/pi/Desktop/images/17122025/22/02/image_17122025_22_02_33_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/01/image_17122025_22_01_53_9873.jpg
/home/pi/Desktop/images/17122025/22/02/image_17122025_22_02_14_9764.jpg
/home/pi/Desktop/images/17122025/22/02/image_17122025_22_02_24_9725.jpg
/home/pi/Desktop/images/17122025/22/02/image_17122025_22_02_33_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":["1399834452","1399834446","1399834448","1399834450"],"photo_ids_order":["1399834446","1399834448","1399834450","1399834452"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4eaffbd9e5f1b356a889b8316000cafe.jpg","text":"TemporaryFile(/tmp/multipartBody2023745390245854080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005403079,"filename":"image_17122025_22_02_33_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d7750cc56f5d7feb393604bd10d2f78.jpg","text":"TemporaryFile(/tmp/multipartBody1869825909298885969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005403079,"filename":"image_17122025_22_01_53_9873.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa490846cf77c6b174e590c2fc8b695c.jpg","text":"TemporaryFile(/tmp/multipartBody451271775574300900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005403079,"filename":"image_17122025_22_02_14_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fd9ffa4c3c628fa3ec13e270ce209f13.jpg","text":"TemporaryFile(/tmp/multipartBody6354027490494421456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005403079,"filename":"image_17122025_22_02_24_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399834450","file1":"1399834448","file0":"1399834446","file3":"1399834452"},"map_files_photo_id_array":[{"photo_id":"1399834450","filename":"file2"},{"photo_id":"1399834448","filename":"file1"},{"photo_id":"1399834446","filename":"file0"},{"photo_id":"1399834452","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399834452":["hashtag1","hashtag2"]},{"1399834446":["hashtag1","hashtag2"]},{"1399834448":["hashtag1","hashtag2"]},{"1399834450":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399834452, 1399834446, 1399834448, 1399834450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.24440360069275 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:03:03.307720
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:03:12.776247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:03:22.689122
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/02/image_17122025_22_02_54_9841.jpg', '/home/pi/Desktop/images/17122025/22/03/image_17122025_22_03_44_10818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/02/image_17122025_22_02_54_9841.jpg
/home/pi/Desktop/images/17122025/22/03/image_17122025_22_03_44_10818.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399834787","1399834828"],"photo_ids_order":["1399834787","1399834828"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/154fbcb76b1817de498ed38b7b82becd.jpg","text":"TemporaryFile(/tmp/multipartBody5984797083876240676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005463172,"filename":"image_17122025_22_02_54_9841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8b86ae8a91bc44e79c3a104b02862e7.jpg","text":"TemporaryFile(/tmp/multipartBody1346808846324765624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005463172,"filename":"image_17122025_22_03_44_10818.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399834828","file0":"1399834787"},"map_files_photo_id_array":[{"photo_id":"1399834828","filename":"file1"},{"photo_id":"1399834787","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399834787":["hashtag1","hashtag2"]},{"1399834828":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399834787, 1399834828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.456026792526245 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:03:42.619611
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_26_1717.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_28_1662.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_29_1638.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_31_1715.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_34_2575.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_40_2554.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_26_1717.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_28_1662.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_29_1638.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_31_1715.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_34_2575.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_40_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":["1399834926","1399834922","1399834925","1399834928","1399834924","1399834927"],"photo_ids_order":["1399834922","1399834924","1399834925","1399834926","1399834927","1399834928"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7732340c40b63b52fd4cf06e9c4c4d10.jpg","text":"TemporaryFile(/tmp/multipartBody6513389067511271127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005483362,"filename":"image_07112025_21_38_31_1715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53a2c282d63c7ba08a93aaf8bd103287.jpg","text":"TemporaryFile(/tmp/multipartBody2433244840337313985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005483362,"filename":"image_07112025_21_38_26_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9fbf34ffbd3ffaffe0f9b762e60e7b2.jpg","text":"TemporaryFile(/tmp/multipartBody8181686033352779498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005483362,"filename":"image_07112025_21_38_29_1638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81def7b743f33107f8d703225d40d16d.jpg","text":"TemporaryFile(/tmp/multipartBody584621668160763259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005483362,"filename":"image_07112025_21_38_40_2554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65f0256cc4d082efc8ab2d4757660a08.jpg","text":"TemporaryFile(/tmp/multipartBody8001291494738873534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005483362,"filename":"image_07112025_21_38_28_1662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e6262ee128b11846ac4529c4e0faa348.jpg","text":"TemporaryFile(/tmp/multipartBody1085938489818544649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005483362,"filename":"image_07112025_21_38_34_2575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399834925","file1":"1399834924","file0":"1399834922","file4":"1399834927","file5":"1399834928","file3":"1399834926"},"map_files_photo_id_array":[{"photo_id":"1399834928","filename":"file5"},{"photo_id":"1399834925","filename":"file2"},{"photo_id":"1399834927","filename":"file4"},{"photo_id":"1399834924","filename":"file1"},{"photo_id":"1399834922","filename":"file0"},{"photo_id":"1399834926","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399834926":["hashtag1","hashtag2"]},{"1399834922":["hashtag1","hashtag2"]},{"1399834925":["hashtag1","hashtag2"]},{"1399834928":["hashtag1","hashtag2"]},{"1399834924":["hashtag1","hashtag2"]},{"1399834927":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399834926, 1399834922, 1399834925, 1399834928, 1399834924, 1399834927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.343828201293945 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:04:21.893377
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/03/image_17122025_22_03_54_9655.jpg', '/home/pi/Desktop/images/17122025/22/04/image_17122025_22_04_13_9828.jpg', '/home/pi/Desktop/images/17122025/22/04/image_17122025_22_04_24_10684.jpg', '/home/pi/Desktop/images/17122025/22/04/image_17122025_22_04_44_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/03/image_17122025_22_03_54_9655.jpg
/home/pi/Desktop/images/17122025/22/04/image_17122025_22_04_13_9828.jpg
/home/pi/Desktop/images/17122025/22/04/image_17122025_22_04_24_10684.jpg
/home/pi/Desktop/images/17122025/22/04/image_17122025_22_04_44_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":["1399835012","1399835053","1399834969","1399834933"],"photo_ids_order":["1399834933","1399834969","1399835012","1399835053"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1c463b907e3817937390f55f15b038d.jpg","text":"TemporaryFile(/tmp/multipartBody4600948105376991740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005522519,"filename":"image_17122025_22_04_24_10684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35cfe93556a0d245cb51ee69ae0f9b97.jpg","text":"TemporaryFile(/tmp/multipartBody2786379462941464126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005522519,"filename":"image_17122025_22_04_44_9689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be528384d7d07b6a73b91bbbe730c93c.jpg","text":"TemporaryFile(/tmp/multipartBody1827905519104629287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005522519,"filename":"image_17122025_22_04_13_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d09200bc09b5d2fdaed74893897d0a0e.jpg","text":"TemporaryFile(/tmp/multipartBody2393211552419194518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005522519,"filename":"image_17122025_22_03_54_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399835012","file1":"1399834969","file0":"1399834933","file3":"1399835053"},"map_files_photo_id_array":[{"photo_id":"1399835012","filename":"file2"},{"photo_id":"1399834969","filename":"file1"},{"photo_id":"1399834933","filename":"file0"},{"photo_id":"1399835053","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399835012":["hashtag1","hashtag2"]},{"1399835053":["hashtag1","hashtag2"]},{"1399834969":["hashtag1","hashtag2"]},{"1399834933":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399835012, 1399835053, 1399834969, 1399834933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.455076932907104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:05:02.756454
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:05:12.047354
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:05:22.138194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/04/image_17122025_22_04_53_9726.jpg', '/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_13_10052.jpg', '/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_24_10643.jpg', '/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_34_9760.jpg', '/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_43_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/04/image_17122025_22_04_53_9726.jpg
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_13_10052.jpg
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_24_10643.jpg
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_34_9760.jpg
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_43_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":["1399835249","1399835260","1399835257","1399835245","1399835254"],"photo_ids_order":["1399835245","1399835249","1399835254","1399835257","1399835260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5dcefcb2614f33ae6f2a40f73e351e8.jpg","text":"TemporaryFile(/tmp/multipartBody6177104849415042799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005582737,"filename":"image_17122025_22_05_13_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a75aefa4b532b898454562bcd8c3bb2b.jpg","text":"TemporaryFile(/tmp/multipartBody7483235858021456814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005582737,"filename":"image_17122025_22_05_43_9697.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64f3c21a779c4fdac17c12578b6734d2.jpg","text":"TemporaryFile(/tmp/multipartBody7064240805050770614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005582737,"filename":"image_17122025_22_05_34_9760.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fd27644ccc6b4cf6b7fde5a72baae79.jpg","text":"TemporaryFile(/tmp/multipartBody3886388907901749979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005582737,"filename":"image_17122025_22_04_53_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d54956e2d06b19b42cfac8bc305c646.jpg","text":"TemporaryFile(/tmp/multipartBody8507693211261118426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005582737,"filename":"image_17122025_22_05_24_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399835254","file1":"1399835249","file0":"1399835245","file4":"1399835260","file3":"1399835257"},"map_files_photo_id_array":[{"photo_id":"1399835254","filename":"file2"},{"photo_id":"1399835260","filename":"file4"},{"photo_id":"1399835249","filename":"file1"},{"photo_id":"1399835245","filename":"file0"},{"photo_id":"1399835257","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399835249":["hashtag1","hashtag2"]},{"1399835260":["hashtag1","hashtag2"]},{"1399835257":["hashtag1","hashtag2"]},{"1399835245":["hashtag1","hashtag2"]},{"1399835254":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399835249, 1399835260, 1399835257, 1399835245, 1399835254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.445427656173706 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:06:02.693829
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:06:12.266385
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:06:22.326294
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_53_9956.jpg', '/home/pi/Desktop/images/17122025/22/05/image_17122025_22_06_04_10683.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_14_9664.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_23_9654.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_34_10697.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_53_9956.jpg
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_06_04_10683.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_14_9664.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_23_9654.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_34_10697.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_44_9701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5713214874267578 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:06:32.367762
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:06:42.324331
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_42_2657.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_46_3826.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_57_10716.jpg', '/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_59_1691.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_07_3014.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_11_3791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_42_2657.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_46_3826.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_57_10716.jpg
/home/pi/Desktop/images/07112025/21/38/image_07112025_21_38_59_1691.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_07_3014.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_11_3791.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399835301","1399835426","1399835342","1399835287","1399835284","1399835385"],"photo_ids_order":["1399835284","1399835287","1399835301","1399835342","1399835385","1399835426"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99d725640ba999daf2262cd88307dcca.jpg","text":"TemporaryFile(/tmp/multipartBody2901964073030402520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005663090,"filename":"image_07112025_21_38_57_10716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/141d49c5311226baad029c8f73e120e1.jpg","text":"TemporaryFile(/tmp/multipartBody2003736889878692923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005663090,"filename":"image_07112025_21_40_11_3791.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73ec62f18de227f824927e686a840eec.jpg","text":"TemporaryFile(/tmp/multipartBody4997287700892025400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005663090,"filename":"image_07112025_21_38_59_1691.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e3e296c1ddbfd7d804ebb5dff716d42.jpg","text":"TemporaryFile(/tmp/multipartBody5907462774791628086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005663090,"filename":"image_07112025_21_38_46_3826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4422dd4ed4b93ac0a0cb0f8f4485e73f.jpg","text":"TemporaryFile(/tmp/multipartBody8951245737506804920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005663090,"filename":"image_07112025_21_38_42_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60166912b9ae07abf9ad6eba661f40b2.jpg","text":"TemporaryFile(/tmp/multipartBody2525444965960373979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005663090,"filename":"image_07112025_21_40_07_3014.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399835301","file1":"1399835287","file0":"1399835284","file4":"1399835385","file5":"1399835426","file3":"1399835342"},"map_files_photo_id_array":[{"photo_id":"1399835426","filename":"file5"},{"photo_id":"1399835301","filename":"file2"},{"photo_id":"1399835385","filename":"file4"},{"photo_id":"1399835287","filename":"file1"},{"photo_id":"1399835284","filename":"file0"},{"photo_id":"1399835342","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399835301":["hashtag1","hashtag2"]},{"1399835426":["hashtag1","hashtag2"]},{"1399835342":["hashtag1","hashtag2"]},{"1399835287":["hashtag1","hashtag2"]},{"1399835284":["hashtag1","hashtag2"]},{"1399835385":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399835301, 1399835426, 1399835342, 1399835287, 1399835284, 1399835385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74519205093384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:07:22.647145
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_53_9956.jpg', '/home/pi/Desktop/images/17122025/22/05/image_17122025_22_06_04_10683.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_14_9664.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_23_9654.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_34_10697.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_53_9956.jpg
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_06_04_10683.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_14_9664.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_23_9654.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_34_10697.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_44_9701.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5336050987243652 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:07:32.697556
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:07:42.556083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_13_2780.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_16_2900.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_19_2685.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_23_3569.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_25_2778.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_28_2680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_13_2780.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_16_2900.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_19_2685.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_23_3569.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_25_2778.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_28_2680.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399835813","1399835737","1399835886","1399835778","1399835922","1399835850"],"photo_ids_order":["1399835737","1399835778","1399835813","1399835850","1399835886","1399835922"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee09d73d582b952f3870a3aca8873628.jpg","text":"TemporaryFile(/tmp/multipartBody4277855451399958254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005723403,"filename":"image_07112025_21_40_19_2685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e888bf6f7aeb04c07163ce6b9f8c4944.jpg","text":"TemporaryFile(/tmp/multipartBody7266505599692932469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005723403,"filename":"image_07112025_21_40_13_2780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba5f82d1616de94557dc28dba44e6908.jpg","text":"TemporaryFile(/tmp/multipartBody297266045575142393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005723403,"filename":"image_07112025_21_40_25_2778.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dcc1a96db48eb9c0bc0051b722e726aa.jpg","text":"TemporaryFile(/tmp/multipartBody1199837873506169377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005723403,"filename":"image_07112025_21_40_16_2900.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc2a09cd32076908bb601a16bcbdfb9b.jpg","text":"TemporaryFile(/tmp/multipartBody7630811192816437003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005723403,"filename":"image_07112025_21_40_28_2680.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/16a58ad60325a6c59afa5b9da79bb49f.jpg","text":"TemporaryFile(/tmp/multipartBody316877294814816631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005723403,"filename":"image_07112025_21_40_23_3569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399835813","file1":"1399835778","file0":"1399835737","file4":"1399835886","file5":"1399835922","file3":"1399835850"},"map_files_photo_id_array":[{"photo_id":"1399835922","filename":"file5"},{"photo_id":"1399835813","filename":"file2"},{"photo_id":"1399835886","filename":"file4"},{"photo_id":"1399835778","filename":"file1"},{"photo_id":"1399835737","filename":"file0"},{"photo_id":"1399835850","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399835813":["hashtag1","hashtag2"]},{"1399835737":["hashtag1","hashtag2"]},{"1399835886":["hashtag1","hashtag2"]},{"1399835778":["hashtag1","hashtag2"]},{"1399835922":["hashtag1","hashtag2"]},{"1399835850":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399835813, 1399835737, 1399835886, 1399835778, 1399835922, 1399835850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.69990038871765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:08:22.964083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_53_9956.jpg', '/home/pi/Desktop/images/17122025/22/05/image_17122025_22_06_04_10683.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_14_9664.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_23_9654.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_34_10697.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_44_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_05_53_9956.jpg
/home/pi/Desktop/images/17122025/22/05/image_17122025_22_06_04_10683.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_14_9664.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_23_9654.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_34_10697.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_44_9701.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399836026","1399836046","1399836031","1399836034","1399836028","1399836036"],"photo_ids_order":["1399836026","1399836028","1399836031","1399836034","1399836036","1399836046"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c7398ea299c5855fbf5c9730d465f515.jpg","text":"TemporaryFile(/tmp/multipartBody3666266738594805350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005763691,"filename":"image_17122025_22_05_53_9956.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7007a58b0bd05a9e47906b4a83a9cc5.jpg","text":"TemporaryFile(/tmp/multipartBody1027085973268738088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005763691,"filename":"image_17122025_22_06_44_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f08545870da675d50e8cc4a731b9897.jpg","text":"TemporaryFile(/tmp/multipartBody4362569679880064877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005763691,"filename":"image_17122025_22_06_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30e888dc3f842ebbf84593d38777a4de.jpg","text":"TemporaryFile(/tmp/multipartBody8349137293691256627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005763691,"filename":"image_17122025_22_06_23_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6fbbb7dafe85ce1acb905f8286e7c01b.jpg","text":"TemporaryFile(/tmp/multipartBody8081429486880492926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005763691,"filename":"image_17122025_22_06_04_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0840aa80968ad7dfed5a9a407c992a1.jpg","text":"TemporaryFile(/tmp/multipartBody8351030602340031324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005763691,"filename":"image_17122025_22_06_34_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399836031","file1":"1399836028","file0":"1399836026","file4":"1399836036","file5":"1399836046","file3":"1399836034"},"map_files_photo_id_array":[{"photo_id":"1399836046","filename":"file5"},{"photo_id":"1399836031","filename":"file2"},{"photo_id":"1399836036","filename":"file4"},{"photo_id":"1399836028","filename":"file1"},{"photo_id":"1399836026","filename":"file0"},{"photo_id":"1399836034","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399836026":["hashtag1","hashtag2"]},{"1399836046":["hashtag1","hashtag2"]},{"1399836031":["hashtag1","hashtag2"]},{"1399836034":["hashtag1","hashtag2"]},{"1399836028":["hashtag1","hashtag2"]},{"1399836036":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399836026, 1399836046, 1399836031, 1399836034, 1399836028, 1399836036)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.87928652763367 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:09:02.825038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_53_9721.jpg', '/home/pi/Desktop/images/17122025/22/06/image_17122025_22_07_04_10729.jpg', '/home/pi/Desktop/images/17122025/22/07/image_17122025_22_07_14_9699.jpg', '/home/pi/Desktop/images/17122025/22/07/image_17122025_22_07_54_9664.jpg', '/home/pi/Desktop/images/17122025/22/07/image_17122025_22_08_03_9666.jpg', '/home/pi/Desktop/images/17122025/22/08/image_17122025_22_08_13_9734.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_06_53_9721.jpg
/home/pi/Desktop/images/17122025/22/06/image_17122025_22_07_04_10729.jpg
/home/pi/Desktop/images/17122025/22/07/image_17122025_22_07_14_9699.jpg
/home/pi/Desktop/images/17122025/22/07/image_17122025_22_07_54_9664.jpg
/home/pi/Desktop/images/17122025/22/07/image_17122025_22_08_03_9666.jpg
/home/pi/Desktop/images/17122025/22/08/image_17122025_22_08_13_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":["1399836119","1399836076","1399836061","1399836063","1399836065","1399836059"],"photo_ids_order":["1399836059","1399836061","1399836063","1399836065","1399836076","1399836119"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8000fff12c565e370b9c0d976c3b1162.jpg","text":"TemporaryFile(/tmp/multipartBody7066142747102026137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005803557,"filename":"image_17122025_22_08_13_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c1c4d738e986b1cb015e7671ff83762.jpg","text":"TemporaryFile(/tmp/multipartBody4673863367716155579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005803557,"filename":"image_17122025_22_08_03_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b804014a2dcaf79bfdb02f5c86d7e8e7.jpg","text":"TemporaryFile(/tmp/multipartBody7141437066997216142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005803557,"filename":"image_17122025_22_07_04_10729.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ac67fd3d36b9261ae72ab167245f9b4.jpg","text":"TemporaryFile(/tmp/multipartBody5002280659697866780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005803557,"filename":"image_17122025_22_07_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee9a12591314e020fa0b65f6246213eb.jpg","text":"TemporaryFile(/tmp/multipartBody1041388407811138793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005803557,"filename":"image_17122025_22_07_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8d1016068f63e4d40b514829beef637.jpg","text":"TemporaryFile(/tmp/multipartBody4440570428826518305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005803557,"filename":"image_17122025_22_06_53_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399836063","file1":"1399836061","file0":"1399836059","file4":"1399836076","file5":"1399836119","file3":"1399836065"},"map_files_photo_id_array":[{"photo_id":"1399836119","filename":"file5"},{"photo_id":"1399836063","filename":"file2"},{"photo_id":"1399836076","filename":"file4"},{"photo_id":"1399836061","filename":"file1"},{"photo_id":"1399836059","filename":"file0"},{"photo_id":"1399836065","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399836119":["hashtag1","hashtag2"]},{"1399836076":["hashtag1","hashtag2"]},{"1399836061":["hashtag1","hashtag2"]},{"1399836063":["hashtag1","hashtag2"]},{"1399836065":["hashtag1","hashtag2"]},{"1399836059":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399836119, 1399836076, 1399836061, 1399836063, 1399836065, 1399836059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.21949028968811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:09:42.152717
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_34_2692.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_37_2683.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_41_3612.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_43_2631.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_46_2708.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_52_2641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_34_2692.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_37_2683.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_41_3612.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_43_2631.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_46_2708.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_52_2641.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399836361","1399836238","1399836393","1399836411","1399836312","1399836275"],"photo_ids_order":["1399836238","1399836275","1399836312","1399836361","1399836393","1399836411"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83d28d950906ae3a3b778bb9a4aa6e71.jpg","text":"TemporaryFile(/tmp/multipartBody6046636358470361155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005842926,"filename":"image_07112025_21_40_43_2631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db0baadcb110a46e51e9264499a5bc86.jpg","text":"TemporaryFile(/tmp/multipartBody355270808615289924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005842926,"filename":"image_07112025_21_40_34_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/597c16a054b1e4638979fe7b1e577328.jpg","text":"TemporaryFile(/tmp/multipartBody4425004961575816394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005842926,"filename":"image_07112025_21_40_46_2708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf1f98575e1cee1f834ad7ffddf16e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6123170721328046184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005842926,"filename":"image_07112025_21_40_52_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d3b7a53934e2934dd0bde8281b0846e.jpg","text":"TemporaryFile(/tmp/multipartBody5515046718845519035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005842926,"filename":"image_07112025_21_40_41_3612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96092657523ab7e879aca458c77b84b4.jpg","text":"TemporaryFile(/tmp/multipartBody753069960824221385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005842926,"filename":"image_07112025_21_40_37_2683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399836312","file1":"1399836275","file0":"1399836238","file4":"1399836393","file5":"1399836411","file3":"1399836361"},"map_files_photo_id_array":[{"photo_id":"1399836411","filename":"file5"},{"photo_id":"1399836312","filename":"file2"},{"photo_id":"1399836393","filename":"file4"},{"photo_id":"1399836275","filename":"file1"},{"photo_id":"1399836238","filename":"file0"},{"photo_id":"1399836361","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399836361":["hashtag1","hashtag2"]},{"1399836238":["hashtag1","hashtag2"]},{"1399836393":["hashtag1","hashtag2"]},{"1399836411":["hashtag1","hashtag2"]},{"1399836312":["hashtag1","hashtag2"]},{"1399836275":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399836361, 1399836238, 1399836393, 1399836411, 1399836312, 1399836275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.184064626693726 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:10:22.371210
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/08/image_17122025_22_08_24_10603.jpg', '/home/pi/Desktop/images/17122025/22/08/image_17122025_22_08_33_9653.jpg', '/home/pi/Desktop/images/17122025/22/08/image_17122025_22_08_43_9750.jpg', '/home/pi/Desktop/images/17122025/22/08/image_17122025_22_09_04_9814.jpg', '/home/pi/Desktop/images/17122025/22/09/image_17122025_22_09_13_9674.jpg', '/home/pi/Desktop/images/17122025/22/09/image_17122025_22_09_24_10748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/08/image_17122025_22_08_24_10603.jpg
/home/pi/Desktop/images/17122025/22/08/image_17122025_22_08_33_9653.jpg
/home/pi/Desktop/images/17122025/22/08/image_17122025_22_08_43_9750.jpg
/home/pi/Desktop/images/17122025/22/08/image_17122025_22_09_04_9814.jpg
/home/pi/Desktop/images/17122025/22/09/image_17122025_22_09_13_9674.jpg
/home/pi/Desktop/images/17122025/22/09/image_17122025_22_09_24_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":["1399836545","1399836529","1399836492","1399836537","1399836501","1399836548"],"photo_ids_order":["1399836492","1399836501","1399836529","1399836537","1399836545","1399836548"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d0148feb0767b23098d0c49fd23bf4ff.jpg","text":"TemporaryFile(/tmp/multipartBody3442482116160022252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005882991,"filename":"image_17122025_22_09_13_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/442d347dd13463562daeb343bb813001.jpg","text":"TemporaryFile(/tmp/multipartBody5073003805737205869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005882991,"filename":"image_17122025_22_08_43_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76ff1a25070a666f74e53460d597be91.jpg","text":"TemporaryFile(/tmp/multipartBody2887290360812425577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005882991,"filename":"image_17122025_22_08_24_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4981b2939b104d164290f20482b60750.jpg","text":"TemporaryFile(/tmp/multipartBody7104782324283062129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005882991,"filename":"image_17122025_22_09_04_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/534f0689f048196e209c9b199f4986ea.jpg","text":"TemporaryFile(/tmp/multipartBody1249519467203818054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005882991,"filename":"image_17122025_22_08_33_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37e8e6abc122c94620efda0410998b9a.jpg","text":"TemporaryFile(/tmp/multipartBody653384536028129929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005882991,"filename":"image_17122025_22_09_24_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399836529","file1":"1399836501","file0":"1399836492","file4":"1399836545","file5":"1399836548","file3":"1399836537"},"map_files_photo_id_array":[{"photo_id":"1399836548","filename":"file5"},{"photo_id":"1399836529","filename":"file2"},{"photo_id":"1399836545","filename":"file4"},{"photo_id":"1399836501","filename":"file1"},{"photo_id":"1399836492","filename":"file0"},{"photo_id":"1399836537","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399836545":["hashtag1","hashtag2"]},{"1399836529":["hashtag1","hashtag2"]},{"1399836492":["hashtag1","hashtag2"]},{"1399836537":["hashtag1","hashtag2"]},{"1399836501":["hashtag1","hashtag2"]},{"1399836548":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399836545, 1399836529, 1399836492, 1399836537, 1399836501, 1399836548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.30615973472595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:11:03.138635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:11:12.527564
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:11:22.635751
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/09/image_17122025_22_09_53_9804.jpg', '/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_14_10038.jpg', '/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_24_10692.jpg', '/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_34_9684.jpg', '/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_44_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/09/image_17122025_22_09_53_9804.jpg
/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_14_10038.jpg
/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_24_10692.jpg
/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_34_9684.jpg
/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_44_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":["1399836562","1399836559","1399836568","1399836561","1399836566"],"photo_ids_order":["1399836559","1399836561","1399836562","1399836566","1399836568"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ee1caf121b2b0b98fd6647c4168dcf88.jpg","text":"TemporaryFile(/tmp/multipartBody4479738142076790179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005943217,"filename":"image_17122025_22_11_24_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1eff2e14bbcc4e5487bd35f675ff4542.jpg","text":"TemporaryFile(/tmp/multipartBody5761687968961256778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005943217,"filename":"image_17122025_22_09_53_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/14591e782da6ead7d3c22551ecce0a09.jpg","text":"TemporaryFile(/tmp/multipartBody1221154179190416077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005943217,"filename":"image_17122025_22_11_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f6f65a3898f9a2837519d03d6495822.jpg","text":"TemporaryFile(/tmp/multipartBody98354407721452348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005943217,"filename":"image_17122025_22_11_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/203be560de5a60ebeb2310a736aa4f59.jpg","text":"TemporaryFile(/tmp/multipartBody3353930471613328358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766005943217,"filename":"image_17122025_22_11_34_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399836562","file1":"1399836561","file0":"1399836559","file4":"1399836568","file3":"1399836566"},"map_files_photo_id_array":[{"photo_id":"1399836562","filename":"file2"},{"photo_id":"1399836568","filename":"file4"},{"photo_id":"1399836561","filename":"file1"},{"photo_id":"1399836559","filename":"file0"},{"photo_id":"1399836566","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399836562":["hashtag1","hashtag2"]},{"1399836559":["hashtag1","hashtag2"]},{"1399836568":["hashtag1","hashtag2"]},{"1399836561":["hashtag1","hashtag2"]},{"1399836566":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399836562, 1399836559, 1399836568, 1399836561, 1399836566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 42.42219281196594 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:12:11.799526
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:12:21.831809
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_54_10833.jpg', '/home/pi/Desktop/images/17122025/22/11/image_17122025_22_12_04_9701.jpg', '/home/pi/Desktop/images/17122025/22/12/image_17122025_22_12_14_9632.jpg', '/home/pi/Desktop/images/17122025/22/12/image_17122025_22_12_34_10732.jpg', '/home/pi/Desktop/images/17122025/22/12/image_17122025_22_12_44_9939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/11/image_17122025_22_11_54_10833.jpg
/home/pi/Desktop/images/17122025/22/11/image_17122025_22_12_04_9701.jpg
/home/pi/Desktop/images/17122025/22/12/image_17122025_22_12_14_9632.jpg
/home/pi/Desktop/images/17122025/22/12/image_17122025_22_12_34_10732.jpg
/home/pi/Desktop/images/17122025/22/12/image_17122025_22_12_44_9939.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399836577","1399836586","1399836574","1399836578","1399836581"],"photo_ids_order":["1399836574","1399836577","1399836578","1399836581","1399836586"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51e63caec9d2c21a47e6dcfc2c635eaa.jpg","text":"TemporaryFile(/tmp/multipartBody2697391051476537062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006002465,"filename":"image_17122025_22_12_04_9701.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/10ebf7c4a12f3b870d41fddf7ac7d744.jpg","text":"TemporaryFile(/tmp/multipartBody6344552545348254300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006002465,"filename":"image_17122025_22_12_44_9939.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b20cab4d4fe9ec667ac2f0c8c905796e.jpg","text":"TemporaryFile(/tmp/multipartBody196580887340360544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006002465,"filename":"image_17122025_22_11_54_10833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ded1a8b4b399666ca563005b4b2d7a76.jpg","text":"TemporaryFile(/tmp/multipartBody5902564595169204436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006002465,"filename":"image_17122025_22_12_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4717ce2da664ea26f089d278073251c1.jpg","text":"TemporaryFile(/tmp/multipartBody3539585572294464587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006002465,"filename":"image_17122025_22_12_34_10732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399836578","file1":"1399836577","file0":"1399836574","file4":"1399836586","file3":"1399836581"},"map_files_photo_id_array":[{"photo_id":"1399836578","filename":"file2"},{"photo_id":"1399836586","filename":"file4"},{"photo_id":"1399836577","filename":"file1"},{"photo_id":"1399836574","filename":"file0"},{"photo_id":"1399836581","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399836577":["hashtag1","hashtag2"]},{"1399836586":["hashtag1","hashtag2"]},{"1399836574":["hashtag1","hashtag2"]},{"1399836578":["hashtag1","hashtag2"]},{"1399836581":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399836577, 1399836586, 1399836574, 1399836578, 1399836581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.59634232521057 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:13:02.741986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:13:11.984701
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:13:22.051844
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/12/image_17122025_22_12_54_9946.jpg', '/home/pi/Desktop/images/17122025/22/12/image_17122025_22_13_04_9546.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/12/image_17122025_22_12_54_9946.jpg
/home/pi/Desktop/images/17122025/22/12/image_17122025_22_13_04_9546.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399836822","1399836819"],"photo_ids_order":["1399836819","1399836822"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/375ead0263b95556d3de0b9ce86e83b1.jpg","text":"TemporaryFile(/tmp/multipartBody3882639738288198751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006062528,"filename":"image_17122025_22_13_04_9546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a00bc3b6a77c1f0650ac0ab48d9f4f5.jpg","text":"TemporaryFile(/tmp/multipartBody44740435672134657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006062528,"filename":"image_17122025_22_12_54_9946.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399836822","file0":"1399836819"},"map_files_photo_id_array":[{"photo_id":"1399836822","filename":"file1"},{"photo_id":"1399836819","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399836822":["hashtag1","hashtag2"]},{"1399836819":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399836822, 1399836819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.18818211555481 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:13:42.117998
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_55_2584.jpg', '/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_59_3811.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_01_2574.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_04_2776.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_08_3796.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_11_3089.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_55_2584.jpg
/home/pi/Desktop/images/07112025/21/40/image_07112025_21_40_59_3811.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_01_2574.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_04_2776.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_08_3796.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_11_3089.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399836833","1399836827","1399836832","1399836829","1399836831","1399836830"],"photo_ids_order":["1399836827","1399836829","1399836830","1399836831","1399836832","1399836833"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7af4f3460eb16c4ca0ab5f8edf5754ab.jpg","text":"TemporaryFile(/tmp/multipartBody5825484292614132607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006082884,"filename":"image_07112025_21_41_11_3089.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/febe1681ee1f9ce2fbd43b14b073b96f.jpg","text":"TemporaryFile(/tmp/multipartBody6788961187250450842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006082884,"filename":"image_07112025_21_40_55_2584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de1a5aa8df8fb8729d8b43eb8e3cdf5c.jpg","text":"TemporaryFile(/tmp/multipartBody793769983192490302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006082884,"filename":"image_07112025_21_41_08_3796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/888eb95f54d38f7f29f0e82bc27090bf.jpg","text":"TemporaryFile(/tmp/multipartBody7169965090738358308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006082884,"filename":"image_07112025_21_40_59_3811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76bac0b1f3bbc0db0247f7d7c1e6e476.jpg","text":"TemporaryFile(/tmp/multipartBody662349618424039999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006082884,"filename":"image_07112025_21_41_04_2776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86bda455f8a815131af8bc187ee9cdab.jpg","text":"TemporaryFile(/tmp/multipartBody7506112551647130735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006082884,"filename":"image_07112025_21_41_01_2574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399836830","file1":"1399836829","file0":"1399836827","file4":"1399836832","file5":"1399836833","file3":"1399836831"},"map_files_photo_id_array":[{"photo_id":"1399836833","filename":"file5"},{"photo_id":"1399836830","filename":"file2"},{"photo_id":"1399836832","filename":"file4"},{"photo_id":"1399836829","filename":"file1"},{"photo_id":"1399836827","filename":"file0"},{"photo_id":"1399836831","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399836833":["hashtag1","hashtag2"]},{"1399836827":["hashtag1","hashtag2"]},{"1399836832":["hashtag1","hashtag2"]},{"1399836829":["hashtag1","hashtag2"]},{"1399836831":["hashtag1","hashtag2"]},{"1399836830":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399836833, 1399836827, 1399836832, 1399836829, 1399836831, 1399836830)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30737900733948 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:14:22.375115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/13/image_17122025_22_13_14_10640.jpg', '/home/pi/Desktop/images/17122025/22/14/image_17122025_22_14_45_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/13/image_17122025_22_13_14_10640.jpg
/home/pi/Desktop/images/17122025/22/14/image_17122025_22_14_45_10592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399836842","1399836838"],"photo_ids_order":["1399836838","1399836842"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d671bbf05fa53d616b07bb34958dd96.jpg","text":"TemporaryFile(/tmp/multipartBody904837410934052992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006122923,"filename":"image_17122025_22_14_45_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90045831090568eb72bd29855bc51001.jpg","text":"TemporaryFile(/tmp/multipartBody1098215268534304167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006122923,"filename":"image_17122025_22_13_14_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399836842","file0":"1399836838"},"map_files_photo_id_array":[{"photo_id":"1399836842","filename":"file1"},{"photo_id":"1399836838","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399836842":["hashtag1","hashtag2"]},{"1399836838":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399836842, 1399836838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.088272094726562 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:14:42.437185
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_13_2673.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_16_2711.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_19_2893.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_22_2723.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_25_3650.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_28_2772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_13_2673.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_16_2711.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_19_2893.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_22_2723.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_25_3650.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_28_2772.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399836877","1399836871","1399836885","1399836855","1399836884","1399836866"],"photo_ids_order":["1399836855","1399836866","1399836871","1399836877","1399836884","1399836885"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25156d57e36a78394678c43ebadc570a.jpg","text":"TemporaryFile(/tmp/multipartBody1390053458685646596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006143169,"filename":"image_07112025_21_41_22_2723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb47d6a177589fd2ce9b05421b882795.jpg","text":"TemporaryFile(/tmp/multipartBody1883890097065676333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006143169,"filename":"image_07112025_21_41_19_2893.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bfb58de3e977902700deba89c4b51a24.jpg","text":"TemporaryFile(/tmp/multipartBody2432691024888551611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006143169,"filename":"image_07112025_21_41_28_2772.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70677a7df83a3fe61397c00aae58eb7b.jpg","text":"TemporaryFile(/tmp/multipartBody1448473232191604233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006143169,"filename":"image_07112025_21_41_13_2673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39b59523624ffbe8cb7ac72afb4f6b6f.jpg","text":"TemporaryFile(/tmp/multipartBody3286634874351400024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006143169,"filename":"image_07112025_21_41_25_3650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a283e0a341505dcbb0a8721184e91752.jpg","text":"TemporaryFile(/tmp/multipartBody3647268473738439104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006143169,"filename":"image_07112025_21_41_16_2711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399836871","file1":"1399836866","file0":"1399836855","file4":"1399836884","file5":"1399836885","file3":"1399836877"},"map_files_photo_id_array":[{"photo_id":"1399836885","filename":"file5"},{"photo_id":"1399836871","filename":"file2"},{"photo_id":"1399836884","filename":"file4"},{"photo_id":"1399836866","filename":"file1"},{"photo_id":"1399836855","filename":"file0"},{"photo_id":"1399836877","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399836877":["hashtag1","hashtag2"]},{"1399836871":["hashtag1","hashtag2"]},{"1399836885":["hashtag1","hashtag2"]},{"1399836855":["hashtag1","hashtag2"]},{"1399836884":["hashtag1","hashtag2"]},{"1399836866":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399836877, 1399836871, 1399836885, 1399836855, 1399836884, 1399836866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38999009132385 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:15:22.652785
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_31_2572.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_34_3607.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_37_2675.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_40_2641.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_43_3735.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_46_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_31_2572.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_34_3607.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_37_2675.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_40_2641.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_43_3735.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_46_2640.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6168646812438965 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:15:32.661580
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:15:42.678047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_31_2572.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_34_3607.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_37_2675.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_40_2641.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_43_3735.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_46_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_31_2572.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_34_3607.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_37_2675.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_40_2641.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_43_3735.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_46_2640.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399837313","1399837202","1399837273","1399837162","1399837237","1399837352"],"photo_ids_order":["1399837162","1399837202","1399837237","1399837273","1399837313","1399837352"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cecb0ce962aa3e89d99258949c5a59f.jpg","text":"TemporaryFile(/tmp/multipartBody9136595641071044118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006203277,"filename":"image_07112025_21_41_43_3735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/322824afd30ddd23dc12c6d8c314c807.jpg","text":"TemporaryFile(/tmp/multipartBody7109271137938927381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006203277,"filename":"image_07112025_21_41_34_3607.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/336f52d793d1ca81310dee4ca2365ab2.jpg","text":"TemporaryFile(/tmp/multipartBody4286928669367117366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006203277,"filename":"image_07112025_21_41_40_2641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8adbee4fefd03a9767d7271f07753022.jpg","text":"TemporaryFile(/tmp/multipartBody7104747183701109573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006203277,"filename":"image_07112025_21_41_31_2572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21da883f3751ffc05327dbb8df728bb2.jpg","text":"TemporaryFile(/tmp/multipartBody3567143098157598703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006203277,"filename":"image_07112025_21_41_37_2675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9ac70d6a1c0462db1d412336814fe187.jpg","text":"TemporaryFile(/tmp/multipartBody1180406351009760974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006203277,"filename":"image_07112025_21_41_46_2640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399837237","file1":"1399837202","file0":"1399837162","file4":"1399837313","file5":"1399837352","file3":"1399837273"},"map_files_photo_id_array":[{"photo_id":"1399837352","filename":"file5"},{"photo_id":"1399837237","filename":"file2"},{"photo_id":"1399837313","filename":"file4"},{"photo_id":"1399837202","filename":"file1"},{"photo_id":"1399837162","filename":"file0"},{"photo_id":"1399837273","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399837313":["hashtag1","hashtag2"]},{"1399837202":["hashtag1","hashtag2"]},{"1399837273":["hashtag1","hashtag2"]},{"1399837162":["hashtag1","hashtag2"]},{"1399837237":["hashtag1","hashtag2"]},{"1399837352":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399837313, 1399837202, 1399837273, 1399837162, 1399837237, 1399837352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80962634086609 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:16:21.959342
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/14/image_17122025_22_14_54_9650.jpg', '/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_14_10038.jpg', '/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_25_10646.jpg', '/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_34_9765.jpg', '/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_44_9750.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/14/image_17122025_22_14_54_9650.jpg
/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_14_10038.jpg
/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_25_10646.jpg
/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_34_9765.jpg
/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_44_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":["1399837438","1399837441","1399837449","1399837440","1399837442"],"photo_ids_order":["1399837438","1399837440","1399837441","1399837442","1399837449"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70d475ec3ffa7d41a7118c3a12a322d3.jpg","text":"TemporaryFile(/tmp/multipartBody1392457956941472176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006242583,"filename":"image_17122025_22_14_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62f4e0f0851e1411f7ab1592507106ed.jpg","text":"TemporaryFile(/tmp/multipartBody6688659228148845494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006242583,"filename":"image_17122025_22_16_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb88c2b72144c0222f32fb42b7f22b7b.jpg","text":"TemporaryFile(/tmp/multipartBody4801199393501662583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006242583,"filename":"image_17122025_22_16_44_9750.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0eb506d0c29b29177aff585d00565de0.jpg","text":"TemporaryFile(/tmp/multipartBody5597489112381233490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006242583,"filename":"image_17122025_22_16_14_10038.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/53b3f551a049bc49e4c245d5b5188b96.jpg","text":"TemporaryFile(/tmp/multipartBody6238298128846022191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006242583,"filename":"image_17122025_22_16_34_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399837441","file1":"1399837440","file0":"1399837438","file4":"1399837449","file3":"1399837442"},"map_files_photo_id_array":[{"photo_id":"1399837441","filename":"file2"},{"photo_id":"1399837449","filename":"file4"},{"photo_id":"1399837440","filename":"file1"},{"photo_id":"1399837438","filename":"file0"},{"photo_id":"1399837442","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399837438":["hashtag1","hashtag2"]},{"1399837441":["hashtag1","hashtag2"]},{"1399837449":["hashtag1","hashtag2"]},{"1399837440":["hashtag1","hashtag2"]},{"1399837442":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399837438, 1399837441, 1399837449, 1399837440, 1399837442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.56964683532715 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:17:02.865321
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:17:12.128443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:17:22.254750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_55_10603.jpg', '/home/pi/Desktop/images/17122025/22/16/image_17122025_22_17_05_9780.jpg', '/home/pi/Desktop/images/17122025/22/17/image_17122025_22_17_14_9819.jpg', '/home/pi/Desktop/images/17122025/22/17/image_17122025_22_17_24_9671.jpg', '/home/pi/Desktop/images/17122025/22/17/image_17122025_22_17_35_10824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/16/image_17122025_22_16_55_10603.jpg
/home/pi/Desktop/images/17122025/22/16/image_17122025_22_17_05_9780.jpg
/home/pi/Desktop/images/17122025/22/17/image_17122025_22_17_14_9819.jpg
/home/pi/Desktop/images/17122025/22/17/image_17122025_22_17_24_9671.jpg
/home/pi/Desktop/images/17122025/22/17/image_17122025_22_17_35_10824.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399837672","1399837666","1399837702","1399837632","1399837673"],"photo_ids_order":["1399837632","1399837666","1399837672","1399837673","1399837702"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd2fad8403d642a2db88b9837b12e58b.jpg","text":"TemporaryFile(/tmp/multipartBody8277203029668391224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006302825,"filename":"image_17122025_22_17_14_9819.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0fd782e63dedd1e7e6d59df547129d66.jpg","text":"TemporaryFile(/tmp/multipartBody6986764789710022035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006302825,"filename":"image_17122025_22_17_05_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d0b0811464c9cf83c23f4937386aada.jpg","text":"TemporaryFile(/tmp/multipartBody6866713697509543336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006302825,"filename":"image_17122025_22_17_35_10824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d28f59bb47756e3c2a0837d00f5286fc.jpg","text":"TemporaryFile(/tmp/multipartBody4706189321503242774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006302825,"filename":"image_17122025_22_16_55_10603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/055f8a558becde77329531836cb19d2d.jpg","text":"TemporaryFile(/tmp/multipartBody8697587820142250335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006302825,"filename":"image_17122025_22_17_24_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399837672","file1":"1399837666","file0":"1399837632","file4":"1399837702","file3":"1399837673"},"map_files_photo_id_array":[{"photo_id":"1399837672","filename":"file2"},{"photo_id":"1399837702","filename":"file4"},{"photo_id":"1399837666","filename":"file1"},{"photo_id":"1399837632","filename":"file0"},{"photo_id":"1399837673","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399837672":["hashtag1","hashtag2"]},{"1399837666":["hashtag1","hashtag2"]},{"1399837702":["hashtag1","hashtag2"]},{"1399837632":["hashtag1","hashtag2"]},{"1399837673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399837672, 1399837666, 1399837702, 1399837632, 1399837673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.24674725532532 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:18:02.710083
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:18:12.270777
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:18:22.431038
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/17/image_17122025_22_17_45_9637.jpg', '/home/pi/Desktop/images/17122025/22/17/image_17122025_22_18_04_9822.jpg', '/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_15_10658.jpg', '/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_24_9659.jpg', '/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_34_9771.jpg', '/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_44_9877.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/17/image_17122025_22_17_45_9637.jpg
/home/pi/Desktop/images/17122025/22/17/image_17122025_22_18_04_9822.jpg
/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_15_10658.jpg
/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_24_9659.jpg
/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_34_9771.jpg
/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_44_9877.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399837780","1399837774","1399837777","1399837785","1399837793","1399837783"],"photo_ids_order":["1399837774","1399837777","1399837780","1399837783","1399837785","1399837793"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69b59f83c8a8f55fbb406771c968c164.jpg","text":"TemporaryFile(/tmp/multipartBody3758722321794708998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006363066,"filename":"image_17122025_22_18_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4d5bb57581a5a9d1c75b2d1c0e8bb48a.jpg","text":"TemporaryFile(/tmp/multipartBody7320378416053675376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006363066,"filename":"image_17122025_22_17_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06207317358a4fb52038a8b2c82df8b5.jpg","text":"TemporaryFile(/tmp/multipartBody6714142839793055707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006363066,"filename":"image_17122025_22_18_04_9822.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e8bfb14ab089b65ec6953cdea17e343.jpg","text":"TemporaryFile(/tmp/multipartBody5813539316561995764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006363066,"filename":"image_17122025_22_18_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a1509f9984867f6610ea66bdb484d12.jpg","text":"TemporaryFile(/tmp/multipartBody6505724062361701100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006363066,"filename":"image_17122025_22_18_44_9877.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/01e0186312b51f56f5bcd12658fc074a.jpg","text":"TemporaryFile(/tmp/multipartBody3549101710964364537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006363066,"filename":"image_17122025_22_18_24_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399837780","file1":"1399837777","file0":"1399837774","file4":"1399837785","file5":"1399837793","file3":"1399837783"},"map_files_photo_id_array":[{"photo_id":"1399837793","filename":"file5"},{"photo_id":"1399837780","filename":"file2"},{"photo_id":"1399837785","filename":"file4"},{"photo_id":"1399837777","filename":"file1"},{"photo_id":"1399837774","filename":"file0"},{"photo_id":"1399837783","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399837780":["hashtag1","hashtag2"]},{"1399837774":["hashtag1","hashtag2"]},{"1399837777":["hashtag1","hashtag2"]},{"1399837785":["hashtag1","hashtag2"]},{"1399837793":["hashtag1","hashtag2"]},{"1399837783":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399837780, 1399837774, 1399837777, 1399837785, 1399837793, 1399837783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.9958119392395 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:19:03.504961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:19:12.741694
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:19:22.706859
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_55_10733.jpg', '/home/pi/Desktop/images/17122025/22/19/image_17122025_22_19_24_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/18/image_17122025_22_18_55_10733.jpg
/home/pi/Desktop/images/17122025/22/19/image_17122025_22_19_24_9739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399837970","1399837925"],"photo_ids_order":["1399837925","1399837970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c79145c490d0c6d380b54815a309647.jpg","text":"TemporaryFile(/tmp/multipartBody4866365669920545258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006423173,"filename":"image_17122025_22_19_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42b642412774c9faddcf1f4f4f45da33.jpg","text":"TemporaryFile(/tmp/multipartBody3319526122052582112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006423173,"filename":"image_17122025_22_18_55_10733.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399837970","file0":"1399837925"},"map_files_photo_id_array":[{"photo_id":"1399837970","filename":"file1"},{"photo_id":"1399837925","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399837970":["hashtag1","hashtag2"]},{"1399837925":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399837970, 1399837925)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.54463291168213 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:19:42.721309
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_49_2603.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_52_3794.jpg', '/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_55_2754.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_01_2826.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_07_2525.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_10_2692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_49_2603.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_52_3794.jpg
/home/pi/Desktop/images/07112025/21/41/image_07112025_21_41_55_2754.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_01_2826.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_07_2525.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_10_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":["1399838128","1399838203","1399838282","1399838165","1399838242","1399838092"],"photo_ids_order":["1399838092","1399838128","1399838165","1399838203","1399838242","1399838282"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5701a0205e64f9fcbf246af598c69eb1.jpg","text":"TemporaryFile(/tmp/multipartBody1133758505257291267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006443452,"filename":"image_07112025_21_41_52_3794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d654f12e4f47aeb122e9e244fa759b1.jpg","text":"TemporaryFile(/tmp/multipartBody2985214685134644544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006443452,"filename":"image_07112025_21_42_01_2826.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/575198ca81ea8d7000be726990e975bd.jpg","text":"TemporaryFile(/tmp/multipartBody1613188926791796138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006443452,"filename":"image_07112025_21_42_10_2692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1725917192ed1dac275d241db67dfdcc.jpg","text":"TemporaryFile(/tmp/multipartBody5580889960591881016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006443452,"filename":"image_07112025_21_41_55_2754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2992210ab317fdb7d68b14498135e16.jpg","text":"TemporaryFile(/tmp/multipartBody4663049016710313886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006443452,"filename":"image_07112025_21_42_07_2525.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc3724571675007b6d8f8dd614c0d96d.jpg","text":"TemporaryFile(/tmp/multipartBody8539413792658176980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006443452,"filename":"image_07112025_21_41_49_2603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399838165","file1":"1399838128","file0":"1399838092","file4":"1399838242","file5":"1399838282","file3":"1399838203"},"map_files_photo_id_array":[{"photo_id":"1399838282","filename":"file5"},{"photo_id":"1399838165","filename":"file2"},{"photo_id":"1399838242","filename":"file4"},{"photo_id":"1399838128","filename":"file1"},{"photo_id":"1399838092","filename":"file0"},{"photo_id":"1399838203","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399838128":["hashtag1","hashtag2"]},{"1399838203":["hashtag1","hashtag2"]},{"1399838282":["hashtag1","hashtag2"]},{"1399838165":["hashtag1","hashtag2"]},{"1399838242":["hashtag1","hashtag2"]},{"1399838092":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399838128, 1399838203, 1399838282, 1399838165, 1399838242, 1399838092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.96520972251892 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:20:21.930841
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/19/image_17122025_22_19_35_10669.jpg', '/home/pi/Desktop/images/17122025/22/20/image_17122025_22_20_35_9686.jpg', '/home/pi/Desktop/images/17122025/22/20/image_17122025_22_20_45_9738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/19/image_17122025_22_19_35_10669.jpg
/home/pi/Desktop/images/17122025/22/20/image_17122025_22_20_35_9686.jpg
/home/pi/Desktop/images/17122025/22/20/image_17122025_22_20_45_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":["1399838458","1399838416","1399838497"],"photo_ids_order":["1399838416","1399838458","1399838497"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d0ebcc12b3058b76e5cbb07745a889b.jpg","text":"TemporaryFile(/tmp/multipartBody5346654561418814613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006482447,"filename":"image_17122025_22_20_35_9686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8be2548f75500f58cfa887cdf45ddd76.jpg","text":"TemporaryFile(/tmp/multipartBody6518432034654055305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006482447,"filename":"image_17122025_22_19_35_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bb8f25097b06d327d976ac8b2da78d83.jpg","text":"TemporaryFile(/tmp/multipartBody4602163603317701907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006482447,"filename":"image_17122025_22_20_45_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399838497","file1":"1399838458","file0":"1399838416"},"map_files_photo_id_array":[{"photo_id":"1399838497","filename":"file2"},{"photo_id":"1399838458","filename":"file1"},{"photo_id":"1399838416","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399838458":["hashtag1","hashtag2"]},{"1399838416":["hashtag1","hashtag2"]},{"1399838497":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399838458, 1399838416, 1399838497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.097373723983765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:21:02.844443
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:21:12.111405
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:21:22.209952
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/20/image_17122025_22_20_55_10648.jpg', '/home/pi/Desktop/images/17122025/22/20/image_17122025_22_21_05_9748.jpg', '/home/pi/Desktop/images/17122025/22/21/image_17122025_22_21_15_9813.jpg', '/home/pi/Desktop/images/17122025/22/21/image_17122025_22_21_45_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/20/image_17122025_22_20_55_10648.jpg
/home/pi/Desktop/images/17122025/22/20/image_17122025_22_21_05_9748.jpg
/home/pi/Desktop/images/17122025/22/21/image_17122025_22_21_15_9813.jpg
/home/pi/Desktop/images/17122025/22/21/image_17122025_22_21_45_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":["1399838673","1399838594","1399838717","1399838633"],"photo_ids_order":["1399838594","1399838633","1399838673","1399838717"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b655203fd0d2ee0234eb74925c219c97.jpg","text":"TemporaryFile(/tmp/multipartBody2406814424989707318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006542757,"filename":"image_17122025_22_21_15_9813.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/610be6208f9c90d9916aef6cd0bef3e6.jpg","text":"TemporaryFile(/tmp/multipartBody3442680326934287304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006542757,"filename":"image_17122025_22_20_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60851b103da4eb9480eaa5b4aa661439.jpg","text":"TemporaryFile(/tmp/multipartBody2491546985961706637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006542757,"filename":"image_17122025_22_21_45_9725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f6b7f67d4e0661fdb6ae67e8cdf38b5.jpg","text":"TemporaryFile(/tmp/multipartBody1536463392032669735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006542757,"filename":"image_17122025_22_21_05_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399838673","file1":"1399838633","file0":"1399838594","file3":"1399838717"},"map_files_photo_id_array":[{"photo_id":"1399838673","filename":"file2"},{"photo_id":"1399838633","filename":"file1"},{"photo_id":"1399838594","filename":"file0"},{"photo_id":"1399838717","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399838673":["hashtag1","hashtag2"]},{"1399838594":["hashtag1","hashtag2"]},{"1399838717":["hashtag1","hashtag2"]},{"1399838633":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399838673, 1399838594, 1399838717, 1399838633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.913798570632935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:22:02.910489
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:22:12.384313
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:22:22.385115
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/21/image_17122025_22_21_55_9730.jpg', '/home/pi/Desktop/images/17122025/22/21/image_17122025_22_22_06_10694.jpg', '/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_15_9650.jpg', '/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_25_9666.jpg', '/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_36_10738.jpg', '/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_45_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/21/image_17122025_22_21_55_9730.jpg
/home/pi/Desktop/images/17122025/22/21/image_17122025_22_22_06_10694.jpg
/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_15_9650.jpg
/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_25_9666.jpg
/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_36_10738.jpg
/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_45_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":["1399839480","1399839432","1399839482","1399839524","1399839499","1399839352"],"photo_ids_order":["1399839352","1399839432","1399839480","1399839482","1399839499","1399839524"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02820f4295c8e2a78526e8047a89a3dc.jpg","text":"TemporaryFile(/tmp/multipartBody3705896731271672884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006603018,"filename":"image_17122025_22_22_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/06327ee6ba99949678773800aa4f3ee3.jpg","text":"TemporaryFile(/tmp/multipartBody4513666497409278191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006603018,"filename":"image_17122025_22_22_06_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb5ee2170345cd10467242c75f696d5c.jpg","text":"TemporaryFile(/tmp/multipartBody3398194846115396090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006603018,"filename":"image_17122025_22_22_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d95dfd1764c99ed786ef3f6b29c7573.jpg","text":"TemporaryFile(/tmp/multipartBody6781893584918706483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006603018,"filename":"image_17122025_22_22_45_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ac16a149aa74c3c4d54c7a1551d8a55.jpg","text":"TemporaryFile(/tmp/multipartBody4017780684750286004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006603018,"filename":"image_17122025_22_22_36_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/51aa0276a2ad91bad25ee33ea985b783.jpg","text":"TemporaryFile(/tmp/multipartBody8746676906452768189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006603018,"filename":"image_17122025_22_21_55_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399839480","file1":"1399839432","file0":"1399839352","file4":"1399839499","file5":"1399839524","file3":"1399839482"},"map_files_photo_id_array":[{"photo_id":"1399839524","filename":"file5"},{"photo_id":"1399839480","filename":"file2"},{"photo_id":"1399839499","filename":"file4"},{"photo_id":"1399839432","filename":"file1"},{"photo_id":"1399839352","filename":"file0"},{"photo_id":"1399839482","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399839480":["hashtag1","hashtag2"]},{"1399839432":["hashtag1","hashtag2"]},{"1399839482":["hashtag1","hashtag2"]},{"1399839524":["hashtag1","hashtag2"]},{"1399839499":["hashtag1","hashtag2"]},{"1399839352":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399839480, 1399839432, 1399839482, 1399839524, 1399839499, 1399839352)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.90234875679016 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:23:03.260800
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:23:12.583628
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:23:22.724702
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_55_9773.jpg', '/home/pi/Desktop/images/17122025/22/22/image_17122025_22_23_05_9865.jpg', '/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_15_9630.jpg', '/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_25_10665.jpg', '/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_35_9750.jpg', '/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_45_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_55_9773.jpg
/home/pi/Desktop/images/17122025/22/22/image_17122025_22_23_05_9865.jpg
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_15_9630.jpg
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_25_10665.jpg
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_35_9750.jpg
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_45_9748.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5162615776062012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:23:32.629913
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:23:42.552286
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_16_2858.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_19_2683.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_23_3634.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_25_2671.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_28_2678.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_31_2599.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_16_2858.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_19_2683.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_23_3634.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_25_2671.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_28_2678.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_31_2599.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399839768","1399840041","1399839878","1399839839","1399839997","1399839922"],"photo_ids_order":["1399839768","1399839839","1399839878","1399839922","1399839997","1399840041"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c31647b7c1c2263bf7086ae81d56843f.jpg","text":"TemporaryFile(/tmp/multipartBody233150147848709362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006683262,"filename":"image_07112025_21_42_16_2858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5bd418b5c47b464347f7a2502eadb20b.jpg","text":"TemporaryFile(/tmp/multipartBody3496943467449601837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006683262,"filename":"image_07112025_21_42_31_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/63630fe476ffd50d0b9e6bfe43c2a021.jpg","text":"TemporaryFile(/tmp/multipartBody3443350742343184170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006683262,"filename":"image_07112025_21_42_23_3634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/92654de36a3ba58ce2d32e60d10e9757.jpg","text":"TemporaryFile(/tmp/multipartBody6603373834673406048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006683262,"filename":"image_07112025_21_42_19_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9b21e4101ad331bd93984fa29c451a2d.jpg","text":"TemporaryFile(/tmp/multipartBody896136212991922999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006683262,"filename":"image_07112025_21_42_28_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/57e29068898356b8de390ba06f862123.jpg","text":"TemporaryFile(/tmp/multipartBody8683889284234025448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006683262,"filename":"image_07112025_21_42_25_2671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399839878","file1":"1399839839","file0":"1399839768","file4":"1399839997","file5":"1399840041","file3":"1399839922"},"map_files_photo_id_array":[{"photo_id":"1399840041","filename":"file5"},{"photo_id":"1399839878","filename":"file2"},{"photo_id":"1399839997","filename":"file4"},{"photo_id":"1399839839","filename":"file1"},{"photo_id":"1399839768","filename":"file0"},{"photo_id":"1399839922","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399839768":["hashtag1","hashtag2"]},{"1399840041":["hashtag1","hashtag2"]},{"1399839878":["hashtag1","hashtag2"]},{"1399839839":["hashtag1","hashtag2"]},{"1399839997":["hashtag1","hashtag2"]},{"1399839922":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399839768, 1399840041, 1399839878, 1399839839, 1399839997, 1399839922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.698307514190674 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:24:22.894393
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_55_9773.jpg', '/home/pi/Desktop/images/17122025/22/22/image_17122025_22_23_05_9865.jpg', '/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_15_9630.jpg', '/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_25_10665.jpg', '/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_35_9750.jpg', '/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_45_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/22/image_17122025_22_22_55_9773.jpg
/home/pi/Desktop/images/17122025/22/22/image_17122025_22_23_05_9865.jpg
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_15_9630.jpg
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_25_10665.jpg
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_35_9750.jpg
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_45_9748.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399840219","1399840210","1399840207","1399840212","1399840215","1399840217"],"photo_ids_order":["1399840207","1399840210","1399840212","1399840215","1399840217","1399840219"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/169f5b5016a68cf8b120a3def897c5b1.jpg","text":"TemporaryFile(/tmp/multipartBody3127387032068217800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006723585,"filename":"image_17122025_22_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/2025/12/17/7512d06d595ed892524c6a2f3679f70c.jpg","text":"TemporaryFile(/tmp/multipartBody8314646934963464972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006723585,"filename":"image_17122025_22_23_05_9865.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ada8d560bdd5b04f138f026cc0ecc9c.jpg","text":"TemporaryFile(/tmp/multipartBody6931517112996974576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006723585,"filename":"image_17122025_22_22_55_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cda5739306a566d2f9a0617b1981e9ba.jpg","text":"TemporaryFile(/tmp/multipartBody1725579240902997374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006723585,"filename":"image_17122025_22_23_15_9630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62d4a4379b6c9aceea4a050dd90c99c6.jpg","text":"TemporaryFile(/tmp/multipartBody8694883480310998779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006723585,"filename":"image_17122025_22_23_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e99b87158f59c9125737bdc22658bef.jpg","text":"TemporaryFile(/tmp/multipartBody1240055436390548052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006723585,"filename":"image_17122025_22_23_35_9750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399840212","file1":"1399840210","file0":"1399840207","file4":"1399840217","file5":"1399840219","file3":"1399840215"},"map_files_photo_id_array":[{"photo_id":"1399840219","filename":"file5"},{"photo_id":"1399840212","filename":"file2"},{"photo_id":"1399840217","filename":"file4"},{"photo_id":"1399840210","filename":"file1"},{"photo_id":"1399840207","filename":"file0"},{"photo_id":"1399840215","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399840219":["hashtag1","hashtag2"]},{"1399840210":["hashtag1","hashtag2"]},{"1399840207":["hashtag1","hashtag2"]},{"1399840212":["hashtag1","hashtag2"]},{"1399840215":["hashtag1","hashtag2"]},{"1399840217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399840219, 1399840210, 1399840207, 1399840212, 1399840215, 1399840217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6597375869751 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:25:02.769530
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_56_10732.jpg', '/home/pi/Desktop/images/17122025/22/23/image_17122025_22_24_05_9739.jpg', '/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_15_9833.jpg', '/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_25_9624.jpg', '/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_36_10725.jpg', '/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_45_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_23_56_10732.jpg
/home/pi/Desktop/images/17122025/22/23/image_17122025_22_24_05_9739.jpg
/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_15_9833.jpg
/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_25_9624.jpg
/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_36_10725.jpg
/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_45_9572.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399840420","1399840382","1399840259","1399840294","1399840229","1399840330"],"photo_ids_order":["1399840229","1399840259","1399840294","1399840330","1399840382","1399840420"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/806f93e53b39307a0644f6f9419cdc8f.jpg","text":"TemporaryFile(/tmp/multipartBody8518725589782209107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006763503,"filename":"image_17122025_22_24_45_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb40946318621b91641e2e65ae209ddb.jpg","text":"TemporaryFile(/tmp/multipartBody812243237258851420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006763503,"filename":"image_17122025_22_24_36_10725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c6d5f87185e22073ff90e8ebb490c61.jpg","text":"TemporaryFile(/tmp/multipartBody4825646462614539572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006763503,"filename":"image_17122025_22_24_05_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dd15c074c2c35a9e0f9d398ac18883d.jpg","text":"TemporaryFile(/tmp/multipartBody3401794957862368426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006763503,"filename":"image_17122025_22_24_15_9833.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25401882314308688bd0050412b156eb.jpg","text":"TemporaryFile(/tmp/multipartBody5358726701167985205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006763503,"filename":"image_17122025_22_23_56_10732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/00c0700427eca8f2fa0d25f6efa47550.jpg","text":"TemporaryFile(/tmp/multipartBody6995030009039829436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006763503,"filename":"image_17122025_22_24_25_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399840294","file1":"1399840259","file0":"1399840229","file4":"1399840382","file5":"1399840420","file3":"1399840330"},"map_files_photo_id_array":[{"photo_id":"1399840420","filename":"file5"},{"photo_id":"1399840294","filename":"file2"},{"photo_id":"1399840382","filename":"file4"},{"photo_id":"1399840259","filename":"file1"},{"photo_id":"1399840229","filename":"file0"},{"photo_id":"1399840330","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399840420":["hashtag1","hashtag2"]},{"1399840382":["hashtag1","hashtag2"]},{"1399840259":["hashtag1","hashtag2"]},{"1399840294":["hashtag1","hashtag2"]},{"1399840229":["hashtag1","hashtag2"]},{"1399840330":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399840420, 1399840382, 1399840259, 1399840294, 1399840229, 1399840330)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.424076557159424 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:25:41.900152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_37_2689.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_40_2841.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_44_3656.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_53_7175.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_56_3031.jpg', '/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_58_1717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_37_2689.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_40_2841.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_44_3656.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_53_7175.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_56_3031.jpg
/home/pi/Desktop/images/07112025/21/42/image_07112025_21_42_58_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":["1399840644","1399840574","1399840715","1399840610","1399840681","1399840537"],"photo_ids_order":["1399840537","1399840574","1399840610","1399840644","1399840681","1399840715"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b041b3d3c0f359c375a2c39d0f87da1d.jpg","text":"TemporaryFile(/tmp/multipartBody6474181580161392141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006802676,"filename":"image_07112025_21_42_53_7175.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a55851e1a29ea75f0ed8d7a6684ad901.jpg","text":"TemporaryFile(/tmp/multipartBody8800841176441032850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006802676,"filename":"image_07112025_21_42_40_2841.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/abc01e0d9faa3a6a7e82ea5fa0a34806.jpg","text":"TemporaryFile(/tmp/multipartBody9041730643217783322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006802676,"filename":"image_07112025_21_42_58_1717.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96192055eff5b434dc459872ee433b32.jpg","text":"TemporaryFile(/tmp/multipartBody1359968524237575816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006802676,"filename":"image_07112025_21_42_44_3656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67680a8c88acc79e834bead105bdb08d.jpg","text":"TemporaryFile(/tmp/multipartBody3828206811023974413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006802676,"filename":"image_07112025_21_42_56_3031.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe3c6ee6711706d6b8cf798792ada0e9.jpg","text":"TemporaryFile(/tmp/multipartBody8212663394522861094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006802676,"filename":"image_07112025_21_42_37_2689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399840610","file1":"1399840574","file0":"1399840537","file4":"1399840681","file5":"1399840715","file3":"1399840644"},"map_files_photo_id_array":[{"photo_id":"1399840715","filename":"file5"},{"photo_id":"1399840610","filename":"file2"},{"photo_id":"1399840681","filename":"file4"},{"photo_id":"1399840574","filename":"file1"},{"photo_id":"1399840537","filename":"file0"},{"photo_id":"1399840644","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399840644":["hashtag1","hashtag2"]},{"1399840574":["hashtag1","hashtag2"]},{"1399840715":["hashtag1","hashtag2"]},{"1399840610":["hashtag1","hashtag2"]},{"1399840681":["hashtag1","hashtag2"]},{"1399840537":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399840644, 1399840574, 1399840715, 1399840610, 1399840681, 1399840537)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.00264263153076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:26:22.189381
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_55_9644.jpg', '/home/pi/Desktop/images/17122025/22/25/image_17122025_22_25_14_10056.jpg', '/home/pi/Desktop/images/17122025/22/25/image_17122025_22_25_35_10838.jpg', '/home/pi/Desktop/images/17122025/22/25/image_17122025_22_25_45_9672.jpg', '/home/pi/Desktop/images/17122025/22/25/image_17122025_22_25_55_9764.jpg', '/home/pi/Desktop/images/17122025/22/25/image_17122025_22_26_04_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/24/image_17122025_22_24_55_9644.jpg
/home/pi/Desktop/images/17122025/22/25/image_17122025_22_25_14_10056.jpg
/home/pi/Desktop/images/17122025/22/25/image_17122025_22_25_35_10838.jpg
/home/pi/Desktop/images/17122025/22/25/image_17122025_22_25_45_9672.jpg
/home/pi/Desktop/images/17122025/22/25/image_17122025_22_25_55_9764.jpg
/home/pi/Desktop/images/17122025/22/25/image_17122025_22_26_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":["1399840970","1399840967","1399840889","1399840928","1399840963","1399840852"],"photo_ids_order":["1399840852","1399840889","1399840928","1399840963","1399840967","1399840970"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb4fa0a40d3e827460e1793cb73e934c.jpg","text":"TemporaryFile(/tmp/multipartBody8345161050109630174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006842833,"filename":"image_17122025_22_26_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2e8e71157a78b2a0c3bc3cd1acad1f0.jpg","text":"TemporaryFile(/tmp/multipartBody3892118912570516941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006842833,"filename":"image_17122025_22_25_55_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/227b6252f7928099a03b5bbd5b25e284.jpg","text":"TemporaryFile(/tmp/multipartBody367797816833921765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006842833,"filename":"image_17122025_22_25_14_10056.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2cc8860000f75074b17fc852c0899d4.jpg","text":"TemporaryFile(/tmp/multipartBody7205997417072893442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006842833,"filename":"image_17122025_22_25_35_10838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fad070d147db13ff94a0ed8dc0dcaef8.jpg","text":"TemporaryFile(/tmp/multipartBody8727396533182387576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006842833,"filename":"image_17122025_22_25_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1c4ebc75f6b9b69d99bce757c4087395.jpg","text":"TemporaryFile(/tmp/multipartBody6053523855575197844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006842833,"filename":"image_17122025_22_24_55_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399840928","file1":"1399840889","file0":"1399840852","file4":"1399840967","file5":"1399840970","file3":"1399840963"},"map_files_photo_id_array":[{"photo_id":"1399840970","filename":"file5"},{"photo_id":"1399840928","filename":"file2"},{"photo_id":"1399840967","filename":"file4"},{"photo_id":"1399840889","filename":"file1"},{"photo_id":"1399840852","filename":"file0"},{"photo_id":"1399840963","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399840970":["hashtag1","hashtag2"]},{"1399840967":["hashtag1","hashtag2"]},{"1399840889":["hashtag1","hashtag2"]},{"1399840928":["hashtag1","hashtag2"]},{"1399840963":["hashtag1","hashtag2"]},{"1399840852":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399840970, 1399840967, 1399840889, 1399840928, 1399840963, 1399840852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.72621560096741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:27:02.995474
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/26/image_17122025_22_26_25_9620.jpg', '/home/pi/Desktop/images/17122025/22/26/image_17122025_22_26_34_9664.jpg', '/home/pi/Desktop/images/17122025/22/26/image_17122025_22_26_45_10811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/26/image_17122025_22_26_25_9620.jpg
/home/pi/Desktop/images/17122025/22/26/image_17122025_22_26_34_9664.jpg
/home/pi/Desktop/images/17122025/22/26/image_17122025_22_26_45_10811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399840980","1399840976","1399840978"],"photo_ids_order":["1399840976","1399840978","1399840980"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2d555e9995eec2f9d1bcf06afd2da6c.jpg","text":"TemporaryFile(/tmp/multipartBody6905815197854945555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006883563,"filename":"image_17122025_22_26_45_10811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a51afb1a1e434c83b6e2d84b4ceef0c1.jpg","text":"TemporaryFile(/tmp/multipartBody6629522443172447557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006883563,"filename":"image_17122025_22_26_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fc09bbbaeeb82e49243230bc02cdbc7.jpg","text":"TemporaryFile(/tmp/multipartBody7939614759247423212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006883563,"filename":"image_17122025_22_26_34_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399840980","file1":"1399840978","file0":"1399840976"},"map_files_photo_id_array":[{"photo_id":"1399840980","filename":"file2"},{"photo_id":"1399840978","filename":"file1"},{"photo_id":"1399840976","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399840980":["hashtag1","hashtag2"]},{"1399840976":["hashtag1","hashtag2"]},{"1399840978":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399840980, 1399840976, 1399840978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.690232276916504 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:27:32.439917
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:27:42.407877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_03_4427.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_11_8386.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_17_5978.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_19_1666.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_20_1746.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_23_2539.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_03_4427.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_11_8386.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_17_5978.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_19_1666.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_20_1746.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_23_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":["1399841061","1399841244","1399841207","1399841098","1399841170","1399841134"],"photo_ids_order":["1399841061","1399841098","1399841134","1399841170","1399841207","1399841244"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2cb462e94cb469f98d2564485d318f7.jpg","text":"TemporaryFile(/tmp/multipartBody9045740790035284268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006923145,"filename":"image_07112025_21_43_03_4427.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc10f399f0c40430be76b7471e0cdf38.jpg","text":"TemporaryFile(/tmp/multipartBody7853062358641027587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006923145,"filename":"image_07112025_21_43_23_2539.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34c0e4a61e1f762208f2dd387798da83.jpg","text":"TemporaryFile(/tmp/multipartBody7536155532597089043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006923145,"filename":"image_07112025_21_43_20_1746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/845db4c27b168ec97b55eee9e7b788e4.jpg","text":"TemporaryFile(/tmp/multipartBody1332783530991967403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006923145,"filename":"image_07112025_21_43_11_8386.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5575e32b63db560159cba91262b0ff9f.jpg","text":"TemporaryFile(/tmp/multipartBody3536733809732120407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006923145,"filename":"image_07112025_21_43_19_1666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3070bbc6d5846d255374065cd80ea39e.jpg","text":"TemporaryFile(/tmp/multipartBody9157565927009548954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006923145,"filename":"image_07112025_21_43_17_5978.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399841134","file1":"1399841098","file0":"1399841061","file4":"1399841207","file5":"1399841244","file3":"1399841170"},"map_files_photo_id_array":[{"photo_id":"1399841244","filename":"file5"},{"photo_id":"1399841134","filename":"file2"},{"photo_id":"1399841207","filename":"file4"},{"photo_id":"1399841098","filename":"file1"},{"photo_id":"1399841061","filename":"file0"},{"photo_id":"1399841170","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399841061":["hashtag1","hashtag2"]},{"1399841244":["hashtag1","hashtag2"]},{"1399841207":["hashtag1","hashtag2"]},{"1399841098":["hashtag1","hashtag2"]},{"1399841170":["hashtag1","hashtag2"]},{"1399841134":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399841061, 1399841244, 1399841207, 1399841098, 1399841170, 1399841134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.328611612319946 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:28:22.742066
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/26/image_17122025_22_26_55_9638.jpg', '/home/pi/Desktop/images/17122025/22/26/image_17122025_22_27_04_9809.jpg', '/home/pi/Desktop/images/17122025/22/27/image_17122025_22_27_15_10669.jpg', '/home/pi/Desktop/images/17122025/22/27/image_17122025_22_27_55_10753.jpg', '/home/pi/Desktop/images/17122025/22/27/image_17122025_22_28_05_9687.jpg', '/home/pi/Desktop/images/17122025/22/28/image_17122025_22_28_45_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/26/image_17122025_22_26_55_9638.jpg
/home/pi/Desktop/images/17122025/22/26/image_17122025_22_27_04_9809.jpg
/home/pi/Desktop/images/17122025/22/27/image_17122025_22_27_15_10669.jpg
/home/pi/Desktop/images/17122025/22/27/image_17122025_22_27_55_10753.jpg
/home/pi/Desktop/images/17122025/22/27/image_17122025_22_28_05_9687.jpg
/home/pi/Desktop/images/17122025/22/28/image_17122025_22_28_45_9707.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399841352","1399841339","1399841354","1399841299","1399841383","1399841284"],"photo_ids_order":["1399841284","1399841299","1399841339","1399841352","1399841354","1399841383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20d7692a4c69b264f85732d802751ad1.jpg","text":"TemporaryFile(/tmp/multipartBody2491530867458238967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006963393,"filename":"image_17122025_22_27_55_10753.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b757c26f2ffac87981074797948de82b.jpg","text":"TemporaryFile(/tmp/multipartBody3948864768544854892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006963393,"filename":"image_17122025_22_27_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/99f3d50ecf8e247d44132e3b15b82be7.jpg","text":"TemporaryFile(/tmp/multipartBody6236120747239039979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006963393,"filename":"image_17122025_22_28_05_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8d1c69fb05a1f641da55f5b44d99459.jpg","text":"TemporaryFile(/tmp/multipartBody4551740675632884004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006963393,"filename":"image_17122025_22_27_04_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97483b77f40ee0af86df05017286f749.jpg","text":"TemporaryFile(/tmp/multipartBody6425869482419289330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006963393,"filename":"image_17122025_22_28_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fdbeca0ae83d57a0afcc5c0ca8662c28.jpg","text":"TemporaryFile(/tmp/multipartBody6016360993546040295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766006963393,"filename":"image_17122025_22_26_55_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399841339","file1":"1399841299","file0":"1399841284","file4":"1399841354","file5":"1399841383","file3":"1399841352"},"map_files_photo_id_array":[{"photo_id":"1399841383","filename":"file5"},{"photo_id":"1399841339","filename":"file2"},{"photo_id":"1399841354","filename":"file4"},{"photo_id":"1399841299","filename":"file1"},{"photo_id":"1399841284","filename":"file0"},{"photo_id":"1399841352","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399841352":["hashtag1","hashtag2"]},{"1399841339":["hashtag1","hashtag2"]},{"1399841354":["hashtag1","hashtag2"]},{"1399841299":["hashtag1","hashtag2"]},{"1399841383":["hashtag1","hashtag2"]},{"1399841284":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399841352, 1399841339, 1399841354, 1399841299, 1399841383, 1399841284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.319969177246094 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:29:02.739880
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:29:12.000968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:29:22.013157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/28/image_17122025_22_28_54_9914.jpg', '/home/pi/Desktop/images/17122025/22/28/image_17122025_22_29_04_9820.jpg', '/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_15_10658.jpg', '/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_24_9553.jpg', '/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_35_10613.jpg', '/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_45_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/28/image_17122025_22_28_54_9914.jpg
/home/pi/Desktop/images/17122025/22/28/image_17122025_22_29_04_9820.jpg
/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_15_10658.jpg
/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_24_9553.jpg
/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_35_10613.jpg
/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_45_9709.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399841463","1399841466","1399841460","1399841468","1399841470","1399841473"],"photo_ids_order":["1399841460","1399841463","1399841466","1399841468","1399841470","1399841473"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e22886ccc3f5c81c90ee9c3fa1109ae.jpg","text":"TemporaryFile(/tmp/multipartBody6084607768382175325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007022659,"filename":"image_17122025_22_29_04_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/971da1208531cc3ea2d3eac0da54633b.jpg","text":"TemporaryFile(/tmp/multipartBody8141642516251348793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007022659,"filename":"image_17122025_22_29_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a6c563fc87440f7c6304cb2290af2ff.jpg","text":"TemporaryFile(/tmp/multipartBody4626685355824874619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007022659,"filename":"image_17122025_22_28_54_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4ad998efa314f2b070461765742f0bd0.jpg","text":"TemporaryFile(/tmp/multipartBody8726123495406128710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007022659,"filename":"image_17122025_22_29_24_9553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fa354c3d36a08a360a1e6133f685bc3.jpg","text":"TemporaryFile(/tmp/multipartBody5355209837481613844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007022659,"filename":"image_17122025_22_29_35_10613.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af1846a3150474b6c2ab84e7005cf7d6.jpg","text":"TemporaryFile(/tmp/multipartBody5035165352195584215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007022659,"filename":"image_17122025_22_29_45_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399841466","file1":"1399841463","file0":"1399841460","file4":"1399841470","file5":"1399841473","file3":"1399841468"},"map_files_photo_id_array":[{"photo_id":"1399841473","filename":"file5"},{"photo_id":"1399841466","filename":"file2"},{"photo_id":"1399841470","filename":"file4"},{"photo_id":"1399841463","filename":"file1"},{"photo_id":"1399841460","filename":"file0"},{"photo_id":"1399841468","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399841463":["hashtag1","hashtag2"]},{"1399841466":["hashtag1","hashtag2"]},{"1399841460":["hashtag1","hashtag2"]},{"1399841468":["hashtag1","hashtag2"]},{"1399841470":["hashtag1","hashtag2"]},{"1399841473":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399841463, 1399841466, 1399841460, 1399841468, 1399841470, 1399841473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.13399243354797 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:30:42.156498
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_24_1594.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_26_1792.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_28_1646.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_30_1660.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_31_1700.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_33_1535.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_24_1594.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_26_1792.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_28_1646.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_30_1660.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_31_1700.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_33_1535.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399841895","1399841978","1399841819","1399841776","1399841857","1399841935"],"photo_ids_order":["1399841776","1399841819","1399841857","1399841895","1399841935","1399841978"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9df5ab64b7b3be3feef14bd4e09f724.jpg","text":"TemporaryFile(/tmp/multipartBody5448487520259300498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007102888,"filename":"image_07112025_21_43_30_1660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ac36d29ac2a1bcc1189b6689e54a7493.jpg","text":"TemporaryFile(/tmp/multipartBody3912898808297867800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007102888,"filename":"image_07112025_21_43_33_1535.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b2af4324d17c79b9cc0ac37ea79fc3c.jpg","text":"TemporaryFile(/tmp/multipartBody5275257457059412299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007102888,"filename":"image_07112025_21_43_26_1792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6817aba1988414667d711916acde79e9.jpg","text":"TemporaryFile(/tmp/multipartBody6979426961293850499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007102888,"filename":"image_07112025_21_43_24_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/03888460e4898221730f84a24f125bbe.jpg","text":"TemporaryFile(/tmp/multipartBody1153119234264929457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007102888,"filename":"image_07112025_21_43_28_1646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/622717d0423057e322426b6ac00df854.jpg","text":"TemporaryFile(/tmp/multipartBody3911471652577239345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007102888,"filename":"image_07112025_21_43_31_1700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399841857","file1":"1399841819","file0":"1399841776","file4":"1399841935","file5":"1399841978","file3":"1399841895"},"map_files_photo_id_array":[{"photo_id":"1399841978","filename":"file5"},{"photo_id":"1399841857","filename":"file2"},{"photo_id":"1399841935","filename":"file4"},{"photo_id":"1399841819","filename":"file1"},{"photo_id":"1399841776","filename":"file0"},{"photo_id":"1399841895","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399841895":["hashtag1","hashtag2"]},{"1399841978":["hashtag1","hashtag2"]},{"1399841819":["hashtag1","hashtag2"]},{"1399841776":["hashtag1","hashtag2"]},{"1399841857":["hashtag1","hashtag2"]},{"1399841935":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399841895, 1399841978, 1399841819, 1399841776, 1399841857, 1399841935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.17825889587402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:31:22.451576
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_55_9714.jpg', '/home/pi/Desktop/images/17122025/22/30/image_17122025_22_30_25_10916.jpg', '/home/pi/Desktop/images/17122025/22/30/image_17122025_22_30_35_9625.jpg', '/home/pi/Desktop/images/17122025/22/30/image_17122025_22_30_44_9582.jpg', '/home/pi/Desktop/images/17122025/22/30/image_17122025_22_31_05_9661.jpg', '/home/pi/Desktop/images/17122025/22/31/image_17122025_22_31_14_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/29/image_17122025_22_29_55_9714.jpg
/home/pi/Desktop/images/17122025/22/30/image_17122025_22_30_25_10916.jpg
/home/pi/Desktop/images/17122025/22/30/image_17122025_22_30_35_9625.jpg
/home/pi/Desktop/images/17122025/22/30/image_17122025_22_30_44_9582.jpg
/home/pi/Desktop/images/17122025/22/30/image_17122025_22_31_05_9661.jpg
/home/pi/Desktop/images/17122025/22/31/image_17122025_22_31_14_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":["1399842042","1399842045","1399842050","1399842047","1399842040","1399842048"],"photo_ids_order":["1399842040","1399842042","1399842045","1399842047","1399842048","1399842050"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f1f4e8bd628cb56a15b04ddc2dbebc4d.jpg","text":"TemporaryFile(/tmp/multipartBody3013635831240141820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007143105,"filename":"image_17122025_22_30_25_10916.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59898046b0415afc4ccbedabcfd79e72.jpg","text":"TemporaryFile(/tmp/multipartBody3471480178029119158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007143105,"filename":"image_17122025_22_30_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1bd516b08b805176debb5728fcf32f46.jpg","text":"TemporaryFile(/tmp/multipartBody6568186911710674874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007143105,"filename":"image_17122025_22_31_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65c1f11f02dece6ecf6ca23535892dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5101179617552236626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007143105,"filename":"image_17122025_22_30_44_9582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9263cf0cff5fd732fe1523a105232f83.jpg","text":"TemporaryFile(/tmp/multipartBody8582073553588889302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007143105,"filename":"image_17122025_22_29_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aecf7138ad95399c5653d0abce0a75d4.jpg","text":"TemporaryFile(/tmp/multipartBody7001102484797439541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007143105,"filename":"image_17122025_22_31_05_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399842045","file1":"1399842042","file0":"1399842040","file4":"1399842048","file5":"1399842050","file3":"1399842047"},"map_files_photo_id_array":[{"photo_id":"1399842050","filename":"file5"},{"photo_id":"1399842045","filename":"file2"},{"photo_id":"1399842048","filename":"file4"},{"photo_id":"1399842042","filename":"file1"},{"photo_id":"1399842040","filename":"file0"},{"photo_id":"1399842047","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399842042":["hashtag1","hashtag2"]},{"1399842045":["hashtag1","hashtag2"]},{"1399842050":["hashtag1","hashtag2"]},{"1399842047":["hashtag1","hashtag2"]},{"1399842040":["hashtag1","hashtag2"]},{"1399842048":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399842042, 1399842045, 1399842050, 1399842047, 1399842040, 1399842048)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.14842963218689 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:32:03.088516
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/31/image_17122025_22_31_25_10750.jpg', '/home/pi/Desktop/images/17122025/22/31/image_17122025_22_31_35_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/31/image_17122025_22_31_25_10750.jpg
/home/pi/Desktop/images/17122025/22/31/image_17122025_22_31_35_9665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399842149","1399842118"],"photo_ids_order":["1399842118","1399842149"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84209c55aeb7bd714d29d086cfe97206.jpg","text":"TemporaryFile(/tmp/multipartBody7201237812558671029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007183573,"filename":"image_17122025_22_31_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7eac08f35103eaacbd0462fcf6a063e3.jpg","text":"TemporaryFile(/tmp/multipartBody2692580018020087345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007183573,"filename":"image_17122025_22_31_25_10750.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399842149","file0":"1399842118"},"map_files_photo_id_array":[{"photo_id":"1399842149","filename":"file1"},{"photo_id":"1399842118","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399842149":["hashtag1","hashtag2"]},{"1399842118":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399842149, 1399842118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.89133906364441 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:32:22.648502
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/31/image_17122025_22_31_44_9629.jpg', '/home/pi/Desktop/images/17122025/22/31/image_17122025_22_32_05_9732.jpg', '/home/pi/Desktop/images/17122025/22/32/image_17122025_22_32_14_9696.jpg', '/home/pi/Desktop/images/17122025/22/32/image_17122025_22_32_24_9619.jpg', '/home/pi/Desktop/images/17122025/22/32/image_17122025_22_32_35_10830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/31/image_17122025_22_31_44_9629.jpg
/home/pi/Desktop/images/17122025/22/31/image_17122025_22_32_05_9732.jpg
/home/pi/Desktop/images/17122025/22/32/image_17122025_22_32_14_9696.jpg
/home/pi/Desktop/images/17122025/22/32/image_17122025_22_32_24_9619.jpg
/home/pi/Desktop/images/17122025/22/32/image_17122025_22_32_35_10830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399842260","1399842278","1399842325","1399842313","1399842276"],"photo_ids_order":["1399842260","1399842276","1399842278","1399842313","1399842325"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f24b81f06975dff5154e36fd5703af01.jpg","text":"TemporaryFile(/tmp/multipartBody6910827458613723067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007203231,"filename":"image_17122025_22_31_44_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6b012ab69d1178f26deab33e32da0207.jpg","text":"TemporaryFile(/tmp/multipartBody2806433861444325521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007203231,"filename":"image_17122025_22_32_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e34f266a9dcf4c69cc58da6a1cc57bcc.jpg","text":"TemporaryFile(/tmp/multipartBody5164967702076680694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007203231,"filename":"image_17122025_22_32_35_10830.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdc40ab5b223fdfc0054e8b80ab268e0.jpg","text":"TemporaryFile(/tmp/multipartBody3940838121187863754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007203231,"filename":"image_17122025_22_32_24_9619.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da05fc8a19029798cffccd9434b198e4.jpg","text":"TemporaryFile(/tmp/multipartBody6389302606037555364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007203231,"filename":"image_17122025_22_32_05_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399842278","file1":"1399842276","file0":"1399842260","file4":"1399842325","file3":"1399842313"},"map_files_photo_id_array":[{"photo_id":"1399842278","filename":"file2"},{"photo_id":"1399842325","filename":"file4"},{"photo_id":"1399842276","filename":"file1"},{"photo_id":"1399842260","filename":"file0"},{"photo_id":"1399842313","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399842260":["hashtag1","hashtag2"]},{"1399842278":["hashtag1","hashtag2"]},{"1399842325":["hashtag1","hashtag2"]},{"1399842313":["hashtag1","hashtag2"]},{"1399842276":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399842260, 1399842278, 1399842325, 1399842313, 1399842276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.13316822052002 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:33:02.475091
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:33:11.732484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:33:21.852113
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/32/image_17122025_22_32_55_9881.jpg', '/home/pi/Desktop/images/17122025/22/32/image_17122025_22_33_04_9698.jpg', '/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_15_10627.jpg', '/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_25_9662.jpg', '/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_34_9579.jpg', '/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_45_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/32/image_17122025_22_32_55_9881.jpg
/home/pi/Desktop/images/17122025/22/32/image_17122025_22_33_04_9698.jpg
/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_15_10627.jpg
/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_25_9662.jpg
/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_34_9579.jpg
/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_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":["1399842371","1399842380","1399842383","1399842373","1399842375","1399842378"],"photo_ids_order":["1399842371","1399842373","1399842375","1399842378","1399842380","1399842383"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e4bdc35d0512f012570f302c6538a7cc.jpg","text":"TemporaryFile(/tmp/multipartBody8339946413214495928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007262497,"filename":"image_17122025_22_32_55_9881.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f4b85a85f1fb7825ff038ae5f1f60f1.jpg","text":"TemporaryFile(/tmp/multipartBody3020335343642816396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007262497,"filename":"image_17122025_22_33_34_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc9ccc244683bf9f7aab2bb3af733f3a.jpg","text":"TemporaryFile(/tmp/multipartBody813137664788665788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007262497,"filename":"image_17122025_22_33_45_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdcc99b0ef630eb5a423d72fa3867ca9.jpg","text":"TemporaryFile(/tmp/multipartBody6652561367132212675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007262497,"filename":"image_17122025_22_33_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41b5668564e9491e34e77f0878a8454a.jpg","text":"TemporaryFile(/tmp/multipartBody1088311320194811477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007262497,"filename":"image_17122025_22_33_15_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b4bfe38a221008b384554fcb2e105607.jpg","text":"TemporaryFile(/tmp/multipartBody6567463345353592530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007262497,"filename":"image_17122025_22_33_25_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399842375","file1":"1399842373","file0":"1399842371","file4":"1399842380","file5":"1399842383","file3":"1399842378"},"map_files_photo_id_array":[{"photo_id":"1399842383","filename":"file5"},{"photo_id":"1399842375","filename":"file2"},{"photo_id":"1399842380","filename":"file4"},{"photo_id":"1399842373","filename":"file1"},{"photo_id":"1399842371","filename":"file0"},{"photo_id":"1399842378","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399842371":["hashtag1","hashtag2"]},{"1399842380":["hashtag1","hashtag2"]},{"1399842383":["hashtag1","hashtag2"]},{"1399842373":["hashtag1","hashtag2"]},{"1399842375":["hashtag1","hashtag2"]},{"1399842378":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399842371, 1399842380, 1399842383, 1399842373, 1399842375, 1399842378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.93644189834595 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:34:02.844552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:34:12.230929
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:34:22.268168
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_54_9603.jpg', '/home/pi/Desktop/images/17122025/22/33/image_17122025_22_34_05_10627.jpg', '/home/pi/Desktop/images/17122025/22/34/image_17122025_22_34_15_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/33/image_17122025_22_33_54_9603.jpg
/home/pi/Desktop/images/17122025/22/33/image_17122025_22_34_05_10627.jpg
/home/pi/Desktop/images/17122025/22/34/image_17122025_22_34_15_9698.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399842392","1399842389","1399842387"],"photo_ids_order":["1399842387","1399842389","1399842392"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b22b68b745186afeabb60b4ed97e60e.jpg","text":"TemporaryFile(/tmp/multipartBody2154876187064379270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007322779,"filename":"image_17122025_22_34_15_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f8d34558b099e9c94e055a770a1d273.jpg","text":"TemporaryFile(/tmp/multipartBody1003735138070575494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007322779,"filename":"image_17122025_22_34_05_10627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/253281258c33a77ec60f91a04316021b.jpg","text":"TemporaryFile(/tmp/multipartBody5135054371062217567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007322779,"filename":"image_17122025_22_33_54_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399842392","file1":"1399842389","file0":"1399842387"},"map_files_photo_id_array":[{"photo_id":"1399842392","filename":"file2"},{"photo_id":"1399842389","filename":"file1"},{"photo_id":"1399842387","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399842392":["hashtag1","hashtag2"]},{"1399842389":["hashtag1","hashtag2"]},{"1399842387":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399842392, 1399842389, 1399842387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.569257736206055 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:35:03.065692
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:35:12.459160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:35:22.417466
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/34/image_17122025_22_34_55_9885.jpg', '/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_14_10055.jpg', '/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_25_10823.jpg', '/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_34_9733.jpg', '/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_44_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/34/image_17122025_22_34_55_9885.jpg
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_14_10055.jpg
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_25_10823.jpg
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_34_9733.jpg
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_44_9663.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
uploaded 0 photos
time to upload: 0.48752307891845703 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:35:32.436682
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:35:42.463565
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_35_1942.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_40_2766.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_43_2941.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_46_2595.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_49_3706.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_52_2678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_35_1942.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_40_2766.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_43_2941.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_46_2595.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_49_3706.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_52_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":["1399842767","1399842691","1399842623","1399842585","1399842729","1399842657"],"photo_ids_order":["1399842585","1399842623","1399842657","1399842691","1399842729","1399842767"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52492e670849d8ea18bccad070fa8377.jpg","text":"TemporaryFile(/tmp/multipartBody2201801112452660861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007403197,"filename":"image_07112025_21_43_52_2678.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12599036349a9216b5539ed0473d7a4c.jpg","text":"TemporaryFile(/tmp/multipartBody2254084740912236382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007403197,"filename":"image_07112025_21_43_46_2595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6608d73287256112d64c103a17f51cdd.jpg","text":"TemporaryFile(/tmp/multipartBody1836193255861685915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007403197,"filename":"image_07112025_21_43_40_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cd35c95825d76e86f01b917517911b8.jpg","text":"TemporaryFile(/tmp/multipartBody859689831585679914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007403197,"filename":"image_07112025_21_43_35_1942.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/696a7076534db0f6d61388762b78270b.jpg","text":"TemporaryFile(/tmp/multipartBody2961644300562354440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007403197,"filename":"image_07112025_21_43_49_3706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c7f4d8337f7db5ed7ccab0533a92edf.jpg","text":"TemporaryFile(/tmp/multipartBody5641005660837823572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007403197,"filename":"image_07112025_21_43_43_2941.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399842657","file1":"1399842623","file0":"1399842585","file4":"1399842729","file5":"1399842767","file3":"1399842691"},"map_files_photo_id_array":[{"photo_id":"1399842767","filename":"file5"},{"photo_id":"1399842657","filename":"file2"},{"photo_id":"1399842729","filename":"file4"},{"photo_id":"1399842623","filename":"file1"},{"photo_id":"1399842585","filename":"file0"},{"photo_id":"1399842691","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399842767":["hashtag1","hashtag2"]},{"1399842691":["hashtag1","hashtag2"]},{"1399842623":["hashtag1","hashtag2"]},{"1399842585":["hashtag1","hashtag2"]},{"1399842729":["hashtag1","hashtag2"]},{"1399842657":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399842767, 1399842691, 1399842623, 1399842585, 1399842729, 1399842657)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99230933189392 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:36:22.747971
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/34/image_17122025_22_34_55_9885.jpg', '/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_14_10055.jpg', '/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_25_10823.jpg', '/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_34_9733.jpg', '/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_44_9663.jpg', '/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_55_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/34/image_17122025_22_34_55_9885.jpg
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_14_10055.jpg
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_25_10823.jpg
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_34_9733.jpg
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_44_9663.jpg
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_35_55_10650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399842837","1399842831","1399842839","1399842833","1399842835","1399842859"],"photo_ids_order":["1399842831","1399842833","1399842835","1399842837","1399842839","1399842859"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e8b2466431e8e5683407645e35963087.jpg","text":"TemporaryFile(/tmp/multipartBody1236365824219688278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007443437,"filename":"image_17122025_22_35_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19a208adb372deac60e640d641296b04.jpg","text":"TemporaryFile(/tmp/multipartBody7389433016255640234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007443437,"filename":"image_17122025_22_34_55_9885.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/852eb63bf2afdcc615e36fcde5993cc1.jpg","text":"TemporaryFile(/tmp/multipartBody139151511715449796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007443437,"filename":"image_17122025_22_35_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d58b910ee284de847e07a47b50b4636c.jpg","text":"TemporaryFile(/tmp/multipartBody3735063614468231651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007443437,"filename":"image_17122025_22_35_14_10055.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dae67032521c3c8a87d62ed2f397a00c.jpg","text":"TemporaryFile(/tmp/multipartBody1577213087782097209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007443437,"filename":"image_17122025_22_35_25_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02c51a2bda2f391ad7d48522613d117f.jpg","text":"TemporaryFile(/tmp/multipartBody57957936413340151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007443437,"filename":"image_17122025_22_35_55_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399842835","file1":"1399842833","file0":"1399842831","file4":"1399842839","file5":"1399842859","file3":"1399842837"},"map_files_photo_id_array":[{"photo_id":"1399842859","filename":"file5"},{"photo_id":"1399842835","filename":"file2"},{"photo_id":"1399842839","filename":"file4"},{"photo_id":"1399842833","filename":"file1"},{"photo_id":"1399842831","filename":"file0"},{"photo_id":"1399842837","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399842837":["hashtag1","hashtag2"]},{"1399842831":["hashtag1","hashtag2"]},{"1399842839":["hashtag1","hashtag2"]},{"1399842833":["hashtag1","hashtag2"]},{"1399842835":["hashtag1","hashtag2"]},{"1399842859":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399842837, 1399842831, 1399842839, 1399842833, 1399842835, 1399842859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.327274799346924 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:37:02.765711
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/35/image_17122025_22_36_04_9645.jpg', '/home/pi/Desktop/images/17122025/22/36/image_17122025_22_36_25_10660.jpg', '/home/pi/Desktop/images/17122025/22/36/image_17122025_22_36_34_9637.jpg', '/home/pi/Desktop/images/17122025/22/36/image_17122025_22_36_44_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/35/image_17122025_22_36_04_9645.jpg
/home/pi/Desktop/images/17122025/22/36/image_17122025_22_36_25_10660.jpg
/home/pi/Desktop/images/17122025/22/36/image_17122025_22_36_34_9637.jpg
/home/pi/Desktop/images/17122025/22/36/image_17122025_22_36_44_9735.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399842992","1399842986","1399843021","1399843012"],"photo_ids_order":["1399842986","1399842992","1399843012","1399843021"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46789fb5eb57a06a94a77b6fca7cfe14.jpg","text":"TemporaryFile(/tmp/multipartBody4713358339613435170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007483392,"filename":"image_17122025_22_36_25_10660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ad97a8529523694e33d7f764075ede5.jpg","text":"TemporaryFile(/tmp/multipartBody7619080496109369221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007483392,"filename":"image_17122025_22_36_04_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d345f92a0827c74f13e5bda46985b87.jpg","text":"TemporaryFile(/tmp/multipartBody5743330154969695754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007483392,"filename":"image_17122025_22_36_44_9735.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7fa9c255ba9ce16852ad8b4fe94c28f8.jpg","text":"TemporaryFile(/tmp/multipartBody6004377015532259386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007483392,"filename":"image_17122025_22_36_34_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399843012","file1":"1399842992","file0":"1399842986","file3":"1399843021"},"map_files_photo_id_array":[{"photo_id":"1399843012","filename":"file2"},{"photo_id":"1399842992","filename":"file1"},{"photo_id":"1399842986","filename":"file0"},{"photo_id":"1399843021","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399842992":["hashtag1","hashtag2"]},{"1399842986":["hashtag1","hashtag2"]},{"1399843021":["hashtag1","hashtag2"]},{"1399843012":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399842992, 1399842986, 1399843021, 1399843012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.801811695098877 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:37:31.940961
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:37:41.926823
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_55_2571.jpg', '/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_58_3670.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_01_2601.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_04_3131.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_10_3651.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_22_8959.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_55_2571.jpg
/home/pi/Desktop/images/07112025/21/43/image_07112025_21_43_58_3670.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_01_2601.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_04_3131.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_10_3651.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_22_8959.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399843055","1399843058","1399843057","1399843059","1399843053","1399843056"],"photo_ids_order":["1399843053","1399843055","1399843056","1399843057","1399843058","1399843059"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39a8c61fb16a950ef24c63b562ee0af2.jpg","text":"TemporaryFile(/tmp/multipartBody3677350484660541965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007522665,"filename":"image_07112025_21_43_58_3670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18884a4fc21afcccf859818aa698539b.jpg","text":"TemporaryFile(/tmp/multipartBody1350212351000527497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007522665,"filename":"image_07112025_21_44_10_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a23e35810e313fb5a4030e517f32346.jpg","text":"TemporaryFile(/tmp/multipartBody7153613710897781095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007522665,"filename":"image_07112025_21_44_04_3131.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/592f9eaa91ca329f8f993b78f32a1158.jpg","text":"TemporaryFile(/tmp/multipartBody4917626982017946714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007522665,"filename":"image_07112025_21_44_22_8959.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8910d0af57aef4066e1f2d4636864b1f.jpg","text":"TemporaryFile(/tmp/multipartBody5765741449992933108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007522665,"filename":"image_07112025_21_43_55_2571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/84057f52ba719a350612986e77930ecd.jpg","text":"TemporaryFile(/tmp/multipartBody8609697738492340849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007522665,"filename":"image_07112025_21_44_01_2601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399843056","file1":"1399843055","file0":"1399843053","file4":"1399843058","file5":"1399843059","file3":"1399843057"},"map_files_photo_id_array":[{"photo_id":"1399843059","filename":"file5"},{"photo_id":"1399843056","filename":"file2"},{"photo_id":"1399843058","filename":"file4"},{"photo_id":"1399843055","filename":"file1"},{"photo_id":"1399843053","filename":"file0"},{"photo_id":"1399843057","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399843055":["hashtag1","hashtag2"]},{"1399843058":["hashtag1","hashtag2"]},{"1399843057":["hashtag1","hashtag2"]},{"1399843059":["hashtag1","hashtag2"]},{"1399843053":["hashtag1","hashtag2"]},{"1399843056":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399843055, 1399843058, 1399843057, 1399843059, 1399843053, 1399843056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.51379752159119 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:38:22.127421
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/36/image_17122025_22_36_55_10690.jpg', '/home/pi/Desktop/images/17122025/22/36/image_17122025_22_37_04_9646.jpg', '/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_14_9638.jpg', '/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_24_9833.jpg', '/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_35_10692.jpg', '/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_45_9917.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/36/image_17122025_22_36_55_10690.jpg
/home/pi/Desktop/images/17122025/22/36/image_17122025_22_37_04_9646.jpg
/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_14_9638.jpg
/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_24_9833.jpg
/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_35_10692.jpg
/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_45_9917.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399843072","1399843069","1399843060","1399843062","1399843065","1399843068"],"photo_ids_order":["1399843060","1399843062","1399843065","1399843068","1399843069","1399843072"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64fd5ade82d0a5821fbc33c69452eee5.jpg","text":"TemporaryFile(/tmp/multipartBody7576996218707136419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007562764,"filename":"image_17122025_22_37_45_9917.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a60e94776fbf268724688a4b105d56d.jpg","text":"TemporaryFile(/tmp/multipartBody2522381964071615289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007562764,"filename":"image_17122025_22_37_35_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/321dd6940da32c551ffec9a7c9d31827.jpg","text":"TemporaryFile(/tmp/multipartBody3778081031001265578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007562764,"filename":"image_17122025_22_36_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70bc2c298f0234d38886b798459c5b6c.jpg","text":"TemporaryFile(/tmp/multipartBody4414238622280221489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007562764,"filename":"image_17122025_22_37_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27183fc14f5079fd9d88f9626065644b.jpg","text":"TemporaryFile(/tmp/multipartBody5892693143444108979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007562764,"filename":"image_17122025_22_37_14_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e08264fa09d779cc5a6a3d097024abd.jpg","text":"TemporaryFile(/tmp/multipartBody3628185404746591200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007562764,"filename":"image_17122025_22_37_24_9833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399843065","file1":"1399843062","file0":"1399843060","file4":"1399843069","file5":"1399843072","file3":"1399843068"},"map_files_photo_id_array":[{"photo_id":"1399843072","filename":"file5"},{"photo_id":"1399843065","filename":"file2"},{"photo_id":"1399843069","filename":"file4"},{"photo_id":"1399843062","filename":"file1"},{"photo_id":"1399843060","filename":"file0"},{"photo_id":"1399843068","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399843072":["hashtag1","hashtag2"]},{"1399843069":["hashtag1","hashtag2"]},{"1399843060":["hashtag1","hashtag2"]},{"1399843062":["hashtag1","hashtag2"]},{"1399843065":["hashtag1","hashtag2"]},{"1399843068":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399843072, 1399843069, 1399843060, 1399843062, 1399843065, 1399843068)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.986573219299316 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:39:03.398636
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_54_9570.jpg', '/home/pi/Desktop/images/17122025/22/37/image_17122025_22_38_05_10667.jpg', '/home/pi/Desktop/images/17122025/22/38/image_17122025_22_38_34_9794.jpg', '/home/pi/Desktop/images/17122025/22/38/image_17122025_22_38_45_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/37/image_17122025_22_37_54_9570.jpg
/home/pi/Desktop/images/17122025/22/37/image_17122025_22_38_05_10667.jpg
/home/pi/Desktop/images/17122025/22/38/image_17122025_22_38_34_9794.jpg
/home/pi/Desktop/images/17122025/22/38/image_17122025_22_38_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":["1399843088","1399843087","1399843089","1399843077"],"photo_ids_order":["1399843077","1399843087","1399843088","1399843089"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1486e98db2b672df3609f4af03777adb.jpg","text":"TemporaryFile(/tmp/multipartBody718000967908421656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007604081,"filename":"image_17122025_22_38_34_9794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a5ca8392711a24639dd30cbcdaef19e.jpg","text":"TemporaryFile(/tmp/multipartBody705321364110215961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007604081,"filename":"image_17122025_22_38_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21072dd70e521bd4f6c83870933b8c43.jpg","text":"TemporaryFile(/tmp/multipartBody997550838094640573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007604081,"filename":"image_17122025_22_38_45_10770.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52ee451c3eb69a6038b972bce868290d.jpg","text":"TemporaryFile(/tmp/multipartBody6154696788115467716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007604081,"filename":"image_17122025_22_37_54_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399843088","file1":"1399843087","file0":"1399843077","file3":"1399843089"},"map_files_photo_id_array":[{"photo_id":"1399843088","filename":"file2"},{"photo_id":"1399843087","filename":"file1"},{"photo_id":"1399843077","filename":"file0"},{"photo_id":"1399843089","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399843088":["hashtag1","hashtag2"]},{"1399843087":["hashtag1","hashtag2"]},{"1399843089":["hashtag1","hashtag2"]},{"1399843077":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399843088, 1399843087, 1399843089, 1399843077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.14673638343811 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:39:32.590795
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:39:42.537484
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_24_1708.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_34_9994.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_35_1579.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_39_3445.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_40_1784.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_42_1604.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_24_1708.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_34_9994.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_35_1579.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_39_3445.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_40_1784.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_42_1604.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399843096","1399843100","1399843099","1399843102","1399843098","1399843101"],"photo_ids_order":["1399843096","1399843098","1399843099","1399843100","1399843101","1399843102"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/68ef8b8d509719539f97e737a5249fec.jpg","text":"TemporaryFile(/tmp/multipartBody9110986062242393356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007643311,"filename":"image_07112025_21_44_24_1708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef5ecfbc90bd97f39632550adf5c55df.jpg","text":"TemporaryFile(/tmp/multipartBody7662276987332670006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007643311,"filename":"image_07112025_21_44_39_3445.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8792b24ec5ef348ba530a9010688a3a9.jpg","text":"TemporaryFile(/tmp/multipartBody8104068792386146872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007643311,"filename":"image_07112025_21_44_35_1579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2e128ed9ee4e72ec5fa64a5b59dc5676.jpg","text":"TemporaryFile(/tmp/multipartBody925914003532994362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007643311,"filename":"image_07112025_21_44_42_1604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4a4026b53dec41f7429028afbdafa3a1.jpg","text":"TemporaryFile(/tmp/multipartBody5693287799557850398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007643311,"filename":"image_07112025_21_44_34_9994.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/464c1c3a1bbf67a363dcef45c46be5e8.jpg","text":"TemporaryFile(/tmp/multipartBody8331911376007002460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007643311,"filename":"image_07112025_21_44_40_1784.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399843099","file1":"1399843098","file0":"1399843096","file4":"1399843101","file5":"1399843102","file3":"1399843100"},"map_files_photo_id_array":[{"photo_id":"1399843102","filename":"file5"},{"photo_id":"1399843099","filename":"file2"},{"photo_id":"1399843101","filename":"file4"},{"photo_id":"1399843098","filename":"file1"},{"photo_id":"1399843096","filename":"file0"},{"photo_id":"1399843100","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399843096":["hashtag1","hashtag2"]},{"1399843100":["hashtag1","hashtag2"]},{"1399843099":["hashtag1","hashtag2"]},{"1399843102":["hashtag1","hashtag2"]},{"1399843098":["hashtag1","hashtag2"]},{"1399843101":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399843096, 1399843100, 1399843099, 1399843102, 1399843098, 1399843101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.827534198760986 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:40:22.829152
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/38/image_17122025_22_38_54_9748.jpg', '/home/pi/Desktop/images/17122025/22/38/image_17122025_22_39_04_9838.jpg', '/home/pi/Desktop/images/17122025/22/39/image_17122025_22_39_34_9640.jpg', '/home/pi/Desktop/images/17122025/22/39/image_17122025_22_39_44_9595.jpg', '/home/pi/Desktop/images/17122025/22/39/image_17122025_22_39_55_10702.jpg', '/home/pi/Desktop/images/17122025/22/40/image_17122025_22_40_15_10054.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/38/image_17122025_22_38_54_9748.jpg
/home/pi/Desktop/images/17122025/22/38/image_17122025_22_39_04_9838.jpg
/home/pi/Desktop/images/17122025/22/39/image_17122025_22_39_34_9640.jpg
/home/pi/Desktop/images/17122025/22/39/image_17122025_22_39_44_9595.jpg
/home/pi/Desktop/images/17122025/22/39/image_17122025_22_39_55_10702.jpg
/home/pi/Desktop/images/17122025/22/40/image_17122025_22_40_15_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":["1399843286","1399843104","1399843243","1399843117","1399843155","1399843199"],"photo_ids_order":["1399843104","1399843117","1399843155","1399843199","1399843243","1399843286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c1e397e794b7f69c58797278802350e2.jpg","text":"TemporaryFile(/tmp/multipartBody3403053946538911827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007683470,"filename":"image_17122025_22_40_15_10054.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc0ac333bf8ac48e91364a5869bfc05a.jpg","text":"TemporaryFile(/tmp/multipartBody4873784475238966976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007683470,"filename":"image_17122025_22_38_54_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46feeb5db796a526016ec48bc2000143.jpg","text":"TemporaryFile(/tmp/multipartBody1251370602867593221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007683470,"filename":"image_17122025_22_39_55_10702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/39ee6b0c6952688581e11238deddbbb9.jpg","text":"TemporaryFile(/tmp/multipartBody3164540135051250845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007683470,"filename":"image_17122025_22_39_04_9838.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ecdd8119ff802706329077ae2ee7e077.jpg","text":"TemporaryFile(/tmp/multipartBody8889606841004763784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007683470,"filename":"image_17122025_22_39_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4553f2df82bd43aea18e7637ecebe521.jpg","text":"TemporaryFile(/tmp/multipartBody8128354183851780338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007683470,"filename":"image_17122025_22_39_44_9595.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399843155","file1":"1399843117","file0":"1399843104","file4":"1399843243","file5":"1399843286","file3":"1399843199"},"map_files_photo_id_array":[{"photo_id":"1399843286","filename":"file5"},{"photo_id":"1399843155","filename":"file2"},{"photo_id":"1399843243","filename":"file4"},{"photo_id":"1399843117","filename":"file1"},{"photo_id":"1399843104","filename":"file0"},{"photo_id":"1399843199","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399843286":["hashtag1","hashtag2"]},{"1399843104":["hashtag1","hashtag2"]},{"1399843243":["hashtag1","hashtag2"]},{"1399843117":["hashtag1","hashtag2"]},{"1399843155":["hashtag1","hashtag2"]},{"1399843199":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399843286, 1399843104, 1399843243, 1399843117, 1399843155, 1399843199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.24648070335388 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:41:02.717248
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:41:11.947192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:41:21.990835
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/40/image_17122025_22_40_35_9792.jpg', '/home/pi/Desktop/images/17122025/22/40/image_17122025_22_41_05_10581.jpg', '/home/pi/Desktop/images/17122025/22/41/image_17122025_22_41_25_9783.jpg', '/home/pi/Desktop/images/17122025/22/41/image_17122025_22_41_36_10715.jpg', '/home/pi/Desktop/images/17122025/22/41/image_17122025_22_41_45_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/40/image_17122025_22_40_35_9792.jpg
/home/pi/Desktop/images/17122025/22/40/image_17122025_22_41_05_10581.jpg
/home/pi/Desktop/images/17122025/22/41/image_17122025_22_41_25_9783.jpg
/home/pi/Desktop/images/17122025/22/41/image_17122025_22_41_36_10715.jpg
/home/pi/Desktop/images/17122025/22/41/image_17122025_22_41_45_9635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399843753","1399843599","1399843713","1399843635","1399843673"],"photo_ids_order":["1399843599","1399843635","1399843673","1399843713","1399843753"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f2b302c45e8895e1a952508b6b4dd03e.jpg","text":"TemporaryFile(/tmp/multipartBody1321062633246626658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007742580,"filename":"image_17122025_22_41_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c73705e5f164783c25387493e7b070d6.jpg","text":"TemporaryFile(/tmp/multipartBody312778444864150885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007742580,"filename":"image_17122025_22_40_35_9792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/274faf3eee9de58cbb2a94367c011498.jpg","text":"TemporaryFile(/tmp/multipartBody1040870710199972572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007742580,"filename":"image_17122025_22_41_36_10715.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/717d70b3a9e0238203799f575376bf44.jpg","text":"TemporaryFile(/tmp/multipartBody336868314207695065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007742580,"filename":"image_17122025_22_41_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20c30f1436a90e81307bd63d1be06934.jpg","text":"TemporaryFile(/tmp/multipartBody2886898694615446064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007742580,"filename":"image_17122025_22_41_25_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399843673","file1":"1399843635","file0":"1399843599","file4":"1399843753","file3":"1399843713"},"map_files_photo_id_array":[{"photo_id":"1399843673","filename":"file2"},{"photo_id":"1399843753","filename":"file4"},{"photo_id":"1399843635","filename":"file1"},{"photo_id":"1399843599","filename":"file0"},{"photo_id":"1399843713","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399843753":["hashtag1","hashtag2"]},{"1399843599":["hashtag1","hashtag2"]},{"1399843713":["hashtag1","hashtag2"]},{"1399843635":["hashtag1","hashtag2"]},{"1399843673":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399843753, 1399843599, 1399843713, 1399843635, 1399843673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.0047492980957 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:42:02.782600
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:42:12.253753
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:42:22.368886
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/41/image_17122025_22_41_55_9712.jpg', '/home/pi/Desktop/images/17122025/22/42/image_17122025_22_42_25_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/41/image_17122025_22_41_55_9712.jpg
/home/pi/Desktop/images/17122025/22/42/image_17122025_22_42_25_9631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399844022","1399844019"],"photo_ids_order":["1399844019","1399844022"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ea1fd43ffb3cad80df095b31241cbfb.jpg","text":"TemporaryFile(/tmp/multipartBody6695466461967184020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007802835,"filename":"image_17122025_22_42_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc701e48ba087d7038ce94a14ec95997.jpg","text":"TemporaryFile(/tmp/multipartBody9082133436834553175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007802835,"filename":"image_17122025_22_41_55_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399844022","file0":"1399844019"},"map_files_photo_id_array":[{"photo_id":"1399844022","filename":"file1"},{"photo_id":"1399844019","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399844022":["hashtag1","hashtag2"]},{"1399844019":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399844022, 1399844019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.181331396102905 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:42:42.220626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_44_1595.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_45_1683.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_47_1688.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_49_1671.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_50_1679.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_52_1621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_44_1595.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_45_1683.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_47_1688.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_49_1671.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_50_1679.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_52_1621.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399844240","1399844126","1399844088","1399844202","1399844046","1399844165"],"photo_ids_order":["1399844046","1399844088","1399844126","1399844165","1399844202","1399844240"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f172ce08ba1c6b6b036a12a54a7b9621.jpg","text":"TemporaryFile(/tmp/multipartBody2322181113822421796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007822971,"filename":"image_07112025_21_44_52_1621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fc3774ba1d4c5f084e6db4fdb4c9ea1.jpg","text":"TemporaryFile(/tmp/multipartBody8380295406504920389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007822971,"filename":"image_07112025_21_44_47_1688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ba8b669d016d6219b417a41d7984f6f.jpg","text":"TemporaryFile(/tmp/multipartBody7824163559067270645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007822971,"filename":"image_07112025_21_44_45_1683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5dd8770c9a2434be5f651bb80d63f2ab.jpg","text":"TemporaryFile(/tmp/multipartBody9208025142969406947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007822971,"filename":"image_07112025_21_44_50_1679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/befd441f2ee0488dfcb338fd4523d008.jpg","text":"TemporaryFile(/tmp/multipartBody4415185650359204324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007822971,"filename":"image_07112025_21_44_44_1595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bfcb36fe6555a0686ba529f469046ffb.jpg","text":"TemporaryFile(/tmp/multipartBody3741588914359117760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007822971,"filename":"image_07112025_21_44_49_1671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399844126","file1":"1399844088","file0":"1399844046","file4":"1399844202","file5":"1399844240","file3":"1399844165"},"map_files_photo_id_array":[{"photo_id":"1399844240","filename":"file5"},{"photo_id":"1399844126","filename":"file2"},{"photo_id":"1399844202","filename":"file4"},{"photo_id":"1399844088","filename":"file1"},{"photo_id":"1399844046","filename":"file0"},{"photo_id":"1399844165","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399844240":["hashtag1","hashtag2"]},{"1399844126":["hashtag1","hashtag2"]},{"1399844088":["hashtag1","hashtag2"]},{"1399844202":["hashtag1","hashtag2"]},{"1399844046":["hashtag1","hashtag2"]},{"1399844165":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399844240, 1399844126, 1399844088, 1399844202, 1399844046, 1399844165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.30829477310181 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:43:22.510903
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/42/image_17122025_22_42_35_9786.jpg', '/home/pi/Desktop/images/17122025/22/42/image_17122025_22_43_05_9572.jpg', '/home/pi/Desktop/images/17122025/22/43/image_17122025_22_43_15_10612.jpg', '/home/pi/Desktop/images/17122025/22/43/image_17122025_22_43_25_9675.jpg', '/home/pi/Desktop/images/17122025/22/43/image_17122025_22_43_36_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/42/image_17122025_22_42_35_9786.jpg
/home/pi/Desktop/images/17122025/22/42/image_17122025_22_43_05_9572.jpg
/home/pi/Desktop/images/17122025/22/43/image_17122025_22_43_15_10612.jpg
/home/pi/Desktop/images/17122025/22/43/image_17122025_22_43_25_9675.jpg
/home/pi/Desktop/images/17122025/22/43/image_17122025_22_43_36_10638.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399844662","1399844431","1399844506","1399844591","1399844735"],"photo_ids_order":["1399844431","1399844506","1399844591","1399844662","1399844735"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e90720ab5ca91f5e51e3b9c20414884e.jpg","text":"TemporaryFile(/tmp/multipartBody4579481443280802349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007863111,"filename":"image_17122025_22_43_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b28ec0d3a5fddc6c619cac991d0e1b28.jpg","text":"TemporaryFile(/tmp/multipartBody4260517493475019345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007863111,"filename":"image_17122025_22_42_35_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78033d9baf039823494aca28e715fd26.jpg","text":"TemporaryFile(/tmp/multipartBody1617166000265357040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007863111,"filename":"image_17122025_22_43_05_9572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aace68782530007fec2620caaae03b42.jpg","text":"TemporaryFile(/tmp/multipartBody2308884076722050122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007863111,"filename":"image_17122025_22_43_15_10612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46714e1b4e1df74af0277fd72da06e10.jpg","text":"TemporaryFile(/tmp/multipartBody5963619898849963962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007863111,"filename":"image_17122025_22_43_36_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399844591","file1":"1399844506","file0":"1399844431","file4":"1399844735","file3":"1399844662"},"map_files_photo_id_array":[{"photo_id":"1399844591","filename":"file2"},{"photo_id":"1399844735","filename":"file4"},{"photo_id":"1399844506","filename":"file1"},{"photo_id":"1399844431","filename":"file0"},{"photo_id":"1399844662","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399844662":["hashtag1","hashtag2"]},{"1399844431":["hashtag1","hashtag2"]},{"1399844506":["hashtag1","hashtag2"]},{"1399844591":["hashtag1","hashtag2"]},{"1399844735":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399844662, 1399844431, 1399844506, 1399844591, 1399844735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 31.561122179031372 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:44:03.319933
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:44:12.783182
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:44:22.833528
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/43/image_17122025_22_43_45_9665.jpg', '/home/pi/Desktop/images/17122025/22/44/image_17122025_22_44_25_9763.jpg', '/home/pi/Desktop/images/17122025/22/44/image_17122025_22_44_45_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/43/image_17122025_22_43_45_9665.jpg
/home/pi/Desktop/images/17122025/22/44/image_17122025_22_44_25_9763.jpg
/home/pi/Desktop/images/17122025/22/44/image_17122025_22_44_45_10646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399845229","1399845279","1399845320"],"photo_ids_order":["1399845229","1399845279","1399845320"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1ee00d0062884d6ba699a20bbd20bd2.jpg","text":"TemporaryFile(/tmp/multipartBody5111470250711096373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007923356,"filename":"image_17122025_22_43_45_9665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f6dac050ebba8518f649c60a093f75a0.jpg","text":"TemporaryFile(/tmp/multipartBody6161063171932963530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007923356,"filename":"image_17122025_22_44_25_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b7e618bd2a9303b40ff906ac98d33d29.jpg","text":"TemporaryFile(/tmp/multipartBody5202211964638142627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007923356,"filename":"image_17122025_22_44_45_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399845320","file1":"1399845279","file0":"1399845229"},"map_files_photo_id_array":[{"photo_id":"1399845320","filename":"file2"},{"photo_id":"1399845279","filename":"file1"},{"photo_id":"1399845229","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399845229":["hashtag1","hashtag2"]},{"1399845279":["hashtag1","hashtag2"]},{"1399845320":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399845229, 1399845279, 1399845320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.237854480743408 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:45:02.563314
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:45:12.045584
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:45:21.980084
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_55_2979.jpg', '/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_58_2608.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_02_4402.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_04_1624.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_07_2887.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_13_3685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_55_2979.jpg
/home/pi/Desktop/images/07112025/21/44/image_07112025_21_44_58_2608.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_02_4402.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_04_1624.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_07_2887.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_13_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":["1399845565","1399845567","1399845572","1399845575","1399845569","1399845574"],"photo_ids_order":["1399845565","1399845567","1399845569","1399845572","1399845574","1399845575"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7ef28e7d6d01a41e49aa4404ef607a8.jpg","text":"TemporaryFile(/tmp/multipartBody5137970399521556785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007982763,"filename":"image_07112025_21_44_55_2979.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9bcd4c5f3b5123949839a6b142084b0f.jpg","text":"TemporaryFile(/tmp/multipartBody3894222833303403683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007982763,"filename":"image_07112025_21_44_58_2608.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a6e8c1bba62d3d7b0866d563b387e38.jpg","text":"TemporaryFile(/tmp/multipartBody7743537377238614977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007982763,"filename":"image_07112025_21_45_04_1624.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/564f0e704e47ba3136c555d71f4f880c.jpg","text":"TemporaryFile(/tmp/multipartBody5295436632222721369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007982763,"filename":"image_07112025_21_45_13_3685.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08a4972ca93da314dfc51b6a28c55e90.jpg","text":"TemporaryFile(/tmp/multipartBody7093101086226382691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007982763,"filename":"image_07112025_21_45_02_4402.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bf288968686cd0b70441cf404af9e34f.jpg","text":"TemporaryFile(/tmp/multipartBody7538827030988191098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766007982763,"filename":"image_07112025_21_45_07_2887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399845569","file1":"1399845567","file0":"1399845565","file4":"1399845574","file5":"1399845575","file3":"1399845572"},"map_files_photo_id_array":[{"photo_id":"1399845575","filename":"file5"},{"photo_id":"1399845569","filename":"file2"},{"photo_id":"1399845574","filename":"file4"},{"photo_id":"1399845567","filename":"file1"},{"photo_id":"1399845565","filename":"file0"},{"photo_id":"1399845572","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399845565":["hashtag1","hashtag2"]},{"1399845567":["hashtag1","hashtag2"]},{"1399845572":["hashtag1","hashtag2"]},{"1399845575":["hashtag1","hashtag2"]},{"1399845569":["hashtag1","hashtag2"]},{"1399845574":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399845565, 1399845567, 1399845572, 1399845575, 1399845569, 1399845574)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.39043188095093 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:46:02.649299
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:46:12.104246
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:46:22.278937
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/44/image_17122025_22_44_55_9684.jpg', '/home/pi/Desktop/images/17122025/22/45/image_17122025_22_46_05_9574.jpg', '/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_15_10783.jpg', '/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_25_9627.jpg', '/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_35_9684.jpg', '/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_45_9863.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/44/image_17122025_22_44_55_9684.jpg
/home/pi/Desktop/images/17122025/22/45/image_17122025_22_46_05_9574.jpg
/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_15_10783.jpg
/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_25_9627.jpg
/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_35_9684.jpg
/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_45_9863.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399845757","1399845966","1399845887","1399846064","1399845812","1399846027"],"photo_ids_order":["1399845757","1399845812","1399845887","1399845966","1399846027","1399846064"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/825d39029f121903103615b5ef4bf69c.jpg","text":"TemporaryFile(/tmp/multipartBody957829371356263809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008042908,"filename":"image_17122025_22_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/2025/12/17/1d15aab5086794d84792f71be6259467.jpg","text":"TemporaryFile(/tmp/multipartBody4807312862466370296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008042908,"filename":"image_17122025_22_46_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/689e8f3f44793ccfc65a6dce387d7c16.jpg","text":"TemporaryFile(/tmp/multipartBody4870425608093785595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008042908,"filename":"image_17122025_22_46_15_10783.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bdd1c6b0899b2530343e887f3e1f7b82.jpg","text":"TemporaryFile(/tmp/multipartBody5913369471937048525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008042908,"filename":"image_17122025_22_46_45_9863.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c672412846696670c3d487c3469d54ec.jpg","text":"TemporaryFile(/tmp/multipartBody4964792372626891249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008042908,"filename":"image_17122025_22_46_05_9574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/650fb6ce80b17e49e91f9f48fdadf3b3.jpg","text":"TemporaryFile(/tmp/multipartBody7871459936420347895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008042908,"filename":"image_17122025_22_46_35_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399845887","file1":"1399845812","file0":"1399845757","file4":"1399846027","file5":"1399846064","file3":"1399845966"},"map_files_photo_id_array":[{"photo_id":"1399846064","filename":"file5"},{"photo_id":"1399845887","filename":"file2"},{"photo_id":"1399846027","filename":"file4"},{"photo_id":"1399845812","filename":"file1"},{"photo_id":"1399845757","filename":"file0"},{"photo_id":"1399845966","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399845757":["hashtag1","hashtag2"]},{"1399845966":["hashtag1","hashtag2"]},{"1399845887":["hashtag1","hashtag2"]},{"1399846064":["hashtag1","hashtag2"]},{"1399845812":["hashtag1","hashtag2"]},{"1399846027":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399845757, 1399845966, 1399845887, 1399846064, 1399845812, 1399846027)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.622700929641724 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:47:03.183165
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:47:12.332297
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:47:22.389263
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_55_10637.jpg', '/home/pi/Desktop/images/17122025/22/47/image_17122025_22_47_15_9628.jpg', '/home/pi/Desktop/images/17122025/22/47/image_17122025_22_47_45_9741.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/46/image_17122025_22_46_55_10637.jpg
/home/pi/Desktop/images/17122025/22/47/image_17122025_22_47_15_9628.jpg
/home/pi/Desktop/images/17122025/22/47/image_17122025_22_47_45_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":["1399846528","1399846491","1399846443"],"photo_ids_order":["1399846443","1399846491","1399846528"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce5ca893ca26fc878987b34750640330.jpg","text":"TemporaryFile(/tmp/multipartBody3875570152576694872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008102895,"filename":"image_17122025_22_47_45_9741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/929338eafa192411d7df16f887a2be76.jpg","text":"TemporaryFile(/tmp/multipartBody2587276358262334192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008102895,"filename":"image_17122025_22_47_15_9628.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/40ae85502ce69199494f9a718675c64b.jpg","text":"TemporaryFile(/tmp/multipartBody8022223453527152626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008102895,"filename":"image_17122025_22_46_55_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399846528","file1":"1399846491","file0":"1399846443"},"map_files_photo_id_array":[{"photo_id":"1399846528","filename":"file2"},{"photo_id":"1399846491","filename":"file1"},{"photo_id":"1399846443","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399846528":["hashtag1","hashtag2"]},{"1399846491":["hashtag1","hashtag2"]},{"1399846443":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399846528, 1399846491, 1399846443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.36757779121399 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:48:02.930258
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:48:12.557535
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:48:22.722234
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/47/image_17122025_22_47_55_9732.jpg', '/home/pi/Desktop/images/17122025/22/47/image_17122025_22_48_05_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/47/image_17122025_22_47_55_9732.jpg
/home/pi/Desktop/images/17122025/22/47/image_17122025_22_48_05_10692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399846852","1399846849"],"photo_ids_order":["1399846849","1399846852"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c2046d45f5cb0ef19d58871c4fc1e52.jpg","text":"TemporaryFile(/tmp/multipartBody4216801359662970905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008163197,"filename":"image_17122025_22_48_05_10692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dff6eac3d53b2c59fdc5772343de4b90.jpg","text":"TemporaryFile(/tmp/multipartBody4779897502914103188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008163197,"filename":"image_17122025_22_47_55_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399846852","file0":"1399846849"},"map_files_photo_id_array":[{"photo_id":"1399846852","filename":"file1"},{"photo_id":"1399846849","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399846852":["hashtag1","hashtag2"]},{"1399846849":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399846852, 1399846849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.483018159866333 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:48:42.594411
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_16_3073.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_19_2553.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_27_8105.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_30_3088.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_31_1569.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_36_4314.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_16_3073.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_19_2553.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_27_8105.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_30_3088.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_31_1569.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_36_4314.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399846878","1399846863","1399846866","1399846874","1399846876","1399846870"],"photo_ids_order":["1399846863","1399846866","1399846870","1399846874","1399846876","1399846878"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/392789b11ee2d64613121ff8241d24ce.jpg","text":"TemporaryFile(/tmp/multipartBody4094769194390407693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008183338,"filename":"image_07112025_21_45_36_4314.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24f3b785611071b49b0e6191bcf9b1f3.jpg","text":"TemporaryFile(/tmp/multipartBody3044979677454338917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008183338,"filename":"image_07112025_21_45_16_3073.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eaabf1c070488722dc29fc525f921522.jpg","text":"TemporaryFile(/tmp/multipartBody4800868803942283817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008183338,"filename":"image_07112025_21_45_19_2553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b96dd2113a1bc61e37f128451f5a5701.jpg","text":"TemporaryFile(/tmp/multipartBody3851303892901645053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008183338,"filename":"image_07112025_21_45_30_3088.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c113b55f01d5f66a2b5ca92b3f325c9.jpg","text":"TemporaryFile(/tmp/multipartBody784181132127822876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008183338,"filename":"image_07112025_21_45_31_1569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c35515c2b2d131ff187d6e50f9c908e4.jpg","text":"TemporaryFile(/tmp/multipartBody2474578741330828051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008183338,"filename":"image_07112025_21_45_27_8105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399846870","file1":"1399846866","file0":"1399846863","file4":"1399846876","file5":"1399846878","file3":"1399846874"},"map_files_photo_id_array":[{"photo_id":"1399846878","filename":"file5"},{"photo_id":"1399846870","filename":"file2"},{"photo_id":"1399846876","filename":"file4"},{"photo_id":"1399846866","filename":"file1"},{"photo_id":"1399846863","filename":"file0"},{"photo_id":"1399846874","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399846878":["hashtag1","hashtag2"]},{"1399846863":["hashtag1","hashtag2"]},{"1399846866":["hashtag1","hashtag2"]},{"1399846874":["hashtag1","hashtag2"]},{"1399846876":["hashtag1","hashtag2"]},{"1399846870":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399846878, 1399846863, 1399846866, 1399846874, 1399846876, 1399846870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.12858867645264 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:49:22.071986
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/48/image_17122025_22_48_55_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/48/image_17122025_22_48_55_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399846893"],"photo_id":"1399846893","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c17b2d76b7ab9400fd498f6824a90989.jpg","text":"TemporaryFile(/tmp/multipartBody8722264436364187432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008222504,"filename":"image_17122025_22_48_55_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399846893"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399846893"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.09550929069519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:49:41.920358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_45_8958.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_46_1781.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_48_1699.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_50_1661.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_51_1571.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_53_1830.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_45_8958.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_46_1781.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_48_1699.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_50_1661.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_51_1571.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_53_1830.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399847379","1399847456","1399847165","1399847306","1399847239","1399847512"],"photo_ids_order":["1399847165","1399847239","1399847306","1399847379","1399847456","1399847512"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5729228b8747c4716beddb81c1e4c9c.jpg","text":"TemporaryFile(/tmp/multipartBody2940877312271920308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008242670,"filename":"image_07112025_21_45_50_1661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/892754182008d59912ebde4763685b27.jpg","text":"TemporaryFile(/tmp/multipartBody1926369503393252723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008242670,"filename":"image_07112025_21_45_51_1571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/df6cb8f70306c260b17a67109d1f21aa.jpg","text":"TemporaryFile(/tmp/multipartBody3765731331278213271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008242670,"filename":"image_07112025_21_45_45_8958.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bcde718c65c5632b05e636d249d602fc.jpg","text":"TemporaryFile(/tmp/multipartBody2447580335260877546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008242670,"filename":"image_07112025_21_45_48_1699.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/05fb51a3af7305b39dd5bc7e956dd727.jpg","text":"TemporaryFile(/tmp/multipartBody4986778016302498635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008242670,"filename":"image_07112025_21_45_46_1781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/405971c49f4032d67c5a195e705d85ec.jpg","text":"TemporaryFile(/tmp/multipartBody3658146704768410831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008242670,"filename":"image_07112025_21_45_53_1830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399847306","file1":"1399847239","file0":"1399847165","file4":"1399847456","file5":"1399847512","file3":"1399847379"},"map_files_photo_id_array":[{"photo_id":"1399847512","filename":"file5"},{"photo_id":"1399847306","filename":"file2"},{"photo_id":"1399847456","filename":"file4"},{"photo_id":"1399847239","filename":"file1"},{"photo_id":"1399847165","filename":"file0"},{"photo_id":"1399847379","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399847379":["hashtag1","hashtag2"]},{"1399847456":["hashtag1","hashtag2"]},{"1399847165":["hashtag1","hashtag2"]},{"1399847306":["hashtag1","hashtag2"]},{"1399847239":["hashtag1","hashtag2"]},{"1399847512":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399847379, 1399847456, 1399847165, 1399847306, 1399847239, 1399847512)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10899901390076 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:50:22.219790
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/49/image_17122025_22_49_15_10638.jpg', '/home/pi/Desktop/images/17122025/22/50/image_17122025_22_50_14_10052.jpg', '/home/pi/Desktop/images/17122025/22/50/image_17122025_22_50_24_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/49/image_17122025_22_49_15_10638.jpg
/home/pi/Desktop/images/17122025/22/50/image_17122025_22_50_14_10052.jpg
/home/pi/Desktop/images/17122025/22/50/image_17122025_22_50_24_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399847779","1399847731","1399847691"],"photo_ids_order":["1399847691","1399847731","1399847779"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c6e3b2cfd6db4066ee465c4ae18ff6f.jpg","text":"TemporaryFile(/tmp/multipartBody5488804302552986123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008282728,"filename":"image_17122025_22_50_24_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46d6469d4dd1b9a95472c250d5eee000.jpg","text":"TemporaryFile(/tmp/multipartBody418320057699637302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008282728,"filename":"image_17122025_22_50_14_10052.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e55fc891a9516139b5016b686cdbcafd.jpg","text":"TemporaryFile(/tmp/multipartBody6249058476073339390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008282728,"filename":"image_17122025_22_49_15_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399847779","file1":"1399847731","file0":"1399847691"},"map_files_photo_id_array":[{"photo_id":"1399847779","filename":"file2"},{"photo_id":"1399847731","filename":"file1"},{"photo_id":"1399847691","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399847779":["hashtag1","hashtag2"]},{"1399847731":["hashtag1","hashtag2"]},{"1399847691":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399847779, 1399847731, 1399847691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.094948291778564 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:51:03.052292
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:51:12.515280
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:51:22.389956
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/50/image_17122025_22_50_44_9633.jpg', '/home/pi/Desktop/images/17122025/22/51/image_17122025_22_51_13_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/50/image_17122025_22_50_44_9633.jpg
/home/pi/Desktop/images/17122025/22/51/image_17122025_22_51_13_9620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399848199","1399848202"],"photo_ids_order":["1399848199","1399848202"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1d27b5c9c6d1258a64d323428e81678.jpg","text":"TemporaryFile(/tmp/multipartBody3538332844952123841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008342855,"filename":"image_17122025_22_50_44_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3ed7e91b39a050128a96a8bb8918fd5b.jpg","text":"TemporaryFile(/tmp/multipartBody8064436418950610406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008342855,"filename":"image_17122025_22_51_13_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399848202","file0":"1399848199"},"map_files_photo_id_array":[{"photo_id":"1399848202","filename":"file1"},{"photo_id":"1399848199","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399848199":["hashtag1","hashtag2"]},{"1399848202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399848199, 1399848202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.62738800048828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:51:42.470239
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_55_1640.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_56_1529.jpg', '/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_58_1643.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_01_2632.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_03_2747.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_07_3651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_55_1640.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_56_1529.jpg
/home/pi/Desktop/images/07112025/21/45/image_07112025_21_45_58_1643.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_01_2632.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_03_2747.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_07_3651.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399848213","1399848212","1399848215","1399848209","1399848214","1399848211"],"photo_ids_order":["1399848209","1399848211","1399848212","1399848213","1399848214","1399848215"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e2e2af89d7bdc1b459676f6b9d3fc5e5.jpg","text":"TemporaryFile(/tmp/multipartBody1256749245926076384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008363219,"filename":"image_07112025_21_46_01_2632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c9873e24448d656d66bfddd55da572a5.jpg","text":"TemporaryFile(/tmp/multipartBody5858267931262135324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008363219,"filename":"image_07112025_21_45_58_1643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30e63cde2e386c6000519f775aeff4e9.jpg","text":"TemporaryFile(/tmp/multipartBody5653352215352382922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008363219,"filename":"image_07112025_21_46_07_3651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/37311ec0679e67badd747dfbd021398b.jpg","text":"TemporaryFile(/tmp/multipartBody724265870482975983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008363219,"filename":"image_07112025_21_45_55_1640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/972defa5f2f16110ef525aea1fc414df.jpg","text":"TemporaryFile(/tmp/multipartBody2248715568902006550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008363219,"filename":"image_07112025_21_46_03_2747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c0a8518e36d7dab0c52ced13ea7373da.jpg","text":"TemporaryFile(/tmp/multipartBody7832907909574675705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008363219,"filename":"image_07112025_21_45_56_1529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399848212","file1":"1399848211","file0":"1399848209","file4":"1399848214","file5":"1399848215","file3":"1399848213"},"map_files_photo_id_array":[{"photo_id":"1399848215","filename":"file5"},{"photo_id":"1399848212","filename":"file2"},{"photo_id":"1399848214","filename":"file4"},{"photo_id":"1399848211","filename":"file1"},{"photo_id":"1399848209","filename":"file0"},{"photo_id":"1399848213","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399848213":["hashtag1","hashtag2"]},{"1399848212":["hashtag1","hashtag2"]},{"1399848215":["hashtag1","hashtag2"]},{"1399848209":["hashtag1","hashtag2"]},{"1399848214":["hashtag1","hashtag2"]},{"1399848211":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399848213, 1399848212, 1399848215, 1399848209, 1399848214, 1399848211)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.03562092781067 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:52:22.666024
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/51/image_17122025_22_51_24_10845.jpg', '/home/pi/Desktop/images/17122025/22/52/image_17122025_22_52_34_10408.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/51/image_17122025_22_51_24_10845.jpg
/home/pi/Desktop/images/17122025/22/52/image_17122025_22_52_34_10408.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399848413","1399848490"],"photo_ids_order":["1399848413","1399848490"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c74c516475195a88edce018a7fbcaaa.jpg","text":"TemporaryFile(/tmp/multipartBody3187652360933680527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008403135,"filename":"image_17122025_22_51_24_10845.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/34a534aad67d687f8605551d99317533.jpg","text":"TemporaryFile(/tmp/multipartBody4895013745321990752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008403135,"filename":"image_17122025_22_52_34_10408.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399848490","file0":"1399848413"},"map_files_photo_id_array":[{"photo_id":"1399848490","filename":"file1"},{"photo_id":"1399848413","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399848413":["hashtag1","hashtag2"]},{"1399848490":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399848413, 1399848490)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.961692094802856 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:52:42.642221
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_10_2638.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_13_2940.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_15_2739.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_19_3746.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_24_2611.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_28_3675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_10_2638.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_13_2940.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_15_2739.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_19_3746.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_24_2611.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_28_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":["1399848936","1399848816","1399848722","1399848868","1399848975","1399848771"],"photo_ids_order":["1399848722","1399848771","1399848816","1399848868","1399848936","1399848975"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/35410d2b7853d17b8180294c0261bb1c.jpg","text":"TemporaryFile(/tmp/multipartBody1736315049993977498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008423386,"filename":"image_07112025_21_46_24_2611.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2652d36bf7f95f9e61928b151e55f2c2.jpg","text":"TemporaryFile(/tmp/multipartBody6066267507759618920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008423386,"filename":"image_07112025_21_46_15_2739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/717a5734e4d185376588a56b6e9c929a.jpg","text":"TemporaryFile(/tmp/multipartBody8192079052617116855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008423386,"filename":"image_07112025_21_46_10_2638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef41b7e8d278e9a56f48ebd68b626bc5.jpg","text":"TemporaryFile(/tmp/multipartBody7597697210465235733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008423386,"filename":"image_07112025_21_46_19_3746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/77656efea8089b466a8daffb33b5cde6.jpg","text":"TemporaryFile(/tmp/multipartBody3026159781494009622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008423386,"filename":"image_07112025_21_46_28_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/465542557998bb217055b3fcdc96b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody808078169776487722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008423386,"filename":"image_07112025_21_46_13_2940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399848816","file1":"1399848771","file0":"1399848722","file4":"1399848936","file5":"1399848975","file3":"1399848868"},"map_files_photo_id_array":[{"photo_id":"1399848975","filename":"file5"},{"photo_id":"1399848816","filename":"file2"},{"photo_id":"1399848936","filename":"file4"},{"photo_id":"1399848771","filename":"file1"},{"photo_id":"1399848722","filename":"file0"},{"photo_id":"1399848868","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399848936":["hashtag1","hashtag2"]},{"1399848816":["hashtag1","hashtag2"]},{"1399848722":["hashtag1","hashtag2"]},{"1399848868":["hashtag1","hashtag2"]},{"1399848975":["hashtag1","hashtag2"]},{"1399848771":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399848936, 1399848816, 1399848722, 1399848868, 1399848975, 1399848771)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.19772458076477 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:53:21.932653
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 2 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/52/image_17122025_22_52_54_9630.jpg', '/home/pi/Desktop/images/17122025/22/52/image_17122025_22_53_04_10601.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/52/image_17122025_22_52_54_9630.jpg
/home/pi/Desktop/images/17122025/22/52/image_17122025_22_53_04_10601.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399849193","1399849157"],"photo_ids_order":["1399849157","1399849193"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9c18666e5ae0c68976f8deb5c42d2d03.jpg","text":"TemporaryFile(/tmp/multipartBody7952571860386100215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008462399,"filename":"image_17122025_22_53_04_10601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/593374d075a07535d54ac218a402e7b5.jpg","text":"TemporaryFile(/tmp/multipartBody8107591080204168841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008462399,"filename":"image_17122025_22_52_54_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1399849193","file0":"1399849157"},"map_files_photo_id_array":[{"photo_id":"1399849193","filename":"file1"},{"photo_id":"1399849157","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399849193":["hashtag1","hashtag2"]},{"1399849157":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399849193, 1399849157)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.450535535812378 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:53:41.935731
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_31_2585.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_34_3542.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_37_2627.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_39_2601.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_43_3564.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_46_2632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_31_2585.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_34_3542.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_37_2627.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_39_2601.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_43_3564.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_46_2632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399849427","1399849396","1399849426","1399849321","1399849359","1399849428"],"photo_ids_order":["1399849321","1399849359","1399849396","1399849426","1399849427","1399849428"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/686e85689b2fc4f699ddc84b8e0264d6.jpg","text":"TemporaryFile(/tmp/multipartBody3395007015477551632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008482665,"filename":"image_07112025_21_46_43_3564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db3dd56857da9f8e8668458b0ea89bda.jpg","text":"TemporaryFile(/tmp/multipartBody4220350210824407149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008482665,"filename":"image_07112025_21_46_37_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4da5464a5175c0aa0ad6fabce7b66405.jpg","text":"TemporaryFile(/tmp/multipartBody1181267995028001445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008482665,"filename":"image_07112025_21_46_39_2601.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d8bb7407ee93f1cd9590f044428333af.jpg","text":"TemporaryFile(/tmp/multipartBody1803174036399139565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008482665,"filename":"image_07112025_21_46_31_2585.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/751f9cbaca1bda4db3369d802a4a5f31.jpg","text":"TemporaryFile(/tmp/multipartBody2130577612443202017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008482665,"filename":"image_07112025_21_46_34_3542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/79ddb7b3613adfeb3df623f8a72a5da6.jpg","text":"TemporaryFile(/tmp/multipartBody5767694689776189091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008482665,"filename":"image_07112025_21_46_46_2632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399849396","file1":"1399849359","file0":"1399849321","file4":"1399849427","file5":"1399849428","file3":"1399849426"},"map_files_photo_id_array":[{"photo_id":"1399849428","filename":"file5"},{"photo_id":"1399849396","filename":"file2"},{"photo_id":"1399849427","filename":"file4"},{"photo_id":"1399849359","filename":"file1"},{"photo_id":"1399849321","filename":"file0"},{"photo_id":"1399849426","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399849427":["hashtag1","hashtag2"]},{"1399849396":["hashtag1","hashtag2"]},{"1399849426":["hashtag1","hashtag2"]},{"1399849321":["hashtag1","hashtag2"]},{"1399849359":["hashtag1","hashtag2"]},{"1399849428":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399849427, 1399849396, 1399849426, 1399849321, 1399849359, 1399849428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.85242938995361 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:54:22.200429
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/53/image_17122025_22_53_24_9645.jpg', '/home/pi/Desktop/images/17122025/22/53/image_17122025_22_54_04_10698.jpg', '/home/pi/Desktop/images/17122025/22/54/image_17122025_22_54_14_9790.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/53/image_17122025_22_53_24_9645.jpg
/home/pi/Desktop/images/17122025/22/53/image_17122025_22_54_04_10698.jpg
/home/pi/Desktop/images/17122025/22/54/image_17122025_22_54_14_9790.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399849547","1399849476","1399849629"],"photo_ids_order":["1399849476","1399849547","1399849629"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e70062bb204df42cb32e0bca2e0e509.jpg","text":"TemporaryFile(/tmp/multipartBody3792402250891750054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008522701,"filename":"image_17122025_22_54_04_10698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e175ed38280b820b11e39e08ca9220ea.jpg","text":"TemporaryFile(/tmp/multipartBody359191650599512333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008522701,"filename":"image_17122025_22_53_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c5317e345fbbac9053fe6cfc81832d74.jpg","text":"TemporaryFile(/tmp/multipartBody6919694349744820135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008522701,"filename":"image_17122025_22_54_14_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399849629","file1":"1399849547","file0":"1399849476"},"map_files_photo_id_array":[{"photo_id":"1399849629","filename":"file2"},{"photo_id":"1399849547","filename":"file1"},{"photo_id":"1399849476","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399849547":["hashtag1","hashtag2"]},{"1399849476":["hashtag1","hashtag2"]},{"1399849629":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399849547, 1399849476, 1399849629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.778300523757935 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:55:03.179047
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:55:12.412728
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:55:22.531577
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/54/image_17122025_22_54_54_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/54/image_17122025_22_54_54_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399850169"],"photo_id":"1399850169","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/853fa61de0af0a5f13dc166d7bec437a.jpg","text":"TemporaryFile(/tmp/multipartBody4070669365042021029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008582951,"filename":"image_17122025_22_54_54_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399850169"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399850169"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.348638772964478 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 22:55:42.432953
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_48_2665.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_52_3692.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_55_2788.jpg', '/home/pi/Desktop/images/07112025/21/46/image_07112025_21_47_01_3580.jpg', '/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_04_2657.jpg', '/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_13_2627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_48_2665.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_52_3692.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_46_55_2788.jpg
/home/pi/Desktop/images/07112025/21/46/image_07112025_21_47_01_3580.jpg
/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_04_2657.jpg
/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_13_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":["1399850273","1399850272","1399850275","1399850269","1399850289","1399850274"],"photo_ids_order":["1399850269","1399850272","1399850273","1399850274","1399850275","1399850289"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76bf0bacb82aab565aaf8951b606b2b2.jpg","text":"TemporaryFile(/tmp/multipartBody3884567699009051306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008603205,"filename":"image_07112025_21_46_55_2788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8fe4ae167b1a9c93017e74b5ef6b92c2.jpg","text":"TemporaryFile(/tmp/multipartBody3008967787801027947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008603205,"filename":"image_07112025_21_46_52_3692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddd0ef75869b31fc65d3db6dda9e9948.jpg","text":"TemporaryFile(/tmp/multipartBody159789583727468085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008603205,"filename":"image_07112025_21_47_04_2657.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7cf9a9ecf46b6301e9dd3491f1e6cc9f.jpg","text":"TemporaryFile(/tmp/multipartBody8732874924822290348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008603205,"filename":"image_07112025_21_46_48_2665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a7780f643cacdb0bd8e37829083b149d.jpg","text":"TemporaryFile(/tmp/multipartBody3110384315618950522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008603205,"filename":"image_07112025_21_47_13_2627.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97eb54eadea830fd443fda62af4fe734.jpg","text":"TemporaryFile(/tmp/multipartBody4036247933669894083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008603205,"filename":"image_07112025_21_47_01_3580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399850273","file1":"1399850272","file0":"1399850269","file4":"1399850275","file5":"1399850289","file3":"1399850274"},"map_files_photo_id_array":[{"photo_id":"1399850289","filename":"file5"},{"photo_id":"1399850273","filename":"file2"},{"photo_id":"1399850275","filename":"file4"},{"photo_id":"1399850272","filename":"file1"},{"photo_id":"1399850269","filename":"file0"},{"photo_id":"1399850274","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399850273":["hashtag1","hashtag2"]},{"1399850272":["hashtag1","hashtag2"]},{"1399850275":["hashtag1","hashtag2"]},{"1399850269":["hashtag1","hashtag2"]},{"1399850289":["hashtag1","hashtag2"]},{"1399850274":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399850273, 1399850272, 1399850275, 1399850269, 1399850289, 1399850274)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.07121443748474 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:56:22.753969
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/55/image_17122025_22_55_14_10056.jpg', '/home/pi/Desktop/images/17122025/22/56/image_17122025_22_56_14_9774.jpg', '/home/pi/Desktop/images/17122025/22/56/image_17122025_22_56_25_10758.jpg', '/home/pi/Desktop/images/17122025/22/56/image_17122025_22_56_34_9744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/55/image_17122025_22_55_14_10056.jpg
/home/pi/Desktop/images/17122025/22/56/image_17122025_22_56_14_9774.jpg
/home/pi/Desktop/images/17122025/22/56/image_17122025_22_56_25_10758.jpg
/home/pi/Desktop/images/17122025/22/56/image_17122025_22_56_34_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":["1399850424","1399850453","1399850429","1399850416"],"photo_ids_order":["1399850416","1399850424","1399850429","1399850453"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4084c317e737f610e5b85eb7a8e9315e.jpg","text":"TemporaryFile(/tmp/multipartBody2683283250476270039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008643329,"filename":"image_17122025_22_56_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/42937ab27138999e5a3b9fb6d8a5aa68.jpg","text":"TemporaryFile(/tmp/multipartBody3825219671221752430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008643329,"filename":"image_17122025_22_56_34_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b57c5d7aef5b934d03109b65f8f9d0b9.jpg","text":"TemporaryFile(/tmp/multipartBody8622611067015103071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008643329,"filename":"image_17122025_22_56_25_10758.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3abe230f862c185893d6467b0059ecba.jpg","text":"TemporaryFile(/tmp/multipartBody4350873584553891593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008643329,"filename":"image_17122025_22_55_14_10056.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399850429","file1":"1399850424","file0":"1399850416","file3":"1399850453"},"map_files_photo_id_array":[{"photo_id":"1399850429","filename":"file2"},{"photo_id":"1399850424","filename":"file1"},{"photo_id":"1399850416","filename":"file0"},{"photo_id":"1399850453","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399850424":["hashtag1","hashtag2"]},{"1399850453":["hashtag1","hashtag2"]},{"1399850429":["hashtag1","hashtag2"]},{"1399850416":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399850424, 1399850453, 1399850429, 1399850416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.6203351020813 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:57:02.659160
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 22:57:11.928745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 22:57:22.075376
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/56/image_17122025_22_56_54_9690.jpg', '/home/pi/Desktop/images/17122025/22/56/image_17122025_22_57_04_10741.jpg', '/home/pi/Desktop/images/17122025/22/57/image_17122025_22_57_14_9632.jpg', '/home/pi/Desktop/images/17122025/22/57/image_17122025_22_57_24_9707.jpg', '/home/pi/Desktop/images/17122025/22/57/image_17122025_22_57_34_10635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/56/image_17122025_22_56_54_9690.jpg
/home/pi/Desktop/images/17122025/22/56/image_17122025_22_57_04_10741.jpg
/home/pi/Desktop/images/17122025/22/57/image_17122025_22_57_14_9632.jpg
/home/pi/Desktop/images/17122025/22/57/image_17122025_22_57_24_9707.jpg
/home/pi/Desktop/images/17122025/22/57/image_17122025_22_57_34_10635.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399850502","1399850505","1399850509","1399850499","1399850544"],"photo_ids_order":["1399850499","1399850502","1399850505","1399850509","1399850544"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eedbae2ce3fb85ce989fd74fdf4c5967.jpg","text":"TemporaryFile(/tmp/multipartBody3304194047317536748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008702698,"filename":"image_17122025_22_57_04_10741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0582719abbdb68646d67ffb304ba8da0.jpg","text":"TemporaryFile(/tmp/multipartBody1558072181591928158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008702698,"filename":"image_17122025_22_57_14_9632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2937f8e242f2692402feb2128b9dcd7d.jpg","text":"TemporaryFile(/tmp/multipartBody7012362369139348527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008702698,"filename":"image_17122025_22_57_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aaf0c562666fc6465a57d838c51fdaf1.jpg","text":"TemporaryFile(/tmp/multipartBody2542910332371145976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008702698,"filename":"image_17122025_22_56_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c991251c70595cc254e36a569d0dba9d.jpg","text":"TemporaryFile(/tmp/multipartBody8792406076399758810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008702698,"filename":"image_17122025_22_57_34_10635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399850505","file1":"1399850502","file0":"1399850499","file4":"1399850544","file3":"1399850509"},"map_files_photo_id_array":[{"photo_id":"1399850505","filename":"file2"},{"photo_id":"1399850544","filename":"file4"},{"photo_id":"1399850502","filename":"file1"},{"photo_id":"1399850499","filename":"file0"},{"photo_id":"1399850509","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399850502":["hashtag1","hashtag2"]},{"1399850505":["hashtag1","hashtag2"]},{"1399850509":["hashtag1","hashtag2"]},{"1399850499":["hashtag1","hashtag2"]},{"1399850544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399850502, 1399850505, 1399850509, 1399850499, 1399850544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.14942240715027 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 22:59:03.305290
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/57/image_17122025_22_57_44_9621.jpg', '/home/pi/Desktop/images/17122025/22/57/image_17122025_22_58_04_10696.jpg', '/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_14_9702.jpg', '/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_24_9906.jpg', '/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_34_9693.jpg', '/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_44_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/57/image_17122025_22_57_44_9621.jpg
/home/pi/Desktop/images/17122025/22/57/image_17122025_22_58_04_10696.jpg
/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_14_9702.jpg
/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_24_9906.jpg
/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_34_9693.jpg
/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_44_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399850852","1399850855","1399850849","1399850860","1399850845","1399850841"],"photo_ids_order":["1399850841","1399850845","1399850849","1399850852","1399850855","1399850860"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0e584a5b85bc10eda82c06717d6f711f.jpg","text":"TemporaryFile(/tmp/multipartBody2101208874879665013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008804119,"filename":"image_17122025_22_58_24_9906.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a477d18883ef4513e962e628622f957.jpg","text":"TemporaryFile(/tmp/multipartBody8088639383395775601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008804119,"filename":"image_17122025_22_58_34_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d2aa4086cf2cfc2a8f6b5e382275bb47.jpg","text":"TemporaryFile(/tmp/multipartBody383259181197930692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008804119,"filename":"image_17122025_22_58_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae04194077bbe4e9ddd55a556da741ec.jpg","text":"TemporaryFile(/tmp/multipartBody8302702776849372612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008804119,"filename":"image_17122025_22_58_44_10686.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bef3dd754425cbb37c273cb69b0c2944.jpg","text":"TemporaryFile(/tmp/multipartBody7100857886284267253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008804119,"filename":"image_17122025_22_58_04_10696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa322fd709da6b958461d23119c4f21f.jpg","text":"TemporaryFile(/tmp/multipartBody7852222093156571819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008804119,"filename":"image_17122025_22_57_44_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399850849","file1":"1399850845","file0":"1399850841","file4":"1399850855","file5":"1399850860","file3":"1399850852"},"map_files_photo_id_array":[{"photo_id":"1399850860","filename":"file5"},{"photo_id":"1399850849","filename":"file2"},{"photo_id":"1399850855","filename":"file4"},{"photo_id":"1399850845","filename":"file1"},{"photo_id":"1399850841","filename":"file0"},{"photo_id":"1399850852","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399850852":["hashtag1","hashtag2"]},{"1399850855":["hashtag1","hashtag2"]},{"1399850849":["hashtag1","hashtag2"]},{"1399850860":["hashtag1","hashtag2"]},{"1399850845":["hashtag1","hashtag2"]},{"1399850841":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399850852, 1399850855, 1399850849, 1399850860, 1399850845, 1399850841)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.652607917785645 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:00:03.087745
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_54_9722.jpg', '/home/pi/Desktop/images/17122025/22/58/image_17122025_22_59_04_9716.jpg', '/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_14_10694.jpg', '/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_24_9727.jpg', '/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_44_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/58/image_17122025_22_58_54_9722.jpg
/home/pi/Desktop/images/17122025/22/58/image_17122025_22_59_04_9716.jpg
/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_14_10694.jpg
/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_24_9727.jpg
/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_44_9747.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399850971","1399850886","1399850868","1399850934","1399851006"],"photo_ids_order":["1399850868","1399850886","1399850934","1399850971","1399851006"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/97d851e2a0e7906230e6bf35a26829e6.jpg","text":"TemporaryFile(/tmp/multipartBody7273084772658914230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008863683,"filename":"image_17122025_22_59_24_9727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d1d7ecc47004e3003a207fe6b385ddd.jpg","text":"TemporaryFile(/tmp/multipartBody4091827494569033643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008863683,"filename":"image_17122025_22_59_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1f281498684c6630ceb5512c1cda9278.jpg","text":"TemporaryFile(/tmp/multipartBody6003367574843735225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008863683,"filename":"image_17122025_22_58_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a851f00cde7ef6463002ba54c7924290.jpg","text":"TemporaryFile(/tmp/multipartBody7975169572505746207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008863683,"filename":"image_17122025_22_59_14_10694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52c6b89afedb4dd1de5b0a81cf948171.jpg","text":"TemporaryFile(/tmp/multipartBody1580233274376722461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008863683,"filename":"image_17122025_22_59_44_9747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399850934","file1":"1399850886","file0":"1399850868","file4":"1399851006","file3":"1399850971"},"map_files_photo_id_array":[{"photo_id":"1399850934","filename":"file2"},{"photo_id":"1399851006","filename":"file4"},{"photo_id":"1399850886","filename":"file1"},{"photo_id":"1399850868","filename":"file0"},{"photo_id":"1399850971","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399850971":["hashtag1","hashtag2"]},{"1399850886":["hashtag1","hashtag2"]},{"1399850868":["hashtag1","hashtag2"]},{"1399850934":["hashtag1","hashtag2"]},{"1399851006":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399850971, 1399850886, 1399850868, 1399850934, 1399851006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.795939207077026 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:00:42.539192
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_15_2792.jpg', '/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_21_5600.jpg', '/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_42_9107.jpg', '/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_43_1545.jpg', '/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_54_10217.jpg', '/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_55_1594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_15_2792.jpg
/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_21_5600.jpg
/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_42_9107.jpg
/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_43_1545.jpg
/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_54_10217.jpg
/home/pi/Desktop/images/07112025/21/47/image_07112025_21_47_55_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":["1399851370","1399851250","1399851330","1399851174","1399851216","1399851287"],"photo_ids_order":["1399851174","1399851216","1399851250","1399851287","1399851330","1399851370"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9845d77fb1c60504c56b82cf707f4cee.jpg","text":"TemporaryFile(/tmp/multipartBody2927843095836836588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008903278,"filename":"image_07112025_21_47_55_1594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/22bbe509eaacca55a28e92e1389e69ba.jpg","text":"TemporaryFile(/tmp/multipartBody6204864253960621558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008903278,"filename":"image_07112025_21_47_42_9107.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fb7781ad0cbcadf658940f3cd7c46a0d.jpg","text":"TemporaryFile(/tmp/multipartBody7609828675844859077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008903278,"filename":"image_07112025_21_47_54_10217.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/814ae5f7e6621cb27310957985adf092.jpg","text":"TemporaryFile(/tmp/multipartBody2944545382296346762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008903278,"filename":"image_07112025_21_47_15_2792.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a09763df2408cb28bfe5276f8f10059d.jpg","text":"TemporaryFile(/tmp/multipartBody3171828826451655852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008903278,"filename":"image_07112025_21_47_21_5600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19ac0a3bc9158eb52aed4d0ab6466fe5.jpg","text":"TemporaryFile(/tmp/multipartBody2816303399518260488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008903278,"filename":"image_07112025_21_47_43_1545.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399851250","file1":"1399851216","file0":"1399851174","file4":"1399851330","file5":"1399851370","file3":"1399851287"},"map_files_photo_id_array":[{"photo_id":"1399851370","filename":"file5"},{"photo_id":"1399851250","filename":"file2"},{"photo_id":"1399851330","filename":"file4"},{"photo_id":"1399851216","filename":"file1"},{"photo_id":"1399851174","filename":"file0"},{"photo_id":"1399851287","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399851370":["hashtag1","hashtag2"]},{"1399851250":["hashtag1","hashtag2"]},{"1399851330":["hashtag1","hashtag2"]},{"1399851174":["hashtag1","hashtag2"]},{"1399851216":["hashtag1","hashtag2"]},{"1399851287":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399851370, 1399851250, 1399851330, 1399851174, 1399851216, 1399851287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.55967879295349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:01:22.777202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 5 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_54_10612.jpg', '/home/pi/Desktop/images/17122025/23/00/image_17122025_23_00_14_9640.jpg', '/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_14_9711.jpg', '/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_24_10723.jpg', '/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_34_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_54_10612.jpg
/home/pi/Desktop/images/17122025/23/00/image_17122025_23_00_14_9640.jpg
/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_14_9711.jpg
/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_24_10723.jpg
/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_34_9645.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5043458938598633 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:01:32.857725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:01:42.778816
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_05_9996.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_07_1565.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_09_1810.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_10_1546.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_12_1969.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_15_3115.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_05_9996.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_07_1565.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_09_1810.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_10_1546.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_12_1969.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_15_3115.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399852103","1399851964","1399852305","1399852184","1399852253","1399852037"],"photo_ids_order":["1399851964","1399852037","1399852103","1399852184","1399852253","1399852305"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1a1f067329b882e330b63e8452a9422c.jpg","text":"TemporaryFile(/tmp/multipartBody3488783993973980365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008963534,"filename":"image_07112025_21_48_09_1810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/62503a1949860985af6399d6b33b4af1.jpg","text":"TemporaryFile(/tmp/multipartBody2855538188183176780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008963534,"filename":"image_07112025_21_48_05_9996.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/234defd83a94dfa74253340c55f47aac.jpg","text":"TemporaryFile(/tmp/multipartBody1256445902303661119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008963534,"filename":"image_07112025_21_48_15_3115.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7921cbfcd634ae436a665171681456d4.jpg","text":"TemporaryFile(/tmp/multipartBody8029845154531098516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008963534,"filename":"image_07112025_21_48_10_1546.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c31efc8be34c633b91304a41b0935a82.jpg","text":"TemporaryFile(/tmp/multipartBody7866896949737786381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008963534,"filename":"image_07112025_21_48_12_1969.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae2dd96bae6a8ce375cbaf429c49fcf9.jpg","text":"TemporaryFile(/tmp/multipartBody7726152707866875583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766008963534,"filename":"image_07112025_21_48_07_1565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399852103","file1":"1399852037","file0":"1399851964","file4":"1399852253","file5":"1399852305","file3":"1399852184"},"map_files_photo_id_array":[{"photo_id":"1399852305","filename":"file5"},{"photo_id":"1399852103","filename":"file2"},{"photo_id":"1399852253","filename":"file4"},{"photo_id":"1399852037","filename":"file1"},{"photo_id":"1399851964","filename":"file0"},{"photo_id":"1399852184","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399852103":["hashtag1","hashtag2"]},{"1399851964":["hashtag1","hashtag2"]},{"1399852305":["hashtag1","hashtag2"]},{"1399852184":["hashtag1","hashtag2"]},{"1399852253":["hashtag1","hashtag2"]},{"1399852037":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399852103, 1399851964, 1399852305, 1399852184, 1399852253, 1399852037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.242138147354126 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:02:22.064922
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_54_10612.jpg', '/home/pi/Desktop/images/17122025/23/00/image_17122025_23_00_14_9640.jpg', '/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_14_9711.jpg', '/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_24_10723.jpg', '/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_34_9645.jpg', '/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_54_9814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/22/59/image_17122025_22_59_54_10612.jpg
/home/pi/Desktop/images/17122025/23/00/image_17122025_23_00_14_9640.jpg
/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_14_9711.jpg
/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_24_10723.jpg
/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_34_9645.jpg
/home/pi/Desktop/images/17122025/23/01/image_17122025_23_01_54_9814.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399852591","1399852517","1399852471","1399852638","1399852551","1399852433"],"photo_ids_order":["1399852433","1399852471","1399852517","1399852551","1399852591","1399852638"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc36a88c21d3d4a775f05f6eefeb6578.jpg","text":"TemporaryFile(/tmp/multipartBody6828887085132272314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009002682,"filename":"image_17122025_23_01_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b81cf314126d29cee83a2448b1b4b797.jpg","text":"TemporaryFile(/tmp/multipartBody3282623588599327148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009002682,"filename":"image_17122025_23_01_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1dd3bdc3b4d352f1b211bea284472dc9.jpg","text":"TemporaryFile(/tmp/multipartBody8216081775336483362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009002682,"filename":"image_17122025_23_00_14_9640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1632f4e3d59dca73b4e9fae5c68ee562.jpg","text":"TemporaryFile(/tmp/multipartBody5662793664846807862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009002682,"filename":"image_17122025_23_01_54_9814.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a03c566d48d4e86e8458e6bac2f90cc.jpg","text":"TemporaryFile(/tmp/multipartBody7536575469684210680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009002682,"filename":"image_17122025_23_01_24_10723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95a6dba99fb26cf7b0a8dc90b14e17c8.jpg","text":"TemporaryFile(/tmp/multipartBody3611811999971708053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009002682,"filename":"image_17122025_22_59_54_10612.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399852517","file1":"1399852471","file0":"1399852433","file4":"1399852591","file5":"1399852638","file3":"1399852551"},"map_files_photo_id_array":[{"photo_id":"1399852638","filename":"file5"},{"photo_id":"1399852517","filename":"file2"},{"photo_id":"1399852591","filename":"file4"},{"photo_id":"1399852471","filename":"file1"},{"photo_id":"1399852433","filename":"file0"},{"photo_id":"1399852551","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399852591":["hashtag1","hashtag2"]},{"1399852517":["hashtag1","hashtag2"]},{"1399852471":["hashtag1","hashtag2"]},{"1399852638":["hashtag1","hashtag2"]},{"1399852551":["hashtag1","hashtag2"]},{"1399852433":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399852591, 1399852517, 1399852471, 1399852638, 1399852551, 1399852433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.817195415496826 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:03:02.938124
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 1 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/02/image_17122025_23_02_14_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/02/image_17122025_23_02_14_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399852716"],"photo_id":"1399852716","photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0dd09efeb1197a1776a4b5f10e323274.jpg","text":"TemporaryFile(/tmp/multipartBody3032703805527325830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009043388,"filename":"image_17122025_23_02_14_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1399852716"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1399852716"}],"hashtags":[],"portfolio_id":"29484284","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.37731122970581 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:03:22.209771
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 3 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/02/image_17122025_23_02_44_10584.jpg', '/home/pi/Desktop/images/17122025/23/02/image_17122025_23_03_04_9745.jpg', '/home/pi/Desktop/images/17122025/23/03/image_17122025_23_03_44_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/02/image_17122025_23_02_44_10584.jpg
/home/pi/Desktop/images/17122025/23/02/image_17122025_23_03_04_9745.jpg
/home/pi/Desktop/images/17122025/23/03/image_17122025_23_03_44_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":["1399852726","1399852764","1399852719"],"photo_ids_order":["1399852719","1399852726","1399852764"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/64ef167647a810a87be0ea130847c067.jpg","text":"TemporaryFile(/tmp/multipartBody1543609321413014132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009062707,"filename":"image_17122025_23_03_04_9745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02853dbb5458cbf6f5567c3496ea6f86.jpg","text":"TemporaryFile(/tmp/multipartBody6577287549096831561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009062707,"filename":"image_17122025_23_03_44_10681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7ca47ffcbbea028174718931267f1b21.jpg","text":"TemporaryFile(/tmp/multipartBody6003332582060176558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009062707,"filename":"image_17122025_23_02_44_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399852764","file1":"1399852726","file0":"1399852719"},"map_files_photo_id_array":[{"photo_id":"1399852764","filename":"file2"},{"photo_id":"1399852726","filename":"file1"},{"photo_id":"1399852719","filename":"file0"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399852726":["hashtag1","hashtag2"]},{"1399852764":["hashtag1","hashtag2"]},{"1399852719":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399852726, 1399852764, 1399852719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.152157306671143 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:04:03.074797
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:04:12.534806
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:04:22.518587
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 4 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/03/image_17122025_23_03_54_9754.jpg', '/home/pi/Desktop/images/17122025/23/04/image_17122025_23_04_24_9913.jpg', '/home/pi/Desktop/images/17122025/23/04/image_17122025_23_04_34_9580.jpg', '/home/pi/Desktop/images/17122025/23/04/image_17122025_23_04_45_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/03/image_17122025_23_03_54_9754.jpg
/home/pi/Desktop/images/17122025/23/04/image_17122025_23_04_24_9913.jpg
/home/pi/Desktop/images/17122025/23/04/image_17122025_23_04_34_9580.jpg
/home/pi/Desktop/images/17122025/23/04/image_17122025_23_04_45_10652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399853886","1399853803","1399853987","1399853947"],"photo_ids_order":["1399853803","1399853886","1399853947","1399853987"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/497963c14e23f2d230f7acfc7c81f2bb.jpg","text":"TemporaryFile(/tmp/multipartBody1265043969428761012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009123091,"filename":"image_17122025_23_04_24_9913.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d7337f3f10da00f1b5f2b29cd01f20b5.jpg","text":"TemporaryFile(/tmp/multipartBody3431733013816872457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009123091,"filename":"image_17122025_23_03_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87731bd46aba2dc96943699dc92db386.jpg","text":"TemporaryFile(/tmp/multipartBody1013620804203847529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009123091,"filename":"image_17122025_23_04_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cc799554ca85e68272f0e05e8cafb6e.jpg","text":"TemporaryFile(/tmp/multipartBody6859228213667220811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009123091,"filename":"image_17122025_23_04_34_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399853947","file1":"1399853886","file0":"1399853803","file3":"1399853987"},"map_files_photo_id_array":[{"photo_id":"1399853947","filename":"file2"},{"photo_id":"1399853886","filename":"file1"},{"photo_id":"1399853803","filename":"file0"},{"photo_id":"1399853987","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399853886":["hashtag1","hashtag2"]},{"1399853803":["hashtag1","hashtag2"]},{"1399853987":["hashtag1","hashtag2"]},{"1399853947":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399853886, 1399853803, 1399853987, 1399853947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.640170335769653 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:05:03.337907
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:05:12.701328
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:05:22.772001
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/04/image_17122025_23_04_54_9837.jpg', '/home/pi/Desktop/images/17122025/23/04/image_17122025_23_05_04_9649.jpg', '/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_14_9616.jpg', '/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_24_10682.jpg', '/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_34_9676.jpg', '/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_44_9920.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/04/image_17122025_23_04_54_9837.jpg
/home/pi/Desktop/images/17122025/23/04/image_17122025_23_05_04_9649.jpg
/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_14_9616.jpg
/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_24_10682.jpg
/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_34_9676.jpg
/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_44_9920.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399854390","1399854304","1399854381","1399854342","1399854218","1399854259"],"photo_ids_order":["1399854218","1399854259","1399854304","1399854342","1399854381","1399854390"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1e7ad984c578a7e7edd7a2ce4ae1a585.jpg","text":"TemporaryFile(/tmp/multipartBody4592704276993283177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009183386,"filename":"image_17122025_23_05_44_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93e4ad91cb2f71b470e834e2fb84dd61.jpg","text":"TemporaryFile(/tmp/multipartBody4400081021196613085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009183386,"filename":"image_17122025_23_05_14_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65a1ebfaeefe5739f674f30ea0d3c862.jpg","text":"TemporaryFile(/tmp/multipartBody3722053529761612618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009183386,"filename":"image_17122025_23_05_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27402c03013f408b08015d6221c7ed0a.jpg","text":"TemporaryFile(/tmp/multipartBody7585408563910935697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009183386,"filename":"image_17122025_23_05_24_10682.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be4f7431014df0fb80f0d63151c72c15.jpg","text":"TemporaryFile(/tmp/multipartBody4513160605693116531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009183386,"filename":"image_17122025_23_04_54_9837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3f575f2500bbe82d90fa750e02e3a3b.jpg","text":"TemporaryFile(/tmp/multipartBody712632539097214617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009183386,"filename":"image_17122025_23_05_04_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399854304","file1":"1399854259","file0":"1399854218","file4":"1399854381","file5":"1399854390","file3":"1399854342"},"map_files_photo_id_array":[{"photo_id":"1399854390","filename":"file5"},{"photo_id":"1399854304","filename":"file2"},{"photo_id":"1399854381","filename":"file4"},{"photo_id":"1399854259","filename":"file1"},{"photo_id":"1399854218","filename":"file0"},{"photo_id":"1399854342","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399854390":["hashtag1","hashtag2"]},{"1399854304":["hashtag1","hashtag2"]},{"1399854381":["hashtag1","hashtag2"]},{"1399854342":["hashtag1","hashtag2"]},{"1399854218":["hashtag1","hashtag2"]},{"1399854259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399854390, 1399854304, 1399854381, 1399854342, 1399854218, 1399854259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36682200431824 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:06:02.309626
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:06:11.874510
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:06:21.951828
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_54_9748.jpg', '/home/pi/Desktop/images/17122025/23/05/image_17122025_23_06_04_10704.jpg', '/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_14_9919.jpg', '/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_24_9707.jpg', '/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_34_9648.jpg', '/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_44_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/05/image_17122025_23_05_54_9748.jpg
/home/pi/Desktop/images/17122025/23/05/image_17122025_23_06_04_10704.jpg
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_14_9919.jpg
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_24_9707.jpg
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_34_9648.jpg
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_44_10571.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399854474","1399854468","1399854470","1399854464","1399854463","1399854466"],"photo_ids_order":["1399854463","1399854464","1399854466","1399854468","1399854470","1399854474"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/540100aaba3ed360064b6cf362dcae0e.jpg","text":"TemporaryFile(/tmp/multipartBody113473923363408489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009242612,"filename":"image_17122025_23_06_44_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef21f1f83c71173810d224b521df2c45.jpg","text":"TemporaryFile(/tmp/multipartBody8752784160650015635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009242612,"filename":"image_17122025_23_06_24_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb41038bbfa9586c10b556aa7c7cc29e.jpg","text":"TemporaryFile(/tmp/multipartBody2619196165508945943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009242612,"filename":"image_17122025_23_06_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4eda257a5acb5475084c3b85f5b49595.jpg","text":"TemporaryFile(/tmp/multipartBody3412013495625917280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009242612,"filename":"image_17122025_23_06_04_10704.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/506660fe834d24eddf7beb510ab8e82e.jpg","text":"TemporaryFile(/tmp/multipartBody5632829754659011898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009242612,"filename":"image_17122025_23_05_54_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/49f5843e6c63bc1215cc935587bb8a95.jpg","text":"TemporaryFile(/tmp/multipartBody7829669972940174358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009242612,"filename":"image_17122025_23_06_14_9919.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399854466","file1":"1399854464","file0":"1399854463","file4":"1399854470","file5":"1399854474","file3":"1399854468"},"map_files_photo_id_array":[{"photo_id":"1399854474","filename":"file5"},{"photo_id":"1399854466","filename":"file2"},{"photo_id":"1399854470","filename":"file4"},{"photo_id":"1399854464","filename":"file1"},{"photo_id":"1399854463","filename":"file0"},{"photo_id":"1399854468","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399854474":["hashtag1","hashtag2"]},{"1399854468":["hashtag1","hashtag2"]},{"1399854470":["hashtag1","hashtag2"]},{"1399854464":["hashtag1","hashtag2"]},{"1399854463":["hashtag1","hashtag2"]},{"1399854466":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399854474, 1399854468, 1399854470, 1399854464, 1399854463, 1399854466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.4837441444397 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:07:02.825138
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:07:12.347003
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:07:22.190716
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_54_9920.jpg', '/home/pi/Desktop/images/17122025/23/06/image_17122025_23_07_04_9763.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_14_9723.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_24_10650.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_34_9804.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_44_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_54_9920.jpg
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_07_04_9763.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_14_9723.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_24_10650.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_34_9804.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_44_9634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5096776485443115 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:07:32.268801
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:07:42.222100
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_24_8810.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_26_1784.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_39_12802.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_40_1577.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_42_1568.jpg', '/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_43_1653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_24_8810.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_26_1784.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_39_12802.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_40_1577.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_42_1568.jpg
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_43_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":["1399854514","1399854513","1399854569","1399854533","1399854512","1399854515"],"photo_ids_order":["1399854512","1399854513","1399854514","1399854515","1399854533","1399854569"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e496ffc82f11ddfbfb1bb2cbb8266b30.jpg","text":"TemporaryFile(/tmp/multipartBody2958156516337864308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009323069,"filename":"image_07112025_21_48_39_12802.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ff016acab331818107dc63ba06a12fc4.jpg","text":"TemporaryFile(/tmp/multipartBody2733155337514143514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009323069,"filename":"image_07112025_21_48_26_1784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/772b33e08df0234f4f573288f2a5b60f.jpg","text":"TemporaryFile(/tmp/multipartBody5214716786674957500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009323069,"filename":"image_07112025_21_48_43_1653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6cca4e2163788fa3f3ae620b0b32371.jpg","text":"TemporaryFile(/tmp/multipartBody5940665683213903174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009323069,"filename":"image_07112025_21_48_42_1568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b1a32a9c5bb14150f8e5b20883b80ae.jpg","text":"TemporaryFile(/tmp/multipartBody7282490411211101025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009323069,"filename":"image_07112025_21_48_24_8810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ce89a0b5bdd834030cb48bdd404f4867.jpg","text":"TemporaryFile(/tmp/multipartBody4093061075554915319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009323069,"filename":"image_07112025_21_48_40_1577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399854514","file1":"1399854513","file0":"1399854512","file4":"1399854533","file5":"1399854569","file3":"1399854515"},"map_files_photo_id_array":[{"photo_id":"1399854569","filename":"file5"},{"photo_id":"1399854514","filename":"file2"},{"photo_id":"1399854533","filename":"file4"},{"photo_id":"1399854513","filename":"file1"},{"photo_id":"1399854512","filename":"file0"},{"photo_id":"1399854515","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399854514":["hashtag1","hashtag2"]},{"1399854513":["hashtag1","hashtag2"]},{"1399854569":["hashtag1","hashtag2"]},{"1399854533":["hashtag1","hashtag2"]},{"1399854512":["hashtag1","hashtag2"]},{"1399854515":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399854514, 1399854513, 1399854569, 1399854533, 1399854512, 1399854515)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.465293169021606 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:08:22.536904
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_54_9920.jpg', '/home/pi/Desktop/images/17122025/23/06/image_17122025_23_07_04_9763.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_14_9723.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_24_10650.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_34_9804.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_44_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_54_9920.jpg
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_07_04_9763.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_14_9723.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_24_10650.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_34_9804.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_44_9634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.5097918510437012 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:08:32.502276
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:08:42.457058
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_59_15698.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_07_3026.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_14_3069.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_16_2605.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_19_2621.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_23_3764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/48/image_07112025_21_48_59_15698.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_07_3026.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_14_3069.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_16_2605.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_19_2621.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_23_3764.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399854978","1399855014","1399854906","1399855061","1399854866","1399854943"],"photo_ids_order":["1399854866","1399854906","1399854943","1399854978","1399855014","1399855061"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cd2751e4daae74c3b5d5c35e6c8e703.jpg","text":"TemporaryFile(/tmp/multipartBody455379565376468288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009383236,"filename":"image_07112025_21_50_16_2605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f5003b5bbaed686ff04b6f4a4ee75d96.jpg","text":"TemporaryFile(/tmp/multipartBody7455946547712294166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009383236,"filename":"image_07112025_21_50_19_2621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2cd8d8e9ab9f474921b5605c4587ec29.jpg","text":"TemporaryFile(/tmp/multipartBody8059265841174018229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009383236,"filename":"image_07112025_21_50_07_3026.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/73a6d2872a710190cc55fa970a9343f3.jpg","text":"TemporaryFile(/tmp/multipartBody6602981808270778901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009383236,"filename":"image_07112025_21_50_23_3764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9adc96274f99c56fadabb057cf78cc02.jpg","text":"TemporaryFile(/tmp/multipartBody8290730191703269411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009383236,"filename":"image_07112025_21_48_59_15698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9fc07f651c1d05bb1a246e2c83d092cf.jpg","text":"TemporaryFile(/tmp/multipartBody1231539869461472745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009383236,"filename":"image_07112025_21_50_14_3069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399854943","file1":"1399854906","file0":"1399854866","file4":"1399855014","file5":"1399855061","file3":"1399854978"},"map_files_photo_id_array":[{"photo_id":"1399855061","filename":"file5"},{"photo_id":"1399854943","filename":"file2"},{"photo_id":"1399855014","filename":"file4"},{"photo_id":"1399854906","filename":"file1"},{"photo_id":"1399854866","filename":"file0"},{"photo_id":"1399854978","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399854978":["hashtag1","hashtag2"]},{"1399855014":["hashtag1","hashtag2"]},{"1399854906":["hashtag1","hashtag2"]},{"1399855061":["hashtag1","hashtag2"]},{"1399854866":["hashtag1","hashtag2"]},{"1399854943":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399854978, 1399855014, 1399854906, 1399855061, 1399854866, 1399854943)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.38506746292114 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:09:22.777109
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_54_9920.jpg', '/home/pi/Desktop/images/17122025/23/06/image_17122025_23_07_04_9763.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_14_9723.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_24_10650.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_34_9804.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_44_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_06_54_9920.jpg
/home/pi/Desktop/images/17122025/23/06/image_17122025_23_07_04_9763.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_14_9723.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_24_10650.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_34_9804.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_44_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":["1399855275","1399855236","1399855388","1399855196","1399855349","1399855313"],"photo_ids_order":["1399855196","1399855236","1399855275","1399855313","1399855349","1399855388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/902246e5022e2ae70cc97cacc860d13f.jpg","text":"TemporaryFile(/tmp/multipartBody2234892482959474511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009423459,"filename":"image_17122025_23_07_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1b810afddab031c76732006aa3f2306c.jpg","text":"TemporaryFile(/tmp/multipartBody2461733175739704203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009423459,"filename":"image_17122025_23_07_04_9763.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5a274e4e04027086e1bc8080ee07b98.jpg","text":"TemporaryFile(/tmp/multipartBody9100436177999205827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009423459,"filename":"image_17122025_23_07_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c63757d92e15eecdacfa1a693a92d60.jpg","text":"TemporaryFile(/tmp/multipartBody4151318850383401236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009423459,"filename":"image_17122025_23_06_54_9920.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebe3799459b11e1adb45ddea81cddfbd.jpg","text":"TemporaryFile(/tmp/multipartBody2160235410958928898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009423459,"filename":"image_17122025_23_07_34_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d77a48604e4bd17c52eb543199d11ec0.jpg","text":"TemporaryFile(/tmp/multipartBody8491910328532879310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009423459,"filename":"image_17122025_23_07_24_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399855275","file1":"1399855236","file0":"1399855196","file4":"1399855349","file5":"1399855388","file3":"1399855313"},"map_files_photo_id_array":[{"photo_id":"1399855388","filename":"file5"},{"photo_id":"1399855275","filename":"file2"},{"photo_id":"1399855349","filename":"file4"},{"photo_id":"1399855236","filename":"file1"},{"photo_id":"1399855196","filename":"file0"},{"photo_id":"1399855313","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399855275":["hashtag1","hashtag2"]},{"1399855236":["hashtag1","hashtag2"]},{"1399855388":["hashtag1","hashtag2"]},{"1399855196":["hashtag1","hashtag2"]},{"1399855349":["hashtag1","hashtag2"]},{"1399855313":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399855275, 1399855236, 1399855388, 1399855196, 1399855349, 1399855313)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.144752740859985 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:10:02.301943
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_54_10738.jpg', '/home/pi/Desktop/images/17122025/23/07/image_17122025_23_08_04_9831.jpg', '/home/pi/Desktop/images/17122025/23/08/image_17122025_23_08_14_9647.jpg', '/home/pi/Desktop/images/17122025/23/08/image_17122025_23_08_24_9720.jpg', '/home/pi/Desktop/images/17122025/23/08/image_17122025_23_08_44_9700.jpg', '/home/pi/Desktop/images/17122025/23/08/image_17122025_23_08_54_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_07_54_10738.jpg
/home/pi/Desktop/images/17122025/23/07/image_17122025_23_08_04_9831.jpg
/home/pi/Desktop/images/17122025/23/08/image_17122025_23_08_14_9647.jpg
/home/pi/Desktop/images/17122025/23/08/image_17122025_23_08_24_9720.jpg
/home/pi/Desktop/images/17122025/23/08/image_17122025_23_08_44_9700.jpg
/home/pi/Desktop/images/17122025/23/08/image_17122025_23_08_54_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":["1399855500","1399855493","1399855496","1399855498","1399855502","1399855494"],"photo_ids_order":["1399855493","1399855494","1399855496","1399855498","1399855500","1399855502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d58333d3ecc8095b8ca35c63cc4a1ef.jpg","text":"TemporaryFile(/tmp/multipartBody1725667823391334754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009462951,"filename":"image_17122025_23_08_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2af49dcdda717cc99844b4231fe07d74.jpg","text":"TemporaryFile(/tmp/multipartBody5009026359591298968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009462951,"filename":"image_17122025_23_07_54_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fa244095c46988756e471afc2de3ea3e.jpg","text":"TemporaryFile(/tmp/multipartBody1229007087686534594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009462951,"filename":"image_17122025_23_08_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a619db35dc8275f8aa783ab1692dafeb.jpg","text":"TemporaryFile(/tmp/multipartBody7694013425155319872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009462951,"filename":"image_17122025_23_08_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aeeea66e45f09330893200c1c82518a1.jpg","text":"TemporaryFile(/tmp/multipartBody1816325200659674703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009462951,"filename":"image_17122025_23_08_54_9667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/411bfd61fb48b23c5df3368a54362009.jpg","text":"TemporaryFile(/tmp/multipartBody1605889947196987759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009462951,"filename":"image_17122025_23_08_04_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399855496","file1":"1399855494","file0":"1399855493","file4":"1399855500","file5":"1399855502","file3":"1399855498"},"map_files_photo_id_array":[{"photo_id":"1399855502","filename":"file5"},{"photo_id":"1399855496","filename":"file2"},{"photo_id":"1399855500","filename":"file4"},{"photo_id":"1399855494","filename":"file1"},{"photo_id":"1399855493","filename":"file0"},{"photo_id":"1399855498","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399855500":["hashtag1","hashtag2"]},{"1399855493":["hashtag1","hashtag2"]},{"1399855496":["hashtag1","hashtag2"]},{"1399855498":["hashtag1","hashtag2"]},{"1399855502":["hashtag1","hashtag2"]},{"1399855494":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399855500, 1399855493, 1399855496, 1399855498, 1399855502, 1399855494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.35573220252991 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:10:41.877460
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_25_2590.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_28_2809.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_32_3513.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_34_2732.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_37_2654.jpg', '/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_41_3521.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_25_2590.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_28_2809.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_32_3513.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_34_2732.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_37_2654.jpg
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_41_3521.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399855521","1399855509","1399855506","1399855523","1399855516","1399855507"],"photo_ids_order":["1399855506","1399855507","1399855509","1399855516","1399855521","1399855523"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ddf65ca8a9113fabc0ad4d622ef61410.jpg","text":"TemporaryFile(/tmp/multipartBody1867837750936945144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009502621,"filename":"image_07112025_21_50_37_2654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2974b3cde36bafdba2769bbe3366863b.jpg","text":"TemporaryFile(/tmp/multipartBody6839057310639632723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009502621,"filename":"image_07112025_21_50_32_3513.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb86fbbaaa79e4d963340a8ce0590ce1.jpg","text":"TemporaryFile(/tmp/multipartBody6147614446026937172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009502621,"filename":"image_07112025_21_50_25_2590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/325b89c1de777b6f34833f5408d40fa5.jpg","text":"TemporaryFile(/tmp/multipartBody3485608905448656848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009502621,"filename":"image_07112025_21_50_41_3521.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c469fc50c2fcf04b23f5b7158bf2bbb7.jpg","text":"TemporaryFile(/tmp/multipartBody8401015640418945188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009502621,"filename":"image_07112025_21_50_34_2732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b0c28ebde3ec246d2dc1335fc6cfb917.jpg","text":"TemporaryFile(/tmp/multipartBody2451417157234663645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009502621,"filename":"image_07112025_21_50_28_2809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399855509","file1":"1399855507","file0":"1399855506","file4":"1399855521","file5":"1399855523","file3":"1399855516"},"map_files_photo_id_array":[{"photo_id":"1399855523","filename":"file5"},{"photo_id":"1399855509","filename":"file2"},{"photo_id":"1399855521","filename":"file4"},{"photo_id":"1399855507","filename":"file1"},{"photo_id":"1399855506","filename":"file0"},{"photo_id":"1399855516","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399855521":["hashtag1","hashtag2"]},{"1399855509":["hashtag1","hashtag2"]},{"1399855506":["hashtag1","hashtag2"]},{"1399855523":["hashtag1","hashtag2"]},{"1399855516":["hashtag1","hashtag2"]},{"1399855507":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399855521, 1399855509, 1399855506, 1399855523, 1399855516, 1399855507)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.70961236953735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:11:22.113356
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/08/image_17122025_23_09_05_10823.jpg', '/home/pi/Desktop/images/17122025/23/09/image_17122025_23_09_14_9684.jpg', '/home/pi/Desktop/images/17122025/23/09/image_17122025_23_09_24_9622.jpg', '/home/pi/Desktop/images/17122025/23/09/image_17122025_23_09_34_10528.jpg', '/home/pi/Desktop/images/17122025/23/09/image_17122025_23_09_44_9600.jpg', '/home/pi/Desktop/images/17122025/23/09/image_17122025_23_10_04_10794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/08/image_17122025_23_09_05_10823.jpg
/home/pi/Desktop/images/17122025/23/09/image_17122025_23_09_14_9684.jpg
/home/pi/Desktop/images/17122025/23/09/image_17122025_23_09_24_9622.jpg
/home/pi/Desktop/images/17122025/23/09/image_17122025_23_09_34_10528.jpg
/home/pi/Desktop/images/17122025/23/09/image_17122025_23_09_44_9600.jpg
/home/pi/Desktop/images/17122025/23/09/image_17122025_23_10_04_10794.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399855530","1399855701","1399855622","1399855528","1399855738","1399855662"],"photo_ids_order":["1399855528","1399855530","1399855622","1399855662","1399855701","1399855738"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cf02920a5108d13faba90cac09cf7432.jpg","text":"TemporaryFile(/tmp/multipartBody7827767779872848537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009542720,"filename":"image_17122025_23_09_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/327d09e63c4961b0e6d60f3be4127f27.jpg","text":"TemporaryFile(/tmp/multipartBody3670389816909857552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009542720,"filename":"image_17122025_23_09_44_9600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/af217bdea77f25bf0f21e62324021e9d.jpg","text":"TemporaryFile(/tmp/multipartBody4568203473886137058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009542720,"filename":"image_17122025_23_09_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c7a69203bab96fe4e27d793fc47508b.jpg","text":"TemporaryFile(/tmp/multipartBody8934552843444103978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009542720,"filename":"image_17122025_23_09_05_10823.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dfec6b58c52d8de4237a9e0bfbd63a63.jpg","text":"TemporaryFile(/tmp/multipartBody3487895627195129889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009542720,"filename":"image_17122025_23_10_04_10794.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/244df679ba204b0b15026d3c6e678f16.jpg","text":"TemporaryFile(/tmp/multipartBody9056072432657774248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009542720,"filename":"image_17122025_23_09_34_10528.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399855622","file1":"1399855530","file0":"1399855528","file4":"1399855701","file5":"1399855738","file3":"1399855662"},"map_files_photo_id_array":[{"photo_id":"1399855738","filename":"file5"},{"photo_id":"1399855622","filename":"file2"},{"photo_id":"1399855701","filename":"file4"},{"photo_id":"1399855530","filename":"file1"},{"photo_id":"1399855528","filename":"file0"},{"photo_id":"1399855662","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399855530":["hashtag1","hashtag2"]},{"1399855701":["hashtag1","hashtag2"]},{"1399855622":["hashtag1","hashtag2"]},{"1399855528":["hashtag1","hashtag2"]},{"1399855738":["hashtag1","hashtag2"]},{"1399855662":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399855530, 1399855701, 1399855622, 1399855528, 1399855738, 1399855662)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.83479881286621 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:12:12.368518
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:12:22.288130
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_14_9796.jpg', '/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_24_9748.jpg', '/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_34_9748.jpg', '/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_45_10821.jpg', '/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_54_9914.jpg', '/home/pi/Desktop/images/17122025/23/10/image_17122025_23_11_04_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_14_9796.jpg
/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_24_9748.jpg
/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_34_9748.jpg
/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_45_10821.jpg
/home/pi/Desktop/images/17122025/23/10/image_17122025_23_10_54_9914.jpg
/home/pi/Desktop/images/17122025/23/10/image_17122025_23_11_04_9708.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399856033","1399856003","1399856035","1399855975","1399855992","1399856016"],"photo_ids_order":["1399855975","1399855992","1399856003","1399856016","1399856033","1399856035"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/162e142170e98e21d4d2a6cec03d38af.jpg","text":"TemporaryFile(/tmp/multipartBody1329509389087229820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009602901,"filename":"image_17122025_23_10_54_9914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fd40afc907a7dec2376f22fbad2ec73.jpg","text":"TemporaryFile(/tmp/multipartBody3375625052116570969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009602901,"filename":"image_17122025_23_10_34_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e32772a4d9a45353038a0c73ff94a37b.jpg","text":"TemporaryFile(/tmp/multipartBody635046372837231479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009602901,"filename":"image_17122025_23_11_04_9708.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e7b45620978d748d6786698876954a8.jpg","text":"TemporaryFile(/tmp/multipartBody4902071449325340207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009602901,"filename":"image_17122025_23_10_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cf1473a8274e462383188f2a7377a26.jpg","text":"TemporaryFile(/tmp/multipartBody5102274626104010676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009602901,"filename":"image_17122025_23_10_24_9748.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8b536872108a77299a14d46261fb6d1.jpg","text":"TemporaryFile(/tmp/multipartBody7765948711401234234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009602901,"filename":"image_17122025_23_10_45_10821.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856003","file1":"1399855992","file0":"1399855975","file4":"1399856033","file5":"1399856035","file3":"1399856016"},"map_files_photo_id_array":[{"photo_id":"1399856035","filename":"file5"},{"photo_id":"1399856003","filename":"file2"},{"photo_id":"1399856033","filename":"file4"},{"photo_id":"1399855992","filename":"file1"},{"photo_id":"1399855975","filename":"file0"},{"photo_id":"1399856016","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399856033":["hashtag1","hashtag2"]},{"1399856003":["hashtag1","hashtag2"]},{"1399856035":["hashtag1","hashtag2"]},{"1399855975":["hashtag1","hashtag2"]},{"1399855992":["hashtag1","hashtag2"]},{"1399856016":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399856033, 1399856003, 1399856035, 1399855975, 1399855992, 1399856016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80483365058899 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:13:03.182877
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_14_9621.jpg', '/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_24_10661.jpg', '/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_34_9625.jpg', '/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_44_9602.jpg', '/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_54_10745.jpg', '/home/pi/Desktop/images/17122025/23/11/image_17122025_23_12_04_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_14_9621.jpg
/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_24_10661.jpg
/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_34_9625.jpg
/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_44_9602.jpg
/home/pi/Desktop/images/17122025/23/11/image_17122025_23_11_54_10745.jpg
/home/pi/Desktop/images/17122025/23/11/image_17122025_23_12_04_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":["1399856124","1399856099","1399856126","1399856129","1399856122","1399856131"],"photo_ids_order":["1399856099","1399856122","1399856124","1399856126","1399856129","1399856131"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afd74f7512ae72164f5433515f6f6c2c.jpg","text":"TemporaryFile(/tmp/multipartBody6010134410980601582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009643858,"filename":"image_17122025_23_11_34_9625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/58dc8e50fa5f64f021856530b4daf4a5.jpg","text":"TemporaryFile(/tmp/multipartBody9165324291896360506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009643858,"filename":"image_17122025_23_11_14_9621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/470dd1301e42b8d53c60b6494ece3414.jpg","text":"TemporaryFile(/tmp/multipartBody6003129629247882513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009643858,"filename":"image_17122025_23_11_44_9602.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4cce347cc3cc672074a4f876c4d103c8.jpg","text":"TemporaryFile(/tmp/multipartBody5435427741298523431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009643858,"filename":"image_17122025_23_11_54_10745.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59c4afe7e955e778f702e242197cada6.jpg","text":"TemporaryFile(/tmp/multipartBody2982014106359347519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009643858,"filename":"image_17122025_23_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/2025/12/17/9114fdbded659c79ba129e3ad672fc7a.jpg","text":"TemporaryFile(/tmp/multipartBody1000132624805194599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009643858,"filename":"image_17122025_23_12_04_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856124","file1":"1399856122","file0":"1399856099","file4":"1399856129","file5":"1399856131","file3":"1399856126"},"map_files_photo_id_array":[{"photo_id":"1399856131","filename":"file5"},{"photo_id":"1399856124","filename":"file2"},{"photo_id":"1399856129","filename":"file4"},{"photo_id":"1399856122","filename":"file1"},{"photo_id":"1399856099","filename":"file0"},{"photo_id":"1399856126","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399856124":["hashtag1","hashtag2"]},{"1399856099":["hashtag1","hashtag2"]},{"1399856126":["hashtag1","hashtag2"]},{"1399856129":["hashtag1","hashtag2"]},{"1399856122":["hashtag1","hashtag2"]},{"1399856131":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399856124, 1399856099, 1399856126, 1399856129, 1399856122, 1399856131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.28656053543091 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:13:42.572750
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_43_2869.jpg', '/home/pi/Desktop/images/07112025/21/51/image_07112025_21_51_08_1688.jpg', '/home/pi/Desktop/images/07112025/21/51/image_07112025_21_51_09_1591.jpg', '/home/pi/Desktop/images/07112025/21/51/image_07112025_21_51_11_1719.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_08_3011.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_15_2714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/50/image_07112025_21_50_43_2869.jpg
/home/pi/Desktop/images/07112025/21/51/image_07112025_21_51_08_1688.jpg
/home/pi/Desktop/images/07112025/21/51/image_07112025_21_51_09_1591.jpg
/home/pi/Desktop/images/07112025/21/51/image_07112025_21_51_11_1719.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_08_3011.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_15_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":["1399856139","1399856138","1399856135","1399856140","1399856137","1399856136"],"photo_ids_order":["1399856135","1399856136","1399856137","1399856138","1399856139","1399856140"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88844a3f4c23692a7cd6798fbe65bc0d.jpg","text":"TemporaryFile(/tmp/multipartBody4231593688944012379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009683314,"filename":"image_07112025_21_54_08_3011.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/874f631404ffa1967a918b01340d0534.jpg","text":"TemporaryFile(/tmp/multipartBody703509429132723022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009683314,"filename":"image_07112025_21_51_11_1719.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/356bd3dac06f2fcdf89ce6a39409b5f1.jpg","text":"TemporaryFile(/tmp/multipartBody6247144632499739549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009683314,"filename":"image_07112025_21_50_43_2869.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2947c80a1bf37becf88144b9ee5e2153.jpg","text":"TemporaryFile(/tmp/multipartBody6035594236191633616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009683314,"filename":"image_07112025_21_54_15_2714.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/515c944ab37165df11e05d4963a7fccb.jpg","text":"TemporaryFile(/tmp/multipartBody7591764918856407228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009683314,"filename":"image_07112025_21_51_09_1591.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c67ad4aa838644297911fc5581b4a59.jpg","text":"TemporaryFile(/tmp/multipartBody770256270423035736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009683314,"filename":"image_07112025_21_51_08_1688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856137","file1":"1399856136","file0":"1399856135","file4":"1399856139","file5":"1399856140","file3":"1399856138"},"map_files_photo_id_array":[{"photo_id":"1399856140","filename":"file5"},{"photo_id":"1399856137","filename":"file2"},{"photo_id":"1399856139","filename":"file4"},{"photo_id":"1399856136","filename":"file1"},{"photo_id":"1399856135","filename":"file0"},{"photo_id":"1399856138","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399856139":["hashtag1","hashtag2"]},{"1399856138":["hashtag1","hashtag2"]},{"1399856135":["hashtag1","hashtag2"]},{"1399856140":["hashtag1","hashtag2"]},{"1399856137":["hashtag1","hashtag2"]},{"1399856136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399856139, 1399856138, 1399856135, 1399856140, 1399856137, 1399856136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.018096685409546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:14:21.997637
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_14_9587.jpg', '/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_24_10590.jpg', '/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_34_9749.jpg', '/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_44_9649.jpg', '/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_54_10783.jpg', '/home/pi/Desktop/images/17122025/23/12/image_17122025_23_13_04_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_14_9587.jpg
/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_24_10590.jpg
/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_34_9749.jpg
/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_44_9649.jpg
/home/pi/Desktop/images/17122025/23/12/image_17122025_23_12_54_10783.jpg
/home/pi/Desktop/images/17122025/23/12/image_17122025_23_13_04_9854.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399856223","1399856347","1399856263","1399856419","1399856305","1399856382"],"photo_ids_order":["1399856223","1399856263","1399856305","1399856347","1399856382","1399856419"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2579e325e751271862e49d2d1eae1656.jpg","text":"TemporaryFile(/tmp/multipartBody5783114083569641940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009722644,"filename":"image_17122025_23_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/2025/12/17/84792826b33ad37791bd4730cfdf4a1d.jpg","text":"TemporaryFile(/tmp/multipartBody3215777283680579586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009722644,"filename":"image_17122025_23_12_44_9649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/96822e4f6546b3a867f348f5d0a48881.jpg","text":"TemporaryFile(/tmp/multipartBody564716970056175639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009722644,"filename":"image_17122025_23_12_24_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/113b5839782fa92669b5ce7dfc2ebb07.jpg","text":"TemporaryFile(/tmp/multipartBody6892172326604222026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009722644,"filename":"image_17122025_23_13_04_9854.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b476fd79de50e4bb88bca8ad8ebd00c7.jpg","text":"TemporaryFile(/tmp/multipartBody8364637600887131336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009722644,"filename":"image_17122025_23_12_34_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6afe05250c179e6cc5d97481ed90a182.jpg","text":"TemporaryFile(/tmp/multipartBody4006091323073264136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009722644,"filename":"image_17122025_23_12_54_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856305","file1":"1399856263","file0":"1399856223","file4":"1399856382","file5":"1399856419","file3":"1399856347"},"map_files_photo_id_array":[{"photo_id":"1399856419","filename":"file5"},{"photo_id":"1399856305","filename":"file2"},{"photo_id":"1399856382","filename":"file4"},{"photo_id":"1399856263","filename":"file1"},{"photo_id":"1399856223","filename":"file0"},{"photo_id":"1399856347","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399856223":["hashtag1","hashtag2"]},{"1399856347":["hashtag1","hashtag2"]},{"1399856263":["hashtag1","hashtag2"]},{"1399856419":["hashtag1","hashtag2"]},{"1399856305":["hashtag1","hashtag2"]},{"1399856382":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399856223, 1399856347, 1399856263, 1399856419, 1399856305, 1399856382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63305735588074 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:15:02.651703
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_14_9711.jpg', '/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_24_9744.jpg', '/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_34_10709.jpg', '/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_44_9653.jpg', '/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_54_9797.jpg', '/home/pi/Desktop/images/17122025/23/13/image_17122025_23_14_05_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_14_9711.jpg
/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_24_9744.jpg
/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_34_10709.jpg
/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_44_9653.jpg
/home/pi/Desktop/images/17122025/23/13/image_17122025_23_13_54_9797.jpg
/home/pi/Desktop/images/17122025/23/13/image_17122025_23_14_05_10592.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399856543","1399856545","1399856542","1399856541","1399856550","1399856547"],"photo_ids_order":["1399856541","1399856542","1399856543","1399856545","1399856547","1399856550"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4800806710ab12f55cb6429a634ffecb.jpg","text":"TemporaryFile(/tmp/multipartBody759369663140909942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009763330,"filename":"image_17122025_23_13_34_10709.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a1468222823c4635b85a07608aeeb12b.jpg","text":"TemporaryFile(/tmp/multipartBody4596863180660577897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009763330,"filename":"image_17122025_23_13_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2ef8e3268c89dbaf9250fc2f73885492.jpg","text":"TemporaryFile(/tmp/multipartBody8457278416066577373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009763330,"filename":"image_17122025_23_13_24_9744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94ccc816372cc6c8d0e6fbf251c5df42.jpg","text":"TemporaryFile(/tmp/multipartBody5704742874199358514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009763330,"filename":"image_17122025_23_13_14_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/65076c6dc04ec0167bbc85d7d4fe84a6.jpg","text":"TemporaryFile(/tmp/multipartBody5706130830770681238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009763330,"filename":"image_17122025_23_14_05_10592.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/431b2fffcb46522bf49b4e5704ef2508.jpg","text":"TemporaryFile(/tmp/multipartBody5813990032209230923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009763330,"filename":"image_17122025_23_13_54_9797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856543","file1":"1399856542","file0":"1399856541","file4":"1399856547","file5":"1399856550","file3":"1399856545"},"map_files_photo_id_array":[{"photo_id":"1399856550","filename":"file5"},{"photo_id":"1399856543","filename":"file2"},{"photo_id":"1399856547","filename":"file4"},{"photo_id":"1399856542","filename":"file1"},{"photo_id":"1399856541","filename":"file0"},{"photo_id":"1399856545","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399856543":["hashtag1","hashtag2"]},{"1399856545":["hashtag1","hashtag2"]},{"1399856542":["hashtag1","hashtag2"]},{"1399856541":["hashtag1","hashtag2"]},{"1399856550":["hashtag1","hashtag2"]},{"1399856547":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399856543, 1399856545, 1399856542, 1399856541, 1399856550, 1399856547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.111918210983276 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:15:42.127171
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_18_2722.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_21_2980.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_24_3617.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_27_2662.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_29_2635.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_32_2707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_18_2722.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_21_2980.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_24_3617.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_27_2662.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_29_2635.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_32_2707.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":["1399856780","1399856709","1399856651","1399856778","1399856772","1399856745"],"photo_ids_order":["1399856651","1399856709","1399856745","1399856772","1399856778","1399856780"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3fb530aceb2c1f2695c617f844cf4262.jpg","text":"TemporaryFile(/tmp/multipartBody4490914091250297122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009802869,"filename":"image_07112025_21_54_32_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56c43f3f1206947299f7fbadce20ecdf.jpg","text":"TemporaryFile(/tmp/multipartBody7936077976105490671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009802869,"filename":"image_07112025_21_54_21_2980.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4f8522d559f208e8e7b2b60f76f2262.jpg","text":"TemporaryFile(/tmp/multipartBody8639986702748528637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009802869,"filename":"image_07112025_21_54_18_2722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/908e0fdff477a9d9b27d36c8bcf04de5.jpg","text":"TemporaryFile(/tmp/multipartBody2412703171659505478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009802869,"filename":"image_07112025_21_54_29_2635.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a65ac54d35e4160da9553a66bba515f8.jpg","text":"TemporaryFile(/tmp/multipartBody3327185025250449812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009802869,"filename":"image_07112025_21_54_27_2662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c24da2b65ae1443c39262f27255f3916.jpg","text":"TemporaryFile(/tmp/multipartBody4021807701818977052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009802869,"filename":"image_07112025_21_54_24_3617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856745","file1":"1399856709","file0":"1399856651","file4":"1399856778","file5":"1399856780","file3":"1399856772"},"map_files_photo_id_array":[{"photo_id":"1399856780","filename":"file5"},{"photo_id":"1399856745","filename":"file2"},{"photo_id":"1399856778","filename":"file4"},{"photo_id":"1399856709","filename":"file1"},{"photo_id":"1399856651","filename":"file0"},{"photo_id":"1399856772","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399856780":["hashtag1","hashtag2"]},{"1399856709":["hashtag1","hashtag2"]},{"1399856651":["hashtag1","hashtag2"]},{"1399856778":["hashtag1","hashtag2"]},{"1399856772":["hashtag1","hashtag2"]},{"1399856745":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399856780, 1399856709, 1399856651, 1399856778, 1399856772, 1399856745)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.1798369884491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:16:42.385247
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_36_3723.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_46_4801.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_48_1902.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_51_2633.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_57_3696.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_02_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_36_3723.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_46_4801.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_48_1902.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_51_2633.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_57_3696.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_02_2634.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6726517677307129 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:17:03.203746
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_14_9594.jpg', '/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_24_9780.jpg', '/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_35_10605.jpg', '/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_44_9549.jpg', '/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_54_9674.jpg', '/home/pi/Desktop/images/17122025/23/14/image_17122025_23_15_04_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_14_9594.jpg
/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_24_9780.jpg
/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_35_10605.jpg
/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_44_9549.jpg
/home/pi/Desktop/images/17122025/23/14/image_17122025_23_14_54_9674.jpg
/home/pi/Desktop/images/17122025/23/14/image_17122025_23_15_04_10573.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":["1399856804","1399856806","1399856809","1399856800","1399856799","1399856802"],"photo_ids_order":["1399856799","1399856800","1399856802","1399856804","1399856806","1399856809"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8a8dd82bc8bcc2ebaa508f5bd5f46c3.jpg","text":"TemporaryFile(/tmp/multipartBody448678358479608340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009883905,"filename":"image_17122025_23_14_44_9549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c94898ce0c38b10cd5d758929899e010.jpg","text":"TemporaryFile(/tmp/multipartBody1427371989060762350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009883905,"filename":"image_17122025_23_14_54_9674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8666553a9f087342ccb39ba7409452ee.jpg","text":"TemporaryFile(/tmp/multipartBody7492766461001246365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009883905,"filename":"image_17122025_23_15_04_10573.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad4ac637de5686edac57690f958b626b.jpg","text":"TemporaryFile(/tmp/multipartBody9112849220294663545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009883905,"filename":"image_17122025_23_14_24_9780.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/018643741dcd46d0f06887a8ab23293b.jpg","text":"TemporaryFile(/tmp/multipartBody1307956815603910209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009883905,"filename":"image_17122025_23_14_14_9594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7f39f95b533b96fc8c9e8bad7220e7f4.jpg","text":"TemporaryFile(/tmp/multipartBody969739689670905224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009883905,"filename":"image_17122025_23_14_35_10605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856802","file1":"1399856800","file0":"1399856799","file4":"1399856806","file5":"1399856809","file3":"1399856804"},"map_files_photo_id_array":[{"photo_id":"1399856809","filename":"file5"},{"photo_id":"1399856802","filename":"file2"},{"photo_id":"1399856806","filename":"file4"},{"photo_id":"1399856800","filename":"file1"},{"photo_id":"1399856799","filename":"file0"},{"photo_id":"1399856804","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399856804":["hashtag1","hashtag2"]},{"1399856806":["hashtag1","hashtag2"]},{"1399856809":["hashtag1","hashtag2"]},{"1399856800":["hashtag1","hashtag2"]},{"1399856799":["hashtag1","hashtag2"]},{"1399856802":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399856804, 1399856806, 1399856809, 1399856800, 1399856799, 1399856802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.1211473941803 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:18:02.293824
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_14_9617.jpg', '/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_25_10604.jpg', '/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_34_9660.jpg', '/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_44_9721.jpg', '/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_55_10594.jpg', '/home/pi/Desktop/images/17122025/23/15/image_17122025_23_16_04_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_14_9617.jpg
/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_25_10604.jpg
/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_34_9660.jpg
/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_44_9721.jpg
/home/pi/Desktop/images/17122025/23/15/image_17122025_23_15_55_10594.jpg
/home/pi/Desktop/images/17122025/23/15/image_17122025_23_16_04_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":["1399856825","1399856819","1399856822","1399856818","1399856820","1399856817"],"photo_ids_order":["1399856817","1399856818","1399856819","1399856820","1399856822","1399856825"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/513a86402cd49de9976afb97ee52fc3d.jpg","text":"TemporaryFile(/tmp/multipartBody7222331854143186739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009942939,"filename":"image_17122025_23_16_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e5a78db5322725b908a0797c8b0937a4.jpg","text":"TemporaryFile(/tmp/multipartBody2575912919999987769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009942939,"filename":"image_17122025_23_15_34_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bfd9e29f8445cbb35630bea5de9a60cc.jpg","text":"TemporaryFile(/tmp/multipartBody5134954872699060216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009942939,"filename":"image_17122025_23_15_55_10594.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4fe93682ac502ee2bb04dac368aac2c0.jpg","text":"TemporaryFile(/tmp/multipartBody1239110822933982899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009942939,"filename":"image_17122025_23_15_25_10604.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f8f4dd51ebb222199f64981ab2c40366.jpg","text":"TemporaryFile(/tmp/multipartBody6913146150244850637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009942939,"filename":"image_17122025_23_15_44_9721.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c8d740d9ae12470a170779b472030c3a.jpg","text":"TemporaryFile(/tmp/multipartBody8687956414321967934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009942939,"filename":"image_17122025_23_15_14_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856819","file1":"1399856818","file0":"1399856817","file4":"1399856822","file5":"1399856825","file3":"1399856820"},"map_files_photo_id_array":[{"photo_id":"1399856825","filename":"file5"},{"photo_id":"1399856819","filename":"file2"},{"photo_id":"1399856822","filename":"file4"},{"photo_id":"1399856818","filename":"file1"},{"photo_id":"1399856817","filename":"file0"},{"photo_id":"1399856820","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399856825":["hashtag1","hashtag2"]},{"1399856819":["hashtag1","hashtag2"]},{"1399856822":["hashtag1","hashtag2"]},{"1399856818":["hashtag1","hashtag2"]},{"1399856820":["hashtag1","hashtag2"]},{"1399856817":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399856825, 1399856819, 1399856822, 1399856818, 1399856820, 1399856817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.271920919418335 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:18:41.830495
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_36_3723.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_46_4801.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_48_1902.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_51_2633.jpg', '/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_57_3696.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_02_2634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_36_3723.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_46_4801.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_48_1902.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_51_2633.jpg
/home/pi/Desktop/images/07112025/21/54/image_07112025_21_54_57_3696.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_02_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":["1399856870","1399856852","1399856846","1399856849","1399856860","1399856851"],"photo_ids_order":["1399856846","1399856849","1399856851","1399856852","1399856860","1399856870"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5abff898ede2d58d130a1c787f7ad5e9.jpg","text":"TemporaryFile(/tmp/multipartBody1704407971655228911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009982460,"filename":"image_07112025_21_55_02_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1228500f6916d78a1714257d996e4cc9.jpg","text":"TemporaryFile(/tmp/multipartBody3246089541825720453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009982460,"filename":"image_07112025_21_54_51_2633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8285bc98c42f7a62c025071c78363e63.jpg","text":"TemporaryFile(/tmp/multipartBody7328477110062786211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009982460,"filename":"image_07112025_21_54_36_3723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7710b543d60af6d0a1865a9dc6097b48.jpg","text":"TemporaryFile(/tmp/multipartBody6492796874217758570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009982460,"filename":"image_07112025_21_54_46_4801.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a6aed0a44f6226d9723c96dec8776c7.jpg","text":"TemporaryFile(/tmp/multipartBody7926198605233136133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009982460,"filename":"image_07112025_21_54_57_3696.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ab4c5d3c8a784dffd5f670c54fe0afe3.jpg","text":"TemporaryFile(/tmp/multipartBody9216245961455320493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766009982460,"filename":"image_07112025_21_54_48_1902.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856851","file1":"1399856849","file0":"1399856846","file4":"1399856860","file5":"1399856870","file3":"1399856852"},"map_files_photo_id_array":[{"photo_id":"1399856870","filename":"file5"},{"photo_id":"1399856851","filename":"file2"},{"photo_id":"1399856860","filename":"file4"},{"photo_id":"1399856849","filename":"file1"},{"photo_id":"1399856846","filename":"file0"},{"photo_id":"1399856852","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399856870":["hashtag1","hashtag2"]},{"1399856852":["hashtag1","hashtag2"]},{"1399856846":["hashtag1","hashtag2"]},{"1399856849":["hashtag1","hashtag2"]},{"1399856860":["hashtag1","hashtag2"]},{"1399856851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399856870, 1399856852, 1399856846, 1399856849, 1399856860, 1399856851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84051871299744 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:19:22.112142
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_14_9820.jpg', '/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_24_9612.jpg', '/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_34_10707.jpg', '/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_44_9910.jpg', '/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_54_9701.jpg', '/home/pi/Desktop/images/17122025/23/16/image_17122025_23_17_04_9858.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_14_9820.jpg
/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_24_9612.jpg
/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_34_10707.jpg
/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_44_9910.jpg
/home/pi/Desktop/images/17122025/23/16/image_17122025_23_16_54_9701.jpg
/home/pi/Desktop/images/17122025/23/16/image_17122025_23_17_04_9858.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399856884","1399856881","1399856875","1399856889","1399856877","1399856886"],"photo_ids_order":["1399856875","1399856877","1399856881","1399856884","1399856886","1399856889"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7c79e31e07bdbd5171b4cd68dc59c94c.jpg","text":"TemporaryFile(/tmp/multipartBody356641053559399509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010022763,"filename":"image_17122025_23_16_44_9910.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4e6b404d9fa041cc6494edeb163819dc.jpg","text":"TemporaryFile(/tmp/multipartBody8262487897690059988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010022763,"filename":"image_17122025_23_16_34_10707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d162c9354d3e7408a83c530093c74619.jpg","text":"TemporaryFile(/tmp/multipartBody7834496465611188667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010022763,"filename":"image_17122025_23_16_14_9820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2d90b3b11ee281c0bb58659c187f0d1a.jpg","text":"TemporaryFile(/tmp/multipartBody1606347122023833047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010022763,"filename":"image_17122025_23_17_04_9858.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2a7771d73a26d1858b263cf39d09d42c.jpg","text":"TemporaryFile(/tmp/multipartBody8608939871768284149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010022763,"filename":"image_17122025_23_16_24_9612.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/296cc752ffbac69cfcc77d299eb77617.jpg","text":"TemporaryFile(/tmp/multipartBody2776434614896241013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010022763,"filename":"image_17122025_23_16_54_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856881","file1":"1399856877","file0":"1399856875","file4":"1399856886","file5":"1399856889","file3":"1399856884"},"map_files_photo_id_array":[{"photo_id":"1399856889","filename":"file5"},{"photo_id":"1399856881","filename":"file2"},{"photo_id":"1399856886","filename":"file4"},{"photo_id":"1399856877","filename":"file1"},{"photo_id":"1399856875","filename":"file0"},{"photo_id":"1399856884","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399856884":["hashtag1","hashtag2"]},{"1399856881":["hashtag1","hashtag2"]},{"1399856875":["hashtag1","hashtag2"]},{"1399856889":["hashtag1","hashtag2"]},{"1399856877":["hashtag1","hashtag2"]},{"1399856886":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399856884, 1399856881, 1399856875, 1399856889, 1399856877, 1399856886)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 40.06303906440735 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:20:13.780106
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:20:22.344311
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_14_9742.jpg', '/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_25_10914.jpg', '/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_34_9836.jpg', '/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_44_9654.jpg', '/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_54_9690.jpg', '/home/pi/Desktop/images/17122025/23/17/image_17122025_23_18_04_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_14_9742.jpg
/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_25_10914.jpg
/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_34_9836.jpg
/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_44_9654.jpg
/home/pi/Desktop/images/17122025/23/17/image_17122025_23_17_54_9690.jpg
/home/pi/Desktop/images/17122025/23/17/image_17122025_23_18_04_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":["1399856894","1399856906","1399856915","1399856898","1399856901","1399856891"],"photo_ids_order":["1399856891","1399856894","1399856898","1399856901","1399856906","1399856915"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/81b165a821a8300ea6a8efb3294dd6f7.jpg","text":"TemporaryFile(/tmp/multipartBody4835114016470179677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010082933,"filename":"image_17122025_23_17_25_10914.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3e9bed279191dc063c339f61d5325878.jpg","text":"TemporaryFile(/tmp/multipartBody7504109646561470305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010082933,"filename":"image_17122025_23_17_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e4b7fe92859fffe522db588379c9cd3.jpg","text":"TemporaryFile(/tmp/multipartBody7082188511264879339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010082933,"filename":"image_17122025_23_18_04_10667.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/921f730a5de6ee2e0bf230bc814a528f.jpg","text":"TemporaryFile(/tmp/multipartBody6455883855962752283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010082933,"filename":"image_17122025_23_17_34_9836.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6006cdb98645ccb362b2cf8726e9e17d.jpg","text":"TemporaryFile(/tmp/multipartBody6263214371780124923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010082933,"filename":"image_17122025_23_17_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/60c245a90089f3468091907d91296db0.jpg","text":"TemporaryFile(/tmp/multipartBody2328524978678051628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010082933,"filename":"image_17122025_23_17_14_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856898","file1":"1399856894","file0":"1399856891","file4":"1399856906","file5":"1399856915","file3":"1399856901"},"map_files_photo_id_array":[{"photo_id":"1399856915","filename":"file5"},{"photo_id":"1399856898","filename":"file2"},{"photo_id":"1399856906","filename":"file4"},{"photo_id":"1399856894","filename":"file1"},{"photo_id":"1399856891","filename":"file0"},{"photo_id":"1399856901","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399856894":["hashtag1","hashtag2"]},{"1399856906":["hashtag1","hashtag2"]},{"1399856915":["hashtag1","hashtag2"]},{"1399856898":["hashtag1","hashtag2"]},{"1399856901":["hashtag1","hashtag2"]},{"1399856891":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399856894, 1399856906, 1399856915, 1399856898, 1399856901, 1399856891)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.6712167263031 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:21:03.125853
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_14_9784.jpg', '/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_24_9718.jpg', '/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_34_10630.jpg', '/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_44_9663.jpg', '/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_54_9789.jpg', '/home/pi/Desktop/images/17122025/23/18/image_17122025_23_19_04_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_14_9784.jpg
/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_24_9718.jpg
/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_34_10630.jpg
/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_44_9663.jpg
/home/pi/Desktop/images/17122025/23/18/image_17122025_23_18_54_9789.jpg
/home/pi/Desktop/images/17122025/23/18/image_17122025_23_19_04_9650.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399856924","1399856998","1399856956","1399856923","1399856926","1399856928"],"photo_ids_order":["1399856923","1399856924","1399856926","1399856928","1399856956","1399856998"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3c326d6fac787b9cd7968188e37f216.jpg","text":"TemporaryFile(/tmp/multipartBody4155321548194885373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010123780,"filename":"image_17122025_23_18_24_9718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d41581a8002c83497ef91c17b88940b7.jpg","text":"TemporaryFile(/tmp/multipartBody1492203350913430103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010123780,"filename":"image_17122025_23_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/2025/12/17/a3cf51538e3ab17192031350650ea7f8.jpg","text":"TemporaryFile(/tmp/multipartBody6393730009525215974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010123780,"filename":"image_17122025_23_18_54_9789.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0a963bf2ca3d321a2aa2a200a0bca4cf.jpg","text":"TemporaryFile(/tmp/multipartBody2936331924880926248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010123780,"filename":"image_17122025_23_18_14_9784.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a38245a9e72792a006f233f103a1b34b.jpg","text":"TemporaryFile(/tmp/multipartBody2037707420200795802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010123780,"filename":"image_17122025_23_18_34_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8a9b1cd0ca70b4bff29139ac2cd7682.jpg","text":"TemporaryFile(/tmp/multipartBody3945262963486535591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010123780,"filename":"image_17122025_23_18_44_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399856926","file1":"1399856924","file0":"1399856923","file4":"1399856956","file5":"1399856998","file3":"1399856928"},"map_files_photo_id_array":[{"photo_id":"1399856998","filename":"file5"},{"photo_id":"1399856926","filename":"file2"},{"photo_id":"1399856956","filename":"file4"},{"photo_id":"1399856924","filename":"file1"},{"photo_id":"1399856923","filename":"file0"},{"photo_id":"1399856928","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399856924":["hashtag1","hashtag2"]},{"1399856998":["hashtag1","hashtag2"]},{"1399856956":["hashtag1","hashtag2"]},{"1399856923":["hashtag1","hashtag2"]},{"1399856926":["hashtag1","hashtag2"]},{"1399856928":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399856924, 1399856998, 1399856956, 1399856923, 1399856926, 1399856928)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.260417222976685 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:21:42.533358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_05_3058.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_11_2675.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_15_3605.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_18_2705.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_20_2600.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_23_2757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_05_3058.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_11_2675.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_15_3605.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_18_2705.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_20_2600.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_23_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":["1399857134","1399857323","1399857245","1399857208","1399857285","1399857173"],"photo_ids_order":["1399857134","1399857173","1399857208","1399857245","1399857285","1399857323"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/662829e1846051a61c19b0952596df11.jpg","text":"TemporaryFile(/tmp/multipartBody4157741615077993596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010163351,"filename":"image_07112025_21_55_05_3058.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/265d91188b431ef68a7666b77bfacca8.jpg","text":"TemporaryFile(/tmp/multipartBody7055664200405221654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010163351,"filename":"image_07112025_21_55_23_2757.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f3a1e81df853cf084cf25011c168527.jpg","text":"TemporaryFile(/tmp/multipartBody544667754309805840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010163351,"filename":"image_07112025_21_55_18_2705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29ddacd45f30e715962fbf2d755b12bf.jpg","text":"TemporaryFile(/tmp/multipartBody7989922155892167591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010163351,"filename":"image_07112025_21_55_15_3605.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1301f94d5abc355e48206fed9b04eb37.jpg","text":"TemporaryFile(/tmp/multipartBody166696256884987872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010163351,"filename":"image_07112025_21_55_20_2600.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/83f8228536de40419ecd591f4a9599c2.jpg","text":"TemporaryFile(/tmp/multipartBody4012207024403837770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010163351,"filename":"image_07112025_21_55_11_2675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399857208","file1":"1399857173","file0":"1399857134","file4":"1399857285","file5":"1399857323","file3":"1399857245"},"map_files_photo_id_array":[{"photo_id":"1399857323","filename":"file5"},{"photo_id":"1399857208","filename":"file2"},{"photo_id":"1399857285","filename":"file4"},{"photo_id":"1399857173","filename":"file1"},{"photo_id":"1399857134","filename":"file0"},{"photo_id":"1399857245","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399857134":["hashtag1","hashtag2"]},{"1399857323":["hashtag1","hashtag2"]},{"1399857245":["hashtag1","hashtag2"]},{"1399857208":["hashtag1","hashtag2"]},{"1399857285":["hashtag1","hashtag2"]},{"1399857173":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399857134, 1399857323, 1399857245, 1399857208, 1399857285, 1399857173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.2018027305603 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:22:22.789571
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_14_10553.jpg', '/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_24_9771.jpg', '/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_35_10640.jpg', '/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_44_9700.jpg', '/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_54_9629.jpg', '/home/pi/Desktop/images/17122025/23/19/image_17122025_23_20_05_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_14_10553.jpg
/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_24_9771.jpg
/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_35_10640.jpg
/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_44_9700.jpg
/home/pi/Desktop/images/17122025/23/19/image_17122025_23_19_54_9629.jpg
/home/pi/Desktop/images/17122025/23/19/image_17122025_23_20_05_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":["1399857535","1399857544","1399857538","1399857552","1399857468","1399857510"],"photo_ids_order":["1399857468","1399857510","1399857535","1399857538","1399857544","1399857552"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/19eb4930d89f8b0f732d34421d103fe4.jpg","text":"TemporaryFile(/tmp/multipartBody2318570601459949143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010203472,"filename":"image_17122025_23_19_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41ed0e0af1dab68478d7021f6975b61c.jpg","text":"TemporaryFile(/tmp/multipartBody6735983470057698062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010203472,"filename":"image_17122025_23_19_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25262f43b98d64c8bda27eff988f2ebf.jpg","text":"TemporaryFile(/tmp/multipartBody1452049427995510288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010203472,"filename":"image_17122025_23_19_44_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a064d35a69033141f9634206f9abf04.jpg","text":"TemporaryFile(/tmp/multipartBody1080729849835950550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010203472,"filename":"image_17122025_23_20_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/29febe25e827ab2cca2d2c67d8e5f7eb.jpg","text":"TemporaryFile(/tmp/multipartBody6898515651413632072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010203472,"filename":"image_17122025_23_19_14_10553.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d3abd0be55a3b5451417cf55abf6df50.jpg","text":"TemporaryFile(/tmp/multipartBody2392219719794536261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010203472,"filename":"image_17122025_23_19_24_9771.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399857535","file1":"1399857510","file0":"1399857468","file4":"1399857544","file5":"1399857552","file3":"1399857538"},"map_files_photo_id_array":[{"photo_id":"1399857552","filename":"file5"},{"photo_id":"1399857535","filename":"file2"},{"photo_id":"1399857544","filename":"file4"},{"photo_id":"1399857510","filename":"file1"},{"photo_id":"1399857468","filename":"file0"},{"photo_id":"1399857538","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399857535":["hashtag1","hashtag2"]},{"1399857544":["hashtag1","hashtag2"]},{"1399857538":["hashtag1","hashtag2"]},{"1399857552":["hashtag1","hashtag2"]},{"1399857468":["hashtag1","hashtag2"]},{"1399857510":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399857535, 1399857544, 1399857538, 1399857552, 1399857468, 1399857510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.34275531768799 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:23:02.606617
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_14_9614.jpg', '/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_24_9722.jpg', '/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_34_10552.jpg', '/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_44_9479.jpg', '/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_54_9660.jpg', '/home/pi/Desktop/images/17122025/23/20/image_17122025_23_21_04_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_14_9614.jpg
/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_24_9722.jpg
/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_34_10552.jpg
/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_44_9479.jpg
/home/pi/Desktop/images/17122025/23/20/image_17122025_23_20_54_9660.jpg
/home/pi/Desktop/images/17122025/23/20/image_17122025_23_21_04_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":["1399857614","1399857558","1399857654","1399857581","1399857569","1399857560"],"photo_ids_order":["1399857558","1399857560","1399857569","1399857581","1399857614","1399857654"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f03e12b3853f48f97d4d79f779ea100.jpg","text":"TemporaryFile(/tmp/multipartBody3804777285302350155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010243251,"filename":"image_17122025_23_20_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b5d5fb8cafc3b9096f03a5c1b9e15e77.jpg","text":"TemporaryFile(/tmp/multipartBody3235988577689088945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010243251,"filename":"image_17122025_23_20_14_9614.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6f4aa688e2aad1e77e31457c7322ff0a.jpg","text":"TemporaryFile(/tmp/multipartBody5861070568409172931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010243251,"filename":"image_17122025_23_21_04_10733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/861d3ca7d86af276a5861fcca6357b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5862523816682739560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010243251,"filename":"image_17122025_23_20_44_9479.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1fc83a5d416d04dbc20b3667b0dc2a1f.jpg","text":"TemporaryFile(/tmp/multipartBody1526438652119357441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010243251,"filename":"image_17122025_23_20_34_10552.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3192e7099c37bff9129ed0b020d075d6.jpg","text":"TemporaryFile(/tmp/multipartBody4022104613600273184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010243251,"filename":"image_17122025_23_20_24_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399857569","file1":"1399857560","file0":"1399857558","file4":"1399857614","file5":"1399857654","file3":"1399857581"},"map_files_photo_id_array":[{"photo_id":"1399857654","filename":"file5"},{"photo_id":"1399857569","filename":"file2"},{"photo_id":"1399857614","filename":"file4"},{"photo_id":"1399857560","filename":"file1"},{"photo_id":"1399857558","filename":"file0"},{"photo_id":"1399857581","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399857614":["hashtag1","hashtag2"]},{"1399857558":["hashtag1","hashtag2"]},{"1399857654":["hashtag1","hashtag2"]},{"1399857581":["hashtag1","hashtag2"]},{"1399857569":["hashtag1","hashtag2"]},{"1399857560":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399857614, 1399857558, 1399857654, 1399857581, 1399857569, 1399857560)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.352299451828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:23:41.973079
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_27_3779.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_30_2676.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_32_2593.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_36_3756.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_39_2707.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_41_2550.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_27_3779.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_30_2676.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_32_2593.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_36_3756.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_39_2707.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_41_2550.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399857842","1399857824","1399857844","1399857787","1399857874","1399857843"],"photo_ids_order":["1399857787","1399857824","1399857842","1399857843","1399857844","1399857874"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/999da2c4208fac423ece186cb3ebf7b1.jpg","text":"TemporaryFile(/tmp/multipartBody5972220527137607682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010282719,"filename":"image_07112025_21_55_32_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/464e0be373d74372ef93cfaaa48ed01b.jpg","text":"TemporaryFile(/tmp/multipartBody9068263894436382382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010282719,"filename":"image_07112025_21_55_30_2676.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f384ecd61309fd9f7d62f32a7f8b5199.jpg","text":"TemporaryFile(/tmp/multipartBody8708393927677824002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010282719,"filename":"image_07112025_21_55_39_2707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a65900e479c69a68245b2811cdd3269.jpg","text":"TemporaryFile(/tmp/multipartBody3996945289020982689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010282719,"filename":"image_07112025_21_55_27_3779.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a3cfdce02fbec730978b29e9a2e3d12.jpg","text":"TemporaryFile(/tmp/multipartBody3385469784886329428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010282719,"filename":"image_07112025_21_55_41_2550.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8e68484088d2c02c5f3094476cfdc911.jpg","text":"TemporaryFile(/tmp/multipartBody688065993601056729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010282719,"filename":"image_07112025_21_55_36_3756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399857842","file1":"1399857824","file0":"1399857787","file4":"1399857844","file5":"1399857874","file3":"1399857843"},"map_files_photo_id_array":[{"photo_id":"1399857874","filename":"file5"},{"photo_id":"1399857842","filename":"file2"},{"photo_id":"1399857844","filename":"file4"},{"photo_id":"1399857824","filename":"file1"},{"photo_id":"1399857787","filename":"file0"},{"photo_id":"1399857843","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399857842":["hashtag1","hashtag2"]},{"1399857824":["hashtag1","hashtag2"]},{"1399857844":["hashtag1","hashtag2"]},{"1399857787":["hashtag1","hashtag2"]},{"1399857874":["hashtag1","hashtag2"]},{"1399857843":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399857842, 1399857824, 1399857844, 1399857787, 1399857874, 1399857843)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 41.12548828125 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:24:32.293097
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:24:42.361545
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_47_2549.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_50_2741.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_54_3742.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_56_2690.jpg', '/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_59_2533.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_03_3659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_47_2549.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_50_2741.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_54_3742.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_56_2690.jpg
/home/pi/Desktop/images/07112025/21/55/image_07112025_21_55_59_2533.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_03_3659.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399857962","1399857956","1399857958","1399857955","1399857960","1399857959"],"photo_ids_order":["1399857955","1399857956","1399857958","1399857959","1399857960","1399857962"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b04d7db27565c1a1543d0203918c8bb0.jpg","text":"TemporaryFile(/tmp/multipartBody8766765120694347884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010343105,"filename":"image_07112025_21_56_03_3659.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa66e5ce29b52ccbf57a1db5d978cefe.jpg","text":"TemporaryFile(/tmp/multipartBody3247613818699023159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010343105,"filename":"image_07112025_21_55_50_2741.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7511dc7b3d49c3e569ef6930ce2b88df.jpg","text":"TemporaryFile(/tmp/multipartBody4677321202230085556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010343105,"filename":"image_07112025_21_55_54_3742.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/071b4bdfd75d41d82dba0241ef0a262e.jpg","text":"TemporaryFile(/tmp/multipartBody7055243445161248662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010343105,"filename":"image_07112025_21_55_47_2549.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d3697f5bdbe85a4028ac3bfeada6ac8.jpg","text":"TemporaryFile(/tmp/multipartBody7854289971734076105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010343105,"filename":"image_07112025_21_55_59_2533.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/86f363a5a47b1b31ee3e9afeb4857840.jpg","text":"TemporaryFile(/tmp/multipartBody4785535695669233700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010343105,"filename":"image_07112025_21_55_56_2690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399857958","file1":"1399857956","file0":"1399857955","file4":"1399857960","file5":"1399857962","file3":"1399857959"},"map_files_photo_id_array":[{"photo_id":"1399857962","filename":"file5"},{"photo_id":"1399857958","filename":"file2"},{"photo_id":"1399857960","filename":"file4"},{"photo_id":"1399857956","filename":"file1"},{"photo_id":"1399857955","filename":"file0"},{"photo_id":"1399857959","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399857962":["hashtag1","hashtag2"]},{"1399857956":["hashtag1","hashtag2"]},{"1399857958":["hashtag1","hashtag2"]},{"1399857955":["hashtag1","hashtag2"]},{"1399857960":["hashtag1","hashtag2"]},{"1399857959":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399857962, 1399857956, 1399857958, 1399857955, 1399857960, 1399857959)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.020699977874756 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:25:22.713818
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_14_9714.jpg', '/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_24_9670.jpg', '/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_34_10593.jpg', '/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_44_9579.jpg', '/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_55_10673.jpg', '/home/pi/Desktop/images/17122025/23/21/image_17122025_23_22_04_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_14_9714.jpg
/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_24_9670.jpg
/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_34_10593.jpg
/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_44_9579.jpg
/home/pi/Desktop/images/17122025/23/21/image_17122025_23_21_55_10673.jpg
/home/pi/Desktop/images/17122025/23/21/image_17122025_23_22_04_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399857982","1399857979","1399857977","1399857971","1399857974","1399857968"],"photo_ids_order":["1399857968","1399857971","1399857974","1399857977","1399857979","1399857982"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55175cdcb5bd97119b1f7171f39e102c.jpg","text":"TemporaryFile(/tmp/multipartBody612752019822297237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010383352,"filename":"image_17122025_23_22_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/473ee66c5da89b251c5d580c9e0bae6d.jpg","text":"TemporaryFile(/tmp/multipartBody3987623695600463719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010383352,"filename":"image_17122025_23_21_55_10673.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7397402cdcac2d937f5387f8c9ee86f2.jpg","text":"TemporaryFile(/tmp/multipartBody4390903216673287218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010383352,"filename":"image_17122025_23_21_44_9579.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b70e95f09242b61aaa17ec43ddfc85a8.jpg","text":"TemporaryFile(/tmp/multipartBody50628125455237352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010383352,"filename":"image_17122025_23_21_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c8d5c57397065684114b06141630445.jpg","text":"TemporaryFile(/tmp/multipartBody7643049265639182145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010383352,"filename":"image_17122025_23_21_34_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d659c1e8f438db1447129770b68a6a3.jpg","text":"TemporaryFile(/tmp/multipartBody4249347028949717127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010383352,"filename":"image_17122025_23_21_14_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399857974","file1":"1399857971","file0":"1399857968","file4":"1399857979","file5":"1399857982","file3":"1399857977"},"map_files_photo_id_array":[{"photo_id":"1399857982","filename":"file5"},{"photo_id":"1399857974","filename":"file2"},{"photo_id":"1399857979","filename":"file4"},{"photo_id":"1399857971","filename":"file1"},{"photo_id":"1399857968","filename":"file0"},{"photo_id":"1399857977","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399857982":["hashtag1","hashtag2"]},{"1399857979":["hashtag1","hashtag2"]},{"1399857977":["hashtag1","hashtag2"]},{"1399857971":["hashtag1","hashtag2"]},{"1399857974":["hashtag1","hashtag2"]},{"1399857968":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399857982, 1399857979, 1399857977, 1399857971, 1399857974, 1399857968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70654821395874 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:26:02.446324
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/22/image_17122025_23_22_14_9776.jpg', '/home/pi/Desktop/images/17122025/23/22/image_17122025_23_22_34_10617.jpg', '/home/pi/Desktop/images/17122025/23/22/image_17122025_23_22_44_9876.jpg', '/home/pi/Desktop/images/17122025/23/22/image_17122025_23_22_54_9764.jpg', '/home/pi/Desktop/images/17122025/23/22/image_17122025_23_23_04_9879.jpg', '/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_14_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/22/image_17122025_23_22_14_9776.jpg
/home/pi/Desktop/images/17122025/23/22/image_17122025_23_22_34_10617.jpg
/home/pi/Desktop/images/17122025/23/22/image_17122025_23_22_44_9876.jpg
/home/pi/Desktop/images/17122025/23/22/image_17122025_23_22_54_9764.jpg
/home/pi/Desktop/images/17122025/23/22/image_17122025_23_23_04_9879.jpg
/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_14_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":["1399857988","1399857990","1399857993","1399857984","1399857983","1399857986"],"photo_ids_order":["1399857983","1399857984","1399857986","1399857988","1399857990","1399857993"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/da8e2146eb625aca3d54d0fa997728f5.jpg","text":"TemporaryFile(/tmp/multipartBody7740985720863749267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010423051,"filename":"image_17122025_23_22_54_9764.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/24af5158a0e776d852b11e78b9bcaa3a.jpg","text":"TemporaryFile(/tmp/multipartBody5480365948606177663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010423051,"filename":"image_17122025_23_23_04_9879.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2f896588e19839c99ea3d10137ccc1cf.jpg","text":"TemporaryFile(/tmp/multipartBody1626551166871926658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010423051,"filename":"image_17122025_23_23_14_10646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c02aac06a0bd6f0cc2ef080f21a18dca.jpg","text":"TemporaryFile(/tmp/multipartBody3712033669557342438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010423051,"filename":"image_17122025_23_22_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f64c725144667b381e4cba7415a39ff7.jpg","text":"TemporaryFile(/tmp/multipartBody7835997028344248569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010423051,"filename":"image_17122025_23_22_14_9776.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a6c76da0eaf69f19635779d731e583c.jpg","text":"TemporaryFile(/tmp/multipartBody5712980280433996713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010423051,"filename":"image_17122025_23_22_44_9876.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399857986","file1":"1399857984","file0":"1399857983","file4":"1399857990","file5":"1399857993","file3":"1399857988"},"map_files_photo_id_array":[{"photo_id":"1399857993","filename":"file5"},{"photo_id":"1399857986","filename":"file2"},{"photo_id":"1399857990","filename":"file4"},{"photo_id":"1399857984","filename":"file1"},{"photo_id":"1399857983","filename":"file0"},{"photo_id":"1399857988","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399857988":["hashtag1","hashtag2"]},{"1399857990":["hashtag1","hashtag2"]},{"1399857993":["hashtag1","hashtag2"]},{"1399857984":["hashtag1","hashtag2"]},{"1399857983":["hashtag1","hashtag2"]},{"1399857986":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399857988, 1399857990, 1399857993, 1399857984, 1399857983, 1399857986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.0904266834259 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:26:41.961573
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_08_2930.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_11_2762.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_15_3621.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_17_2702.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_20_2683.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_24_3560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_08_2930.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_11_2762.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_15_3621.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_17_2702.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_20_2683.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_24_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":["1399858019","1399858010","1399858012","1399858011","1399858005","1399858020"],"photo_ids_order":["1399858005","1399858010","1399858011","1399858012","1399858019","1399858020"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bc287395a1adfd4e30606ce856859b71.jpg","text":"TemporaryFile(/tmp/multipartBody3216952182780813673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010462699,"filename":"image_07112025_21_56_20_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed8c9212abddf9ee913ba3fbf063ec98.jpg","text":"TemporaryFile(/tmp/multipartBody1505676906615469149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010462699,"filename":"image_07112025_21_56_11_2762.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e314a8bfd589129d8163d5cc4fffe708.jpg","text":"TemporaryFile(/tmp/multipartBody4782247694550792683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010462699,"filename":"image_07112025_21_56_17_2702.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b0af746d112f3f28555aaab625fc7f5.jpg","text":"TemporaryFile(/tmp/multipartBody5236254680287385904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010462699,"filename":"image_07112025_21_56_15_3621.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fc5e56263cece273e100172fbcd54b80.jpg","text":"TemporaryFile(/tmp/multipartBody1906386713883868227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010462699,"filename":"image_07112025_21_56_08_2930.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/41384dcb062a3971dcab355b57866374.jpg","text":"TemporaryFile(/tmp/multipartBody3484706490088367097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010462699,"filename":"image_07112025_21_56_24_3560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858011","file1":"1399858010","file0":"1399858005","file4":"1399858019","file5":"1399858020","file3":"1399858012"},"map_files_photo_id_array":[{"photo_id":"1399858020","filename":"file5"},{"photo_id":"1399858011","filename":"file2"},{"photo_id":"1399858019","filename":"file4"},{"photo_id":"1399858010","filename":"file1"},{"photo_id":"1399858005","filename":"file0"},{"photo_id":"1399858012","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399858019":["hashtag1","hashtag2"]},{"1399858010":["hashtag1","hashtag2"]},{"1399858012":["hashtag1","hashtag2"]},{"1399858011":["hashtag1","hashtag2"]},{"1399858005":["hashtag1","hashtag2"]},{"1399858020":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399858019, 1399858010, 1399858012, 1399858011, 1399858005, 1399858020)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.074568033218384 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:27:22.206194
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_24_9746.jpg', '/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_34_9564.jpg', '/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_44_10544.jpg', '/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_54_9587.jpg', '/home/pi/Desktop/images/17122025/23/23/image_17122025_23_24_04_9754.jpg', '/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_14_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_24_9746.jpg
/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_34_9564.jpg
/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_44_10544.jpg
/home/pi/Desktop/images/17122025/23/23/image_17122025_23_23_54_9587.jpg
/home/pi/Desktop/images/17122025/23/23/image_17122025_23_24_04_9754.jpg
/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_14_10686.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399858031","1399858024","1399858027","1399858032","1399858029","1399858034"],"photo_ids_order":["1399858024","1399858027","1399858029","1399858031","1399858032","1399858034"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/be06b154fab151e46926c3409422d531.jpg","text":"TemporaryFile(/tmp/multipartBody2818398357023944078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010502820,"filename":"image_17122025_23_23_54_9587.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/52a324747a338ea134976030e19aa3dd.jpg","text":"TemporaryFile(/tmp/multipartBody2286249030794540285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010502820,"filename":"image_17122025_23_23_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/806c6a2daf54d60a358daed468a86d59.jpg","text":"TemporaryFile(/tmp/multipartBody6143271243144951642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010502820,"filename":"image_17122025_23_23_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b2284775f5d0a403f07fc5cd39e8827c.jpg","text":"TemporaryFile(/tmp/multipartBody8112431798945615165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010502820,"filename":"image_17122025_23_24_04_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d75b40117b7cb5828c5b0b254df0db05.jpg","text":"TemporaryFile(/tmp/multipartBody3795556730517796995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010502820,"filename":"image_17122025_23_23_44_10544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91a12c597195f5e9dc251826ca05f4f0.jpg","text":"TemporaryFile(/tmp/multipartBody7493953563123781251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010502820,"filename":"image_17122025_23_24_14_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858029","file1":"1399858027","file0":"1399858024","file4":"1399858032","file5":"1399858034","file3":"1399858031"},"map_files_photo_id_array":[{"photo_id":"1399858034","filename":"file5"},{"photo_id":"1399858029","filename":"file2"},{"photo_id":"1399858032","filename":"file4"},{"photo_id":"1399858027","filename":"file1"},{"photo_id":"1399858024","filename":"file0"},{"photo_id":"1399858031","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399858031":["hashtag1","hashtag2"]},{"1399858024":["hashtag1","hashtag2"]},{"1399858027":["hashtag1","hashtag2"]},{"1399858032":["hashtag1","hashtag2"]},{"1399858029":["hashtag1","hashtag2"]},{"1399858034":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399858031, 1399858024, 1399858027, 1399858032, 1399858029, 1399858034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.043975591659546 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:28:02.899910
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_24_9711.jpg', '/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_34_10528.jpg', '/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_44_9602.jpg', '/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_54_9773.jpg', '/home/pi/Desktop/images/17122025/23/24/image_17122025_23_25_04_9734.jpg', '/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_14_10724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_24_9711.jpg
/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_34_10528.jpg
/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_44_9602.jpg
/home/pi/Desktop/images/17122025/23/24/image_17122025_23_24_54_9773.jpg
/home/pi/Desktop/images/17122025/23/24/image_17122025_23_25_04_9734.jpg
/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_14_10724.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":["1399858039","1399858036","1399858041","1399858035","1399858044","1399858037"],"photo_ids_order":["1399858035","1399858036","1399858037","1399858039","1399858041","1399858044"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eba59cf74d595bb4f45c50c945e3532b.jpg","text":"TemporaryFile(/tmp/multipartBody6601390407767345251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010543515,"filename":"image_17122025_23_24_54_9773.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6492afbeab166e99e43a3b2b91f2c8b4.jpg","text":"TemporaryFile(/tmp/multipartBody6768311029445724112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010543515,"filename":"image_17122025_23_24_34_10528.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0cc0e5e3257f9e582af4c54a29f7c3c1.jpg","text":"TemporaryFile(/tmp/multipartBody1275556376682380234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010543515,"filename":"image_17122025_23_25_04_9734.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/905d2b691402f9e5f3e966a7db74d1fd.jpg","text":"TemporaryFile(/tmp/multipartBody418965582991078871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010543515,"filename":"image_17122025_23_24_24_9711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7bdd5837da7fb96d24fa635b54d8091a.jpg","text":"TemporaryFile(/tmp/multipartBody5699726770221972718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010543515,"filename":"image_17122025_23_25_14_10724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6d6f8dd44154d398a028d415e02c180c.jpg","text":"TemporaryFile(/tmp/multipartBody1870296248210985928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010543515,"filename":"image_17122025_23_24_44_9602.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858037","file1":"1399858036","file0":"1399858035","file4":"1399858041","file5":"1399858044","file3":"1399858039"},"map_files_photo_id_array":[{"photo_id":"1399858044","filename":"file5"},{"photo_id":"1399858037","filename":"file2"},{"photo_id":"1399858041","filename":"file4"},{"photo_id":"1399858036","filename":"file1"},{"photo_id":"1399858035","filename":"file0"},{"photo_id":"1399858039","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399858039":["hashtag1","hashtag2"]},{"1399858036":["hashtag1","hashtag2"]},{"1399858041":["hashtag1","hashtag2"]},{"1399858035":["hashtag1","hashtag2"]},{"1399858044":["hashtag1","hashtag2"]},{"1399858037":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399858039, 1399858036, 1399858041, 1399858035, 1399858044, 1399858037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.343859910964966 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:29:03.560521
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_24_9595.jpg', '/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_34_10569.jpg', '/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_44_9737.jpg', '/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_54_9664.jpg', '/home/pi/Desktop/images/17122025/23/25/image_17122025_23_26_04_9763.jpg', '/home/pi/Desktop/images/17122025/23/26/image_17122025_23_26_14_10818.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_24_9595.jpg
/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_34_10569.jpg
/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_44_9737.jpg
/home/pi/Desktop/images/17122025/23/25/image_17122025_23_25_54_9664.jpg
/home/pi/Desktop/images/17122025/23/25/image_17122025_23_26_04_9763.jpg
/home/pi/Desktop/images/17122025/23/26/image_17122025_23_26_14_10818.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399858069","1399858072","1399858068","1399858076","1399858070","1399858073"],"photo_ids_order":["1399858068","1399858069","1399858070","1399858072","1399858073","1399858076"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8bbb1cc95f8c701e61436f3b87717dda.jpg","text":"TemporaryFile(/tmp/multipartBody2719562251746693222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010604282,"filename":"image_17122025_23_25_34_10569.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6ea6635104695726b5aa656a8373c2fb.jpg","text":"TemporaryFile(/tmp/multipartBody4146895059602627927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010604282,"filename":"image_17122025_23_25_54_9664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/02afc2f6adb15bfcf30091d17d4d0f5f.jpg","text":"TemporaryFile(/tmp/multipartBody7655102205234720102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010604282,"filename":"image_17122025_23_25_24_9595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a08109dd8569f4c28585e897d0d6c6d.jpg","text":"TemporaryFile(/tmp/multipartBody8248670552733822609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010604282,"filename":"image_17122025_23_26_14_10818.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/28493cca53db72232edf26e268e556c8.jpg","text":"TemporaryFile(/tmp/multipartBody6133933400945850257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010604282,"filename":"image_17122025_23_25_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/aa397ccf52697fb1085c0e0463fc23ea.jpg","text":"TemporaryFile(/tmp/multipartBody5037354013365885126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010604282,"filename":"image_17122025_23_26_04_9763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858070","file1":"1399858069","file0":"1399858068","file4":"1399858073","file5":"1399858076","file3":"1399858072"},"map_files_photo_id_array":[{"photo_id":"1399858076","filename":"file5"},{"photo_id":"1399858070","filename":"file2"},{"photo_id":"1399858073","filename":"file4"},{"photo_id":"1399858069","filename":"file1"},{"photo_id":"1399858068","filename":"file0"},{"photo_id":"1399858072","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399858069":["hashtag1","hashtag2"]},{"1399858072":["hashtag1","hashtag2"]},{"1399858068":["hashtag1","hashtag2"]},{"1399858076":["hashtag1","hashtag2"]},{"1399858070":["hashtag1","hashtag2"]},{"1399858073":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399858069, 1399858072, 1399858068, 1399858076, 1399858070, 1399858073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.94746136665344 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:29:42.620074
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_33_2606.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_35_2629.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_39_3711.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_41_2629.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_47_2882.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_51_3679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_33_2606.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_35_2629.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_39_3711.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_41_2629.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_47_2882.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_51_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":["1399858096","1399858170","1399858293","1399858248","1399858208","1399858136"],"photo_ids_order":["1399858096","1399858136","1399858170","1399858208","1399858248","1399858293"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/09e3782446ac52eeb61bb4bb920e8742.jpg","text":"TemporaryFile(/tmp/multipartBody3947213584668802164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010643373,"filename":"image_07112025_21_56_33_2606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e792607f3cf19ec5ba1f18b1769bb7c0.jpg","text":"TemporaryFile(/tmp/multipartBody716817590399803533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010643373,"filename":"image_07112025_21_56_39_3711.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dc07a1ff5573cb7853507771f778b30b.jpg","text":"TemporaryFile(/tmp/multipartBody2741111969894281545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010643373,"filename":"image_07112025_21_56_51_3679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/90230a2f738d4fcd893a1bbdb2d9c9ce.jpg","text":"TemporaryFile(/tmp/multipartBody9118143183246504157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010643373,"filename":"image_07112025_21_56_47_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/703d48f51f4f82368e1312ac6d91ef71.jpg","text":"TemporaryFile(/tmp/multipartBody525036840569115899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010643373,"filename":"image_07112025_21_56_41_2629.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fa76821700b259f43792828ca9163a0.jpg","text":"TemporaryFile(/tmp/multipartBody9141443989126127476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010643373,"filename":"image_07112025_21_56_35_2629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858170","file1":"1399858136","file0":"1399858096","file4":"1399858248","file5":"1399858293","file3":"1399858208"},"map_files_photo_id_array":[{"photo_id":"1399858293","filename":"file5"},{"photo_id":"1399858170","filename":"file2"},{"photo_id":"1399858248","filename":"file4"},{"photo_id":"1399858136","filename":"file1"},{"photo_id":"1399858096","filename":"file0"},{"photo_id":"1399858208","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399858096":["hashtag1","hashtag2"]},{"1399858170":["hashtag1","hashtag2"]},{"1399858293":["hashtag1","hashtag2"]},{"1399858248":["hashtag1","hashtag2"]},{"1399858208":["hashtag1","hashtag2"]},{"1399858136":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399858096, 1399858170, 1399858293, 1399858248, 1399858208, 1399858136)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.26432156562805 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:30:24.369486
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/26/image_17122025_23_26_24_9681.jpg', '/home/pi/Desktop/images/17122025/23/26/image_17122025_23_26_34_9544.jpg', '/home/pi/Desktop/images/17122025/23/26/image_17122025_23_26_54_9724.jpg', '/home/pi/Desktop/images/17122025/23/26/image_17122025_23_27_04_9681.jpg', '/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_14_10664.jpg', '/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_24_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/26/image_17122025_23_26_24_9681.jpg
/home/pi/Desktop/images/17122025/23/26/image_17122025_23_26_34_9544.jpg
/home/pi/Desktop/images/17122025/23/26/image_17122025_23_26_54_9724.jpg
/home/pi/Desktop/images/17122025/23/26/image_17122025_23_27_04_9681.jpg
/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_14_10664.jpg
/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_24_9578.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399858465","1399858603","1399858507","1399858425","1399858583","1399858544"],"photo_ids_order":["1399858425","1399858465","1399858507","1399858544","1399858583","1399858603"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5da35c6249d629ac6ae9ad514a0e5b7e.jpg","text":"TemporaryFile(/tmp/multipartBody1378893640002202016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010684966,"filename":"image_17122025_23_26_34_9544.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0493f78fb6aa94c533d477404a7740b5.jpg","text":"TemporaryFile(/tmp/multipartBody8494915809360624302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010684966,"filename":"image_17122025_23_27_24_9578.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2530e1c824bd38b09c6702eff8a16c37.jpg","text":"TemporaryFile(/tmp/multipartBody3481609397780435761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010684966,"filename":"image_17122025_23_26_54_9724.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c74bf8f8d5d3a225556c8cec24317064.jpg","text":"TemporaryFile(/tmp/multipartBody8053676238954777815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010684966,"filename":"image_17122025_23_26_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc224530e829f09018dcbb6db2a121e2.jpg","text":"TemporaryFile(/tmp/multipartBody1200166459134824946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010684966,"filename":"image_17122025_23_27_14_10664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cdebec9f284f05e4a13599f675c5f808.jpg","text":"TemporaryFile(/tmp/multipartBody3073109317881270081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010684966,"filename":"image_17122025_23_27_04_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858507","file1":"1399858465","file0":"1399858425","file4":"1399858583","file5":"1399858603","file3":"1399858544"},"map_files_photo_id_array":[{"photo_id":"1399858603","filename":"file5"},{"photo_id":"1399858507","filename":"file2"},{"photo_id":"1399858583","filename":"file4"},{"photo_id":"1399858465","filename":"file1"},{"photo_id":"1399858425","filename":"file0"},{"photo_id":"1399858544","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399858465":["hashtag1","hashtag2"]},{"1399858603":["hashtag1","hashtag2"]},{"1399858507":["hashtag1","hashtag2"]},{"1399858425":["hashtag1","hashtag2"]},{"1399858583":["hashtag1","hashtag2"]},{"1399858544":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399858465, 1399858603, 1399858507, 1399858425, 1399858583, 1399858544)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.283576250076294 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:31:03.228970
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_34_9864.jpg', '/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_45_10738.jpg', '/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_54_9700.jpg', '/home/pi/Desktop/images/17122025/23/27/image_17122025_23_28_04_9693.jpg', '/home/pi/Desktop/images/17122025/23/28/image_17122025_23_28_14_10558.jpg', '/home/pi/Desktop/images/17122025/23/28/image_17122025_23_28_34_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_34_9864.jpg
/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_45_10738.jpg
/home/pi/Desktop/images/17122025/23/27/image_17122025_23_27_54_9700.jpg
/home/pi/Desktop/images/17122025/23/27/image_17122025_23_28_04_9693.jpg
/home/pi/Desktop/images/17122025/23/28/image_17122025_23_28_14_10558.jpg
/home/pi/Desktop/images/17122025/23/28/image_17122025_23_28_34_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":["1399858627","1399858624","1399858623","1399858626","1399858611","1399858622"],"photo_ids_order":["1399858611","1399858622","1399858623","1399858624","1399858626","1399858627"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f7af45155e553f1dce465da3bc13ddc5.jpg","text":"TemporaryFile(/tmp/multipartBody6299045466719588422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010723907,"filename":"image_17122025_23_28_34_9671.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b9222115e78be8c8d6f0760f7f8fc62f.jpg","text":"TemporaryFile(/tmp/multipartBody5373161286916190148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010723907,"filename":"image_17122025_23_28_04_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9028f9debe821e5f451245bf7b851301.jpg","text":"TemporaryFile(/tmp/multipartBody8718653408251503412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010723907,"filename":"image_17122025_23_27_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9cc44e2886166bb0f8584d72b7005cae.jpg","text":"TemporaryFile(/tmp/multipartBody9023843184280279784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010723907,"filename":"image_17122025_23_28_14_10558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5aa894f72ac2024bc5e6968882bcaa09.jpg","text":"TemporaryFile(/tmp/multipartBody1651202156381978857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010723907,"filename":"image_17122025_23_27_34_9864.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f8807ff3365db2d7426d7bd3d8f21f1.jpg","text":"TemporaryFile(/tmp/multipartBody6496937392706158765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010723907,"filename":"image_17122025_23_27_45_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858623","file1":"1399858622","file0":"1399858611","file4":"1399858626","file5":"1399858627","file3":"1399858624"},"map_files_photo_id_array":[{"photo_id":"1399858627","filename":"file5"},{"photo_id":"1399858623","filename":"file2"},{"photo_id":"1399858626","filename":"file4"},{"photo_id":"1399858622","filename":"file1"},{"photo_id":"1399858611","filename":"file0"},{"photo_id":"1399858624","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399858627":["hashtag1","hashtag2"]},{"1399858624":["hashtag1","hashtag2"]},{"1399858623":["hashtag1","hashtag2"]},{"1399858626":["hashtag1","hashtag2"]},{"1399858611":["hashtag1","hashtag2"]},{"1399858622":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399858627, 1399858624, 1399858623, 1399858626, 1399858611, 1399858622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62416481971741 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:31:42.590968
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_53_2768.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_56_2661.jpg', '/home/pi/Desktop/images/07112025/21/56/image_07112025_21_57_00_3637.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_03_2725.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_05_2725.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_08_2690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_53_2768.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_56_56_2661.jpg
/home/pi/Desktop/images/07112025/21/56/image_07112025_21_57_00_3637.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_03_2725.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_05_2725.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_08_2690.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399858805","1399858858","1399858837","1399858732","1399858767","1399858841"],"photo_ids_order":["1399858732","1399858767","1399858805","1399858837","1399858841","1399858858"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fe148333624b8397ec644a3d9833e246.jpg","text":"TemporaryFile(/tmp/multipartBody1919576540872155800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010763345,"filename":"image_07112025_21_57_00_3637.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61c9e10addcfe195969b5f0be9bdd391.jpg","text":"TemporaryFile(/tmp/multipartBody2873382052153690331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010763345,"filename":"image_07112025_21_57_08_2690.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7e1406d5b7804cc097fcbce2d91d0530.jpg","text":"TemporaryFile(/tmp/multipartBody4862748014896123778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010763345,"filename":"image_07112025_21_57_03_2725.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/78c94e525cc265459cb9dea65eb75f59.jpg","text":"TemporaryFile(/tmp/multipartBody6560664520864852487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010763345,"filename":"image_07112025_21_56_53_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9c935a74acad84bb622d284b1c26e31.jpg","text":"TemporaryFile(/tmp/multipartBody5026269352658524779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010763345,"filename":"image_07112025_21_56_56_2661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eb91cd20af1880438855e3060994ebbe.jpg","text":"TemporaryFile(/tmp/multipartBody9131507813816275052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010763345,"filename":"image_07112025_21_57_05_2725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858805","file1":"1399858767","file0":"1399858732","file4":"1399858841","file5":"1399858858","file3":"1399858837"},"map_files_photo_id_array":[{"photo_id":"1399858858","filename":"file5"},{"photo_id":"1399858805","filename":"file2"},{"photo_id":"1399858841","filename":"file4"},{"photo_id":"1399858767","filename":"file1"},{"photo_id":"1399858732","filename":"file0"},{"photo_id":"1399858837","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399858805":["hashtag1","hashtag2"]},{"1399858858":["hashtag1","hashtag2"]},{"1399858837":["hashtag1","hashtag2"]},{"1399858732":["hashtag1","hashtag2"]},{"1399858767":["hashtag1","hashtag2"]},{"1399858841":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399858805, 1399858858, 1399858837, 1399858732, 1399858767, 1399858841)","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 = 1399858805 , to_upload = 10 WHERE filename="/home/pi/Desktop/images/07112025/21/56/image_07112025_21_57_00_3637.jpg";
try second time after 15 secs
uploaded 6 photos
time to upload: 57.21907925605774 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:32:41.847505
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_12_3642.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_14_2647.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_17_2634.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_21_3795.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_26_2894.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_29_2646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_12_3642.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_14_2647.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_17_2634.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_21_3795.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_26_2894.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_29_2646.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399858954","1399858953","1399858932","1399858961","1399858943","1399858955"],"photo_ids_order":["1399858932","1399858943","1399858953","1399858954","1399858955","1399858961"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2c8abeb2985fe27363f8a3a5e541c45e.jpg","text":"TemporaryFile(/tmp/multipartBody7348021240128460592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010822588,"filename":"image_07112025_21_57_21_3795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8b19878c76371afdd0976ff143992e1c.jpg","text":"TemporaryFile(/tmp/multipartBody7665157477742078788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010822588,"filename":"image_07112025_21_57_17_2634.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad4fdd4c898600f1455f1e4f7e3c3aab.jpg","text":"TemporaryFile(/tmp/multipartBody5248495594636823196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010822588,"filename":"image_07112025_21_57_12_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/056e199802e20e515dd7334b32aec7cd.jpg","text":"TemporaryFile(/tmp/multipartBody1386744895628884942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010822588,"filename":"image_07112025_21_57_29_2646.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a4d73bcbe60d0e933c0b81babd76e5f5.jpg","text":"TemporaryFile(/tmp/multipartBody4385510588761364808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010822588,"filename":"image_07112025_21_57_14_2647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/387cd93d605781fff58091c712e9236b.jpg","text":"TemporaryFile(/tmp/multipartBody7680812881536845546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010822588,"filename":"image_07112025_21_57_26_2894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858953","file1":"1399858943","file0":"1399858932","file4":"1399858955","file5":"1399858961","file3":"1399858954"},"map_files_photo_id_array":[{"photo_id":"1399858961","filename":"file5"},{"photo_id":"1399858953","filename":"file2"},{"photo_id":"1399858955","filename":"file4"},{"photo_id":"1399858943","filename":"file1"},{"photo_id":"1399858932","filename":"file0"},{"photo_id":"1399858954","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399858954":["hashtag1","hashtag2"]},{"1399858953":["hashtag1","hashtag2"]},{"1399858932":["hashtag1","hashtag2"]},{"1399858961":["hashtag1","hashtag2"]},{"1399858943":["hashtag1","hashtag2"]},{"1399858955":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399858954, 1399858953, 1399858932, 1399858961, 1399858943, 1399858955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.955018281936646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:33:32.056729
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:33:42.036509
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_35_2721.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_38_2542.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_44_2713.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_47_2566.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_51_3689.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_53_2664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_35_2721.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_38_2542.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_44_2713.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_47_2566.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_51_3689.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_53_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":["1399858975","1399858978","1399858977","1399858976","1399858979","1399858973"],"photo_ids_order":["1399858973","1399858975","1399858976","1399858977","1399858978","1399858979"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2295ffe2ede713f6eb7c9cb98cba0ce3.jpg","text":"TemporaryFile(/tmp/multipartBody873122433384015564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010882777,"filename":"image_07112025_21_57_38_2542.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc22e15725c06a391d0ea8b17a630714.jpg","text":"TemporaryFile(/tmp/multipartBody6423629378328135785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010882777,"filename":"image_07112025_21_57_51_3689.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e7a78c4d26f23e5da4ff038e09f5b7c1.jpg","text":"TemporaryFile(/tmp/multipartBody4488245652035550640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010882777,"filename":"image_07112025_21_57_47_2566.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d5d62d5da4bf3d442e0b28c364feee11.jpg","text":"TemporaryFile(/tmp/multipartBody461170463742763816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010882777,"filename":"image_07112025_21_57_44_2713.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d1a40c409bd9350fb32b85ca2622cce3.jpg","text":"TemporaryFile(/tmp/multipartBody9031576331379403223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010882777,"filename":"image_07112025_21_57_53_2664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8e6861da2a26e5bec94cc301632d2da.jpg","text":"TemporaryFile(/tmp/multipartBody7070965187027490489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010882777,"filename":"image_07112025_21_57_35_2721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858976","file1":"1399858975","file0":"1399858973","file4":"1399858978","file5":"1399858979","file3":"1399858977"},"map_files_photo_id_array":[{"photo_id":"1399858979","filename":"file5"},{"photo_id":"1399858976","filename":"file2"},{"photo_id":"1399858978","filename":"file4"},{"photo_id":"1399858975","filename":"file1"},{"photo_id":"1399858973","filename":"file0"},{"photo_id":"1399858977","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399858975":["hashtag1","hashtag2"]},{"1399858978":["hashtag1","hashtag2"]},{"1399858977":["hashtag1","hashtag2"]},{"1399858976":["hashtag1","hashtag2"]},{"1399858979":["hashtag1","hashtag2"]},{"1399858973":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399858975, 1399858978, 1399858977, 1399858976, 1399858979, 1399858973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.391098976135254 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:34:22.269975
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/28/image_17122025_23_28_44_9751.jpg', '/home/pi/Desktop/images/17122025/23/28/image_17122025_23_28_54_10574.jpg', '/home/pi/Desktop/images/17122025/23/28/image_17122025_23_29_04_10121.jpg', '/home/pi/Desktop/images/17122025/23/29/image_17122025_23_29_14_9656.jpg', '/home/pi/Desktop/images/17122025/23/29/image_17122025_23_29_34_9759.jpg', '/home/pi/Desktop/images/17122025/23/29/image_17122025_23_29_44_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/28/image_17122025_23_28_44_9751.jpg
/home/pi/Desktop/images/17122025/23/28/image_17122025_23_28_54_10574.jpg
/home/pi/Desktop/images/17122025/23/28/image_17122025_23_29_04_10121.jpg
/home/pi/Desktop/images/17122025/23/29/image_17122025_23_29_14_9656.jpg
/home/pi/Desktop/images/17122025/23/29/image_17122025_23_29_34_9759.jpg
/home/pi/Desktop/images/17122025/23/29/image_17122025_23_29_44_9693.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399858987","1399858981","1399858983","1399858992","1399858989","1399858985"],"photo_ids_order":["1399858981","1399858983","1399858985","1399858987","1399858989","1399858992"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b82d514d195930a8660cb46023267b2.jpg","text":"TemporaryFile(/tmp/multipartBody6289042574188221071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010922860,"filename":"image_17122025_23_29_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/74909420663105f4d73ff762a17a7667.jpg","text":"TemporaryFile(/tmp/multipartBody4503203191856071989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010922860,"filename":"image_17122025_23_28_44_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6565b93ea83bb8146fd1b9f2f83fc37f.jpg","text":"TemporaryFile(/tmp/multipartBody1330563075537011214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010922860,"filename":"image_17122025_23_28_54_10574.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20be7d97def496af2071b01e8d07b570.jpg","text":"TemporaryFile(/tmp/multipartBody5569353932950968857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010922860,"filename":"image_17122025_23_29_44_9693.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/15aaf3926b888bc19a2bce169ff6d35a.jpg","text":"TemporaryFile(/tmp/multipartBody5329562349317901687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010922860,"filename":"image_17122025_23_29_34_9759.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/672ee6c3268fb0d53041b28c6c13fcdd.jpg","text":"TemporaryFile(/tmp/multipartBody6061396356609069756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010922860,"filename":"image_17122025_23_29_04_10121.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399858985","file1":"1399858983","file0":"1399858981","file4":"1399858989","file5":"1399858992","file3":"1399858987"},"map_files_photo_id_array":[{"photo_id":"1399858992","filename":"file5"},{"photo_id":"1399858985","filename":"file2"},{"photo_id":"1399858989","filename":"file4"},{"photo_id":"1399858983","filename":"file1"},{"photo_id":"1399858981","filename":"file0"},{"photo_id":"1399858987","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399858987":["hashtag1","hashtag2"]},{"1399858981":["hashtag1","hashtag2"]},{"1399858983":["hashtag1","hashtag2"]},{"1399858992":["hashtag1","hashtag2"]},{"1399858989":["hashtag1","hashtag2"]},{"1399858985":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399858987, 1399858981, 1399858983, 1399858992, 1399858989, 1399858985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.11226534843445 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:35:03.121197
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/29/image_17122025_23_29_54_9828.jpg', '/home/pi/Desktop/images/17122025/23/29/image_17122025_23_30_04_10675.jpg', '/home/pi/Desktop/images/17122025/23/30/image_17122025_23_30_24_9809.jpg', '/home/pi/Desktop/images/17122025/23/30/image_17122025_23_30_34_9698.jpg', '/home/pi/Desktop/images/17122025/23/30/image_17122025_23_30_44_10538.jpg', '/home/pi/Desktop/images/17122025/23/30/image_17122025_23_30_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/29/image_17122025_23_29_54_9828.jpg
/home/pi/Desktop/images/17122025/23/29/image_17122025_23_30_04_10675.jpg
/home/pi/Desktop/images/17122025/23/30/image_17122025_23_30_24_9809.jpg
/home/pi/Desktop/images/17122025/23/30/image_17122025_23_30_34_9698.jpg
/home/pi/Desktop/images/17122025/23/30/image_17122025_23_30_44_10538.jpg
/home/pi/Desktop/images/17122025/23/30/image_17122025_23_30_54_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":["1399859005","1399859008","1399859001","1399858997","1399859003","1399858999"],"photo_ids_order":["1399858997","1399858999","1399859001","1399859003","1399859005","1399859008"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/30ef2d60004449f1231dc45635e17444.jpg","text":"TemporaryFile(/tmp/multipartBody7529498117895434953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010963761,"filename":"image_17122025_23_30_44_10538.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/781a63ca449cb585b0aae1fcf26f8ece.jpg","text":"TemporaryFile(/tmp/multipartBody161130718664606509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010963761,"filename":"image_17122025_23_30_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/350c7c02368299ec43896654262e50fe.jpg","text":"TemporaryFile(/tmp/multipartBody8869205460031103033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010963761,"filename":"image_17122025_23_30_24_9809.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/17b7056bf004fa9bc2d7c14abc31fd78.jpg","text":"TemporaryFile(/tmp/multipartBody9104346410618868590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010963761,"filename":"image_17122025_23_29_54_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfa8dfad539f1363bc3403b259da5900.jpg","text":"TemporaryFile(/tmp/multipartBody8973022411502834274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010963761,"filename":"image_17122025_23_30_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71ca99bb68e1f79696e173afaa851f60.jpg","text":"TemporaryFile(/tmp/multipartBody2584323987337632204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766010963761,"filename":"image_17122025_23_30_04_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399859001","file1":"1399858999","file0":"1399858997","file4":"1399859005","file5":"1399859008","file3":"1399859003"},"map_files_photo_id_array":[{"photo_id":"1399859008","filename":"file5"},{"photo_id":"1399859001","filename":"file2"},{"photo_id":"1399859005","filename":"file4"},{"photo_id":"1399858999","filename":"file1"},{"photo_id":"1399858997","filename":"file0"},{"photo_id":"1399859003","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399859005":["hashtag1","hashtag2"]},{"1399859008":["hashtag1","hashtag2"]},{"1399859001":["hashtag1","hashtag2"]},{"1399858997":["hashtag1","hashtag2"]},{"1399859003":["hashtag1","hashtag2"]},{"1399858999":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399859005, 1399859008, 1399859001, 1399858997, 1399859003, 1399858999)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55214524269104 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:35:42.519470
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_56_2766.jpg', '/home/pi/Desktop/images/07112025/21/57/image_07112025_21_58_00_3675.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_02_2559.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_05_2731.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_09_3588.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_11_2593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_57_56_2766.jpg
/home/pi/Desktop/images/07112025/21/57/image_07112025_21_58_00_3675.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_02_2559.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_05_2731.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_09_3588.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_11_2593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399859017","1399859014","1399859016","1399859019","1399859015","1399859018"],"photo_ids_order":["1399859014","1399859015","1399859016","1399859017","1399859018","1399859019"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9340440564c3873a0782046fc8ccbade.jpg","text":"TemporaryFile(/tmp/multipartBody6543514292118718672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011003259,"filename":"image_07112025_21_58_05_2731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2aab29cc3267900af85bbaa77d41cf1f.jpg","text":"TemporaryFile(/tmp/multipartBody6215143771655073426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011003259,"filename":"image_07112025_21_57_56_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/50d6b42b862b21d0900c4a0e4f19b44c.jpg","text":"TemporaryFile(/tmp/multipartBody5700144976915861178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011003259,"filename":"image_07112025_21_58_02_2559.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7a74617653521347ea66b427abda0436.jpg","text":"TemporaryFile(/tmp/multipartBody19356796669447560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011003259,"filename":"image_07112025_21_58_11_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a0c4394534d99964d97e7810befb48a.jpg","text":"TemporaryFile(/tmp/multipartBody6879536629922298811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011003259,"filename":"image_07112025_21_58_00_3675.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e878dc1e4805d8d731908147a3968819.jpg","text":"TemporaryFile(/tmp/multipartBody5860792323808399276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011003259,"filename":"image_07112025_21_58_09_3588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399859016","file1":"1399859015","file0":"1399859014","file4":"1399859018","file5":"1399859019","file3":"1399859017"},"map_files_photo_id_array":[{"photo_id":"1399859019","filename":"file5"},{"photo_id":"1399859016","filename":"file2"},{"photo_id":"1399859018","filename":"file4"},{"photo_id":"1399859015","filename":"file1"},{"photo_id":"1399859014","filename":"file0"},{"photo_id":"1399859017","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399859017":["hashtag1","hashtag2"]},{"1399859014":["hashtag1","hashtag2"]},{"1399859016":["hashtag1","hashtag2"]},{"1399859019":["hashtag1","hashtag2"]},{"1399859015":["hashtag1","hashtag2"]},{"1399859018":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399859017, 1399859014, 1399859016, 1399859019, 1399859015, 1399859018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.289024114608765 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:36:22.770035
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_04_10232.jpg', '/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_14_9561.jpg', '/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_24_10584.jpg', '/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_34_9564.jpg', '/home/pi/Desktop/images/17122025/23/31/image_17122025_23_32_04_9756.jpg', '/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_14_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_04_10232.jpg
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_14_9561.jpg
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_24_10584.jpg
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_34_9564.jpg
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_32_04_9756.jpg
/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_14_10674.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4807758331298828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:36:32.756993
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:36:42.713078
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_15_3582.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_18_2887.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_20_2807.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_23_2666.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_26_2806.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_29_3610.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_15_3582.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_18_2887.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_20_2807.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_23_2666.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_26_2806.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_29_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
<Response [200]>
b'{"photo_ids":["1399859269","1399859227","1399859150","1399859312","1399859108","1399859188"],"photo_ids_order":["1399859108","1399859150","1399859188","1399859227","1399859269","1399859312"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4b50cb0469152b242db1c431f91cfbbf.jpg","text":"TemporaryFile(/tmp/multipartBody4275811805586888253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011065341,"filename":"image_07112025_21_58_26_2806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/46812300af322e59d494d2767cddc001.jpg","text":"TemporaryFile(/tmp/multipartBody1203100461229787479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011065341,"filename":"image_07112025_21_58_23_2666.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f03292f9e536f0c776ba5f4c2fc16763.jpg","text":"TemporaryFile(/tmp/multipartBody8870891271779078731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011065341,"filename":"image_07112025_21_58_18_2887.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61a91b40d8e08844493b91d61de4f746.jpg","text":"TemporaryFile(/tmp/multipartBody834793745814007739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011065341,"filename":"image_07112025_21_58_29_3610.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f720fb132d5ff473d888f878e2f879f6.jpg","text":"TemporaryFile(/tmp/multipartBody2038800885510646140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011065341,"filename":"image_07112025_21_58_15_3582.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/18c0f18379201e130b0101ef2eefc510.jpg","text":"TemporaryFile(/tmp/multipartBody5015151361938665352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011065341,"filename":"image_07112025_21_58_20_2807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399859188","file1":"1399859150","file0":"1399859108","file4":"1399859269","file5":"1399859312","file3":"1399859227"},"map_files_photo_id_array":[{"photo_id":"1399859312","filename":"file5"},{"photo_id":"1399859188","filename":"file2"},{"photo_id":"1399859269","filename":"file4"},{"photo_id":"1399859150","filename":"file1"},{"photo_id":"1399859108","filename":"file0"},{"photo_id":"1399859227","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399859269":["hashtag1","hashtag2"]},{"1399859227":["hashtag1","hashtag2"]},{"1399859150":["hashtag1","hashtag2"]},{"1399859312":["hashtag1","hashtag2"]},{"1399859108":["hashtag1","hashtag2"]},{"1399859188":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399859269, 1399859227, 1399859150, 1399859312, 1399859108, 1399859188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.970425844192505 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:37:32.081048
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:37:42.036010
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_35_2769.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_38_3548.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_41_2723.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_45_3572.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_47_2837.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_50_2652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_35_2769.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_38_3548.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_41_2723.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_45_3572.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_47_2837.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_50_2652.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399859574","1399859693","1399859759","1399859729","1399859618","1399859656"],"photo_ids_order":["1399859574","1399859618","1399859656","1399859693","1399859729","1399859759"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/95c57ee101618dc91e11854a43684c1b.jpg","text":"TemporaryFile(/tmp/multipartBody473545944997515632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011122772,"filename":"image_07112025_21_58_35_2769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0b86c722d513a3f23c992f6fa1a4e8fa.jpg","text":"TemporaryFile(/tmp/multipartBody2863329742467782901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011122772,"filename":"image_07112025_21_58_45_3572.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/642fe1206b42962bc76f93aea600e5c4.jpg","text":"TemporaryFile(/tmp/multipartBody8548286911989396443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011122772,"filename":"image_07112025_21_58_50_2652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/88857ce56e1454b2dc1b01e459f05075.jpg","text":"TemporaryFile(/tmp/multipartBody6532245226065213006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011122772,"filename":"image_07112025_21_58_47_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70a843e12363acf6708102e2081db4c0.jpg","text":"TemporaryFile(/tmp/multipartBody7327926873343719261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011122772,"filename":"image_07112025_21_58_38_3548.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a6a17efeb633339e4a5c7fad233f0d2.jpg","text":"TemporaryFile(/tmp/multipartBody7811387879089105431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011122772,"filename":"image_07112025_21_58_41_2723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399859656","file1":"1399859618","file0":"1399859574","file4":"1399859729","file5":"1399859759","file3":"1399859693"},"map_files_photo_id_array":[{"photo_id":"1399859759","filename":"file5"},{"photo_id":"1399859656","filename":"file2"},{"photo_id":"1399859729","filename":"file4"},{"photo_id":"1399859618","filename":"file1"},{"photo_id":"1399859574","filename":"file0"},{"photo_id":"1399859693","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399859574":["hashtag1","hashtag2"]},{"1399859693":["hashtag1","hashtag2"]},{"1399859759":["hashtag1","hashtag2"]},{"1399859729":["hashtag1","hashtag2"]},{"1399859618":["hashtag1","hashtag2"]},{"1399859656":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399859574, 1399859693, 1399859759, 1399859729, 1399859618, 1399859656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.46772003173828 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:38:22.336887
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_04_10232.jpg', '/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_14_9561.jpg', '/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_24_10584.jpg', '/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_34_9564.jpg', '/home/pi/Desktop/images/17122025/23/31/image_17122025_23_32_04_9756.jpg', '/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_14_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_04_10232.jpg
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_14_9561.jpg
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_24_10584.jpg
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_31_34_9564.jpg
/home/pi/Desktop/images/17122025/23/31/image_17122025_23_32_04_9756.jpg
/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_14_10674.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399859764","1399859769","1399859780","1399859783","1399859767","1399859776"],"photo_ids_order":["1399859764","1399859767","1399859769","1399859776","1399859780","1399859783"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ba21dc81a8bc947668714145fbf332a7.jpg","text":"TemporaryFile(/tmp/multipartBody2196457991525186314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011162932,"filename":"image_17122025_23_31_04_10232.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fcad274ea19ff95352d8286c109bd2b4.jpg","text":"TemporaryFile(/tmp/multipartBody2681875363679340006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011162932,"filename":"image_17122025_23_31_24_10584.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/94201bfa3d41448ce3864453aa19e436.jpg","text":"TemporaryFile(/tmp/multipartBody546727847224711559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011162932,"filename":"image_17122025_23_32_04_9756.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4c52a6432a8016a6c1016879a79fb972.jpg","text":"TemporaryFile(/tmp/multipartBody7019608232236180865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011162932,"filename":"image_17122025_23_32_14_10674.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d02f79d4a9b9f9a2c6cfafe379a8f073.jpg","text":"TemporaryFile(/tmp/multipartBody8869170028530512182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011162932,"filename":"image_17122025_23_31_14_9561.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f530e04aefc5742e07fb2e7f77456868.jpg","text":"TemporaryFile(/tmp/multipartBody5736013469173525624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011162932,"filename":"image_17122025_23_31_34_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399859769","file1":"1399859767","file0":"1399859764","file4":"1399859780","file5":"1399859783","file3":"1399859776"},"map_files_photo_id_array":[{"photo_id":"1399859783","filename":"file5"},{"photo_id":"1399859769","filename":"file2"},{"photo_id":"1399859780","filename":"file4"},{"photo_id":"1399859767","filename":"file1"},{"photo_id":"1399859764","filename":"file0"},{"photo_id":"1399859776","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399859764":["hashtag1","hashtag2"]},{"1399859769":["hashtag1","hashtag2"]},{"1399859780":["hashtag1","hashtag2"]},{"1399859783":["hashtag1","hashtag2"]},{"1399859767":["hashtag1","hashtag2"]},{"1399859776":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399859764, 1399859769, 1399859780, 1399859783, 1399859767, 1399859776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1000394821167 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:39:03.385029
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_24_9609.jpg', '/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_34_9622.jpg', '/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_44_10567.jpg', '/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_54_9633.jpg', '/home/pi/Desktop/images/17122025/23/32/image_17122025_23_33_04_9747.jpg', '/home/pi/Desktop/images/17122025/23/33/image_17122025_23_33_14_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_24_9609.jpg
/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_34_9622.jpg
/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_44_10567.jpg
/home/pi/Desktop/images/17122025/23/32/image_17122025_23_32_54_9633.jpg
/home/pi/Desktop/images/17122025/23/32/image_17122025_23_33_04_9747.jpg
/home/pi/Desktop/images/17122025/23/33/image_17122025_23_33_14_10632.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399859827","1399859946","1399859868","1399859907","1399859792","1399859786"],"photo_ids_order":["1399859786","1399859792","1399859827","1399859868","1399859907","1399859946"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/69754c92c2154df6d648d286578a2aa2.jpg","text":"TemporaryFile(/tmp/multipartBody3541198704047689411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011204122,"filename":"image_17122025_23_32_44_10567.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2eb373af2a083a5151c926542180df6.jpg","text":"TemporaryFile(/tmp/multipartBody7230899404350039461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011204122,"filename":"image_17122025_23_33_14_10632.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b39a3e5eabbefe47b7566fac4c2843ca.jpg","text":"TemporaryFile(/tmp/multipartBody4907168605881752077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011204122,"filename":"image_17122025_23_32_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2111b2fb8f13c84694b43bee4286de60.jpg","text":"TemporaryFile(/tmp/multipartBody6399644954577655161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011204122,"filename":"image_17122025_23_33_04_9747.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/56c8f3095a753f83fecee7b5d2946bd0.jpg","text":"TemporaryFile(/tmp/multipartBody2809356918848265988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011204122,"filename":"image_17122025_23_32_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0654f5cc616127b1c0b5eedb52b29b0.jpg","text":"TemporaryFile(/tmp/multipartBody2041080173555016900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011204122,"filename":"image_17122025_23_32_24_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399859827","file1":"1399859792","file0":"1399859786","file4":"1399859907","file5":"1399859946","file3":"1399859868"},"map_files_photo_id_array":[{"photo_id":"1399859946","filename":"file5"},{"photo_id":"1399859827","filename":"file2"},{"photo_id":"1399859907","filename":"file4"},{"photo_id":"1399859792","filename":"file1"},{"photo_id":"1399859786","filename":"file0"},{"photo_id":"1399859868","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399859827":["hashtag1","hashtag2"]},{"1399859946":["hashtag1","hashtag2"]},{"1399859868":["hashtag1","hashtag2"]},{"1399859907":["hashtag1","hashtag2"]},{"1399859792":["hashtag1","hashtag2"]},{"1399859786":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399859827, 1399859946, 1399859868, 1399859907, 1399859792, 1399859786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.79032754898071 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:39:42.404147
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_53_2716.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_56_3554.jpg', '/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_59_2706.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_02_2599.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_05_3810.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_08_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_53_2716.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_56_3554.jpg
/home/pi/Desktop/images/07112025/21/58/image_07112025_21_58_59_2706.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_02_2599.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_05_3810.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_08_2665.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399860107","1399860124","1399860123","1399860068","1399860122","1399860125"],"photo_ids_order":["1399860068","1399860107","1399860122","1399860123","1399860124","1399860125"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dedee04f57c51f53696070dd73480d9e.jpg","text":"TemporaryFile(/tmp/multipartBody9056754628730416219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011243157,"filename":"image_07112025_21_58_56_3554.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6800582b5277cb1f5738287f5767d2a.jpg","text":"TemporaryFile(/tmp/multipartBody1560612270186541226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011243157,"filename":"image_07112025_21_59_05_3810.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/70737c9c2ee18fc92f4f9fd3c050158b.jpg","text":"TemporaryFile(/tmp/multipartBody1650207752435871157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011243157,"filename":"image_07112025_21_59_02_2599.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d59dedd39b6b569b5590211e67386703.jpg","text":"TemporaryFile(/tmp/multipartBody6936993165887531078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011243157,"filename":"image_07112025_21_58_53_2716.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c142399091ac0871570b063a3a8206ce.jpg","text":"TemporaryFile(/tmp/multipartBody6399912062140253896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011243157,"filename":"image_07112025_21_58_59_2706.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/195fddb3ba75b89238c514920ba17cf6.jpg","text":"TemporaryFile(/tmp/multipartBody4455675320147961892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011243157,"filename":"image_07112025_21_59_08_2665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399860122","file1":"1399860107","file0":"1399860068","file4":"1399860124","file5":"1399860125","file3":"1399860123"},"map_files_photo_id_array":[{"photo_id":"1399860125","filename":"file5"},{"photo_id":"1399860122","filename":"file2"},{"photo_id":"1399860124","filename":"file4"},{"photo_id":"1399860107","filename":"file1"},{"photo_id":"1399860068","filename":"file0"},{"photo_id":"1399860123","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399860107":["hashtag1","hashtag2"]},{"1399860124":["hashtag1","hashtag2"]},{"1399860123":["hashtag1","hashtag2"]},{"1399860068":["hashtag1","hashtag2"]},{"1399860122":["hashtag1","hashtag2"]},{"1399860125":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399860107, 1399860124, 1399860123, 1399860068, 1399860122, 1399860125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.415685415267944 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:40:22.598162
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/33/image_17122025_23_33_24_9882.jpg', '/home/pi/Desktop/images/17122025/23/33/image_17122025_23_33_34_10013.jpg', '/home/pi/Desktop/images/17122025/23/34/image_17122025_23_34_14_9769.jpg', '/home/pi/Desktop/images/17122025/23/34/image_17122025_23_34_25_10891.jpg', '/home/pi/Desktop/images/17122025/23/34/image_17122025_23_34_34_9647.jpg', '/home/pi/Desktop/images/17122025/23/34/image_17122025_23_34_54_9766.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/33/image_17122025_23_33_24_9882.jpg
/home/pi/Desktop/images/17122025/23/33/image_17122025_23_33_34_10013.jpg
/home/pi/Desktop/images/17122025/23/34/image_17122025_23_34_14_9769.jpg
/home/pi/Desktop/images/17122025/23/34/image_17122025_23_34_25_10891.jpg
/home/pi/Desktop/images/17122025/23/34/image_17122025_23_34_34_9647.jpg
/home/pi/Desktop/images/17122025/23/34/image_17122025_23_34_54_9766.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399860262","1399860247","1399860220","1399860267","1399860205","1399860260"],"photo_ids_order":["1399860205","1399860220","1399860247","1399860260","1399860262","1399860267"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1430ca130e69884e2d6041660e790ab1.jpg","text":"TemporaryFile(/tmp/multipartBody6292011308627629896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011283187,"filename":"image_17122025_23_34_34_9647.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3f84f3c245ddd32931a36aad0eedcf85.jpg","text":"TemporaryFile(/tmp/multipartBody6233084549069959143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011283187,"filename":"image_17122025_23_34_14_9769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b45756caa9d45274c0f580c9e7f5e182.jpg","text":"TemporaryFile(/tmp/multipartBody2362386640184892622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011283187,"filename":"image_17122025_23_33_34_10013.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7dfb926b604c2ec0972c1325bbeadd39.jpg","text":"TemporaryFile(/tmp/multipartBody1526195175268841851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011283187,"filename":"image_17122025_23_34_54_9766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9574745554664f6b8cee0798603d4da5.jpg","text":"TemporaryFile(/tmp/multipartBody461939593531435382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011283187,"filename":"image_17122025_23_33_24_9882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/27596d3a46e5db32426f45560d24775f.jpg","text":"TemporaryFile(/tmp/multipartBody4014181706164335836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011283187,"filename":"image_17122025_23_34_25_10891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399860247","file1":"1399860220","file0":"1399860205","file4":"1399860262","file5":"1399860267","file3":"1399860260"},"map_files_photo_id_array":[{"photo_id":"1399860267","filename":"file5"},{"photo_id":"1399860247","filename":"file2"},{"photo_id":"1399860262","filename":"file4"},{"photo_id":"1399860220","filename":"file1"},{"photo_id":"1399860205","filename":"file0"},{"photo_id":"1399860260","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399860262":["hashtag1","hashtag2"]},{"1399860247":["hashtag1","hashtag2"]},{"1399860220":["hashtag1","hashtag2"]},{"1399860267":["hashtag1","hashtag2"]},{"1399860205":["hashtag1","hashtag2"]},{"1399860260":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399860262, 1399860247, 1399860220, 1399860267, 1399860205, 1399860260)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.73292827606201 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:41:11.916725
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:41:21.969128
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/34/image_17122025_23_35_04_9726.jpg', '/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_14_10683.jpg', '/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_24_9531.jpg', '/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_34_9965.jpg', '/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_45_10651.jpg', '/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_54_9804.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/34/image_17122025_23_35_04_9726.jpg
/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_14_10683.jpg
/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_24_9531.jpg
/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_34_9965.jpg
/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_45_10651.jpg
/home/pi/Desktop/images/17122025/23/35/image_17122025_23_35_54_9804.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399860295","1399860289","1399860280","1399860283","1399860292","1399860286"],"photo_ids_order":["1399860280","1399860283","1399860286","1399860289","1399860292","1399860295"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/074e5003657a060233d83407276ed18b.jpg","text":"TemporaryFile(/tmp/multipartBody6989120056896183567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011342562,"filename":"image_17122025_23_35_54_9804.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a9f8d7b7c2d195b1d5df0498ddde23c3.jpg","text":"TemporaryFile(/tmp/multipartBody7573166238696544388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011342562,"filename":"image_17122025_23_35_34_9965.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cfab7b8b7d8a873d2b0293fbb959a72f.jpg","text":"TemporaryFile(/tmp/multipartBody3397652686507032737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011342562,"filename":"image_17122025_23_35_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c79d93e9cf57dd066bfe70e81bd1460a.jpg","text":"TemporaryFile(/tmp/multipartBody3817958127951748865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011342562,"filename":"image_17122025_23_35_14_10683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b3ce1b29b357c56d9c4f709a5de1e620.jpg","text":"TemporaryFile(/tmp/multipartBody8673843894690872671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011342562,"filename":"image_17122025_23_35_45_10651.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61848465b403ff52e845c9e2d6a923ca.jpg","text":"TemporaryFile(/tmp/multipartBody8727734876012277810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011342562,"filename":"image_17122025_23_35_24_9531.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399860286","file1":"1399860283","file0":"1399860280","file4":"1399860292","file5":"1399860295","file3":"1399860289"},"map_files_photo_id_array":[{"photo_id":"1399860295","filename":"file5"},{"photo_id":"1399860286","filename":"file2"},{"photo_id":"1399860292","filename":"file4"},{"photo_id":"1399860283","filename":"file1"},{"photo_id":"1399860280","filename":"file0"},{"photo_id":"1399860289","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399860295":["hashtag1","hashtag2"]},{"1399860289":["hashtag1","hashtag2"]},{"1399860280":["hashtag1","hashtag2"]},{"1399860283":["hashtag1","hashtag2"]},{"1399860292":["hashtag1","hashtag2"]},{"1399860286":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399860295, 1399860289, 1399860280, 1399860283, 1399860292, 1399860286)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.984116077423096 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:42:02.651513
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/35/image_17122025_23_36_04_9588.jpg', '/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_14_9731.jpg', '/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_24_10688.jpg', '/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_34_9713.jpg', '/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_44_9641.jpg', '/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/35/image_17122025_23_36_04_9588.jpg
/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_14_9731.jpg
/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_24_10688.jpg
/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_34_9713.jpg
/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_44_9641.jpg
/home/pi/Desktop/images/17122025/23/36/image_17122025_23_36_54_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":["1399860481","1399860439","1399860399","1399860588","1399860552","1399860519"],"photo_ids_order":["1399860399","1399860439","1399860481","1399860519","1399860552","1399860588"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/376fce5baf507b525c464686bbc51cd2.jpg","text":"TemporaryFile(/tmp/multipartBody4233753466657977335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011383261,"filename":"image_17122025_23_36_24_10688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a20e5ed404541726d0c056404f827e81.jpg","text":"TemporaryFile(/tmp/multipartBody3481558299128468724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011383261,"filename":"image_17122025_23_36_14_9731.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9f38833d4079c9fb4cba73c4af5f7ad.jpg","text":"TemporaryFile(/tmp/multipartBody1034610488592329435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011383261,"filename":"image_17122025_23_36_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd6f15528bfd57ba7fe99266f2fd8571.jpg","text":"TemporaryFile(/tmp/multipartBody4400986799628537867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011383261,"filename":"image_17122025_23_36_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/59e421377453feefaa55156cc50c6a8f.jpg","text":"TemporaryFile(/tmp/multipartBody8496759890316365011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011383261,"filename":"image_17122025_23_36_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/afa8c5604e3df7ee252ae7f43eda1b15.jpg","text":"TemporaryFile(/tmp/multipartBody1530275038195052854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011383261,"filename":"image_17122025_23_36_34_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399860481","file1":"1399860439","file0":"1399860399","file4":"1399860552","file5":"1399860588","file3":"1399860519"},"map_files_photo_id_array":[{"photo_id":"1399860588","filename":"file5"},{"photo_id":"1399860481","filename":"file2"},{"photo_id":"1399860552","filename":"file4"},{"photo_id":"1399860439","filename":"file1"},{"photo_id":"1399860399","filename":"file0"},{"photo_id":"1399860519","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399860481":["hashtag1","hashtag2"]},{"1399860439":["hashtag1","hashtag2"]},{"1399860399":["hashtag1","hashtag2"]},{"1399860588":["hashtag1","hashtag2"]},{"1399860552":["hashtag1","hashtag2"]},{"1399860519":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399860481, 1399860439, 1399860399, 1399860588, 1399860552, 1399860519)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.74620199203491 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:42:42.227243
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_11_2840.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_14_2668.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_17_3606.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_20_2795.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_23_2654.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_26_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_11_2840.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_14_2668.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_17_3606.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_20_2795.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_23_2654.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_26_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":["1399860766","1399860853","1399860808","1399860726","1399860849","1399860851"],"photo_ids_order":["1399860726","1399860766","1399860808","1399860849","1399860851","1399860853"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d4a45e0facacc2cd365ae81e4cfa1576.jpg","text":"TemporaryFile(/tmp/multipartBody2914137561411659329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011422963,"filename":"image_07112025_21_59_14_2668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ffcc690737d705d335a01293c91a2af5.jpg","text":"TemporaryFile(/tmp/multipartBody85169913272819961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011422963,"filename":"image_07112025_21_59_26_3694.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0bbde0d13534fed93f191778c32fee51.jpg","text":"TemporaryFile(/tmp/multipartBody6812361936689072654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011422963,"filename":"image_07112025_21_59_17_3606.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87ee967b3b369c8ae875f4649cca4975.jpg","text":"TemporaryFile(/tmp/multipartBody3160456221605264800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011422963,"filename":"image_07112025_21_59_11_2840.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/db291a2378d2c246660bb6a100facab7.jpg","text":"TemporaryFile(/tmp/multipartBody1709046382258929796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011422963,"filename":"image_07112025_21_59_20_2795.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/906eb70c06346b5405a46ee599b33619.jpg","text":"TemporaryFile(/tmp/multipartBody6919253093120549086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011422963,"filename":"image_07112025_21_59_23_2654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399860808","file1":"1399860766","file0":"1399860726","file4":"1399860851","file5":"1399860853","file3":"1399860849"},"map_files_photo_id_array":[{"photo_id":"1399860853","filename":"file5"},{"photo_id":"1399860808","filename":"file2"},{"photo_id":"1399860851","filename":"file4"},{"photo_id":"1399860766","filename":"file1"},{"photo_id":"1399860726","filename":"file0"},{"photo_id":"1399860849","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399860766":["hashtag1","hashtag2"]},{"1399860853":["hashtag1","hashtag2"]},{"1399860808":["hashtag1","hashtag2"]},{"1399860726":["hashtag1","hashtag2"]},{"1399860849":["hashtag1","hashtag2"]},{"1399860851":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399860766, 1399860853, 1399860808, 1399860726, 1399860849, 1399860851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.05385446548462 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:43:22.510741
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/36/image_17122025_23_37_04_9712.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_14_9596.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_24_10652.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_34_9786.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_44_9738.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_54_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/36/image_17122025_23_37_04_9712.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_14_9596.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_24_10652.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_34_9786.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_44_9738.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_54_10643.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.4961404800415039 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:43:32.533552
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:43:42.441925
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_29_2538.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_32_2688.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_35_3744.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_38_2568.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_41_2683.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_44_3642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_29_2538.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_32_2688.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_35_3744.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_38_2568.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_41_2683.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_44_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":["1399861048","1399861011","1399861079","1399860977","1399860941","1399860902"],"photo_ids_order":["1399860902","1399860941","1399860977","1399861011","1399861048","1399861079"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1ff96571e4ee14720d694a82fe39a9ec.jpg","text":"TemporaryFile(/tmp/multipartBody9185428406320360826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011483186,"filename":"image_07112025_21_59_41_2683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6408b2f0c18ebe3767eff2cb441875fe.jpg","text":"TemporaryFile(/tmp/multipartBody3809103900812667757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011483186,"filename":"image_07112025_21_59_38_2568.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c94884260336a3cd3445dae60803bf4c.jpg","text":"TemporaryFile(/tmp/multipartBody3143724426984765290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011483186,"filename":"image_07112025_21_59_44_3642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/559dd67077ffd1daab2ea4e36911f262.jpg","text":"TemporaryFile(/tmp/multipartBody7367580107976913218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011483186,"filename":"image_07112025_21_59_35_3744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b316334d156304c40cc70c7af1eb0250.jpg","text":"TemporaryFile(/tmp/multipartBody9060625224375983013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011483186,"filename":"image_07112025_21_59_32_2688.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d15da6b1a716aad172bb4fb41d92eff0.jpg","text":"TemporaryFile(/tmp/multipartBody3579054007877374949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011483186,"filename":"image_07112025_21_59_29_2538.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399860977","file1":"1399860941","file0":"1399860902","file4":"1399861048","file5":"1399861079","file3":"1399861011"},"map_files_photo_id_array":[{"photo_id":"1399861079","filename":"file5"},{"photo_id":"1399860977","filename":"file2"},{"photo_id":"1399861048","filename":"file4"},{"photo_id":"1399860941","filename":"file1"},{"photo_id":"1399860902","filename":"file0"},{"photo_id":"1399861011","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399861048":["hashtag1","hashtag2"]},{"1399861011":["hashtag1","hashtag2"]},{"1399861079":["hashtag1","hashtag2"]},{"1399860977":["hashtag1","hashtag2"]},{"1399860941":["hashtag1","hashtag2"]},{"1399860902":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399861048, 1399861011, 1399861079, 1399860977, 1399860941, 1399860902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.62552452087402 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:44:22.699255
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/36/image_17122025_23_37_04_9712.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_14_9596.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_24_10652.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_34_9786.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_44_9738.jpg', '/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_54_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/36/image_17122025_23_37_04_9712.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_14_9596.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_24_10652.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_34_9786.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_44_9738.jpg
/home/pi/Desktop/images/17122025/23/37/image_17122025_23_37_54_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":["1399861173","1399861160","1399861121","1399861189","1399861180","1399861141"],"photo_ids_order":["1399861121","1399861141","1399861160","1399861173","1399861180","1399861189"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/26326b3a4f4b896a4e281ee7154380b9.jpg","text":"TemporaryFile(/tmp/multipartBody6484351612033632348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011523322,"filename":"image_17122025_23_37_34_9786.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ae0ea2468d16f31dd5ff78930c9cbc10.jpg","text":"TemporaryFile(/tmp/multipartBody4281371004394234465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011523322,"filename":"image_17122025_23_37_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d47163afa983b3faba1c5d69f4c6a2c5.jpg","text":"TemporaryFile(/tmp/multipartBody8942677191998401351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011523322,"filename":"image_17122025_23_37_04_9712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6382f04eddc02167fe6fa53f5975ba49.jpg","text":"TemporaryFile(/tmp/multipartBody8245792491307389407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011523322,"filename":"image_17122025_23_37_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/93008e94dc841b3ccc561c3e13b2348c.jpg","text":"TemporaryFile(/tmp/multipartBody1191350745018747306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011523322,"filename":"image_17122025_23_37_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/55c00ab6f0fc9b20ce5083da9e7b24a9.jpg","text":"TemporaryFile(/tmp/multipartBody2187861895583790171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011523322,"filename":"image_17122025_23_37_14_9596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861160","file1":"1399861141","file0":"1399861121","file4":"1399861180","file5":"1399861189","file3":"1399861173"},"map_files_photo_id_array":[{"photo_id":"1399861189","filename":"file5"},{"photo_id":"1399861160","filename":"file2"},{"photo_id":"1399861180","filename":"file4"},{"photo_id":"1399861141","filename":"file1"},{"photo_id":"1399861121","filename":"file0"},{"photo_id":"1399861173","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861173":["hashtag1","hashtag2"]},{"1399861160":["hashtag1","hashtag2"]},{"1399861121":["hashtag1","hashtag2"]},{"1399861189":["hashtag1","hashtag2"]},{"1399861180":["hashtag1","hashtag2"]},{"1399861141":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861173, 1399861160, 1399861121, 1399861189, 1399861180, 1399861141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.012351274490356 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:45:11.882680
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:45:21.891372
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_14_9804.jpg', '/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_24_9811.jpg', '/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_35_10846.jpg', '/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_44_9707.jpg', '/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_54_9739.jpg', '/home/pi/Desktop/images/17122025/23/38/image_17122025_23_39_04_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_14_9804.jpg
/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_24_9811.jpg
/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_35_10846.jpg
/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_44_9707.jpg
/home/pi/Desktop/images/17122025/23/38/image_17122025_23_38_54_9739.jpg
/home/pi/Desktop/images/17122025/23/38/image_17122025_23_39_04_9723.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861210","1399861204","1399861213","1399861206","1399861208","1399861202"],"photo_ids_order":["1399861202","1399861204","1399861206","1399861208","1399861210","1399861213"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5a08721ac84d8df6e9a293d5d3c553c4.jpg","text":"TemporaryFile(/tmp/multipartBody224559679074381375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011582484,"filename":"image_17122025_23_38_54_9739.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c182710d38b7fe02f42bb0bf32f4798.jpg","text":"TemporaryFile(/tmp/multipartBody3031639002487220237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011582484,"filename":"image_17122025_23_38_24_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1d1bafa6f425410519b44de1e1eeff45.jpg","text":"TemporaryFile(/tmp/multipartBody5709876221169839338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011582484,"filename":"image_17122025_23_39_04_9723.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ebe8bf4fcb66fa3d070f7a06c9986118.jpg","text":"TemporaryFile(/tmp/multipartBody6231493987832590414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011582484,"filename":"image_17122025_23_38_35_10846.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/08e2cd9f518fc38af15e674c054b9fac.jpg","text":"TemporaryFile(/tmp/multipartBody1635351844469049730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011582484,"filename":"image_17122025_23_38_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2fcd0183e9a4fe244cfadda950dea64d.jpg","text":"TemporaryFile(/tmp/multipartBody1041538847113325828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011582484,"filename":"image_17122025_23_38_14_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861206","file1":"1399861204","file0":"1399861202","file4":"1399861210","file5":"1399861213","file3":"1399861208"},"map_files_photo_id_array":[{"photo_id":"1399861213","filename":"file5"},{"photo_id":"1399861206","filename":"file2"},{"photo_id":"1399861210","filename":"file4"},{"photo_id":"1399861204","filename":"file1"},{"photo_id":"1399861202","filename":"file0"},{"photo_id":"1399861208","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861210":["hashtag1","hashtag2"]},{"1399861204":["hashtag1","hashtag2"]},{"1399861213":["hashtag1","hashtag2"]},{"1399861206":["hashtag1","hashtag2"]},{"1399861208":["hashtag1","hashtag2"]},{"1399861202":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861210, 1399861204, 1399861213, 1399861206, 1399861208, 1399861202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.68043231964111 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:46:02.804686
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_14_10597.jpg', '/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_24_9808.jpg', '/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_34_9751.jpg', '/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_44_10630.jpg', '/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_54_9857.jpg', '/home/pi/Desktop/images/17122025/23/39/image_17122025_23_40_04_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_14_10597.jpg
/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_24_9808.jpg
/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_34_9751.jpg
/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_44_10630.jpg
/home/pi/Desktop/images/17122025/23/39/image_17122025_23_39_54_9857.jpg
/home/pi/Desktop/images/17122025/23/39/image_17122025_23_40_04_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":["1399861219","1399861221","1399861215","1399861226","1399861223","1399861217"],"photo_ids_order":["1399861215","1399861217","1399861219","1399861221","1399861223","1399861226"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/38b1ba077692a79b5dc03e2f3e046e59.jpg","text":"TemporaryFile(/tmp/multipartBody869320959946857396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011623453,"filename":"image_17122025_23_39_34_9751.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c10b3e44716e8c343ee7f6259171486a.jpg","text":"TemporaryFile(/tmp/multipartBody1624486973460085739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011623453,"filename":"image_17122025_23_39_44_10630.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8c88fc03e81b642ef32d765e6eaad6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6130292141367718466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011623453,"filename":"image_17122025_23_39_14_10597.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/71ba9439b1c4c813e37613454a1f6a44.jpg","text":"TemporaryFile(/tmp/multipartBody2432758066674778721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011623453,"filename":"image_17122025_23_40_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a8b6f7433964dd9299e1b299626e0d6f.jpg","text":"TemporaryFile(/tmp/multipartBody1401756353308388551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011623453,"filename":"image_17122025_23_39_54_9857.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f29f28bc124fb067caec366e9503746f.jpg","text":"TemporaryFile(/tmp/multipartBody2284075465017263194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011623453,"filename":"image_17122025_23_39_24_9808.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861219","file1":"1399861217","file0":"1399861215","file4":"1399861223","file5":"1399861226","file3":"1399861221"},"map_files_photo_id_array":[{"photo_id":"1399861226","filename":"file5"},{"photo_id":"1399861219","filename":"file2"},{"photo_id":"1399861223","filename":"file4"},{"photo_id":"1399861217","filename":"file1"},{"photo_id":"1399861215","filename":"file0"},{"photo_id":"1399861221","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861219":["hashtag1","hashtag2"]},{"1399861221":["hashtag1","hashtag2"]},{"1399861215":["hashtag1","hashtag2"]},{"1399861226":["hashtag1","hashtag2"]},{"1399861223":["hashtag1","hashtag2"]},{"1399861217":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861219, 1399861221, 1399861215, 1399861226, 1399861223, 1399861217)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.75074648857117 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:46:42.270293
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_47_2768.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_54_3769.jpg', '/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_59_2586.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_08_3777.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_11_2755.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_14_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_47_2768.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_54_3769.jpg
/home/pi/Desktop/images/07112025/21/59/image_07112025_21_59_59_2586.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_08_3777.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_11_2755.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_14_2522.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861243","1399861242","1399861236","1399861239","1399861241","1399861240"],"photo_ids_order":["1399861236","1399861239","1399861240","1399861241","1399861242","1399861243"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5828d1cfec581fe58f0eeac6981efd49.jpg","text":"TemporaryFile(/tmp/multipartBody3074912900270339697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011663017,"filename":"image_07112025_22_00_14_2522.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/721c18beb132805e33e9b3c251476a90.jpg","text":"TemporaryFile(/tmp/multipartBody2095577286058748419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011663017,"filename":"image_07112025_22_00_11_2755.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/4dcd8629e85a981ca4b587099ab4cb52.jpg","text":"TemporaryFile(/tmp/multipartBody7427541129093495782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011663017,"filename":"image_07112025_21_59_47_2768.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cb787149701d934d70c94d0bf209a25c.jpg","text":"TemporaryFile(/tmp/multipartBody3587149444947409590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011663017,"filename":"image_07112025_21_59_54_3769.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c4e6060a30ba30ad8b7e22c039fb6502.jpg","text":"TemporaryFile(/tmp/multipartBody6987825480980461799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011663017,"filename":"image_07112025_22_00_08_3777.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/6c3aa5601039835bc19fabbacda98963.jpg","text":"TemporaryFile(/tmp/multipartBody4251106290256983302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011663017,"filename":"image_07112025_21_59_59_2586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861240","file1":"1399861239","file0":"1399861236","file4":"1399861242","file5":"1399861243","file3":"1399861241"},"map_files_photo_id_array":[{"photo_id":"1399861243","filename":"file5"},{"photo_id":"1399861240","filename":"file2"},{"photo_id":"1399861242","filename":"file4"},{"photo_id":"1399861239","filename":"file1"},{"photo_id":"1399861236","filename":"file0"},{"photo_id":"1399861241","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399861243":["hashtag1","hashtag2"]},{"1399861242":["hashtag1","hashtag2"]},{"1399861236":["hashtag1","hashtag2"]},{"1399861239":["hashtag1","hashtag2"]},{"1399861241":["hashtag1","hashtag2"]},{"1399861240":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399861243, 1399861242, 1399861236, 1399861239, 1399861241, 1399861240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.20424032211304 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:47:22.623022
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_14_9774.jpg', '/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_24_9788.jpg', '/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_34_10571.jpg', '/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_44_9852.jpg', '/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_54_9775.jpg', '/home/pi/Desktop/images/17122025/23/40/image_17122025_23_41_04_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_14_9774.jpg
/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_24_9788.jpg
/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_34_10571.jpg
/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_44_9852.jpg
/home/pi/Desktop/images/17122025/23/40/image_17122025_23_40_54_9775.jpg
/home/pi/Desktop/images/17122025/23/40/image_17122025_23_41_04_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":["1399861251","1399861260","1399861254","1399861248","1399861256","1399861259"],"photo_ids_order":["1399861248","1399861251","1399861254","1399861256","1399861259","1399861260"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/76fd5fc361ca7596753d247520815886.jpg","text":"TemporaryFile(/tmp/multipartBody8629668963849803085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011703241,"filename":"image_17122025_23_40_24_9788.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad6f5827ebd9bdbbd690d95d5d14da65.jpg","text":"TemporaryFile(/tmp/multipartBody3293762999980046354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011703241,"filename":"image_17122025_23_41_04_9807.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8294f5ea318a9fb5714db3df35accec4.jpg","text":"TemporaryFile(/tmp/multipartBody3642476726140318038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011703241,"filename":"image_17122025_23_40_34_10571.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/eedd70c21549b0524f01909cca819095.jpg","text":"TemporaryFile(/tmp/multipartBody8996814656884026544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011703241,"filename":"image_17122025_23_40_14_9774.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d9d5dee0a334eb224d5c476b004f402.jpg","text":"TemporaryFile(/tmp/multipartBody4358946989314166807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011703241,"filename":"image_17122025_23_40_44_9852.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/de208b4f97bb92884ed153aa5cd496df.jpg","text":"TemporaryFile(/tmp/multipartBody326228833348979628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011703241,"filename":"image_17122025_23_40_54_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861254","file1":"1399861251","file0":"1399861248","file4":"1399861259","file5":"1399861260","file3":"1399861256"},"map_files_photo_id_array":[{"photo_id":"1399861260","filename":"file5"},{"photo_id":"1399861254","filename":"file2"},{"photo_id":"1399861259","filename":"file4"},{"photo_id":"1399861251","filename":"file1"},{"photo_id":"1399861248","filename":"file0"},{"photo_id":"1399861256","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861251":["hashtag1","hashtag2"]},{"1399861260":["hashtag1","hashtag2"]},{"1399861254":["hashtag1","hashtag2"]},{"1399861248":["hashtag1","hashtag2"]},{"1399861256":["hashtag1","hashtag2"]},{"1399861259":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861251, 1399861260, 1399861254, 1399861248, 1399861256, 1399861259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.45909285545349 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:48:12.706233
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:48:22.739157
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/41/image_17122025_23_41_24_9806.jpg', '/home/pi/Desktop/images/17122025/23/41/image_17122025_23_41_34_9698.jpg', '/home/pi/Desktop/images/17122025/23/41/image_17122025_23_41_44_10648.jpg', '/home/pi/Desktop/images/17122025/23/41/image_17122025_23_41_54_9674.jpg', '/home/pi/Desktop/images/17122025/23/41/image_17122025_23_42_04_9633.jpg', '/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_14_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/41/image_17122025_23_41_24_9806.jpg
/home/pi/Desktop/images/17122025/23/41/image_17122025_23_41_34_9698.jpg
/home/pi/Desktop/images/17122025/23/41/image_17122025_23_41_44_10648.jpg
/home/pi/Desktop/images/17122025/23/41/image_17122025_23_41_54_9674.jpg
/home/pi/Desktop/images/17122025/23/41/image_17122025_23_42_04_9633.jpg
/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_14_10590.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861264","1399861284","1399861286","1399861271","1399861268","1399861282"],"photo_ids_order":["1399861264","1399861268","1399861271","1399861282","1399861284","1399861286"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ca8016516566012d6d3ba1b1addfadb5.jpg","text":"TemporaryFile(/tmp/multipartBody9021184037450417132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011763334,"filename":"image_17122025_23_41_24_9806.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/bd1b15429be9260c3b63c85ad7108400.jpg","text":"TemporaryFile(/tmp/multipartBody5460630909409290686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011763334,"filename":"image_17122025_23_42_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/140c60721aa926eee2f6e35f201def11.jpg","text":"TemporaryFile(/tmp/multipartBody6375066374174615784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011763334,"filename":"image_17122025_23_42_14_10590.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a2ebec9d07c682af5f2ebd31d9f9291f.jpg","text":"TemporaryFile(/tmp/multipartBody7119107087678893058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011763334,"filename":"image_17122025_23_41_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/80ebbedca39ba2cabf8773d391db1099.jpg","text":"TemporaryFile(/tmp/multipartBody6008254287562916010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011763334,"filename":"image_17122025_23_41_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2b8fcad78edc62cc8471833f7bef127e.jpg","text":"TemporaryFile(/tmp/multipartBody7840822813101825633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011763334,"filename":"image_17122025_23_41_54_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861271","file1":"1399861268","file0":"1399861264","file4":"1399861284","file5":"1399861286","file3":"1399861282"},"map_files_photo_id_array":[{"photo_id":"1399861286","filename":"file5"},{"photo_id":"1399861271","filename":"file2"},{"photo_id":"1399861284","filename":"file4"},{"photo_id":"1399861268","filename":"file1"},{"photo_id":"1399861264","filename":"file0"},{"photo_id":"1399861282","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861264":["hashtag1","hashtag2"]},{"1399861284":["hashtag1","hashtag2"]},{"1399861286":["hashtag1","hashtag2"]},{"1399861271":["hashtag1","hashtag2"]},{"1399861268":["hashtag1","hashtag2"]},{"1399861282":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861264, 1399861284, 1399861286, 1399861271, 1399861268, 1399861282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.61791443824768 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:49:02.862557
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_24_9732.jpg', '/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_34_9733.jpg', '/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_44_9781.jpg', '/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_54_10595.jpg', '/home/pi/Desktop/images/17122025/23/42/image_17122025_23_43_04_9610.jpg', '/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_14_10609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_24_9732.jpg
/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_34_9733.jpg
/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_44_9781.jpg
/home/pi/Desktop/images/17122025/23/42/image_17122025_23_42_54_10595.jpg
/home/pi/Desktop/images/17122025/23/42/image_17122025_23_43_04_9610.jpg
/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_14_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":["1399861303","1399861312","1399861293","1399861308","1399861310","1399861316"],"photo_ids_order":["1399861293","1399861303","1399861308","1399861310","1399861312","1399861316"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/67867112dbcae21be785ba700943212d.jpg","text":"TemporaryFile(/tmp/multipartBody6753416458222087106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011803601,"filename":"image_17122025_23_42_34_9733.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e3462779c58be851855d41977da4950c.jpg","text":"TemporaryFile(/tmp/multipartBody1102004329639776640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011803601,"filename":"image_17122025_23_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/2025/12/17/b16ef4c115959adf5d04ae858e8e9d98.jpg","text":"TemporaryFile(/tmp/multipartBody6062246488492649986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011803601,"filename":"image_17122025_23_42_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/027f1a86e6e156619d47dc83add32fec.jpg","text":"TemporaryFile(/tmp/multipartBody1024431562424117051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011803601,"filename":"image_17122025_23_42_44_9781.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/1cccd06e5a005017716708860f4ca9e8.jpg","text":"TemporaryFile(/tmp/multipartBody3460058708916013289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011803601,"filename":"image_17122025_23_42_54_10595.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8367ddca7ec220bffc8782fe16cf20f1.jpg","text":"TemporaryFile(/tmp/multipartBody4984750644016646115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011803601,"filename":"image_17122025_23_43_14_10609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861308","file1":"1399861303","file0":"1399861293","file4":"1399861312","file5":"1399861316","file3":"1399861310"},"map_files_photo_id_array":[{"photo_id":"1399861316","filename":"file5"},{"photo_id":"1399861308","filename":"file2"},{"photo_id":"1399861312","filename":"file4"},{"photo_id":"1399861303","filename":"file1"},{"photo_id":"1399861293","filename":"file0"},{"photo_id":"1399861310","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861303":["hashtag1","hashtag2"]},{"1399861312":["hashtag1","hashtag2"]},{"1399861293":["hashtag1","hashtag2"]},{"1399861308":["hashtag1","hashtag2"]},{"1399861310":["hashtag1","hashtag2"]},{"1399861316":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861303, 1399861312, 1399861293, 1399861308, 1399861310, 1399861316)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.82306265830994 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:49:41.912251
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_18_3925.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_20_2861.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_23_2766.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_26_2837.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_29_2744.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_32_3643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_18_3925.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_20_2861.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_23_2766.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_26_2837.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_29_2744.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_32_3643.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861336","1399861324","1399861329","1399861320","1399861323","1399861337"],"photo_ids_order":["1399861320","1399861323","1399861324","1399861329","1399861336","1399861337"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c2cc1ad6e1f3c2636cf02c341cc5beaf.jpg","text":"TemporaryFile(/tmp/multipartBody8793784550188629715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011842687,"filename":"image_07112025_22_00_29_2744.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8a53740f3780bd2d2fd40a59c7967834.jpg","text":"TemporaryFile(/tmp/multipartBody1222472339071186804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011842687,"filename":"image_07112025_22_00_23_2766.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/20c1fcfc81463d0fa7e84762a5d33b76.jpg","text":"TemporaryFile(/tmp/multipartBody2560606577019694445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011842687,"filename":"image_07112025_22_00_26_2837.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f9513ea10050b67a1f7a7f9c45ac86ed.jpg","text":"TemporaryFile(/tmp/multipartBody7035002482173840583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011842687,"filename":"image_07112025_22_00_18_3925.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/cc5b8303fd4111451780013ea7e97bc7.jpg","text":"TemporaryFile(/tmp/multipartBody1347527384992724309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011842687,"filename":"image_07112025_22_00_20_2861.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/21b37573222674a546a8b4221c2dfa5c.jpg","text":"TemporaryFile(/tmp/multipartBody8691453613181675094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011842687,"filename":"image_07112025_22_00_32_3643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861324","file1":"1399861323","file0":"1399861320","file4":"1399861336","file5":"1399861337","file3":"1399861329"},"map_files_photo_id_array":[{"photo_id":"1399861337","filename":"file5"},{"photo_id":"1399861324","filename":"file2"},{"photo_id":"1399861336","filename":"file4"},{"photo_id":"1399861323","filename":"file1"},{"photo_id":"1399861320","filename":"file0"},{"photo_id":"1399861329","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399861336":["hashtag1","hashtag2"]},{"1399861324":["hashtag1","hashtag2"]},{"1399861329":["hashtag1","hashtag2"]},{"1399861320":["hashtag1","hashtag2"]},{"1399861323":["hashtag1","hashtag2"]},{"1399861337":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399861336, 1399861324, 1399861329, 1399861320, 1399861323, 1399861337)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.52156710624695 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:50:22.174575
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_24_9720.jpg', '/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_34_9683.jpg', '/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_45_10697.jpg', '/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_54_9638.jpg', '/home/pi/Desktop/images/17122025/23/43/image_17122025_23_44_04_9662.jpg', '/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_14_9832.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_24_9720.jpg
/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_34_9683.jpg
/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_45_10697.jpg
/home/pi/Desktop/images/17122025/23/43/image_17122025_23_43_54_9638.jpg
/home/pi/Desktop/images/17122025/23/43/image_17122025_23_44_04_9662.jpg
/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_14_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":["1399861342","1399861362","1399861344","1399861358","1399861352","1399861346"],"photo_ids_order":["1399861342","1399861344","1399861346","1399861352","1399861358","1399861362"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9a0876768b58f2620700727e8fabb195.jpg","text":"TemporaryFile(/tmp/multipartBody7853672567780261739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011882811,"filename":"image_17122025_23_43_24_9720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b93318080478d3dbc3380762e645532a.jpg","text":"TemporaryFile(/tmp/multipartBody5827157977272047206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011882811,"filename":"image_17122025_23_44_14_9832.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5d18b6d58b6a1acb31fc49e822f288fc.jpg","text":"TemporaryFile(/tmp/multipartBody2793174293767274682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011882811,"filename":"image_17122025_23_43_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ed79705e0ecf1e686c119117d9ca951c.jpg","text":"TemporaryFile(/tmp/multipartBody3484121383130857185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011882811,"filename":"image_17122025_23_44_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3a1c2e8ac6ed688e76d4ba7728876972.jpg","text":"TemporaryFile(/tmp/multipartBody7170485388366717419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011882811,"filename":"image_17122025_23_43_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/61f44daee1255c33392f859dbe3b56fd.jpg","text":"TemporaryFile(/tmp/multipartBody805024100630858173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011882811,"filename":"image_17122025_23_43_45_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861346","file1":"1399861344","file0":"1399861342","file4":"1399861358","file5":"1399861362","file3":"1399861352"},"map_files_photo_id_array":[{"photo_id":"1399861362","filename":"file5"},{"photo_id":"1399861346","filename":"file2"},{"photo_id":"1399861358","filename":"file4"},{"photo_id":"1399861344","filename":"file1"},{"photo_id":"1399861342","filename":"file0"},{"photo_id":"1399861352","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861342":["hashtag1","hashtag2"]},{"1399861362":["hashtag1","hashtag2"]},{"1399861344":["hashtag1","hashtag2"]},{"1399861358":["hashtag1","hashtag2"]},{"1399861352":["hashtag1","hashtag2"]},{"1399861346":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861342, 1399861362, 1399861344, 1399861358, 1399861352, 1399861346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.775858640670776 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 10 --only_old 1
2025-12-17 23:51:12.401676
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:51:22.489618
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_24_10574.jpg', '/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_34_9683.jpg', '/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_45_10600.jpg', '/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_54_9616.jpg', '/home/pi/Desktop/images/17122025/23/45/image_17122025_23_45_14_9722.jpg', '/home/pi/Desktop/images/17122025/23/45/image_17122025_23_45_24_9974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_24_10574.jpg
/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_34_9683.jpg
/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_45_10600.jpg
/home/pi/Desktop/images/17122025/23/44/image_17122025_23_44_54_9616.jpg
/home/pi/Desktop/images/17122025/23/45/image_17122025_23_45_14_9722.jpg
/home/pi/Desktop/images/17122025/23/45/image_17122025_23_45_24_9974.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861383","1399861388","1399861382","1399861385","1399861384","1399861381"],"photo_ids_order":["1399861381","1399861382","1399861383","1399861384","1399861385","1399861388"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3c0ce93fc368f66bef6a92a0ee56d415.jpg","text":"TemporaryFile(/tmp/multipartBody5336681663331069682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011943087,"filename":"image_17122025_23_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/2025/12/17/c887141f58b7c22b5d5f74673692d730.jpg","text":"TemporaryFile(/tmp/multipartBody7284278744338831022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011943087,"filename":"image_17122025_23_45_24_9974.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/85f20079b9c11a5a3343099034050299.jpg","text":"TemporaryFile(/tmp/multipartBody6991018629186688992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011943087,"filename":"image_17122025_23_44_34_9683.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5329feaae22f18a1e23bd8b85da3973b.jpg","text":"TemporaryFile(/tmp/multipartBody7523735046623408812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011943087,"filename":"image_17122025_23_45_14_9722.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/7723fa2dac94c72b86bf564cc845bacc.jpg","text":"TemporaryFile(/tmp/multipartBody7408530367619820137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011943087,"filename":"image_17122025_23_44_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8f475558d457d681c1e403c6e8337b2e.jpg","text":"TemporaryFile(/tmp/multipartBody5844162814738664922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011943087,"filename":"image_17122025_23_44_24_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861383","file1":"1399861382","file0":"1399861381","file4":"1399861385","file5":"1399861388","file3":"1399861384"},"map_files_photo_id_array":[{"photo_id":"1399861388","filename":"file5"},{"photo_id":"1399861383","filename":"file2"},{"photo_id":"1399861385","filename":"file4"},{"photo_id":"1399861382","filename":"file1"},{"photo_id":"1399861381","filename":"file0"},{"photo_id":"1399861384","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861383":["hashtag1","hashtag2"]},{"1399861388":["hashtag1","hashtag2"]},{"1399861382":["hashtag1","hashtag2"]},{"1399861385":["hashtag1","hashtag2"]},{"1399861384":["hashtag1","hashtag2"]},{"1399861381":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861383, 1399861388, 1399861382, 1399861385, 1399861384, 1399861381)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.40654444694519 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:52:03.137531
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/45/image_17122025_23_45_34_10790.jpg', '/home/pi/Desktop/images/17122025/23/45/image_17122025_23_45_54_9807.jpg', '/home/pi/Desktop/images/17122025/23/45/image_17122025_23_46_04_9643.jpg', '/home/pi/Desktop/images/17122025/23/46/image_17122025_23_46_14_10661.jpg', '/home/pi/Desktop/images/17122025/23/46/image_17122025_23_46_24_9681.jpg', '/home/pi/Desktop/images/17122025/23/46/image_17122025_23_47_04_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/45/image_17122025_23_45_34_10790.jpg
/home/pi/Desktop/images/17122025/23/45/image_17122025_23_45_54_9807.jpg
/home/pi/Desktop/images/17122025/23/45/image_17122025_23_46_04_9643.jpg
/home/pi/Desktop/images/17122025/23/46/image_17122025_23_46_14_10661.jpg
/home/pi/Desktop/images/17122025/23/46/image_17122025_23_46_24_9681.jpg
/home/pi/Desktop/images/17122025/23/46/image_17122025_23_47_04_9811.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861398","1399861401","1399861400","1399861403","1399861393","1399861396"],"photo_ids_order":["1399861393","1399861396","1399861398","1399861400","1399861401","1399861403"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/084d943bbcc5b243e07df6c750481bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6855663271470693607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011983815,"filename":"image_17122025_23_46_04_9643.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d75c93c57f0529b1cf172c2e38f5028d.jpg","text":"TemporaryFile(/tmp/multipartBody1978451571767064892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011983815,"filename":"image_17122025_23_46_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d20ea255a2eac19e8984c5f04ef282ec.jpg","text":"TemporaryFile(/tmp/multipartBody1625987000344323323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011983815,"filename":"image_17122025_23_46_14_10661.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a6e91b5cef7e49e1bcb626039886a591.jpg","text":"TemporaryFile(/tmp/multipartBody1025593537893242148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011983815,"filename":"image_17122025_23_47_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b8d73f85fb5a87c29ca214d5744d4143.jpg","text":"TemporaryFile(/tmp/multipartBody7358779966382308253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011983815,"filename":"image_17122025_23_45_34_10790.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/328b2be1dc5d1b6cf0a9ec22be07e04a.jpg","text":"TemporaryFile(/tmp/multipartBody2151816299844874384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766011983815,"filename":"image_17122025_23_45_54_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861398","file1":"1399861396","file0":"1399861393","file4":"1399861401","file5":"1399861403","file3":"1399861400"},"map_files_photo_id_array":[{"photo_id":"1399861403","filename":"file5"},{"photo_id":"1399861398","filename":"file2"},{"photo_id":"1399861401","filename":"file4"},{"photo_id":"1399861396","filename":"file1"},{"photo_id":"1399861393","filename":"file0"},{"photo_id":"1399861400","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861398":["hashtag1","hashtag2"]},{"1399861401":["hashtag1","hashtag2"]},{"1399861400":["hashtag1","hashtag2"]},{"1399861403":["hashtag1","hashtag2"]},{"1399861393":["hashtag1","hashtag2"]},{"1399861396":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861398, 1399861401, 1399861400, 1399861403, 1399861393, 1399861396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.46614456176758 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:52:42.740459
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_35_2727.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_38_2510.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_41_3618.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_44_2593.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_47_3618.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_50_2882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_35_2727.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_38_2510.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_41_3618.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_44_2593.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_47_3618.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_50_2882.jpg
after data_to_send, before sending request
after request
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>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.6333844661712646 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:53:02.671358
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/47/image_17122025_23_47_15_10724.jpg', '/home/pi/Desktop/images/17122025/23/47/image_17122025_23_47_34_9558.jpg', '/home/pi/Desktop/images/17122025/23/47/image_17122025_23_47_44_10720.jpg', '/home/pi/Desktop/images/17122025/23/47/image_17122025_23_47_54_9754.jpg', '/home/pi/Desktop/images/17122025/23/47/image_17122025_23_48_04_9705.jpg', '/home/pi/Desktop/images/17122025/23/48/image_17122025_23_48_24_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/47/image_17122025_23_47_15_10724.jpg
/home/pi/Desktop/images/17122025/23/47/image_17122025_23_47_34_9558.jpg
/home/pi/Desktop/images/17122025/23/47/image_17122025_23_47_44_10720.jpg
/home/pi/Desktop/images/17122025/23/47/image_17122025_23_47_54_9754.jpg
/home/pi/Desktop/images/17122025/23/47/image_17122025_23_48_04_9705.jpg
/home/pi/Desktop/images/17122025/23/48/image_17122025_23_48_24_10593.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861435","1399861438","1399861432","1399861434","1399861436","1399861430"],"photo_ids_order":["1399861430","1399861432","1399861434","1399861435","1399861436","1399861438"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/25110a9628942ad80ae33f470b8c1c03.jpg","text":"TemporaryFile(/tmp/multipartBody4868829058618227216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012043328,"filename":"image_17122025_23_47_54_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ef6132944dc6d51f07c582e92b79840b.jpg","text":"TemporaryFile(/tmp/multipartBody1097531039778084367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012043328,"filename":"image_17122025_23_48_24_10593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/82862f512861dea62f3b949cf32f7eaf.jpg","text":"TemporaryFile(/tmp/multipartBody6028128366811444019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012043328,"filename":"image_17122025_23_47_34_9558.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d9ff1dc98aaba0aa588a4a703505227d.jpg","text":"TemporaryFile(/tmp/multipartBody6229930319259789775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012043328,"filename":"image_17122025_23_47_44_10720.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/8d818e970299b2954c7426d30706435f.jpg","text":"TemporaryFile(/tmp/multipartBody4057935545421739439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012043328,"filename":"image_17122025_23_48_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e0e559ec9632c025f2541d43163e209d.jpg","text":"TemporaryFile(/tmp/multipartBody2987188877461858737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012043328,"filename":"image_17122025_23_47_15_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861434","file1":"1399861432","file0":"1399861430","file4":"1399861436","file5":"1399861438","file3":"1399861435"},"map_files_photo_id_array":[{"photo_id":"1399861438","filename":"file5"},{"photo_id":"1399861434","filename":"file2"},{"photo_id":"1399861436","filename":"file4"},{"photo_id":"1399861432","filename":"file1"},{"photo_id":"1399861430","filename":"file0"},{"photo_id":"1399861435","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861435":["hashtag1","hashtag2"]},{"1399861438":["hashtag1","hashtag2"]},{"1399861432":["hashtag1","hashtag2"]},{"1399861434":["hashtag1","hashtag2"]},{"1399861436":["hashtag1","hashtag2"]},{"1399861430":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861435, 1399861438, 1399861432, 1399861434, 1399861436, 1399861430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.98030161857605 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:53:42.031202
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_35_2727.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_38_2510.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_41_3618.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_44_2593.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_47_3618.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_50_2882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_35_2727.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_38_2510.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_41_3618.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_44_2593.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_47_3618.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_50_2882.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861450","1399861443","1399861446","1399861449","1399861448","1399861447"],"photo_ids_order":["1399861443","1399861446","1399861447","1399861448","1399861449","1399861450"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5f69e9212c773d7d9c36b336fec1dd04.jpg","text":"TemporaryFile(/tmp/multipartBody2674353913508145181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012082643,"filename":"image_07112025_22_00_50_2882.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/a32f533f1fda8942c399bbfe7932c3fe.jpg","text":"TemporaryFile(/tmp/multipartBody4010394902053214627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012082643,"filename":"image_07112025_22_00_35_2727.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9478f5c92cfbbf871f22719a050ed83e.jpg","text":"TemporaryFile(/tmp/multipartBody1382591575965207805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012082643,"filename":"image_07112025_22_00_38_2510.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2310d96d5d7f9077d94e3bb7e015b974.jpg","text":"TemporaryFile(/tmp/multipartBody3066907895711879427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012082643,"filename":"image_07112025_22_00_47_3618.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c48a8c38f820f4626d50ebc281d7f7b5.jpg","text":"TemporaryFile(/tmp/multipartBody2799790410116133878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012082643,"filename":"image_07112025_22_00_44_2593.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5474108e40af56afe7aa9f3f3b1b40d8.jpg","text":"TemporaryFile(/tmp/multipartBody5459126500773394569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012082643,"filename":"image_07112025_22_00_41_3618.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861447","file1":"1399861446","file0":"1399861443","file4":"1399861449","file5":"1399861450","file3":"1399861448"},"map_files_photo_id_array":[{"photo_id":"1399861450","filename":"file5"},{"photo_id":"1399861447","filename":"file2"},{"photo_id":"1399861449","filename":"file4"},{"photo_id":"1399861446","filename":"file1"},{"photo_id":"1399861443","filename":"file0"},{"photo_id":"1399861448","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399861450":["hashtag1","hashtag2"]},{"1399861443":["hashtag1","hashtag2"]},{"1399861446":["hashtag1","hashtag2"]},{"1399861449":["hashtag1","hashtag2"]},{"1399861448":["hashtag1","hashtag2"]},{"1399861447":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399861450, 1399861443, 1399861446, 1399861449, 1399861448, 1399861447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.29740643501282 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:54:22.390635
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/48/image_17122025_23_48_54_9749.jpg', '/home/pi/Desktop/images/17122025/23/48/image_17122025_23_49_04_9553.jpg', '/home/pi/Desktop/images/17122025/23/49/image_17122025_23_49_14_10625.jpg', '/home/pi/Desktop/images/17122025/23/50/image_17122025_23_50_24_9915.jpg', '/home/pi/Desktop/images/17122025/23/50/image_17122025_23_50_34_9754.jpg', '/home/pi/Desktop/images/17122025/23/50/image_17122025_23_50_54_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/48/image_17122025_23_48_54_9749.jpg
/home/pi/Desktop/images/17122025/23/48/image_17122025_23_49_04_9553.jpg
/home/pi/Desktop/images/17122025/23/49/image_17122025_23_49_14_10625.jpg
/home/pi/Desktop/images/17122025/23/50/image_17122025_23_50_24_9915.jpg
/home/pi/Desktop/images/17122025/23/50/image_17122025_23_50_34_9754.jpg
/home/pi/Desktop/images/17122025/23/50/image_17122025_23_50_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":["1399861476","1399861461","1399861455","1399861469","1399861463","1399861459"],"photo_ids_order":["1399861455","1399861459","1399861461","1399861463","1399861469","1399861476"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/04d9cb053fd5c3be66d2e5f626269e39.jpg","text":"TemporaryFile(/tmp/multipartBody5782219462512009640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012123007,"filename":"image_17122025_23_50_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c734390280e91087b954be099499536a.jpg","text":"TemporaryFile(/tmp/multipartBody4125081293195732306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012123007,"filename":"image_17122025_23_49_14_10625.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3bc208a5472c7fde0655ffd4aa6a3732.jpg","text":"TemporaryFile(/tmp/multipartBody8105760828802710821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012123007,"filename":"image_17122025_23_48_54_9749.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/3b9aa98bfae9dbb666bc9adcb2ba64e5.jpg","text":"TemporaryFile(/tmp/multipartBody1691124613151378566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012123007,"filename":"image_17122025_23_50_34_9754.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/5c1923e048450702465798a2cacbd673.jpg","text":"TemporaryFile(/tmp/multipartBody9004992956198931732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012123007,"filename":"image_17122025_23_50_24_9915.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/dd323f0e01e1c3ca78b2bf72a4e2a59b.jpg","text":"TemporaryFile(/tmp/multipartBody4853928624799745063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012123007,"filename":"image_17122025_23_49_04_9553.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861461","file1":"1399861459","file0":"1399861455","file4":"1399861469","file5":"1399861476","file3":"1399861463"},"map_files_photo_id_array":[{"photo_id":"1399861476","filename":"file5"},{"photo_id":"1399861461","filename":"file2"},{"photo_id":"1399861469","filename":"file4"},{"photo_id":"1399861459","filename":"file1"},{"photo_id":"1399861455","filename":"file0"},{"photo_id":"1399861463","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861476":["hashtag1","hashtag2"]},{"1399861461":["hashtag1","hashtag2"]},{"1399861455":["hashtag1","hashtag2"]},{"1399861469":["hashtag1","hashtag2"]},{"1399861463":["hashtag1","hashtag2"]},{"1399861459":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861476, 1399861461, 1399861455, 1399861469, 1399861463, 1399861459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.591633558273315 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2
2025-12-17 23:55:03.125230
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/50/image_17122025_23_51_04_9726.jpg', '/home/pi/Desktop/images/17122025/23/51/image_17122025_23_51_14_10596.jpg', '/home/pi/Desktop/images/17122025/23/51/image_17122025_23_51_24_9633.jpg', '/home/pi/Desktop/images/17122025/23/51/image_17122025_23_52_05_10658.jpg', '/home/pi/Desktop/images/17122025/23/52/image_17122025_23_52_14_9728.jpg', '/home/pi/Desktop/images/17122025/23/52/image_17122025_23_52_24_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/50/image_17122025_23_51_04_9726.jpg
/home/pi/Desktop/images/17122025/23/51/image_17122025_23_51_14_10596.jpg
/home/pi/Desktop/images/17122025/23/51/image_17122025_23_51_24_9633.jpg
/home/pi/Desktop/images/17122025/23/51/image_17122025_23_52_05_10658.jpg
/home/pi/Desktop/images/17122025/23/52/image_17122025_23_52_14_9728.jpg
/home/pi/Desktop/images/17122025/23/52/image_17122025_23_52_24_9687.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861482","1399861481","1399861478","1399861483","1399861486","1399861480"],"photo_ids_order":["1399861478","1399861480","1399861481","1399861482","1399861483","1399861486"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/e47a934c7423e699d064f1536e314bfc.jpg","text":"TemporaryFile(/tmp/multipartBody3628714542128344759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012163784,"filename":"image_17122025_23_52_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b20f92c27a575fc2e4304c1b65d6fd7f.jpg","text":"TemporaryFile(/tmp/multipartBody5557829635629026182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012163784,"filename":"image_17122025_23_51_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f01c8304b718cc5154a06409531a8ebf.jpg","text":"TemporaryFile(/tmp/multipartBody3368511816071414528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012163784,"filename":"image_17122025_23_51_04_9726.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/2abdd2e12171fe16b0ba26564e0d9421.jpg","text":"TemporaryFile(/tmp/multipartBody6578213184243952549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012163784,"filename":"image_17122025_23_52_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0de7697784925957b07ffc0b2980d375.jpg","text":"TemporaryFile(/tmp/multipartBody2136212917689949628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012163784,"filename":"image_17122025_23_52_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/098de150b6ae90669e9d5a45f7cc3668.jpg","text":"TemporaryFile(/tmp/multipartBody6998660103466181625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012163784,"filename":"image_17122025_23_51_14_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861481","file1":"1399861480","file0":"1399861478","file4":"1399861483","file5":"1399861486","file3":"1399861482"},"map_files_photo_id_array":[{"photo_id":"1399861486","filename":"file5"},{"photo_id":"1399861481","filename":"file2"},{"photo_id":"1399861483","filename":"file4"},{"photo_id":"1399861480","filename":"file1"},{"photo_id":"1399861478","filename":"file0"},{"photo_id":"1399861482","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861482":["hashtag1","hashtag2"]},{"1399861481":["hashtag1","hashtag2"]},{"1399861478":["hashtag1","hashtag2"]},{"1399861483":["hashtag1","hashtag2"]},{"1399861486":["hashtag1","hashtag2"]},{"1399861480":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861482, 1399861481, 1399861478, 1399861483, 1399861486, 1399861480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.24989461898804 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:55:42.486009
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_53_2603.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_56_2834.jpg', '/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_59_2820.jpg', '/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_02_3718.jpg', '/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_05_2687.jpg', '/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_08_2653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_53_2603.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_56_2834.jpg
/home/pi/Desktop/images/07112025/22/00/image_07112025_22_00_59_2820.jpg
/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_02_3718.jpg
/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_05_2687.jpg
/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_08_2653.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861494","1399861497","1399861499","1399861496","1399861498","1399861502"],"photo_ids_order":["1399861494","1399861496","1399861497","1399861498","1399861499","1399861502"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/b445c9cabdb109593f607d7d07d09fc0.jpg","text":"TemporaryFile(/tmp/multipartBody3111364052696740936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012203227,"filename":"image_07112025_22_00_53_2603.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f19523825900fc701387557da03a6834.jpg","text":"TemporaryFile(/tmp/multipartBody4552734510226085378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012203227,"filename":"image_07112025_22_00_59_2820.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/91ff3ec812954be3111813616631aa31.jpg","text":"TemporaryFile(/tmp/multipartBody867783629361842662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012203227,"filename":"image_07112025_22_01_05_2687.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87cda714834a2078fa5f60dc22d20652.jpg","text":"TemporaryFile(/tmp/multipartBody5669648092119315156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012203227,"filename":"image_07112025_22_00_56_2834.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/12155579ca86a14642a306fc598ca081.jpg","text":"TemporaryFile(/tmp/multipartBody4939277428422280796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012203227,"filename":"image_07112025_22_01_02_3718.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/f392a730a934fd74a301c3485a6e6534.jpg","text":"TemporaryFile(/tmp/multipartBody868484268664204830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012203227,"filename":"image_07112025_22_01_08_2653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861497","file1":"1399861496","file0":"1399861494","file4":"1399861499","file5":"1399861502","file3":"1399861498"},"map_files_photo_id_array":[{"photo_id":"1399861502","filename":"file5"},{"photo_id":"1399861497","filename":"file2"},{"photo_id":"1399861499","filename":"file4"},{"photo_id":"1399861496","filename":"file1"},{"photo_id":"1399861494","filename":"file0"},{"photo_id":"1399861498","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399861494":["hashtag1","hashtag2"]},{"1399861497":["hashtag1","hashtag2"]},{"1399861499":["hashtag1","hashtag2"]},{"1399861496":["hashtag1","hashtag2"]},{"1399861498":["hashtag1","hashtag2"]},{"1399861502":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399861494, 1399861497, 1399861499, 1399861496, 1399861498, 1399861502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.04199028015137 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 10 --only_old 1
2025-12-17 23:56:32.761549
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251207 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251208 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251209 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251210 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251211 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251212 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251213 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251214 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251215 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16122025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251216 ORDER BY id_local ASC LIMIT 6;
we dont have any photos to upload
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40 --only_old 1
2025-12-17 23:56:42.682755
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07112025
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251107 ORDER BY id_local ASC LIMIT 6;
  port_id : 28281535
  datou_current_id : 4012850
in upload_from_sqlite, uploading in 28281535
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_11_3664.jpg', '/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_14_2824.jpg', '/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_17_2712.jpg', '/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_20_2806.jpg', '/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_23_3551.jpg', '/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_26_2642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4012850&datou=0
/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_11_3664.jpg
/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_14_2824.jpg
/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_17_2712.jpg
/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_20_2806.jpg
/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_23_3551.jpg
/home/pi/Desktop/images/07112025/22/01/image_07112025_22_01_26_2642.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1399861732","1399861624","1399861662","1399861584","1399861733","1399861700"],"photo_ids_order":["1399861584","1399861624","1399861662","1399861700","1399861732","1399861733"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/c57f52b2318bdf752f276f629391b4d9.jpg","text":"TemporaryFile(/tmp/multipartBody4284670922622956822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012263427,"filename":"image_07112025_22_01_23_3551.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/0d69289bf6f2f35da8a1fd1e8b59b1c6.jpg","text":"TemporaryFile(/tmp/multipartBody6779203931286946490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012263427,"filename":"image_07112025_22_01_14_2824.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/ad87460b3342dec780c778efd6d08a25.jpg","text":"TemporaryFile(/tmp/multipartBody2434707606760001943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012263427,"filename":"image_07112025_22_01_17_2712.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/9435ebb404fe7beb3e3527af5a11d6d6.jpg","text":"TemporaryFile(/tmp/multipartBody827222805656912715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012263427,"filename":"image_07112025_22_01_11_3664.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/add6c4c4dc228473dfc399ccc3c92fff.jpg","text":"TemporaryFile(/tmp/multipartBody7837583800318026997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012263427,"filename":"image_07112025_22_01_26_2642.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/fca7cdec0c4db1f50d90b96a3bae76f2.jpg","text":"TemporaryFile(/tmp/multipartBody1521182725220741907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012263427,"filename":"image_07112025_22_01_20_2806.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861662","file1":"1399861624","file0":"1399861584","file4":"1399861732","file5":"1399861733","file3":"1399861700"},"map_files_photo_id_array":[{"photo_id":"1399861733","filename":"file5"},{"photo_id":"1399861662","filename":"file2"},{"photo_id":"1399861732","filename":"file4"},{"photo_id":"1399861624","filename":"file1"},{"photo_id":"1399861584","filename":"file0"},{"photo_id":"1399861700","filename":"file3"}],"portfolio_id":28281535,"hashtag_by_photo_ids":[{"1399861732":["hashtag1","hashtag2"]},{"1399861624":["hashtag1","hashtag2"]},{"1399861662":["hashtag1","hashtag2"]},{"1399861584":["hashtag1","hashtag2"]},{"1399861733":["hashtag1","hashtag2"]},{"1399861700":["hashtag1","hashtag2"]}],"comms":"Portfolio 28281535 used, photo_id : ArrayBuffer(1399861732, 1399861624, 1399861662, 1399861584, 1399861733, 1399861700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.45442819595337 secondes ---
Start to upload photos with parameters : -n plaque_valcor_0323 -u marlene.fotonower.com -f /home/pi/Desktop/images -t 0e68e449101efb0f8d03d3e479d5588a --datou_id=4219 --threshold=60 -j upload_by_sql -v --interval 1 --status_upload 2 --last_days 40
2025-12-17 23:57:21.932343
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20251217 ORDER BY id_local ASC LIMIT 6;
  port_id : 29484284
  datou_current_id : 4237225
in upload_from_sqlite, uploading in 29484284
in upload_photo_and_update_logs, uploading 6 files
in upload media
 Upload medias :  ['/home/pi/Desktop/images/17122025/23/52/image_17122025_23_52_44_10692.jpg', '/home/pi/Desktop/images/17122025/23/52/image_17122025_23_52_54_9828.jpg', '/home/pi/Desktop/images/17122025/23/53/image_17122025_23_53_14_9859.jpg', '/home/pi/Desktop/images/17122025/23/53/image_17122025_23_53_24_10649.jpg', '/home/pi/Desktop/images/17122025/23/53/image_17122025_23_53_44_9648.jpg', '/home/pi/Desktop/images/17122025/23/54/image_17122025_23_55_04_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=0e68e449101efb0f8d03d3e479d5588a&datou_current_id=4237225&datou=0
/home/pi/Desktop/images/17122025/23/52/image_17122025_23_52_44_10692.jpg
/home/pi/Desktop/images/17122025/23/52/image_17122025_23_52_54_9828.jpg
/home/pi/Desktop/images/17122025/23/53/image_17122025_23_53_14_9859.jpg
/home/pi/Desktop/images/17122025/23/53/image_17122025_23_53_24_10649.jpg
/home/pi/Desktop/images/17122025/23/53/image_17122025_23_53_44_9648.jpg
/home/pi/Desktop/images/17122025/23/54/image_17122025_23_55_04_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":["1399861831","1399861860","1399861839","1399861803","1399861877","1399861760"],"photo_ids_order":["1399861760","1399861803","1399861831","1399861839","1399861860","1399861877"],"photo_detail":[{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/687a24e344b85eba92aaa9d7cb7e917f.jpg","text":"TemporaryFile(/tmp/multipartBody6245959221815936428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012302555,"filename":"image_17122025_23_53_14_9859.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d98080d21f50af9ebf30eb7006e59026.jpg","text":"TemporaryFile(/tmp/multipartBody7337346938926550845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012302555,"filename":"image_17122025_23_53_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/87946e1a54369b1c9498e349fb6d9808.jpg","text":"TemporaryFile(/tmp/multipartBody6153113893438193770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012302555,"filename":"image_17122025_23_53_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/d6890776ba8e147afa62ea87517aa4f6.jpg","text":"TemporaryFile(/tmp/multipartBody539383513258821574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012302555,"filename":"image_17122025_23_52_54_9828.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/117ec6ece1317363765c66fa4314f9a9.jpg","text":"TemporaryFile(/tmp/multipartBody5736773632614747370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012302555,"filename":"image_17122025_23_55_04_10738.jpg","height":0,"width":0},{"mtr_user_id":1064,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/17/262443c29f044638ce334c7252e8cd0e.jpg","text":"TemporaryFile(/tmp/multipartBody2293224197502932542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1766012302555,"filename":"image_17122025_23_52_44_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1399861831","file1":"1399861803","file0":"1399861760","file4":"1399861860","file5":"1399861877","file3":"1399861839"},"map_files_photo_id_array":[{"photo_id":"1399861877","filename":"file5"},{"photo_id":"1399861831","filename":"file2"},{"photo_id":"1399861860","filename":"file4"},{"photo_id":"1399861803","filename":"file1"},{"photo_id":"1399861760","filename":"file0"},{"photo_id":"1399861839","filename":"file3"}],"portfolio_id":29484284,"hashtag_by_photo_ids":[{"1399861831":["hashtag1","hashtag2"]},{"1399861860":["hashtag1","hashtag2"]},{"1399861839":["hashtag1","hashtag2"]},{"1399861803":["hashtag1","hashtag2"]},{"1399861877":["hashtag1","hashtag2"]},{"1399861760":["hashtag1","hashtag2"]}],"comms":"Portfolio 29484284 used, photo_id : ArrayBuffer(1399861831, 1399861860, 1399861839, 1399861803, 1399861877, 1399861760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.84591794013977 secondes ---
